/* ==========================================================================
   tonames.com — Sistema visual
   1. Tokens          6. Botões e chips        11. Widgets interativos
   2. Reset/base      7. Superfícies/cards     12. Rodapé
   3. Atmosfera       8. Home                  13. Utilitários
   4. Layout          9. Artigo/editorial      14. Responsivo
   5. Header/nav     10. Breadcrumb/TOC/FAQ    15. Movimento reduzido
   ========================================================================== */

/* 1. TOKENS ================================================================= */
:root {
  --ink-950: #05060a;
  --ink-900: #090b11;
  --ink-850: #0d1017;
  --ink-800: #111827;
  --ink-700: #171f30;
  --ink-600: #1e2739;
  --ink-500: #2a3446;

  /* Cores de universo: são semânticas e aparecem em chips, categorias e
     ilustrações. Marvel é vermelho, DC é azul, e assim por diante. */
  --red: #dc2626;
  --red-soft: #ef4444;
  --red-deep: #991b1b;
  --blue: #2563eb;
  --blue-soft: #3b82f6;
  --blue-deep: #1e3a8a;
  --orange: #f97316;
  --orange-soft: #fb923c;
  --gold: #fbbf24;
  --green: #22c55e;

  /* Marca: as três cores da flor do logotipo, do laranja ao roxo. */
  --brand-orange: #f87e1b;
  --brand-pink: #d21d7a;
  --brand-pink-soft: #ea3f96;
  --brand-purple: #9b1dc9;
  --brand-purple-soft: #b13ee0;

  /* Acentos da interface. Não pertencem a nenhum universo: seguem a marca,
     e é por eles que passam CTA, foco, progresso e destaques editoriais. */
  --accent: var(--brand-pink);
  --accent-soft: var(--brand-pink-soft);
  --accent-warm: var(--brand-orange);
  --accent-grad: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-pink) 58%, var(--brand-purple) 100%);
  --accent-line: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));

  --white: #ffffff;
  --text: #eef1f7;
  --text-soft: #b9c1d1;
  --text-dim: #8b95a9;
  --text-faint: #66708a;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, 0.85);
  --glow-blue: 0 0 0 1px rgba(37, 99, 235, 0.35), 0 18px 44px -14px rgba(37, 99, 235, 0.5);
  --glow-brand: 0 0 0 1px rgba(210, 29, 122, 0.38), 0 18px 44px -14px rgba(210, 29, 122, 0.58);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --wrap: 1240px;
  --wrap-narrow: 760px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

/* 2. RESET / BASE =========================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.15em; }

a {
  color: var(--blue-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--orange-soft); }

img, svg, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol { margin: 0 0 1.2em; padding-left: 1.35rem; }
li { margin-bottom: 0.45em; }

strong, b { color: var(--white); font-weight: 700; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button { cursor: pointer; border: 0; background: none; }

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.5rem 0;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* 3. ATMOSFERA ============================================================== */
.atmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 12% -6%, rgba(210, 29, 122, 0.24), transparent 62%),
    radial-gradient(1000px 700px at 92% 4%, rgba(155, 29, 201, 0.24), transparent 64%),
    radial-gradient(760px 520px at 50% 108%, rgba(248, 126, 27, 0.15), transparent 66%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 55%, #04050a 100%);
}
.atmos::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 74%);
}
.atmos::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* partículas discretas */
.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 12px 3px rgba(248, 126, 27, 0.55);
  opacity: 0;
  animation: float-up 15s linear infinite;
}
.spark:nth-child(2) { left: 18%; animation-delay: 0s;  background: var(--accent-soft); box-shadow: 0 0 12px 3px rgba(234, 63, 150, 0.5); }
.spark:nth-child(3) { left: 34%; animation-delay: 3.4s; }
.spark:nth-child(4) { left: 57%; animation-delay: 6.8s; background: var(--brand-purple-soft); box-shadow: 0 0 12px 3px rgba(177, 62, 224, 0.5); }
.spark:nth-child(5) { left: 73%; animation-delay: 9.6s; }
.spark:nth-child(6) { left: 89%; animation-delay: 12.2s; background: var(--accent-soft); box-shadow: 0 0 12px 3px rgba(234, 63, 150, 0.5); }

