/* =========================================================
   Broadertec - Design System
   Cultura pop editorial. Dark, atmosferico, layered.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --brand: #4fa6e0;
  --brand-600: #3a8fca;
  --brand-300: #8ccbf5;
  --brand-100: #d3ecff;

  /* Accents */
  --gold: #f7b733;
  --violet: #8b6bf0;
  --crimson: #ef4a5a;
  --emerald: #2fd08a;

  /* Surfaces */
  --bg: #070b11;
  --bg-2: #0b1119;
  --surface: #101823;
  --surface-2: #16202d;
  --line: #1e2b3a;
  --line-soft: #16212e;

  /* Text */
  --text: #eaf1f8;
  --text-2: #a9bacd;
  --text-3: #6f8399;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Space & shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 40px);

  /* Shadows */
  --sh-1: 0 2px 8px rgba(0, 0, 0, .35);
  --sh-2: 0 18px 40px -18px rgba(0, 0, 0, .8);
  --sh-3: 0 40px 80px -30px rgba(0, 0, 0, .9);
  --glow: 0 0 0 1px rgba(79, 166, 224, .28), 0 18px 50px -22px rgba(79, 166, 224, .55);

  --ease: cubic-bezier(.22, .8, .3, 1);

  /* Per-page accent (sobrescrito por categoria) */
  --accent: var(--brand);
  --accent-soft: rgba(79, 166, 224, .16);
}

[data-universe="marvel"]      { --accent: #ef4a5a; --accent-soft: rgba(239, 74, 90, .16); }
[data-universe="dc"]          { --accent: #4fa6e0; --accent-soft: rgba(79, 166, 224, .16); }
[data-universe="star-wars"]   { --accent: #f7b733; --accent-soft: rgba(247, 183, 51, .16); }
[data-universe="harry-potter"]{ --accent: #b98a3e; --accent-soft: rgba(185, 138, 62, .18); }
[data-universe="anime"]       { --accent: #ff7ac0; --accent-soft: rgba(255, 122, 192, .16); }
[data-universe="games"]       { --accent: #2fd08a; --accent-soft: rgba(47, 208, 138, .16); }
[data-universe="cinema"]      { --accent: #8b6bf0; --accent-soft: rgba(139, 107, 240, .16); }

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--surface-2); }

a { color: var(--brand-300); text-decoration: none; }
a:hover { color: var(--brand-100); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.028em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.5rem); }
p  { margin: 0 0 1.15em; }

ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--brand); color: #04070c; }

:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Atmosfera de fundo ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -12%, rgba(79, 166, 224, .20), transparent 62%),
    radial-gradient(820px 520px at 6% 4%, rgba(139, 107, 240, .16), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(79, 166, 224, .09), transparent 66%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(79, 166, 224, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 166, 224, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 55% at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 55% at 50% 0%, #000 10%, transparent 78%);
}

/* ---------- 4. Layout ---------- */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}
.shell--narrow { width: min(100% - (var(--gutter) * 2), 780px); }
.shell--wide   { width: min(100% - (var(--gutter) * 2), 1420px); }

section { position: relative; }
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section--tight { padding: clamp(34px, 4.5vw, 56px) 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand);
  color: #04070c;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: linear-gradient(180deg, rgba(7, 11, 17, .92), rgba(7, 11, 17, .68));
  border-bottom: 1px solid var(--line-soft);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 166, 224, .55), transparent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; background: none; }
