/* meuMVP · tema do blog
   Cores, tipos e medidas vêm do design system do meuMVP (tokens). */

/* ---------- Fontes (servidas pelo próprio site) ---------- */
@font-face { font-family: "Nunito"; font-weight: 500; font-display: swap; src: url("../fonts/nunito-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/nunito-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --surface: #fbf6ee;
  --surface-raised: #ffffff;
  --surface-sunken: #f3ece0;
  --surface-inverse: #1f1b16;
  --ink: #1f1b16;
  --ink-muted: #6b6258;
  --ink-inverse: #fbf6ee;
  --line: #e6dccb;
  --line-strong: #8a7f72;
  --energy: #f2552c;
  --energy-hover: #ff6a42;
  --on-energy: #1f1b16;
  --energy-ink: #b83a12;
  --energy-soft: #fde3d9;
  --focus-ring: #b83a12;
  --font-display: var(--gh-font-heading, "Nunito", ui-rounded, system-ui, sans-serif);
  --font-body: var(--gh-font-body, "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-block: 12%;
  --shadow-card: 0 1px 2px rgba(31,27,22,.06), 0 6px 18px rgba(31,27,22,.07);
  --shadow-raised: 0 2px 4px rgba(31,27,22,.08), 0 16px 40px rgba(31,27,22,.14);
  --container: 1200px;
  --gutter: var(--space-6);
  --measure: 68ch;
  --ease: cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 760px) { :root { --gutter: var(--space-4); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--energy-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; }
button { font: inherit; }
.mm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mm-skip { position: absolute; left: var(--space-4); top: -60px; z-index: 100; background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 800; text-decoration: none; }
.mm-skip:focus { top: var(--space-4); color: var(--surface); }
.mm-wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.mm-overline { font-family: var(--font-display); font-weight: 900; font-size: 13px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--energy-ink); margin: 0; }
.mm-meta { font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.mm-kicker { font-family: var(--font-display); font-weight: 900; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--energy-ink); text-decoration: none; }

/* ---------- Botões ---------- */
.mm-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 12px 22px; border-radius: var(--radius-md); border: 2px solid transparent; font-family: var(--font-display); font-weight: 900; font-size: 16px; line-height: 20px; text-decoration: none; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.mm-btn--primary { background: var(--energy); color: var(--on-energy); }
.mm-btn--primary:hover { background: var(--energy-hover); color: var(--on-energy); transform: translateY(-1px) rotate(-1deg); }
.mm-btn--dark { background: var(--ink); color: var(--surface); }
.mm-btn--dark:hover { color: var(--surface); transform: translateY(-1px) rotate(-1deg); }
.mm-btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.mm-btn--secondary:hover { background: var(--surface-sunken); color: var(--ink); }
.mm-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.mm-btn--block { display: flex; width: 100%; }
.mm-link-arrow { font-family: var(--font-display); font-weight: 900; color: var(--energy-ink); text-decoration: none; white-space: nowrap; }
.mm-link-arrow:hover { text-decoration: underline; color: var(--energy-ink); }

/* ---------- Blocos da marca ---------- */
.mm-bloco { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: var(--radius-block); font-family: var(--font-display); font-weight: 900; line-height: 1; }
.mm-bloco--m { background: var(--ink); color: var(--surface); }
.mm-bloco--v { border: 3px solid var(--ink); color: var(--ink); transform: rotate(-3deg); }
.mm-bloco--p { background: var(--energy); color: var(--on-energy); transform: rotate(9deg); }

/* ---------- Barra de aviso ---------- */
.mm-aviso { background: var(--surface-inverse); color: var(--ink-inverse); font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 20px; }
.mm-aviso__in { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; min-height: 40px; padding: 10px 56px; text-align: center; }
.mm-aviso a { color: #ff8a5c; font-weight: 900; text-decoration: none; }
.mm-aviso a:hover { text-decoration: underline; color: #ff8a5c; }
.mm-aviso__fechar { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: #b9afa3; font-size: 22px; line-height: 1; cursor: pointer; border-radius: var(--radius-md); }
.mm-aviso__fechar:hover { color: var(--ink-inverse); }
.mm-aviso[hidden] { display: none; }
.mm-aviso.is-entrando { animation: mm-desce .35s var(--ease) both; }
@keyframes mm-desce { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Cabeçalho ---------- */
.mm-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.mm-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 84px; }
.mm-header__brand { display: inline-flex; color: var(--ink); }
.mm-logo { display: block; height: 52px; width: auto; overflow: visible; }
.mm-header__nav { display: flex; align-items: center; gap: var(--space-6); }
.mm-header__link { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink); text-decoration: none; padding: 10px 0; }
.mm-header__link:hover, .mm-header__link[aria-current="page"], .mm-header__link--atual { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--energy); text-underline-offset: 8px; }
.mm-header__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: var(--radius-md); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .mm-header__in { min-height: 64px; flex-wrap: wrap; }
  .mm-logo { height: 38px; }
  .mm-header__toggle { display: inline-flex; }
  .mm-header__nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: var(--space-4); }
  .mm-header__nav.is-open { display: flex; }
  .mm-header__link { padding: 14px 0; border-top: 1px solid var(--line); }
  .mm-header__nav .mm-btn { margin-top: var(--space-3); }
}

/* Logo: M assenta, V chega balançando, P cai girando e para no ar */
@media (prefers-reduced-motion: no-preference) {
  .mm-logo [class^="mm-logo__"] { transform-box: fill-box; transform-origin: center; }
  .mm-logo__m { animation: mm-logo-m .45s var(--ease) both; }
  .mm-logo__v { animation: mm-logo-v .6s var(--ease) .15s both; }
  .mm-logo__slot { animation: mm-fade .3s ease .4s both; }
  .mm-logo__p { animation: mm-logo-p .7s var(--ease) .35s both; }
  .mm-logo__motion { animation: mm-fade .3s ease .9s both; }
}
@keyframes mm-logo-m { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mm-logo-v { 0% { transform: translateY(-50%) rotate(-12deg); opacity: 0; } 60% { transform: translateY(4%) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@keyframes mm-logo-p { 0% { transform: translateY(-140%) rotate(-40deg); opacity: 0; } 70% { transform: translateY(6%) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@keyframes mm-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Barra de clusters (navegação do Ghost) ---------- */
.mm-clusters { background: var(--surface); border-bottom: 1px solid var(--line); }
.mm-clusters__in { display: flex; align-items: center; gap: var(--space-4); }
.mm-clusters .nav { display: flex; gap: var(--space-5); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; flex: 1; }
.mm-clusters .nav::-webkit-scrollbar { display: none; }
.mm-clusters .nav a { display: block; padding: 15px 0 13px; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--ink-muted); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; transition: border-color .2s ease, color .2s ease; }
.mm-clusters .nav a:hover, .mm-clusters .nav-current a { color: var(--ink); border-bottom-color: var(--energy); }
/* O item atual da barra de temas (design: `is-atual`) — o Ghost marca a rota
   atual com .nav-current; a classe serve para o caso de navegação estática. */
.mm-clusters .nav a.is-atual { color: var(--ink); border-bottom-color: var(--energy); }
.mm-busca-btn { flex: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; }
.mm-busca-btn:hover { background: var(--surface-sunken); }

/* ---------- Etiquetas de tipo (carrosséis) ---------- */
.mm-etq { display: inline-block; padding: 5px 10px; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 900; font-size: 12px; line-height: 14px; letter-spacing: .04em; background: var(--surface); color: var(--ink); }
.mm-etq--blog { background: var(--energy); color: var(--on-energy); }
.mm-etq--noticia { background: var(--surface); color: var(--ink); }
.mm-etq--patrocinado { background: var(--ink); color: var(--surface); box-shadow: inset 0 0 0 1px #5a524a; }
.mm-etq--meumvp { background: var(--energy-soft); color: var(--ink); }

/* ---------- Cabeçalho de seção dos carrosséis ---------- */
.mm-destaques { padding: var(--space-6) 0 var(--space-5); }
.mm-destaques__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.mm-ctrl { display: flex; align-items: center; gap: var(--space-2); }
.mm-ctrl__dots { display: flex; gap: 6px; align-items: center; margin: 0 var(--space-2) 0 0; padding: 0; list-style: none; }
/* O alvo de toque tem que ter 24x24 (o Lighthouse reprova abaixo de 24 —
   medido em 14/11/2026: com 12x12 a acessibilidade do blog caiu para 96). O
   ponto visual de 12px e' desenhado dentro dele. Mesma correcao do portal
   (B.8) — que nunca chegou no tema do blog. */
.mm-ctrl__dot { width: 24px; height: 24px; border-radius: 6px; border: 0; padding: 0; background: transparent; position: relative; cursor: pointer; transition: background-color .25s ease; }
.mm-ctrl__dot[aria-current="true"] { width: 40px; }
.mm-ctrl__dot[aria-current="true"]::before { left: 6px; width: 28px; background: var(--ink); }
.mm-ctrl__count { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--ink-muted); min-width: 36px; }
.mm-ctrl__btn { width: 44px; height: 44px; border-radius: var(--radius-md); border: 2px solid var(--ink); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mm-ctrl__btn:hover { background: var(--surface-sunken); }
.mm-ctrl__btn svg { width: 18px; height: 18px; }

/* ---------- Roda 3D ---------- */
.mm-roda__palco { position: relative; height: 480px; perspective: 1700px; }
.mm-roda__lista { margin: 0; padding: 0; list-style: none; height: 100%; position: relative; transform-style: preserve-3d; }
.mm-roda__item { position: absolute; left: 50%; top: 24px; width: min(520px, 86vw); margin-left: calc(min(520px, 86vw) / -2); transition: transform .6s var(--ease), opacity .6s ease, filter .6s ease; will-change: transform; }
.mm-roda__item[data-pos="0"] { transform: translateZ(0); z-index: 5; }
.mm-roda__item[data-pos="1"] { transform: translateX(360px) translateZ(-170px) rotateY(-34deg); z-index: 4; filter: saturate(.85) brightness(.96); }
.mm-roda__item[data-pos="-1"] { transform: translateX(-360px) translateZ(-170px) rotateY(34deg); z-index: 4; filter: saturate(.85) brightness(.96); }
.mm-roda__item[data-pos="2"] { transform: translateX(600px) translateZ(-420px) rotateY(-52deg); z-index: 3; filter: saturate(.75) brightness(.92); }
.mm-roda__item[data-pos="-2"] { transform: translateX(-600px) translateZ(-420px) rotateY(52deg); z-index: 3; filter: saturate(.75) brightness(.92); }
.mm-roda__item[data-pos="hidden"] { opacity: 0; transform: translateZ(-700px); pointer-events: none; }
.mm-roda__item:not([data-pos="0"]) .mm-card3__corpo { display: none; }
.mm-roda__item:not([data-pos="0"]) .mm-card3 { cursor: pointer; }
.mm-roda__item:not([data-pos="0"]) .mm-card3__img { height: 300px; }

.mm-card3 { display: block; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-raised); color: var(--ink); text-decoration: none; }
.mm-card3__img { position: relative; height: 230px; background: var(--surface-inverse); overflow: hidden; transition: height .6s var(--ease); }
.mm-card3__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-card3__img .mm-etq { position: absolute; left: 18px; top: 16px; z-index: 1; }
.mm-card3__vazio { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.mm-card3__corpo { padding: 20px 24px 22px; }
.mm-card3__titulo { font-family: var(--font-display); font-weight: 900; font-size: 23px; line-height: 29px; margin: 0 0 8px; }
.mm-card3__titulo a { color: var(--ink); text-decoration: none; }
.mm-card3__titulo a::after { content: ""; position: absolute; inset: 0; }
.mm-card3 { position: relative; }
.mm-card3__sub { font-size: 15px; line-height: 22px; color: var(--ink-muted); margin: 0 0 14px; }
.mm-card3__rodape { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }

/* Celular e reduzir movimento: roda vira faixa reta de arrastar */
.mm-roda.is-plana .mm-roda__palco { height: auto; perspective: none; }
.mm-roda.is-plana .mm-roda__lista { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.mm-roda.is-plana .mm-roda__lista::-webkit-scrollbar { display: none; }
.mm-roda.is-plana .mm-roda__item { position: static; margin: 0; flex: 0 0 min(86vw, 420px); transform: none !important; filter: none !important; opacity: 1 !important; pointer-events: auto !important; scroll-snap-align: center; }
.mm-roda.is-plana .mm-roda__item .mm-card3__corpo { display: block; }
.mm-roda.is-plana .mm-roda__item .mm-card3__img { height: 200px; }
.mm-roda.is-plana .mm-ctrl__btn--pausa { display: none; }

/* ---------- Carrossel normal ---------- */
.mm-car { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-inverse); color: var(--ink-inverse); }
.mm-car__trilho { display: flex; margin: 0; padding: 0; list-style: none; transition: transform .6s var(--ease); }
.mm-car__slide { flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 340px; }
.mm-car__slide.is-chegando .mm-car__img { animation: mm-assenta .6s var(--ease); }
@keyframes mm-assenta { from { transform: rotate(-2deg) scale(.97); } to { transform: none; } }
.mm-car__img { position: relative; background: #2b2620; overflow: hidden; }
.mm-car__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-car__img .mm-etq { position: absolute; left: 24px; top: 22px; z-index: 1; }
.mm-car__corpo { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); }
.mm-car__titulo { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 34px; color: var(--ink-inverse); margin: 0; }
.mm-car__titulo a { color: inherit; text-decoration: none; }
.mm-car__titulo a:hover { text-decoration: underline; color: inherit; }
.mm-car__sub { font-size: 16px; line-height: 24px; color: #d9d1c5; margin: 0; }
.mm-car__fonte { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #b9afa3; }
.mm-car .mm-link-arrow { color: #ff8a5c; }
.mm-car-sec { margin: var(--space-7) 0; }
.mm-car-sec .mm-destaques__head { margin-bottom: var(--space-4); }
@media (max-width: 760px) {
  .mm-car__slide { grid-template-columns: 1fr; }
  .mm-car__img { min-height: 200px; }
  .mm-car__corpo { padding: 24px; }
  .mm-car__titulo { font-size: 24px; line-height: 30px; }
}

/* ---------- Layout em duas colunas ---------- */
.mm-colunas { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: var(--space-6) 0 var(--space-8); align-items: start; }
@media (max-width: 1000px) { .mm-colunas { grid-template-columns: 1fr; gap: var(--space-6); } }
.mm-titulo-sec { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 34px; margin: 0 0 var(--space-5); }

/* ---------- Cards de post ---------- */
.mm-feed { display: flex; flex-direction: column; }
.mm-post-lead { position: relative; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); margin-bottom: var(--space-5); transition: box-shadow .2s ease, transform .2s ease; }
.mm-post-lead:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.mm-post-lead__img { aspect-ratio: 16 / 8; background: var(--surface-sunken); overflow: hidden; }
.mm-post-lead__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.mm-post-lead:hover .mm-post-lead__img img { transform: scale(1.03); }
.mm-post-lead__corpo { padding: 22px 26px 24px; }
.mm-post-lead__titulo { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 32px; margin: 6px 0 8px; }
.mm-post-card { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.mm-post-card__img { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-sunken); }
.mm-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.mm-post-card:hover .mm-post-card__img img { transform: scale(1.04); }
.mm-post-card__titulo { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 26px; margin: 6px 0; }
.mm-post-card__titulo a, .mm-post-lead__titulo a { color: var(--ink); text-decoration: none; }
.mm-post-card__titulo a::after, .mm-post-lead__titulo a::after { content: ""; position: absolute; inset: 0; }
.mm-post-card__titulo a:hover, .mm-post-lead__titulo a:hover { text-decoration: underline; }
.mm-post-card .mm-kicker, .mm-post-lead .mm-kicker { position: relative; z-index: 1; }
.mm-excerpt { font-size: 15px; line-height: 22px; color: var(--ink-muted); margin: 0 0 8px; }
.mm-sem-imagem { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
@media (max-width: 600px) { .mm-post-card { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } .mm-post-card__titulo { font-size: 17px; line-height: 22px; } .mm-post-card .mm-excerpt { display: none; } }
.mm-mais { display: flex; justify-content: center; padding-top: var(--space-5); border-top: 1px solid var(--line); }

/* Chamada no meio do feed e no texto */
.mm-chamada { position: relative; display: flex; align-items: center; gap: var(--space-5); background: var(--energy-soft); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); margin: var(--space-4) 0; }
.mm-chamada__texto { flex: 1; }
.mm-chamada__titulo { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 26px; margin: 0 0 4px; }
.mm-chamada p { margin: 0; font-size: 15px; line-height: 22px; color: #3a342d; }
@media (max-width: 600px) { .mm-chamada { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: no-preference) { .mm-chamada.is-visivel .mm-bloco--p { animation: mm-balanco .8s var(--ease); } }
@keyframes mm-balanco { 0% { transform: rotate(9deg); } 30% { transform: rotate(-6deg) translateY(-4px); } 60% { transform: rotate(14deg); } 100% { transform: rotate(9deg); } }

/* Seções por cluster */
.mm-clusters-sec { padding-bottom: var(--space-8); }
.mm-cluster { padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.mm-cluster__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.mm-cluster__titulo { font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 30px; margin: 0 0 4px; }
.mm-cluster__desc { margin: 0; color: var(--ink-muted); font-size: 16px; }
.mm-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
@media (max-width: 860px) { .mm-grid3 { grid-template-columns: 1fr; } }
.mm-mini { position: relative; display: flex; flex-direction: column; gap: 8px; }
.mm-mini__img { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-sunken); }
.mm-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-mini__titulo { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 24px; margin: 0; }
.mm-mini__titulo a { color: var(--ink); text-decoration: none; }
.mm-mini__titulo a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Lateral ---------- */
.mm-lateral { display: flex; flex-direction: column; gap: var(--space-5); }
.mm-lateral__fixa { position: sticky; top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-5); }
.mm-box { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.mm-box__titulo { font-family: var(--font-display); font-weight: 900; font-size: 17px; line-height: 22px; margin: 0 0 12px; }
@media (max-width: 1000px) { .mm-lateral__fixa { position: static; } .mm-lateral .mm-banner { display: none; } }

/* Banner vertical 300 × 600 */
.mm-banner { position: relative; width: 300px; max-width: 100%; aspect-ratio: 1 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--energy); color: var(--on-energy); }
.mm-banner__in { position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
/* O rotulo do banner fica sobre o laranja (--energy). Com `opacity: .8` o
   texto effective vira #49271a e o contraste cai para 3.85:1 — abaixo dos
   4.5:1 que a WCAG AA exige para texto pequeno (11px). Sem a opacidade o
   ink cheio da 4.98:1. */
.mm-banner__rotulo { font-family: var(--font-display); font-weight: 900; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.mm-banner__blocos { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 26px; }
.mm-banner__titulo { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 36px; margin: 0 0 12px; color: var(--ink); }
.mm-banner__texto { font-size: 16px; line-height: 24px; margin: 0; color: var(--ink); }
.mm-banner__arte { display: block; width: 100%; height: 100%; }
.mm-banner__arte img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-banner__arte .mm-banner__rotulo { position: absolute; left: 14px; top: 12px; background: rgba(251,246,238,.92); padding: 3px 8px; border-radius: 6px; opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .mm-banner.is-visivel { animation: mm-entra-dir .5s var(--ease) both; } }
@keyframes mm-entra-dir { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
/* versão do banner dentro do feed, no celular */
.mm-banner-feed { display: none; }
@media (max-width: 1000px) {
  .mm-banner-feed { display: block; margin: var(--space-4) 0; }
  .mm-banner-feed .mm-banner { width: 100%; aspect-ratio: auto; min-height: 220px; }
  .mm-banner-feed .mm-banner__in { position: static; gap: var(--space-4); }
  .mm-banner-feed .mm-banner__blocos { display: none; }
  .mm-banner-feed .mm-banner__titulo { font-size: 24px; line-height: 30px; }
  .mm-banner-feed .mm-banner__arte { aspect-ratio: 2 / 1; }
}

/* Newsletter */
.mm-news-form { display: flex; flex-direction: column; gap: 10px; }
.mm-input { min-height: 44px; width: 100%; padding: 10px 14px; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); font-family: var(--font-body); font-size: 16px; }
.mm-input::placeholder { color: var(--ink-muted); }
.mm-input:hover { border-color: var(--ink); }
.mm-news-msg { display: none; margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; }
.mm-news-form.success .mm-news-msg--ok { display: block; color: #1a6b40; }
.mm-news-form.error .mm-news-msg--erro { display: block; color: #b42318; }
.mm-news-form.loading button { opacity: .6; }
.mm-news-faixa { background: var(--surface-sunken); padding: var(--space-8) 0; }
.mm-news-faixa__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: var(--space-6); align-items: center; }
.mm-news-faixa h2 { font-weight: 900; font-size: 30px; line-height: 36px; margin: 0 0 8px; }
.mm-news-faixa p { margin: 0; color: var(--ink-muted); }
.mm-news-faixa .mm-news-form { flex-direction: row; flex-wrap: wrap; }
.mm-news-faixa .mm-input { flex: 1 1 220px; width: auto; }
@media (max-width: 860px) { .mm-news-faixa__in { grid-template-columns: 1fr; } }

/* Mais lidos */
.mm-lidos { margin: 0; padding: 0; list-style: none; }
.mm-lidos li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.mm-lidos a { font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 20px; color: var(--ink); text-decoration: none; }
.mm-lidos a:hover { text-decoration: underline; }
.mm-lidos .mm-bloco { width: 28px; height: 28px; font-size: 15px; }
.mm-lidos .mm-bloco--v { border-width: 2px; }
.mm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-tag { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--ink); text-decoration: none; }
.mm-tag:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Página do post ---------- */
.mm-progresso { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--energy); transform-origin: 0 50%; transform: scaleX(0); z-index: 50; }
.mm-post-topo { padding: var(--space-7) 0 var(--space-5); }
.mm-trilha { display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-muted); margin-bottom: var(--space-4); }
.mm-trilha a { color: var(--ink-muted); text-decoration: none; }
.mm-trilha a:hover { color: var(--ink); text-decoration: underline; }
.mm-post-titulo { font-weight: 900; font-size: 48px; line-height: 52px; letter-spacing: -.02em; max-width: 22ch; margin: 10px 0 14px; }
.mm-post-sub { font-size: 20px; line-height: 30px; color: #3a342d; max-width: 60ch; margin: 0 0 var(--space-5); }
.mm-autoria { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mm-autoria img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mm-autoria__nome { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); text-decoration: none; }
.mm-compartilhar { display: flex; gap: 8px; margin-left: auto; }
.mm-compartilhar a, .mm-compartilhar button { min-height: 40px; padding: 8px 12px; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 13px; text-decoration: none; cursor: pointer; }
.mm-compartilhar a:hover, .mm-compartilhar button:hover { border-color: var(--ink); color: var(--ink); }
.mm-capa { margin: 0 0 var(--space-6); }
.mm-capa img { width: 100%; border-radius: var(--radius-lg); display: block; }
/* A capa do post no design é 16/7 com o raio grande aplicado no CONTAINER
   (a imagem preenche e é recortada) — não na imagem solta. */
.mm-capa--recorte { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-sunken); aspect-ratio: 16 / 7; }
.mm-capa--recorte img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.mm-capa figcaption { font-size: 13px; color: var(--ink-muted); margin-top: 8px; }
@media (max-width: 760px) { .mm-post-titulo { font-size: 34px; line-height: 38px; } .mm-post-sub { font-size: 18px; line-height: 28px; } .mm-compartilhar { margin-left: 0; width: 100%; } }

/* Conteúdo do post (inclui os cards do editor do Ghost) */
.gh-content { font-size: 18px; line-height: 1.75; max-width: var(--measure); }
.gh-content > * + * { margin-top: 1.2em; }
.gh-content h2 { font-weight: 900; font-size: 30px; line-height: 36px; margin-top: 2em; }
.gh-content h3 { font-weight: 800; font-size: 23px; line-height: 30px; margin-top: 1.6em; }
.gh-content p, .gh-content ul, .gh-content ol { margin-bottom: 0; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: .4em; }
.gh-content blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--energy); font-size: 20px; font-style: italic; }
.gh-content code { background: var(--surface-sunken); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.gh-content pre { background: var(--surface-inverse); color: var(--ink-inverse); padding: 20px; border-radius: var(--radius-md); overflow-x: auto; font-size: 15px; line-height: 1.6; }
.gh-content pre code { background: none; padding: 0; }
.gh-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content img { border-radius: var(--radius-md); }
.gh-content figcaption { font-size: 14px; color: var(--ink-muted); text-align: center; margin-top: 8px; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.gh-content th, .gh-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.kg-width-wide { position: relative; width: min(1000px, 100vw - 2 * var(--gutter)); max-width: none; }
.kg-width-full { position: relative; width: calc(100vw - 2 * var(--gutter)); max-width: none; }
.kg-width-wide img, .kg-width-full img { width: 100%; }
@media (min-width: 1001px) { .kg-width-wide, .kg-width-full { width: 100%; } }
.mm-sumario { background: var(--surface-sunken); border-radius: var(--radius-lg); padding: 18px 22px; margin-bottom: var(--space-5); max-width: var(--measure); }
.mm-sumario[hidden] { display: none; }
.mm-sumario ol { margin: 8px 0 0; padding-left: 1.2em; font-size: 16px; line-height: 1.6; }
.mm-sumario a { color: var(--ink); }

.mm-post-fim { max-width: var(--measure); margin-top: var(--space-7); display: flex; flex-direction: column; gap: var(--space-5); }
.mm-autor-box { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mm-autor-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.mm-autor-box p { margin: 4px 0 8px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.mm-conversa { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-sunken); }
.mm-conversa p { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 18px; }
.mm-relacionados { padding: var(--space-7) 0; border-top: 1px solid var(--line); }

/* ---------- Categoria, autor, busca ---------- */
.mm-arquivo-topo { padding: var(--space-7) 0 var(--space-4); }
.mm-arquivo-topo h1 { font-weight: 900; font-size: 44px; line-height: 50px; letter-spacing: -.02em; margin: 8px 0 12px; }
.mm-arquivo-topo p { max-width: 64ch; color: #3a342d; font-size: 18px; line-height: 28px; margin: 0; }
.mm-autor-topo { display: flex; gap: var(--space-5); align-items: center; }
.mm-autor-topo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.mm-autor-links { display: flex; gap: var(--space-4); margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.mm-busca-campo { display: flex; align-items: center; gap: 12px; max-width: 640px; min-height: 56px; padding: 0 18px; border: 2px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink-muted); font-size: 18px; cursor: text; text-align: left; width: 100%; }
.mm-busca-campo:hover { border-color: var(--ink); }
/* A busca é um LABEL (o input real fica dentro) — o mockup usa o campo como
   container do input, não como botão. */
.mm-busca-campo input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); flex: 1; min-width: 0; }
.mm-busca-campo input::placeholder { color: var(--ink-muted); }
/* Item de resultado da busca (design: lista com borda no topo) */
.mm-resultado { display: block; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mm-resultado:hover .mm-post-card__titulo { text-decoration: underline; }
.mm-resultado .mm-post-card__titulo { margin: 4px 0; }
.mm-resultado .mm-excerpt { margin: 0; }
/* Sugestões de busca: os mesmos chips, mas clicáveis */
.mm-tag--sugestao { cursor: pointer; font: inherit; background: var(--surface-raised); }

/* ---------- Rodapé ---------- */
.mm-rodape { background: var(--surface-inverse); color: var(--ink-inverse); padding: var(--space-8) 0 var(--space-6); }
.mm-rodape a { color: var(--ink-inverse); text-decoration: none; }
.mm-rodape a:hover { text-decoration: underline; color: var(--ink-inverse); }
.mm-rodape__topo { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.mm-rodape__marca img { height: 46px; width: auto; }
.mm-rodape__marca p { color: #b9afa3; margin: 14px 0 0; font-size: 15px; }
.mm-rodape h2 { font-size: 14px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #b9afa3; margin: 0 0 12px; }
.mm-rodape ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.mm-rodape__base { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid #3a342d; font-size: 14px; color: #b9afa3; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mm-rodape__base p { margin: 0; }
.mm-rodape__credito { color: #fbf6ee; font-weight: 800; text-decoration: none; }
.mm-rodape__credito:hover { text-decoration: underline; }
@media (max-width: 860px) { .mm-rodape__topo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mm-rodape__marca { grid-column: 1 / -1; } }

/* ---------- Paginação e erro ---------- */
.mm-paginacao { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-5); font-family: var(--font-display); font-weight: 800; }
.mm-erro { padding: var(--space-9) 0; text-align: center; }
.mm-erro h1 { font-weight: 900; font-size: 44px; line-height: 50px; margin: var(--space-5) 0 var(--space-3); }

/* ---------- Entrada em sequência ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .mm-revela { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s var(--ease); }
  .js .mm-revela.is-visivel { opacity: 1; transform: none; }
}

/* ---------- Reduzir movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .mm-btn--primary:hover, .mm-btn--dark:hover, .mm-post-lead:hover { transform: none; }
}

/* Carrossel em modo plano ou com um item só: sem controles */
.mm-roda.is-plana .mm-ctrl, .is-unico .mm-ctrl { display: none; }
.mm-roda { overflow: hidden; padding-bottom: var(--space-2); }
.mm-roda .mm-destaques__head { margin-bottom: 0; }
.mm-ctrl__btn[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

/* Correções: atributo hidden em SVG e colunas que não podem estourar a largura no celular */
[hidden] { display: none !important; }
.mm-colunas > * { min-width: 0; }
@media (max-width: 1000px) { .mm-colunas { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Aviso de cookies (o mesmo do portal; a escolha e' compartilhada) ---------- */
.mm-cookies { position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(380px, calc(100vw - 32px)); padding: 16px 18px; background: var(--surface-raised, #fff); color: var(--ink, #1f1b16); border: 1px solid var(--line, #e6dccb); border-radius: 14px; box-shadow: 0 2px 4px rgba(31,27,22,.06), 0 12px 32px rgba(31,27,22,.14); font-family: var(--font-body, 'Nunito Sans', system-ui, sans-serif); font-size: 14px; line-height: 21px; }
.mm-cookies[hidden] { display: none; }
.mm-cookies p { margin: 0; }
.mm-cookies a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.mm-cookies__acoes { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.mm-ck-btn { min-height: 38px; padding: 6px 16px; border: 2px solid var(--ink, #1f1b16); border-radius: 999px; background: transparent; color: var(--ink, #1f1b16); font-family: var(--font-display, 'Nunito', system-ui, sans-serif); font-weight: 800; font-size: 14px; line-height: 1; cursor: pointer; }
.mm-ck-btn--forte { background: var(--ink, #1f1b16); color: var(--surface, #fbf6ee); }
.mm-ck-btn--forte:hover { background: var(--energy, #f2552c); border-color: var(--energy, #f2552c); }
.mm-ck-btn:not(.mm-ck-btn--forte):hover { background: var(--surface, #fbf6ee); }
.mm-ck-link { padding: 6px 0; border: 0; background: transparent; color: var(--ink-muted, #6b6258); font-family: var(--font-display, 'Nunito', system-ui, sans-serif); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mm-ck-link:hover { color: var(--ink, #1f1b16); }
.mm-cookies button:focus-visible { outline: 3px solid var(--energy, #f2552c); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .mm-cookies { animation: mm-cookies-entra .5s cubic-bezier(.2,.8,.2,1) .8s both; } }
@keyframes mm-cookies-entra { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
