/* ======================================================================
   MUNDO DOS HERÓIS · tema "mundo" (block theme), mobile-first.
   Base: prototipo/assets/css/style.css aprovado em 07/10/2026 (copiado, não editado na origem).
   Acréscimos do WordPress no fim do arquivo (seção 14).
   ====================================================================== */

/* ---------- 1. Tokens (WP: theme.json > settings.color.palette / typography) ---------- */
:root {
  /* tokens ligados aos presets do theme.json (settings.color.palette / typography.fontFamilies) */
  --bg: var(--wp--preset--color--bg, #0D0F1A);
  --surface: var(--wp--preset--color--surface, #161A2B);
  --surface-2: var(--wp--preset--color--surface-2, #1F2440);
  --line: var(--wp--preset--color--line, #2A3052);
  --text: var(--wp--preset--color--text, #EEF0F7);
  --muted: var(--wp--preset--color--muted, #A0A7C6);
  --brand: var(--wp--preset--color--brand, #FFC400);
  --brand-ink: #0D0F1A;
  --c-noticias: var(--wp--preset--color--noticias, #FF4D4D); --c-anime: var(--wp--preset--color--anime, #FF5FBF); --c-games: var(--wp--preset--color--games, #2BE38F); --c-hq: var(--wp--preset--color--hq, #3D9BFF); --c-quizzes: var(--wp--preset--color--quizzes, #A879FF);
  --wa: var(--wp--preset--color--whatsapp, #25D366);
  --font-display: var(--wp--preset--font-family--display, "Barlow Condensed", "Arial Narrow", system-ui, sans-serif);
  --font-text: var(--wp--preset--font-family--text, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --r: 12px; --r-sm: 8px;
  --gap: 16px;
  --header-h: 60px;
  --cat: var(--brand);
}
.cat-noticias { --cat: var(--c-noticias); } .cat-anime { --cat: var(--c-anime); }
.cat-games { --cat: var(--c-games); } .cat-hq { --cat: var(--c-hq); } .cat-quizzes { --cat: var(--c-quizzes); }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 50px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-text); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: .2px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--brand); color: var(--brand-ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cat); display: inline-block; flex: none; }

/* ---------- 3. Botões e chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; font: 700 15px/1 var(--font-text); cursor: pointer; }
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { color: var(--brand-ink); filter: brightness(1.08); }
.btn--brand:disabled { opacity: .4; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa:hover { color: #06210f; }
.btn--quiz { background: var(--c-quizzes); color: #160b2e; min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn--quiz:hover { color: #160b2e; }
/* 0.2.10 (Ramon 10/10 14:13): botão COMEÇAR "acende" no hover/foco: brilho roxo em volta, cor um pouco mais clara, seta desliza 3px. */
.btn--quiz { transition: box-shadow .2s ease, filter .2s ease; }
.btn--quiz .ico { transition: transform .2s ease; }
.btn--quiz:hover, .btn--quiz:focus-visible { filter: brightness(1.12); box-shadow: 0 0 0 2px rgba(196,165,255,.65), 0 0 16px 3px rgba(168,121,255,.65); }
.btn--quiz:hover .ico, .btn--quiz:focus-visible .ico { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn--quiz .ico { transition: none; } .btn--quiz:hover .ico, .btn--quiz:focus-visible .ico { transform: none; } }
.btn--sm { min-height: 38px; font-size: 14px; padding: 0 14px; }
.btn--block { width: 100%; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font: 700 13px/1 var(--font-text); color: var(--text); white-space: nowrap; }
.chip.is-active, .chip:hover { border-color: var(--cat); color: var(--cat); }
.chip--solid { min-height: 0; padding: 4px 8px; border: 0; border-radius: 4px; background: var(--cat); color: var(--bg); font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.chip--solid:hover { color: var(--bg); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn .ico { width: 24px; height: 24px; }

/* ---------- 4. Header (WP: parts/header.html) ---------- */
.proto-bar { background: repeating-linear-gradient(45deg, #2a2200 0 12px, #332a00 12px 24px); color: var(--brand); text-align: center; font: 700 12px/1 var(--font-text); letter-spacing: .5px; padding: 7px 8px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(13,15,26,.96); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__text { display: flex; flex-direction: column; line-height: .82; font-family: var(--font-display); }
.logo__nome { font-size: 28px; font-weight: 800; font-style: italic; color: var(--brand); letter-spacing: 1px; }
.logo__dos { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 3.1px; }
.site-header .logo { margin-right: auto; }
.logo__img { display: block; width: auto; height: 38px; } /* 0.2.14: logo SVG, mesma altura da antiga */
.main-nav, .site-header .search { display: none; }
.cat-strip { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip .chip { border-color: color-mix(in srgb, var(--cat) 45%, transparent); }
.cat-strip .chip.is-active { background: var(--cat); color: var(--bg); }

.search { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding-left: 14px; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 15px var(--font-text); height: 42px; outline: none; }
.search button { width: 42px; height: 42px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }

/* Gaveta mobile */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); }
.drawer[hidden] { display: none; }
.drawer__panel { width: min(88vw, 360px); height: 100%; overflow-y: auto; background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__cats a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font: 800 22px/1 var(--font-display); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.drawer__links a { display: block; padding: 8px 4px; color: var(--muted); }

/* ---------- 5. Faixa "Últimas" ---------- */
.breaking { background: var(--surface); border-bottom: 1px solid var(--line); }
.breaking__row { display: flex; align-items: center; gap: 12px; height: 46px; padding-right: 0; }
.breaking__label { display: inline-flex; align-items: center; gap: 6px; background: var(--c-noticias); color: #fff; font: 800 15px/1 var(--font-display); letter-spacing: 1px; padding: 6px 10px; border-radius: 4px; flex: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.breaking__list { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.breaking__list::-webkit-scrollbar { display: none; }
.breaking__list a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.breaking__list time { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- 6. Anúncios (WP: template-parts/ad-slot.php) ----------
   Altura reservada = sem CLS. Em produção: .ad:has(ins[data-ad-status="unfilled"]) { display:none }
   para não deixar caixa cinza vazia (problema visto no Legião). */
.ad { margin: 20px auto; text-align: center; }
.ad__label { display: block; font: 600 11px/1 var(--font-text); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad__box { display: grid; place-items: center; margin-inline: auto; border: 1px dashed #3a4170; border-radius: 6px; background: repeating-linear-gradient(-45deg, #131729 0 10px, #161a2e 10px 20px); color: #6d759c; font: 600 12px/1.3 var(--font-text); padding: 8px; }
.ad--topo .ad__box { width: 100%; max-width: 320px; min-height: 100px; }
.ad--entre .ad__box { width: 100%; max-width: 336px; min-height: 280px; }
.ad--sidebar .ad__box { width: 300px; min-height: 250px; }
.ad--sidebar-sticky .ad__box { width: 300px; min-height: 600px; }
.ad--infeed { margin: 0; }
.ad--infeed .ad__box { width: 100%; min-height: 120px; }
.ad--artigo { margin: 28px auto; }
.ad--artigo .ad__box { width: 100%; max-width: 336px; min-height: 280px; }

/* ---------- 7. Cabeçalho de seção ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); position: relative; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 4px; background: var(--cat); border-radius: 2px; }
.section-head__title { font-size: 24px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.section-head__title::before { content: ""; width: 10px; height: 22px; background: var(--cat); transform: skewX(-15deg); border-radius: 2px; }
.section-head__more { display: inline-flex; align-items: center; gap: 4px; color: var(--cat); font: 700 14px var(--font-text); white-space: nowrap; }
.block { margin: 28px 0; }

/* ---------- 8. Cards (WP: template-parts/card-*.php) ---------- */
.card { position: relative; background: var(--surface); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.card__title { font-size: 21px; font-weight: 700; line-height: 1.12; }
.card__title a:hover { color: var(--cat); }
.card__excerpt { color: var(--muted); font-size: 14px; line-height: 1.5; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 12.5px; margin-top: auto; }
.card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--cat); z-index: 2; }

/* destaque grande com texto sobre a imagem */
.card--large .card__media { aspect-ratio: 16 / 10; }
.card--large .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,9,16,.92) 100%); }
.card--large .card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 1; }
.card--large .card__title { font-size: 28px; }
.card--large .card__excerpt { color: #d4d8ea; display: none; }
.card--large .card__meta { color: #c9cde0; }
/* CTA do quiz em destaque na home (0.2.7): dourado da marca com contorno roxo dos quizzes; brilho que passa (0.2.16: sem pulso; aura de item lendário abaixo) */
.cta-quiz { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 800 18px/1 var(--font-display); text-transform: uppercase; letter-spacing: .6px; color: #160b2e; background: linear-gradient(135deg, #FFDB5C 0%, var(--brand) 55%, #FFB000 100%); box-shadow: 0 0 0 2px var(--c-quizzes), 0 4px 14px rgba(168,121,255,.3); }
.cta-quiz::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: translateX(-150%) skewX(-20deg); animation: cta-quiz-brilho 3s ease-in-out infinite; pointer-events: none; }
.cta-quiz:hover, .cta-quiz:focus-visible { color: #160b2e; filter: brightness(1.06); }
.cta-quiz .ico { transition: transform .2s; }
.cta-quiz:hover .ico { transform: translateX(3px); }
@keyframes cta-quiz-brilho { 0% { transform: translateX(-150%) skewX(-20deg); } 40%, 100% { transform: translateX(330%) skewX(-20deg); } }
/* 0.2.16 (Ramon 15:26): CTA da home como item lendário. Sem pulsar (sem scale): aura dourada em duas camadas que respiram só em
   opacidade, brilho diagonal a cada 3 s (acima) e faíscas douradas subindo. Tudo em ::before/::after/<i> absolutos dentro do card
   (overflow: hidden), então não empurra nada nem cria rolagem lateral. */
.cta-lendario { position: relative; display: inline-flex; vertical-align: top; isolation: isolate; }
.cta-lendario::before, .cta-lendario::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 999px; will-change: opacity; }
.cta-lendario::before { inset: 4px 0 0; box-shadow: 0 0 12px 3px rgba(255,200,40,.8), 0 0 26px 8px rgba(255,160,0,.4); opacity: .5; animation: cta-aura 2.8s ease-in-out infinite; }
.cta-lendario::after { inset: -4px -10px -8px; background: radial-gradient(closest-side, rgba(255,220,110,.55), rgba(255,180,0,.18) 60%, rgba(255,170,0,0)); opacity: .3; animation: cta-aura 2.8s ease-in-out -1.4s infinite; }
@keyframes cta-aura { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.cta-lendario__faisca { position: absolute; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #FFF6C8; box-shadow: 0 0 6px 2px rgba(255,200,40,.9); opacity: 0; pointer-events: none; z-index: 2; animation: cta-faisca 3.2s ease-out infinite; }
.cta-lendario__faisca:nth-of-type(1) { left: 16%; animation-delay: 0s; }
.cta-lendario__faisca:nth-of-type(2) { left: 41%; animation-delay: -.8s; animation-duration: 3.6s; width: 4px; height: 4px; }
.cta-lendario__faisca:nth-of-type(3) { left: 64%; animation-delay: -1.9s; }
.cta-lendario__faisca:nth-of-type(4) { left: 86%; animation-delay: -2.6s; animation-duration: 2.9s; width: 4px; height: 4px; }
@keyframes cta-faisca { 0% { transform: translateY(0) scale(.5); opacity: 0; } 20% { opacity: 1; } 70% { opacity: .7; } 100% { transform: translateY(-24px) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cta-quiz::after { animation: none; display: none; } .cta-quiz .ico { transition: none; } .cta-lendario::before, .cta-lendario::after { animation: none; opacity: .7; } .cta-lendario__faisca { display: none; } }

/* linha horizontal (thumb à esquerda) */
.card--row, .card--mini { flex-direction: row; }
.card--row .card__media, .card--mini .card__media { width: 38%; max-width: 260px; flex: none; aspect-ratio: 4 / 3; }
.card--row .card__title, .card--mini .card__title { font-size: 18px; }
.card--row .card__excerpt { display: none; }
.card--row .card__body, .card--mini .card__body { padding: 10px 12px; gap: 6px; }
.card--mini .card__meta { font-size: 12px; }

/* selos */
.badge-quiz, .badge-count, .badge-top { position: absolute; z-index: 2; font-family: var(--font-display); font-weight: 800; }
.badge-quiz { top: 10px; left: 10px; background: var(--c-quizzes); color: #160b2e; padding: 3px 8px; border-radius: 4px; font-size: 15px; letter-spacing: 1.5px; }
.badge-count { bottom: 10px; right: 10px; background: rgba(13,15,26,.85); color: #fff; padding: 4px 9px; border-radius: 999px; font-size: 14px; letter-spacing: .4px; border: 1px solid var(--c-quizzes); }
.badge-top { top: 10px; left: 10px; display: grid; place-items: center; width: 48px; height: 52px; line-height: .8; font-size: 28px; color: var(--bg); background: var(--brand); clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%); padding-bottom: 6px; }
.badge-top small { font-size: 11px; letter-spacing: 1px; display: block; }
.badge-top--xl { width: 64px; height: 72px; font-size: 40px; }
.quiz-head .badge-quiz, .quiz-head .badge-count { position: static; }

.card--quiz .card__title { font-size: 20px; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; margin-top: auto; }

.card--noticia { flex-direction: row; gap: 14px; padding: 12px 14px; align-items: flex-start; border-radius: var(--r-sm); }
.card--noticia::before { width: 3px; height: auto; bottom: 0; right: auto; }
.card--noticia__time { font: 800 20px/1 var(--font-display); color: var(--cat); min-width: 48px; font-variant-numeric: tabular-nums; }
.card--noticia__cat { font: 700 11px/1 var(--font-text); letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.card--noticia .card__title { font-size: 18px; margin-top: 4px; }

/* ---------- 9. Grades e layout ---------- */
.grid { display: grid; gap: var(--gap); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.feed { display: flex; flex-direction: column; gap: 10px; }
.split { display: grid; gap: var(--gap); }
.layout { display: grid; gap: 24px; }
.destaque { display: grid; gap: 12px; margin-top: 4px; }
.destaque__side { display: grid; gap: 10px; }

/* faixa de quizzes */
.quiz-band { background: radial-gradient(circle at 15% 0, rgba(168,121,255,.35), transparent 50%), linear-gradient(180deg, #1b1236, #120d24); padding: 28px 0 30px; border-block: 1px solid #3a2a6b; }
.quiz-band__lead { color: #cdbfff; margin: -4px 0 16px; }
.scroller { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }

/* sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.box { background: var(--surface); border-radius: var(--r); padding: 16px; }
.box__title { font-size: 24px; text-transform: uppercase; margin-bottom: 12px; color: var(--brand); }
.mais-lidas ol { counter-reset: ml; }
.mais-lidas li { counter-increment: ml; display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mais-lidas li:first-child { border-top: 0; padding-top: 0; }
.mais-lidas li::before { content: counter(ml); font: 800 34px/0.9 var(--font-display); color: var(--cat); min-width: 24px; }
.mais-lidas a { font-weight: 600; font-size: 15px; line-height: 1.35; }
.mais-lidas__cat { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--cat); font-weight: 700; margin-bottom: 2px; }
.newsletter { background: linear-gradient(135deg, #2a2100, var(--surface) 60%); border: 1px solid #4d3d00; }
.newsletter p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.newsletter__form { display: flex; flex-direction: column; gap: 8px; }
.newsletter__form input { height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 0 16px; font: 15px var(--font-text); }
.newsletter__alt { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--wa); font-weight: 600; }

/* ---------- 10. Categoria (WP: category.html) ---------- */
.cat-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--cat) 28%, var(--bg)), var(--bg) 70%); border-bottom: 1px solid var(--line); padding: 18px 0 16px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.breadcrumb span { margin: 0 4px; }
.cat-hero__title { font-size: 56px; font-style: italic; text-transform: uppercase; color: var(--cat); }
.cat-hero__desc { color: #d0d4e6; max-width: 640px; margin: 6px 0 14px; }
.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cat-top { display: grid; gap: var(--gap); margin-bottom: 28px; }
.stack--list { margin-bottom: 24px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 32px; }
.pagination > * { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--surface); font-weight: 700; padding: 0 12px; }
.pagination .is-current { background: var(--cat); color: var(--bg); }
.pagination .dots { background: none; }
.pagination__next { display: inline-flex !important; gap: 6px; }

/* ---------- 11. Post (WP: single.html) ---------- */
.layout--single { padding-top: 18px; }
.post__head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post__head .breadcrumb { margin: 0; }
.post__title { font-size: 36px; line-height: 1.04; }
.post__deck { font-size: 18px; color: #c9cde0; line-height: 1.5; }
.post__byline { display: flex; align-items: center; gap: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--cat); color: var(--bg); display: grid; place-items: center; font: 800 18px var(--font-display); flex: none; }
.avatar--lg { width: 64px; height: 64px; font-size: 26px; }
.post__author { font-weight: 700; }
.post__date { font-size: 13px; color: var(--muted); }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share__label { font: 700 13px var(--font-text); color: var(--muted); margin-right: 4px; }
.share__btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 0; color: var(--text); cursor: pointer; }
.share--wa { background: var(--wa); color: #06210f; }
/* Ícones oficiais das redes (09/10, pacote social-share-icons): glifo na cor de marca do próprio SVG. */
.share__btn { transition: transform .15s ease, filter .15s ease; }
.share__btn:hover, .share__btn:focus-visible { transform: translateY(-2px); filter: brightness(1.12); }
.share__btn .ico { width: 28px; height: 28px; display: block; }
/* 0.2.5 (Ramon 09/10 15:34): TikTok (branco com ciano/rosa da marca) e X (branco) também só com o glifo, sem círculo. */
.share--whatsapp, .share--instagram, .share--facebook, .share--tiktok, .share--x { background: transparent; }
.share__aviso { font: 600 12.5px var(--font-text); color: var(--c-games); }
.share__aviso:empty { display: none; }
@media (max-width: 420px) { .share { gap: 6px; } .share__btn { width: 36px; height: 36px; } .share__btn .ico { width: 25px; height: 25px; } }
.post__figure { margin: 18px -16px 0; }
.post__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post__figure figcaption { font-size: 12.5px; color: var(--muted); padding: 6px 16px 0; }
.toc { margin: 20px 0 8px; background: var(--surface); border-left: 4px solid var(--cat); border-radius: var(--r-sm); padding: 12px 16px; }
.toc summary { cursor: pointer; font: 800 20px var(--font-display); text-transform: uppercase; }
.toc ol { list-style: decimal; padding-left: 22px; margin-top: 8px; }
.toc li { padding: 3px 0; }
.toc a { color: #d6daeb; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.post__content { font-size: 17.5px; line-height: 1.75; }
.post__content > * + * { margin-top: 18px; }
.post__content h2 { font-size: 30px; margin-top: 34px; scroll-margin-top: 120px; }
.post__content ul { list-style: disc; padding-left: 22px; }
.post__content li + li { margin-top: 6px; }
.post__content blockquote { margin: 26px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--brand); font: 700 italic 24px/1.25 var(--font-display); }
.post__content blockquote cite { display: block; margin-top: 8px; font: 400 normal 13px var(--font-text); color: var(--muted); }
.leia-tambem { background: var(--surface); border-radius: var(--r-sm); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.leia-tambem span { font: 700 12px var(--font-text); letter-spacing: .6px; text-transform: uppercase; color: var(--cat); }
.leia-tambem a { font-weight: 700; line-height: 1.35; }
.post__foot { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; font-size: 13px; padding: 6px 10px; border-radius: 6px; background: var(--surface); color: var(--muted); }
.author-box { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--r); padding: 16px; }
.author-box p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cta-wa { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; background: linear-gradient(135deg, #0b2b19, var(--surface)); border: 1px solid #1c5a35; border-radius: var(--r); padding: 16px; margin: 4px 0; }
.cta-wa__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--wa); color: #06210f; display: grid; place-items: center; }
.cta-wa__ico .ico { width: 24px; height: 24px; }
.cta-wa p { color: var(--muted); font-size: 14px; }
.cta-wa .btn { grid-column: 1 / -1; }

/* ---------- 12. Quiz (WP: single-quiz.html) ---------- */
.quiz-page { max-width: 760px; padding-top: 18px; }
.quiz-head { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.quiz-head__badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.quiz { background: var(--surface); border: 1px solid #3a2a6b; border-radius: var(--r); overflow: hidden; }
.quiz__progress { padding: 14px 16px 12px; background: #1b1433; }
.quiz__step { display: flex; justify-content: space-between; font-size: 14px; color: #cdbfff; margin-bottom: 8px; }
.quiz__step strong { color: #fff; }
.bar { height: 10px; border-radius: 999px; background: #2e2452; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-quizzes), var(--brand)); border-radius: inherit; transition: width .3s; }
.quiz__card { padding: 0 0 16px; }
.quiz__card[hidden], .quiz__result[hidden] { display: none; }
.quiz__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.quiz__q { font-size: 28px; padding: 16px 16px 6px; line-height: 1.1; }
.quiz__opts { display: grid; gap: 10px; padding: 10px 16px 0; }
.opt { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); color: var(--text); font: 600 16px/1.3 var(--font-text); text-align: left; cursor: pointer; }
.opt:hover:not(:disabled) { border-color: var(--c-quizzes); }
.opt__key { width: 32px; height: 32px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); font: 800 18px var(--font-display); color: #cdbfff; }
.opt.is-right { border-color: var(--c-games); background: #0e2a1e; }
.opt.is-right .opt__key { background: var(--c-games); color: var(--bg); }
.opt.is-wrong { border-color: var(--c-noticias); background: #2e1218; }
.opt.is-wrong .opt__key { background: var(--c-noticias); color: #fff; }
.opt:disabled { cursor: default; }
.quiz__feedback { min-height: 48px; margin: 12px 16px; font-size: 14.5px; line-height: 1.4; }  /* altura reservada: feedback não empurra o layout */
.quiz__feedback.is-right { color: var(--c-games); }
.quiz__feedback.is-wrong { color: #ff8c8c; }
.quiz__card .btn--block { width: calc(100% - 32px); margin: 0 16px; }
.quiz__result { padding: 24px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.quiz__result-kicker { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; color: var(--muted); }
.quiz__result-score { font: 800 64px/1 var(--font-display); color: var(--brand); }
.quiz__result-title { font-size: 34px; }
.grid--q .card--quiz { min-width: 0; }
@media (max-width: 599px) {  /* "Próximo quiz" em 2 colunas compactas no celular */
  .grid--q { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid--q .card__body { padding: 10px; }
  .grid--q .card__title { font-size: 16.5px; }
  .grid--q .card__foot { flex-direction: column; align-items: stretch; }
  .grid--q .btn--quiz { width: 100%; }
  .grid--q .badge-count { font-size: 12px; bottom: 6px; right: 6px; }
  .grid--q .badge-quiz { font-size: 13px; top: 6px; left: 6px; }
}

/* ---------- 13. Footer (WP: parts/footer.html) ---------- */
.site-footer { margin-top: 40px; background: #090A12; border-top: 3px solid var(--brand); padding: 32px 0 16px; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer__about { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__about p { color: var(--muted); font-size: 14px; max-width: 420px; }
.footer__ctas { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__title { font-size: 18px; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; letter-spacing: .5px; }
.site-footer nav li { padding: 4px 0; }
.site-footer nav a { color: #c9cde0; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); color: var(--text); }
.footer__bottom { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--muted); }

/* Mobile: em blocos de 3, só o 1º card é grande; os demais viram linha (página mais curta) */
@media (max-width: 599px) {
  .grid--3 > .card:nth-child(n+2) { flex-direction: row; }
  .grid--3 > .card:nth-child(n+2) .card__media { width: 38%; flex: none; aspect-ratio: 4 / 3; }
  .grid--3 > .card:nth-child(n+2) .card__title { font-size: 18px; }
  .grid--3 > .card:nth-child(n+2) .card__excerpt { display: none; }
  .grid--3 > .card:nth-child(n+2) .card__body { padding: 10px 12px; gap: 6px; }
  .grid--3 > .card:nth-child(n+2) .badge-top { transform: scale(.75); transform-origin: top left; top: 6px; left: 6px; }
}
/* Mobile/tablet: sem anúncio de sidebar nem 300×600 fixo (densidade de anúncio e Better Ads).
   No WP esses slots nem são impressos fora do desktop. */
@media (max-width: 1023px) {
  .sidebar .ad--sidebar, .sidebar__sticky { display: none; }
}

/* ======================================================================
   BREAKPOINTS
   ====================================================================== */
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .destaque__side { grid-template-columns: repeat(2, 1fr); }
  .scroller { grid-auto-columns: 46%; }
  .card--large .card__title { font-size: 34px; }
  .card--large .card__excerpt { display: block; }
  .card--row .card__excerpt { display: block; }
  .cta-wa { grid-template-columns: auto 1fr auto; }
  .cta-wa .btn { grid-column: auto; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__about { grid-column: auto; }
  .post__figure { margin-inline: 0; }
  .post__figure img { border-radius: var(--r); }
  .post__title { font-size: 46px; }
}
@media (min-width: 768px) {
  .ad--topo .ad__box { max-width: 728px; min-height: 90px; }
  .ad--entre .ad__box { max-width: 728px; min-height: 90px; }
  .quiz-page .ad--entre .ad__box, .layout--single .ad--entre .ad__box { max-width: 336px; min-height: 280px; }
  .ad--infeed .ad__box { min-height: 140px; }
  .newsletter__form { flex-direction: row; }
  .newsletter__form input { flex: 1; }
  .newsletter--compact .newsletter__form { flex-direction: column; }
  .newsletter--compact .newsletter__form input { flex: none; }
  .split { grid-template-columns: 1.15fr 1fr; }
}
@media (min-width: 1024px) {
  :root { --header-h: 72px; --gap: 20px; }
  .menu-toggle, .search-mobile, .cat-strip { display: none; }
  .site-header .logo { margin-right: 20px; }
  .logo__nome { font-size: 34px; }
  .logo__dos { font-size: 16px; letter-spacing: 3.8px; }
  .logo__img { height: 46px; }
  .main-nav { display: block; margin-right: auto; }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav__link { position: relative; display: block; padding: 0 14px; line-height: var(--header-h); font: 800 21px/var(--header-h) var(--font-display); text-transform: uppercase; letter-spacing: .6px; }
  .main-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 3px; background: var(--cat); transform: scaleX(.25); transform-origin: left; transition: transform .2s; border-radius: 2px; }
  .main-nav__link:hover, .main-nav__link.is-active { color: var(--cat); }
  .main-nav__link:hover::after, .main-nav__link.is-active::after { transform: scaleX(1); }
  .site-header .search { display: flex; width: 280px; }

  .destaque { grid-template-columns: 1.35fr 1fr; gap: var(--gap); }
  .destaque .card--large .card__media { aspect-ratio: auto; height: 100%; min-height: 440px; }
  .destaque__side { grid-template-columns: 1fr 1fr; gap: 14px; }
  .destaque__side .card--mini { flex-direction: column; }
  .destaque__side .card--mini .card__media { width: 100%; max-width: none; aspect-ratio: 16 / 9; }

  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
  .layout--single { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .scroller { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
  .sidebar { position: relative; height: 100%; }
  .sidebar__sticky { position: sticky; top: calc(var(--header-h) + 16px); }
  .post__title { font-size: 54px; }
  .section-head__title { font-size: 28px; }
  .post { max-width: 760px; }
  .cat-hero { padding: 28px 0 22px; }
  .cat-hero__title { font-size: 84px; }
  .cat-top .card--large .card__media { aspect-ratio: 21 / 9; }
  .card--row .card__title { font-size: 22px; }
  .stack--list .card--row .card__media { max-width: 300px; width: 40%; }
}

/* Página simples (WP: page.html) → .page-simple na seção 14 (".page" é classe do <body> no WP) */

/* ======================================================================
   14. WordPress (acréscimos do tema)
   ====================================================================== */
h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0; }
.wp-site-blocks { padding: 0; }
.mundo-part { display: contents; }                 /* template-part sem caixa: o header sticky usa a página toda */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.ad--exemplo .ad__box span { opacity: .9; }
.post__figure { margin-bottom: 0; }
.post__figure figcaption { font-size: 12.5px; }
.post__content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post__content figure { margin-inline: 0; }
.post__content figcaption, .post__content .wp-element-caption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.post__content img { border-radius: var(--r-sm); }
.post__content h3 { font-size: 24px; margin-top: 26px; }
.post__content ol { list-style: decimal; padding-left: 22px; }
.post .block { margin-top: 32px; }
.quiz-page .quiz-intro { font-size: 17px; line-height: 1.7; color: #d6daeb; margin: 0 0 18px; }
.quiz-page .quiz-intro > * + * { margin-top: 12px; }
.quiz-page .quiz-sobre { margin-top: 30px; }
.quiz-page .quiz-sobre .quiz-intro { margin: 0; }
.quiz-page .ad { margin-top: 26px; }
.quiz-page .block { margin-top: 30px; }
.cat-hero__desc p { margin: 0; }
.pagination a:hover { color: var(--cat); }
.pagination__prev { display: inline-flex !important; }
.search--page { max-width: 520px; margin: 16px 0 6px; }
.search-head { padding: 18px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.search-page .stack--list { margin-top: 18px; }
.nf { padding: 40px 0 24px; max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.nf__code { font: 800 italic 120px/0.9 var(--font-display); color: var(--brand); }
.nf__cats { flex-wrap: wrap; margin-top: 8px; }
.share__btn.is-copied { background: var(--c-games); color: var(--bg); }
.author-box a:hover strong { color: var(--brand); }
.page-simple { max-width: 760px; padding-top: 18px; padding-bottom: 24px; }
.page-simple .post__title { margin: 8px 0 10px; }
.page-simple .post__content { margin-top: 18px; }
.page-simple .post__content h2 { font-size: 26px; }
.layout--archive { padding-top: 22px; }
/* 0.2.12: bloco "Sobre ..." dos universos e tags (mesma tipografia do texto dos posts) */
.hub-sobre { margin: 8px 0 32px; }

/* ---------- Destaque grande: legibilidade do título (0.2.20) ----------
   Celular/tablet: o texto deixa de ser absoluto e o card cresce com ele (mínimo 16:10), então o título
   nunca é cortado nem fica sob a etiqueta QUIZ. Em todas as larguras: véu escuro atrás do texto. */
@media (max-width: 1023px) {
  .card--large { display: grid; }
  .card--large::after { content: ""; grid-area: 1 / 1; padding-top: 62.5%; }
  .card--large .card__media { grid-area: 1 / 1; aspect-ratio: auto; height: auto; align-self: stretch; }
  .card--large .card__body { grid-area: 1 / 1; position: relative; align-self: end; }
  .card--large:has(.badge-quiz) .card__body { padding-top: 52px; }
}
.card--large .card__body::before { content: ""; position: absolute; inset: -56px 0 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8,9,16,0) 0, rgba(8,9,16,.8) 56px, rgba(8,9,16,.9) 100%); }
.card--large .card__title { text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.card--large .card__meta { color: #dfe2ef; }