.brand__name {
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: -.045em;
  color: var(--text);
  line-height: 1;
}
.brand__name em { color: var(--brand); font-style: normal; }
.brand:hover .brand__name { color: var(--text); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.nav__menu a {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__menu a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav__menu a[aria-current="page"] { color: var(--brand); background: rgba(79, 166, 224, .12); }

/* seletor precisa vencer ".nav__menu a", senao o texto herda o cinza do menu */
.nav__menu a.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  color: #04070c;
  background: linear-gradient(135deg, var(--brand-300), var(--brand));
  box-shadow: 0 10px 26px -12px rgba(79, 166, 224, .9);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.nav__menu a.nav__cta:hover,
.nav__menu a.nav__cta:focus-visible {
  color: #04070c;
  background: linear-gradient(135deg, var(--brand-300), var(--brand));
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 32px -12px rgba(79, 166, 224, 1);
}
.nav__menu a.nav__cta[aria-current="page"] { color: #04070c; }

.nav__burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: background .2s;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 26px;
    /* opaco de proposito: com fundo translucido o hero atras vaza e o menu fica ilegivel */
    background: #0b111a;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a { padding: 13px 14px; font-size: 1rem; border-radius: 12px; }
  /* no mobile o CTA vira o ultimo item da gaveta, em largura total */
  .nav__menu a.nav__cta {
    display: flex;
    width: 100%;
    margin: 10px 0 0;
    padding: 15px 18px;
    border-radius: 14px;
    font-size: 1rem;
  }
}

/* ---------- 6. Botoes ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.01em;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  color: #04070c;
  background: linear-gradient(135deg, #9ad3f8, var(--brand) 55%, var(--brand-600));
  box-shadow: 0 14px 34px -14px rgba(79, 166, 224, .95), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--primary:hover {
  color: #04070c;
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -14px rgba(79, 166, 224, 1), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { color: var(--text); background: rgba(255, 255, 255, .09); border-color: #2b3c50; transform: translateY(-3px); }

.btn--accent {
  color: #04070c;
  background: var(--accent);
  box-shadow: 0 14px 34px -16px var(--accent);
}
.btn--accent:hover { color: #04070c; transform: translateY(-3px); filter: brightness(1.08); }

/* Classe repetida so para elevar a especificidade: garante que um botao
   dentro de .prose, .toc ou .nav__menu nunca herde a cor de link do contexto. */
.btn--primary.btn--primary,
.btn--accent.btn--accent { color: #04070c; text-decoration: none; }
.btn--ghost.btn--ghost { color: var(--text); text-decoration: none; }

.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn--block { display: flex; width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- 7. Elementos tipograficos ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 62ch; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.section-head p { margin: 0; color: var(--text-2); max-width: 56ch; }
.section-head h2 { margin-bottom: .3em; }
.section-head__link {
  flex-shrink: 0;
  font-weight: 700;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-head__link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.section-head__link:hover::after { transform: translateX(4px) rotate(45deg); }
@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  /* area de toque confortavel no mobile, sem mudar o alinhamento visual */
  .section-head__link {
    min-height: 44px;
    margin-left: -10px;
    padding: 0 10px;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { max-width: 14ch; }
.hero h1 .grad {
  background: linear-gradient(105deg, var(--brand-300) 6%, #fff 42%, var(--brand) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede { font-size: clamp(1.03rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px clamp(14px, 2vw, 26px);
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 560px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }
.hero__stats b {
  display: block;
  font-size: clamp(1.45rem, 3vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1.1;
}
.hero__stats span { font-size: .78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; display: block; }

/* Composicao visual do hero */
.hero__art { position: relative; min-height: 420px; }
.hero__art-main {
  position: relative;
  z-index: 2;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3), 0 0 0 1px rgba(255, 255, 255, .07);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform .7s var(--ease);
}
.hero__art:hover .hero__art-main { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg) translateY(-6px); }
.hero__art-main img { width: 100%; }

.hero__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px 13px 14px;
  border-radius: 18px;
  background: rgba(16, 24, 35, .82);
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-2);
  animation: bob 7s ease-in-out infinite;
}
.hero__float b { display: block; font-size: .95rem; font-weight: 800; letter-spacing: -.02em; }
.hero__float small { display: block; font-size: .74rem; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.hero__float-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.15rem;
}
.hero__float--a { left: -6%; top: 12%; animation-delay: -1.4s; }
.hero__float--b { right: -4%; bottom: 14%; animation-delay: -3.8s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}

.hero__orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(58px);
  opacity: .55;
  pointer-events: none;
}
.hero__orb--1 { width: 320px; height: 320px; background: rgba(79, 166, 224, .6); top: -8%; right: 4%; }
.hero__orb--2 { width: 260px; height: 260px; background: rgba(139, 107, 240, .5); bottom: -6%; left: 6%; }

@media (max-width: 960px) {
  .hero__art { min-height: 0; margin-top: 16px; }
  .hero__art-main { transform: none; }
  .hero__float--a { left: -2%; top: 6%; }
  .hero__float--b { right: -2%; bottom: 6%; }
}
@media (max-width: 520px) {
  .hero__float { display: none; }
}

/* ---------- 9. Portais de universo ---------- */
/* 4 colunas fecham a grade exatamente: o primeiro portal ocupa duas */
.portals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1000px) { .portals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .portals { grid-template-columns: 1fr; } }
.portal {
  position: relative;
  display: block;
  min-height: 250px;
  padding: 22px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.portal img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), opacity .4s;
  opacity: .9;
}
.portal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 11, 17, .1) 12%, rgba(7, 11, 17, .82) 68%, rgba(7, 11, 17, .96));
}
.portal:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 60px -30px var(--accent); color: var(--text); }
.portal:hover img { transform: scale(1.09); }

