.home-page h1, .home-page h2, .home-page h3, .home-page p { margin: 0; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-shell { background: var(--surface); color: var(--text); }
.hero { display: grid; gap: 28px; padding-block: 24px 32px; }
.hero-copy { min-width: 0; }
.committee-logo { display: block; width: 100px; height: auto; margin-bottom: 20px; }
h1 { font-size: clamp(36px, 10.8vw, 60px); font-weight: 900; letter-spacing: -.055em; line-height: 1.02; text-transform: uppercase; margin-block: 0 18px; }
.hero-description { max-width: 440px; font-size: 15px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 12px 18px; font-weight: 800; font-size: 15px; text-align: center; line-height: 1.35; transition: background .15s, transform .15s; }
.button-primary { width: 100%; margin-top: 20px; background: var(--action); color: var(--on-action); border: 4px solid var(--action); box-shadow: 4px 4px 0 var(--surface-inset); font-size: 17px; font-weight: 900; }
.button-primary:hover, .game-link:hover { background: var(--action-hover); }
.button:active, .game-link:active { transform: translateY(2px); }
.destination { display: block; font-size: 11px; line-height: 1.5; }
.hero-copy .destination { margin-top: 10px; }
.hero-paths { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; }
.hero-paths a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; font-size: 13px; font-weight: 700; }
.catalog { padding-block: 42px 52px; }
.eyebrow { font-size: 13px; font-weight: 700; line-height: 1.5; }
h2 { font-size: clamp(28px, 6.8vw, 42px); font-weight: 900; line-height: 1.1; letter-spacing: -.045em; }
.section-heading { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.section-heading h2 { margin-top: 8px; }
.section-heading > p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.catalog-tools { display: flex; flex-direction: column; gap: 18px; }
.search { display: flex; align-items: center; gap: 12px; min-width: 0; border: 1px solid var(--border); border-radius: 8px; padding-inline: 14px; background: var(--surface); }
.search svg { flex-shrink: 0; }
.search input { width: 100%; min-width: 0; min-height: 52px; border: 0; padding: 12px 0; background: transparent; color: var(--text); font-size: 16px; }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.search input:focus-visible { outline-offset: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; max-width: 100%; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); padding: 10px 14px; font-size: 12px; font-weight: 700; text-align: left; transition: background .15s; }
.filters button:hover { background: var(--surface-raised); }
.filters button[aria-pressed="true"] { background: var(--surface-raised); border-color: var(--border); box-shadow: none; color: var(--action); text-decoration: underline; text-underline-offset: 6px; }
.filters button[aria-pressed="true"]::before { content: '✓ '; }
.filter-option { position: relative; display: inline-flex; max-width: 100%; }
.category-description { margin: 16px 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.category-tooltip { position: fixed; z-index: 20; max-width: min(320px, calc(100vw - 32px)); width: max-content; padding: 12px 14px; border-radius: 6px; background: var(--text); color: var(--text); font-size: 13px; line-height: 1.5; box-shadow: none; }
.result-count { margin-block: 22px 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.game-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: none; }
.game-art { position: relative; display: flex; align-items: center; justify-content: center; height: 210px; overflow: hidden; border-bottom: 1px solid var(--border); }
.art-caption { position: absolute; top: 16px; left: 16px; right: 40px; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.art-index { display: none; }
.game-info { display: flex; flex-direction: column; flex-grow: 1; padding: 20px; }
.game-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 10px; font-weight: 800; }
.availability { display: inline-flex; align-items: center; gap: 5px; color: var(--action); }
.availability i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.coming-label { color: var(--muted); }
.game-info h3 { font-size: 23px; line-height: 1.18; letter-spacing: -.035em; font-weight: 900; overflow-wrap: anywhere; }
.game-info > p { font-size: 14px; line-height: 1.65; color: var(--muted); margin-block: 12px 22px; }
.game-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-top: auto; padding: 10px 14px; border: 3px solid var(--action); border-radius: 4px; background: var(--action); color: var(--on-action); font-size: 15px; font-weight: 800; transition: background .15s, transform .15s; }
.game-link > span { font-size: 22px; line-height: 1; }
.game-info .destination { margin-top: 10px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.game-pending { display: block; margin-top: auto; border-top: 1px solid var(--border); padding-top: 14px; font-size: 12px; color: var(--muted); }
.game-card[data-status="breve"] { border-color: var(--muted); box-shadow: none; }
/* Game art: identity colors, decorative and absent from the tab sequence. */
.art-genius { background: var(--art-red); color: var(--art-paper); }
.simon { position: relative; width: 156px; height: 156px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; border: 9px solid var(--art-ink); background: var(--art-ink); border-radius: 50%; transform: rotate(-16deg); box-shadow: 7px 7px 0 var(--art-shadow); }
.simon i:nth-child(1) { background: var(--art-green); border-radius: 100% 0 0; }
.simon i:nth-child(2) { background: var(--art-red-bright); border-radius: 0 100% 0 0; }
.simon i:nth-child(3) { background: var(--art-yellow); border-radius: 0 0 0 100%; }
.simon i:nth-child(4) { background: var(--art-blue); border-radius: 0 0 100%; }
.simon > span { position: absolute; inset: 29%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--art-ink); color: var(--art-paper); border-radius: 50%; font-size: 9px; font-weight: 900; line-height: 1.5; transform: rotate(16deg); }
.simon b { font-size: 18px; color: var(--art-yellow); line-height: 1; }
.art-scribble { position: absolute; bottom: 13px; right: 14px; font-size: 12px; font-style: italic; transform: rotate(-6deg); }
.art-quiz { background: var(--art-yellow); color: var(--art-ink); }
.quiz-symbol { font-size: 170px; font-weight: 900; line-height: 1; margin-top: 20px; transform: rotate(-13deg); }
.quiz-bubble { position: absolute; right: 16px; bottom: 26px; padding: 10px 13px; border: 2px solid var(--art-ink); background: var(--art-paper); font-size: 12px; font-weight: 900; transform: rotate(6deg); }
.floating-star { position: absolute; bottom: 28px; left: 28px; font-size: 45px; }
.art-words { background: var(--art-green-dark); color: var(--art-paper); }
.letter-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 19px; font-size: 26px; font-weight: 800; margin-top: 18px; transform: rotate(-8deg); }
.word-ring { position: absolute; width: 198px; height: 41px; border: 3px solid var(--art-yellow); border-radius: 999px; transform: translateY(-35px) rotate(-8deg); }
.art-tictactoe { background: var(--art-blue); color: var(--art-black); }
.tic-board { display: grid; grid-template-columns: repeat(3, 50px); margin-top: 20px; transform: rotate(8deg); }
.tic-board span { display: grid; place-items: center; height: 50px; border-right: 2px solid var(--art-black); border-bottom: 2px solid var(--art-black); font-size: 46px; line-height: 1; font-weight: 700; }
.tic-board span:nth-child(3n) { border-right: 0; }
.tic-board span:nth-child(n+7) { border-bottom: 0; }
.art-cards { background: var(--art-pink); color: var(--art-red-dark); }
.playing-card { position: absolute; width: 107px; height: 145px; top: 55px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px solid var(--art-red-dark); border-radius: 12px; font-size: 60px; }
.card-back { background: repeating-linear-gradient(45deg, var(--art-red) 0px, var(--art-red) 2px, var(--art-pink) 2px, var(--art-pink) 9px); transform: rotate(-17deg) translateX(-31px); }
.card-front { background: var(--art-paper); transform: rotate(12deg) translateX(32px); }
.card-front small { font-size: 10px; font-weight: 900; }
.art-hangman { background: var(--art-yellow); color: var(--art-ink); }
.hangman-word { display: flex; gap: 5px; transform: rotate(-7deg); margin-top: 50px; }
.hangman-word span { width: 32px; height: 43px; text-align: center; font-size: 30px; font-weight: 900; border-bottom: 3px solid var(--art-ink); }
.letter-token { position: absolute; width: 46px; height: 49px; padding-top: 1px; background: var(--art-paper); border: 2px solid var(--art-ink); border-radius: 7px; text-align: center; font-size: 30px; font-weight: 900; }
.token-a { top: 48px; left: 23%; transform: rotate(-17deg); }
.token-i { top: 46px; right: 27%; transform: rotate(15deg); }
.hangman-arrow { position: absolute; right: 13%; top: 69px; font-size: 44px; }
.art-banner { background: var(--art-banner); }
.game-card[data-slug="corrida-presidencial"] .art-banner { background: var(--art-race); }
.art-banner img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }


.memorial-plane { color: var(--art-yellow); font-size: 100px; line-height: 1; transform: rotate(-20deg); }
.art-memory { background: var(--art-ink); }
.empty-state { padding: 40px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; text-align: center; }
.empty-state > span { font-size: 40px; }
.empty-state h3 { font-size: 22px; font-weight: 900; margin-block: 12px; }
.empty-state p { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.button-neutral { border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); }
.home-page .button-neutral:hover { background: var(--surface-raised); color: var(--heading); border-color: var(--border); }
.noscript-note { padding: 14px; border-left: 4px solid var(--action); background: var(--surface); font-size: 14px; margin-bottom: 18px; }

.community { padding-block: 0 56px; }
.community-intro { border-top: 1px solid var(--border); padding-top: 32px; }
.community-intro h2 { margin-block: 8px 16px; }
.community-intro > p:last-child { max-width: 650px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.community-paths { display: grid; gap: 24px; margin-top: 28px; }
.community-paths article { min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 10px; }
.creator-path { background: var(--surface); border-top: 4px solid var(--accent); }
.submit-path { background: var(--surface); }
.path-state { display: inline-block; font-size: 12px; font-weight: 800; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.community-paths h3 { margin-block: 22px 16px; font-size: clamp(26px, 5vw, 36px); font-weight: 900; line-height: 1.12; letter-spacing: -.04em; }
.community-paths p { font-size: 15px; line-height: 1.7; max-width: 52ch; }
.community-paths .path-note a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.community-paths .path-note { margin-top: 20px; font-size: 13px; font-weight: 700; }
.universe { background: var(--surface); color: var(--text); padding-block: 40px; }
.universe-layout { display: grid; gap: 24px; }
.universe h2 { margin-top: 12px; font-size: clamp(26px, 5vw, 36px); }
.universe-layout > p { font-size: 15px; line-height: 1.8; max-width: 62ch; }
@media (min-width: 600px) {
  .wrap { width: min(1180px, calc(100% - 48px)); }
  .hero { padding-block: 36px 44px; }
  .hero-copy { max-width: 560px; }
  .button-primary { width: auto; min-width: 290px; }
  .game-grid, .community-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; gap: 24px; }
  .section-heading > p { max-width: 280px; }
  .search { max-width: 480px; }
}
@media (min-width: 960px) {
  .wrap { width: min(1180px, calc(100% - 64px)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; padding-block: 44px 52px; }
  .committee-logo { width: 124px; margin-bottom: 26px; }
  h1 { font-size: clamp(54px, 5.2vw, 76px); }
  .hero-description { font-size: 17px; }
  .catalog { padding-block: 54px 64px; }
  .catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 24px; }
  .search { grid-column: 2; grid-row: 1; }
  .filters { grid-column: 1; grid-row: 1; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .game-art { height: 236px; }
  .game-info { padding: 22px; }
  .community-paths article { padding: 32px; }
  .universe-layout { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .universe { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Banner original: paleta própria preservada por decisão de Murillo em 2026-10-19. */
.home-page .hero-shell {
  --background: #003e22;
  --surface: #064b2d;
  --surface-raised: #0b5938;
  --surface-inset: #00341c;
  --text: #fffbe7;
  --muted: #d4e1d3;
  --action: #ffe000;
  --action-hover: #fff17a;
  --on-action: #003e22;
  --border: #72a77b;
  --border-subtle: #33834b;
  --focus: #ffe000;
  --success: #b9f2ac;
  --warning: #ffe49a;
  --error: #ffb8ac;
  --overlay: #00391ef5;
  --heading: #fffbe7;
  --link: #fffbe7;
  --link-hover: #fffbe7;
}

/* Reference artwork supplied by Murillo: home palette and responsive composition. */
.home-page .hero-shell { background: var(--background) url('/assets/brasil-fundo-desktop.webp') center top / cover no-repeat; color: var(--text); overflow: hidden; }
.home-page .hero { position: relative; display: block; width: min(1672px, 100%); padding: 32px 3.8% 40px; isolation: isolate; }
.home-page .hero-copy { position: relative; z-index: 1; max-width: none; width: 47%; }
.home-page .committee-logo { width: clamp(110px, 10vw, 170px); margin: 0 0 22px 24px; }
.home-page h1 { font-size: clamp(50px, 5.65vw, 95px); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 20px; font-weight: 900; }
.home-page h1 span { display: block; }
.home-page h1 span:last-child { color: var(--action); }
.home-page .hero-description { font-size: clamp(16px, 1.6vw, 27px); font-weight: 700; line-height: 1.3; max-width: 520px; margin: 0 0 22px 12px; }
.featured-game { width: min(100%, 27vw); padding: 14px 26px; border: 2px solid var(--action); border-radius: 16px; background: var(--overlay); box-shadow: 0 3px 12px transparent; }
.featured-label { color: var(--action); font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.featured-game h2 { font-size: clamp(30px, 2.8vw, 46px); margin: 0 0 8px; }
.featured-game > p:not([class]) { font-size: 18px; line-height: 1.35; }
.home-page .button-primary { display: flex; width: 100%; min-width: 0; min-height: 52px; margin-top: 14px; background: var(--action); color: var(--on-action); border: 0; border-radius: 14px; box-shadow: none; font-size: clamp(16px, 1.6vw, 25px); gap: 6px; }
.home-page .button-primary:hover { background: var(--action-hover); }
.home-page .hero-copy .destination { font-size: 12px; margin-top: 6px; }
.home-page .hero-paths { width: min(100%, 27vw); justify-content: space-around; gap: 0 12px; margin-top: 14px; }
.home-page .hero-paths a { color: var(--text); font-size: 16px; text-decoration-color: var(--action); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.hero-art { display: contents; }
.hero-characters { position: absolute; z-index: 0; right: -1%; bottom: 16px; width: 78%; height: auto; pointer-events: none; }
@media (min-width: 960px) {
  .home-page .hero { min-height: min(52vw, 870px); }
}
@media (max-width: 959px) {
  .home-page .hero-shell { background-size: auto 100%; background-position: 62% top; }
  .home-page .hero { padding: 10px 5.3% 0; }
  .home-page .hero-copy { width: 100%; max-width: 650px; margin-inline: auto; }
  .home-page .committee-logo { width: 105px; margin: 0 0 18px; }
  .home-page h1 { font-size: clamp(44px, 11.2vw, 82px); line-height: 1.04; margin: 0 0 12px; }
  .home-page h1 span:last-child { max-width: 5.8em; }
  .home-page .hero-description { font-size: clamp(15px, 3.7vw, 24px); margin: 0 0 16px 6px; line-height: 1.35; }
  .desktop-break { display: none; }
  .featured-game { width: 100%; padding: 12px 18px; border-radius: 13px; }
  .featured-label { font-size: 15px; }
  .featured-game h2 { font-size: clamp(28px, 6vw, 44px); }
  .featured-game > p:not([class]) { font-size: clamp(14px, 3.5vw, 22px); }
  .home-page .button-primary { font-size: clamp(16px, 4vw, 24px); margin-top: 10px; }
  .home-page .hero-paths { width: 100%; margin-top: 10px; }
  .home-page .hero-paths a { font-size: clamp(12px, 3.2vw, 19px); }
  .hero-characters { position: relative; display: block; right: auto; bottom: auto; width: 145%; max-width: none; margin: 0 0 0 -36%; }
}

@media (max-width: 599px) {
  .home-page .hero-shell { background-image: url('/assets/brasil-fundo-mobile.webp'); background-size: cover; background-position: center top; }
}

/* Interface components inherit the common theme; illustrations retain art tokens. */
.game-link, .button-primary { color: var(--on-action); }
.creator-path { background: var(--surface); border-top: 4px solid var(--accent); }
.availability { color: var(--success); }
.category-tooltip { background: var(--text); color: var(--background); }
.hero-paths a { color: var(--link); }
.home-page .hero-paths a:hover { color: var(--text); }
.game-card[data-status="breve"] { border-color: var(--border); }
.availability i, .search svg { color: var(--accent); }
.community-paths .path-state { color: var(--link); }
.game-meta { color: var(--muted); }
.game-info h3 { color: var(--heading); }
.home-page .policy-notice { margin: 24px auto 0; }

.art-investigation { background: var(--art-green-dark); color: var(--art-paper); }
.clue-board { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding: 16px; }
.clue-board span { padding: 18px 9px; border-top: 4px solid var(--art-red); background: var(--art-paper); color: var(--art-ink); font-size: 10px; font-weight: 900; transform: rotate(-5deg); }
.clue-board span:last-child { transform: rotate(5deg); }
.clue-board i { width: 16px; height: 3px; background: var(--art-red); }

.art-cabinet { background: var(--art-green-dark); color: var(--art-paper); }
.cabinet-card { position: absolute; top: 46px; display: grid; gap: 6px; width: 180px; padding: 10px; background: var(--art-paper); color: var(--art-ink); border: 3px solid var(--art-ink); box-shadow: 7px 7px 0 var(--art-red); transform: rotate(-5deg); }
.cabinet-card b { font-size: 16px; margin-bottom: 4px; }
.cabinet-card span { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; }
.cabinet-card span::after { content: ""; width: 45px; height: 6px; background: linear-gradient(to right, var(--art-green-dark) 65%, var(--art-shadow) 65%); }
.cabinet-card span:nth-child(3)::after { background: linear-gradient(to right, var(--art-red) 35%, var(--art-shadow) 35%); }
.cabinet-card i { font-size: 11px; font-style: normal; text-align: center; padding-top: 8px; border-top: 2px solid var(--art-ink); }
.art-budget { background: var(--art-red); color: var(--art-paper); }
.budget-sheet { position: absolute; top: 46px; width: 210px; display: grid; gap: 8px; padding: 14px; background: var(--art-paper); color: var(--art-ink); box-shadow: 7px 7px 0 var(--art-green-dark); transform: rotate(4deg); }
.budget-sheet b { font-size: 17px; }
.budget-sheet span { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 10px; font-weight: 800; }
.budget-sheet i { width: 48px; height: 7px; background: var(--art-green-dark); }
.budget-sheet span:nth-child(3) i { width: 30px; }
.budget-sheet strong { border-top: 2px dashed var(--art-ink); padding-top: 9px; font-size: 16px; }

.art-herois { background: var(--art-blue); color: var(--art-paper); }
.hero-street { display: grid; gap: 7px; width: 214px; margin-top: 22px; transform: rotate(-4deg); }
.hero-street b { justify-self: center; margin-bottom: 4px; padding: 6px 16px; border: 3px solid var(--art-ink); background: var(--art-yellow); color: var(--art-ink); font-size: 24px; font-weight: 900; box-shadow: 6px 6px 0 var(--art-ink); }
.hero-street span { display: block; padding: 5px 10px; border-left: 4px solid var(--art-paper); background: var(--art-ink); font-size: 13px; font-weight: 900; letter-spacing: .08em; }

.art-truth { background: var(--art-green-dark); color: var(--art-paper); }
.truth-score { display: grid; gap: 10px; width: 228px; margin-top: 22px; padding: 14px; border: 3px solid var(--art-paper); background: var(--art-ink); text-align: center; transform: rotate(-3deg); box-shadow: 7px 7px 0 var(--art-yellow); }
.truth-score b { color: var(--art-yellow); font-size: 24px; line-height: 1.05; }
.truth-score > span { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.truth-score > div { display: flex; justify-content: center; gap: 5px; }
.truth-score i { padding: 6px; background: var(--art-paper); color: var(--art-ink); font-size: 9px; font-weight: 900; font-style: normal; }
.truth-score i:nth-child(2) { background: var(--art-yellow); }
.truth-score i:last-child { background: var(--art-red); color: var(--art-paper); }

/* Arena própria: arte do catálogo, sem alterar o destaque principal. */
.art-arena{background:#174777;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;position:relative;overflow:hidden}.art-arena .art-caption{position:absolute;top:20px;left:22px;font-size:10px}.arena-card-shield{font-size:130px;line-height:1;color:#ffd44f;transform:rotate(-8deg)}.arena-card-label{font-weight:900;font-size:30px;letter-spacing:-1px}.arena-card-note{font-size:11px;color:#cee1f3}

.art-tamajones{background:linear-gradient(#0b1026 72%,#356b45 72%);position:relative}.tamajones-card-dog{position:absolute;bottom:13%;left:calc(50% - 64px);width:128px;height:128px;background:url('/tamajones/assets/dog.png') 0 0/768px 640px;image-rendering:pixelated}.tamajones-card-heart{position:absolute;top:20%;right:23%;color:#ff6b8a;font-size:44px}
