/* ==========================================================================
   Hanna-Barbera — arquivo de fãs
   Direção: modernismo de meados do século (1960) talhado na pedra.
   ========================================================================== */

:root {
  --ink: #1E0D0A;
  --ink-2: #2E1712;
  --paper: #F5EBDA;
  --paper-2: #EBDDC4;
  --stone: #D6C3A3;
  --stone-d: #9C8667;
  --sun: #FFC56B;
  --c1: #E8641B;
  --c2: #2B6FB6;
  --display: "Bowlby One", "Arial Black", sans-serif;
  --body: "Bricolage Grotesque", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(16px, 1.05vw + 10px, 19px)/1.6 var(--body);
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--c1); color: #fff; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--sun); padding: 8px 14px; font-weight: 800; }
.skip:focus { left: 8px; }

/* Grão de filme sobre toda a página */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Título espaçado estilo Pixar */
.label { margin: 0 0 clamp(28px, 4vw, 48px); font: 800 clamp(13px, 1vw + 6px, 17px)/1.3 var(--body); letter-spacing: .02em; color: var(--c1); }
.label.light { color: var(--sun); }
.spaced { display: inline-flex; flex-wrap: wrap; gap: .2em 1.6em; }
.spaced .w { white-space: pre; letter-spacing: .12em; }
.label::before { content: ""; display: inline-block; width: 38px; height: 4px; margin-right: 14px; vertical-align: middle; background: currentColor; border-radius: 4px; transform: translateY(-2px); }

/* ============================================================ NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: #fff;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s;
}
.nav.scrolled { --nav-h: 64px; background: rgba(30, 13, 10, .92); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav.hidden { transform: translateY(-100%); }
.nav.hidden .nav-sub { visibility: hidden !important; }
.nav { transition: background .4s var(--ease), height .4s var(--ease), transform .5s var(--ease); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  font: 400 19px/1 var(--display); color: var(--ink); letter-spacing: -.02em;
  background: var(--sun); border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
  box-shadow: inset -4px -5px 0 rgba(0, 0, 0, .18), 0 3px 0 var(--ink);
  transition: transform .5s var(--bounce);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-mark.big { width: 72px; height: 72px; font-size: 28px; }
.brand-text { font: 800 18px/1 var(--body); letter-spacing: .02em; display: flex; flex-direction: column; gap: 4px; }
.brand-text small { font-weight: 600; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; opacity: .65; }

.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; border-radius: 999px; background: none;
  font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: background .25s, color .25s;
}
.nav-link:hover, .nav-item.open > .nav-link, .nav-item:focus-within > .nav-link { background: rgba(255, 255, 255, .12); }
.chev { width: 10px; height: 10px; transition: transform .3s var(--ease); }

.nav-sub {
  position: absolute; top: calc(100% + 12px); left: 50%; min-width: 290px; padding: 18px 10px 10px;
  background: var(--paper); color: var(--ink); border-radius: 22px 26px 20px 28px;
  box-shadow: 0 0 0 3px var(--ink), 8px 10px 0 var(--ink), 0 30px 60px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, -10px) rotate(-1.5deg) scale(.96); transform-origin: top center;
  transition: opacity .25s var(--ease), transform .35s var(--bounce), visibility .25s;
}
.nav-sub::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* ponte do hover */
.nav-sub-hint { margin: 0 12px 10px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--c1); }
.nav-sub-link { display: block; padding: 11px 12px; border-radius: 14px; text-decoration: none; transition: background .2s, transform .25s var(--ease); }
.nav-sub-link strong { display: block; font-weight: 800; font-size: 16px; line-height: 1.2; }
.nav-sub-link span { font-size: 13.5px; opacity: .65; }
.nav-sub-link:hover { background: var(--paper-2); transform: translateX(4px); }
.nav-sub-link:hover strong { color: var(--c1); }

@media (hover: hover) and (min-width: 1101px) {
  .nav-item.has-sub:hover .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) rotate(-1deg) scale(1); }
  .nav-item.has-sub:hover .chev { transform: rotate(180deg); }
}
.nav-item.open .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) rotate(-1deg) scale(1); }
.nav-item.open .chev { transform: rotate(180deg); }

.nav-toggle { display: none; position: relative; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--sun); box-shadow: 0 3px 0 var(--ink); }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 23px; } .nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 0; z-index: 1; overflow-y: auto; padding: calc(var(--nav-h) + 24px) var(--gutter) 48px;
    background: var(--ink); clip-path: circle(0 at calc(100% - var(--gutter) - 24px) calc(var(--nav-h) / 2));
    transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .nav.menu-open .nav-menu { clip-path: circle(150% at calc(100% - var(--gutter) - 24px) calc(var(--nav-h) / 2)); visibility: visible; }
  .nav.menu-open { background: transparent; backdrop-filter: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
  .nav.menu-open .nav-item { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
  .nav-link { width: 100%; justify-content: space-between; padding: 20px 4px; border-radius: 0; font: 400 clamp(24px, 6vw, 34px)/1 var(--display); }
  .nav-link:hover, .nav-item.open > .nav-link, .nav-item:focus-within > .nav-link { background: none; color: var(--sun); }
  .chev { width: 16px; height: 16px; }
  .nav-sub {
    position: static; min-width: 0; padding: 0 0 0 4px; background: none; color: #fff; box-shadow: none; border-radius: 0;
    transform: none; opacity: 1; visibility: visible; display: none;
  }
  .nav-item.open .nav-sub { display: block; padding-bottom: 16px; transform: none; animation: rise .4s var(--ease); }
  .nav-sub-hint { color: var(--sun); margin-left: 0; }
  .nav-sub-link { padding: 10px 0; }
  .nav-sub-link:hover { background: none; }
  .nav-sub-link:hover strong { color: var(--sun); }
  body.lock { overflow: hidden; }
}

/* ============================================================ HERO */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
  display: grid; place-items: center; background: #2E2A5C; color: #fff; isolation: isolate;
}
.scene { position: absolute; inset: 0; z-index: -2; }
.scene .layer { position: absolute; inset: -4% -4% 0; width: 108%; height: 104%; will-change: transform; }
.scene img.layer { object-fit: cover; }
.hero::after { /* vinheta + escurecimento sob o título */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 48%, rgba(30, 13, 10, .45), transparent 70%), linear-gradient(to bottom, rgba(30, 13, 10, .35), transparent 25%, transparent 70%, rgba(30, 13, 10, .55));
}
/* Capa com imagem */
.scene .layer.photo { overflow: hidden; }
.scene .layer.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; animation: kenburns 28s ease-in-out infinite alternate, photoin 1.6s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
@keyframes photoin { from { opacity: 0; filter: blur(14px) saturate(.6); } }
.hero.has-photo { background: #F2C766; }
.hero.has-photo::after {
  background:
    radial-gradient(ellipse 62% 50% at 50% 46%, rgba(30, 13, 10, .5), rgba(30, 13, 10, .16) 62%, transparent 85%),
    linear-gradient(to bottom, rgba(30, 13, 10, .45), transparent 22%, transparent 62%, rgba(30, 13, 10, .65));
}
@media (max-width: 700px) {
  .scene .layer.photo { left: -4%; width: 108%; }
  .scene .layer.photo img { object-position: 20% 55%; }
}
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .25; mix-blend-mode: overlay; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); pointer-events: none; }

.sun { transform-origin: 800px 560px; animation: sunpulse 6s ease-in-out infinite; }
@keyframes sunpulse { 50% { transform: scale(1.06); } }
.smoke circle { transform-box: fill-box; transform-origin: center; animation: smoke 7s ease-in-out infinite; }
.smoke circle:nth-child(2) { animation-delay: -1.7s; } .smoke circle:nth-child(3) { animation-delay: -3.4s; } .smoke circle:nth-child(4) { animation-delay: -5.1s; }
@keyframes smoke { 0% { transform: translate(0, 40px) scale(.5); opacity: 0; } 30% { opacity: .9; } 100% { transform: translate(40px, -120px) scale(1.4); opacity: 0; } }
.fronds g > path { transform-origin: 0 0; animation: sway 4s ease-in-out infinite alternate; }
@keyframes sway { to { transform: rotate(4deg); } }

.hero-content { text-align: center; padding: 0 var(--gutter); transform: translateY(-4vh); }
.hero-kicker {
  display: inline-flex; gap: 14px; margin: 0 0 18px; padding: 8px 18px; border-radius: 999px;
  background: rgba(30, 13, 10, .45); backdrop-filter: blur(6px); font-weight: 800; font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
}
.hero-kicker span + span::before { content: "•"; margin-right: 14px; color: var(--sun); }
.hero-title {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .28em;
  font: 400 clamp(56px, 13vw, 210px)/.86 var(--display); letter-spacing: -.02em; color: var(--sun);
  text-shadow: 0 .04em 0 var(--c1), 0 .08em 0 #8A2E10, 0 .12em 0 var(--ink), 0 .3em .4em rgba(0, 0, 0, .45);
}
.hw { display: inline-flex; white-space: nowrap; }
.hl {
  display: inline-block; transform: translateY(-120vh) rotate(var(--r)); opacity: 0;
  animation: drop .9s var(--bounce) forwards; animation-delay: calc(.35s + var(--n) * .06s);
}
@keyframes drop { 60% { opacity: 1; } to { transform: translateY(0) rotate(var(--r)); opacity: 1; } }
@media (max-width: 700px) {
  .hero-title { font-size: 10.6vw; gap: .05em .25em; }
  .hero-kicker { gap: 10px; padding: 7px 14px; font-size: 11px; letter-spacing: .2em; }
  .hero-kicker span + span::before { margin-right: 10px; }
  .scene .layer { left: -45%; width: 190%; }
}
.hero-tagline { margin: clamp(18px, 3vw, 34px) 0 0; font: 600 clamp(18px, 2vw, 26px)/1.3 var(--body); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.reveal-now { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-scroll { position: absolute; bottom: calc(3vw + 36px); left: 50%; width: 30px; height: 50px; margin-left: -15px; border: 3px solid rgba(255, 255, 255, .85); border-radius: 20px; opacity: 0; animation: rise .8s 2s forwards; }
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ============================================================ MARQUEE */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 18px 0; margin-top: calc(-3vw - 6px); background: var(--c1); color: var(--ink); border-block: 4px solid var(--ink); transform: rotate(-1.2deg) scale(1.02); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font: 400 clamp(26px, 3.4vw, 46px)/1 var(--display); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.bone { flex: none; width: 54px; height: 20px; position: relative; background: var(--paper); border-radius: 6px; margin: 0 6px; }
.bone::before, .bone::after { content: ""; position: absolute; top: -6px; width: 18px; height: 32px; background: radial-gradient(circle at 50% 25%, var(--paper) 8px, transparent 9px), radial-gradient(circle at 50% 75%, var(--paper) 8px, transparent 9px); }
.bone::before { left: -10px; } .bone::after { right: -10px; }

/* ============================================================ SINOPSE */
.synopsis { padding: clamp(90px, 12vw, 180px) 0 clamp(70px, 9vw, 130px); position: relative; }
.synopsis-text { max-width: 22em; margin: 0; font: 600 clamp(26px, 3.3vw, 52px)/1.18 var(--body); letter-spacing: -.015em; text-wrap: balance; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(60px, 8vw, 110px) 0 0; border-top: 3px solid var(--ink); }
.stat { padding: 22px 18px 0 0; border-right: 1px solid rgba(30, 13, 10, .15); }
.stat + .stat { padding-left: clamp(14px, 2vw, 28px); }
.stat:last-child { border-right: 0; }
.stat dt { font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--stone-d); }
.stat dd { margin: 8px 0 0; font: 400 clamp(36px, 5vw, 76px)/1 var(--display); color: var(--c1); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 12px 20px 0; border-bottom: 1px solid rgba(30, 13, 10, .15); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
}

/* ============================================================ PERSONAGENS */
.cast { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.cast::before { /* pintas da gravata do Fred */
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background: radial-gradient(circle, #fff 18px, transparent 19px) 0 0 / 120px 120px, radial-gradient(circle, #fff 10px, transparent 11px) 60px 60px / 120px 120px;
}
.cast-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cast-head .label { margin-bottom: 40px; color: var(--sun); }
.rail-ctrl { display: flex; gap: 10px; margin-bottom: 40px; }
.rail-btn, .facts-btn {
  display: grid; place-items: center; width: 54px; height: 54px; border: 3px solid currentColor; border-radius: 50%; background: none;
  transition: background .25s, color .25s, transform .3s var(--bounce);
}
.rail-btn svg, .facts-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); transform: scale(1.08); }
.rail-btn:disabled { opacity: .3; pointer-events: none; }

.rail {
  display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 120px var(--gutter) 40px; margin-top: -100px; scroll-padding: 0 var(--gutter); cursor: grab;
}
/* o trilho sobe por baixo do título para a cabeça dos recortes não ser cortada no hover; os botões continuam clicáveis */
.cast-head { position: relative; z-index: 2; pointer-events: none; }
.cast-head .rail-ctrl { pointer-events: auto; }
.rail::-webkit-scrollbar { display: none; }
.rail { -webkit-user-select: none; user-select: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail img { -webkit-user-drag: none; }
.rail.dragging .card { transform: none; }
@media (min-width: 1280px) { .rail { padding-inline: calc((100vw - 1280px) / 2 + var(--gutter)); scroll-padding: 0 calc((100vw - 1280px) / 2 + var(--gutter)); } }

.card {
  flex: none; width: clamp(250px, 26vw, 340px); scroll-snap-align: start; padding: 0; border: 0; background: none; text-align: left;
  display: flex; flex-direction: column; transition: transform .5s var(--bounce);
}
.card-art {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--cc); border-radius: 28px 34px 24px 38px / 34px 26px 38px 28px;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .15);
  transition: border-radius .6s var(--ease), box-shadow .4s;
}
.card-art::before { /* meio-tom */
  content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: multiply;
  background: radial-gradient(circle, #000 1.6px, transparent 2px) 0 0 / 14px 14px;
  -webkit-mask: linear-gradient(160deg, transparent 30%, #000); mask: linear-gradient(160deg, transparent 30%, #000);
}
.card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-initial {
  position: relative; font: 400 clamp(140px, 16vw, 230px)/1 var(--display); color: var(--paper);
  text-shadow: 6px 8px 0 rgba(30, 13, 10, .35); transform: rotate(-6deg); transition: transform .6s var(--bounce);
}
/* Personagem recortado (PNG/WebP transparente) saindo do cartão */
.card-art::before { border-radius: inherit; }
.card-art.has-fig { overflow: visible; }
.card-art.has-fig .card-initial { position: absolute; top: 4%; left: 50%; translate: -50% 0; opacity: .45; font-size: clamp(170px, 19vw, 280px); text-shadow: none; }
.card-art .card-fig {
  position: absolute; inset: auto auto 0 50%; z-index: 1; height: 112%; width: auto; max-width: 112%; object-fit: contain; object-position: bottom center;
  translate: -50% 0; transform-origin: 50% 100%; filter: drop-shadow(0 10px 0 rgba(30, 13, 10, .28));
  transition: transform .6s var(--bounce), filter .4s;
}
.card:hover .card-fig, .card:focus-visible .card-fig { transform: scale(1.06) rotate(-2deg); filter: drop-shadow(0 18px 14px rgba(30, 13, 10, .4)); }
.card:hover .card-art.has-fig .card-initial { transform: rotate(-12deg) scale(1.1); }
.rail:has(.has-fig) { padding-top: 170px; }

/* Os Impossíveis: recortes completos e alinhados dentro dos cartões. */
.theme-pop .card-art.has-fig { overflow: hidden; }
.theme-pop .card-art .card-fig { bottom: 0; height: 96%; max-width: 96%; object-position: bottom center; }
.theme-pop .rail:has(.has-fig) { padding-top: 150px; }
.theme-pop .card:nth-child(1) .card-fig { height: 92%; }
.theme-pop .card:nth-child(2) .card-fig { height: 98%; }
.theme-pop .card:nth-child(3) .card-fig { height: 96%; }
.theme-pop .rh-fig img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center bottom; }
.rh-fig { grid-template: 100% / 100%; }
.rh-fig img { min-width: 0; min-height: 0; }
.modal-art.has-fig img { inset: auto 0 0; height: 94%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 12px 0 rgba(30, 13, 10, .25)); z-index: 1; animation: figin .6s var(--bounce); }
.modal-art.has-fig .card-initial { opacity: .4; }
@keyframes figin { from { transform: translateY(40px) scale(.92); opacity: 0; } }
.card-num { position: absolute; z-index: 2; top: 18px; left: 22px; font-weight: 800; font-size: 14px; letter-spacing: .2em; color: rgba(255, 255, 255, .8); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 20px 6px 0; }
.card-name { font: 400 clamp(22px, 2vw, 28px)/1.1 var(--display); }
.card-role { font-size: 15px; opacity: .65; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); }
.card-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform .3s var(--ease); }
.card:hover, .card:focus-visible { transform: translateY(-10px) rotate(-1deg); }
.card:hover .card-art, .card:focus-visible .card-art { border-radius: 38px 24px 40px 26px / 26px 38px 26px 40px; box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .15), 0 24px 50px rgba(0, 0, 0, .45); }
.card:hover .card-initial { transform: rotate(4deg) scale(1.08); }
.card:hover .card-more svg { transform: translateX(6px); }
.card:focus-visible { outline: none; }
.card:focus-visible .card-art { outline: 3px solid var(--sun); outline-offset: 4px; }

.rail-progress { margin: 0 var(--gutter); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); max-width: calc(1280px - 2 * var(--gutter)); }
@media (min-width: 1280px) { .rail-progress { margin: 0 auto; } }
.rail-progress span { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--sun); transition: width .2s linear; }

/* Modal de personagem */
.modal { width: min(980px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; background: none; color: var(--ink); overflow: visible; }
.modal::backdrop { background: rgba(30, 13, 10, .8); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .5s var(--bounce); }
.modal[open]::backdrop { animation: fade .3s; }
@keyframes pop { from { opacity: 0; transform: scale(.9) rotate(-2deg); } }
@keyframes fade { from { opacity: 0; } }
.modal-inner {
  position: relative; display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; max-height: calc(100svh - 32px);
  background: var(--paper); border-radius: 32px 40px 28px 44px; box-shadow: 0 0 0 4px var(--ink), 12px 14px 0 var(--ink);
}
.modal-art { position: relative; display: grid; place-items: center; min-height: 340px; background: var(--mc, var(--c1)); overflow: hidden; }
.modal-art::before { content: ""; position: absolute; inset: 0; opacity: .2; background: radial-gradient(circle, #000 1.6px, transparent 2px) 0 0 / 14px 14px; }
.modal-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-art img:not([src]), .modal-art img[src=""] { display: none; }
.modal-art .card-initial { font-size: clamp(160px, 22vw, 300px); }
.modal-body { padding: clamp(28px, 4vw, 54px); overflow-y: auto; }
.modal-orig { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--stone-d); }
.modal-body h3 { margin: 8px 0 6px; font: 400 clamp(34px, 4vw, 56px)/1 var(--display); color: var(--mc, var(--c1)); }
.modal-role { margin: 0 0 22px; font-weight: 800; }
.modal-desc { margin: 0 0 22px; font-size: 1.05em; }
.modal-voices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding-top: 16px; border-top: 2px dashed rgba(30, 13, 10, .2); align-items: start; }
.mv { margin: 0; padding: 12px 0; }
.mv dt { margin-bottom: 4px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-d); }
.mv dd { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.35; }
.mv-br { padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--mc, var(--c1)) 14%, transparent); }
.mv-br dt { color: var(--mc, var(--c1)); filter: brightness(.75); }
@media (max-width: 520px) { .modal-voices { grid-template-columns: 1fr; gap: 0; } }
.modal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 28px; }
.modal-nav button { padding: 10px 16px; border: 3px solid var(--ink); border-radius: 999px; background: none; font-weight: 800; font-size: 14px; transition: background .2s, color .2s; }
.modal-nav button:hover { background: var(--ink); color: var(--paper); }
.modal-nav span { font-weight: 800; font-size: 14px; color: var(--stone-d); }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 28px; line-height: 1; transition: transform .3s var(--bounce);
}
.modal-close:hover { transform: rotate(90deg) scale(1.1); }
@media (max-width: 720px) {
  .modal-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-art { min-height: 220px; }
  .modal-art .card-initial { font-size: 170px; }
  .modal-body { overflow: visible; }
}

/* ============================================================ VÍDEOS */
.videos { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-2); position: relative; overflow: hidden; }
.videos::before { /* perfuração de filme */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; opacity: .1;
  background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 36px);
}
.videos-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.videos-count { margin: 0; font: 400 15px/1 var(--display); color: var(--stone-d); }
.jukebox { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink);
  border-radius: 30px 36px 26px 40px / 36px 28px 40px 30px; box-shadow: 0 0 0 4px var(--ink), 12px 14px 0 var(--ink);
}
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage-cover { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; }
.stage-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.9); }
.stage-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 13, 10, .85), transparent 55%); }
.stage-cover:hover img { transform: scale(1.04); filter: saturate(1.1); }
.play {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: clamp(70px, 8vw, 110px); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 46% 54% 44% 56% / 55% 45% 55% 45%; background: var(--c1); box-shadow: inset -5px -7px 0 rgba(0, 0, 0, .2), 0 5px 0 var(--ink);
  transition: transform .4s var(--bounce);
}
.play::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border: solid transparent; border-width: .9em 0 .9em 1.45em; border-left-color: #fff; font-size: clamp(12px, 1.3vw, 18px); }
.stage-cover:hover .play { transform: scale(1.12) rotate(-8deg); }
.stage-title { position: absolute; z-index: 1; left: clamp(18px, 3vw, 34px); right: 30px; bottom: clamp(16px, 2.6vw, 30px); text-align: left; color: #fff; }
.stage-title small { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--sun); }
.stage-title b { font: 400 clamp(20px, 2.4vw, 34px)/1.1 var(--display); }
.stage.swap .stage-cover { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: scale(1.03); } }