.portal__body { position: relative; margin-top: auto; }
.portal { display: flex; flex-direction: column; }
.portal h3 { margin: 10px 0 4px; font-size: 1.35rem; }
.portal p { margin: 0; font-size: .87rem; color: var(--text-2); }
.portal__count {
  display: inline-block;
  margin-top: 12px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.portal--wide { grid-column: span 2; min-height: 300px; }
.portal--wide h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 560px) { .portal--wide { grid-column: span 1; min-height: 250px; } }

/* ---------- 10. Cards de artigo ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--sh-3); }
.card:hover::before { opacity: 1; }

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, var(--surface-2), transparent);
}
.card__chip { position: absolute; top: 12px; left: 12px; z-index: 2; backdrop-filter: blur(8px); background: rgba(7, 11, 17, .6); }

.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.13rem; line-height: 1.32; margin: 0 0 8px; font-weight: 700; letter-spacing: -.02em; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--brand-300); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card__excerpt { font-size: .9rem; color: var(--text-2); margin: 0 0 16px; }
.card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-3);
  font-weight: 600;
}
.card__meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  margin-right: 8px;
  opacity: .7;
}

/* Card destaque (primeiro item) */
.card--feature { grid-column: span 2; flex-direction: row; }
.card--feature .card__media { aspect-ratio: auto; width: 46%; flex-shrink: 0; }
.card--feature .card__body { padding: 28px 30px; justify-content: center; }
.card--feature .card__title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.card--feature .card__excerpt { font-size: .97rem; }
@media (max-width: 860px) {
  .card--feature { grid-column: span 1; flex-direction: column; }
  .card--feature .card__media { width: 100%; aspect-ratio: 16 / 9; }
  .card--feature .card__body { padding: 20px 22px 24px; }
}

/* Lista compacta */
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mini-list li { border-bottom: 1px solid var(--line-soft); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 6px;
  color: var(--text);
  transition: padding .25s var(--ease), color .2s;
}
.mini-list a:hover { padding-left: 14px; color: var(--brand-300); }
.mini-list b { font-size: .95rem; font-weight: 600; line-height: 1.35; display: block; }
.mini-list small { color: var(--text-3); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.mini-list .num {
  font-size: 1.4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-3);
  letter-spacing: -.05em;
}
.mini-list a:hover .num { -webkit-text-stroke-color: var(--accent); }