@keyframes float-up {
  0%   { transform: translateY(102vh) scale(0.6); opacity: 0; }
  12%  { opacity: 0.9; }
  85%  { opacity: 0.55; }
  100% { transform: translateY(-8vh) scale(1.1); opacity: 0; }
}

/* 4. LAYOUT ================================================================= */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3.4rem, 7vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.4rem, 4.5vw, 3.6rem); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
  flex-wrap: wrap;
}
.sec-head p {
  margin: 0.55rem 0 0;
  color: var(--text-dim);
  max-width: 56ch;
}
.sec-head h2 { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent-line);
  border-radius: 2px;
}

/* 5. HEADER / NAV =========================================================== */
.masthead {
  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(5, 6, 10, 0.92), rgba(5, 6, 10, 0.66));
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.9); }

.masthead__bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  flex-shrink: 0;
}
.brand:hover { color: var(--white); }
.brand__mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 16px rgba(210, 29, 122, 0.55));
  transition: transform 0.55s var(--ease-out), filter 0.4s var(--ease);
}
/* a marca é uma flor: girar é o gesto natural dela */
.brand:hover .brand__mark {
  transform: rotate(36deg) scale(1.07);
  filter: drop-shadow(0 6px 22px rgba(210, 29, 122, 0.75));
}
.brand__name {
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.brand__name span { color: var(--accent-soft); }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
}
.nav__link:hover { color: var(--white); background: var(--glass); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-line);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before { content: ""; top: -6px; left: 0; transform: none; }
.burger span::after { content: ""; top: 6px; left: 0; transform: none; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.85rem var(--gut) 1.4rem;
  background: rgba(7, 9, 14, 0.97);
}
.mobile-nav.is-open { display: block; animation: drop 0.28s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 0.8rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}
.mobile-nav a:hover { color: var(--orange-soft); }

/* 6. BOTÕES E CHIPS ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}
.btn:hover { color: var(--white); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent-grad);
  box-shadow: var(--glow-brand);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(210, 29, 122, 0.55), 0 26px 54px -16px rgba(210, 29, 122, 0.72); }

.btn--blue {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 70%, var(--blue-soft));
  box-shadow: var(--glow-blue);
}

.btn--ghost {
  background: var(--glass);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--glass-2); border-color: rgba(255, 255, 255, 0.28); }

.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.84rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.72rem;
  border-radius: var(--r-pill);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--text-soft);
}
.chip--red    { color: #ffd7d7; border-color: rgba(220, 38, 38, 0.45); background: rgba(220, 38, 38, 0.14); }
.chip--blue   { color: #d6e4ff; border-color: rgba(37, 99, 235, 0.45); background: rgba(37, 99, 235, 0.14); }
.chip--orange { color: #ffe3cc; border-color: rgba(249, 115, 22, 0.45); background: rgba(249, 115, 22, 0.15); }
.chip--green  { color: #cdf6dc; border-color: rgba(34, 197, 94, 0.4);  background: rgba(34, 197, 94, 0.13); }

.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.meta__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint); }

/* 7. SUPERFÍCIES / CARDS ==================================================== */
.panel {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(9, 11, 17, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.panel--pad { padding: clamp(1.35rem, 3vw, 2.4rem); }
.panel__glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}

/* card editorial */
.story {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)), rgba(10, 12, 18, 0.8);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s var(--ease);
  height: 100%;
}
.story:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.story__art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-850);
}
.story__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.story:hover .story__art img { transform: scale(1.07); }
.story__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 8, 12, 0.88) 100%);
}
.story__chip {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 2;
}
.story__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.story__title {
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
}
.story__title a { color: var(--white); }
.story__title a:hover { color: var(--orange-soft); }
.story__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.story__body .meta { margin-top: auto; padding-top: 0.5rem; }

