@charset "UTF-8";
/* =========================================================================
   LuaCat Games — folha de estilo unica
   Ordem: tokens · base · efeitos · cabecalho · componentes · paginas · midia
   Regra de performance: animacoes so em transform/opacity/filter, nunca em
   propriedades que disparam layout. Tudo respeita prefers-reduced-motion.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  --violet: #a855f7;
  --violet-2: #7c3aed;
  --cyan: #22d3ee;
  --pink: #ff3d84;
  --lime: #a3e635;
  --amber: #fbbf24;
  --red: #ff4d5e;

  --grad-brand: linear-gradient(120deg, #c084fc 0%, #a855f7 40%, #22d3ee 100%);
  --grad-hot: linear-gradient(120deg, #ff3d84 0%, #ff7a45 60%, #fbbf24 100%);
  --grad-cyan: linear-gradient(120deg, #22d3ee 0%, #38bdf8 55%, #a855f7 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --wrap: 1280px;
  --gap: clamp(14px, 2vw, 24px);

  --ease: cubic-bezier(.22, .68, .36, 1);
  --dur: .28s;

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Inter",
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Semibold", var(--font);

  color-scheme: dark;
}

/* Tema escuro (padrao) */
:root,
[data-theme="dark"] {
  --bg: #08050f;
  --bg-2: #0d0819;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --surface-solid: #150e26;
  --line: rgba(168, 85, 247, .18);
  --line-soft: rgba(255, 255, 255, .08);
  --text: #f3eeff;
  --text-2: #b9aed6;
  --text-3: #8b7fa8;
  --shadow: 0 18px 44px rgba(0, 0, 0, .55);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, .35);
  --glow: 0 0 0 1px rgba(168, 85, 247, .35), 0 12px 40px rgba(168, 85, 247, .28);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f6f4fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2edfb;
  --surface-solid: #ffffff;
  --line: rgba(124, 58, 237, .18);
  --line-soft: rgba(20, 12, 40, .1);
  --text: #17102b;
  --text-2: #4b4363;
  --text-3: #6f6789;
  --violet: #7c3aed;
  --cyan: #0891b2;
  --pink: #db2777;
  --shadow: 0 14px 34px rgba(60, 35, 120, .14);
  --shadow-soft: 0 6px 18px rgba(60, 35, 120, .1);
  --glow: 0 0 0 1px rgba(124, 58, 237, .2), 0 10px 30px rgba(124, 58, 237, .16);
  color-scheme: light;
}

/* ---------- 2. Base ------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

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

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

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 750;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.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;
}

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--violet); color: #fff; padding: 10px 18px;
  border-radius: 0 0 12px 12px; font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip:focus { top: 0; }

main { display: block; padding-bottom: 64px; }

/* ---------- 3. Efeitos de fundo ------------------------------------------ */

.bg-fx {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(168, 85, 247, .22), transparent 60%),
    radial-gradient(900px 620px at 92% 4%, rgba(34, 211, 238, .16), transparent 62%),
    radial-gradient(800px 600px at 50% 108%, rgba(255, 61, 132, .14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
}

[data-theme="light"] .bg-fx {
  background:
    radial-gradient(1100px 640px at 10% -10%, rgba(168, 85, 247, .16), transparent 60%),
    radial-gradient(900px 600px at 95% 0%, rgba(34, 211, 238, .14), transparent 60%),
    linear-gradient(180deg, #f8f6fe 0%, #f3effb 60%, #f6f4fc 100%);
}

.bg-fx__orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  will-change: transform;
}
.bg-fx__orb--1 { width: 42vmax; height: 42vmax; left: -12vmax; top: -14vmax;
  background: radial-gradient(circle, rgba(168, 85, 247, .5), transparent 70%);
  animation: float1 26s var(--ease) infinite; }
.bg-fx__orb--2 { width: 34vmax; height: 34vmax; right: -10vmax; top: 12vh;
  background: radial-gradient(circle, rgba(34, 211, 238, .42), transparent 70%);
  animation: float2 32s var(--ease) infinite; }
.bg-fx__orb--3 { width: 30vmax; height: 30vmax; left: 30vw; bottom: -12vmax;
  background: radial-gradient(circle, rgba(255, 61, 132, .34), transparent 70%);
  animation: float3 38s var(--ease) infinite; }

@keyframes float1 { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, 5vh, 0) scale(1.12); } }
@keyframes float2 { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-7vw, 8vh, 0) scale(1.08); } }
@keyframes float3 { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(5vw, -7vh, 0) scale(1.15); } }