/* ---------- 11. Paineis / superficies ---------- */
.panel {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(22, 32, 45, .9), rgba(16, 24, 35, .82));
  border: 1px solid var(--line);
  padding: clamp(22px, 3.4vw, 38px);
  box-shadow: var(--sh-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.panel--glow { box-shadow: var(--sh-2), 0 0 90px -50px var(--accent) inset; }
.panel--flush { padding: 0; overflow: hidden; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}
/* min-width:0 impede que tabelas e blocos largos estourem a coluna */
.split > * { min-width: 0; }
.split--sidebar { grid-template-columns: minmax(0, 1fr) 330px; }
@media (max-width: 1020px) { .split--sidebar { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 12. Breadcrumb ---------- */
.crumbs { padding: 20px 0 4px; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .82rem;
  color: var(--text-3);
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--line);
  border-top: 1.5px solid var(--line);
  transform: rotate(45deg);
}
.crumbs a { color: var(--text-2); font-weight: 600; }
.crumbs a:hover { color: var(--brand-300); }
.crumbs [aria-current] { color: var(--text-3); }

/* ---------- 13. Artigo ---------- */
.article-hero { padding: 18px 0 clamp(28px, 4vw, 44px); position: relative; }
.article-hero h1 { max-width: 20ch; margin-top: 14px; }
.article-hero .lede { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: .85rem;
  color: var(--text-3);
  font-weight: 600;
}
.article-meta strong { color: var(--text-2); font-weight: 700; }

.article-cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.article-cover img { width: 100%; aspect-ratio: 24 / 9; object-fit: cover; }
@media (max-width: 700px) { .article-cover img { aspect-ratio: 16 / 9; } }

.prose { font-size: 1.06rem; line-height: 1.82; color: #d9e3ee; }
.prose > * + * { margin-top: 0; }
.prose h2 {
  margin: 2.2em 0 .6em;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  scroll-margin-top: 100px;
}
.prose h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-bottom: 16px;
}
.prose h3 { margin: 1.9em 0 .5em; font-size: clamp(1.15rem, 2vw, 1.35rem); color: #fff; scroll-margin-top: 100px; }
.prose p { margin: 0 0 1.25em; }
.prose a { color: var(--brand-300); text-decoration: underline; text-decoration-color: rgba(140, 203, 245, .38); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand-300); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.35em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { color: #fff; font-weight: 700; }
.prose img { border-radius: var(--r-md); margin: 2em 0; border: 1px solid var(--line); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .83rem; color: var(--text-3); text-align: center; margin-top: 10px; }

.prose blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  font-size: 1.1rem;
  font-style: italic;
  color: #fff;
}
.prose blockquote p:last-child { margin: 0; }
.prose blockquote cite { display: block; margin-top: 12px; font-size: .85rem; font-style: normal; color: var(--text-3); font-weight: 700; }

.callout {
  margin: 2em 0;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  font-size: .98rem;
}
.callout h4 {
  margin: 0 0 8px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}
.callout p:last-child { margin: 0; }

/* Tabelas */
.table-wrap { overflow-x: auto; margin: 2em 0; border-radius: var(--r-md); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 460px; }
thead { background: var(--surface-2); }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
th { font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, .022); }

/* Indice do artigo */
.toc { position: sticky; top: 96px; }
.toc h4 {
  margin: 0 0 14px;
  font-size: .74rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 800;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
/* restrito a ".toc ol a" para nao capturar o botao no rodape do painel */
.toc ol a {
  display: block;
  padding: 8px 12px 8px 30px;
  position: relative;
  font-size: .89rem;
  color: var(--text-2);
  border-radius: 8px;
  border-left: 2px solid var(--line);
  transition: all .2s var(--ease);
}
.toc ol a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 10px;
  font-size: .68rem;
  font-weight: 800;
  color: var(--text-3);
  top: 11px;
}
.toc ol a:hover, .toc ol a.is-active { color: #fff; background: rgba(255, 255, 255, .04); border-left-color: var(--accent); }
.toc ol a.is-active::before { color: var(--accent); }

/* Barra de leitura */
.readbar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  box-shadow: 0 0 12px var(--accent);
  transition: width .1s linear;
}

/* FAQ */
.faq { display: grid; gap: 12px; margin: 2em 0 0; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s;
}
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.faq summary {
  padding: 17px 52px 17px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 20px 18px; color: var(--text-2); font-size: .96rem; }
.faq .faq__body p:last-child { margin: 0; }

/* ---------- 14. Componentes interativos ---------- */

/* Altura reservada antes do widget montar, para o layout nao pular (CLS) */
[data-widget] { display: flow-root; }
[data-widget="quiz"] { min-height: 540px; }
[data-widget="frases"] { min-height: 350px; }
[data-widget="comparador"] { min-height: 1200px; }
[data-widget="ranking"] { min-height: 1250px; }
[data-widget="timeline"] { min-height: 370px; }
[data-widget="curiosidade"] { min-height: 460px; }

@media (max-width: 720px) {
  [data-widget="comparador"],
  [data-widget="ranking"] { min-height: 620px; }
}

/* Palco atmosferico das paginas interativas */
.interactive-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 8vw, 104px) 0 clamp(92px, 11vw, 150px);
  overflow: hidden;
  text-align: center;
}
.interactive-hero__bg {
  position: absolute;
  inset: -12% -6% auto -6%;
  width: 112%;
  height: 128%;
  object-fit: cover;
  opacity: .5;
  filter: saturate(1.05);
  z-index: -2;
}
.interactive-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 50% 8%, rgba(79, 166, 224, .26), transparent 62%),
    linear-gradient(180deg, rgba(6, 10, 17, .55) 0%, rgba(6, 10, 17, .82) 55%, var(--bg) 100%);
}
.interactive-hero__body { position: relative; }
.interactive-hero__body h1 {
  margin: 18px 0 0;
  font-size: clamp(2.1rem, 5.4vw, 3.3rem);
}
.interactive-hero__body .lede { margin: 16px auto 0; }

