/* Prévia da nova home (/teste). Visual contido: a arte dos jogos é a estrela; uma cor de destaque; tema claro e escuro do site. */
.rg {
    --bg: #f5f6fa; --surface: #ffffff; --surface-2: #eef1f7; --line: #e2e6ef; --line-2: #d3d9e6;
    --txt: #0d1324; --mut: #5a6377; --dim: #8a92a6;
    --accent: #2563eb; --accent-2: #1d4fd8; --accent-soft: rgba(37, 99, 235, .08); --on-accent: #fff;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px -14px rgba(15, 23, 42, .18);
    --shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 30px 60px -24px rgba(15, 23, 42, .35);
    --r: 16px; --head: 'Manrope', 'Poppins', system-ui, sans-serif; --body: 'Poppins', system-ui, sans-serif;
    background: var(--bg) !important; color: var(--txt); font-family: var(--body);
}
.rg.dark-theme {
    --bg: #0b0e16; --surface: #121722; --surface-2: #181e2b; --line: #222a3a; --line-2: #2c3548;
    --txt: #eef1f7; --mut: #9aa3b8; --dim: #6c7489;
    --accent: #4d84ff; --accent-2: #6694ff; --accent-soft: rgba(77, 132, 255, .12);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 34px 70px -26px rgba(0, 0, 0, .85);
}
.rg-main { overflow: hidden; }
.rg-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.rg a { color: inherit; text-decoration: none; }
.rg h1, .rg h2, .rg h3 { font-family: var(--head); color: var(--txt); margin: 0; letter-spacing: -.025em; }

/* botões e links */
.rg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: .95rem;
    background: var(--accent); color: var(--on-accent) !important; border: 1px solid transparent; transition: background .15s, transform .15s; cursor: pointer; }
.rg-btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.rg-btn--line { background: transparent; color: var(--txt) !important; border-color: var(--line-2); }
.rg-btn--line:hover { background: var(--surface-2); }
.rg-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent) !important; white-space: nowrap; }
.rg-link i { font-size: .8em; transition: transform .15s; }
.rg-link:hover i { transform: translateX(3px); }

/* ---------- HERO ---------- */
.rg-hero { position: relative; isolation: isolate; padding: 34px 0 46px; }
/* fundo imersivo: arte do jogo do centro, desfocada, sob um véu na cor do tema */
.rg { --veil: 245, 246, 250; --veil-a: .38; --veil-b: .30; }
.rg.dark-theme { --veil: 11, 14, 22; --veil-a: .45; --veil-b: .35; }
.rg-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.rg-bg i { position: absolute; inset: -80px; background: center / cover no-repeat; filter: blur(34px) saturate(1.5); transform: scale(1.12); opacity: 0; transition: opacity 1.2s ease; }
.rg-bg i.is-on { opacity: 1; }
.rg-bg::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(var(--veil), var(--veil-a)) 0%, rgba(var(--veil), var(--veil-b)) 55%, rgb(var(--veil)) 100%); }
.rg-hero__top { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
/* halo atrás do texto: mantém o título legível sobre qualquer arte de jogo */
.rg-hero__top::before { content: ''; position: absolute; inset: -40px -120px -20px; z-index: -1; pointer-events: none;
    background: radial-gradient(58% 85% at 50% 42%, rgba(var(--veil), .88) 0%, rgba(var(--veil), .55) 55%, rgba(var(--veil), 0) 78%); }
.rg-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .88rem; font-weight: 500; color: var(--mut); }
.rg-eyebrow i { color: var(--accent); }
.rg-title { font-size: clamp(1.85rem, 3.4vw, 2.9rem); line-height: 1.07; font-weight: 800; max-width: 820px; }
.rg-sub { margin: 12px 0 22px; font-size: .98rem; line-height: 1.55; color: var(--mut); max-width: 540px; }