/* card destaque grande */
.story--hero { min-height: 420px; }
.story--hero .story__art { aspect-ratio: auto; position: absolute; inset: 0; }
.story--hero .story__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.story--hero .story__title { font-size: clamp(1.45rem, 3vw, 2.15rem); }
.story--hero .story__excerpt { font-size: 1rem; max-width: 52ch; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* 8. HOME =================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 1.4rem;
}
.hero__kicker b {
  padding: 0.12rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 0.7rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-orange) 0%, var(--brand-pink-soft) 48%, var(--brand-purple-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: var(--text-soft);
  max-width: 54ch;
  margin-bottom: 1.9rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.2rem; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero__stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #9aa6bd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stat span {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* composição visual do hero */
.hero__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero__orb {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(248, 126, 27, 0.5), transparent 58%),
              radial-gradient(circle at 72% 72%, rgba(155, 29, 201, 0.52), transparent 58%);
  filter: blur(46px);
  animation: pulse-slow 9s ease-in-out infinite;
}
@keyframes pulse-slow {
  50% { transform: scale(1.08); opacity: 0.82; }
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__ring--1 { inset: 2%; animation: spin 38s linear infinite; border-style: dashed; }
.hero__ring--2 { inset: 15%; border-color: rgba(249, 115, 22, 0.22); animation: spin 26s linear infinite reverse; }
.hero__ring--3 { inset: 28%; border-color: rgba(37, 99, 235, 0.28); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__art {
  position: relative;
  z-index: 2;
  width: 74%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.75));
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  50% { transform: translateY(-14px); }
}

.hero__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(11, 14, 21, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.hero__float i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-style: normal;
  font-size: 0.95rem;
}
.hero__float--a { top: 8%; right: -4%; animation: bob 6s ease-in-out 0.5s infinite; }
.hero__float--a i { background: rgba(210, 29, 122, 0.22); color: #ffa8d4; }
.hero__float--b { bottom: 14%; left: -6%; animation: bob 8s ease-in-out 1.2s infinite; }
.hero__float--b i { background: rgba(37, 99, 235, 0.2); color: #a7c4ff; }
.hero__float small { display: block; color: var(--text-dim); font-weight: 500; font-size: 0.72rem; }

/* tira de universos */
.universe-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}
.universe {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.universe:hover { transform: translateY(-6px) scale(1.02); border-color: var(--line-strong); }
.universe img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.4s;
  filter: saturate(0.9);
}
.universe:hover img { transform: scale(1.09); filter: saturate(1.15); }
.universe__label {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.6rem 0.9rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.94));
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.universe__label small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0;
}

/* bento da zona interativa */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
}
.tool {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.4rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.008)), rgba(10, 12, 18, 0.72);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
  color: var(--text);
  min-height: 190px;
}
.tool:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.tool--wide { grid-column: span 3; min-height: 230px; }
.tool--tall { grid-column: span 3; }
.tool__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line-strong);
  background: var(--glass-2);
  font-size: 1.35rem;
  line-height: 1;
}
.tool__icon svg { width: 24px; height: 24px; }
.tool h3 { font-size: 1.16rem; margin: 0; }
.tool p { margin: 0; font-size: 0.89rem; color: var(--text-dim); }
.tool__go {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tool__go::after { content: "→"; transition: transform 0.3s var(--ease-out); }
.tool:hover .tool__go::after { transform: translateX(5px); }
.tool::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0;
  transition: opacity 0.45s;
  background: var(--accent);
}
.tool:hover::before { opacity: 0.28; }
.tool--blue::before { background: var(--brand-purple); }
.tool--orange::before { background: var(--brand-orange); }

/* lista editorial numerada */
.rundown { list-style: none; margin: 0; padding: 0; }
.rundown li { margin: 0; border-bottom: 1px solid var(--line); }
.rundown li:first-child { border-top: 1px solid var(--line); }
.rundown a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2rem);
  padding: 1.15rem 0.35rem;
  color: var(--text);
  transition: background 0.3s, padding 0.3s var(--ease);
}
.rundown a:hover { background: var(--glass); padding-inline: 0.9rem; color: var(--text); }
.rundown__num {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--ink-500);
  min-width: 2.1ch;
  transition: color 0.3s;
}
.rundown a:hover .rundown__num { color: var(--orange); }
.rundown__title { font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.rundown__title small {
  display: block;
  font-weight: 500;
  font-size: 0.83rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}
.rundown__cat { font-size: 0.72rem; }

/* faixa CTA */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.6rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 320px at 8% 0%, rgba(248, 126, 27, 0.32), transparent 70%),
    radial-gradient(600px 320px at 95% 100%, rgba(155, 29, 201, 0.4), transparent 70%),
    linear-gradient(160deg, rgba(18, 22, 33, 0.95), rgba(8, 10, 15, 0.95));
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { color: var(--text-soft); max-width: 58ch; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; margin-bottom: 0; margin-top: 1.7rem; }