.interactive-stage {
  position: relative;
  z-index: 2;
  margin-top: clamp(-118px, -9vw, -70px);
  padding-bottom: clamp(34px, 4.5vw, 56px);
}

/* Progress */
.progress {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.progress__bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .45s var(--ease);
}

/* Quiz */
.quiz { position: relative; }
.quiz__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.quiz__score { color: var(--accent); }
.quiz__question { font-size: clamp(1.2rem, 2.4vw, 1.65rem); margin: 26px 0 22px; line-height: 1.3; }
.quiz__options { display: grid; gap: 10px; }
.quiz__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  text-align: left;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: .98rem;
  font-weight: 500;
  transition: all .22s var(--ease);
}
.quiz__option:hover:not(:disabled) { border-color: var(--accent); background: var(--surface-2); transform: translateX(5px); }
.quiz__key {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 800;
  color: var(--text-3);
  transition: all .22s var(--ease);
}
.quiz__option:hover:not(:disabled) .quiz__key { background: var(--accent); color: #04070c; border-color: var(--accent); }
.quiz__option.is-correct { border-color: var(--emerald); background: rgba(47, 208, 138, .12); }
.quiz__option.is-correct .quiz__key { background: var(--emerald); color: #04070c; border-color: var(--emerald); }
.quiz__option.is-wrong { border-color: var(--crimson); background: rgba(239, 74, 90, .12); }
.quiz__option.is-wrong .quiz__key { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.quiz__option:disabled { cursor: default; opacity: 1; }
.quiz__option:disabled:not(.is-correct):not(.is-wrong) { opacity: .5; }

.quiz__feedback {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  font-size: .94rem;
  color: var(--text-2);
  animation: fadeUp .35s var(--ease);
}
.quiz__feedback b { color: #fff; }
.quiz__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.quiz__result { text-align: center; padding: 12px 0; animation: fadeUp .4s var(--ease); }
.quiz__result-score {
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-300), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quiz__result-score small { font-size: .3em; color: var(--text-3); -webkit-text-fill-color: var(--text-3); font-weight: 700; }
.quiz__result h3 { margin: 14px 0 8px; }
.quiz__result p { color: var(--text-2); max-width: 46ch; margin-inline: auto; }
.quiz__best {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Seletor de quiz */
.quiz-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-size: .86rem;
  font-weight: 700;
  transition: all .22s var(--ease);
}
.pill:hover { color: var(--text); border-color: #2b3c50; transform: translateY(-2px); }
.pill.is-active { background: var(--accent); border-color: var(--accent); color: #04070c; }

/* Curiosidade aleatoria */
.curio {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(30px, 5vw, 52px);
}
.curio::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  top: -190px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.curio__mark {
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 900;
  color: var(--accent);
  opacity: .28;
}
.curio__text {
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.02em;
  color: #fff;
  max-width: 52ch;
  margin: 8px auto 16px;
  min-height: 3em;
}
.curio__src { font-size: .8rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.curio__text.is-swapping { animation: swap .35s var(--ease); }
@keyframes swap {
  0%   { opacity: 1; transform: none; filter: blur(0); }
  45%  { opacity: 0; transform: translateY(-8px); filter: blur(3px); }
  55%  { opacity: 0; transform: translateY(8px); filter: blur(3px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

/* Timeline horizontal */
.timeline { position: relative; }
.timeline__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.timeline__rail { position: relative; }
.timeline__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 34px 4px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}
.timeline__track::-webkit-scrollbar { height: 7px; }
.timeline__track::-webkit-scrollbar-track { background: var(--surface); border-radius: 99px; }
.timeline__track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }
.timeline__rail::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
  opacity: .35;
  pointer-events: none;
}
.tl-item {
  position: relative;
  flex: 0 0 262px;
  scroll-snap-align: center;
  padding: 26px 20px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.tl-item::before {
  content: "";
  position: absolute;
  top: -24px; left: 24px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(7, 11, 17, .9), 0 0 16px var(--accent);
  transition: transform .3s var(--ease);
}
.tl-item:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 24px 44px -26px var(--accent); }
.tl-item:hover::before { transform: scale(1.25); }
.tl-item__year {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -.045em;
  color: var(--accent);
  line-height: 1;
}
.tl-item h4 { margin: 8px 0 6px; font-size: 1.02rem; line-height: 1.3; }
.tl-item p { margin: 0; font-size: .85rem; color: var(--text-2); line-height: 1.55; }
.tl-item__tag {
  display: inline-block;
  margin-top: 12px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
}
.timeline__hint { font-size: .8rem; color: var(--text-3); display: flex; align-items: center; gap: 8px; }

/* Comparador */
.compare__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(12px, 2vw, 26px);
  align-items: start;
}
@media (max-width: 860px) { .compare__grid { grid-template-columns: 1fr; } }

.compare__vs {
  align-self: center;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--text-3);
  padding: 14px 6px;
  position: relative;
}
.compare__vs span {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
}
@media (max-width: 860px) { .compare__vs { justify-self: center; } }

.fighter { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.fighter__pick { padding: 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.fighter__head {
  position: relative;
  padding: 26px 22px;
  text-align: center;
  overflow: hidden;
}
.fighter__head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--fc, var(--brand-soft, rgba(79,166,224,.3))), transparent 70%);
  opacity: .55;
}
.fighter__sigil {
  position: relative;
  width: 78px; height: 78px;
  margin: 0 auto 14px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 900;
  color: #04070c;
  background: var(--fc, var(--brand));
  box-shadow: 0 16px 34px -14px var(--fc, var(--brand));
}
.fighter__name { position: relative; margin: 0 0 4px; font-size: 1.35rem; }
.fighter__alias { position: relative; margin: 0; font-size: .84rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.fighter__rows { padding: 6px 22px 22px; }
.fighter__row { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.fighter__row:last-child { border-bottom: 0; }
.fighter__row dt {
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 800;
  margin-bottom: 5px;
}
.fighter__row dd { margin: 0; font-size: .93rem; color: var(--text); }
.fighter__row--win dd { color: var(--emerald); font-weight: 700; }

.stat-row { margin: 11px 0; }
.stat-row__head { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; margin-bottom: 5px; }
.stat-row__head span:last-child { color: var(--accent); }
.stat-row__bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.stat-row__fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--fc, var(--brand)), color-mix(in srgb, var(--fc, var(--brand)) 40%, #fff));
  transition: width .7s var(--ease);
}

select.input, input.input, textarea.input {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  transition: border-color .2s;
}
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23a9bacd' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 11px; padding-right: 38px; }
.input:focus { border-color: var(--accent); outline: none; }
label.field { display: block; margin-bottom: 16px; }
label.field > span {
  display: block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}

/* Ranking */
.rank__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.rank__group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rank__label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-right: 4px; }

.rank__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.rank-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 15px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  animation: fadeUp .4s var(--ease) both;
}
.rank-item:hover { transform: translateX(6px); border-color: var(--accent); background: var(--surface-2); }
.rank-item__pos {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--text-3);
  text-align: center;
  line-height: 1;
}
.rank-item:nth-child(1) .rank-item__pos { -webkit-text-stroke-color: var(--gold); color: rgba(247, 183, 51, .16); }
.rank-item:nth-child(2) .rank-item__pos { -webkit-text-stroke-color: #c9d6e4; }
.rank-item:nth-child(3) .rank-item__pos { -webkit-text-stroke-color: #cd8b52; }
.rank-item h4 { margin: 0 0 3px; font-size: 1.05rem; }
.rank-item p { margin: 0; font-size: .85rem; color: var(--text-2); }
.rank-item__side { text-align: right; }
.rank-item__metric { font-size: 1.15rem; font-weight: 900; color: var(--accent); letter-spacing: -.03em; }
.rank-item__unit { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 700; }
@media (max-width: 620px) {
  .rank-item { grid-template-columns: 44px 1fr; }
  .rank-item__side { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .rank-item__unit { display: inline; }
}

/* Quem disse a frase */
.quote-game { text-align: center; }
.quote-game__quote {
  position: relative;
  font-size: clamp(1.25rem, 3.2vw, 2.05rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.36;
  letter-spacing: -.025em;
  color: #fff;
  max-width: 22ch;
  margin: 10px auto 8px;
  min-height: 2.4em;
}
.quote-game__quote::before,
.quote-game__quote::after {
  content: "\201C";
  color: var(--accent);
  opacity: .35;
  font-size: 1.4em;
  line-height: 0;
  position: relative;
  top: .22em;
}
.quote-game__quote::after { content: "\201D"; }
.quote-game__src { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); font-weight: 800; margin-bottom: 26px; }
.quote-game__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.quote-game__streak {
  display: inline-flex;
  gap: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 8px;
}
.quote-game__streak b { color: var(--accent); }

/* ---------- 15. Newsletter / CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(34px, 6vw, 68px);
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(79, 166, 224, .28), transparent 65%),
    radial-gradient(600px 320px at 95% 100%, rgba(139, 107, 240, .26), transparent 65%),
    linear-gradient(160deg, #131d29, #0b1119);
  border: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--text-2); max-width: 54ch; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }

/* ---------- 16. Footer ---------- */
.site-footer {
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 17, 25, .6), rgba(7, 11, 17, 1));
  padding: clamp(44px, 6vw, 72px) 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__about p { font-size: .9rem; color: var(--text-2); margin: 16px 0 0; max-width: 40ch; }
.footer__col h4 {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 800;
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { font-size: .91rem; color: var(--text-2); }
.footer__col a:hover { color: var(--brand-300); }

.footer__bottom {
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--text-3);
}
.footer__bottom p { margin: 0; }
.footer__disclaimer { font-size: .78rem; color: var(--text-3); max-width: 78ch; margin-top: 18px; line-height: 1.6; }

/* ---------- 17. Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.tilt-wrap { perspective: 1000px; }

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

/* Pagina 404 */
.err {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}
.err__code {
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .85;
  background: linear-gradient(135deg, var(--brand-300), var(--brand) 45%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .92;
}