.rg-search { position: relative; width: min(640px, 100%); display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 6px 0 18px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.rg-search:focus-within { border-color: var(--accent); box-shadow: var(--shadow), 0 0 0 4px var(--accent-soft); }
.rg-search > i { color: var(--dim); }
.rg-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--txt); font: 500 1rem var(--body); }
.rg-search input::placeholder { color: var(--dim); }
.rg-search input::-webkit-search-cancel-button { display: none; }
.rg-search button { height: 46px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 600; cursor: pointer; transition: background .15s; }
.rg-search button:hover { background: var(--accent-2); }
.rg-search__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; list-style: none; margin: 0; padding: 6px; text-align: left;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); }
.rg-search__list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.rg-search__list a:hover, .rg-search__list a.is-active { background: var(--surface-2); }
.rg-search__list img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.rg-search__list b { display: block; font-weight: 600; font-size: .95rem; }
.rg-search__list small { color: var(--dim); font-size: .78rem; }
.rg-search__list .rg-empty { padding: 12px; color: var(--mut); }
.rg-hot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-size: .86rem; color: var(--mut); }
.rg-hot > span { font-weight: 500; margin-right: 2px; }
.rg-hot a { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: .84rem; color: var(--txt) !important;
    background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.rg-hot a:hover { border-color: var(--accent); transform: translateY(-1px); }

/* anel 3D de jogos: para sempre com um jogo no centro, troca sozinho, segue o mouse e pode ser arrastado */
.rg-stage { --card: 258px; position: relative; height: calc(var(--card) + 110px); margin-top: 22px; perspective: 1900px; perspective-origin: 50% 40%;
    cursor: grab; touch-action: pan-y; user-select: none; outline: none;
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.rg-stage.is-drag { cursor: grabbing; }
.rg-stage:focus-visible .rg-rc.is-front .rg-rc__in { outline: 3px solid var(--accent); outline-offset: 4px; }
.rg-ring { position: absolute; left: 50%; top: 28px; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.rg-rc { position: absolute; width: var(--card); left: calc(var(--card) / -2); top: 0; transform-style: preserve-3d; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rg-rc__in { position: relative; display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--surface-2);
    box-shadow: 0 30px 50px -28px rgba(10, 16, 35, .55); transform: scale(var(--sc, 1)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
    filter: brightness(var(--lit, 1)) saturate(var(--sat, 1));
    -webkit-box-reflect: below 8px linear-gradient(transparent 74%, rgba(0, 0, 0, .16)); }
.light-theme .rg-rc__in { -webkit-box-reflect: below 8px linear-gradient(transparent 80%, rgba(0, 0, 0, .09)); }
.rg-rc.is-front .rg-rc__in { --sc: 1.08; box-shadow: 0 40px 70px -30px rgba(37, 99, 235, .55); }
.rg-rc__in img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.rg-rc__in::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }
.rg-rc__shade { position: absolute; inset: auto 0 0; padding: 40px 14px 12px; background: linear-gradient(to top, rgba(6, 9, 20, .88), rgba(6, 9, 20, 0)); }
.rg-rc__name { display: block; color: #fff; font-family: var(--head); font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.rg-rc__tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: #fff; background: rgba(6, 9, 20, .62); backdrop-filter: blur(6px); }
.rg-rc__tag i { color: #4ade80; font-size: .55rem; vertical-align: 2px; margin-right: 4px; }
.rg-floor { position: absolute; left: 50%; bottom: 10px; width: min(820px, 90%); height: 60px; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(15, 23, 42, .16), transparent); }
.dark-theme .rg-floor { background: radial-gradient(closest-side, rgba(77, 132, 255, .2), transparent); }

/* legenda do jogo do centro */
.rg-cap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px auto 0; width: min(560px, 100% - 32px); }
.rg-cap__info { flex: 1; min-width: 0; text-align: center; }
.rg-cap__info b { display: block; font-family: var(--head); font-size: 1.12rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-cap__info span { color: var(--mut); font-size: .9rem; }
.rg-cap__info span b { display: inline; font-size: inherit; color: var(--txt); }
.rg-navbtn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--txt); cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.rg-navbtn:hover { border-color: var(--accent); transform: scale(1.06); }
.rg-railctl { display: flex; align-items: center; gap: 10px; }
.rg-railctl .rg-link { margin-left: 6px; }
.rg-cap .rg-btn { height: 42px; flex: none; }

/* ---------- CONFIANÇA ---------- */
.rg-trust { position: relative; z-index: 1; list-style: none; margin: -46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.rg-trust li { display: flex; gap: 14px; padding: 22px; }
.rg-trust li + li { border-left: 1px solid var(--line); }
.rg-trust .rg-ti { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 1.05rem; color: #fff; }
.rg-ti--blue { background: linear-gradient(135deg, #2563eb, #4d84ff); box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7); }
.rg-ti--green { background: linear-gradient(135deg, #0ea371, #34d399); box-shadow: 0 8px 20px -8px rgba(16, 185, 129, .7); }
.rg-ti--amber { background: linear-gradient(135deg, #d97706, #fbbf24); box-shadow: 0 8px 20px -8px rgba(217, 119, 6, .7); }
.rg-ti--pink { background: linear-gradient(135deg, #db2777, #f472b6); box-shadow: 0 8px 20px -8px rgba(219, 39, 119, .7); }
.rg-trust b { display: block; font-family: var(--head); font-size: .98rem; margin-bottom: 3px; }
.rg-trust span { color: var(--mut); font-size: .86rem; line-height: 1.5; }

/* ---------- SEÇÕES ---------- */
.rg-sec { padding-top: 72px; }
.rg-sec--last { padding-bottom: 96px; }
.rg-head { margin-bottom: 22px; }
.rg-head h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; }
.rg-head p { margin: 6px 0 0; color: var(--mut); }
.rg-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* categorias: 8 numa linha no computador, 4 + 4 no celular */
.rg-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.rg-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px 14px; border-radius: 18px; text-align: center;
    background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--surface); border: 1px solid var(--line);
    font-weight: 600; font-size: .9rem; transition: border-color .18s, transform .18s, box-shadow .18s; }
.rg-cat:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(37, 99, 235, .5); }
.rg-cat img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(37, 99, 235, .28)); transition: transform .2s; }
.rg-cat:hover img { transform: scale(1.1); }

.rg-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.rg-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.rg-seg button { border: 0; background: transparent; color: var(--mut); font-weight: 600; font-size: .88rem; padding: 0 14px; height: 34px; border-radius: 9px; cursor: pointer; }
.rg-seg button.is-on { background: var(--surface); color: var(--txt); box-shadow: var(--shadow); }
.rg-filter { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--dim); }
.rg-filter:focus-within { border-color: var(--accent); }
.rg-filter input { border: 0; outline: 0; background: transparent; color: var(--txt); width: 160px; font: 500 .92rem var(--body); }

.rg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
/* cartão "pôster": a arte do jogo é o cartão inteiro */
.rg-card { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line);
    transition: transform .22s, border-color .22s, box-shadow .22s; }
.rg-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 24px 46px -22px rgba(37, 99, 235, .55); }
.rg-card > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.rg-card:hover > img { transform: scale(1.06); }
.rg-card__tag { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    font-size: .74rem; font-weight: 600; color: #fff; background: rgba(6, 9, 20, .62); backdrop-filter: blur(6px); }
.rg-card__tag i { color: #4ade80; font-size: .5rem; }
.rg-card__shade { position: absolute; inset: auto 0 0; padding: 44px 14px 12px; display: flex; flex-direction: column; gap: 2px;
    background: linear-gradient(to top, rgba(6, 9, 20, .92), rgba(6, 9, 20, 0)); }
.rg-card__shade b { color: #fff; font-family: var(--head); font-weight: 700; font-size: .98rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-card__shade > span { color: #c2cbe2; font-size: .8rem; }
.rg-card__shade > span b { display: inline; color: #fff; font-size: inherit; }
.rg-card.is-empty .rg-card__shade > span { color: #8fd4ff; }
.rg-skel { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: rgSkel 1.3s linear infinite; }
@keyframes rgSkel { to { background-position: -150% 0; } }
.rg-none { grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--mut); }
.rg-more { display: flex; justify-content: center; margin-top: 22px; }

.rg-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 14px; overflow-x: auto; padding: 2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rg-rail::-webkit-scrollbar { display: none; }
.rg-rail .rg-card { scroll-snap-align: start; }

/* CTA do vendedor: painel escuro da marca (igual nos dois temas, casa com o banner abaixo) */
.rg-sell { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 52px 48px; border-radius: 26px;
    background: linear-gradient(130deg, #0a1128 0%, #101c45 55%, #1a1240 100%); border: 1px solid rgba(100, 130, 255, .28); box-shadow: var(--shadow-lg); }
.rg-sell__glow { position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(42% 70% at 86% 20%, rgba(77, 132, 255, .35), transparent 70%), radial-gradient(36% 60% at 8% 95%, rgba(139, 92, 246, .3), transparent 70%); }
.rg-sell__copy { position: relative; }
.rg-sell__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600;
    color: #aecbff; background: rgba(77, 132, 255, .14); border: 1px solid rgba(77, 132, 255, .4); }
.rg-sell h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.12; }
.rg-sell p { color: #aab4d4; line-height: 1.7; margin: 14px 0 26px; max-width: 560px; }
.rg-sell p b { color: #fff; font-weight: 600; }
.rg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rg-btn--xl { height: 52px; padding: 0 26px; font-size: 1.02rem; background: linear-gradient(135deg, #2563eb, #4d84ff); box-shadow: 0 14px 34px -12px rgba(61, 123, 255, .9); }
.rg-btn--xl:hover { background: linear-gradient(135deg, #2e6cf0, #5e90ff); transform: translateY(-2px); }
.rg-btn--xl i { font-size: .85em; }
.rg-btn--ghost { background: rgba(255, 255, 255, .06); color: #eef1f7 !important; border: 1px solid rgba(255, 255, 255, .25); }
.rg-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.rg-figures { position: relative; margin: 0; display: grid; gap: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
.rg-figures > div { padding: 16px 0 16px 30px; }
.rg-figures > div + div { border-top: 1px solid rgba(255, 255, 255, .12); }
.rg-figures dt { color: #fff; font-family: var(--head); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.rg-figures dd { margin: 0; color: #93a0c4; font-size: .9rem; }

/* guias com o mascote e banner da marca (artes da home atual) */
.rg-guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rg-guide { display: block; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.rg-guide:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.rg-guide img { display: block; width: 100%; height: auto; }
.rg-banner { display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.rg-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.rg-banner img { display: block; width: 100%; height: auto; }

/* passos */
.rg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rg-steps li { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.rg-steps b { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--head); }
.rg-steps h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.rg-steps p { margin: 0; color: var(--mut); font-size: .92rem; line-height: 1.55; }

/* faq */
.rg-faq { display: grid; gap: 8px; max-width: 860px; }
.rg-q { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.rg-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; }
.rg-q summary::-webkit-details-marker { display: none; }
.rg-q summary i { color: var(--dim); font-size: .8rem; transition: transform .2s; }
.rg-q[open] summary i { transform: rotate(180deg); }
.rg-q p { margin: 0; padding: 0 20px 18px; color: var(--mut); line-height: 1.65; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
    .rg-cats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
    .rg-trust { grid-template-columns: repeat(2, 1fr); }
    .rg-trust li:nth-child(3) { border-left: 0; }
    .rg-trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .rg-sell { grid-template-columns: 1fr; padding: 32px 26px; }
    .rg-figures { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); grid-template-columns: repeat(3, 1fr); }
    .rg-figures > div { padding: 16px 8px 0 0; }
    .rg-figures > div + div { border-top: 0; }
    .rg-steps { grid-template-columns: 1fr; }
    .rg-guides { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .rg-hero { padding-top: 28px; }
    .rg-br { display: none; }
    .rg-sub { font-size: .98rem; margin: 10px 0 18px; }
    .rg-hot { flex-wrap: nowrap; justify-content: flex-start; width: 100%; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-bottom: 2px; }
    .rg-hot::-webkit-scrollbar { display: none; }
    .rg-search { height: 54px; }
    .rg-search button { padding: 0 14px; }
    .rg-stage { --card: 178px; margin-top: 18px; }
    .rg-cap { gap: 10px; flex-wrap: wrap; }
    .rg-cap__info { flex: 1 1 100%; order: -1; }
    .rg-cap .rg-btn { padding: 0 14px; }
    .rg-trust { grid-template-columns: 1fr; }
    .rg-trust li + li { border-left: 0; border-top: 1px solid var(--line); }
    .rg-sec { padding-top: 56px; }
    .rg-cats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .rg-cat { padding: 12px 4px 10px; font-size: .74rem; gap: 6px; border-radius: 14px; }
    .rg-cat img { width: 44px; height: 44px; }
    .rg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .rg-tools, .rg-filter { width: 100%; }
    .rg-filter input { width: 100%; }
    .rg-figures dt { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rg *, .rg *::before { transition: none !important; animation: none !important; }
}

/* ===== páginas internas no padrão da home ===== */
.rg-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 0; letter-spacing: -.02em; }
.rg-sec--pagetop { padding-top: 36px; }
.rg-crumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--dim); margin-bottom: 8px; }
.rg-crumb a { color: var(--mut) !important; font-weight: 500; }
.rg-crumb a:hover { color: var(--accent) !important; }
.rg-crumb i { font-size: .6rem; opacity: .7; }
.rg-count { color: var(--dim); font-size: .88rem; margin: 12px 2px 0; }
.rg-tcol { display: flex; flex-direction: column; gap: 8px; }
.rg-srvs { display: flex; flex-wrap: wrap; gap: 6px; }
.rg-srv { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .78rem; color: var(--mut); transition: border-color .15s, transform .15s; }
.rg-srv b { color: var(--txt); font-size: .8rem; }
.rg-srv:hover { border-color: var(--accent); transform: translateY(-1px); }
.rg-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.rg-pages a, .rg-pages span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--txt); font-weight: 600; font-size: .9rem; }
.rg-pages a:hover { border-color: var(--accent); }
.rg-pages .is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.rg-pages .is-off { opacity: .4; pointer-events: none; }