.bg-fx__stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
[data-theme="light"] .bg-fx__stars { opacity: .3; }

/* ---------- 4. Cabecalho ------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 90; }

.site-header__bar {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex; align-items: center; gap: 14px; min-height: 66px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(168, 85, 247, .55)); }
.logo__text {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--font-display); letter-spacing: -.03em;
}
.logo__text strong {
  font-size: 1.22rem; font-weight: 800;
  background: var(--grad-brand); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.logo__text em {
  font-style: normal; font-size: .66rem; letter-spacing: .32em;
  color: var(--text-3); text-transform: uppercase; margin-top: 2px;
}

.nav { flex: 1; min-width: 0; }
.nav ul { display: flex; gap: 2px; align-items: center; }
.nav__link {
  position: relative; display: block; padding: 9px 13px; border-radius: 10px;
  font-weight: 650; font-size: .88rem; letter-spacing: .01em;
  color: var(--text-2); white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }

.search { position: relative; display: flex; align-items: center; }
.search input {
  width: 210px; padding: 9px 38px 9px 14px; font: inherit; font-size: .88rem;
  color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; transition: width var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search input::placeholder { color: var(--text-3); }
.search input:focus { width: 290px; box-shadow: var(--glow); outline: none; }
.search__go {
  position: absolute; right: 4px; width: 30px; height: 30px; display: grid; place-items: center;
  background: transparent; border: 0; color: var(--text-2); cursor: pointer; border-radius: 50%;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.search__go svg { width: 18px; height: 18px; }
.search__go:hover { color: var(--cyan); transform: scale(1.12); }

.search__results {
  position: absolute; top: calc(100% + 8px); right: 0; width: min(420px, 88vw);
  background: var(--surface-solid); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; z-index: 60;
}
[data-theme="light"] .search__results { background: #fff; }
.search__results a {
  display: flex; gap: 10px; align-items: center; padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft); transition: background var(--dur) var(--ease);
}
.search__results a:last-child { border-bottom: 0; }
.search__results a:hover, .search__results a.is-active { background: var(--surface-2); }
.search__results img { width: 52px; height: 34px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.search__results strong { display: block; font-size: .84rem; font-weight: 650; line-height: 1.3; }
.search__results span { font-size: .72rem; color: var(--text-3); }
.search__empty { padding: 14px; font-size: .85rem; color: var(--text-3); }

.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text-2); cursor: pointer;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--glow); }
.icon-btn svg { width: 19px; height: 19px; }

.theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-sun { display: block; }
[data-theme="light"] .theme-btn .i-moon { display: none; }

.menu-btn { display: none; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  content: ""; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu-btn__bars::before { transform: translateY(-6px); }
.menu-btn__bars::after { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: rotate(-45deg) translateY(0); }

/* Ticker de urgentes */
.ticker {
  display: flex; align-items: center; gap: 12px; padding: 7px 16px;
  background: linear-gradient(90deg, rgba(255, 61, 132, .16), rgba(168, 85, 247, .1) 60%, transparent);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.ticker__tag {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  font-size: .68rem; font-weight: 850; letter-spacing: .14em;
  color: #fff; background: var(--red); padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 0 18px rgba(255, 77, 94, .55);
}
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 92%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 14px; white-space: nowrap; animation: ticker 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { font-size: .82rem; font-weight: 620; color: var(--text-2); transition: color var(--dur) var(--ease); }
.ticker__item:hover { color: var(--pink); }
.ticker__sep { color: var(--text-3); font-size: .6rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.dot {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  display: inline-block; animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.72); } }