/* 9. ARTIGO / EDITORIAL ===================================================== */
.article-head { padding-block: clamp(1.5rem, 4vw, 2.6rem) clamp(1.4rem, 3vw, 2rem); }
.article-head h1 { margin-bottom: 0.85rem; max-width: 22ch; }
.article-head .lead {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: var(--text-soft);
  max-width: 62ch;
  margin-bottom: 1.2rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
}

.figure-hero {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  aspect-ratio: 16 / 9;
  background: var(--ink-850);
}
.figure-hero img { width: 100%; height: 100%; object-fit: cover; }

.prose {
  font-size: 1.045rem;
  line-height: 1.78;
  color: #e4e9f2;
}
.prose > h2 {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.prose > h3 { margin-top: 1.9rem; color: var(--orange-soft); }
.prose a { text-decoration: underline; text-decoration-color: rgba(59, 130, 246, 0.4); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li::marker { color: var(--accent-soft); font-weight: 700; }
.prose blockquote {
  margin: 1.9rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: linear-gradient(90deg, rgba(210, 29, 122, 0.13), transparent);
  font-size: 1.08rem;
  color: var(--white);
  font-weight: 500;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-dim);
  font-weight: 600;
}

.callout {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.14), rgba(9, 11, 17, 0.6));
  font-size: 0.97rem;
}
.callout h4 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: linear-gradient(160deg, rgba(249, 115, 22, 0.15), rgba(9, 11, 17, 0.6)); }
.callout--warn h4 { color: var(--orange-soft); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.9rem 0;
  font-size: 0.92rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.data-table th,
.data-table td {
  padding: 0.72rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.data-table tbody tr:hover { background: var(--glass); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* aside */
.rail { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1.1rem; }
.rail__card {
  padding: 1.2rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(10, 12, 18, 0.72);
}
.rail__card h3 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
}
.rail__links { list-style: none; margin: 0; padding: 0; }
.rail__links li { margin: 0; }
.rail__links a {
  display: block;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.rail__links li:first-child a { border-top: 0; padding-top: 0; }
.rail__links a:hover { color: var(--orange-soft); }

.share { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share button,
.share a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: background 0.25s, color 0.25s;
}
.share button:hover,
.share a:hover { background: var(--glass-2); color: var(--white); }

/* 10. BREADCRUMB / TOC / FAQ ================================================ */
.crumbs {
  padding-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.crumbs li::after { content: "/"; color: var(--text-faint); }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: var(--text-dim); font-weight: 600; }
.crumbs a:hover { color: var(--orange-soft); }
.crumbs [aria-current="page"] { color: var(--text-soft); }

.toc {
  margin: 0 0 2rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
}
.toc__title {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.7rem;
}
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 0.35rem; font-size: 0.92rem; }
.toc li::marker { color: var(--accent-soft); font-weight: 700; }
.toc a { color: var(--text-soft); }
.toc a:hover { color: var(--accent-soft); }

.faq { display: flex; flex-direction: column; gap: 0.65rem; }
.faq details {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.032);
  transition: border-color 0.3s, background 0.3s;
}
.faq details[open] { border-color: rgba(249, 115, 22, 0.35); background: rgba(249, 115, 22, 0.06); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--white);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  color: var(--orange-soft);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 1.2rem 1.15rem; color: var(--text-soft); font-size: 0.95rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* 11. WIDGETS INTERATIVOS =================================================== */
/* --- quiz --- */
.quiz { position: relative; }
.quiz__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.quiz__track {
  flex: 1;
  min-width: 160px;
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.quiz__fill {
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--accent-line);
  transition: width 0.45s var(--ease-out);
}
.quiz__counter { font-size: 0.82rem; font-weight: 700; color: var(--text-dim); letter-spacing: 0.04em; }
.quiz__score { font-size: 0.82rem; font-weight: 800; color: var(--green); }
.quiz__record {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.28rem 0.62rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
}

.quiz__q {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 1.3rem;
  text-wrap: balance;
}
.quiz__options { display: grid; gap: 0.7rem; }
.quiz__opt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  transition: transform 0.2s var(--ease-out), background 0.25s, border-color 0.25s;
}
.quiz__opt:hover:not([disabled]) {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.3);
}
.quiz__key {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-soft);
}
.quiz__opt.is-right {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.14);
}
.quiz__opt.is-right .quiz__key { background: var(--green); color: #05240f; }
.quiz__opt.is-wrong {
  border-color: rgba(220, 38, 38, 0.6);
  background: rgba(220, 38, 38, 0.14);
}
.quiz__opt.is-wrong .quiz__key { background: var(--red); color: #fff; }
.quiz__opt[disabled] { cursor: default; }

.quiz__feedback {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.93rem;
  color: var(--text-soft);
  animation: drop 0.3s var(--ease-out);
}
.quiz__feedback b { display: block; margin-bottom: 0.25rem; }
.quiz__feedback.is-right b { color: var(--green); }
.quiz__feedback.is-wrong b { color: var(--red-soft); }
.quiz__actions { margin-top: 1.2rem; display: flex; gap: 0.7rem; flex-wrap: wrap; }

.quiz__result { text-align: center; padding: 1rem 0; animation: drop 0.4s var(--ease-out); }
.quiz__ring {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 1.4rem;
  display: grid;
  place-items: center;
}
.quiz__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.quiz__ring circle { fill: none; stroke-width: 10; }
.quiz__ring .bg { stroke: rgba(255, 255, 255, 0.09); }
.quiz__ring .fg {
  stroke: url(#quizGrad);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s var(--ease-out);
}
.quiz__ring b {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--white);
  line-height: 1;
}
.quiz__ring span { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.quiz__rank { font-size: 1.35rem; font-weight: 900; margin-bottom: 0.4rem; }
.quiz__best {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}

/* --- curiosidade aleatória --- */
.fact {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
}
.fact__num {
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(160deg, var(--brand-orange), var(--brand-pink) 62%, rgba(155, 29, 201, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.fact__text {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  margin: 0 0 0.7rem;
  /* reserva três linhas para que sortear outra curiosidade não empurre o botão */
  min-height: 4.5em;
  text-wrap: pretty;
}
.fact__src { font-size: 0.82rem; color: var(--text-dim); margin: 0 0 1.2rem; }
.fact__src b { color: var(--orange-soft); }
.is-swapping { animation: swap 0.42s var(--ease-out); }
@keyframes swap {
  0%   { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  100% { opacity: 1; transform: none; filter: none; }
}

/* --- linha do tempo horizontal --- */
.tl { position: relative; }
.tl__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tab {
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: all 0.25s var(--ease);
}
.tab:hover { color: var(--white); background: var(--glass-2); }
.tab.is-active {
  color: #fff;
  background: var(--accent-grad);
  border-color: transparent;
  box-shadow: 0 10px 26px -10px rgba(210, 29, 122, 0.7);
}

.tl__viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2.6rem 0 1.6rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-500) transparent;
}
.tl__viewport::-webkit-scrollbar { height: 8px; }
.tl__viewport::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
.tl__viewport::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: 4px; }
.tl__viewport::-webkit-scrollbar-thumb:hover { background: var(--orange); }

.tl__rail {
  display: flex;
  gap: 0;
  position: relative;
  padding-inline: 0.5rem;
  min-width: max-content;
}
.tl__rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: linear-gradient(90deg, rgba(248, 126, 27, 0.7), rgba(210, 29, 122, 0.65), rgba(155, 29, 201, 0.7));
  border-radius: 2px;
}
.tl__node {
  position: relative;
  flex: 0 0 232px;
  padding: 0 0.7rem;
  scroll-snap-align: center;
  text-align: left;
  color: var(--text);
}
.tl__dot {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--ink-950);
  background: var(--text-faint);
  margin-bottom: 1.1rem;
  transition: all 0.3s var(--ease-out);
}
.tl__node:hover .tl__dot,
.tl__node.is-active .tl__dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.22), 0 0 22px 4px rgba(249, 115, 22, 0.5);
  transform: scale(1.18);
}
.tl__year {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.tl__label { font-size: 0.95rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.3rem; }
.tl__desc { font-size: 0.83rem; color: var(--text-dim); line-height: 1.5; }
.tl__node::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  top: 34px;
  bottom: 0;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  pointer-events: none;
}
.tl__node:hover::after { border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.tl__hint { font-size: 0.8rem; color: var(--text-faint); display: flex; align-items: center; gap: 0.45rem; }

/* --- comparador --- */
.vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  align-items: start;
}
.vs__pick {
  padding: 1.15rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)), rgba(10, 12, 18, 0.75);
}
.vs__pick--a { box-shadow: inset 0 0 60px -20px rgba(220, 38, 38, 0.5); }
.vs__pick--b { box-shadow: inset 0 0 60px -20px rgba(37, 99, 235, 0.55); }
.vs__badge {
  align-self: center;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  background: var(--accent-grad);
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.12), var(--shadow-md);
  margin-top: 3.5rem;
}
select.picker {
  width: 100%;
  padding: 0.75rem 2.2rem 0.75rem 0.9rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background-color: rgba(255, 255, 255, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9c1d1' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.94rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.25s;
}
select.picker:hover { border-color: rgba(255, 255, 255, 0.32); }
select.picker option { background: var(--ink-800); color: var(--white); }

.vs__figure {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  margin: 1rem 0 0.9rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.07), transparent 70%), var(--ink-850);
  display: grid;
  place-items: center;
}
.vs__figure img { width: 78%; }
.vs__name { font-size: 1.15rem; font-weight: 900; margin: 0 0 0.15rem; color: var(--white); }
.vs__real { font-size: 0.82rem; color: var(--text-dim); margin: 0 0 0.9rem; }