.playlist { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.track {
  display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; width: 100%; padding: 10px; text-align: left;
  border: 3px solid transparent; border-radius: 22px; background: rgba(255, 255, 255, .45); transition: background .25s, border-color .25s, transform .35s var(--bounce);
}
.track:hover { background: #fff; transform: translateX(6px); }
.track.on { background: var(--paper); border-color: var(--ink); box-shadow: 5px 6px 0 var(--ink); }
.track-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--ink); }
.track-thumb img { width: 100%; height: 100%; object-fit: cover; }
.track-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.track-n { font: 400 13px/1 var(--display); color: var(--c1); }
.track-title { font-weight: 800; font-size: 15px; line-height: 1.25; }
.eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 4px; padding-bottom: 22%; background: rgba(30, 13, 10, .55); }
.eq i { width: 6px; height: 40%; border-radius: 3px; background: var(--sun); animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { from { height: 15%; } to { height: 55%; } }
.track.on .eq { display: flex; }
.track.on:not(.playing) .eq i { animation-play-state: paused; }
@media (max-width: 900px) {
  .jukebox { grid-template-columns: 1fr; }
  .playlist { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; scrollbar-width: none; }
  .playlist li { flex: none; width: min(78%, 300px); scroll-snap-align: start; }
  .track { grid-template-columns: 1fr; }
  .track:hover { transform: none; }
}

/* ============================================================ PEDREGULHO */
.world { background: var(--c2); color: #fff; padding: clamp(80px, 10vw, 150px) 0; position: relative; overflow: clip; }
.world::before { /* camadas de rocha */
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background: repeating-linear-gradient(172deg, transparent 0 60px, rgba(0, 0, 0, .5) 60px 62px, transparent 62px 140px);
}
.world-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); }
.world-sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.world-title {
  margin: 0; font: 400 clamp(54px, 8.4vw, 130px)/.86 var(--display); color: var(--sun);
  text-shadow: 0 .05em 0 var(--c1), 0 .1em 0 var(--ink); hyphens: manual; letter-spacing: -.02em;
}
.world-sub { max-width: 20em; margin: 28px 0 0; font-size: 1.1em; opacity: .85; }
.world-dots { display: flex; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.world-dots li { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; transition: background .3s, transform .4s var(--bounce); }
.world-dots li.on { background: var(--sun); border-color: var(--sun); transform: scale(1.3); }
.world-list { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.place {
  position: relative; padding: clamp(28px, 3.5vw, 48px); color: var(--ink); background: var(--paper);
  border-radius: 34px 26px 40px 30px / 28px 40px 30px 36px; box-shadow: 10px 12px 0 var(--ink);
  transition: transform .5s var(--bounce);
}
.place:nth-child(even) { transform: rotate(1deg); border-radius: 26px 40px 30px 36px / 38px 28px 36px 26px; }
.place:nth-child(odd) { transform: rotate(-.8deg); }
.place:hover { transform: rotate(0) translateY(-6px); }
.place-icon { width: 76px; height: 76px; margin-bottom: 14px; fill: var(--c1); }
.place-icon .cut { fill: var(--paper); }
.place-icon .ln { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.place-icon .cut-ln { fill: none; stroke: var(--paper); stroke-width: 3; }
.place-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; margin-bottom: 20px; }
.place-num { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); font: 400 clamp(40px, 5vw, 70px)/1 var(--display); color: var(--paper-2); -webkit-text-stroke: 2px var(--stone); }
.place h3 { margin: 0 0 12px; font: 400 clamp(26px, 2.6vw, 38px)/1.05 var(--display); color: var(--c2); }
.place p { margin: 0; }
@media (max-width: 860px) {
  .world-grid { grid-template-columns: 1fr; }
  .world-sticky { position: static; }
  .world-dots { display: none; }
}

/* ============================================================ HISTÓRIA */
.story { padding: clamp(90px, 12vw, 170px) 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.story-quote { position: relative; margin: 0; padding-top: 30px; font: 400 clamp(32px, 3.8vw, 58px)/1.02 var(--display); color: var(--ink); text-wrap: balance; }
.q-mark { position: absolute; top: -.25em; left: -.08em; font-size: 3.6em; line-height: 1; color: var(--c1); opacity: .9; z-index: -1; }
.story-quote cite { display: block; margin-top: 22px; font: 800 13px/1.4 var(--body); letter-spacing: .24em; text-transform: uppercase; font-style: normal; color: var(--stone-d); }
.story-text p { margin: 0 0 1.2em; font-size: 1.08em; }
.story-text p:first-child::first-letter { float: left; margin: .06em .12em 0 0; font: 400 4.2em/.8 var(--display); color: var(--c1); }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

/* ============================================================ CURIOSIDADES */
.facts { padding: clamp(90px, 11vw, 160px) 0; background: var(--stone); position: relative; overflow: hidden; }
.facts::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(ellipse 30px 18px at 20% 30%, var(--stone-d), transparent), radial-gradient(ellipse 50px 24px at 80% 70%, var(--stone-d), transparent), radial-gradient(ellipse 20px 14px at 60% 20%, var(--stone-d), transparent), radial-gradient(ellipse 40px 20px at 35% 85%, var(--stone-d), transparent);
  background-size: 420px 380px;
}
.facts-grid { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.facts-sub { margin: 0 0 30px; font-size: 1.1em; max-width: 18em; }
.facts-ctrl { display: flex; align-items: center; gap: 16px; }
.facts-btn:hover { background: var(--ink); color: var(--stone); }
.facts-count { font: 400 20px/1 var(--display); min-width: 64px; text-align: center; }
.tablets { position: relative; display: grid; min-height: clamp(300px, 34vw, 400px); perspective: 1200px; }
.tablet {
  grid-area: 1 / 1; margin: 0; padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; cursor: pointer;
  background: var(--paper-2); border-radius: 46% 54% 44% 56% / 10% 12% 10% 14%; box-shadow: inset -10px -12px 0 rgba(0, 0, 0, .1), 10px 12px 0 var(--ink);
  transition: transform .7s var(--ease), opacity .5s, box-shadow .5s;
  transform: translateY(calc(var(--pos, 0) * 18px)) translateX(calc(var(--pos, 0) * 14px)) rotate(calc(var(--pos, 0) * 3deg - 2deg)) scale(calc(1 - var(--pos, 0) * .05));
  z-index: calc(10 - var(--pos, 0)); opacity: calc(1 - var(--pos, 0) * .25);
}
.tablet[data-pos="0"] { --pos: 0; } .tablet[data-pos="1"] { --pos: 1; } .tablet[data-pos="2"] { --pos: 2; }
.tablet[data-pos="hidden"] { --pos: 3; opacity: 0; pointer-events: none; }
.tablet.out { transform: translate(-60%, -30px) rotate(-18deg) !important; opacity: 0 !important; transition: transform .6s var(--ease), opacity .45s; z-index: 20; }
.tablet-n { font: 400 15px/1 var(--display); letter-spacing: .1em; color: var(--c1); margin-bottom: 16px; }
.tablet p { margin: 0; font: 600 clamp(20px, 2.2vw, 30px)/1.3 var(--body); text-wrap: pretty; }
@media (max-width: 860px) { .facts-grid { grid-template-columns: 1fr; } .tablets { margin-right: 20px; } }

/* ============================================================ GALERIA */
.gallery { padding: clamp(80px, 10vw, 140px) 0; }
.masonry { columns: 3 280px; column-gap: 20px; }
.shot { display: block; margin-bottom: 20px; border-radius: 20px; overflow: hidden; break-inside: avoid; box-shadow: 6px 8px 0 var(--ink); }
.shot img { transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.lightbox { padding: 0; border: 0; background: none; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(30, 13, 10, .92); }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 16px; }

/* ============================================================ MAIS HB */
.more { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); color: #fff; }
.more .label { color: var(--sun); }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.tile {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 2; min-height: 250px; padding: 26px; overflow: hidden;
  text-decoration: none; background: var(--t1); color: #fff; border-radius: 28px 34px 24px 38px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .26); transition: transform .5s var(--bounce), border-radius .6s var(--ease), box-shadow .5s var(--ease);
}
.tile::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(8, 7, 18, .04) 26%, rgba(8, 7, 18, .22) 54%, rgba(8, 7, 18, .94) 100%); pointer-events: none; }
.tile::after { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: inherit; box-shadow: inset 0 -90px 80px -80px var(--t1); pointer-events: none; }
.tile > * { position: relative; z-index: 3; }
.tile > .tile-bg { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease), filter .5s var(--ease); }
.tile-year { font-size: 12px; font-weight: 800; letter-spacing: .24em; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.tile-title { margin: 6px 0 4px; font: 400 clamp(26px, 2.4vw, 34px)/1 var(--display); text-shadow: 0 3px 18px rgba(0, 0, 0, .95); }
.tile-tag { max-width: 34ch; font-size: 15px; font-weight: 600; opacity: .9; text-shadow: 0 2px 10px rgba(0, 0, 0, .95); }
.tile-soon { position: absolute; z-index: 4; top: 20px; left: 22px; padding: 6px 12px; border-radius: 999px; background: rgba(18, 14, 24, .88); color: var(--sun); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.tile:hover { transform: translateY(-8px) rotate(-1deg); border-radius: 38px 24px 40px 26px; box-shadow: 0 26px 52px rgba(0, 0, 0, .42); }
.tile:hover .tile-bg { transform: scale(1.065); filter: saturate(1.08) contrast(1.03); }
.tile:focus-visible { outline: 3px solid var(--sun); outline-offset: 5px; }
@media (max-width: 560px) {
  .more-grid { grid-template-columns: 1fr; gap: 16px; }
  .tile { min-height: 230px; padding: 22px; }
  .tile-title { font-size: clamp(28px, 9vw, 36px); }
}

/* ============================================================ YABBA */
.yabba { background: var(--c1); overflow: hidden; padding: clamp(30px, 4vw, 50px) 0 0; border-top: 4px solid var(--ink); }
.yabba-text {
  margin: 0; white-space: nowrap; text-align: center; font: 400 clamp(54px, 11.5vw, 220px)/.8 var(--display); letter-spacing: -.03em;
  color: var(--sun); text-shadow: 0 .04em 0 var(--ink); transform: translateY(.12em) translateX(var(--yx, 0));
}

/* ============================================================ FOOTER */
.foot { background: var(--ink); color: rgba(255, 255, 255, .8); padding: clamp(60px, 8vw, 100px) 0 30px; }
.foot-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 50px; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.foot-brand p { max-width: 20em; margin: 20px 0 0; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.foot-cols h4 { margin: 0 0 14px; font: 800 12px/1.3 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--sun); }
.foot-cols a { display: block; padding: 5px 0; font-size: 15px; text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.foot-cols a:hover { color: #fff; transform: translateX(4px); }
.foot-legal { max-width: 1280px; margin: 60px auto 0; padding: 26px var(--gutter) 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 30px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.foot-legal p { margin: 0; max-width: 60em; }
@media (max-width: 900px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-legal { flex-direction: column; gap: 10px; }
}

/* ============================================================ REVEAL */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .place.reveal.in:nth-child(even) { transform: rotate(1deg); }
.js .place.reveal.in:nth-child(odd) { transform: rotate(-.8deg); }
.js .place.reveal.in:hover { transform: rotate(0) translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hl { transform: none; opacity: 1; }
  .marquee-track { animation: none; }
}

.videos-count { white-space: nowrap; }
@media (max-width: 600px) {
  .videos-count { display: none; }
  .play { top: 40%; width: 64px; }
  .stage-title b { font-size: 18px; }
  .stage-title small { margin-bottom: 3px; }
  .stage { box-shadow: 0 0 0 3px var(--ink), 6px 8px 0 var(--ink); }
}

/* ==========================================================================
   TEMA "SPACE" — Os Jetsons (Googie, futurismo dos anos 60)
   ========================================================================== */
.theme-space {
  --ink: #0F1E3D; --ink-2: #18284D;
  --paper: #F1F5EE; --paper-2: #DDEEE8;
  --stone: #BFE6DE; --stone-d: #4F7D86;
  --sun: #FFD25E;
  --display: "Righteous", "Bowlby One", sans-serif;
}
.theme-space ::selection { background: var(--c2); }
.theme-space .hero { background: #0F1E3D; }
.theme-space .hero::after {
  background: radial-gradient(ellipse 70% 55% at 50% 48%, rgba(15, 30, 61, .5), transparent 70%), linear-gradient(to bottom, rgba(15, 30, 61, .3), transparent 25%, transparent 70%, rgba(15, 30, 61, .35));
}
.theme-space .hero-grain { opacity: .12; }
.theme-space .hero-title {
  font-size: clamp(60px, 13.5vw, 220px); letter-spacing: .01em; color: var(--sun);
  text-shadow: 0 .03em 0 var(--c1), 0 .06em 0 var(--c1), 0 .09em 0 #0F1E3D, 0 0 .5em rgba(255, 210, 94, .35);
}
.theme-space .hl { transform: translateY(60px) scale(.3); filter: blur(12px); animation-name: warp; animation-duration: 1s; animation-timing-function: var(--bounce); }
@keyframes warp { 50% { filter: blur(0); } to { transform: rotate(calc(var(--r) * .4)); opacity: 1; filter: blur(0); } }
.theme-space .hero-kicker { background: rgba(15, 30, 61, .5); }
@media (max-width: 700px) { .theme-space .hero-title { font-size: 12vw; } }

/* Objetos icônicos dos Jetsons no hero */
.jetsons-prop { position: absolute; z-index: 3; height: auto; pointer-events: none; will-change: transform; filter: drop-shadow(0 18px 18px rgba(8, 18, 42, .35)); }
.jetsons-car { right: -2%; bottom: 2%; width: clamp(540px, 49vw, 860px); animation: jetsons-float 5.4s ease-in-out infinite; }
.jetsons-rosie { left: 2.5%; bottom: 3%; width: clamp(190px, 18vw, 320px); animation: jetsons-float 6.2s -2.1s ease-in-out infinite; }
@keyframes jetsons-float { 50% { translate: 0 -12px; } }
@media (max-width: 900px) {
  .jetsons-car { right: -24%; bottom: 7%; width: min(920px, 86vw); opacity: .94; }
  .jetsons-rosie { left: -3%; bottom: 4%; width: min(280px, 28vw); opacity: .96; }
}
@media (max-width: 700px) {
  .jetsons-car { right: -24%; bottom: 9%; width: 100vw; }
  .jetsons-rosie { left: -10%; bottom: 7%; width: 38vw; }
  .theme-space .hero-content { transform: translateY(-10vh); }
}

/* Cenário espacial */
.twinkle use { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.twinkle use:nth-child(2n) { animation-delay: -1s; } .twinkle use:nth-child(3n) { animation-delay: -2s; animation-duration: 4s; }
@keyframes twinkle { 50% { transform: scale(.35) rotate(45deg); opacity: .5; } }
.drift { animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-60px); } }
.beacon { animation: beacon 1.6s ease-in-out infinite; }
@keyframes beacon { 50% { opacity: .25; } }
.planet { animation: bob 12s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translate(1260px, 236px); } }

/* Faixa: estrelinha no lugar do osso */
.spark { flex: none; width: 34px; height: 34px; background: var(--paper); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); margin: 0 4px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.theme-space .marquee { background: var(--c2); }

/* Personagens: céu estrelado e cartões em formato "bumerangue" */
.theme-space .cast::before {
  opacity: .5;
  background: radial-gradient(circle, rgba(255, 255, 255, .5) 1px, transparent 1.6px) 0 0 / 46px 46px, radial-gradient(circle, rgba(255, 255, 255, .35) 1.2px, transparent 2px) 23px 23px / 92px 92px;
}
.theme-space .card-art { border-radius: 44px 12px 44px 12px; }
.theme-space .card:hover .card-art, .theme-space .card:focus-visible .card-art { border-radius: 12px 44px 12px 44px; }
.theme-space .card-initial { font-size: clamp(150px, 17vw, 240px); }
.theme-space .modal-inner { border-radius: 40px 14px 40px 14px; }

/* Lugares: órbitas ao fundo, cartões geométricos */
.theme-space .world::before {
  opacity: .16;
  background: repeating-radial-gradient(circle at 15% 40%, transparent 0 80px, rgba(255, 255, 255, .9) 80px 82px, transparent 82px 160px);
}
.theme-space .place, .theme-space .place:nth-child(even), .theme-space .place:nth-child(odd),
.theme-space .js .place.reveal.in:nth-child(even), .theme-space .js .place.reveal.in:nth-child(odd) { transform: none; border-radius: 40px 12px 40px 12px; }
.js .theme-space .place.reveal.in, .js .theme-space .place.reveal.in:nth-child(even), .js .theme-space .place.reveal.in:nth-child(odd) { transform: none; }
.theme-space .place:hover, .js .theme-space .place.reveal.in:hover { transform: translateY(-6px); }
.theme-space .place-icon .cut { fill: var(--paper); }

/* Curiosidades: telas de TV retrô no lugar das placas de pedra */
.theme-space .facts::before {
  opacity: .35; mix-blend-mode: normal;
  background: radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(15, 30, 61, .25) 22px 24px, transparent 24px) 0 0 / 120px 120px;
}
.theme-space .tablet {
  border-radius: 34px / 26px; background: #FBFDF9;
  box-shadow: inset 0 0 0 10px var(--paper-2), inset 0 0 0 13px var(--ink), 10px 12px 0 var(--ink);
}
.theme-space .tablet::after { /* antena */
  content: ""; position: absolute; top: -30px; left: 50%; width: 60px; height: 32px; translate: -50% 0;
  border: 4px solid var(--ink); border-bottom: 0; border-radius: 60px 60px 0 0; clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%);
}
.theme-space .tablet { position: relative; }
.theme-space .q-mark { color: var(--c2); }

/* Mais HB / rodapé */
.theme-space .tile { border-radius: 40px 12px 40px 12px; }
.theme-space .stage { border-radius: 40px 14px 40px 14px; }

/* ==========================================================================
   HOME
   ========================================================================== */
.home-hero { display: block; }
.slide {
  position: absolute; inset: 0; isolation: isolate; display: grid; place-items: center; color: #fff;
  opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s;
}
.slide.on { opacity: 1; visibility: visible; }
.slide .scene { z-index: -2; }
.slide.theme-space { background: #0F1E3D; }
.slide.theme-stone { background: #2E2A5C; }
.slide-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(20, 10, 10, .5), transparent 75%), linear-gradient(to bottom, rgba(20, 10, 10, .35), transparent 25%, transparent 60%, rgba(20, 10, 10, .65)); }
.slide.theme-space .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(15, 30, 61, .45), transparent 75%), linear-gradient(to bottom, rgba(15, 30, 61, .3), transparent 25%, transparent 60%, rgba(15, 30, 61, .6)); }
.slide-content { text-align: center; padding: 0 var(--gutter); transform: translateY(-5vh); }
.slide-title {
  margin: 0; font: 400 clamp(56px, 12vw, 190px)/.88 var(--display); letter-spacing: -.02em; color: var(--sun);
  text-shadow: 0 .04em 0 var(--c1), 0 .08em 0 rgba(0, 0, 0, .45), 0 .12em 0 var(--ink), 0 .3em .4em rgba(0, 0, 0, .45);
}
.slide.theme-space .slide-title { letter-spacing: .01em; text-shadow: 0 .03em 0 var(--c1), 0 .06em 0 var(--c1), 0 .09em 0 #0F1E3D, 0 0 .5em rgba(255, 210, 94, .35); }
.slide-tag { margin: clamp(14px, 2.4vw, 26px) 0 clamp(20px, 3vw, 34px); font: 600 clamp(18px, 2vw, 26px)/1.3 var(--body); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.slide.on .hero-kicker, .slide.on .slide-tag, .slide.on .btn { animation: rise .9s var(--ease) both; }
.slide.on .slide-title { animation: titlein 1s var(--bounce) .1s both; }
.slide.on .slide-tag { animation-delay: .3s; } .slide.on .btn { animation-delay: .45s; }
@keyframes titlein { from { opacity: 0; transform: translateY(40px) scale(.92); filter: blur(8px); } }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; text-decoration: none;
  background: var(--sun); color: var(--ink); font-weight: 800; font-size: 16px; box-shadow: 0 5px 0 var(--ink);
  transition: transform .35s var(--bounce), box-shadow .3s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 8px 0 var(--ink); }
.btn:hover svg { transform: translateX(5px); }

.slide-nav {
  position: absolute; z-index: 5; left: 50%; bottom: calc(3vw + 34px); translate: -50% 0;
  display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(20, 12, 10, .45); backdrop-filter: blur(10px);
}
.slide-dot { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 18px 12px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .7); overflow: hidden; transition: background .3s, color .3s; }
.slide-dot:hover { color: #fff; }
.slide-dot.on { background: rgba(255, 255, 255, .14); color: #fff; }
.slide-dot-n { font: 400 13px/1 var(--display); color: var(--sun); }
.slide-dot-t { font-weight: 800; font-size: 14px; white-space: nowrap; }
.slide-dot-bar { position: absolute; left: 18px; right: 18px; bottom: 5px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.slide-dot-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--sun); }
@media (max-width: 700px) {
  .slide-title { font-size: 12.5vw; }
  .slide-dot-t { display: none; }
  .slide-dot { padding: 12px 14px; }
  .slide-dot-bar { left: 10px; right: 10px; }
  .slide .scene:not(.tj-scene) .layer:not(.photo) { left: -45%; width: 190%; }
}

/* Apresentação */
.intro { padding: clamp(90px, 11vw, 160px) 0 clamp(60px, 8vw, 110px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(30px, 6vw, 90px); align-items: end; }
.intro-text { margin: 0; font: 600 clamp(24px, 2.8vw, 44px)/1.2 var(--body); letter-spacing: -.015em; text-wrap: balance; }
.intro-stats { margin: 0; display: grid; border-top: 3px solid var(--ink); }
.intro-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(30, 13, 10, .15); }
.intro-stats dt { font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--stone-d); }
.intro-stats dd { margin: 0; font: 400 clamp(34px, 4vw, 56px)/1 var(--display); color: var(--c1); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* Os desenhos */
.shows { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 150px); }
.shows-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(20px, 3vw, 36px); padding-top: 50px; }
.show {
  position: relative; display: flex; align-items: flex-end; min-height: clamp(360px, 36vw, 480px); padding: clamp(26px, 3vw, 40px);
  text-decoration: none; color: #fff; isolation: isolate; transition: transform .5s var(--bounce);
}
.show-bg {
  position: absolute; inset: 0; z-index: -2; background: var(--c2); border-radius: 36px 44px 30px 48px / 44px 32px 48px 36px;
  box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .15), 10px 12px 0 var(--ink); transition: border-radius .6s var(--ease), box-shadow .4s;
}
.show-bg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .2; mix-blend-mode: multiply; background: radial-gradient(circle, #000 1.6px, transparent 2px) 0 0 / 14px 14px; -webkit-mask: linear-gradient(160deg, transparent 35%, #000); mask: linear-gradient(160deg, transparent 35%, #000); }
.show-bg::after { content: ""; position: absolute; right: 8%; top: 10%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--c1); opacity: .9; transition: transform .7s var(--bounce); }
.show.theme-space .show-bg { border-radius: 48px 14px 48px 14px; background: linear-gradient(160deg, #1B5E7A, #0F1E3D 70%); }
.show.theme-space .show-bg::after { background: radial-gradient(circle at 35% 35%, #FFD9A0, var(--c1)); }
.show-fig { position: absolute; z-index: -1; right: 4%; bottom: 0; height: 108%; width: auto; max-width: 46%; object-fit: contain; object-position: bottom; transform-origin: bottom center; filter: drop-shadow(0 12px 0 rgba(0, 0, 0, .25)); transition: transform .6s var(--bounce); }
.show-initial { position: absolute; z-index: -1; right: 8%; top: 4%; font: 400 clamp(200px, 22vw, 320px)/1 var(--display); color: rgba(255, 255, 255, .85); text-shadow: 8px 10px 0 rgba(0, 0, 0, .25); transform: rotate(-6deg); transition: transform .6s var(--bounce); }
.show-body { display: flex; flex-direction: column; gap: 6px; max-width: 52%; }
.show-years { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.show-title { font: 400 clamp(36px, 4vw, 60px)/.95 var(--display); color: var(--sun); text-shadow: 0 .05em 0 var(--ink); }
.show-tag { font-weight: 600; font-size: 17px; }
.show-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.show-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; transition: transform .3s var(--ease); }
.show:hover { transform: translateY(-8px) rotate(-.8deg); }
.show:hover .show-bg { box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .15), 14px 18px 0 var(--ink); }
.show:hover .show-bg::after { transform: scale(1.12) translate(-6%, 6%); }
.show:hover .show-fig { transform: scale(1.05) rotate(-2deg); }
.show:hover .show-initial { transform: rotate(4deg) scale(1.06); }
.show:hover .show-cta svg { transform: translateX(6px); }
@media (max-width: 560px) { .show { min-height: 500px; } .show-body { max-width: 100%; } .show-fig { height: 64%; max-width: 70%; bottom: auto; top: -8%; right: 6%; } .show-initial { top: 0; } }
.soon-title { margin: clamp(70px, 8vw, 110px) 0 24px; font: 400 clamp(24px, 2.4vw, 32px)/1 var(--display); }
.soon-grid .tile { color: var(--ink); }

/* Linha do tempo */
.timeline { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.timeline-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.timeline-sub { margin: 0 0 40px; opacity: .7; }
.tl-rail { list-style: none; margin: 0; padding-top: 10px; gap: 0; position: relative; }
.tl-item { flex: none; width: clamp(240px, 24vw, 300px); scroll-snap-align: start; display: grid; grid-template-rows: auto 30px 1fr; padding-right: 22px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 0; right: 0; top: calc(clamp(40px, 4.4vw, 64px) + 19px); height: 3px; background: rgba(255, 255, 255, .15); }
.tl-year { font: 400 clamp(40px, 4.4vw, 64px)/1 var(--display); color: var(--sun); }
.tl-dot { position: relative; z-index: 1; width: 18px; height: 18px; margin-top: 10px; border-radius: 50%; background: var(--ink); border: 3px solid rgba(255, 255, 255, .5); }
.tl-item.has-page .tl-dot { background: var(--c1); border-color: var(--sun); box-shadow: 0 0 0 6px rgba(255, 197, 107, .2); }
.tl-card { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .06); transition: background .3s, transform .4s var(--bounce); }
.tl-item:hover .tl-card { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.tl-card strong { font: 400 22px/1.1 var(--display); }
.tl-card span { font-size: 15px; opacity: .75; }
.tl-card a { margin-top: 6px; color: var(--sun); font-weight: 800; font-size: 14px; text-decoration: none; }
.tl-card a:hover { text-decoration: underline; }
.tl-item.has-page .tl-card { background: rgba(255, 197, 107, .12); }

/* Criadores */
.founders { padding: clamp(90px, 11vw, 160px) 0; background: var(--c1); color: var(--ink); overflow: hidden; }
.founders .label { color: var(--ink); }
.founders-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.founders-names { display: flex; flex-direction: column; font: 400 clamp(56px, 8.4vw, 136px)/.86 var(--display); color: var(--sun); text-shadow: 0 .05em 0 var(--ink); letter-spacing: -.02em; }
.founders-names .amp { align-self: center; font-size: .6em; color: var(--paper); margin: .05em 0; }
.founders-names span:last-child { align-self: flex-end; }
.founders-text p { margin: 0 0 1em; font-size: 1.1em; font-weight: 600; }
@media (max-width: 860px) { .founders-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TEMA "RACE" — A Corrida Maluca (deserto, asfalto e bandeira quadriculada)
   ========================================================================== */
.theme-race {
  --ink: #1E1A2E; --ink-2: #2A2440;
  --paper: #FFF3DC; --paper-2: #F8E2BA;
  --stone: #F2C98F; --stone-d: #A9714A;
  --sun: #FFD25E;
  --display: "Racing Sans One", "Bowlby One", sans-serif;
  --check: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 20px 20px;
}
.theme-race ::selection { background: var(--c1); }
.theme-race .hero { background: #2E86AB; }
.theme-race .hero::after {
  background: radial-gradient(ellipse 70% 50% at 50% 46%, rgba(30, 26, 46, .45), transparent 72%), linear-gradient(to bottom, rgba(30, 26, 46, .25), transparent 25%, transparent 70%, rgba(30, 26, 46, .3));
}
.theme-race .hero-grain { opacity: .1; }
.theme-race .hero-title {
  font-size: clamp(60px, 12.5vw, 210px); letter-spacing: 0; color: var(--sun); font-style: italic;
  text-shadow: .04em .03em 0 var(--c1), .08em .06em 0 var(--c1), .12em .09em 0 var(--ink), -.25em 0 .3em rgba(255, 255, 255, .25);
}
.theme-race .hl { transform: translateX(-120vw) skewX(-20deg); animation-name: zoomin; animation-duration: .9s; animation-timing-function: cubic-bezier(.2, 1.3, .4, 1); }
@keyframes zoomin { to { transform: rotate(calc(var(--r) * .5)); opacity: 1; } }
.theme-race .hero-kicker { background: rgba(30, 26, 46, .5); }
@media (max-width: 700px) { .theme-race .hero-title { font-size: 11.5vw; } }

/* Carros clássicos em camadas no hero da Corrida Maluca */
.race-hero-prop { position: absolute; z-index: 3; height: auto; pointer-events: none; will-change: transform; filter: drop-shadow(0 18px 18px rgba(30, 13, 10, .32)); }
.race-hero-penelope { left: -7%; bottom: 1%; width: clamp(430px, 38vw, 690px); animation: race-car-bob 4.8s ease-in-out infinite; }
.race-hero-mean-machine { right: -8%; bottom: 0; width: clamp(560px, 48vw, 870px); animation: race-car-bob 5.2s -1.8s ease-in-out infinite; }
.theme-race .hero-content { z-index: 4; transform: translateY(-6vh); }
@keyframes race-car-bob { 50% { translate: 0 -10px; rotate: -.35deg; } }
@media (max-width: 900px) {
  .race-hero-penelope { left: -16%; width: 52vw; }
  .race-hero-mean-machine { right: -18%; width: 62vw; }
}
@media (max-width: 700px) {
  .race-hero-penelope { left: -29%; bottom: 7%; width: 80vw; }
  .race-hero-mean-machine { right: -38%; bottom: 4%; width: 96vw; }
  .theme-race .hero-content { transform: translateY(-13vh); }
}

/* Cenário */
.sunrays { animation: sunpulse 6s ease-in-out infinite alternate; }
@keyframes sunpulse { to { opacity: .85; } }
.dust { animation: dust 7s ease-in-out infinite; }
@keyframes dust { 50% { transform: translateX(-40px); opacity: .45; } }
.banner { animation: flap 3s ease-in-out infinite alternate; transform-origin: 800px 270px; }
@keyframes flap { to { transform: skewY(.6deg) translateY(4px); } }

/* Faixa: quadradinho de bandeira */
.checker { flex: none; width: 34px; height: 34px; margin: 0 6px; border: 3px solid var(--ink); background: repeating-conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%) 0 0 / 14px 14px; transform: rotate(8deg); animation: wave 1.4s ease-in-out infinite alternate; }
@keyframes wave { to { transform: rotate(-8deg) skewX(-8deg); } }
.theme-race .marquee { background: var(--sun); }

/* Personagens: zebrado de pista ao fundo */
.theme-race .cast::before { opacity: .12; background: repeating-linear-gradient(-45deg, var(--ink) 0 18px, transparent 18px 36px); }
.theme-race .card-art { border-radius: 14px 46px 14px 46px; }
.theme-race .card:hover .card-art, .theme-race .card:focus-visible .card-art { border-radius: 46px 14px 46px 14px; }
.theme-race .card-initial, .theme-race .card-num { font-style: italic; }
.theme-race .modal-inner { border-radius: 16px 40px 16px 40px; }

/* Lugares e curiosidades */
.theme-race .world::before { opacity: .1; background: var(--check); background-size: 80px 80px; }
.theme-race .place-icon .cut { fill: var(--paper); }
.theme-race .facts::before { opacity: .08; mix-blend-mode: normal; background: var(--check); background-size: 60px 60px; }
.theme-race .tablet { border-radius: 18px; background: #fff; box-shadow: inset 0 14px 0 var(--c1), inset 0 0 0 4px var(--ink), 10px 12px 0 var(--ink); }
.theme-race .q-mark { color: var(--c1); }
.theme-race .tile { border-radius: 14px 40px 14px 40px; }
.theme-race .stage { border-radius: 16px 40px 16px 40px; }

/* ---------- Grid de largada: a corrida interativa ---------- */
.race { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.race::before, .race::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background: var(--check); }
.race::before { top: 0; } .race::after { bottom: 0; }
.race-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.race-head .label { margin-bottom: 18px; }
.race-sub { margin: 0; max-width: 560px; font-size: 1.1em; font-weight: 600; opacity: .85; }
.race-go { border: 0; box-shadow: 0 5px 0 var(--c1); font-size: 18px; }
.race-go:hover { box-shadow: 0 8px 0 var(--c1); }
.race-go[disabled] { opacity: .55; cursor: default; transform: none; }
.race-status { min-height: 1.3em; margin: 0 0 18px; font: 400 clamp(20px, 2.2vw, 30px)/1.2 var(--display); font-style: italic; color: var(--sun); }

.raceway { list-style: none; margin: 0; padding: 0; border-radius: 22px; overflow: hidden; background: #3B3450; box-shadow: 0 0 0 4px #fff, 10px 12px 0 var(--c1); }
.lane { display: grid; grid-template-columns: minmax(170px, 290px) 1fr; align-items: stretch; min-height: 70px; }
.lane + .lane { border-top: 2px dashed rgba(255, 255, 255, .25); }
.lane-info { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: rgba(0, 0, 0, .25); transition: background .4s; }
.lane-num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--vc); color: #fff; font: 400 20px/1 var(--display); font-style: italic; box-shadow: 0 0 0 3px #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.lane-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.lane-text b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane-text small { font-size: 12px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane-road { position: relative; min-height: 70px; overflow: hidden; background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 255, 255, .05) 60px 62px); }
.lane-road::after { /* linha de chegada */ content: ""; position: absolute; top: 0; bottom: 0; right: 14px; width: 18px; background: repeating-conic-gradient(#1E1A2E 0 25%, #fff 0 50%) 0 0 / 9px 9px; }
.racer { --p: 0; position: absolute; z-index: 1; top: 50%; left: calc(12px + var(--p) * (100% - 136px)); width: 92px; translate: 0 -50%; transition: filter .3s; }
.racer svg, .racer img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35)); }
.racer .rc-body { fill: var(--vc); stroke: #1E0D0A; stroke-width: 3; }
.racer-n { position: absolute; left: 50%; top: 57%; translate: -50% -50%; font: 400 11px/1 var(--display); color: #1E0D0A; }
.racing.raceway .lane:not(.done):not(.stalled) .racer { animation: rumble .18s linear infinite; }
.racing.raceway .lane:not(.done):not(.stalled) .wheel { animation: spin .35s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rumble { 50% { translate: 0 calc(-50% - 2px); } }
.lane.stalled .racer { filter: grayscale(.7); }
.puff { position: absolute; left: -18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(255, 255, 255, .7); opacity: 0; pointer-events: none; }
.racing.raceway .lane:not(.stalled):not(.done) .puff { animation: puff .5s ease-out infinite; }
.lane.stalled .puff { opacity: 1; width: 46px; height: 46px; left: 24px; margin-top: -40px; background: rgba(130, 120, 140, .85); box-shadow: 22px -8px 0 -6px rgba(130, 120, 140, .7), -14px -10px 0 -10px rgba(130, 120, 140, .6); animation: smoke 1.2s ease-in-out infinite alternate; }
@keyframes puff { from { opacity: .8; transform: scale(.5); } to { opacity: 0; transform: translateX(-30px) scale(1.4); } }
@keyframes smoke { to { transform: translateY(-8px) scale(1.15); } }
.lane-place { position: absolute; z-index: 2; right: 150px; top: 50%; translate: 0 -50%; font: 400 22px/1 var(--display); font-style: italic; color: var(--sun); text-shadow: 0 2px 0 var(--ink); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s var(--bounce); }
.lane.done .lane-place, .lane.stalled .lane-place { opacity: 1; transform: none; }
.racer .bubble { position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%; padding: 6px 12px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; white-space: nowrap; box-shadow: 3px 4px 0 var(--c1); animation: rise .4s var(--bounce) both; }
.racer .bubble::after { content: ""; position: absolute; right: -8px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left-color: #fff; border-right: 0; }
.lane.p1 .lane-info { background: linear-gradient(90deg, rgba(255, 210, 94, .45), rgba(0, 0, 0, .2)); }
.lane.p1 .lane-place { font-size: 30px; }

.garage { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 22px; margin-top: clamp(60px, 7vw, 90px); }
.car { position: relative; padding: 28px 24px 24px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: inset 0 10px 0 var(--vc), 8px 10px 0 var(--vc); transition: transform .4s var(--bounce); }
.car:hover { transform: translateY(-6px) rotate(-1deg); }
.car-num { position: absolute; top: -16px; right: 18px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--vc); color: #fff; font: 400 24px/1 var(--display); font-style: italic; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink); }
.car-img { height: 150px; margin: 4px -6px 14px; overflow: visible; border-radius: 12px; background: radial-gradient(70% 60% at 50% 60%, color-mix(in srgb, var(--vc) 22%, #fff), transparent 75%); }
.car-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .22)); transition: transform .5s var(--bounce); }
.car:hover .car-img img { transform: translateX(10px) rotate(-3deg); }
.car-orig { margin: 6px 0 2px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--stone-d); }
.car h3 { margin: 0 56px 8px 0; font: 400 26px/1.05 var(--display); font-style: italic; }
.car-crew { margin: 0 0 10px; font-weight: 800; }
.car-desc { margin: 0; font-size: 15px; line-height: 1.5; }

@media (max-width: 700px) {
  .lane { grid-template-columns: 1fr; }
  .lane-info { padding: 10px 12px 0; background: none; }
  .lane.p1 .lane-info { background: none; }
  .lane-num { width: 34px; height: 34px; font-size: 15px; }
  .lane-road { min-height: 56px; }
  .racer { width: 70px; left: calc(8px + var(--p) * (100% - 106px)); }
  .lane-place { right: 112px; }
  .racer .bubble { right: calc(100% + 8px); padding: 4px 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .racing.raceway .lane .racer, .racing.raceway .lane .wheel, .banner, .dust, .checker { animation: none !important; } }

/* Home: slide e cartão do tema "race" */
.slide.theme-race { background: #2E86AB; }
.slide.theme-race .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(30, 26, 46, .45), transparent 75%), linear-gradient(to bottom, rgba(30, 26, 46, .25), transparent 25%, transparent 60%, rgba(30, 26, 46, .55)); }
.slide.theme-race .slide-title { font-family: "Racing Sans One", "Bowlby One", sans-serif; font-style: italic; letter-spacing: 0; }
.show.theme-race .show-bg { border-radius: 16px 48px 16px 48px; background: linear-gradient(160deg, #2E86AB, #1E1A2E 75%); }
.show.theme-race .show-bg::after { border-radius: 10px; background: repeating-conic-gradient(#1E1A2E 0 25%, #fff 0 50%) 0 0 / 25% 25%; opacity: .9; transform: rotate(-8deg); }
.show.theme-race .show-title { font-family: "Racing Sans One", "Bowlby One", sans-serif; font-style: italic; }

/* ============================================================ NOSSO JOGO (Corrida Bombástica) */
.game { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: radial-gradient(120% 90% at 85% 40%, color-mix(in srgb, var(--c2) 45%, var(--ink)) 0%, var(--ink) 70%); color: #fff; overflow: hidden; }
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.game .label { margin-bottom: 14px; }
.game-title { margin: 0 0 18px; font: 400 clamp(44px, 6.5vw, 88px)/.92 var(--display); font-style: italic; color: var(--sun); text-shadow: 4px 4px 0 var(--c1); }
.game-lead { margin: 0 0 22px; font-size: 1.12em; line-height: 1.55; opacity: .9; }
.game-keys { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.game-keys li { padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); border-left: 4px solid var(--sun); font-size: .95em; }
.game-keys b { display: inline-block; min-width: 108px; color: var(--sun); }
.game-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.game-cta .btn { border: 0; cursor: pointer; font-family: inherit; }
.game-cta svg { fill: currentColor; stroke: none; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.game-note { margin: 18px 0 0; font-size: .85em; opacity: .6; }
.game-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #1b1b2f; border: 6px solid #fff; box-shadow: 10px 10px 0 var(--c1), 0 30px 60px rgba(0, 0, 0, .45); }
.game-screen::before { content: ""; position: absolute; inset: 0; background: var(--check); opacity: .08; }
.game-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.game-poster { position: absolute; inset: 0; display: grid; place-items: center; }
.game-poster img { position: absolute; height: 92%; width: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .5)); pointer-events: none; }
.game-poster .gp-a { left: 6%; rotate: -8deg; }
.game-poster .gp-b { right: 6%; rotate: 8deg; }
.game-poster-play { position: relative; z-index: 2; width: 104px; height: 104px; border-radius: 50%; border: 5px solid var(--ink); background: var(--sun); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 0 var(--ink); transition: transform .35s var(--bounce); animation: gamePulse 1.8s ease-in-out infinite; }
.game-poster-play svg { width: 46px; height: 46px; fill: currentColor; margin-left: 6px; }
.game-poster-play:hover { transform: scale(1.1) rotate(-6deg); }
@keyframes gamePulse { 50% { box-shadow: 0 6px 0 var(--ink), 0 0 0 16px rgba(255, 210, 94, .18); } }
.game-screen.playing .game-poster { display: none; }
@media (max-width: 860px) {
  .game-grid { grid-template-columns: 1fr; }
  .game-screen { aspect-ratio: 9 / 14; max-height: 82vh; width: min(100%, 460px); margin-inline: auto; }
  .game-keys b { min-width: 0; display: block; }
  .game-poster img { height: auto; width: 58%; }
  .game-poster .gp-a { left: 2%; top: 3%; }
  .game-poster .gp-b { right: 2%; bottom: 3%; }
}
@media (prefers-reduced-motion: reduce) { .game-poster-play { animation: none; } }

/* ============================================================ ABERTURA (o scroll controla o vídeo) */
.opening { position: relative; height: calc(var(--sec) * var(--pace, 7svh) + 100svh); background: #0d0a14; color: #fff; }
.op-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.op-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0d0a14; z-index: -2; }
.op-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px),
    radial-gradient(120% 100% at 50% 45%, transparent 45%, rgba(8, 5, 14, .75) 100%),
    linear-gradient(to top, rgba(8, 5, 14, .7), transparent 30%); }
.op-item { position: absolute; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), transform .55s var(--bounce), visibility 0s .45s; }
.op-item.is-on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), transform .55s var(--bounce), visibility 0s; }

.op-intro, .op-outro { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; background: radial-gradient(60% 55% at 50% 50%, rgba(8, 5, 14, .72), transparent 80%); transform: scale(.94); }
.op-intro.is-on, .op-outro.is-on { transform: none; }
.op-intro .label { margin-bottom: 14px; }
.op-title { margin: 0; font: 400 clamp(54px, 10vw, 150px)/.9 var(--display); font-style: italic; color: var(--sun); text-shadow: 5px 5px 0 var(--c1), 0 10px 40px rgba(0, 0, 0, .6); }
.op-lead { max-width: 520px; margin: 18px 0 0; font-size: 1.12em; font-weight: 600; line-height: 1.5; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.op-cue { margin-top: 34px; width: 30px; height: 48px; border: 3px solid #fff; border-radius: 16px; display: grid; justify-items: center; padding-top: 8px; }
.op-cue i { width: 5px; height: 10px; border-radius: 3px; background: var(--sun); animation: opCue 1.6s ease-in-out infinite; }
@keyframes opCue { 60% { transform: translateY(14px); opacity: 0; } 61% { transform: none; opacity: 0; } }

.op-car { left: clamp(16px, 4vw, 56px); bottom: clamp(70px, 10vh, 110px); display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 6px 6px 0 var(--vc); transform: translateX(-40px) rotate(-2deg); max-width: calc(100% - 32px); }
.op-car.is-on { transform: rotate(-2deg); }
.op-car-num { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--vc); color: #fff; font: 400 24px/1 var(--display); font-style: italic; box-shadow: 0 0 0 3px var(--ink); }
.op-car-text b { display: block; font: 400 clamp(20px, 2.2vw, 28px)/1.05 var(--display); font-style: italic; }
.op-car-text small { display: block; margin-top: 3px; font-weight: 700; font-size: 14px; opacity: .75; }

.op-card { right: clamp(16px, 4vw, 56px); top: 50%; width: min(400px, calc(100% - 32px)); padding: 26px 26px 24px; border-radius: 20px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 10px 10px 0 var(--c2), 0 20px 50px rgba(0, 0, 0, .4); transform: translate(60px, -50%) rotate(3deg); }
.op-card.is-on { transform: translate(0, -50%) rotate(1.5deg); }
.op-card.is-place { box-shadow: 10px 10px 0 var(--c1), 0 20px 50px rgba(0, 0, 0, .4); }
.op-tag { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--sun); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.op-card h3 { margin: 0 0 8px; font: 400 32px/1 var(--display); font-style: italic; }
.op-card p { margin: 0; font-size: 1.06em; line-height: 1.5; }

.op-bar { position: absolute; left: clamp(16px, 4vw, 56px); right: clamp(16px, 4vw, 56px); bottom: 28px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .18); }
.op-bar::after { content: ""; position: absolute; right: -4px; top: -8px; width: 24px; height: 24px; background: var(--check, var(--sun)); border-radius: 4px; box-shadow: 0 0 0 2px #fff; }
.op-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--c1), var(--sun)); }
.op-racer { position: absolute; bottom: -2px; left: calc(var(--p, 0) * 100%); height: 38px; width: auto; translate: -85% 0; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); pointer-events: none; }

/* Celular em pé: o vídeo fica inteiro em cima e os textos embaixo */
@media (max-aspect-ratio: 1/1) {
  .op-video { inset: 12svh 0 auto; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  .op-shade { background: linear-gradient(to bottom, #0d0a14 12svh, transparent calc(12svh + 30px), transparent calc(12svh + 66vw - 30px), #0d0a14 calc(12svh + 66vw)); }
  .op-car { top: calc(12svh + 66vw - 30px); bottom: auto; left: 16px; }
  .op-card { top: auto; bottom: 70px; right: 16px; transform: translateY(40px) rotate(2deg); padding: 20px; }
  .op-card.is-on { transform: rotate(1deg); }
  .op-card h3 { font-size: 26px; }
  .op-card p { font-size: .98em; }
  .op-intro, .op-outro { background: rgba(13, 10, 20, .55); }
}
/* Fichas de personagem: o recorte aparece num círculo, do peito para cima */
.op-car-num.has-img { overflow: hidden; width: 62px; height: 62px; }
.op-car-num.has-img img { width: 100%; height: 175%; object-fit: cover; object-position: 50% 0; transform: translateY(4px); }
.theme-stone .op-bar::after { border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .op-item, .op-item.is-on { transition: opacity .2s, visibility 0s; } .op-cue i { animation: none; } }

/* ==========================================================================
   TEMA "ALLEY" — Manda-Chuva (beco de Nova York à noite)
   ========================================================================== */
.theme-alley {
  --ink: #24183F; --ink-2: #33245A;
  --paper: #FBF3E4; --paper-2: #F1E2C8;
  --stone: #E9C9A0; --stone-d: #9C6B4E;
  --sun: #FFD84A;
  --display: "Lilita One", "Bowlby One", sans-serif;
}
.theme-alley ::selection { background: var(--c2); }
.theme-alley .hero { background: #1A1440; }
.theme-alley .hero::after {
  background: radial-gradient(ellipse 70% 55% at 50% 48%, rgba(26, 20, 64, .5), transparent 72%), linear-gradient(to bottom, rgba(26, 20, 64, .3), transparent 25%, transparent 70%, rgba(26, 20, 64, .4));
}
.theme-alley .hero-grain { opacity: .14; }
.theme-alley .hero-title {
  font-size: clamp(60px, 13vw, 214px); letter-spacing: .01em; color: var(--sun);
  text-shadow: .05em .05em 0 var(--c2), .1em .1em 0 var(--ink), 0 0 .6em rgba(255, 216, 74, .3);
}
.theme-alley .hl { transform: translateY(80px) scaleY(.2); transform-origin: 50% 100%; animation-name: popup; animation-duration: .8s; animation-timing-function: var(--bounce); }
@keyframes popup { to { transform: rotate(calc(var(--r) * .6)); opacity: 1; } }
.theme-alley .hero-kicker { background: rgba(26, 20, 64, .55); }
@media (max-width: 700px) { .theme-alley .hero-title { font-size: 12.5vw; } }

/* Cenário */
.moonglow { animation: sunpulse 5s ease-in-out infinite alternate; }
.flicker { animation: flicker 4s steps(1) infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: .55; } 49% { opacity: 1; } 51% { opacity: .6; } 53% { opacity: 1; } }
.laundry { animation: flap 2.6s ease-in-out infinite alternate; transform-origin: 800px 480px; }

/* Faixa: espinha de peixe no lugar do osso */
.fishbone { flex: none; width: 58px; height: 26px; margin: 0 6px; position: relative;
  background:
    linear-gradient(var(--paper), var(--paper)) 8px 11px / 38px 4px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 6px, var(--paper) 6px 9px) 12px 3px / 30px 20px no-repeat;
  animation: wave 1.6s ease-in-out infinite alternate; }
.fishbone::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 16px; border-radius: 50% 0 0 50%; background: var(--paper); }
.fishbone::after { content: ""; position: absolute; right: 0; top: 3px; border: 10px solid transparent; border-right: 12px solid var(--paper); }
.theme-alley .marquee { background: var(--c2); }

/* Personagens, lugares e curiosidades: tijolos e tampas */
.theme-alley .cast::before { opacity: .14;
  background: linear-gradient(var(--ink) 2px, transparent 2px) 0 0 / 80px 34px, linear-gradient(90deg, var(--ink) 2px, transparent 2px) 0 0 / 80px 68px, linear-gradient(90deg, var(--ink) 2px, transparent 2px) 40px 34px / 80px 68px; }
.theme-alley .card-art { border-radius: 28px 28px 10px 10px; }
.theme-alley .card:hover .card-art, .theme-alley .card:focus-visible .card-art { border-radius: 10px 10px 28px 28px; }
.theme-alley .modal-inner { border-radius: 30px 30px 14px 14px; }
.theme-alley .world::before { opacity: .12; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 4px, transparent 4px 60px); }
.theme-alley .place-icon .cut { fill: var(--paper); }
.theme-alley .facts::before { opacity: .1; mix-blend-mode: normal; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 46px); }
.theme-alley .tablet { border-radius: 26px; background: #fff; box-shadow: inset 0 14px 0 var(--c1), inset 0 0 0 4px var(--ink), 10px 12px 0 var(--ink); }
.theme-alley .q-mark { color: var(--c2); }
.theme-alley .tile { border-radius: 30px 30px 12px 12px; }
.theme-alley .stage { border-radius: 30px 30px 14px 14px; }
.theme-alley .op-bar::after { border-radius: 50%; }

/* Home */
.slide.theme-alley { background: #1A1440; }
.slide.theme-alley .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(26, 20, 64, .5), transparent 75%), linear-gradient(to bottom, rgba(26, 20, 64, .3), transparent 25%, transparent 60%, rgba(26, 20, 64, .6)); }
.slide.theme-alley .slide-title { font-family: "Lilita One", "Bowlby One", sans-serif; letter-spacing: .01em; text-shadow: .05em .05em 0 var(--c2), .1em .1em 0 #24183F; }
.show.theme-alley .show-bg { border-radius: 30px 30px 12px 12px; background: linear-gradient(160deg, #3B2D7A, #1A1440 75%); }
.show.theme-alley .show-title { font-family: "Lilita One", "Bowlby One", sans-serif; }

/* ============================================================ A LATA (o scroll tira e guarda o Manda-Chuva) */
.bin-show { position: relative; height: 320svh; background: #1A1440; color: #fff; }
.bin-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; display: grid; place-items: end center; }
.bin-sky { position: absolute; inset: 0; z-index: -3; background: linear-gradient(#1A1440, #3B2D7A 60%, #7A4E9E); }
.bin-moon { position: absolute; right: 12%; top: 12%; width: 110px; height: 110px; border-radius: 50%; background: #FFF0B0; box-shadow: 0 0 80px 30px rgba(255, 224, 122, .35); }
.bin-wall { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: -2;
  background:
    linear-gradient(transparent calc(100% - 70px), #3A2A55 calc(100% - 70px)),
    linear-gradient(#7A2A1E 3px, transparent 3px) 0 0 / 90px 36px,
    linear-gradient(90deg, #7A2A1E 3px, transparent 3px) 0 0 / 90px 72px,
    linear-gradient(90deg, #7A2A1E 3px, transparent 3px) 45px 36px / 90px 72px,
    #B2452F; }
.bin-label { position: absolute; top: calc(var(--nav-h) + 18px); left: 50%; translate: -50% 0; margin: 0; white-space: nowrap; }
.bin { --up: 0; --lid: 0; position: relative; width: min(300px, 62vw); margin-bottom: 40px; }
.bin-body { display: block; width: 100%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 14px 0 rgba(0, 0, 0, .25)); }
.bin-mouth { position: absolute; z-index: 1; left: 12%; right: 12%; bottom: calc(100% - 14px); height: min(380px, 52svh); overflow: hidden; }
.bin-cat { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; translate: -50% calc((1 - var(--up)) * 100%); rotate: calc((1 - var(--up)) * -6deg); }
.bin-lid { position: absolute; z-index: 3; left: -4%; width: 108%; bottom: calc(100% - 26px); height: auto;
  transform-origin: 6% 90%; transform: translate(calc(var(--lid) * -46%), calc(var(--lid) * -40px)) rotate(calc(var(--lid) * -38deg)); }
.bin-say { position: absolute; z-index: 4; left: 84%; bottom: calc(100% + min(230px, 30svh)); width: min(300px, 70vw); margin: 0; padding: 16px 20px; border-radius: 22px 22px 22px 4px;
  background: #fff; color: var(--ink); font-weight: 700; line-height: 1.4; box-shadow: 6px 6px 0 var(--c2);
  opacity: 0; transform: translateY(14px) scale(.9); transform-origin: 0 100%; transition: opacity .3s var(--ease), transform .4s var(--bounce); pointer-events: none; }
.bin-say.is-on { opacity: 1; transform: none; }
.bin-hint { position: absolute; bottom: 16px; right: 20px; margin: 0; font-size: 14px; font-weight: 700; opacity: .7; }
@media (max-width: 700px) {
  .bin-mouth { height: min(340px, 42svh); }
  .bin-moon { width: 70px; height: 70px; top: 18%; right: 8%; }
  .bin-say { left: 50%; translate: -50% 0; bottom: calc(100% + min(340px, 42svh) + 6px); border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .bin-say { transition: opacity .2s; } }

/* ==========================================================================
   TEMA "PARK" — Zé Colmeia (Parque Jellystone ao entardecer)
   ========================================================================== */
.theme-park {
  --ink: #2B1A10; --ink-2: #3D2718;
  --paper: #FBF4E2; --paper-2: #F0E3C2;
  --stone: #D9C49A; --stone-d: #8B6B3E;
  --sun: #FFD25E;
  --display: "Lilita One", "Bowlby One", sans-serif;
}
.theme-park ::selection { background: var(--c2); }
.theme-park .hero { background: #A9D5F1; }
.theme-park .hero::after {
  background: radial-gradient(ellipse 68% 52% at 50% 46%, rgba(43, 26, 16, .36), transparent 74%), linear-gradient(to bottom, rgba(24, 55, 52, .18), transparent 24%, transparent 68%, rgba(30, 66, 35, .34));
}
.theme-park .hero-grain { opacity: .07; }
.jelly-layer { overflow: hidden; }
.jelly-layer img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center bottom; }
.jelly-mountain img { transform: scaleY(1.15); transform-origin: 50% 16%; }
.jelly-forest img, .jelly-meadow img { width: 100%; margin-left: 0; }
.jelly-meadow img { transform: scaleY(1.24); transform-origin: 50% 100%; }
.jelly-sign-layer { pointer-events: none; }
.jelly-sign-layer .jelly-sign { position: absolute; right: 11%; bottom: 11%; scale: .86; transform-origin: right bottom; }

/* A mesma placa pintada aparece no hero e na fuga. */
.jelly-sign {
  position: relative; width: clamp(170px, 16vw, 250px); min-height: clamp(126px, 13vw, 190px);
  display: grid; align-content: center; justify-items: center; gap: 2px; padding: 22px 20px 30px;
  color: #382411; text-align: center; rotate: 2deg;
  background:
    linear-gradient(84deg, transparent 0 7%, rgba(91, 53, 22, .12) 7.5% 8.5%, transparent 9% 52%, rgba(91, 53, 22, .11) 52.5% 53.5%, transparent 54%),
    linear-gradient(#D5A75F, #B77C36);
  border: 5px solid #4B2E14; border-radius: 48% 42% 12% 10% / 14% 12% 10% 12%;
  box-shadow: inset 0 0 0 4px rgba(255, 226, 156, .35), 7px 10px 0 rgba(43, 26, 16, .22);
  text-shadow: 1px 1px 0 rgba(255, 231, 172, .5);
}
.jelly-sign::before, .jelly-sign::after { content: ""; position: absolute; top: calc(100% - 3px); width: 18px; height: 105px; z-index: -1; background: linear-gradient(90deg, #6A411F, #9B652F 48%, #573315); border: 4px solid #42270F; border-top: 0; }
.jelly-sign::before { left: 25px; rotate: -2deg; }
.jelly-sign::after { right: 25px; rotate: 2deg; }
.jelly-sign-cap { font: 700 clamp(13px, 1.2vw, 18px)/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.jelly-sign strong { font: 400 clamp(31px, 3.2vw, 50px)/.88 var(--display); letter-spacing: -.03em; }
.jelly-sign-rule { margin-top: 8px; padding-top: 7px; border-top: 3px solid rgba(75, 46, 20, .75); font: 900 clamp(10px, .9vw, 14px)/1.05 var(--body); letter-spacing: .035em; text-transform: uppercase; }
.theme-park .hero-title {
  font-size: clamp(58px, 10vw, 178px); letter-spacing: .01em; color: var(--sun);
  text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 var(--ink), 0 0 .6em rgba(255, 210, 94, .3);
}
.theme-park .hero-content { transform: translateY(-1vh); width: min(94vw, 1500px); }
.theme-park .hl { transform: translateY(-90px) rotate(-20deg); animation-name: dropin; animation-duration: .8s; animation-timing-function: var(--bounce); }
@keyframes dropin { to { transform: rotate(calc(var(--r) * .6)); opacity: 1; } }
.theme-park .hero-kicker { background: rgba(43, 26, 16, .5); }
@media (max-width: 700px) { .theme-park .hero-title { font-size: 12.5vw; } }
.ripples { animation: drift 6s ease-in-out infinite alternate; }

/* Faixa: pinheirinho no lugar do osso */
.pine { flex: none; width: 30px; height: 38px; margin: 0 8px; background: var(--paper); clip-path: polygon(50% 0, 78% 38%, 66% 38%, 92% 76%, 58% 76%, 58% 100%, 42% 100%, 42% 76%, 8% 76%, 34% 38%, 22% 38%); animation: wave 1.8s ease-in-out infinite alternate; }
.theme-park .marquee { background: var(--c2); }

/* Personagens, lugares e curiosidades */
.theme-park .cast::before { opacity: .1; background: radial-gradient(circle at 50% 50%, var(--ink) 0 3px, transparent 4px) 0 0 / 48px 48px; }
.theme-park .card-art { border-radius: 40px 40px 16px 16px; }
.theme-park .card:hover .card-art, .theme-park .card:focus-visible .card-art { border-radius: 16px 16px 40px 40px; }
.theme-park .modal-inner { border-radius: 34px 34px 16px 16px; }
.theme-park .world::before { opacity: .12; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .9) 0 12px, transparent 12px 24px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .9) 0 12px, transparent 12px 24px); }
.theme-park .place-icon .cut { fill: var(--paper); }
.theme-park .facts::before { opacity: .12; mix-blend-mode: normal;
  background: repeating-linear-gradient(90deg, #D9473B 0 30px, transparent 30px 60px), repeating-linear-gradient(0deg, #D9473B 0 30px, transparent 30px 60px); }
.theme-park .tablet { border-radius: 14px; background: #F6E2B8; box-shadow: inset 0 0 0 10px #8B5A2B, inset 0 0 0 14px var(--ink), 10px 12px 0 var(--ink); }
.theme-park .q-mark { color: var(--c1); }
.theme-park .tile { border-radius: 34px 34px 12px 12px; }
.theme-park .stage { border-radius: 34px 34px 14px 14px; }

/* Home */
.slide.theme-park { background: #E9967A; }
.slide.theme-park .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(43, 26, 16, .45), transparent 75%), linear-gradient(to bottom, rgba(43, 26, 16, .2), transparent 25%, transparent 60%, rgba(43, 26, 16, .55)); }
.slide.theme-park .slide-title { font-family: "Lilita One", "Bowlby One", sans-serif; letter-spacing: .01em; text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 #2B1A10; }
.show.theme-park .show-bg { border-radius: 34px 34px 12px 12px; background: linear-gradient(160deg, #E9967A, #3E7D5E 75%); }
.show.theme-park .show-title { font-family: "Lilita One", "Bowlby One", sans-serif; }

/* ============================================================ A FUGA (o scroll faz o Zé Colmeia correr) */
.run-show { position: relative; height: 340svh; background: #A9D5F1; }
.run-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; color: var(--ink); }
.run-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #A9D5F1; }
.run-layer { position: absolute; top: -5%; bottom: -5%; left: -16%; width: 132%; height: 110%; object-fit: cover; object-position: center bottom; max-width: none; will-change: transform; }
.run-mountain { transform: scaleY(1.15); transform-origin: 50% 16%; }
.run-meadow { left: -22%; width: 144%; scale: 1 1.24; transform-origin: 50% 100%; }
.run-river { position: absolute; left: -6%; right: -6%; bottom: -5%; height: 37%; overflow: hidden; background: linear-gradient(180deg, #86D3DD 0%, #54B7C9 42%, #3D9DB2 100%); border-top: 5px solid rgba(235, 253, 247, .75); }
.run-river::before, .run-river::after { content: ""; position: absolute; left: -20%; width: 150%; height: 50%; opacity: .75; background: repeating-linear-gradient(90deg, transparent 0 42px, rgba(235, 253, 247, .9) 42px 112px, transparent 112px 185px) 0 20% / 360px 5px repeat-x, repeating-linear-gradient(90deg, transparent 0 80px, rgba(199, 244, 239, .72) 80px 132px, transparent 132px 240px) 0 78% / 480px 4px repeat-x; animation: riverflow 8s linear infinite; }
.run-river::after { top: 42%; opacity: .5; scale: -1 1; animation-duration: 11s; }
@keyframes riverflow { to { transform: translateX(-360px); } }
.run-sign { position: absolute; right: 7%; bottom: calc(37% + 105px); }
.run-head { position: absolute; top: calc(var(--nav-h) + 20px); left: 0; right: 0; text-align: center; padding: 0 var(--gutter); }
.run-head .label { margin: 0 auto 10px; justify-content: center; }
.run-title { margin: 0; font: 400 clamp(46px, 6.2vw, 92px)/.9 var(--display); color: var(--sun); text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 var(--ink); }
.run-lead { margin: 10px auto 0; max-width: 460px; font-weight: 700; }
.run-track { position: absolute; left: 0; right: 0; bottom: 4svh; height: min(46svh, 420px); }
.run-yogi { position: absolute; bottom: 0; left: 0; height: 100%; aspect-ratio: 362 / 380; background-size: 500% 100%; background-repeat: no-repeat;
  translate: var(--x, -40vw) 0; scale: var(--dir, 1) 1; filter: drop-shadow(0 10px 0 rgba(43, 26, 16, .18)); }
/* Enxame de abelhas atrás do Zé */
.run-swarm { position: absolute; bottom: 30%; left: 0; width: min(260px, 40vw); height: 60%; translate: var(--rx, -80vw) 0; }
.run-swarm span { position: absolute; width: clamp(26px, 3vw, 40px);
  animation: buzz calc(.5s + var(--i) * .07s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.13s); }
.run-swarm span:nth-child(3n) { animation-name: buzz2; }
.run-swarm .bee { display: block; width: 100%; height: auto; }
.run-swarm .bee ellipse[fill="#fff"] { animation: wing .08s linear infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes buzz { from { transform: translate(-10px, 8px) rotate(-8deg); } to { transform: translate(12px, -10px) rotate(10deg); } }
@keyframes buzz2 { from { transform: translate(8px, -12px) rotate(6deg); } to { transform: translate(-14px, 10px) rotate(-12deg); } }
@keyframes wing { to { scale: 1 .4; } }
@media (prefers-reduced-motion: reduce) { .run-swarm span, .run-swarm .bee ellipse { animation: none; } }
@media (max-width: 700px) {
  .run-track { height: 34svh; }
  .theme-park .hero-content { transform: translateY(-3vh); }
  .jelly-sign-layer .jelly-sign { right: 6%; bottom: 12%; scale: .68; transform-origin: right bottom; }
  .run-river { height: 33%; }
  .run-sign { right: 3%; bottom: calc(33% + 82px); scale: .72; transform-origin: right bottom; }
}

/* ==========================================================================
   TEMA "HOUSE" — Tom e Jerry (a sala da casa, com a toca no rodapé)
   ========================================================================== */
.theme-house {
  --ink: #2A1A10; --ink-2: #3D2718;
  --paper: #FFF7E8; --paper-2: #F7E6C4;
  --stone: #E8C99A; --stone-d: #9C6B3E;
  --sun: #FFD84A;
  --display: "Lilita One", "Bowlby One", sans-serif;
}
.theme-house ::selection { background: var(--c2); }
.theme-house .hero { background: #F3D9A4; }
.theme-house .hero::after {
  background: radial-gradient(ellipse 70% 55% at 50% 46%, rgba(42, 26, 16, .4), transparent 72%), linear-gradient(to bottom, rgba(42, 26, 16, .18), transparent 25%, transparent 70%, rgba(42, 26, 16, .35));
}
.theme-house .hero-grain { opacity: .08; }
.theme-house .hero-title {
  font-size: clamp(60px, 13vw, 214px); letter-spacing: .01em; color: var(--sun);
  text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 var(--ink), 0 0 .6em rgba(255, 216, 74, .3);
}
.theme-house .hl { transform: translateX(-120px) rotate(-14deg); animation-name: dashin; animation-duration: .7s; animation-timing-function: var(--bounce); }
@keyframes dashin { to { transform: rotate(calc(var(--r) * .6)); opacity: 1; } }
.theme-house .hero-kicker { background: rgba(42, 26, 16, .5); }
@media (max-width: 700px) { .theme-house .hero-title { font-size: 12.5vw; } }

/* Tom e Jerry: abertura clássica reconstruída em camadas para parallax */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
/* A cena tem a proporção do letreiro original (500x376) e escala com a tela,
   então Tom, Jerry, os anéis e o logo ficam sempre na mesma posição relativa. */
.tj-scene { background: #870a09; overflow: hidden; container-type: size;
  --avail: calc(100cqh - var(--nav-h));
  --W: min(100cqw, calc(var(--avail) * 1.33));
  --H: calc(var(--W) * .752);
  --L: calc((100cqw - var(--W)) / 2);
  --T: calc(var(--nav-h) + (var(--avail) - var(--H)) / 2); }
.tj-scene .layer { inset: auto; width: auto; height: auto; }
.tj-scene .tj-rings {
  left: -8cqw; top: -8cqh; width: 116cqw !important; height: 116cqh !important;
  background: repeating-radial-gradient(circle at calc(8cqw + var(--L) + var(--W) * .40) calc(8cqh + var(--T) + var(--H) * .36),
    #F7A23A 0 calc(var(--W) * .045), #EE6A22 calc(var(--W) * .045) calc(var(--W) * .09), #D9341A calc(var(--W) * .09) calc(var(--W) * .135));
  filter: saturate(1.08);
}
.tj-rings::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at calc(8cqw + var(--L) + var(--W) * .40) calc(8cqh + var(--T) + var(--H) * .36), rgba(255, 196, 90, .35), transparent calc(var(--W) * .3)),
    radial-gradient(circle at calc(8cqw + var(--L) + var(--W) * .40) calc(8cqh + var(--T) + var(--H) * .36), transparent calc(var(--W) * .5), rgba(90, 0, 0, .45) calc(var(--W) * 1.1));
}
.tj-scene .tj-tom { z-index: 2; left: calc(var(--L) + var(--W) * .12); top: var(--T); right: auto; bottom: auto; width: calc(var(--W) * .554) !important; height: auto !important; max-width: none; object-fit: contain !important; filter: drop-shadow(10px 12px 3px rgba(42, 0, 0, .4)); }
.tj-scene .tj-jerry { z-index: 3; left: calc(var(--L) + var(--W) * .536); top: calc(var(--T) + var(--H) * .438); right: auto; bottom: auto; width: calc(var(--W) * .275) !important; height: auto !important; max-width: none; object-fit: contain !important; filter: drop-shadow(8px 10px 2px rgba(42, 0, 0, .45)); }
.tj-scene .tj-logo { z-index: 4; left: calc(var(--L) + var(--W) * .04); width: calc(var(--W) * .92) !important; top: auto; bottom: calc(100cqh - var(--T) - var(--H) * .93); }
.tj-logo-inner {
  display: flex; align-items: baseline; justify-content: center; gap: clamp(12px, 2vw, 34px);
  white-space: nowrap; color: #f7d978; text-transform: uppercase;
  filter: drop-shadow(0 .08em 0 #fff1bd) drop-shadow(.08em .15em 0 #67200d) drop-shadow(.12em .21em .05em rgba(35,0,0,.6));
}
.tj-logo-main { font: 400 calc(var(--W) * .165)/.8 var(--display); letter-spacing: -.03em; display: inline-block; transform: scaleY(1.3); transform-origin: 50% 100%; }
.tj-logo-and { font: italic 700 calc(var(--W) * .075)/1 Georgia, serif; text-transform: lowercase; transform: rotate(-8deg) translateY(-.35em); color: #D9341A; -webkit-text-stroke: .05em #f7d978; paint-order: stroke fill; }
.tj-content { position: absolute; z-index: 5; inset: var(--nav-h) 0 0; transform: none; pointer-events: none; }
.tj-content .hero-kicker { margin-top: 18px; background: rgba(56, 0, 0, .52); }
.tj-content .hero-tagline { position: absolute; left: 50%; bottom: 1.4%; transform: translateX(-50%); width: min(90vw, 1000px); margin: 0; font-size: clamp(14px, 1.35vw, 20px); opacity: .86; text-align: center; }
.theme-house:has(.tj-scene) .hero::after { background: radial-gradient(circle at 50% 45%, transparent 35%, rgba(43, 0, 0, .12) 70%, rgba(36, 0, 0, .48) 100%); }
.theme-house:has(.tj-scene) .hero-grain { opacity: .16; }
.theme-house:has(.tj-scene) .hero-scroll { display: none; }

@media (max-width: 700px) {
  .tj-scene { --W: min(112cqw, calc(var(--avail) * 1.33)); }
  .tj-content .hero-kicker { margin-top: 10px; font-size: 9px; }
  .tj-content .hero-tagline { bottom: 2%; width: 90vw; font-size: 12px; line-height: 1.2; }
}

/* Cenário: cortinas balançando e o Jerry piscando na toca */
.curtain { animation: flap 3.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
.peek { animation: peek 5s steps(1) infinite; }
@keyframes peek { 0%, 100% { opacity: 1; } 40% { opacity: 0; } 46% { opacity: 1; } 70% { opacity: 1; } 71% { opacity: .1; } 72% { opacity: 1; } }

/* Faixa: fatia de queijo no lugar do osso */
.cheese { flex: none; width: 46px; height: 32px; margin: 0 8px; clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 0);
  background: radial-gradient(circle at 30% 55%, var(--c1) 0 4px, transparent 5px), radial-gradient(circle at 70% 72%, var(--c1) 0 3px, transparent 4px), radial-gradient(circle at 78% 46%, var(--c1) 0 3px, transparent 4px), var(--paper);
  animation: wave 1.6s ease-in-out infinite alternate; }
.theme-house .marquee { background: var(--c2); }

/* Personagens, lugares e curiosidades: papel de parede e assoalho */
.theme-house .cast::before { opacity: .12; background: linear-gradient(90deg, var(--ink) 0 40px, transparent 40px 80px) 0 0 / 80px 100%; }
.theme-house .card-art { border-radius: 60px 60px 12px 12px; }
.theme-house .card:hover .card-art, .theme-house .card:focus-visible .card-art { border-radius: 12px 12px 60px 60px; }
.theme-house .modal-inner { border-radius: 40px 40px 14px 14px; }
.theme-house .world::before { opacity: .12; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .9) 0 4px, transparent 4px 44px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 3px, transparent 3px 220px); }
.theme-house .place-icon .cut { fill: var(--paper); }
.theme-house .facts::before { opacity: .12; mix-blend-mode: normal;
  background: radial-gradient(circle at 30% 40%, var(--c2) 0 10px, transparent 11px) 0 0 / 70px 70px, radial-gradient(circle at 70% 75%, var(--c2) 0 6px, transparent 7px) 0 0 / 70px 70px; }
.theme-house .tablet { border-radius: 22px; background: #FFE7A0; box-shadow: inset 0 0 0 10px #F2C200, inset 0 0 0 14px var(--ink), 10px 12px 0 var(--ink); }
.theme-house .q-mark { color: var(--c1); }
.theme-house .tile { border-radius: 40px 40px 12px 12px; }
.theme-house .stage { border-radius: 40px 40px 14px 14px; }
.theme-house .op-bar::after { border-radius: 50%; }

/* Home */
.slide.theme-house { background: #F3D9A4; }
.slide.theme-house .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(42, 26, 16, .45), transparent 75%), linear-gradient(to bottom, rgba(42, 26, 16, .2), transparent 25%, transparent 60%, rgba(42, 26, 16, .55)); }
.slide.theme-house .slide-title { font-family: "Lilita One", "Bowlby One", sans-serif; letter-spacing: .01em; text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 #2A1A10; }
.show.theme-house .show-bg { border-radius: 40px 40px 12px 12px; background: linear-gradient(160deg, #F3D9A4, #B8743E 80%); }
.show.theme-house .show-title { font-family: "Lilita One", "Bowlby One", sans-serif; }

/* ============================================================ 80 ANOS (Tom e Jerry: o scroll controla a perseguição) */
.chase-show { position: relative; height: calc(var(--sec) * 9svh + 100svh); background: #F3D9A4; color: var(--ink); }
.chase-show::before { content: ""; position: absolute; inset: 0; opacity: .5; background: linear-gradient(90deg, #EFCF92 0 40px, transparent 40px 80px) 0 0 / 80px 100%; pointer-events: none; }
.chase-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; gap: clamp(8px, 1.6svh, 18px); padding: calc(var(--nav-h) + 8px) var(--gutter) 18px; }
.chase-head { text-align: center; }
.chase-head .label { margin: 0 auto 4px; justify-content: center; }
.chase-year { margin: 0; font: 400 clamp(46px, 7vw, 104px)/.9 var(--display); color: var(--sun); text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 var(--ink); }
.chase-year-n { display: inline-block; }
.chase-year-n.pop { animation: yearpop .45s var(--bounce); }
@keyframes yearpop { from { transform: translateY(18px) scale(.7) rotate(-6deg); opacity: 0; } }
.chase-era { margin: 6px 0 0; display: grid; gap: 2px; }
.chase-era-t { font: 400 clamp(20px, 2.2vw, 30px)/1.1 var(--display); }
.chase-era-d { font-weight: 700; opacity: .8; }
.chase-screen { position: relative; align-self: center; height: 100%; max-height: min(56svh, 620px); aspect-ratio: 16 / 9; max-width: 100%; min-height: 0;
  border-radius: 26px; overflow: hidden; background: #111; border: 8px solid #7A4A26; box-shadow: 0 0 0 4px var(--ink), 12px 14px 0 var(--ink); }
.chase-video { width: 100%; height: 100%; object-fit: contain; display: block; background: #111; }
.chase-line { --p: 0; position: relative; width: min(1100px, 100%); height: 34px; margin: 14px 0 0; padding: 0; list-style: none; }
.chase-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 8px; translate: 0 -50%; border-radius: 4px; background: rgba(42, 26, 16, .18); }
.chase-fill { position: absolute; left: 0; top: 50%; height: 8px; translate: 0 -50%; width: calc(var(--p) * 100%); border-radius: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.chase-line li { position: absolute; left: calc(var(--at) * 100%); top: 50%; translate: -50% -50%; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); z-index: 1; transition: background .3s, scale .3s var(--bounce); }
.chase-line li span { position: absolute; left: 50%; top: 18px; translate: -50% 0; font-size: 12px; font-weight: 800; white-space: nowrap; opacity: .6; }
.chase-line li.is-on { background: var(--c2); scale: 1.4; }
.chase-line li.is-on span { opacity: 1; }
/* o rato vai na frente e o gato atrás, em cima da linha */
.chase-mouse, .chase-cat { position: absolute; top: 50%; z-index: 2; translate: -50% -90%; pointer-events: none; }
.chase-mouse { left: calc(var(--p) * 100%); width: 26px; height: 16px; border-radius: 60% 50% 40% 40%; background: #C47A3A; box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .15); }
.chase-mouse::before { content: ""; position: absolute; left: 8px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: #E9A06A; border: 2px solid #C47A3A; }
.chase-mouse::after { content: ""; position: absolute; right: 100%; top: 9px; width: 14px; height: 3px; border-radius: 2px; background: #C47A3A; rotate: -14deg; transform-origin: 100% 50%; }
.chase-cat { left: calc(var(--p) * 100% - 46px); width: 36px; height: 24px; border-radius: 50% 50% 40% 40%; background: #5B7FA3; box-shadow: inset -4px -4px 0 rgba(0, 0, 0, .15); }
.chase-cat::before { content: ""; position: absolute; right: 2px; top: -10px; width: 22px; height: 14px; background: #5B7FA3; clip-path: polygon(0 100%, 12% 0, 38% 60%, 62% 60%, 88% 0, 100% 100%); }
.chase-cat::after { content: ""; position: absolute; right: 100%; top: 4px; width: 16px; height: 4px; border-radius: 2px; background: #5B7FA3; rotate: 30deg; transform-origin: 100% 50%; }
/* rolando para cima o vídeo anda de trás para frente: os dois viram, e quem foge é o Tom */
.chase-show.is-back .chase-mouse, .chase-show.is-back .chase-cat { scale: -1 1; }
.chase-hint { margin: 10px 0 0; font-size: 14px; font-weight: 700; opacity: .7; text-align: center; }
@media (max-width: 700px) {
  .chase-screen { height: auto; width: 100%; max-height: none; border-width: 5px; border-radius: 18px; }
  .chase-line li span { display: none; }
  .chase-line li.is-on span { display: block; }
}


/* ==========================================================================
   TEMA "MANOR" — A Família Addams (a mansão no alto do morro, à noite)
   ========================================================================== */
.theme-manor {
  --ink: #1A1430; --ink-2: #2A2045;
  --paper: #F4F0E6; --paper-2: #E6DFCF;
  --stone: #CFC4E0; --stone-d: #6E6390;
  --sun: #E9F07A;
  --display: "Lilita One", "Bowlby One", sans-serif;
}
.theme-manor ::selection { background: var(--c2); }
.theme-manor .hero { background: #140F24; }
.theme-manor .hero::after {
  background: radial-gradient(ellipse 70% 55% at 50% 46%, rgba(20, 15, 36, .55), transparent 72%), linear-gradient(to bottom, rgba(20, 15, 36, .3), transparent 25%, transparent 70%, rgba(20, 15, 36, .45));
}
.theme-manor .hero-grain { opacity: .16; }
.theme-manor .hero-title {
  font-size: clamp(56px, 11vw, 190px); letter-spacing: .01em; color: var(--sun);
  text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 #000, 0 0 .7em rgba(233, 240, 122, .35);
}
.theme-manor .hl { transform: translateY(-60px) rotate(12deg); opacity: 0; animation-name: creak; animation-duration: 1s; animation-timing-function: var(--bounce); }
@keyframes creak { to { transform: rotate(calc(var(--r) * .6)); opacity: 1; } }
.theme-manor .hero-kicker { background: rgba(20, 15, 36, .6); }
@media (max-width: 700px) { .theme-manor .hero-title { font-size: 11.5vw; } }

/* Cenário: morcegos batendo asa */
.bats path { animation: batflap .5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 50%; }
.bats path:nth-child(2) { animation-delay: -.2s; } .bats path:nth-child(3) { animation-delay: -.35s; }
@keyframes batflap { to { transform: scaleY(.55) translateY(-6px); } }

/* Faixa: morcego no lugar do osso */
.bat { flex: none; width: 54px; height: 26px; margin: 0 8px; background: var(--paper);
  clip-path: polygon(50% 30%, 56% 10%, 60% 28%, 74% 6%, 100% 20%, 86% 40%, 80% 70%, 66% 56%, 50% 90%, 34% 56%, 20% 70%, 14% 40%, 0 20%, 26% 6%, 40% 28%, 44% 10%);
  animation: wave 1s ease-in-out infinite alternate; }
.theme-manor .marquee { background: var(--c2); }

/* Personagens, lugares e curiosidades */
.theme-manor .cast::before { opacity: .12; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 56px), repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 56px); }
.theme-manor .card-art { border-radius: 120px 120px 12px 12px; }
.theme-manor .card:hover .card-art, .theme-manor .card:focus-visible .card-art { border-radius: 60px 60px 12px 12px; }
.theme-manor .modal-inner { border-radius: 60px 60px 14px 14px; }
.theme-manor .world::before { opacity: .12; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 6px, transparent 6px 60px); }
.theme-manor .place-icon .cut { fill: var(--paper); }
.theme-manor .facts::before { opacity: .1; mix-blend-mode: normal; background: radial-gradient(circle at 50% 50%, var(--ink) 0 3px, transparent 4px) 0 0 / 36px 36px; }
.theme-manor .tablet { border-radius: 90px 90px 14px 14px; background: #CFC4E0; box-shadow: inset 0 0 0 10px #6E6390, inset 0 0 0 14px var(--ink), 10px 12px 0 var(--ink); }
.theme-manor .q-mark { color: var(--c1); }
.theme-manor .tile { border-radius: 60px 60px 12px 12px; }
.theme-manor .stage { border-radius: 40px 40px 14px 14px; }

/* Home */
.slide.theme-manor { background: #140F24; }
.slide.theme-manor .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(20, 15, 36, .55), transparent 75%), linear-gradient(to bottom, rgba(20, 15, 36, .3), transparent 25%, transparent 60%, rgba(20, 15, 36, .6)); }
.slide.theme-manor .slide-title { font-family: "Lilita One", "Bowlby One", sans-serif; letter-spacing: .01em; text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 #000; }
.show.theme-manor .show-bg { border-radius: 60px 60px 12px 12px; background: linear-gradient(160deg, #4F3F6E, #140F24 75%); }
.show.theme-manor .show-title { font-family: "Lilita One", "Bowlby One", sans-serif; }

/* ============================================================ 1973 x 1992 (as duas versões lado a lado) */
.versus { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); background: #1F1838; color: var(--paper); overflow: hidden; }
.versus::before { content: ""; position: absolute; inset: 0; opacity: .08; background: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 22px); pointer-events: none; }
.versus-head { position: relative; text-align: center; max-width: 760px; margin: 0 auto clamp(30px, 4vw, 54px); }
.versus-head .label { margin: 0 auto 12px; justify-content: center; }
.versus-title { margin: 0; font: 400 clamp(40px, 6vw, 86px)/.95 var(--display); color: var(--sun); text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 #000; }
.versus-lead { margin: 14px auto 0; font-weight: 600; opacity: .85; }
.versus-grid { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 clamp(14px, 2vw, 28px); max-width: 1100px; margin: 0 auto; }
.versus-col-h { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 22px 16px; border-radius: 60px 60px 12px 12px; background: var(--c1); color: #fff; box-shadow: 0 0 0 4px #000, 8px 10px 0 #000; margin-bottom: 18px; }
.versus-col-h.is-92 { background: var(--c2); color: var(--ink); }
.versus-col-h b { font: 400 clamp(38px, 5vw, 64px)/1 var(--display); }
.versus-col-h span { font-weight: 700; font-size: 14px; }
.versus-vs { align-self: start; margin-top: 34px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); color: var(--ink); font: 400 26px/1 var(--display); box-shadow: 0 0 0 4px #000; }
.versus-row { display: contents; }
.versus-row > div { padding: 16px 18px; margin-bottom: 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); line-height: 1.5; }
.versus-row > em { align-self: center; margin-bottom: 12px; font-style: normal; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--sun); max-width: 110px; }
@media (max-width: 760px) {
  .versus-grid { grid-template-columns: 1fr 1fr; }
  .versus-vs { display: none; }
  .versus-row > em { grid-column: 1 / -1; max-width: none; margin: 10px 0 6px; }
}


/* A Família Addams: tudo escuro, e de vez em quando um relâmpago faz a página inteira piscar */
.theme-manor {
  --ink: #EDE6FF; --ink-2: #CFC4E0;
  --paper: #1A1430; --paper-2: #130E24;
  --stone: #3A3058; --stone-d: #8E80B8;
}
body.theme-manor { background: #0E0A1A; color: var(--ink); }
.theme-manor .card-art, .theme-manor .place, .theme-manor .tablet, .theme-manor .modal-inner { color: var(--ink); }
.theme-manor .tablet { background: #2A2045; }
.thunder { position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0; background: #F4F0FF; mix-blend-mode: screen; }
.thunder.is-flash { animation: thunder 1.1s ease-out; }
@keyframes thunder { 0% { opacity: 0; } 3% { opacity: .75; } 7% { opacity: .08; } 11% { opacity: .6; } 18% { opacity: .15; } 40%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .thunder { display: none; } }
.theme-manor .cast, .theme-manor .more { background: #0E0A1A; }
.theme-manor .world { background: #241A3E; }
.theme-manor .facts { background: #1A1430; }
.theme-manor .versus { color: #EDE6FF; }
.theme-manor .versus-col-h.is-92 { color: #1A1430; }
.theme-manor .versus-vs { color: #1A1430; }


/* A Família Addams: cards da abertura no escuro e a sessão de episódios */
.theme-manor .op-card, .theme-manor .op-car { background: rgba(26, 20, 48, .96); color: #EDE6FF; }
.theme-manor .op-tag { background: #0E0A1A; }
.theme-manor .op-car-num { box-shadow: 0 0 0 3px #0E0A1A; }
.eps { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); background: #120D22; color: #EDE6FF; }
.eps-head { text-align: center; max-width: 760px; margin: 0 auto clamp(30px, 4vw, 54px); }
.eps-head .label { margin: 0 auto 12px; justify-content: center; }
.eps-title { margin: 0; font: 400 clamp(40px, 6vw, 86px)/.95 var(--display); color: var(--sun); text-shadow: .05em .05em 0 var(--c1), .1em .1em 0 #000; }
.eps-lead { margin: 14px auto 0; font-weight: 600; opacity: .85; }
.eps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 2.4vw, 32px); max-width: 1240px; margin: 0 auto; }
.ep { display: flex; flex-direction: column; overflow: hidden; border-radius: 40px 40px 14px 14px; background: #1F1838; box-shadow: 0 0 0 4px #000, 10px 12px 0 var(--c1); }
.ep-video { display: block; width: 100%; aspect-ratio: 4 / 3; background: #000; object-fit: contain; }
.ep-info { padding: 20px 22px 24px; }
.ep-n { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #0E0A1A; color: var(--sun); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ep h3 { margin: 12px 0 2px; font: 400 clamp(24px, 2.2vw, 30px)/1.05 var(--display); }
.ep-orig { margin: 0 0 10px; font-size: 13px; font-style: italic; opacity: .6; }
.ep p:last-child { margin: 0; line-height: 1.5; }


/* ==========================================================================
   TEMA "POP" — Os Impossíveis (história em quadrinhos, banda de rock e super-heróis)
   ========================================================================== */
.theme-pop {
  --ink: #111; --ink-2: #2A2A2A;
  --paper: #FFF8E6; --paper-2: #FFE9B8;
  --stone: #FFD23F; --stone-d: #B8860B;
  --sun: #FFD23F;
}
.theme-pop ::selection { background: var(--c2); }
.theme-pop .hero { background: #F1A11A; }
.theme-pop .hero::after { background: radial-gradient(ellipse 70% 55% at 50% 46%, rgba(17, 17, 17, .35), transparent 72%); }
.theme-pop .hero-title {
  font-family: "Bowlby One", sans-serif; font-size: clamp(54px, 10vw, 170px); letter-spacing: .01em; color: var(--sun);
  -webkit-text-stroke: .025em #111; text-shadow: .06em .06em 0 #111; transform: rotate(-3deg);
}
.theme-pop .hl { transform: scale(0) rotate(-20deg); animation-name: popIn; animation-duration: .7s; animation-timing-function: var(--bounce); }
@keyframes popIn { to { transform: none; opacity: 1; } }
.theme-pop .hero-kicker { background: #111; color: var(--sun); }
.theme-pop .scene > svg:nth-of-type(-n+2) { display: none; }
.pop-city-painted { inset: -7%; width: 114%; height: 114%; object-fit: cover; object-position: center bottom; scale: 1; filter: saturate(.96) contrast(1.02); }
.pop-logo-content { z-index: 4; width: min(94vw, 1450px); transform: translateY(-2vh); }
.pop-title-logo { display: block; width: min(92vw, 1250px); max-height: 46vh; margin: clamp(16px, 2.5vh, 30px) auto 8px; object-fit: contain; filter: drop-shadow(10px 12px 0 rgba(17, 17, 17, .32)); }
.pop-logo-content .hero-tagline { width: min(88vw, 820px); margin-inline: auto; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; text-shadow: 0 3px 8px rgba(55, 20, 4, .6); }
@media (max-width: 700px) {
  .pop-city-painted { inset: -15%; width: 130%; height: 130%; object-position: 50% bottom; }
  .pop-logo-content { transform: translateY(-7vh); }
  .pop-title-logo { width: 88vw; max-width: 88vw; margin: 16px auto 8px; max-height: 34vh; filter: drop-shadow(5px 7px 0 rgba(17, 17, 17, .3)); }
  .pop-logo-content .hero-tagline { width: 88vw; font-size: 15px; }
}

/* a cidade pintada cobre o hero inteiro (sem o limite de 100% das imagens), com folga para o parallax */
.theme-pop .scene .pop-city-painted { inset: auto; top: -4%; left: -4%; width: 108%; height: 106%; max-width: none; }
@media (max-width: 700px) { .theme-pop .scene .pop-city-painted { left: -6%; width: 112%; height: 106%; object-position: 50% bottom; } }
.pop-rays { transform-origin: 800px 430px; animation: popSpin 60s linear infinite; }
@keyframes popSpin { to { transform: rotate(360deg); } }
.pop-notes > g { animation: popNote 3s ease-in-out infinite alternate; } .pop-notes > g:nth-child(2) { animation-delay: -1s; } .pop-notes > g:nth-child(3) { animation-delay: -2s; }
@keyframes popNote { to { translate: 0 -18px; } }
.pop-burst { animation: popBurst 1.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes popBurst { to { scale: 1.08; } }
@media (prefers-reduced-motion: reduce) { .pop-rays, .pop-notes > g, .pop-burst { animation: none; } }

/* Faixa: nota musical */
.note { flex: none; width: 30px; height: 38px; margin: 0 10px; background: var(--paper);
  clip-path: polygon(62% 0, 100% 12%, 100% 30%, 72% 20%, 72% 78%, 60% 94%, 36% 100%, 14% 94%, 6% 80%, 16% 66%, 38% 62%, 58% 66%, 58% 0);
  animation: wave 1s ease-in-out infinite alternate; }
.theme-pop .marquee { background: #111; color: var(--sun); }
.theme-pop .marquee .note { background: var(--sun); }

/* Personagens, lugares e curiosidades com cara de gibi */
.theme-pop .cast::before { opacity: .12; background: radial-gradient(circle, #E8322B 3px, transparent 3.5px) 0 0 / 18px 18px; }
.theme-pop .card-art { border-radius: 10px; box-shadow: 0 0 0 4px #111, 8px 8px 0 #111; }
.theme-pop .card:hover .card-art, .theme-pop .card:focus-visible .card-art { border-radius: 10px; transform: rotate(-2deg); }
.theme-pop .modal-inner { border-radius: 14px; box-shadow: 0 0 0 5px #111, 12px 12px 0 #111; }
.theme-pop .world::before { opacity: .14; background: radial-gradient(circle, #fff 3px, transparent 3.5px) 0 0 / 20px 20px; }
.theme-pop .place-icon .cut { fill: var(--paper); }
.theme-pop .facts::before { opacity: .12; mix-blend-mode: normal; background: radial-gradient(circle, #111 3px, transparent 3.5px) 0 0 / 22px 22px; }
.theme-pop .tablet { border-radius: 14px; background: #fff; box-shadow: 0 0 0 5px #111, 10px 12px 0 #E8322B; }
.theme-pop .q-mark { color: var(--c1); }
.theme-pop .tile { border-radius: 14px; }
.theme-pop .stage { border-radius: 14px; }

/* Home */
.slide.theme-pop { background: #E8322B; }
.slide.theme-pop .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(17, 17, 17, .35), transparent 75%), linear-gradient(to bottom, transparent 60%, rgba(17, 17, 17, .5)); }
.slide.theme-pop .slide-title { font-family: "Bowlby One", sans-serif; color: #FFD23F; -webkit-text-stroke: .025em #111; text-shadow: .06em .06em 0 #111; }
.slide.theme-pop .pop-slide-logo { display: block; width: min(70vw, 980px); max-height: 34vh; margin: 18px auto 4px; object-fit: contain; filter: drop-shadow(8px 10px 0 rgba(17, 17, 17, .3)); }
.slide.theme-pop .slide-content { width: min(94vw, 1250px); }
@media (max-width: 700px) {
  .slide.theme-pop .pop-slide-logo { width: 94vw; max-width: 94vw; margin: 14px auto 4px; max-height: 28vh; filter: drop-shadow(4px 6px 0 rgba(17, 17, 17, .28)); }
  .slide.theme-pop .slide-tag { width: 86vw; margin-inline: auto; }
}
.show.theme-pop .show-bg { border-radius: 14px; background: linear-gradient(160deg, #F25A3A, #E8322B 75%); }
.show.theme-pop .show-title { font-family: "Bowlby One", sans-serif; }

/* ============================================================ RALLY HO! (antes e depois) */
.rally { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); background: #FFD23F; color: #111; overflow: hidden; }
.rally::before { content: ""; position: absolute; inset: 0; opacity: .18; background: radial-gradient(circle, #E8322B 3px, transparent 3.5px) 0 0 / 20px 20px; pointer-events: none; }
.rally-head { position: relative; text-align: center; max-width: 780px; margin: 0 auto clamp(26px, 4vw, 50px); }
.rally-head .label { margin: 0 auto 12px; justify-content: center; color: #111; }
.rally-title { margin: 0; font: 400 clamp(36px, 5.6vw, 80px)/.95 "Bowlby One", sans-serif; color: #fff; -webkit-text-stroke: .03em #111; text-shadow: .07em .07em 0 #111; transform: rotate(-2deg); }
.rally-lead { margin: 18px auto 0; font-weight: 700; font-size: 1.08em; }
.rally-stage { position: relative; max-width: 1150px; margin: 0 auto; padding: clamp(24px, 3vw, 40px) clamp(14px, 3vw, 40px) 100px; border-radius: 18px; background: #E8322B; box-shadow: 0 0 0 5px #111, 14px 14px 0 #111; }
.rally-stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-conic-gradient(from 0deg at 50% 100%, rgba(255, 255, 255, .1) 0 8deg, transparent 8deg 16deg); pointer-events: none; }
.rally-trio { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 28px); align-items: end; }
.rh { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 10px; text-align: center; color: #fff; }
.rh:focus-visible { outline: 4px solid #FFD23F; outline-offset: 6px; border-radius: 12px; }
.rh-fig { position: relative; display: grid; place-items: end center; width: 100%; height: clamp(220px, 32vw, 400px); }
.rh-fig img { grid-area: 1 / 1; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(6px 6px 0 rgba(17, 17, 17, .55)); transition: opacity .2s; }
.rh-hero { opacity: 0; transform: scale(.3) rotate(-25deg); }
.rh-civil { transform-origin: 50% 100%; }
.rh-zap { position: absolute; left: 50%; top: 45%; width: 0; height: 0; pointer-events: none; }
.rh-zap::before { content: ""; position: absolute; left: -110px; top: -110px; width: 220px; height: 220px; background: #FFD23F;
  clip-path: polygon(50% 0, 60% 34%, 96% 18%, 70% 48%, 100% 70%, 62% 66%, 56% 100%, 44% 66%, 6% 82%, 32% 52%, 0 26%, 40% 34%); transform: scale(0); opacity: 0; }
.rh.is-on .rh-civil { animation: rhOut .45s var(--ease) forwards; }
.rh.is-on .rh-hero { animation: rhIn .7s .2s var(--bounce) forwards; }
.rh.is-on .rh-zap::before { animation: rhZap .7s ease-out; }
.rh.is-off .rh-hero { animation: rhOut .4s var(--ease) forwards; }
.rh.is-off .rh-civil { animation: rhIn .6s .15s var(--bounce) both; }
@keyframes rhOut { 0% { opacity: 1; transform: none; } 40% { transform: scaleX(.2) scaleY(1.15); } 100% { opacity: 0; transform: scaleX(0) scaleY(1.2) rotate(15deg); } }
@keyframes rhIn { 0% { opacity: 0; transform: scale(.3) rotate(-25deg); } 100% { opacity: 1; transform: none; } }
@keyframes rhZap { 0% { transform: scale(0) rotate(0); opacity: 1; } 60% { transform: scale(1.3) rotate(25deg); opacity: 1; } 100% { transform: scale(1.6) rotate(40deg); opacity: 0; } }
.rh-name { position: relative; display: grid; }
.rh-name b { grid-area: 1 / 1; padding: 6px 16px; border-radius: 999px; font: 400 clamp(18px, 2vw, 26px)/1 "Bowlby One", sans-serif; background: #111; color: #fff; transition: opacity .3s, transform .4s var(--bounce); }
.rh-n-hero { background: var(--rc) !important; box-shadow: 0 0 0 3px #111; opacity: 0; transform: scale(.5); }
.rh.is-on .rh-n-civil { opacity: 0; transform: scale(.5); }
.rh.is-on .rh-n-hero { opacity: 1; transform: none; }
.rh-power { max-width: 28ch; font-weight: 700; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .4s .5s, transform .4s .5s; }
.rh.is-on .rh-power { opacity: 1; transform: none; }
.rally-go { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; left: 50%; bottom: -46px; translate: -50% 0; display: grid; place-items: center; width: 210px; height: 120px; background: #FFD23F;
  clip-path: polygon(50% 0, 60% 22%, 84% 6%, 78% 32%, 100% 40%, 80% 56%, 96% 82%, 68% 74%, 56% 100%, 44% 76%, 18% 92%, 24% 64%, 0 52%, 22% 38%, 12% 10%, 38% 22%);
  filter: drop-shadow(0 0 0 #111); transition: transform .3s var(--bounce); animation: popBurst 1s ease-in-out infinite alternate; }
.rally-go::before { content: ""; position: absolute; inset: 6px; background: #fff; clip-path: inherit; z-index: -1; }
.rally-go span { font: 400 22px/1 "Bowlby One", sans-serif; color: #E8322B; -webkit-text-stroke: 1px #111; text-shadow: 2px 2px 0 #111; transform: rotate(-6deg); }
.rally-go:hover { transform: scale(1.1) rotate(-3deg); }
.rally-go:focus-visible { outline: 4px solid #111; }
.rally-go.is-back span { font-size: 15px; color: #111; text-shadow: none; -webkit-text-stroke: 0; }
.rally-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.rally-flash.is-on { animation: rallyFlash .5s ease-out; }
@keyframes rallyFlash { 0% { opacity: 0; } 15% { opacity: .85; } 100% { opacity: 0; } }
@media (max-width: 700px) {
  .rally-trio { grid-template-columns: 1fr; gap: 34px; }
  .rh-fig { height: 260px; }
  .rally-stage { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .rh.is-on .rh-civil, .rh.is-on .rh-hero, .rh.is-off .rh-civil, .rh.is-off .rh-hero, .rally-go { animation-duration: .01s; } }

/* ============================================================ A ESTRELA (vinheta da Hanna-Barbera no scroll da home) */
.star { position: relative; height: calc(var(--len, 4.7) * 36svh + 100svh); background: #040A01; color: #fff; }
.star-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.star-video { width: min(92vw, 92svh, 900px); aspect-ratio: 1; background: #040A01; }
.star-item { position: absolute; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), transform .6s var(--bounce), visibility 0s .5s; }
.star-item.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), transform .6s var(--bounce), visibility 0s; }
.star-intro { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; transform: scale(.96); }
.star-intro.is-on { transform: none; }
.star-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #F2C94C; }
.star-title { margin: 0; font: 400 clamp(38px, 6.5vw, 96px)/.95 var(--display); background: linear-gradient(90deg, #E8584A, #F2C94C, #6BC4A6, #6A7BE0, #C46BD8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.star-cue { margin-top: 30px; width: 28px; height: 46px; border: 3px solid #fff; border-radius: 16px; display: grid; justify-items: center; padding-top: 8px; }
.star-cue i { width: 5px; height: 10px; border-radius: 3px; background: #F2C94C; animation: opCue 1.6s ease-in-out infinite; }
.star-card { top: 50%; width: min(340px, calc(100% - 32px)); padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.star-card.is-left { left: clamp(16px, 6vw, 110px); transform: translate(-40px, -50%); }
.star-card.is-right { right: clamp(16px, 6vw, 110px); transform: translate(40px, -50%); }
.star-card.is-on { transform: translate(0, -50%); }
.star-card b { display: block; margin-bottom: 8px; font: 400 clamp(26px, 2.6vw, 36px)/1 var(--display); color: #F2C94C; }
.star-card p { margin: 0; line-height: 1.5; opacity: .9; }
.star-outro { left: 50%; bottom: 12svh; transform: translate(-50%, 20px); }
.star-outro.is-on { transform: translate(-50%, 0); }
.star-go { display: inline-block; padding: 12px 24px; border-radius: 999px; background: #F2C94C; color: #040A01; font-weight: 800; text-decoration: none; }
.star-go:hover { background: #fff; }
.star-bar { position: absolute; left: 50%; bottom: 28px; width: min(320px, 60vw); height: 4px; translate: -50% 0; border-radius: 9px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.star-bar span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #E8584A, #F2C94C, #6BC4A6, #6A7BE0, #C46BD8); }
@media (max-width: 760px) {
  .star-card { top: auto; bottom: 14svh; left: 16px !important; right: 16px !important; width: auto; transform: translateY(30px) !important; }
  .star-card.is-on { transform: none !important; }
}

/* Os Impossíveis: seção dos lugares em vermelho (o título amarelo sumia no fundo amarelo) e título menor */
.theme-pop .world { background: #E8322B; }
.theme-pop .world-sticky { container-type: inline-size; }
.theme-pop .world-title { font-size: clamp(30px, 9.6cqi, 84px); line-height: .95; overflow-wrap: normal; }
.theme-pop .world-sub { color: #fff; opacity: 1; }


/* ============================================================ CANAL JETSONS (temporada inteira numa TV Googie) */
.jtv { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); color: #EAF7F4; overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(31, 181, 185, .22), transparent 40%), radial-gradient(circle at 85% 70%, rgba(242, 84, 91, .18), transparent 45%), #0F1E3D; }
.jtv::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #fff, transparent), radial-gradient(1.5px 1.5px at 200px 150px, #FFD25E, transparent);
  background-size: 260px 220px; }
.jtv > * { position: relative; }
.jtv-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 50px); }
.jtv-head .label { margin: 0 auto 12px; justify-content: center; }
.jtv-title { margin: 0; font: 400 clamp(46px, 7vw, 104px)/.95 var(--display); color: var(--sun); text-shadow: 0 .04em 0 var(--c1), 0 .08em 0 #081329, 0 0 .5em rgba(255, 210, 94, .3); }
.jtv-lead { margin: 14px auto 0; font-weight: 600; opacity: .85; }

.jtv-set { max-width: 1080px; margin: 0 auto; }
.jtv-antenna { position: relative; height: 70px; width: 200px; margin: 0 auto -6px; }
.jtv-antenna i { position: absolute; bottom: 0; left: 50%; width: 5px; height: 84px; background: #BFE6DE; border-radius: 3px; transform-origin: bottom center; }
.jtv-antenna i::after { content: ""; position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; translate: -50% 0; border-radius: 50%; background: var(--c1); box-shadow: 0 0 14px var(--c1); animation: jtvBlink 1.8s ease-in-out infinite; }
.jtv-antenna i:first-child { transform: rotate(-34deg); }
.jtv-antenna i:last-child { transform: rotate(30deg); }
.jtv-antenna i:last-child::after { background: var(--c2); box-shadow: 0 0 14px var(--c2); animation-delay: -.9s; }
@keyframes jtvBlink { 50% { opacity: .35; } }
.jtv-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(14px, 2vw, 26px); padding: clamp(14px, 2vw, 26px);
  border-radius: 46px 46px 70px 70px / 40px 40px 90px 90px; background: linear-gradient(160deg, #1FB5B9, #138A8E); box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .18), inset 0 6px 0 rgba(255, 255, 255, .25), 0 26px 0 -10px #081329, 0 30px 60px rgba(0, 0, 0, .45); }
.jtv-screen { position: relative; border-radius: 34px / 30px; overflow: hidden; background: #000; box-shadow: 0 0 0 8px #0F1E3D, inset 0 0 40px rgba(0, 0, 0, .8); aspect-ratio: 4 / 3; }
.jtv-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.jtv-static { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: repeating-radial-gradient(circle at 30% 40%, #fff 0 1px, #444 1px 2px, #111 2px 3px); mix-blend-mode: screen; }
.jtv.is-switching .jtv-static { animation: jtvStatic .45s steps(6) both; }
@keyframes jtvStatic { 0% { opacity: .9; background-position: 0 0; } 50% { opacity: .7; background-position: 13px 7px; } 100% { opacity: 0; background-position: -9px 4px; } }
.jtv-panel { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 28px; background: #F1F5EE; color: #0F1E3D; }
.jtv-ch { display: flex; align-items: baseline; gap: 10px; padding: 8px 16px; border-radius: 16px; background: #0F1E3D; color: #7CFFB2; font-family: ui-monospace, Consolas, monospace; }
.jtv-ch small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.jtv-ch b { font-size: 40px; line-height: 1; text-shadow: 0 0 10px rgba(124, 255, 178, .6); }
.jtv-now { flex: 1; }
.jtv-date { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--c1); }
.jtv-name { margin: 6px 0 2px; font: 400 clamp(24px, 2.3vw, 30px)/1.05 var(--display); }
.jtv-orig { margin: 0 0 10px; font-size: 13px; font-style: italic; opacity: .6; }
.jtv-syn { margin: 0; font-size: 15px; line-height: 1.5; }
.jtv-knobs { display: flex; gap: 12px; justify-content: center; }
.jtv-knob { width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; font-size: 18px; color: #fff; background: radial-gradient(circle at 35% 30%, #FF8A8F, var(--c1) 55%, #B3343A); box-shadow: 0 5px 0 #8E2328, 0 8px 14px rgba(0, 0, 0, .3); transition: transform .15s var(--ease), box-shadow .15s; }
.jtv-knob:hover { transform: rotate(-20deg); }
.jtv-knob:active { transform: translateY(4px); box-shadow: 0 1px 0 #8E2328; }
.jtv-legs { display: flex; justify-content: space-between; width: 62%; margin: 0 auto; height: 46px; }
.jtv-legs i { width: 12px; background: #BFE6DE; border-radius: 0 0 8px 8px; }
.jtv-legs i:first-child { transform: skewX(18deg); } .jtv-legs i:last-child { transform: skewX(-18deg); }

.jtv-guide { list-style: none; margin: clamp(30px, 4vw, 54px) auto 0; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.jtv-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 2px solid rgba(191, 230, 222, .18); border-radius: 18px; background: rgba(255, 255, 255, .05); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .25s var(--bounce); }
.jtv-item:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.jtv-item.is-on { border-color: var(--sun); background: rgba(255, 210, 94, .14); }
.jtv-thumb { position: relative; flex: none; width: 84px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #000; }
.jtv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jtv-thumb em { position: absolute; left: 5px; bottom: 5px; padding: 1px 6px; border-radius: 6px; background: #0F1E3D; color: #7CFFB2; font: 700 12px ui-monospace, Consolas, monospace; }
.jtv-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jtv-txt b { font-size: 14px; line-height: 1.2; }
.jtv-txt small { font-size: 12px; font-style: italic; opacity: .55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jtv-seen { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; display: none; place-items: center; background: #7CFFB2; color: #0F1E3D; font-size: 12px; font-weight: 900; }
.jtv-item.is-seen .jtv-seen { display: grid; }
.jtv-item.is-on::after { content: "No ar"; position: absolute; top: -9px; left: 14px; padding: 1px 8px; border-radius: 6px; background: var(--c1); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 860px) {
  .jtv-body { grid-template-columns: 1fr; border-radius: 36px; }
  .jtv-panel { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .jtv-now { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) { .jtv-antenna i::after, .jtv.is-switching .jtv-static { animation: none; } }


/* ============================================================ CENTRAL DE MISSÕES (episódios de Os Impossíveis, em quadrinhos) */
.imx { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); background: #FFD23F; color: #111; overflow: hidden; }
.imx::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: radial-gradient(#E8322B 22%, transparent 24%); background-size: 14px 14px; }
.imx > * { position: relative; }
.imx-head { text-align: center; max-width: 780px; margin: 0 auto clamp(28px, 4vw, 50px); }
.imx-head .label { margin: 0 auto 12px; justify-content: center; color: #111; }
.imx-title { display: inline-block; margin: 0; padding: .1em .45em .16em; font: 400 clamp(42px, 6.4vw, 96px)/1 "Bowlby One", sans-serif; color: #FFD23F; background: #E8322B; -webkit-text-stroke: .02em #111; text-shadow: .05em .05em 0 #111; border: 5px solid #111; box-shadow: 10px 10px 0 #111; transform: rotate(-2deg); }
.imx-lead { margin: 22px auto 0; font-weight: 700; }

.imx-desk { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(16px, 2.4vw, 30px); max-width: 1120px; margin: 0 auto; }
.imx-screen { position: relative; border: 6px solid #111; border-radius: 16px; background: #2E5BD8; padding: 34px 14px 14px; box-shadow: 12px 12px 0 #111; }
.imx-onair { position: absolute; top: 6px; left: 16px; font: 400 15px/1 "Bowlby One", sans-serif; letter-spacing: .06em; color: #fff; text-transform: uppercase; }
.imx-onair::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #E8322B; box-shadow: 0 0 0 2px #fff; animation: jtvBlink 1.2s steps(2) infinite; }
.imx-video { display: block; width: 100%; aspect-ratio: 4 / 3; background: #000; border: 4px solid #111; border-radius: 8px; object-fit: contain; }
.imx-burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.imx-burst span { padding: 1.1em 1.4em; font: 400 clamp(30px, 5vw, 64px)/1 "Bowlby One", sans-serif; color: #FFD23F; -webkit-text-stroke: .03em #111; text-shadow: .06em .06em 0 #111; background: #E8322B; transform: rotate(-6deg);
  clip-path: polygon(50% 0, 60% 22%, 82% 8%, 76% 32%, 100% 32%, 82% 50%, 100% 68%, 76% 68%, 82% 92%, 60% 78%, 50% 100%, 40% 78%, 18% 92%, 24% 68%, 0 68%, 18% 50%, 0 32%, 24% 32%, 18% 8%, 40% 22%); }
.imx.is-switching .imx-burst { animation: imxBurst .9s var(--bounce) both; }
@keyframes imxBurst { 0% { opacity: 0; transform: scale(.2) rotate(-20deg); } 25% { opacity: 1; transform: scale(1.08); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3); } }

.imx-file { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 5px solid #111; border-radius: 14px; background: #fff; box-shadow: 10px 10px 0 #111; }
.imx-n { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.imx-n b { display: inline-block; margin-left: 6px; padding: 2px 10px; background: #111; color: #FFD23F; font: 400 26px/1.1 "Bowlby One", sans-serif; letter-spacing: 0; transform: rotate(-3deg); }
.imx-name { margin: 4px 0 0; font: 400 clamp(22px, 2.2vw, 28px)/1.08 "Bowlby One", sans-serif; }
.imx-orig { margin: 0; font-size: 13px; font-style: italic; opacity: .65; }
.imx-villain { margin: 6px 0 0; padding: 12px 14px; border: 3px dashed #111; border-radius: 10px; background: #FFF4C2; }
.imx-villain small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #E8322B; }
.imx-villain b { font: 400 22px/1.1 "Bowlby One", sans-serif; }
.imx-nav { display: flex; gap: 12px; margin-top: auto; padding-top: 8px; }
.imx-btn { flex: 1; height: 54px; border: 4px solid #111; border-radius: 12px; background: #E8322B; color: #fff; font-size: 20px; cursor: pointer; box-shadow: 5px 5px 0 #111; transition: transform .12s, box-shadow .12s; }
.imx-btn:hover { background: #8A3FC8; }
.imx-btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 #111; }

.imx-wanted-h { margin: clamp(46px, 6vw, 80px) 0 22px; text-align: center; font: 400 clamp(28px, 3.4vw, 44px)/1 "Bowlby One", sans-serif; color: #E8322B; -webkit-text-stroke: .02em #111; text-shadow: .06em .06em 0 #111; }
.imx-guide { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px 20px; }
.imx-guide li:nth-child(odd) .imx-item { transform: rotate(-1.6deg); }
.imx-guide li:nth-child(even) .imx-item { transform: rotate(1.4deg); }
.imx-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 12px 12px 14px; border: 4px solid #111; border-radius: 6px; background: #FFF8E6; color: #111; font: inherit; text-align: center; cursor: pointer; box-shadow: 6px 6px 0 #111; transition: transform .25s var(--bounce), box-shadow .2s; }
.imx-guide li:nth-child(n) .imx-item:hover { transform: rotate(0) translateY(-5px) scale(1.03); box-shadow: 9px 11px 0 #111; }
.imx-item.is-on { background: #fff; outline: 5px solid #E8322B; outline-offset: 3px; }
.imx-tag { font: 400 17px/1 "Bowlby One", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #E8322B; }
.imx-thumb { width: 100%; aspect-ratio: 4 / 3; border: 3px solid #111; overflow: hidden; background: #000; }
.imx-thumb img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) contrast(1.05); transition: filter .3s; }
.imx-item:hover .imx-thumb img, .imx-item.is-on .imx-thumb img { filter: none; }
.imx-who { font: 400 16px/1.1 "Bowlby One", sans-serif; }
.imx-ep { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.imx-stamp { position: absolute; top: 44%; left: 50%; padding: 4px 10px; border: 4px solid #2E9E3A; border-radius: 6px; color: #2E9E3A; background: rgba(255, 255, 255, .85); font: 400 18px/1 "Bowlby One", sans-serif; text-transform: uppercase; translate: -50% -50%; rotate: -14deg; opacity: 0; scale: 1.6; transition: opacity .25s, scale .35s var(--bounce); pointer-events: none; }
.imx-item.is-seen .imx-stamp { opacity: 1; scale: 1; }
@media (max-width: 880px) { .imx-desk { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .imx-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; } .imx-who { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .imx.is-switching .imx-burst, .imx-onair::before { animation: none; } }


/* ==========================================================================
   TEMA "WEST" — Pepe Legal (faroeste ao pôr do sol)
   ========================================================================== */
.theme-west {
  --ink: #2B1A14; --ink-2: #3D261D;
  --paper: #FFF3DD; --paper-2: #F6DFB4;
  --stone: #E8A33D; --stone-d: #9A4A3C;
  --sun: #FFC85C;
  --display: "Rye", "Bowlby One", serif;
}
.theme-west ::selection { background: var(--c2); }
.theme-west .hero { background: #3B2A5C; }
.theme-west .hero::after { background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(43, 26, 20, .38), transparent 72%), linear-gradient(to bottom, transparent 70%, rgba(43, 26, 20, .4)); }
.theme-west .hero-title { font-size: clamp(56px, 11vw, 190px); letter-spacing: .02em; color: #FFE29A; text-shadow: 0 .04em 0 #9A4A3C, 0 .08em 0 #2B1A14, 0 0 .6em rgba(255, 200, 92, .35); }
.theme-west .hl { transform: translateX(-80px) rotate(-12deg); animation-name: westIn; animation-duration: .8s; animation-timing-function: var(--bounce); }
@keyframes westIn { to { transform: rotate(calc(var(--r) * .3)); opacity: 1; } }
.theme-west .hero-kicker { background: rgba(43, 26, 20, .55); }
.west-sun { animation: westSun 8s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes westSun { to { scale: 1.04; } }
.west-tumble > g { animation: westTumble 14s linear infinite; }
@keyframes westTumble { 0% { transform: translate(-80px, 800px) rotate(0); } 25% { transform: translate(400px, 790px) rotate(500deg); } 50% { transform: translate(880px, 800px) rotate(1000deg); } 75% { transform: translate(1340px, 792px) rotate(1500deg); } 100% { transform: translate(1700px, 800px) rotate(2000deg); } }
.west-duo { pointer-events: none; }
.west-duo img { position: absolute; bottom: 9%; height: auto; filter: drop-shadow(0 16px 14px rgba(43, 26, 20, .4)); animation: jetsons-float 5.6s ease-in-out infinite; }
.west-pepe { left: 7%; width: clamp(200px, 21vw, 380px); }
.west-baba { right: 8%; width: clamp(150px, 15vw, 270px); animation-delay: -2.4s !important; }
@keyframes jetsons-float { 50% { translate: 0 -12px; } }
@media (max-width: 700px) { .west-pepe { left: -4%; width: 34vw; bottom: 8%; } .west-baba { right: -3%; width: 26vw; bottom: 8%; } }
@media (prefers-reduced-motion: reduce) { .west-sun, .west-tumble > g, .west-duo img { animation: none; } }

/* Faixa: estrela de xerife */
.sheriff { flex: none; width: 34px; height: 34px; margin: 0 10px; background: var(--paper);
  clip-path: polygon(50% 0, 61% 32%, 95% 32%, 68% 52%, 79% 86%, 50% 66%, 21% 86%, 32% 52%, 5% 32%, 39% 32%);
  animation: wave 1s ease-in-out infinite alternate; }
.theme-west .marquee { background: #2B1A14; color: var(--sun); }
.theme-west .marquee .sheriff { background: var(--sun); }
.theme-west .card-art { border-radius: 18px 18px 6px 6px; }
.theme-west .place-icon .cut { fill: var(--paper); }
.theme-west .world { background: #9A4A3C; }
.theme-west .world-title { line-height: .95; }

/* Home */
.slide.theme-west { background: #3B2A5C; }
.slide.theme-west .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(43, 26, 20, .4), transparent 75%), linear-gradient(to bottom, transparent 60%, rgba(43, 26, 20, .55)); }
.slide.theme-west .slide-title { font-family: "Rye", serif; color: #FFE29A; text-shadow: 0 .05em 0 #9A4A3C, 0 .1em 0 #2B1A14; }
.show.theme-west .show-bg { background: linear-gradient(160deg, #E8A33D, #D94436 80%); }
.show.theme-west .show-title { font-family: "Rye", serif; }

/* ============================================================ SESSÃO DO SALOON (episódios do Pepe Legal) */
.sal { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); color: #FFF3DD; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 120px), linear-gradient(#5B2E25, #3D1F18); }
.sal-head { text-align: center; max-width: 780px; margin: 0 auto clamp(28px, 4vw, 50px); }
.sal-head .label { margin: 0 auto 12px; justify-content: center; }
.sal-title { margin: 0; font: 400 clamp(44px, 6.8vw, 100px)/1 "Rye", serif; color: #FFC85C; text-shadow: 0 .05em 0 #D94436, 0 .1em 0 #1E0F0B; }
.sal-lead { margin: 14px auto 0; font-weight: 600; opacity: .9; }

.sal-stage { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(18px, 2.6vw, 34px); align-items: start; max-width: 1140px; margin: 0 auto; }
.sal-front { position: relative; padding: 70px clamp(14px, 2vw, 26px) clamp(14px, 2vw, 26px); border-radius: 10px;
  background: repeating-linear-gradient(0deg, #8A5A2B 0 26px, #7A4D23 26px 28px); box-shadow: inset 0 0 0 6px #4A2A17, 0 24px 50px rgba(0, 0, 0, .45); }
.sal-sign { position: absolute; top: -26px; left: 50%; translate: -50% 0; padding: 10px 40px; border: 5px solid #2B1A14; border-radius: 8px; background: #E8A33D; box-shadow: 0 8px 0 #2B1A14; }
.sal-sign span { font: 400 clamp(26px, 3.4vw, 42px)/1 "Rye", serif; color: #2B1A14; letter-spacing: .08em; text-transform: uppercase; }
.sal-lamp { position: absolute; top: 22px; width: 18px; height: 26px; border-radius: 6px 6px 10px 10px; background: #FFC85C; box-shadow: 0 0 22px 8px rgba(255, 200, 92, .55); animation: salLamp 3s ease-in-out infinite alternate; }
.sal-lamp.is-l { left: 26px; } .sal-lamp.is-r { right: 26px; animation-delay: -1.5s; }
@keyframes salLamp { to { box-shadow: 0 0 30px 12px rgba(255, 200, 92, .75); } }
.sal-screen { position: relative; border: 6px solid #2B1A14; border-radius: 6px; background: #000; overflow: hidden; perspective: 900px; }
.sal-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: contain; }
.sal-doors { position: absolute; inset: 18% 14% 14%; display: flex; justify-content: center; align-items: center; transition: visibility 0s .7s; }
.sal-door { position: absolute; top: 0; bottom: 0; width: 50%; background:
  repeating-linear-gradient(90deg, #C98A4B 0 14px, #A86E35 14px 16px);
  border: 5px solid #4A2A17; transition: transform .7s var(--bounce); box-shadow: 0 10px 22px rgba(0, 0, 0, .45); }
.sal-door::before { content: ""; position: absolute; inset: 12% 14%; border: 4px solid #4A2A17; border-radius: 4px; background: repeating-linear-gradient(0deg, transparent 0 10px, rgba(74, 42, 23, .55) 10px 13px); }
.sal-door.is-l { left: 0; transform-origin: left center; border-radius: 40px 0 0 0 / 30px 0 0 0; }
.sal-door.is-r { right: 0; transform-origin: right center; border-radius: 0 40px 0 0 / 0 30px 0 0; }
.sal-enter { position: relative; z-index: 2; padding: 14px 26px; border: 4px solid #2B1A14; border-radius: 999px; background: #FFC85C; color: #2B1A14; font: 400 clamp(16px, 1.8vw, 22px)/1 "Rye", serif; cursor: pointer; box-shadow: 0 6px 0 #2B1A14; transition: transform .15s, opacity .3s; }
.sal-enter:hover { transform: translateY(-2px) rotate(-2deg); }
.sal.is-open .sal-door.is-l { transform: rotateY(-105deg); }
.sal.is-open .sal-door.is-r { transform: rotateY(105deg); }
.sal.is-open .sal-enter { opacity: 0; pointer-events: none; }
.sal.is-open .sal-doors { visibility: hidden; }
.sal.is-swing .sal-door.is-l { animation: salSwingL .9s var(--ease); }
.sal.is-swing .sal-door.is-r { animation: salSwingR .9s var(--ease); }
@keyframes salSwingL { 0%, 100% { transform: rotateY(-105deg); } 40% { transform: rotateY(0); } }
@keyframes salSwingR { 0%, 100% { transform: rotateY(105deg); } 40% { transform: rotateY(0); } }
.sal.is-swing .sal-doors { visibility: visible; transition: none; }
.sal-kabong { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.sal-kabong span { padding: .9em 1.3em; font: 400 clamp(30px, 5vw, 66px)/1 "Rye", serif; color: #2B1A14; background: #FFC85C; transform: rotate(-8deg);
  clip-path: polygon(50% 0, 60% 22%, 82% 8%, 76% 32%, 100% 32%, 82% 50%, 100% 68%, 76% 68%, 82% 92%, 60% 78%, 50% 100%, 40% 78%, 18% 92%, 24% 68%, 0 68%, 18% 50%, 0 32%, 24% 32%, 18% 8%, 40% 22%); }
.sal.is-kabong .sal-kabong { animation: imxBurst 1.1s var(--bounce) both; }

.sal-board { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 64px 22px 22px; border-radius: 6px; color: #2B1A14;
  background: #F6DFB4; box-shadow: inset 0 0 0 5px #4A2A17, 0 18px 36px rgba(0, 0, 0, .4); transform: rotate(1.2deg); }
.sal-board::before { content: ""; position: absolute; inset: 0; border-radius: 6px; pointer-events: none; opacity: .35; background: radial-gradient(ellipse at 30% 20%, transparent 40%, rgba(122, 77, 35, .5)); }
.sal-star { position: absolute; top: -34px; left: 50%; translate: -50% 0; width: 92px; height: 92px; display: grid; place-content: center; text-align: center; color: #2B1A14;
  background: radial-gradient(circle at 35% 30%, #FFE9A8, #E8A33D 60%, #B07422);
  clip-path: polygon(50% 0, 61% 32%, 95% 32%, 68% 52%, 79% 86%, 50% 66%, 21% 86%, 32% 52%, 5% 32%, 39% 32%); }
.sal-star small { font-size: 9px; font-weight: 800; letter-spacing: .1em; margin-top: 8px; }
.sal-star b { font: 400 24px/1 "Rye", serif; }
.sal-name { margin: 0; font: 400 clamp(22px, 2.2vw, 28px)/1.1 "Rye", serif; text-align: center; }
.sal-meta { margin: 0; text-align: center; font-size: 13px; font-weight: 700; opacity: .75; }
.sal-tag { margin: 4px auto 0; padding: 4px 12px; border-radius: 4px; background: #1F1A17; color: #FFC85C; font: 400 14px/1.2 "Rye", serif; transform: rotate(-3deg); }
.sal-tag[hidden] { display: none; }
.sal-nav { display: flex; gap: 10px; margin-top: 10px; }
.sal-btn { flex: 1; height: 50px; border: 4px solid #2B1A14; border-radius: 10px; background: #D94436; color: #FFF3DD; font-size: 18px; cursor: pointer; box-shadow: 0 5px 0 #2B1A14; transition: transform .12s, box-shadow .12s, background .2s; }
.sal-btn:hover { background: #B8332A; }
.sal-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #2B1A14; }

.sal-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(40px, 5vw, 64px) auto 24px; }
.sal-f { padding: 9px 18px; border: 3px solid #E8A33D; border-radius: 999px; background: transparent; color: #FFE29A; font: 700 14px/1 var(--body, inherit); cursor: pointer; transition: background .2s, color .2s; }
.sal-f:hover { background: rgba(232, 163, 61, .2); }
.sal-f.is-on { background: #E8A33D; color: #2B1A14; }
.sal-f.is-k { border-color: #FFF3DD; font-family: "Rye", serif; font-weight: 400; }
.sal-guide { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sal-guide li[hidden] { display: none; }
.sal-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; border: 0; border-radius: 6px; color: #2B1A14; font: inherit; text-align: left; cursor: pointer;
  background: #F6DFB4; box-shadow: inset 0 0 0 3px #7A4D23, 4px 4px 0 #1E0F0B; transition: transform .25s var(--bounce), box-shadow .2s; }
.sal-item:hover { transform: translateY(-3px) rotate(-.6deg); }
.sal-item.is-on { background: #FFC85C; box-shadow: inset 0 0 0 3px #2B1A14, 4px 4px 0 #D94436; }
.sal-thumb { position: relative; flex: none; width: 96px; aspect-ratio: 16 / 9; border: 3px solid #2B1A14; overflow: hidden; background: #000; }
.sal-thumb img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.45); transition: filter .3s; }
.sal-item:hover .sal-thumb img, .sal-item.is-on .sal-thumb img { filter: none; }
.sal-thumb em { position: absolute; left: 3px; top: 3px; min-width: 22px; padding: 1px 4px; border-radius: 4px; background: #2B1A14; color: #FFC85C; font: 400 12px/1.2 "Rye", serif; text-align: center; }
.sal-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sal-txt b { font: 400 15px/1.15 "Rye", serif; }
.sal-txt small { font-size: 12px; font-weight: 700; opacity: .65; }
.sal-txt small i { font-style: normal; color: #B8332A; }
.sal-seen { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; display: none; place-items: center; border-radius: 50%; background: #2B1A14; color: #FFC85C; font-size: 15px; }
.sal-item.is-seen .sal-seen { display: grid; }
@media (max-width: 900px) { .sal-stage { grid-template-columns: 1fr; } .sal-board { transform: none; margin-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .sal-lamp, .sal.is-swing .sal-door, .sal.is-kabong .sal-kabong { animation: none; } .sal-door { transition: none; } }


/* Home: o slide do Tom e Jerry usa a mesma abertura da página da série */
.slide .tj-scene { --avail: calc(100cqh - var(--nav-h) - 200px); }
.slide:has(.tj-scene) { background: #870a09; }
.slide:has(.tj-scene) .slide-shade { background: radial-gradient(circle at 50% 45%, transparent 35%, rgba(43, 0, 0, .12) 70%, rgba(36, 0, 0, .45) 100%); }
.tj-slide-content { position: absolute; left: 0; right: 0; bottom: calc(3vw + 104px); transform: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; }
.tj-slide-content .hero-kicker { margin: 0; background: rgba(56, 0, 0, .55); }
.tj-slide-content .slide-tag { display: none; }
@media (max-width: 700px) {
  .slide .tj-scene { --avail: calc(100cqh - var(--nav-h) - 230px); --W: min(112cqw, calc(var(--avail) * 1.33)); }
  .tj-slide-content { flex-direction: column; bottom: calc(3vw + 96px); }
}


/* ==========================================================================
   CATÁLOGO: /desenhos (A a Z), /desenhos/decadas, /desenhos/categorias
   ========================================================================== */
.page-catalog { background: #FFF6E6; }
.cat-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) var(--gutter) clamp(44px, 6vw, 80px); background: #1E1638; color: #fff; text-align: center; }
.cat-swirl { position: absolute; left: 50%; top: 55%; width: 160vmax; aspect-ratio: 1; translate: -50% -50%; opacity: .22; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, #E8584A 0 9deg, #F2C94C 9deg 18deg, #6BC4A6 18deg 27deg, #6A7BE0 27deg 36deg, #C46BD8 36deg 45deg);
  mask: radial-gradient(circle, transparent 12%, #000 13%, #000 40%, transparent 62%); -webkit-mask: radial-gradient(circle, transparent 12%, #000 13%, #000 40%, transparent 62%);
  animation: catSpin 90s linear infinite; }
@keyframes catSpin { to { rotate: 360deg; } }
.cat-hero-in { position: relative; max-width: 980px; margin: 0 auto; }
.cat-kicker { display: inline-block; margin: 0 0 14px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #F2C94C; }
.cat-title { margin: 0; font: 400 clamp(52px, 9vw, 130px)/.9 var(--display); color: #F2C94C; text-shadow: 0 .04em 0 #E8584A, 0 .08em 0 #0F0A20; }
.cat-lead { max-width: 640px; margin: 18px auto 0; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; opacity: .9; }
.cat-stats { display: flex; justify-content: center; gap: clamp(18px, 4vw, 54px); margin: 28px 0 0; }
.cat-stats div { display: flex; flex-direction: column-reverse; align-items: center; }
.cat-stats dt { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.cat-stats dd { margin: 0; font: 400 clamp(30px, 3.4vw, 46px)/1 var(--display); color: #fff; }
.cat-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 30px 0 0; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.cat-tabs a { padding: 11px 20px; border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none; transition: background .2s, color .2s; }
.cat-tabs a:hover { background: rgba(255, 255, 255, .12); }
.cat-tabs a.is-on { background: #F2C94C; color: #1E1638; }
.cat-search { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 18px auto 0; padding: 0 18px; border-radius: 999px; background: #fff; color: #1E1638; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.cat-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.cat-search input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; font: 600 16px var(--body); color: inherit; outline: none; }

.cat-body { padding: clamp(36px, 5vw, 70px) var(--gutter) clamp(70px, 9vw, 120px); max-width: 1320px; margin: 0 auto; color: #2B1F14; }
.cat-empty { text-align: center; font-weight: 700; opacity: .7; }

/* Cartão de desenho */
.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-flow: row dense; gap: 16px; }
.cx { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 46px 18px 16px; border-radius: 20px; overflow: hidden; color: #2B1F14; text-decoration: none;
  background: #fff; box-shadow: inset 0 0 0 2px rgba(43, 31, 20, .08), 0 4px 0 rgba(43, 31, 20, .08); transition: transform .3s var(--bounce), box-shadow .3s; }
.cx::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--cc); }
.cx-year { position: absolute; top: 18px; left: 18px; padding: 3px 10px; border-radius: 999px; background: var(--cc); color: #fff; font: 400 14px/1.2 var(--display); }
.cx-name { font: 400 clamp(18px, 1.5vw, 21px)/1.1 var(--display); }
.cx-orig { font-size: 13px; font-style: italic; opacity: .6; }
.cx-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 800; }
.cx-cat { color: var(--cc); filter: brightness(.8); }
.cx-soon { opacity: .4; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.cx-go { color: #fff; background: #1E1638; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.cx.is-live { grid-column: span 2; background: #FFF2C8; box-shadow: inset 0 0 0 3px var(--cc), 0 6px 0 rgba(43, 31, 20, .15); padding-right: 170px; }
.page-catalog .nav { background: rgba(30, 22, 56, .94); backdrop-filter: blur(12px); }
.cx-fig { position: absolute; right: 6px; bottom: -10px; width: 160px; height: 165px; max-width: none; object-fit: contain; object-position: bottom; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25)); transition: transform .35s var(--bounce); }
.cx.is-live .cx-foot { justify-content: flex-start; gap: 14px; }
.cx.is-live:hover { transform: translateY(-5px) rotate(-.8deg); box-shadow: inset 0 0 0 3px var(--cc), 0 12px 0 rgba(43, 31, 20, .15); }
.cx.is-live:hover .cx-fig { transform: scale(1.08) rotate(4deg); }
.cx[hidden], .az-group[hidden], .dec-year[hidden], .dec[hidden], .catg[hidden] { display: none; }

/* A a Z */
.az-bar { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 20; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 auto 30px; padding: 8px; border-radius: 18px; background: rgba(30, 22, 56, .92); backdrop-filter: blur(8px); }
.az-bar a, .az-bar span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 400 16px/1 var(--display); text-decoration: none; }
.az-bar a { color: #F2C94C; }
.az-bar a:hover { background: #F2C94C; color: #1E1638; }
.az-bar span { color: rgba(255, 255, 255, .22); }
.az-group { scroll-margin-top: calc(var(--nav-h) + 80px); margin-bottom: 34px; }
.az-letter { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 0 16px; border-radius: 18px; background: #E8584A; color: #fff; font: 400 38px/1 var(--display); box-shadow: 0 5px 0 #1E1638; transform: rotate(-4deg); }

/* Por década */
.dec-bar { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 20; display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 0 auto 30px; padding: 6px; border-radius: 999px; background: rgba(30, 22, 56, .92); }
.dec-bar a { padding: 8px 16px; border-radius: 999px; color: #F2C94C; font: 400 18px/1 var(--display); text-decoration: none; }
.dec-bar a:hover { background: #F2C94C; color: #1E1638; }
.dec { --dc: #E8584A; position: relative; scroll-margin-top: calc(var(--nav-h) + 70px); margin-bottom: 40px; padding: clamp(24px, 3.4vw, 46px); border-radius: 32px; overflow: hidden; }
.dec-head { position: relative; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); margin-bottom: 26px; }
.dec-num { flex: none; font: 400 clamp(80px, 11vw, 150px)/.8 var(--display); color: var(--dc); text-shadow: .04em .04em 0 rgba(0, 0, 0, .2); }
.dec-title { margin: 0; font: 400 clamp(30px, 3.4vw, 46px)/1 var(--display); }
.dec-lead { margin: 8px 0 0; max-width: 620px; font-weight: 600; }
.dec-line { position: relative; list-style: none; margin: 0; padding: 0 0 0 30px; }
.dec-line::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--dc); opacity: .5; }
.dec-year { position: relative; margin-bottom: 22px; }
.dec-year::before { content: ""; position: absolute; left: -30px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--dc); box-shadow: 0 0 0 4px rgba(255, 255, 255, .6); }
.dec-y { display: inline-block; margin-bottom: 10px; font: 400 22px/1 var(--display); color: var(--dc); }
.dec-1940 { --dc: #8A5A2B; background: linear-gradient(135deg, #F3E3C3, #E6CFA2); }
.dec-1950 { --dc: #2F7F86; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .03) 0 2px, transparent 2px 4px), #DDEEE8; }
.dec-1960 { --dc: #E8641B; background: radial-gradient(circle at 90% 10%, rgba(31, 181, 185, .25), transparent 40%), #FFE6C2; }
.dec-1970 { --dc: #B0461A; background: repeating-linear-gradient(-12deg, #F7D58A 0 26px, #F3C46B 26px 52px, #EFA853 52px 78px); }
.dec-1980 { --dc: #FF3FA4; color: #fff; background: linear-gradient(160deg, #241452, #3A1C6E); }
.dec-1980 .dec-num { color: #2DE2E6; text-shadow: 0 0 18px rgba(45, 226, 230, .7), .04em .04em 0 #FF3FA4; }
.dec-1980 .dec-year::before { box-shadow: 0 0 12px #FF3FA4; }
.dec-1990 { --dc: #7B2FD0; background: radial-gradient(circle at 12% 20%, rgba(255, 214, 0, .35) 0 8%, transparent 9%), radial-gradient(circle at 88% 80%, rgba(0, 200, 170, .3) 0 10%, transparent 11%), #E9F7D6; }
.dec-1990 .dec-num { color: #7B2FD0; text-shadow: .05em .05em 0 #FFD600; }

/* Por categoria */
.cats-bar { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 20; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 30px; padding: 8px; border-radius: 22px; background: rgba(30, 22, 56, .92); }
.cats-bar a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; transition: background .2s; }
.cats-bar a:hover { background: var(--cc); }
.cats-bar svg { width: 20px; height: 20px; fill: var(--cc); }
.cats-bar a:hover svg { fill: #fff; }
.cats-bar small { opacity: .6; }
.catg { scroll-margin-top: calc(var(--nav-h) + 80px); margin-bottom: 46px; }
.catg-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.catg-icon { flex: none; width: 76px; height: 76px; padding: 12px; border-radius: 24px; background: var(--cc); fill: #fff; box-shadow: 0 5px 0 #1E1638; transform: rotate(-5deg); }
.catg-icon .cut { fill: var(--cc); }
.catg-icon .cut-ln { fill: none; stroke: var(--cc); stroke-width: 4; stroke-linecap: round; }
.catg-icon .ln { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.cats-bar .cut { fill: #1E1638; }
.cats-bar .ln { fill: none; stroke: var(--cc); stroke-width: 6; }
.cats-bar .cut-ln { fill: none; stroke: #1E1638; stroke-width: 4; }
.catg-title { margin: 0; font: 400 clamp(28px, 3vw, 42px)/1 var(--display); color: var(--cc); filter: brightness(.85); }
.catg-lead { margin: 6px 0 0; font-weight: 600; }
@media (max-width: 600px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx.is-live { grid-column: auto; padding-right: 120px; }
  .cx-fig { width: 116px; height: 140px; right: 0; }
  .az-bar a, .az-bar span { width: 28px; height: 28px; font-size: 14px; }
  .dec-bar a { padding: 8px 11px; font-size: 16px; }
  .dec-line { padding-left: 24px; }
  .dec-year::before { left: -24px; }
}
@media (prefers-reduced-motion: reduce) { .cat-swirl { animation: none; } }


/* ==========================================================================
   TEMA "GHOST" — Space Ghost (espaço profundo, herói de capa)
   ========================================================================== */
.theme-ghost {
  --ink: #0B0820; --ink-2: #1A1240;
  --paper: #F3F1FF; --paper-2: #E2DDFB;
  --stone: #F2B705; --stone-d: #3A2A9A;
  --sun: #F2B705;
}
.theme-ghost ::selection { background: var(--c1); color: #0B0820; }
.theme-ghost .hero { background: #0B0820; }
.theme-ghost .hero::after { background: radial-gradient(ellipse 60% 50% at 45% 45%, rgba(11, 8, 32, .45), transparent 72%), linear-gradient(to bottom, transparent 70%, rgba(11, 8, 32, .6)); }
.theme-ghost .hero-title { font-size: clamp(56px, 11vw, 190px); color: #fff; letter-spacing: .01em;
  text-shadow: 0 .04em 0 var(--c1), 0 .08em 0 #3A2A9A, 0 .12em 0 #0B0820, 0 0 .6em rgba(124, 227, 255, .45); }
.theme-ghost .hl { transform: translateY(-120px) scale(.6); filter: blur(10px); animation-name: ghIn; animation-duration: .9s; animation-timing-function: var(--bounce); }
@keyframes ghIn { to { transform: rotate(calc(var(--r) * .3)); opacity: 1; filter: none; } }
.theme-ghost .hero-kicker { background: rgba(58, 42, 154, .6); }
.gh-stars circle { animation: twinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.gh-stars circle:nth-child(3n) { animation-delay: -1s; } .gh-stars circle:nth-child(4n) { animation-delay: -2s; animation-duration: 4.5s; }
.gh-sky { pointer-events: none; overflow: hidden; }
.gh-ship { position: absolute; left: 0; top: 0; width: clamp(160px, 17vw, 300px); max-width: none; height: auto; filter: drop-shadow(0 0 18px rgba(124, 227, 255, .35)); animation: ghCruise 16s linear infinite; }
@keyframes ghCruise { 0% { transform: translate(-30vw, 62vh) rotate(-12deg); } 100% { transform: translate(110vw, 8vh) rotate(-12deg); } }
.gh-hero { pointer-events: none; }
.gh-hero img { position: absolute; bottom: 7%; height: auto; max-width: none; filter: drop-shadow(0 0 24px rgba(124, 227, 255, .35)) drop-shadow(0 18px 18px rgba(0, 0, 0, .5)); animation: jetsons-float 6s ease-in-out infinite; }
.gh-sg { right: 1%; width: clamp(230px, 21vw, 400px); }
.gh-jace { left: 2%; width: clamp(170px, 15vw, 290px); animation-delay: -2s !important; }
.gh-jan { left: calc(2% + clamp(110px, 10vw, 200px)); width: clamp(170px, 15vw, 290px); animation-delay: -3.4s !important; }
@media (max-width: 700px) {
  .gh-sg { right: -6%; width: 52vw; bottom: 8%; }
  .gh-jace { left: -8%; width: 38vw; bottom: 8%; }
  .gh-jan { left: 14vw; width: 38vw; bottom: 8%; }
}
@media (prefers-reduced-motion: reduce) { .gh-stars circle, .gh-ship, .gh-hero img { animation: none; } }

/* Faixa: raio */
.bolt { flex: none; width: 24px; height: 38px; margin: 0 12px; background: var(--paper);
  clip-path: polygon(60% 0, 10% 58%, 45% 58%, 30% 100%, 90% 38%, 55% 38%, 75% 0);
  animation: wave 1s ease-in-out infinite alternate; }
.theme-ghost .marquee { background: #3A2A9A; color: #fff; }
.theme-ghost .marquee .bolt { background: var(--c1); }
.theme-ghost .place-icon .cut { fill: var(--paper); }
.theme-ghost .place-icon .ln { fill: none; stroke: currentColor; stroke-width: 4; }
.theme-ghost .place-icon .cut-ln { fill: none; stroke: var(--paper); stroke-width: 4; }
.theme-ghost .world { background: #1A1240; }

/* Home */
.slide.theme-ghost { background: #0B0820; }
.slide.theme-ghost .slide-shade { background: radial-gradient(ellipse 65% 50% at 50% 48%, rgba(11, 8, 32, .45), transparent 75%), linear-gradient(to bottom, transparent 60%, rgba(11, 8, 32, .6)); }
.slide.theme-ghost .slide-title { color: #fff; text-shadow: 0 .04em 0 #F2B705, 0 .08em 0 #3A2A9A, 0 .12em 0 #0B0820; }
.show.theme-ghost .show-bg { background: linear-gradient(160deg, #3A2A9A, #0B0820 80%); }

/* ============================================================ BRACELETES DE PODER */
.pwr { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); color: #fff; overflow: hidden;
  background: radial-gradient(circle at 20% 30%, rgba(91, 59, 196, .5), transparent 45%), radial-gradient(circle at 80% 70%, rgba(194, 51, 138, .3), transparent 45%), #0B0820; }
.pwr-head { text-align: center; max-width: 760px; margin: 0 auto clamp(20px, 3vw, 40px); }
.pwr-head .label { margin: 0 auto 12px; justify-content: center; }
.pwr-title { margin: 0; font: 400 clamp(42px, 6.4vw, 96px)/.95 var(--display); color: #F2B705; text-shadow: 0 .05em 0 #3A2A9A, 0 0 .5em rgba(242, 183, 5, .35); }
.pwr-lead { margin: 14px auto 0; font-weight: 600; opacity: .88; }
.pwr-stage { position: relative; height: clamp(320px, 42vw, 520px); max-width: 1100px; margin: 0 auto; }
.pwr-hero { position: absolute; left: 2%; bottom: 0; height: 100%; aspect-ratio: 1024 / 1280; transition: opacity .6s, filter .6s; }
.pwr-hero img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 22px rgba(124, 227, 255, .3)); }
.pwr-target { position: absolute; right: 8%; bottom: 4%; width: clamp(120px, 14vw, 190px); transition: transform .5s var(--bounce), filter .4s; }
.pwr-target svg { display: block; width: 100%; height: auto; }
.pwr-scan { animation: pwrScan 1.4s ease-in-out infinite alternate; }
@keyframes pwrScan { to { opacity: .2; } }
.pwr-ice { position: absolute; inset: -6% -10%; border-radius: 18px; background: linear-gradient(135deg, rgba(220, 248, 255, .85), rgba(124, 227, 255, .45)); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .8); opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s var(--bounce); }
.pwr-beam { position: absolute; left: calc(6% + clamp(110px, 12vw, 190px)); right: calc(8% + clamp(100px, 11vw, 160px)); top: 32%; height: 14px; border-radius: 10px; background: var(--beam, #fff); box-shadow: 0 0 18px 6px var(--beam, #fff); transform-origin: left center; transform: scaleX(0); opacity: 0; }
.pwr-stage.is-firing .pwr-beam { animation: pwrBeam .9s var(--ease) both; }
@keyframes pwrBeam { 0% { transform: scaleX(0); opacity: 1; } 35% { transform: scaleX(1); opacity: 1; } 75% { transform: scaleX(1); opacity: .9; } 100% { transform: scaleX(1); opacity: 0; } }
.pwr-stage[data-mode="calor"] .pwr-target { filter: sepia(1) saturate(6) hue-rotate(-30deg) brightness(1.1); animation: pwrShake .4s .3s 3; }
.pwr-stage[data-mode="frio"] .pwr-ice { opacity: 1; transform: none; }
.pwr-stage[data-mode="frio"] .pwr-target { filter: saturate(.3) brightness(1.15); }
.pwr-stage[data-mode="ima"] .pwr-target { transform: translateX(-38%) rotate(-8deg); filter: drop-shadow(0 0 16px #C46BD8); }
.pwr-stage[data-mode="forca"] .pwr-target { transform: translateX(70%) rotate(24deg); opacity: .5; }
.pwr-stage[data-mode="inviso"] .pwr-hero { opacity: .12; filter: blur(1px) drop-shadow(0 0 2px #fff); }
@keyframes pwrShake { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.pwr-say { position: absolute; left: 50%; top: 4%; translate: -50% 0; margin: 0; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 800; white-space: nowrap; }
.pwr-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; max-width: 1100px; margin: clamp(20px, 3vw, 34px) auto 0; }
.pwr-btn { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 2px solid var(--pc); border-radius: 16px; background: rgba(255, 255, 255, .04); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s, transform .2s var(--bounce), box-shadow .2s; }
.pwr-btn b { font: 400 18px/1.1 var(--display); color: var(--pc); }
.pwr-btn small { font-size: 13px; opacity: .75; }
.pwr-btn:hover { transform: translateY(-3px); box-shadow: 0 0 22px -4px var(--pc); }
.pwr-btn.is-on { background: color-mix(in srgb, var(--pc) 22%, transparent); }
@media (max-width: 700px) {
  .pwr-hero { left: 0; }
  .pwr-target { right: 2%; }
  .pwr-beam { left: 30%; right: 30%; }
  .pwr-say { white-space: normal; width: 90%; text-align: center; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .pwr-scan, .pwr-stage.is-firing .pwr-beam { animation: none; } }

/* Personagens no topo (Pepe Legal, Space Ghost): a camada ocupa só a largura da tela, também no celular */
.scene .layer.west-duo, .scene .layer.gh-hero { inset: 0; left: 0; width: 100%; height: 100%; }


/* ============================================================ O CAMPEONATO MALUCO (episódios da Corrida Maluca) */
.cmp { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); color: #fff; overflow: hidden;
  background: linear-gradient(180deg, #1F1A17 0, #2B2420 100%); }
.cmp::before { content: ""; position: absolute; inset: 0 0 auto; height: 28px; background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 0 / 28px 28px; opacity: .9; }
.cmp-head { text-align: center; max-width: 780px; margin: 10px auto clamp(26px, 4vw, 48px); }
.cmp-head .label { margin: 0 auto 12px; justify-content: center; }
.cmp-title { margin: 0; font: italic 400 clamp(46px, 7vw, 108px)/.95 "Racing Sans One", var(--display); color: #FFD23F; text-shadow: 0 .05em 0 #C8372D, 0 .1em 0 #000; }
.cmp-lead { margin: 14px auto 0; font-weight: 600; opacity: .88; }
.cmp-desk { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(16px, 2.4vw, 30px); max-width: 1180px; margin: 0 auto; }
.cmp-screen { position: relative; padding: 14px; border-radius: 12px; background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 0 / 22px 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.cmp-video { display: block; width: 100%; aspect-ratio: 4 / 3; background: #000; object-fit: contain; border-radius: 4px; }
.cmp-lights { position: absolute; left: 50%; top: 40%; translate: -50% -50%; display: flex; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #111; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; }
.cmp-lights i { width: clamp(26px, 3.4vw, 46px); aspect-ratio: 1; border-radius: 50%; background: #3A1515; }
.cmp.is-start .cmp-lights { animation: cmpPanel 2.1s both; }
.cmp.is-start .cmp-lights i { animation: cmpLight 2.1s both; }
.cmp.is-start .cmp-lights i:nth-child(2) { animation-delay: .25s; } .cmp.is-start .cmp-lights i:nth-child(3) { animation-delay: .5s; }
.cmp.is-start .cmp-lights i:nth-child(4) { animation-delay: .75s; } .cmp.is-start .cmp-lights i:nth-child(5) { animation-delay: 1s; }
@keyframes cmpPanel { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cmpLight { 0% { background: #3A1515; } 10%, 70% { background: #FF2A2A; box-shadow: 0 0 18px #FF2A2A; } 75%, 100% { background: #2AFF6A; box-shadow: 0 0 22px #2AFF6A; } }
.cmp-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: #FFF6E0; color: #1F1A17; box-shadow: 8px 8px 0 #C8372D; }
.cmp-n { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cmp-n b { display: inline-block; margin: 0 4px; padding: 0 10px; border-radius: 6px; background: #1F1A17; color: #FFD23F; font: italic 400 24px/1.2 "Racing Sans One", sans-serif; letter-spacing: 0; }
.cmp-name { margin: 0; font: italic 400 clamp(22px, 2.1vw, 28px)/1.05 "Racing Sans One", var(--display); }
.cmp-date { margin: 0; font-size: 13px; font-weight: 700; opacity: .6; }
.cmp-podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 6px; margin-top: auto; padding-top: 10px; }
.cmp-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.cmp-step img { width: 100%; height: 56px; object-fit: contain; transition: transform .4s var(--bounce); }
.cmp-step b { display: grid; place-items: center; width: 100%; border-radius: 8px 8px 0 0; color: #fff; font: italic 400 22px/1 "Racing Sans One", sans-serif; }
.cmp-step.is-p1 b { height: 70px; background: #E8A33D; }
.cmp-step.is-p2 b { height: 52px; background: #9AA3B2; }
.cmp-step.is-p3 b { height: 38px; background: #B0703A; }
.cmp-step span { font-size: 11px; font-weight: 700; line-height: 1.2; min-height: 2.4em; }
.cmp.is-start .cmp-step img { animation: cmpPop .6s var(--bounce) both; }
.cmp.is-start .cmp-step.is-p2 img { animation-delay: .1s; } .cmp.is-start .cmp-step.is-p3 img { animation-delay: .2s; }
@keyframes cmpPop { from { transform: translateY(20px) scale(.6); opacity: 0; } }
.cmp-nav { display: flex; gap: 10px; }
.cmp-btn { flex: 1; height: 48px; border: 0; border-radius: 10px; background: #C8372D; color: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 5px 0 #7A1E18; transition: transform .12s, box-shadow .12s; }
.cmp-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #7A1E18; }

.cmp-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1180px; margin: clamp(36px, 5vw, 60px) auto 22px; }
.cmp-chip { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; border: 2px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #fff; font: italic 400 16px "Racing Sans One", sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.cmp-chip img { height: 30px; width: 54px; object-fit: contain; }
.cmp-chip:hover { border-color: #FFD23F; }
.cmp-chip.is-on { background: #FFD23F; border-color: #FFD23F; color: #1F1A17; }
.cmp-guide { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cmp-guide li[hidden] { display: none; }
.cmp-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 2px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .05); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s, transform .25s var(--bounce); }
.cmp-item:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.cmp-item.is-on { border-color: #FFD23F; background: rgba(255, 210, 63, .12); }
.cmp-thumb { position: relative; flex: none; width: 96px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #000; }
.cmp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cmp-thumb em { position: absolute; left: 4px; top: 4px; min-width: 24px; padding: 1px 5px; border-radius: 5px; background: #FFD23F; color: #1F1A17; font: italic 400 14px/1.2 "Racing Sans One", sans-serif; text-align: center; }
.cmp-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cmp-txt b { font-size: 14px; line-height: 1.2; }
.cmp-txt small { font-size: 12px; opacity: .7; }
.cmp-seen { position: absolute; top: -8px; right: -6px; display: none; font-size: 18px; }
.cmp-item.is-seen .cmp-seen { display: block; }

.cmp-table-wrap { max-width: 860px; margin: clamp(46px, 6vw, 80px) auto 0; }
.cmp-table-title { margin: 0; text-align: center; font: italic 400 clamp(30px, 3.6vw, 48px)/1 "Racing Sans One", var(--display); color: #FFD23F; }
.cmp-table-sub { margin: 8px 0 18px; text-align: center; font-size: 14px; opacity: .75; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15px; }
.cmp-table th { padding: 0 10px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; text-align: center; }
.cmp-table th:nth-child(2) { text-align: left; }
.cmp-table td { padding: 8px 10px; background: rgba(255, 255, 255, .06); text-align: center; }
.cmp-table td:first-child { border-radius: 10px 0 0 10px; font: italic 400 20px "Racing Sans One", sans-serif; color: #FFD23F; }
.cmp-table td:last-child { border-radius: 0 10px 10px 0; }
.cmp-table tbody tr:first-child td { background: rgba(255, 210, 63, .18); }
.cmp-tcar { display: flex; align-items: center; gap: 10px; text-align: left; }
.cmp-tcar img { width: 64px; height: 36px; object-fit: contain; flex: none; }
.cmp-tcar b { display: block; font-size: 14px; }
.cmp-tcar small { font-size: 12px; opacity: .65; }
.cmp-table tr.is-dick td { background: rgba(107, 63, 160, .25); }
.cmp-dick { margin: 14px 0 0; text-align: center; font-weight: 700; color: #C9A8F0; }
@media (max-width: 900px) { .cmp-desk { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cmp-table th:nth-child(3), .cmp-table th:nth-child(4), .cmp-table th:nth-child(5), .cmp-table td:nth-child(3), .cmp-table td:nth-child(4), .cmp-table td:nth-child(5) { display: none; }
  .cmp-tcar img { width: 48px; }
}
@media (prefers-reduced-motion: reduce) { .cmp.is-start .cmp-lights, .cmp.is-start .cmp-lights i, .cmp.is-start .cmp-step img { animation: none; } }


/* ==========================================================================
   TEMA "MYSTERY" — Scooby-Doo (começa sombrio e vai clareando ao descer)
   ========================================================================== */
.theme-mystery {
  --ink: #1B1530; --ink-2: #2A2350;
  --paper: #FFF6E2; --paper-2: #F3E7CC;
  --stone: #E9DDF5; --stone-d: #8C7DB5;
  --sun: #E8F04A;
  --display: "Bowlby One", "Arial Black", sans-serif;
}
.theme-mystery ::selection { background: var(--c1); color: #1B1530; }
.theme-mystery .hero { background: #07060E; }
.theme-mystery .hero::after { background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(7, 6, 14, .4), transparent 72%), linear-gradient(to bottom, transparent 65%, rgba(7, 6, 14, .7)); }
.theme-mystery .hero-title { font-size: clamp(56px, 11vw, 190px); color: var(--c1); letter-spacing: .01em;
  text-shadow: 0 .04em 0 #3EC1C9, 0 .08em 0 #1B1530, 0 0 .5em rgba(232, 240, 74, .25); }
.theme-mystery .hl { transform: translateY(30px) rotate(-14deg); opacity: 0; animation-name: myShiver; animation-duration: 1.1s; animation-timing-function: var(--ease); }
@keyframes myShiver { 30% { transform: translate(-4px, 0) rotate(4deg); opacity: 1; } 45% { transform: translate(4px, 0) rotate(-4deg); } 60% { transform: translate(-2px, 0) rotate(2deg); } to { transform: rotate(calc(var(--r) * .3)); opacity: 1; } }
.theme-mystery .hero-kicker { background: rgba(27, 21, 48, .7); }
.my-windows rect { animation: myFlicker 4s steps(1) infinite; } .my-windows rect:nth-child(2n) { animation-delay: -1.7s; }
@keyframes myFlicker { 0%, 100% { opacity: 1; } 47% { opacity: .2; } 50% { opacity: 1; } 80% { opacity: .6; } }
.my-bats path { animation: myBat 1.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes myBat { to { scale: 1 .55; } }
.my-eyes g { animation: myBlink 5s steps(1) infinite; } .my-eyes g:nth-child(2) { animation-delay: -2.4s; }
@keyframes myBlink { 0%, 100% { opacity: 1; } 46%, 49% { opacity: 0; } 70% { opacity: 0; } 76% { opacity: 1; } }
.my-fog ellipse { animation: myFog 12s ease-in-out infinite alternate; } .my-fog ellipse:nth-child(2) { animation-duration: 16s; }
@keyframes myFog { to { translate: 140px 0; } }
@media (prefers-reduced-motion: reduce) { .my-windows rect, .my-bats path, .my-eyes g, .my-fog ellipse { animation: none; } }

/* Hero clássico em camadas: mansão, van, turma, dupla medrosa e fantasma. */
.theme-mystery:has(.scooby-scene) .hero::after {
  background: radial-gradient(ellipse 56% 48% at 50% 44%, rgba(7, 6, 14, .12), transparent 70%), linear-gradient(to bottom, rgba(7, 6, 14, .18), transparent 36%, transparent 72%, rgba(7, 6, 14, .58));
}
.scooby-scene { overflow: hidden; background: #282452; }
.scooby-scene .scooby-bg { inset: -3% !important; width: 106% !important; height: 106% !important; overflow: hidden; }
.scooby-scene .scooby-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.scooby-scene .scooby-prop { inset: auto !important; width: auto !important; height: auto !important; object-fit: contain !important; object-position: center bottom; filter: drop-shadow(0 12px 12px rgba(5, 4, 12, .42)); }
.scooby-scene .scooby-ghost { right: 7% !important; top: 17% !important; max-width: 14%; max-height: 42%; z-index: 2; opacity: .88; animation: scoobyGhost 5.5s ease-in-out infinite; }
.scooby-scene .scooby-van { left: 2% !important; bottom: 6% !important; max-width: 31%; max-height: 43%; z-index: 3; }
.scooby-scene .scooby-trio { left: 25% !important; bottom: 1% !important; max-width: 31%; max-height: 46%; z-index: 5; }
.scooby-scene .scooby-shaggy { right: 16% !important; bottom: -1% !important; max-width: 22%; max-height: 57%; z-index: 6; }
.scooby-scene .scooby-dog { right: 1% !important; bottom: -1% !important; max-width: 22%; max-height: 51%; z-index: 7; }
.scooby-fog { inset: auto -8% -4% !important; width: 116% !important; height: 31% !important; z-index: 8; pointer-events: none; opacity: .32; background: radial-gradient(ellipse at 14% 76%, rgba(212, 220, 229, .8), transparent 27%), radial-gradient(ellipse at 50% 88%, rgba(210, 221, 228, .7), transparent 31%), radial-gradient(ellipse at 85% 72%, rgba(216, 222, 232, .72), transparent 28%); filter: blur(18px); }
.scooby-fog-a { animation: scoobyFogA 12s ease-in-out infinite alternate; }
.scooby-fog-b { bottom: 8% !important; opacity: .2; animation: scoobyFogB 16s ease-in-out infinite alternate; }
.theme-mystery:has(.scooby-scene) .scooby-content { position: relative; z-index: 10; width: min(96vw, 1500px); transform: translateY(-12vh); pointer-events: none; }
.theme-mystery:has(.scooby-scene) .scooby-content .hero-title { font-size: clamp(58px, 10vw, 164px); }
.theme-mystery:has(.scooby-scene) .scooby-content .hero-tagline { text-shadow: 0 3px 10px rgba(7, 6, 14, .95); }
@keyframes scoobyGhost { 50% { translate: 0 -9px; opacity: .68; } }
@keyframes scoobyFogA { to { translate: 6% 0; } }
@keyframes scoobyFogB { to { translate: -7% 0; } }

@media (max-width: 900px) {
  .scooby-scene .scooby-ghost { right: 2% !important; top: 18% !important; max-width: 20%; }
  .scooby-scene .scooby-van { left: -8% !important; bottom: 10% !important; max-width: 42%; }
  .scooby-scene .scooby-trio { left: 17% !important; max-width: 41%; max-height: 39%; }
  .scooby-scene .scooby-shaggy { right: 15% !important; max-width: 28%; max-height: 49%; }
  .scooby-scene .scooby-dog { right: -6% !important; max-width: 29%; max-height: 45%; }
  .theme-mystery:has(.scooby-scene) .scooby-content { transform: translateY(-17vh); }
}

@media (max-width: 600px) {
  .scooby-scene .scooby-bg img { object-position: 62% center; }
  .scooby-scene .scooby-ghost { right: 1% !important; top: 20% !important; max-width: 26%; max-height: 32%; }
  .scooby-scene .scooby-van { left: -23% !important; bottom: 12% !important; max-width: 66%; max-height: 33%; }
  .scooby-trio { display: none; }
  .scooby-scene .scooby-shaggy { right: 30% !important; bottom: -2% !important; max-width: 36%; max-height: 41%; }
  .scooby-scene .scooby-dog { right: 9% !important; bottom: -1% !important; max-width: 38%; max-height: 37%; }
  .theme-mystery:has(.scooby-scene) .scooby-content { transform: translateY(-19vh); width: 100%; }
  .theme-mystery:has(.scooby-scene) .scooby-content .hero-kicker { max-width: 88vw; padding: 7px 10px; gap: 7px; font-size: 8px; letter-spacing: .16em; white-space: nowrap; }
  .theme-mystery:has(.scooby-scene) .scooby-content .hero-title { font-size: 8.5vw; white-space: nowrap; }
  .theme-mystery:has(.scooby-scene) .scooby-content .hero-tagline { width: 88vw; max-width: 88vw; margin-inline: auto; padding-inline: 8px; font-size: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .scooby-ghost, .scooby-fog-a, .scooby-fog-b { animation: none; }
}

/* Faixa: ponto de interrogação de pista */
.clue { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 12px; border-radius: 50%; background: var(--paper); }
.clue::after { content: "?"; font: 400 22px/1 var(--display); color: var(--ink); }
.theme-mystery .marquee { background: #3EC1C9; color: #1B1530; }

/* Do escuro ao claro: cada seção continua a cor de onde a anterior parou */
.theme-mystery .synopsis { background: linear-gradient(#0B0A16, #16122B); color: #ECE7F8; }
.theme-mystery .synopsis * { color: inherit; }
.theme-mystery .cast { background: linear-gradient(#16122B, #241D45); }
.theme-mystery .world { background: linear-gradient(#241D45, #4E427A); }
.theme-mystery .story { background: linear-gradient(#8C7DB5, #CFC4E3); }
.theme-mystery .facts { background: linear-gradient(#CFC4E3, #F3E9D2); }
.theme-mystery .gallery { background: linear-gradient(#F3E9D2, #FFF6E2); }
.theme-mystery .more { background: #FFF6E2; color: #1B1530; }
.theme-mystery .more .label { color: #1B1530; }
.theme-mystery .place-icon .cut { fill: var(--paper); }
.theme-mystery .place-icon .ln { fill: none; stroke: currentColor; stroke-width: 4; }

/* Home */
.slide.theme-mystery { background: #07060E; }
.slide.theme-mystery .slide-title { color: #A6D83A; text-shadow: 0 .04em 0 #3EC1C9, 0 .08em 0 #1B1530; }
.show.theme-mystery .show-bg { background: linear-gradient(160deg, #3EC1C9, #1B1530 80%); }

/* ============================================================ A MÁQUINA DO MISTÉRIO (scroll) */
.mm { --p: 0; position: relative; height: 340svh; }
.mm-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #fff; }
.mm-sky { position: absolute; inset: 0; background: linear-gradient(#16122B, #241D45); }
.mm-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#7FB4E8 0%, #F7C59F 70%, #FFE3A8 100%); opacity: var(--p); }
.mm-stars { position: absolute; inset: 0 0 40%; opacity: calc(1 - var(--p) * 1.6);
  background-image: radial-gradient(1.5px 1.5px at 30px 40px, #fff, transparent), radial-gradient(1px 1px at 140px 90px, #fff, transparent), radial-gradient(1.5px 1.5px at 220px 20px, #F6F1C8, transparent);
  background-size: 260px 140px; }
.mm-moon { position: absolute; z-index: 1; right: 14%; top: calc(10% + var(--p) * 70%); width: clamp(70px, 9vw, 130px); aspect-ratio: 1; border-radius: 50%; background: #F6F1C8; box-shadow: 0 0 60px 20px rgba(246, 241, 200, .25); opacity: calc(1 - var(--p) * 1.2); }
.mm-sun { position: absolute; z-index: 1; left: 12%; top: calc(85% - var(--p) * 70%); width: clamp(90px, 11vw, 160px); aspect-ratio: 1; border-radius: 50%; background: #FFD45A; box-shadow: 0 0 80px 30px rgba(255, 212, 90, .45); opacity: calc(var(--p) * 1.4 - .2); }
.mm-hills { position: absolute; left: 0; right: 0; bottom: 20%; height: 30%; z-index: 2;
  background: radial-gradient(ellipse 40% 100% at 20% 100%, var(--hill, #2A2350) 98%, transparent 100%), radial-gradient(ellipse 45% 90% at 75% 100%, var(--hill, #2A2350) 98%, transparent 100%);
  filter: brightness(calc(.6 + var(--p) * .9)) saturate(calc(.4 + var(--p))); }
.mm-hills { --hill: #4A7A3A; }
.mm-head { position: absolute; z-index: 4; left: 0; right: 0; top: calc(var(--nav-h) + 3vh); text-align: center; padding: 0 var(--gutter); color: #fff; opacity: calc(1 - var(--p) * 3); text-shadow: 0 3px 12px rgba(0, 0, 0, .5); }
.mm-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #A6D83A; }
.mm-title { margin: 0; font: 400 clamp(26px, 3.6vw, 52px)/1.05 var(--display); }
.mm-road { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 20%; background: #2E2B38; border-top: 6px solid #4A4656; }
.mm-road::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 8px; background: repeating-linear-gradient(90deg, #F2E28A 0 60px, transparent 60px 120px); background-position: calc(var(--p) * -1400px) 0; opacity: .85; }
.mm-van { position: absolute; z-index: 5; left: 0; bottom: calc(20% - 4px); width: clamp(240px, 30vw, 460px); transform: translateX(var(--x, -110%)); will-change: transform; }
.mm-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .35)); }
.mm-van:not(.has-img).is-back .mm-svg { transform: scaleX(-1); }
.mm-wheel { transform: rotate(var(--rot, 0deg)); }
.mm-van.has-img .mm-img { display: block; width: 100%; height: auto; }
.mm-van.has-img .mm-img.is-l, .mm-van.has-img.is-back .mm-img.is-r { display: none; }
.mm-van.has-img.is-back .mm-img.is-l { display: block; }
.mm-clue { position: absolute; z-index: 4; top: 34%; width: clamp(170px, 18vw, 240px); translate: -50% 20px; padding: 14px 16px; border-radius: 14px; background: #FFF6E2; color: #1B1530; box-shadow: 0 10px 0 #1B1530; opacity: 0; transition: opacity .4s, translate .5s var(--bounce); }
.mm-clue.is-on { opacity: 1; translate: -50% 0; }
.mm-clue b { display: block; font: 400 18px/1 var(--display); color: #F28C38; margin-bottom: 4px; }
.mm-clue span { font-size: 14px; font-weight: 700; line-height: 1.35; }
.mm-bar { position: absolute; z-index: 6; left: 50%; bottom: 3%; width: min(300px, 60vw); height: 5px; translate: -50% 0; border-radius: 5px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.mm-bar span { display: block; height: 100%; width: calc(var(--p) * 100%); background: #A6D83A; }
@media (max-width: 700px) {
  .mm-clue { top: 30%; width: 60vw; font-size: 13px; }
  .mm-van { width: 62vw; }
}

/* Título dos lugares: nunca quebra no meio da palavra (o main.js diminui a fonte até caber) */
.world-title { overflow-wrap: normal; word-break: normal; hyphens: manual; }


/* ============================================================ O GIBI (folheável) */
.hq { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); color: #fff; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #5B3A7A, #2A1638 70%); }
.hq-head { text-align: center; max-width: 760px; margin: 0 auto clamp(24px, 3.4vw, 44px); }
.hq-head .label { margin: 0 auto 12px; justify-content: center; }
.hq-title { margin: 0; font: 400 clamp(42px, 6vw, 90px)/.95 var(--display); color: var(--sun); text-shadow: 0 .05em 0 var(--c2), 0 .1em 0 #1B0E26; }
.hq-lead { margin: 14px auto 0; font-weight: 600; opacity: .88; }
.hq-stage { width: min(1200px, calc((100svh - 190px) * 4 / 3)); margin: 0 auto; }
@media (max-width: 700px) { .hq-stage { width: min(100%, calc((100svh - 190px) * 2 / 3)); } }
.hq:fullscreen .hq-stage { width: min(100%, calc((100svh - 100px) * 4 / 3)); }
.hq-book { margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.hq-page { background: #F6EFE0; overflow: hidden; }
.hq-page img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.hq-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.hq-btn { width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--sun); color: #2A1638; font-size: 18px; cursor: pointer; box-shadow: 0 5px 0 #1B0E26; transition: transform .15s; }
.hq-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #1B0E26; }
.hq-full { background: rgba(255, 255, 255, .15); color: #fff; }
.hq-count { min-width: 120px; text-align: center; font-weight: 800; }
.hq-count b { font: 400 22px var(--display); color: var(--sun); }
.hq:fullscreen { display: flex; flex-direction: column; justify-content: center; padding: 20px; }
.hq:fullscreen .hq-head { display: none; }


/* ==========================================================================
   TEMA "TALE" — As Aventuras de Gulliver (livro de contos)
   ========================================================================== */
.theme-tale {
  --ink: #1C2350; --ink-2: #2A3270;
  --paper: #FFF5E6; --paper-2: #F7E3C4;
  --stone: #F7C98A; --stone-d: #B8582A;
  --sun: #FFD86B;
  --display: "Cinzel Decorative", "Bowlby One", serif;
}
.theme-tale ::selection { background: var(--c2); color: #fff; }
.theme-tale .hero.has-photo { background: #E8642B; }
.theme-tale .hero .layer.photo img { object-position: center 30%; }
.theme-tale .hero::after { background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(28, 35, 80, .35), transparent 72%), linear-gradient(to bottom, rgba(28, 35, 80, .45), transparent 30%, transparent 70%, rgba(28, 35, 80, .55)); }
.theme-tale .hero-kicker { background: rgba(28, 35, 80, .6); }

/* Hero de Lilliput em camadas independentes. Os PNGs serão substituídos por
   versões transparentes sem alterar estes nomes, posições ou profundidades. */
.theme-tale:has(.gul-scene) .hero { background: #9FC7E8; }
.theme-tale:has(.gul-scene) .hero::after {
  background: linear-gradient(to bottom, rgba(25, 31, 68, .18), transparent 28%, transparent 70%, rgba(25, 31, 68, .32));
}
.gul-scene { overflow: hidden; }
.gul-scene .gul-bg { inset: -3% !important; width: 106% !important; height: 106% !important; overflow: hidden; }
.gul-scene .gul-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gul-scene .gul-figure { top: auto !important; left: auto; right: auto; bottom: auto; width: auto !important; height: auto !important; object-fit: contain !important; object-position: center bottom; }
.gul-scene .gul-gary { right: -2%; bottom: -10%; max-height: 94%; max-width: 40%; z-index: 2; }
.gul-scene .gul-tagg { right: 27%; bottom: -4%; max-height: 34%; max-width: 22%; z-index: 4; }
.gul-scene .gul-flirtacia { left: 3%; bottom: -4%; max-height: 43%; max-width: 18%; z-index: 5; }
.gul-scene .gul-pomp { left: 16%; bottom: -5%; max-height: 34%; max-width: 16%; z-index: 6; }
.gul-scene .gul-bunko { left: 28%; bottom: -5%; max-height: 38%; max-width: 16%; z-index: 4; }
.gul-scene .gul-egger { left: 39%; bottom: -5%; max-height: 32%; max-width: 14%; z-index: 6; }
.gul-scene .gul-soturno { left: 50%; bottom: -5%; max-height: 31%; max-width: 15%; z-index: 5; }
.theme-tale:has(.gul-scene) .gul-content { position: relative; z-index: 8; transform: translateY(-11vh); pointer-events: none; }
.theme-tale:has(.gul-scene) .gul-logo { transform: scale(.76); transform-origin: center; }
.theme-tale:has(.gul-scene) .gul-content .hero-tagline { margin-top: -14px; text-shadow: 0 2px 8px rgba(18, 24, 63, .9); }

/* Os cards já apontam para os mesmos arquivos definitivos usados no hero. */
.theme-tale .card-art.has-fig { overflow: hidden; }
.theme-tale .card-art .card-fig { bottom: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center bottom; }
.theme-tale .rail:has(.has-fig) { padding-top: 132px; }

@media (max-width: 900px) {
  .gul-scene .gul-gary { right: -14%; max-height: 82%; max-width: 58%; }
  .gul-scene .gul-tagg { right: 22%; max-height: 27%; max-width: 28%; }
  .gul-scene .gul-flirtacia { left: -2%; max-height: 34%; max-width: 25%; }
  .gul-scene .gul-pomp { left: 14%; max-height: 27%; max-width: 22%; }
  .gul-scene .gul-bunko { left: 29%; max-height: 30%; max-width: 21%; }
  .gul-scene .gul-egger { display: none; }
  .gul-scene .gul-soturno { left: 43%; max-height: 25%; max-width: 22%; }
  .theme-tale:has(.gul-scene) .gul-content { transform: translateY(-16vh); }
  .theme-tale:has(.gul-scene) .gul-logo { transform: scale(.68); }
}

@media (max-width: 600px) {
  .gul-scene .gul-bg img { object-position: 52% center; }
  .gul-scene .gul-gary { right: -28%; bottom: -7%; max-height: 72%; max-width: 78%; }
  .gul-scene .gul-tagg { right: 24%; bottom: -2%; max-height: 22%; max-width: 35%; }
  .gul-scene .gul-flirtacia { left: -8%; bottom: -3%; max-height: 28%; max-width: 32%; }
  .gul-scene .gul-pomp { left: 13%; bottom: -3%; max-height: 23%; max-width: 28%; }
  .gul-scene .gul-bunko, .gul-scene .gul-egger, .gul-scene .gul-soturno { display: none; }
  .theme-tale:has(.gul-scene) .gul-content { transform: translateY(-20vh); width: 100%; }
  .theme-tale:has(.gul-scene) .gul-logo { transform: scale(.58); }
  .theme-tale:has(.gul-scene) .gul-content .hero-tagline { margin-top: -34px; padding-inline: 18px; font-size: 16px; }
}

/* O logo: letras de livro de contos, azuis com contorno, e o "de" entre ornamentos */
.gul-logo { display: flex; flex-direction: column; align-items: center; line-height: .95; font-family: "Cinzel Decorative", serif; font-weight: 900; color: #3D55C8;
  -webkit-text-stroke: .035em #12183F; paint-order: stroke fill; filter: drop-shadow(0 0 .04em #FFF5E6) drop-shadow(0 0 .04em #FFF5E6) drop-shadow(.05em .07em 0 rgba(18, 24, 63, .55)); }
.gul-as { font-size: clamp(30px, 4vw, 64px); }
.gul-av { font-size: clamp(40px, 7.4vw, 124px); letter-spacing: .01em; }
.gul-de { display: flex; align-items: center; gap: .4em; margin: .05em 0; font-size: clamp(24px, 3vw, 46px); font-style: italic; }
.gul-de i { display: block; width: clamp(50px, 9vw, 150px); height: .14em; background: #3D55C8; border: .04em solid #12183F; border-radius: 1em; position: relative; }
.gul-de i::after { content: ""; position: absolute; top: 50%; width: .42em; height: .42em; background: #3D55C8; border: .05em solid #12183F; transform: translateY(-50%) rotate(45deg); }
.gul-de i:first-child::after { right: -.1em; } .gul-de i:last-child::after { left: -.1em; }
.gul-name { font-size: clamp(50px, 9vw, 156px); letter-spacing: .02em; }
.gul-content .hero-tagline { margin-top: 18px; }
.slide .gul-logo { margin: 10px 0 0; }
.slide .gul-av { font-size: clamp(36px, 6vw, 100px); } .slide .gul-name { font-size: clamp(44px, 7.4vw, 124px); }

/* Faixa: coroa */
.crown { flex: none; width: 36px; height: 30px; margin: 0 12px; background: var(--paper);
  clip-path: polygon(0 30%, 22% 55%, 50% 0, 78% 55%, 100% 30%, 90% 100%, 10% 100%);
  animation: wave 1s ease-in-out infinite alternate; }
.theme-tale .marquee { background: #2F45A8; color: #FFF5E6; }
.theme-tale .marquee .crown { background: #FFD86B; }
.theme-tale .place-icon .cut { fill: var(--paper); }
.theme-tale .place-icon .ln { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; }
.theme-tale .place-icon .cut-ln { fill: none; stroke: var(--paper); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-tale .world { background: #E8642B; }
.slide.theme-tale { background: #E8642B; }
.show.theme-tale .show-bg { background: linear-gradient(160deg, #F2A15A, #E8642B 80%); }
.show.theme-tale .show-title { font-family: "Cinzel Decorative", serif; font-weight: 900; }

/* ============================================================ DO TAMANHO DE UM LILIPUTIANO */
.lil { position: relative; padding: clamp(70px, 9vw, 130px) var(--gutter); background: linear-gradient(#FFF5E6, #F7E3C4); color: #1C2350; overflow: hidden; }
.lil-head { text-align: center; max-width: 760px; margin: 0 auto clamp(24px, 3vw, 40px); }
.lil-head .label { margin: 0 auto 12px; justify-content: center; color: #2F45A8; }
.lil-title { margin: 0; font: 900 clamp(34px, 5vw, 76px)/1.05 "Cinzel Decorative", serif; color: #2F45A8; }
.lil-lead { margin: 14px auto 0; font-weight: 600; }
.lil-stage { --unit: calc(min(340px, 70vw) / 180); position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 2.4vw, 34px); height: min(380px, 58vw); max-width: 1100px; margin: 0 auto; padding: 0 12px 26px; }
.lil-person { position: relative; display: flex; flex-direction: column; align-items: center; height: calc(var(--unit) * 180 * var(--z, 1) / var(--k)); }
.lil-person svg { height: 100%; width: auto; fill: #2F45A8; }
.lil-person small, .lil-thing small { position: absolute; bottom: -24px; left: 50%; translate: -50% 0; white-space: nowrap; font-size: 12px; font-weight: 800; opacity: .7; }
.lil-thing { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.lil-em { display: block; font-size: calc(var(--unit) * var(--cm) * 1.15 * var(--z, 1)); line-height: 1; }
.lil-ground { position: absolute; left: 0; right: 0; bottom: 18px; height: 4px; border-radius: 4px; background: #B8582A; opacity: .4; }
.lil-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 600px; margin: 40px auto 0; font-weight: 800; }
.lil-range { flex: 1; accent-color: #2F45A8; height: 28px; }
.lil-say { margin: 14px 0 0; text-align: center; font: 700 clamp(17px, 1.8vw, 24px)/1.3 "Cinzel Decorative", serif; color: #B8582A; min-height: 1.3em; }


/* ============================================================ GIBITECA (a banca) */
.page-gibis { background: #FFF6E6; }
.gb-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(60px, 7vw, 100px)) var(--gutter) clamp(40px, 5vw, 70px); background: #2B1F14; color: #fff; text-align: center; }
.gb-awning { position: absolute; left: 0; right: 0; top: var(--nav-h); height: 46px; background: repeating-linear-gradient(90deg, #E8584A 0 60px, #FFF6E6 60px 120px);
  -webkit-mask: radial-gradient(30px 16px at 30px 46px, transparent 98%, #000) 0 0 / 60px 100%; mask: radial-gradient(30px 16px at 30px 46px, transparent 98%, #000) 0 0 / 60px 100%; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .25)); }
.gb-hero-in { position: relative; max-width: 980px; margin: 0 auto; }
.gb-kicker { display: inline-block; margin: 0 0 12px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #F2C94C; }
.gb-title { margin: 0; font: 400 clamp(48px, 8vw, 120px)/.9 var(--display); color: #F2C94C; text-shadow: 0 .04em 0 #E8584A, 0 .08em 0 #120C07; }
.gb-lead { max-width: 640px; margin: 16px auto 0; font-weight: 600; opacity: .9; }
.gb-hero .cat-stats dd { color: #fff; }
.gb-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 0; }
.gb-chip { padding: 9px 16px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 999px; background: transparent; color: #fff; font: 800 14px var(--body); cursor: pointer; }
.gb-chip.is-on { background: #F2C94C; border-color: #F2C94C; color: #2B1F14; }
.gb-body { max-width: 1320px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(60px, 8vw, 110px); color: #2B1F14; }
.gb-group { scroll-margin-top: calc(var(--nav-h) + 20px); margin-bottom: 40px; }
.gb-group[hidden] { display: none; }
.gb-shelf-title { margin: 0 0 14px; font: 400 clamp(24px, 2.6vw, 36px)/1 var(--display); }
.gb-shelf-title small { font: 800 14px var(--body); opacity: .5; }
.gb-shelf { position: relative; padding-bottom: 22px; }
.gb-shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; border-radius: 4px; background: linear-gradient(#A8713F, #7A4D23); box-shadow: 0 8px 14px rgba(43, 31, 20, .25); }
.gb-row { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.gb-book { position: relative; flex: none; width: clamp(130px, 13vw, 170px); scroll-snap-align: start; color: inherit; text-decoration: none; }
.gb-book[hidden] { display: none; }
.gb-book img { display: block; width: 100%; aspect-ratio: 9 / 13; object-fit: cover; border-radius: 3px; box-shadow: 4px 6px 0 rgba(43, 31, 20, .25); transition: transform .3s var(--bounce); }
.gb-book:hover img { transform: translateY(-8px) rotate(-1.5deg); }
.gb-book b { display: block; margin-top: 10px; font-size: 13px; line-height: 1.25; }
.gb-book small { display: block; font-size: 12px; opacity: .6; }
.gb-badge { position: absolute; top: -6px; right: -6px; padding: 3px 8px; border-radius: 999px; background: #E8584A; color: #fff; font: 400 13px/1.2 var(--display); box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }

/* Ficha de um gibi */
.gb-hero.is-one { text-align: left; padding-bottom: clamp(30px, 4vw, 50px); }
.gb-one { position: relative; max-width: 1100px; margin: 0 auto; }
.gb-crumb { margin-bottom: 18px; font-size: 14px; font-weight: 700; opacity: .8; }
.gb-crumb a { color: #F2C94C; }
.gb-one-grid { display: grid; grid-template-columns: minmax(160px, 280px) 1fr; gap: clamp(20px, 4vw, 50px); align-items: center; }
.gb-one-cover { width: 100%; height: auto; border-radius: 4px; box-shadow: 10px 12px 0 rgba(0, 0, 0, .35); transform: rotate(-2deg); }
.gb-one-title { margin: 6px 0 16px; font: 400 clamp(34px, 5vw, 70px)/.95 var(--display); color: #F2C94C; }
.gb-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 16px; }
.gb-facts div { display: flex; flex-direction: column-reverse; }
.gb-facts dt { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.gb-facts dd { margin: 0; font: 400 22px/1.1 var(--display); }
.gb-series a { color: #F2C94C; font-weight: 800; }
.gb-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 14px; }
.hq-end { background: #2B1F14 !important; color: #FFF6E6; }
.hq-end-in { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 12%; text-align: center; }
.hq-end-in b { font: 400 clamp(22px, 3vw, 38px)/1 var(--display); color: #F2C94C; margin-bottom: 14px; }
.hq-end-in p { margin: 6px 0; font-size: clamp(13px, 1.4vw, 17px); }
@media (max-width: 640px) { .gb-one-grid { grid-template-columns: 1fr; } .gb-one-cover { max-width: 220px; margin: 0 auto; } }

/* Estante de gibis na página de cada desenho */
.gb-strip { padding: clamp(60px, 8vw, 110px) var(--gutter); background: #2B1F14; color: #FFF6E6; }
.gb-strip-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.gb-strip-head .label { margin: 0 auto 12px; justify-content: center; }
.gb-strip-title { margin: 0; font: 400 clamp(38px, 5.4vw, 80px)/.95 var(--display); color: #F2C94C; }
.gb-strip-lead { margin: 12px 0 0; opacity: .85; font-weight: 600; }
.gb-strip .gb-shelf, .gb-strip-more { max-width: 1240px; margin-inline: auto; }
.gb-strip .gb-book b, .gb-strip .gb-book small { color: #FFF6E6; }
.gb-strip-more { margin-top: 28px; text-align: center; }

/* Máquina do Mistério com imagens: na pista (não no acostamento), rodas girando e balanço enquanto anda */
.mm-van.has-img { bottom: 4%; z-index: 7; }
.mm-body { position: relative; display: block; transform-origin: 50% 100%; }
.mm-van.has-img .mm-img { filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .35)); }
.mm-whl { position: absolute; width: 17.4%; display: none; }
.mm-whl img { display: block; width: 100%; height: auto; }
.mm-van.has-img .mm-whl.is-r { display: block; }
.mm-van.has-img.is-back .mm-whl.is-r { display: none; }
.mm-van.has-img.is-back .mm-whl.is-l { display: block; }
.mm-van.is-moving .mm-body { animation: mm-balanco .36s ease-in-out infinite; }
@keyframes mm-balanco {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  30% { transform: translateY(1px) scale(1.008, .986); }
  65% { transform: translateY(-3px) scale(.996, 1.012); }
}
@media (prefers-reduced-motion: reduce) { .mm-van.is-moving .mm-body { animation: none; } }
/* ============================================================ OS SMURFS — 1981 */
.theme-smurf { --ink:#173a47; --paper:#fff9df; background:#fff9df; }
.theme-smurf .nav { background:linear-gradient(180deg,rgba(18,66,79,.92),rgba(18,66,79,.68) 72%,transparent); }
.theme-smurf .hero { min-height:100svh; background:#8bc5d8; }
.theme-smurf .hero::after { background:linear-gradient(180deg,rgba(17,51,67,.08) 0%,transparent 43%,rgba(18,63,51,.34) 100%); }
.smurf-scene { overflow:hidden; background:#91cfdf; }
.smurf-scene .smurf-bg { inset:-3% !important; width:106% !important; height:106% !important; overflow:hidden; }
.smurf-scene .smurf-bg img { width:100%; height:100%; object-fit:cover; object-position:center 54%; }
.smurf-scene .smurf-prop { inset:auto !important; width:auto !important; height:auto !important; object-fit:contain !important; filter:drop-shadow(0 14px 12px rgba(19,59,50,.28)); }
.smurf-scene .smurf-villains { left:-2% !important; bottom:3% !important; max-width:27%; max-height:50%; z-index:3; opacity:.96; }
.smurf-scene .smurf-friends { right:0 !important; bottom:3% !important; max-width:31%; max-height:45%; z-index:5; }
.smurf-scene .smurf-leaders { right:22% !important; bottom:-1% !important; max-width:25%; max-height:53%; z-index:7; }
.smurf-scene .smurf-sunwash { background:radial-gradient(circle at 57% 28%,rgba(255,244,178,.38),transparent 30%); z-index:2; }
.smurf-scene .smurf-fireflies { z-index:8; pointer-events:none; }
.smurf-fireflies i { position:absolute; width:7px; aspect-ratio:1; border-radius:50%; background:#fff6a9; box-shadow:0 0 9px 3px rgba(255,242,131,.72); animation:smurfGlow 3.2s ease-in-out infinite; }
.smurf-fireflies i:nth-child(1){left:16%;top:31%}.smurf-fireflies i:nth-child(2){left:38%;top:24%;animation-delay:-1.3s}.smurf-fireflies i:nth-child(3){left:63%;top:34%;animation-delay:-.6s}.smurf-fireflies i:nth-child(4){left:79%;top:23%;animation-delay:-2.1s}.smurf-fireflies i:nth-child(5){left:56%;top:65%;animation-delay:-1.8s}.smurf-fireflies i:nth-child(6){left:28%;top:69%;animation-delay:-.9s}
@keyframes smurfGlow { 0%,100%{opacity:.25;transform:translate(0,0) scale(.75)} 50%{opacity:1;transform:translate(6px,-9px) scale(1.2)} }
.theme-smurf .smurf-content { position:relative; z-index:12; width:min(96vw,1460px); transform:translateY(-14vh); pointer-events:none; }
.theme-smurf .hero-kicker { background:rgba(25,72,76,.84); color:#fff8cf; border:1px solid rgba(255,255,255,.28); box-shadow:0 8px 24px rgba(11,48,51,.18); }
.theme-smurf .hero-title { color:#f9fbff; font-size:clamp(68px,11vw,182px); letter-spacing:.015em; text-shadow:0 .045em 0 #53a8d6,0 .085em 0 #176696,0 .11em .08em rgba(12,59,70,.34); }
.theme-smurf .hero-title .hl:nth-child(3n+1) { color:#fff; }
.theme-smurf .hero-tagline { color:#fff; font-weight:800; text-shadow:0 3px 13px rgba(14,58,59,.9); }
.theme-smurf .marquee { background:#2d8fbd; color:#fff; border-color:#155d82; }
.theme-smurf .marquee .mushroom { width:22px; height:18px; position:relative; display:inline-block; margin:0 6px; }
.theme-smurf .marquee .mushroom::before { content:""; position:absolute; left:1px; top:0; width:20px; height:11px; border-radius:12px 12px 5px 5px; background:#e94b42; box-shadow:inset 6px 2px 0 -3px #fff,inset -6px 3px 0 -3px #fff; }
.theme-smurf .marquee .mushroom::after { content:""; position:absolute; left:8px; top:9px; width:7px; height:9px; border-radius:2px 2px 4px 4px; background:#fff4d6; }
.theme-smurf .synopsis { background:linear-gradient(180deg,#fff9df,#edf7de); }
.theme-smurf .synopsis-text strong,.theme-smurf .label { color:#1e739c; }
.theme-smurf .stat { border-color:rgba(30,115,156,.22); }
.theme-smurf .cast { background:#d7f0e1; }
.theme-smurf .character-card { background:#fffdf1; border-color:rgba(30,115,156,.18); }
.theme-smurf .story { background:#174c49; }
.theme-smurf .facts { background:#fff9df; }

.smurf-talk { position:relative; overflow:hidden; padding:clamp(88px,11vw,150px) 0 120px; color:#fff; background:linear-gradient(145deg,#1670a1 0%,#2fa1c7 52%,#59b98a 100%); }
.smurf-talk::before { content:""; position:absolute; inset:0; opacity:.15; background-image:radial-gradient(circle,#fff 1px,transparent 1.5px); background-size:24px 24px; }
.smurf-talk-inner { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.45fr); gap:clamp(48px,8vw,120px); align-items:center; }
.smurf-talk-kicker { margin:0 0 14px; font-size:12px; font-weight:900; letter-spacing:.25em; text-transform:uppercase; color:#fff0a7; }
.smurf-talk h2 { margin:0 0 20px; font-size:clamp(48px,6vw,88px); line-height:.9; letter-spacing:-.04em; }
.smurf-talk h2 em { color:#fff0a7; font-style:normal; }
.smurf-talk-copy>p:last-child { max-width:520px; font-size:18px; line-height:1.7; color:rgba(255,255,255,.82); }
.smurf-phrases { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.smurf-phrase { position:relative; min-height:240px; padding:105px 22px 25px; border-radius:70px 70px 24px 24px; text-align:center; color:#173a47; background:#fff8dc; box-shadow:0 18px 0 rgba(14,72,84,.18); transition:transform .35s var(--ease),box-shadow .35s var(--ease); }
.smurf-phrase:hover { transform:translateY(-12px) rotate(-1deg); box-shadow:0 28px 0 rgba(14,72,84,.14); }
.smurf-phrase b { display:block; font-size:clamp(19px,2vw,27px); line-height:1.05; }
.smurf-phrase small { display:block; margin-top:10px; font-weight:800; color:#2380a7; }
.smurf-cap { position:absolute; left:50%; top:20px; width:92px; height:75px; transform:translateX(-50%); border-radius:58% 46% 42% 50%; background:#fff; filter:drop-shadow(0 6px 0 rgba(23,58,71,.12)); }
.smurf-cap::after { content:""; position:absolute; right:-22px; top:3px; width:55px; height:32px; border-radius:50%; background:inherit; transform:rotate(33deg); }
.smurf-cap.is-red { background:#df493e; }.smurf-cap.is-blue { background:#fff; }.smurf-cap.is-gold { background:#f8d564; }
.smurf-talk-grass { position:absolute; left:-2%; right:-2%; bottom:-25px; height:70px; background:#2f865c; clip-path:polygon(0 70%,2% 29%,3% 65%,5% 13%,7% 68%,10% 20%,12% 70%,15% 27%,17% 66%,20% 12%,23% 71%,26% 31%,29% 67%,33% 8%,36% 70%,40% 24%,44% 69%,48% 14%,52% 68%,56% 26%,60% 71%,64% 10%,68% 69%,72% 25%,76% 68%,80% 12%,84% 70%,88% 22%,92% 68%,96% 11%,98% 67%,100% 30%,100% 100%,0 100%); }

@media (max-width:900px) {
  .smurf-scene .smurf-villains { left:-8% !important; max-width:36%; max-height:42%; }
  .smurf-scene .smurf-friends { right:-7% !important; max-width:42%; max-height:38%; }
  .smurf-scene .smurf-leaders { right:20% !important; max-width:31%; max-height:46%; }
  .theme-smurf .smurf-content { transform:translateY(-18vh); }
  .smurf-talk-inner { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .smurf-scene .smurf-bg img { object-position:56% center; }
  .smurf-scene .smurf-villains { left:-20% !important; bottom:9% !important; max-width:55%; max-height:31%; opacity:.82; }
  .smurf-scene .smurf-friends { right:-17% !important; bottom:1% !important; max-width:59%; max-height:31%; }
  .smurf-scene .smurf-leaders { right:27% !important; bottom:-1% !important; max-width:49%; max-height:35%; }
  .theme-smurf .smurf-content { width:100%; transform:translateY(-21vh); }
  .theme-smurf .smurf-content .hero-kicker { max-width:90vw; padding:7px 10px; gap:8px; font-size:8px; letter-spacing:.14em; white-space:nowrap; }
  .theme-smurf .smurf-content .hero-title { font-size:13.2vw; gap:.02em .15em; }
  .theme-smurf .smurf-content .hero-tagline { width:90vw; max-width:90vw; margin-inline:auto; padding-inline:8px; font-size:14px; text-align:center; }
  .smurf-talk { padding:78px 0 100px; }
  .smurf-phrases { grid-template-columns:1fr; gap:34px; }
  .smurf-phrase { min-height:190px; padding-top:96px; }
}
/* Scooby-Doo também abre o carrossel da home com o mesmo hero em camadas. */
.home-hero .slide:has(.scooby-home-scene) { background:#282452; }
.home-hero .slide:has(.scooby-home-scene) .slide-shade {
  background:radial-gradient(ellipse 58% 46% at 50% 38%,rgba(7,6,14,.08),transparent 72%),linear-gradient(to bottom,rgba(7,6,14,.2),transparent 40%,transparent 68%,rgba(7,6,14,.62));
}
.home-hero .scooby-home-content { position:relative; z-index:12; width:min(94vw,1280px); transform:translateY(-15vh); }
.home-hero .scooby-home-content .hero-kicker { background:rgba(18,13,37,.72); border:1px solid rgba(255,255,255,.16); }
.home-hero .scooby-home-content .slide-title { color:#a6d83a; font-size:clamp(62px,9vw,150px); line-height:.86; text-shadow:0 .045em 0 #3ec1c9,0 .09em 0 #1b1530,0 .13em .12em rgba(5,4,12,.36); }
.home-hero .scooby-home-content .slide-tag { margin-top:18px; text-shadow:0 3px 12px rgba(7,6,14,.95); }
.home-hero .scooby-home-content .btn { position:relative; z-index:14; }
@media (max-width:900px) {
  .home-hero .scooby-home-content { transform:translateY(-18vh); }
}
@media (max-width:600px) {
  .home-hero .scooby-home-content { width:100%; transform:translateY(-20vh); padding-inline:12px; }
  .home-hero .scooby-home-content .hero-kicker { max-width:88vw; padding:7px 10px; gap:7px; font-size:8px; letter-spacing:.15em; white-space:nowrap; }
  .home-hero .scooby-home-content .slide-title { font-size:10.2vw; white-space:nowrap; }
  .home-hero .scooby-home-content .slide-tag { width:90vw; margin:13px auto 18px; font-size:14px; }
  .home-hero .scooby-home-content .btn { padding:12px 18px; font-size:12px; }
}
/* ============================================================ OS SMURFS — AVENTURA CONTROLADA PELO SCROLL */
.smurf-chase { --p:0; --trail:0; --gx:-36; --gy:0; --gr:0; --go:1; --blast:0; --sx:-30; --so:0; --lab:0; --brew:0; --boom:0; --party:0; position:relative; height:520svh; background:#173f4a; }
.smurf-chase-stage { position:sticky; top:0; height:100svh; overflow:hidden; isolation:isolate; color:#fff; }
.smurf-chase-bg { position:absolute; inset:-3%; z-index:-5; background:url('../img/smurfs-hero-village.png') center 58% / cover no-repeat; transform:scale(calc(1.04 + var(--p) * .025)); filter:saturate(calc(.74 + var(--p) * .35)) brightness(calc(.7 + var(--party) * .27)); will-change:transform,filter; }
.smurf-chase-vignette { position:absolute; inset:0; z-index:-4; pointer-events:none; background:radial-gradient(ellipse 68% 58% at 50% 57%,transparent 35%,rgba(7,38,43,.3) 100%),linear-gradient(180deg,rgba(9,44,53,.48),transparent 30%,rgba(9,48,48,.18)); opacity:calc(.88 - var(--party) * .46); }
.smurf-chase-head { position:absolute; z-index:12; left:50%; top:calc(var(--nav-h) + 3vh); width:min(90vw,760px); translate:-50% 0; text-align:center; text-shadow:0 3px 14px rgba(10,42,46,.9); opacity:clamp(0,calc(1 - var(--p) * 5),1); transform:translateY(calc(var(--p) * -45px)); }
.smurf-chase-head p { margin:0 0 8px; color:#fff09b; font-size:11px; font-weight:900; letter-spacing:.25em; text-transform:uppercase; }
.smurf-chase-head h2 { margin:0; font:400 clamp(38px,5vw,76px)/.92 var(--display); color:#fff; }
.smurf-chase-head span { display:block; margin-top:11px; font-weight:800; }
.smurf-chase-villains { position:absolute; z-index:5; left:0; bottom:4%; width:clamp(230px,31vw,500px); max-height:67svh; object-fit:contain; object-position:left bottom; translate:calc(var(--gx) * 1vw) 0; opacity:calc(var(--go) * (1 - var(--blast))); transform-origin:45% 72%; filter:drop-shadow(0 14px 12px rgba(7,31,33,.38)); will-change:translate,opacity; }
.smurf-blast-villains { position:absolute; inset:0; z-index:13; pointer-events:none; opacity:var(--blast); }
.smurf-blast-villains img { position:absolute; bottom:4%; object-fit:contain; object-position:left bottom; filter:drop-shadow(0 18px 14px rgba(7,31,33,.42)); will-change:translate,rotate,scale,opacity; }
.smurf-blast-gargamel { left:8%; width:clamp(230px,31vw,500px); max-height:67svh; translate:calc(var(--blast) * -18vw) calc(var(--blast) * -52vh); rotate:calc(var(--blast) * -138deg); scale:calc(1 - var(--blast) * .16); transform-origin:38% 62%; }
.smurf-blast-azrael { left:20%; width:clamp(140px,19vw,305px); max-height:40svh; translate:calc(var(--blast) * 78vw) calc(var(--blast) * -38vh); rotate:calc(var(--blast) * 225deg); scale:calc(1 - var(--blast) * .35); transform-origin:50% 62%; }
.smurf-chase-friends { position:absolute; z-index:7; left:0; bottom:3%; width:clamp(310px,44vw,690px); max-height:51svh; object-fit:contain; translate:calc(var(--sx) * 1vw) 0; opacity:var(--so); filter:drop-shadow(0 12px 10px rgba(7,31,33,.3)); will-change:translate,opacity; }
.smurf-chase-trail { position:absolute; z-index:2; left:7%; right:26%; bottom:13%; height:28%; transform:rotate(-7deg); }
.smurf-chase-trail i { position:absolute; left:calc(var(--i) * 7.4%); bottom:0; width:clamp(14px,1.7vw,25px); height:clamp(22px,2.7vw,39px); border-radius:52% 48% 56% 44%; background:#573a2b; box-shadow:inset 3px 4px 0 rgba(255,255,255,.12),0 2px 2px rgba(0,0,0,.28); opacity:clamp(0,calc(var(--trail) * 13 - var(--i)),1); transform:rotate(calc(-18deg + var(--i) * 9deg)) scale(clamp(.1,calc(var(--trail) * 13 - var(--i)),1)); }
.smurf-chase-trail i:nth-child(3n+2){bottom:22%}.smurf-chase-trail i:nth-child(3n){bottom:44%}
.smurf-chase-house { position:absolute; z-index:3; right:3%; bottom:-1%; width:clamp(190px,24vw,370px); height:clamp(260px,45svh,450px); border-radius:48% 48% 10% 10%; background:#f6e8bd; border:5px solid #333d3b; box-shadow:inset 14px 0 rgba(231,207,155,.42),0 18px 25px rgba(13,49,43,.3); }
.smurf-chase-cap { position:absolute; left:-16%; right:-16%; top:-22%; height:42%; border-radius:55% 55% 26% 26%; background:#df453e; border:5px solid #343c39; box-shadow:inset 18px 12px rgba(255,255,255,.08); }
.smurf-chase-cap::before,.smurf-chase-cap::after { content:""; position:absolute; border-radius:50%; background:#fff4d6; }
.smurf-chase-cap::before { width:26%; aspect-ratio:1.4; left:15%; top:22%; rotate:-15deg; }.smurf-chase-cap::after { width:20%; aspect-ratio:1.2; right:19%; top:12%; rotate:18deg; }
.smurf-chase-door { position:absolute; left:34%; bottom:0; width:34%; height:46%; border-radius:50% 50% 4% 4%; background:#8d5a32; border:5px solid #343c39; transform-origin:right center; transform:perspective(240px) rotateY(calc(var(--so) * -72deg)); }
.smurf-chase-door::after { content:""; position:absolute; left:14%; top:48%; width:10px; aspect-ratio:1; border-radius:50%; background:#f0c766; }
.smurf-chase-window { position:absolute; right:13%; top:42%; width:23%; aspect-ratio:1; border:5px solid #343c39; border-radius:50%; background:#78c9dc; box-shadow:inset 0 0 0 4px #f7eabd; }
.smurf-chase-lab { position:absolute; z-index:8; left:50%; bottom:0; width:min(58vw,760px); height:64svh; translate:-50% 8%; opacity:var(--lab); transform:translateY(calc((1 - var(--lab)) * 70px)); will-change:opacity,transform; }
.smurf-chase-leaders { position:absolute; left:50%; bottom:0; width:min(50vw,600px); max-height:58svh; translate:-50% 0; object-fit:contain; filter:drop-shadow(0 12px 10px rgba(7,31,33,.3)); }
.smurf-cauldron { position:absolute; z-index:3; left:50%; bottom:1%; width:clamp(130px,16vw,220px); height:clamp(95px,13vw,180px); translate:-50% 0; border-radius:10% 10% 48% 48%; background:#293738; border:5px solid #101d1d; box-shadow:inset 14px -10px rgba(0,0,0,.18),0 12px 14px rgba(8,30,31,.35); }
.smurf-cauldron::before,.smurf-cauldron::after { content:""; position:absolute; bottom:-12%; width:15%; height:28%; border-radius:8px; background:#182526; }.smurf-cauldron::before{left:16%;rotate:15deg}.smurf-cauldron::after{right:16%;rotate:-15deg}
.smurf-cauldron-rim { position:absolute; z-index:3; left:-7%; top:-10%; width:114%; height:23%; border-radius:50%; background:#3e5050; border:5px solid #101d1d; }
.smurf-brew { position:absolute; z-index:4; left:1%; top:-5%; width:98%; height:18%; border-radius:50%; background:#68f4d2; box-shadow:0 0 calc(var(--brew) * 42px) calc(var(--brew) * 15px) rgba(105,255,217,.72); }
.smurf-cauldron i { position:absolute; z-index:5; left:calc(16% + var(--i,0) * 19%); top:0; width:clamp(11px,1.4vw,19px); aspect-ratio:1; border-radius:50%; background:#9bffe6; opacity:var(--brew); animation:smurfBubble 1.25s ease-in infinite; }
.smurf-cauldron i:nth-of-type(1){--i:0;animation-delay:-.1s}.smurf-cauldron i:nth-of-type(2){--i:1;animation-delay:-.8s}.smurf-cauldron i:nth-of-type(3){--i:2;animation-delay:-.45s}.smurf-cauldron i:nth-of-type(4){--i:3;animation-delay:-1.05s}
.smurf-cauldron b { position:absolute; z-index:2; left:50%; bottom:-8%; width:68%; height:45%; translate:-50% 0; background:radial-gradient(ellipse,#fff4a8 0 20%,#ef6e37 35%,transparent 70%); opacity:var(--brew); filter:blur(2px); animation:smurfFlame .35s ease-in-out infinite alternate; }
@keyframes smurfBubble { from{translate:0 0;scale:.55;opacity:0} 25%{opacity:var(--brew)} to{translate:5px -120px;scale:1.3;opacity:0} }
@keyframes smurfFlame { to{scale:.86 1.18;translate:-50% -4px} }
.smurf-boom { position:absolute; z-index:11; left:50%; top:56%; width:min(66vw,720px); aspect-ratio:1; translate:-50% -50%; opacity:var(--boom); transform:scale(calc(.15 + var(--boom) * 1.1)) rotate(calc(var(--p) * 80deg)); filter:drop-shadow(0 0 35px rgba(103,244,210,.72)); pointer-events:none; }
.smurf-boom::before,.smurf-boom::after { content:""; position:absolute; inset:22%; border-radius:50%; background:#c7fff0; box-shadow:0 0 80px 34px #43d9d2; }.smurf-boom::after{inset:35%;background:#fff7b2;box-shadow:0 0 55px 25px #fff7b2}
.smurf-boom i { position:absolute; left:47%; top:47%; width:9%; height:46%; border-radius:50%; background:linear-gradient(#8effe5,transparent); transform-origin:50% 8%; transform:rotate(calc(var(--i,0) * 60deg)) translateY(-62%); }.smurf-boom i:nth-child(1){--i:0}.smurf-boom i:nth-child(2){--i:1}.smurf-boom i:nth-child(3){--i:2}.smurf-boom i:nth-child(4){--i:3}.smurf-boom i:nth-child(5){--i:4}.smurf-boom i:nth-child(6){--i:5}
.smurf-boom strong { position:absolute; z-index:4; inset:0; display:grid; place-items:center; color:#1f75a0; font:400 clamp(34px,6vw,88px)/1 var(--display); text-shadow:0 4px #fff,0 8px #e9cf47; transform:rotate(calc(var(--p) * -80deg)); }
.smurf-confetti { position:absolute; inset:0; z-index:10; pointer-events:none; opacity:var(--party); }
.smurf-confetti i { position:absolute; left:calc(5% + (var(--i) * 37) % 90 * 1%); top:calc(-8% + (var(--i) % 5) * 3%); width:10px; height:24px; border-radius:3px; background:hsl(calc(var(--i) * 47) 82% 58%); transform:translateY(calc(var(--party) * (105vh + var(--i) * 8px))) rotate(calc(var(--party) * (420deg + var(--i) * 31deg))); }
.smurf-chase-captions { position:absolute; z-index:15; left:50%; bottom:8%; width:min(90vw,720px); translate:-50% 0; min-height:74px; pointer-events:none; }
.smurf-chase-captions p { position:absolute; inset:auto 0 0; margin:0; padding:16px 26px; border-radius:999px; background:rgba(17,62,67,.88); border:1px solid rgba(255,255,255,.22); box-shadow:0 10px 30px rgba(6,35,38,.3); color:#fff; font:800 clamp(17px,2vw,26px)/1.25 var(--body); text-align:center; opacity:0; translate:0 18px; transition:opacity .25s,translate .35s var(--ease); }
.smurf-chase-captions p.is-on { opacity:1; translate:0 0; }
.smurf-chase-progress { position:absolute; z-index:16; left:50%; bottom:3.5%; width:min(64vw,430px); height:5px; translate:-50% 0; border-radius:5px; background:rgba(255,255,255,.28); overflow:hidden; }
.smurf-chase-progress span { display:block; width:calc(var(--p) * 100%); height:100%; border-radius:inherit; background:linear-gradient(90deg,#5de1dc,#fff09b); }
@media (max-width:700px) {
  .smurf-chase { height:470svh; }
  .smurf-chase-bg { background-position:55% 58%; }
  .smurf-chase-head { top:calc(var(--nav-h) + 5vh); }
  .smurf-chase-head h2 { font-size:38px; }
  .smurf-chase-villains { width:58vw; max-height:48svh; bottom:8%; }
  .smurf-blast-villains img { bottom:8%; }
  .smurf-blast-gargamel { left:8%; width:58vw; max-height:48svh; translate:calc(var(--blast) * -22vw) calc(var(--blast) * -46vh); }
  .smurf-blast-azrael { left:29%; width:35vw; max-height:30svh; translate:calc(var(--blast) * 72vw) calc(var(--blast) * -35vh); }
  .smurf-chase-friends { width:78vw; max-height:37svh; bottom:10%; }
  .smurf-chase-house { right:-16%; width:54vw; height:39svh; }
  .smurf-chase-lab { width:100vw; height:57svh; }
  .smurf-chase-leaders { width:87vw; max-height:49svh; }
  .smurf-cauldron { bottom:4%; }
  .smurf-chase-captions { bottom:9%; width:92vw; }
  .smurf-chase-captions p { border-radius:18px; padding:14px 16px; font-size:16px; }
}
@media (prefers-reduced-motion:reduce) { .smurf-cauldron i,.smurf-cauldron b { animation:none; } }


/* ==========================================================================
   TEMA "GROOVE" — As Panterinhas (anos 70: rosa, laranja e listras de pôr do sol)
   ========================================================================== */
.theme-groove {
  --ink: #2B1A2E; --ink-2: #452A49;
  --paper: #FFF2F8; --paper-2: #FBE0EC;
  --stone: #FBD3A6; --stone-d: #C2477F;
  --sun: #F6A623;
}
.theme-groove ::selection { background: var(--c1); color: #fff; }
.theme-groove .hero { background: linear-gradient(#5A2E66 0 22%, #8E3B79 22% 40%, #C2477F 40% 56%, #E8509A 56% 70%, #F6A623 70% 84%, #F7C35A 84%); }
.theme-groove .hero::after { background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(43, 26, 46, .35), transparent 72%); }
.theme-groove .hero-title { color: #FFF2F8; font-style: italic; text-shadow: 0 .04em 0 #E8509A, 0 .08em 0 #F6A623, 0 .12em 0 #2B1A2E; }
.theme-groove .hero-kicker { background: rgba(43, 26, 46, .55); }
.flower { flex: none; width: 30px; height: 30px; margin: 0 12px; border-radius: 50%; background: radial-gradient(circle, #F7E26B 0 22%, transparent 24%), radial-gradient(circle at 50% 12%, var(--paper) 0 18%, transparent 20%), radial-gradient(circle at 50% 88%, var(--paper) 0 18%, transparent 20%), radial-gradient(circle at 12% 50%, var(--paper) 0 18%, transparent 20%), radial-gradient(circle at 88% 50%, var(--paper) 0 18%, transparent 20%); animation: spin 6s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.theme-groove .marquee { background: #E8509A; color: #FFF2F8; }
.theme-groove .place-icon .cut { fill: var(--paper); }
.theme-groove .place-icon .ln, .theme-groove .place-icon .cut-ln { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.theme-groove .place-icon .cut-ln { stroke: var(--paper); }
.theme-groove .world { background: #8E3B79; }
.slide.theme-groove { background: linear-gradient(#5A2E66, #E8509A 60%, #F6A623); }
.show.theme-groove .show-bg { background: linear-gradient(160deg, #F6A623, #E8509A 70%); }

/* ============================================================ O PASSEIO (na velocidade do scroll) */
.pz { position: relative; height: 420svh; }
.pz-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #FFF2F8; }
.pz-sky { position: absolute; inset: 0; background: repeating-linear-gradient(#5A2E66 0 9%, #6E3372 9% 18%), linear-gradient(#5A2E66, #E8509A 55%, #F6A623 75%); background-blend-mode: soft-light; }
.pz-sun { position: absolute; left: 50%; top: 30%; width: min(42vw, 420px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: repeating-linear-gradient(#F7E26B 0 14%, #F6A623 14% 18%); opacity: .95; }
.pz-far, .pz-near, .pz-road { position: absolute; left: 0; right: 0; background-repeat: repeat-x; }
.pz-far { bottom: 30%; height: 220px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='220'%3E%3Cg fill='%235A2E66'%3E%3Crect x='0' y='90' width='60' height='130'/%3E%3Crect x='66' y='50' width='44' height='170'/%3E%3Crect x='116' y='110' width='70' height='110'/%3E%3Crect x='192' y='30' width='50' height='190'/%3E%3Crect x='248' y='80' width='80' height='140'/%3E%3Crect x='334' y='120' width='56' height='100'/%3E%3Crect x='396' y='60' width='48' height='160'/%3E%3Crect x='450' y='100' width='70' height='120'/%3E%3C/g%3E%3Cg fill='%23F6C27A'%3E%3Crect x='76' y='70' width='8' height='10'/%3E%3Crect x='92' y='96' width='8' height='10'/%3E%3Crect x='204' y='54' width='8' height='10'/%3E%3Crect x='222' y='90' width='8' height='10'/%3E%3Crect x='262' y='104' width='8' height='10'/%3E%3Crect x='300' y='132' width='8' height='10'/%3E%3Crect x='408' y='84' width='8' height='10'/%3E%3Crect x='424' y='120' width='8' height='10'/%3E%3C/g%3E%3C/svg%3E"); }
.pz-mid { position: absolute; left: 0; bottom: 34%; height: 0; will-change: transform; }
.pz-near { bottom: 18%; height: 260px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='260'%3E%3Cg fill='%232B1A2E'%3E%3Cpath d='M120 260 Q114 170 128 90 L134 90 Q122 170 130 260Z'/%3E%3Cpath d='M130 92 Q90 70 60 86 Q96 74 128 94 Q100 100 84 124 Q112 102 132 96 Q142 120 140 150 Q148 118 136 94 Q170 92 196 114 Q174 86 136 90 Q160 66 196 70 Q160 56 130 88Z'/%3E%3Crect x='440' y='60' width='8' height='200'/%3E%3Cpath d='M444 60 Q444 44 470 44 H490 V54 H472 Q456 54 456 64Z'/%3E%3Crect x='484' y='52' width='16' height='10' fill='%23F7E26B'/%3E%3C/g%3E%3C/svg%3E"); z-index: 2; }
.pz-road { bottom: 0; height: 22%; z-index: 3; background-color: #2B1A2E; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='20'%3E%3Crect x='0' y='6' width='80' height='8' fill='%23F7E26B'/%3E%3C/svg%3E"); background-position-y: 46%; border-top: 6px solid #E8509A; }
.pz-board { position: absolute; bottom: 0; width: 280px; padding: 14px 18px 16px; border-radius: 10px; background: #FFF2F8; color: #2B1A2E; box-shadow: 0 8px 0 #2B1A2E; transform: translateY(-120px); }
.pz-board b { display: block; font: italic 400 30px/1 var(--display); color: #E8509A; }
.pz-board span { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; }
.pz-board i { position: absolute; top: 100%; width: 10px; height: 130px; background: #2B1A2E; }
.pz-board i:first-of-type { left: 40px; } .pz-board i:last-of-type { right: 40px; }
.pz-head { position: absolute; z-index: 5; left: 0; right: 0; top: calc(var(--nav-h) + 3vh); text-align: center; padding: 0 var(--gutter); text-shadow: 0 3px 10px rgba(43, 26, 46, .5); }
.pz-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #F7E26B; }
.pz-title { margin: 0; font: italic 400 clamp(26px, 3.6vw, 52px)/1.05 var(--display); }
.pz-car { position: absolute; z-index: 4; left: 50%; bottom: calc(22% - 6px); width: clamp(260px, 32vw, 480px); translate: -50% 0; transform: translateY(var(--bob, 0px)); }
.pz-svg, .pz-car img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .35)); }
.pz-wheel { transform: rotate(var(--rot, 0deg)); }
.pz-cap { position: absolute; z-index: 5; left: 55%; top: 26%; width: clamp(120px, 14vw, 220px); transform: translateY(var(--fly, 0px)) rotate(-8deg); }
.pz-dash { position: absolute; z-index: 6; right: clamp(12px, 3vw, 40px); bottom: 3%; display: grid; grid-template-columns: auto auto; align-items: end; gap: 0 8px; padding: 12px 16px; border-radius: 16px; background: rgba(43, 26, 46, .85); }
.pz-speedo { grid-row: span 2; width: 110px; height: auto; }
.pz-needle { transform-origin: 60px 64px; transform: rotate(var(--ang, -90deg)); transition: transform .12s linear; }
.pz-kmh { font: italic 400 30px/1 var(--display); color: #F7E26B; }
.pz-dash small { font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.pz-gear { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.pz-gear i { font: 800 14px/1 var(--body); font-style: normal; opacity: .35; }
.pz-gear i.is-on { opacity: 1; color: #F6A623; }
@media (max-width: 700px) {
  .pz-car { width: 70vw; }
  .pz-board { width: 210px; }
  .pz-dash { right: 50%; translate: 50% 0; }
}
@media (prefers-reduced-motion: reduce) { .flower { animation: none; } }