.update-bar { border-bottom: 1px solid var(--line-soft); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.update-bar__inner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 6px 0; font-size: .74rem; color: var(--text-3);
}
.update-bar__live {
  display: inline-flex; align-items: center; gap: 6px; color: var(--lime);
  font-weight: 800; letter-spacing: .1em;
}
.update-bar__count { margin-left: auto; }

/* ---------- 5. Botoes, chips, selos -------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.btn--primary { background: var(--grad-brand); color: #14082a; box-shadow: 0 8px 26px rgba(168, 85, 247, .38); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 34px rgba(168, 85, 247, .5); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn:active { transform: translateY(0) scale(.98); }

.chip {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.chip--cat { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.chip--cat:hover { color: var(--text); border-color: var(--violet); }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font-size: .64rem; font-weight: 900; letter-spacing: .12em; color: #fff;
}
.badge--urgent { background: var(--red); box-shadow: 0 0 16px rgba(255, 77, 94, .6); }
.badge--multi { background: linear-gradient(120deg, var(--violet-2), var(--cyan)); }
.badge--release { background: linear-gradient(120deg, #f59e0b, #ef4444); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 650;
  color: var(--text-2); background: var(--surface); border: 1px solid var(--line-soft);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tag:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }

/* ---------- 6. Cards ------------------------------------------------------ */

.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: .74rem; color: var(--text-3); margin-top: 8px;
}
.meta__src { font-weight: 700; color: var(--text-2); }
.meta__dot { opacity: .5; }
.meta__cat:hover { color: var(--violet); }

.heat {
  position: relative; height: 3px; margin-top: 10px; border-radius: 2px;
  background: var(--surface-2); overflow: hidden;
}
.heat > span {
  display: block; height: 100%; border-radius: 2px; background: var(--grad-hot);
  transform-origin: left; animation: heat-grow .9s var(--ease) both;
}
@keyframes heat-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; height: 100%;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(168, 85, 247, .16), transparent 40%, rgba(34, 211, 238, .12));
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }

.card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }

.card__body { display: flex; flex-direction: column; padding: 14px 16px 16px; flex: 1; }
.card__cat {
  font-size: .66rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 7px;
}
.card__title { font-size: 1.02rem; font-weight: 720; }
.card__title a { background-image: linear-gradient(var(--cyan), var(--cyan));
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
.card__summary { margin: 8px 0 0; font-size: .86rem; color: var(--text-2); }
.card__body .meta { margin-top: auto; padding-top: 10px; }

.card--feature .card__title { font-size: 1.12rem; }

/* Manchete */
.c-hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 420px; display: flex; align-items: flex-end;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.c-hero__media { position: absolute; inset: 0; }
.c-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.c-hero:hover .c-hero__media img { transform: scale(1.05); }
.c-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 3, 14, .1) 0%, rgba(6, 3, 14, .72) 55%, rgba(6, 3, 14, .95) 100%);
}
.c-hero__body { position: relative; padding: clamp(18px, 3vw, 34px); width: 100%; color: #fff; }
.c-hero__badges { display: flex; gap: 8px; margin-bottom: 12px; }
.c-hero__badges .chip--cat { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .28); }
.c-hero__title { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 820; text-wrap: balance; }
.c-hero__title a { text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.c-hero__summary { margin: 12px 0 0; font-size: clamp(.9rem, 1.2vw, 1.02rem); color: rgba(255, 255, 255, .84); max-width: 62ch; }
.c-hero .meta { color: rgba(255, 255, 255, .68); }
.c-hero .meta__src { color: #fff; }
.c-hero .tag { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .9); }

/* Card compacto (barra lateral) */
.c-compact { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; }
.c-compact + .c-compact { padding-top: 12px; border-top: 1px solid var(--line-soft); }
.c-compact__media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; }
.c-compact__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.c-compact:hover .c-compact__media img { transform: scale(1.08); }
.c-compact__title { font-size: .87rem; font-weight: 660; line-height: 1.35; }
.c-compact__title a:hover { color: var(--cyan); }
.c-compact .meta { margin-top: 5px; font-size: .7rem; }