.vs__rows { list-style: none; margin: 0; padding: 0; }
.vs__rows li {
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.vs__k {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 800;
  margin-bottom: 0.22rem;
}
.vs__stat { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.vs__stat span { flex: 0 0 92px; font-size: 0.78rem; color: var(--text-dim); font-weight: 600; }
.vs__meter {
  flex: 1;
  height: 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.vs__meter i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  transition: width 0.7s var(--ease-out);
}
.vs__pick--a .vs__meter i { background: linear-gradient(90deg, var(--red-deep), var(--red-soft)); }
.vs__pick--b .vs__meter i { background: linear-gradient(90deg, var(--blue-deep), var(--blue-soft)); }
.vs__val { flex: 0 0 2.4ch; text-align: right; font-size: 0.8rem; font-weight: 800; color: var(--white); }

.vs__verdict {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: linear-gradient(120deg, rgba(220, 38, 38, 0.12), rgba(37, 99, 235, 0.12));
  font-size: 0.96rem;
}
.vs__verdict b { color: var(--orange-soft); }

/* --- ranking --- */
.rank__controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.rank__controls .lbl {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-right: 0.2rem;
}
.rank__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.rank__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.95rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: transform 0.35s var(--ease-out), border-color 0.3s, background 0.3s;
}
.rank__item:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
}
.rank__pos {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
}
.rank__item:nth-child(1) .rank__pos { background: linear-gradient(140deg, #fbbf24, #b45309); color: #2a1a00; border-color: transparent; }
.rank__item:nth-child(2) .rank__pos { background: linear-gradient(140deg, #e2e8f0, #94a3b8); color: #14181f; border-color: transparent; }
.rank__item:nth-child(3) .rank__pos { background: linear-gradient(140deg, #f59e6b, #b45309); color: #2a1300; border-color: transparent; }
.rank__name { font-weight: 800; font-size: 1.02rem; color: var(--white); margin: 0 0 0.15rem; }
.rank__why { font-size: 0.86rem; color: var(--text-dim); margin: 0; line-height: 1.5; }
.rank__tag { font-size: 0.7rem; }
.rank__score {
  text-align: right;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--orange-soft);
}
.rank__score small { display: block; font-size: 0.66rem; color: var(--text-faint); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* --- quem disse essa frase --- */
.quote-game { text-align: center; }
.quote-game__quote {
  position: relative;
  font-size: clamp(1.3rem, 3.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
  max-width: 24ch;
  margin: 0.5rem auto 1.6rem;
  padding-top: 2.2rem;
  text-wrap: balance;
}
.quote-game__quote::before {
  content: "\201C";
  position: absolute;
  top: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(249, 115, 22, 0.45);
  font-family: Georgia, serif;
}
.quote-game__opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.7rem;
  max-width: 620px;
  margin-inline: auto;
}
.quote-game__opt {
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: transform 0.22s var(--ease-out), background 0.25s, border-color 0.25s;
}
.quote-game__opt:hover:not([disabled]) { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); }
.quote-game__opt.is-right { border-color: rgba(34, 197, 94, 0.65); background: rgba(34, 197, 94, 0.16); color: #d9ffe8; }
.quote-game__opt.is-wrong { border-color: rgba(220, 38, 38, 0.6); background: rgba(220, 38, 38, 0.15); color: #ffdcdc; }
.quote-game__meta {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 700;
}
.quote-game__meta b { color: var(--white); }
.quote-game__hint {
  margin-top: 1.3rem;
  min-height: 3.2em;
  font-size: 0.94rem;
  color: var(--text-soft);
}
.quote-game__hint strong { color: var(--orange-soft); }

/* streak / dots */
.streak { display: inline-flex; gap: 4px; }
.streak i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.3s;
}
.streak i.on { background: var(--green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.7); }
.streak i.off { background: var(--red); }

/* 12. RODAPÉ ================================================================ */
.footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 11, 17, 0.6), rgba(4, 5, 9, 0.95));
  padding-block: clamp(2.4rem, 5vw, 3.6rem) 1.6rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.4rem;
}
.footer__about p {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 40ch;
  margin: 1rem 0 0;
}
.footer h4 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.55rem; }
.footer li a { font-size: 0.9rem; color: var(--text-soft); font-weight: 500; }
.footer li a:hover { color: var(--orange-soft); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer__disclaimer {
  margin: 1.4rem 0 0;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 90ch;
}

/* 13. UTILITÁRIOS =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: clamp(1rem, 2.5vw, 1.6rem); }
.row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.muted { color: var(--text-dim); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 29, 122, 0.55), transparent);
  border: 0;
  margin: 0;
}

/* página de erro / vazio */
.blank { text-align: center; padding-block: clamp(3.5rem, 10vw, 7rem); }
.blank__code {
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(160deg, var(--brand-orange), var(--brand-pink) 55%, var(--brand-purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 14. RESPONSIVO ============================================================ */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; }
  .rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .rail__card { flex: 1 1 280px; }
  .tool, .tool--wide, .tool--tall { grid-column: span 3; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { order: -1; max-width: 380px; margin-inline: auto; aspect-ratio: 4 / 3; }
  .hero__float--a { right: 2%; }
  .hero__float--b { left: 0; }
  .story--hero { min-height: 340px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 80px; }
  .bento { grid-template-columns: 1fr; }
  .tool, .tool--wide, .tool--tall { grid-column: span 1; min-height: 0; }
  .vs { grid-template-columns: 1fr; }
  .vs__badge { margin: 0 auto; }
  .rank__item { grid-template-columns: 44px minmax(0, 1fr); }
  .rank__score { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 0.4rem; }
  .rank__score small { display: inline; }
  .quiz__ring { width: 140px; height: 140px; }
  .fact { grid-template-columns: 1fr; }
  .fact__num { font-size: 3.2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .rundown a { grid-template-columns: auto 1fr; }
  .rundown__cat { grid-column: 2; justify-self: start; }
  .hero__stats { gap: 1.2rem 1.8rem; }
  .hero__stat strong { font-size: 1.45rem; }
  /* decoração secundária: os balões flutuantes são mais largos que o palco reduzido */
  .hero__float { display: none; }
}

@media (max-width: 460px) {
  .tl__node { flex-basis: 190px; }
  .quote-game__opts { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__cta .btn { width: 100%; }
  .share button, .share a { flex: 1; justify-content: center; }
}

/* 15. MOVIMENTO REDUZIDO ==================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .spark { display: none; }
}

@media print {
  .atmos, .masthead, .footer, .rail, .toc, .hero__stage { display: none !important; }
  body { background: #fff; color: #111; }
  .prose { color: #111; }
}