/* Ranking numerado */
.c-rank { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.c-rank:last-child { border-bottom: 0; }
.c-rank__n {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 850; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.c-rank__title { font-size: .88rem; font-weight: 650; line-height: 1.35; }
.c-rank__title a:hover { color: var(--pink); }

/* Card rapido */
.c-quick {
  position: relative; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--violet);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.c-quick:hover { transform: translateX(4px); border-left-color: var(--cyan); background: var(--surface-2); }
.c-quick__cat { font-size: .62rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.c-quick__title { font-size: .92rem; font-weight: 660; line-height: 1.35; margin: 5px 0 6px; }
.c-quick__meta { font-size: .72rem; color: var(--text-3); }

/* ---------- 7. Secoes e grades ------------------------------------------- */

.sec { margin-top: clamp(32px, 5vw, 56px); }

.sec__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.sec__head::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 92px; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
}
.sec__head--pink::after { background: var(--grad-hot); }
.sec__head--cyan::after { background: var(--grad-cyan); }
.sec__title { font-size: clamp(1.15rem, 2vw, 1.5rem); display: flex; align-items: center; gap: 10px; }
.sec__icon { font-size: 1.1em; }
.sec__sub { margin: 6px 0 0; font-size: .84rem; color: var(--text-3); }
.sec__link {
  font-size: .82rem; font-weight: 700; color: var(--text-2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.sec__link:hover { color: var(--cyan); gap: 10px; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.hero {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--gap);
  margin-top: clamp(20px, 3vw, 34px);
}
.hero__side { display: grid; gap: var(--gap); grid-template-rows: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 40px); margin-top: clamp(24px, 4vw, 44px); }
.layout__main { min-width: 0; }
.layout__side { min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); }
.split__rest { display: flex; flex-direction: column; gap: 12px; }

.quick-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.list-lead { margin-bottom: var(--gap); }

/* ---------- 8. Carrossel -------------------------------------------------- */

.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 2px 14px;
  scrollbar-width: thin; scrollbar-color: var(--violet) transparent;
}
.carousel__track > * { scroll-snap-align: start; }
.carousel__track::-webkit-scrollbar { height: 6px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 99px; }
.carousel__track::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 99px; }

.carousel__nav {
  position: absolute; top: 42%; z-index: 5; width: 42px; height: 42px;
  display: grid; place-items: center; font-size: 1.5rem; line-height: 1;
  color: var(--text); background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  backdrop-filter: blur(10px); opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.carousel:hover .carousel__nav, .carousel__nav:focus-visible { opacity: 1; }
.carousel__nav:hover { box-shadow: var(--glow); transform: scale(1.08); }
.carousel__nav--prev { left: -12px; }
.carousel__nav--next { right: -12px; }
.carousel__nav[disabled] { opacity: 0 !important; pointer-events: none; }

/* ---------- 9. Paineis da barra lateral ---------------------------------- */

.panel {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 16px 18px;
}
.panel--sticky { position: sticky; top: 96px; }
.panel__title {
  font-size: .95rem; display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft);
}
.panel__more {
  display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 700; color: var(--cyan);
  transition: transform var(--dur) var(--ease);
}
.panel__more:hover { transform: translateX(4px); }
.stack { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }

.tag-rank li a {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: .86rem;
  transition: transform var(--dur) var(--ease);
}
.tag-rank li:last-child a { border-bottom: 0; }
.tag-rank li a:hover { transform: translateX(4px); }
.tag-rank__n { font-weight: 800; color: var(--text-3); font-size: .8rem; }
.tag-rank__name { font-weight: 650; }
.tag-rank li a:hover .tag-rank__name { color: var(--violet); }
.tag-rank__count {
  font-size: .7rem; color: var(--text-3); background: var(--surface-2);
  padding: 2px 8px; border-radius: 999px;
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.stats li { text-align: center; padding: 10px 6px; background: var(--surface-2); border-radius: var(--radius-sm); }
.stats strong {
  display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 850;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { font-size: .72rem; color: var(--text-3); }

/* ---------- 10. Compartilhamento e reacoes ------------------------------- */

.share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.share__label { font-size: .78rem; font-weight: 700; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.share__list { display: flex; gap: 8px; flex-wrap: wrap; }
.share__btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-soft); color: var(--text-2); cursor: pointer;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease),
    background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.share__btn svg { width: 18px; height: 18px; }
.share__btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.share__btn--whatsapp:hover { background: #25d366; box-shadow: 0 8px 22px rgba(37, 211, 102, .4); }
.share__btn--x:hover { background: #111; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.share__btn--facebook:hover { background: #1877f2; box-shadow: 0 8px 22px rgba(24, 119, 242, .4); }
.share__btn--telegram:hover { background: #29a9eb; box-shadow: 0 8px 22px rgba(41, 169, 235, .4); }
.share__btn--reddit:hover { background: #ff4500; box-shadow: 0 8px 22px rgba(255, 69, 0, .4); }
.share__btn--copy:hover, .share__btn--native:hover { background: var(--violet); box-shadow: var(--glow); }
.share__btn.is-done { background: var(--lime); color: #12200a; }

.reactions {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 22px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
}
.reactions__label { font-weight: 700; font-size: .92rem; }
.reactions__list { display: flex; gap: 10px; flex-wrap: wrap; }
.react {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--text-2);
  font: inherit; font-size: .86rem; font-weight: 650; cursor: pointer;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.react:hover { transform: translateY(-3px); border-color: var(--violet); }
.react.is-on { background: var(--grad-brand); color: #180a2c; border-color: transparent; }
.react__emoji { font-size: 1.05rem; transition: transform var(--dur) var(--ease); }
.react:hover .react__emoji { transform: scale(1.25) rotate(-8deg); }
.react.is-bump .react__emoji { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 45% { transform: scale(1.6) rotate(12deg); } 100% { transform: scale(1); } }

.pop { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.pop__head { display: flex; justify-content: space-between; font-size: .84rem; margin-bottom: 8px; }
.pop__head strong { color: var(--cyan); }
.pop__bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.pop__bar > span { display: block; height: 100%; background: var(--grad-brand); border-radius: 999px;
  transform-origin: left; animation: heat-grow 1s var(--ease) both; }
.pop__legend { margin-top: 8px; font-size: .72rem; color: var(--text-3); }

/* ---------- 11. Newsletter, anuncios, avisos ----------------------------- */

.news-box {
  position: relative; overflow: hidden; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(168, 85, 247, .16), rgba(34, 211, 238, .1));
  border: 1px solid var(--line);
}
.news-box--wide { margin-top: clamp(32px, 5vw, 56px); padding: clamp(24px, 4vw, 40px); text-align: center; }
.news-box__glow {
  position: absolute; width: 240px; height: 240px; right: -80px; top: -100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 132, .38), transparent 70%); filter: blur(30px);
}
.news-box__title { font-size: 1.15rem; position: relative; }
.news-box--wide .news-box__title { font-size: clamp(1.3rem, 3vw, 2rem); }
.news-box__text { margin: 8px 0 14px; font-size: .86rem; color: var(--text-2); position: relative; }
.news-box__form { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.news-box--wide .news-box__form { justify-content: center; }
.news-box__form input[type="email"] {
  flex: 1; min-width: 190px; max-width: 380px; padding: 11px 16px; font: inherit; font-size: .9rem;
  color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.news-box__status { margin: 10px 0 0; font-size: .8rem; min-height: 1.2em; position: relative; }
.news-box__status.is-ok { color: var(--lime); }
.news-box__status.is-error { color: var(--red); }

.ad { margin: 24px 0; text-align: center; }
.ad--placeholder { display: none; }
.ad__label { display: block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }

.notice {
  padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px;
  background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .35); font-size: .88rem;
}
.notice a { color: var(--cyan); font-weight: 700; }

.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty__icon { font-size: 2.6rem; margin-bottom: 10px; }
.empty__msg { font-size: 1.05rem; font-weight: 650; color: var(--text-2); margin-bottom: 4px; }
.empty__hint { font-size: .86rem; }

/* ---------- 12. Cabecalho de pagina, abas, paginacao --------------------- */

.crumbs { padding: 16px 0 0; font-size: .78rem; color: var(--text-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--cyan); }

.page-head { padding: clamp(20px, 3vw, 36px) 0 0; }
.page-head__title { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.page-head__sub { margin: 8px 0 0; color: var(--text-2); font-size: .96rem; max-width: 70ch; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tabs__item {
  padding: 8px 16px; border-radius: 999px; font-size: .84rem; font-weight: 650;
  background: var(--surface); border: 1px solid var(--line-soft); color: var(--text-2);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tabs__item:hover { transform: translateY(-2px); color: var(--text); border-color: var(--violet); }
.tabs__item.is-active { background: var(--grad-brand); color: #180a2c; border-color: transparent; }

.search-big { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.search-big input {
  flex: 1; min-width: 220px; padding: 13px 20px; font: inherit; font-size: 1rem;
  color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}

.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.pager__btn {
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .86rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pager__btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.pager__info { font-size: .84rem; color: var(--text-3); }

/* ---------- 13. Pagina de materia ---------------------------------------- */

.layout--article { align-items: start; }

.article__head { padding-top: 14px; }
.article__badges { display: flex; gap: 8px; margin-bottom: 12px; }
.article__title { font-size: clamp(1.7rem, 4.2vw, 2.9rem); text-wrap: balance; }
.article__lead { margin: 14px 0 0; font-size: clamp(1rem, 1.6vw, 1.16rem); color: var(--text-2); max-width: 68ch; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .8rem; color: var(--text-3); }
.article__source a { color: var(--cyan); font-weight: 700; }
.article__sources { color: var(--violet); font-weight: 700; }

.article__figure { margin: 22px 0 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__figure figcaption { padding: 8px 14px; font-size: .74rem; color: var(--text-3); background: var(--surface); }

.article__body { margin-top: 24px; font-size: 1.02rem; }

.box {
  padding: 18px 20px; border-radius: var(--radius); margin-top: 22px;
  background: var(--surface); border: 1px solid var(--line-soft);
}
.box__title { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.box__hint { font-size: .82rem; color: var(--text-3); margin-bottom: 12px; }
.box__credit { font-size: .78rem; color: var(--text-3); margin: 10px 0 0; }
.box--summary { border-left: 3px solid var(--violet); }

.source-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 20px; padding: 16px 20px; border-radius: var(--radius);
  background: var(--grad-brand); color: #180a2c; font-weight: 750;
  box-shadow: 0 10px 30px rgba(168, 85, 247, .32);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.source-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(168, 85, 247, .45); }
.source-cta__host { font-size: .76rem; opacity: .75; font-weight: 650; }

.factsheet { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 22px 0 0; }
.factsheet > div { padding: 12px 14px; background: var(--surface-2); border-radius: var(--radius-sm); }
.factsheet dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.factsheet dd { margin: 4px 0 0; font-weight: 700; font-size: .9rem; }
.factsheet a:hover { color: var(--cyan); }

.coverage li a {
  display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  transition: transform var(--dur) var(--ease);
}
.coverage li:last-child a { border-bottom: 0; }
.coverage li a:hover { transform: translateX(5px); }
.coverage__src { font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.coverage__title { font-size: .92rem; font-weight: 620; }
.coverage__time { font-size: .74rem; color: var(--text-3); }

.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding: 10px 0; display: grid; gap: 2px; }
.timeline__item::before {
  content: ""; position: absolute; left: -19px; top: 17px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 25%, transparent);
}
.timeline__time { font-size: .72rem; color: var(--text-3); }
.timeline__title { font-size: .92rem; font-weight: 650; }
.timeline__title:hover { color: var(--cyan); }
.timeline__src { font-size: .74rem; color: var(--text-3); }

.readalso li {
  display: flex; justify-content: space-between; gap: 14px; padding: 10px 0;
  border-bottom: 1px solid var(--line-soft); font-size: .9rem;
}
.readalso li:last-child { border-bottom: 0; }
.readalso li a { font-weight: 620; transition: color var(--dur) var(--ease); }
.readalso li a:hover { color: var(--pink); }
.readalso li span { font-size: .74rem; color: var(--text-3); white-space: nowrap; }

.article__share-bottom { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-2); }
.article__share-call { margin: 0; font-weight: 700; }

/* Comentarios */
.comments { margin-top: 36px; }
.comment-form { margin: 16px 0 24px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.comment-form input[type="text"], .comment-form textarea {
  width: 100%; padding: 11px 14px; font: inherit; font-size: .92rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  margin-bottom: 10px; resize: vertical;
}
.comment-form textarea { min-height: 92px; }
.comment-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.comment-form__hint { font-size: .74rem; color: var(--text-3); }
.comment-form__status { margin: 10px 0 0; font-size: .82rem; min-height: 1.2em; }
.comment-form__status.is-ok { color: var(--lime); }
.comment-form__status.is-error { color: var(--red); }

.comments__count {
  font-size: .78rem; padding: 2px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); font-weight: 700;
}
.comment-list { display: flex; flex-direction: column; gap: 14px; }
.comment { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }
.comment.is-new { animation: pop-in .45s var(--ease) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.comment__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment__author { font-size: .88rem; }
.comment__time { font-size: .72rem; color: var(--text-3); }
.comment__text { margin: 0; font-size: .92rem; color: var(--text-2); white-space: pre-line; word-break: break-word; }
.comment__like {
  margin-top: 8px; padding: 4px 12px; border-radius: 999px; font: inherit; font-size: .76rem;
  background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--text-2); cursor: pointer;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.comment__like:hover { transform: translateY(-2px); color: var(--pink); }
.comment-empty { padding: 22px; text-align: center; color: var(--text-3); font-size: .9rem; }

.avatar {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-brand); color: #180a2c; font-weight: 850; font-size: .9rem; flex: 0 0 auto;
}

.c-comment { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.c-comment:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.c-comment__head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.c-comment__author { display: block; font-size: .85rem; }
.c-comment__time { font-size: .7rem; color: var(--text-3); }
.c-comment__text { font-size: .88rem; color: var(--text-2); margin-bottom: 10px; }
.c-comment__link { font-size: .76rem; color: var(--cyan); font-weight: 650; }

/* ---------- 14. Paginas de texto ----------------------------------------- */

.prose { max-width: 78ch; margin-top: 24px; font-size: 1.02rem; color: var(--text-2); }
.prose h2 { margin: 32px 0 12px; font-size: 1.25rem; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose ul li { list-style: disc; margin-bottom: 8px; }
.prose ol li { list-style: decimal; margin-bottom: 8px; }
.prose a { color: var(--cyan); font-weight: 650; }
.prose a:hover { text-decoration: underline; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); font-size: .88em; }
.prose__meta { font-size: .8rem; color: var(--text-3); margin-top: 28px; }
.source-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.source-grid li { list-style: none !important; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); margin: 0 !important; }
.source-grid li a { display: block; font-weight: 700; color: var(--text); }
.source-grid li a:hover { color: var(--violet); text-decoration: none; }
.source-grid li span { display: block; font-size: .72rem; color: var(--text-3); }

/* ---------- 15. Rodape ---------------------------------------------------- */

.site-footer { margin-top: 60px; padding: 44px 0 24px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 92%, transparent); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.site-footer__desc { margin: 14px 0; font-size: .86rem; color: var(--text-3); max-width: 44ch; }
.site-footer__col h2 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col a { font-size: .88rem; color: var(--text-2); transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.site-footer__col a:hover { color: var(--cyan); padding-left: 4px; }

.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social__link {
  padding: 6px 12px; border-radius: 999px; font-size: .76rem; font-weight: 650;
  background: var(--surface); border: 1px solid var(--line-soft); color: var(--text-2);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social__link:hover { transform: translateY(-2px); color: var(--violet); border-color: var(--violet); }

.site-footer__sources { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.site-footer__sources h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.site-footer__sources-list { font-size: .8rem; color: var(--text-3); line-height: 2; }
.site-footer__sources-list a { color: var(--text-2); }
.site-footer__sources-list a:hover { color: var(--cyan); }
.site-footer__note { font-size: .78rem; color: var(--text-3); max-width: 92ch; margin-top: 10px; }

.site-footer__legal {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-size: .76rem; color: var(--text-3);
}
.site-footer__legal p { margin: 0; }
.to-top:hover { color: var(--cyan); }

/* ---------- 16. Flutuantes ------------------------------------------------ */

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; }
.read-progress > span { display: block; height: 100%; width: 0; background: var(--grad-brand); box-shadow: 0 0 12px rgba(168, 85, 247, .8); }

.fab-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 100; width: 46px; height: 46px;
  display: grid; place-items: center; font-size: 1.2rem; cursor: pointer;
  color: #180a2c; background: var(--grad-brand); border: 0; border-radius: 50%;
  box-shadow: 0 10px 28px rgba(168, 85, 247, .45);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.fab-top:hover { transform: translateY(-4px) scale(1.06); }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 130;
  padding: 12px 22px; border-radius: 999px; font-size: .88rem; font-weight: 650;
  color: var(--text); background: var(--surface-solid); border: 1px solid var(--line);
  box-shadow: var(--shadow); opacity: 0; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
[data-theme="light"] .toast { background: #fff; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Entrada ao rolar */
/* O conteudo e visivel por padrao. So escondemos para animar quando ha JavaScript
   (a classe .js entra no <html> antes da primeira pintura); assim, sem JS ou se o
   script falhar, nada some da pagina. */
.reveal { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in, .js .reveal.is-static { opacity: 1; transform: none; }

/* ---------- 17. Responsivo ------------------------------------------------ */

@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .search input { width: 160px; }
  .search input:focus { width: 220px; }
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .layout__side { flex-direction: row; flex-wrap: wrap; }
  .layout__side > * { flex: 1 1 300px; }
  .panel--sticky { position: static; }
  .hero { grid-template-columns: 1fr; }
  .hero__side { grid-template-rows: none; grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 62px 0 auto; z-index: 80; flex: none;
    background: var(--surface-solid); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  [data-theme="light"] .nav { background: #fff; }
  .nav.is-open { max-height: 70vh; overflow-y: auto; box-shadow: var(--shadow); }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav__link { padding: 13px 8px; font-size: 1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__link::after { display: none; }
  .logo { margin-right: auto; }
  .search input { width: 42px; padding-right: 34px; padding-left: 12px; cursor: pointer; }
  .search input:focus { width: min(58vw, 260px); cursor: text; }
  .update-bar__abs { display: none; }
  .c-hero { min-height: 340px; }
  .article__figure { border-radius: var(--radius); }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { width: min(100% - 1.5rem, var(--wrap)); }
  .hero__side { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .carousel__track { grid-auto-columns: 84%; }
  .carousel__nav { display: none; }
  .c-hero { min-height: 300px; }
  .c-hero__title { font-size: 1.35rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .layout__side > * { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reactions { flex-direction: column; align-items: flex-start; }
  .update-bar__count { margin-left: 0; }
  .factsheet { grid-template-columns: repeat(2, 1fr); }
}

/* Alvos de toque: no dedo, links pequenos precisam de area clicavel maior.
   O padding aumenta a area e a margem negativa devolve o espaco, entao nada
   se move visualmente. */
@media (pointer: coarse) {
  .card__cat, .sec__link, .panel__more, .to-top, .c-comment__link,
  .ticker__item, .meta__cat, .coverage li a, .readalso li a, .timeline__title {
    padding-block: 9px;
    margin-block: -9px;
  }
  .tag, .tabs__item, .social__link { padding-block: 8px; }
  .share__btn, .icon-btn { width: 44px; height: 44px; }
  .react { padding: 11px 16px; }
}

/* ---------- 18. Acessibilidade e impressao ------------------------------- */

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

@media print {
  .bg-fx, .site-header, .site-footer, .share, .reactions, .comments,
  .layout__side, .fab-top, .ad, .news-box { display: none !important; }
  body { background: #fff; color: #000; }
  .layout { grid-template-columns: 1fr; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
