/* ============================================================
   Site RBX - LOOT (templates pages/page-*-rbx.php)

   Visual claro com roxo/ciano do layout "RBX Loot — site". Tudo fica
   escopado sob .rbx-site porque o style-common.css define regras
   globais para header, footer, main, h1-h6, p, a e inputs que
   sobrescreveriam o visual do site.
   ============================================================ */

/* Fontes hospedadas no tema (recorte latin, que cobre o portugues).
   Inter e Space Grotesk sao variaveis: um arquivo cobre todos os pesos.
   A Inter ganha outro nome porque o tema ja declara "Inter" com os
   arquivos estaticos 18pt. */
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-latin.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RBX Inter';
    src: url('../fonts/Inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-500-latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-600-latin.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.rbx-site {
    --bg: #F7F5FC;
    --ink: #171122;
    --ink2: #3A3450;
    --muted: #5B5570;
    --soft: #716B86;
    --line: #E7E2F3;
    --line2: #D8D0EC;
    --roxo: #7C3AED;
    --roxo2: #6D28D9;
    --teal: #0E7490;
    --ouro: #A15C07;
    --verde: #1F8A4C;
    --lilas: #E6DAFF;

    --f-titulo: 'Space Grotesk', 'RBX Inter', system-ui, sans-serif;
    --f-texto: 'RBX Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --topo: 76px;

    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-texto);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Neutraliza o tema ---------- */

/* O cabecalho padrao do tema sai: o site traz o proprio menu. O argumento
   ocultar_menu do get_header() so remove os links — a barra com o logo
   continuaria impressa. */
body.rbx-body #site-header {
    display: none;
}

/* Fundo claro no <body> para alcancar o overscroll (bounce do iOS). */
body.rbx-body {
    background: #F7F5FC;
}

/* O overflow-x: clip do style-common.css em html/body desativa o
   position: sticky do menu; aqui volta a "visible". Nenhum bloco do site
   estoura a largura da tela. */
html[data-rbx="site"],
body.rbx-body {
    overflow-x: visible;
}

html[data-rbx="site"] {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--topo, 76px) + 24px);
}

@media (prefers-reduced-motion: reduce) {
    html[data-rbx="site"] {
        scroll-behavior: auto;
    }
}

.rbx-site *,
.rbx-site *::before,
.rbx-site *::after {
    box-sizing: border-box;
}

/* style-common.css fixa "font-family: Inter" nesses elementos. */
:where(.rbx-site) :is(ul, ol, li, button, input, label, textarea, select, h5, h6) {
    font-family: inherit;
}

.rbx-site main.rbx-main {
    padding: 0;
}

/* Os resets abaixo usam :where() para ficar com a especificidade de um
   seletor de elemento: vencem o style-common.css (carregado antes) sem
   atropelar as classes dos componentes. */

/* style-common.css: "header{height:80px;display:flex;background…}",
   "header div{height:100%}" e "footer{background:#1b1b1b;padding…}"
   valem para qualquer <header>/<footer>. */
.rbx-site header,
.rbx-site footer {
    display: block;
    height: auto;
    padding: 0;
    background: none;
}

.rbx-site header div {
    height: auto;
}

:where(.rbx-site) :is(p, label, ul, ol, input) {
    color: inherit;
    line-height: inherit;
}

:where(.rbx-site) :is(ul, ol) {
    list-style: none;
}

:where(.rbx-site) :is(h1, h2, h3, h4) {
    font-family: var(--f-titulo);
    font-weight: 700;
    color: var(--ink);
}

:where(.rbx-site) a {
    color: inherit;
    text-decoration: none;
}

:where(.rbx-site) :is(img, svg) {
    display: block;
    max-width: 100%;
}

:where(.rbx-site) button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

.rbx-site :focus-visible {
    outline: 2px solid var(--roxo);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Estrutura ---------- */

.rbx-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.rbx-sec {
    padding-top: 104px;
}

.rbx-sec--colada {
    padding-top: 72px;
}

.rbx-sec--cta {
    padding: 96px 0 112px;
}

.rbx-respiro {
    height: 112px;
}

.rbx-sec-topo {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.rbx-sec-topo > div {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rbx-sec-centro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    margin-bottom: 56px;
}

/* ---------- Tipografia ---------- */

.rbx-eyebrow {
    margin: 0;
    font: 500 11px/1.3 var(--f-mono);
    letter-spacing: 0.24em;
    color: var(--teal);
}

.rbx-eyebrow--ouro {
    color: var(--ouro);
}

.rbx-rotulo {
    display: block;
    margin: 0;
    padding: 0;
    font: 500 10px/1.3 var(--f-mono);
    letter-spacing: 0.2em;
    color: var(--soft);
}

.rbx-rotulo--teal {
    color: var(--teal);
}

.rbx-h2 {
    margin: 0;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -0.8px;
}

.rbx-lead {
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 520px;
}

.rbx-grad {
    background: linear-gradient(90deg, #7C3AED, #0E7490);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rbx-nota {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--soft);
    max-width: 260px;
}

.rbx-nota a {
    color: var(--teal);
    font-weight: 600;
}

.rbx-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 15px/1.2 var(--f-titulo);
    color: var(--teal);
}

.rbx-link:hover {
    color: #155E75;
}

.rbx-link svg {
    transition: transform 0.15s ease;
}

.rbx-link:hover svg {
    transform: translateX(3px);
}

/* ---------- Botoes ---------- */

.rbx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 24px;
    border-radius: 14px;
    font: 700 15px/1 var(--f-titulo);
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.rbx-btn--roxo {
    background: linear-gradient(90deg, #7C3AED, #6D28D9);
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.32);
    color: #fff !important;
}

.rbx-btn--roxo:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.4);
}

.rbx-btn--branco {
    background: #fff;
    border: 1px solid var(--line2);
    box-shadow: 0 2px 8px rgba(76, 29, 149, 0.06);
    color: var(--ink);
}

.rbx-btn--branco:hover {
    border-color: #BFB2E3;
}

.rbx-btn--linha {
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--line2);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.rbx-btn--linha:hover {
    background: #fff;
}

.rbx-btn--sm {
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    border-radius: 12px;
}

.rbx-acoes {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Botao preto da Google Play */
/* Selo "Disponivel no Google Play", nas proporcoes do selo oficial. */
.rbx-gplay {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 22px 0 16px;
    border-radius: 12px;
    background: #000;
    border: 1px solid #A6A6A6;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(23, 17, 34, 0.16);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rbx-gplay:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(23, 17, 34, 0.24);
}

.rbx-gplay-logo {
    width: 26px;
    height: 28px;
    flex: none;
}

.rbx-gplay.is-grande {
    height: 64px;
    padding: 0 26px 0 20px;
}

.rbx-gplay.is-grande .rbx-gplay-logo {
    width: 30px;
    height: 32px;
}

.rbx-gplay-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rbx-gplay-pre {
    font: 500 10px/1.1 var(--f-texto);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.rbx-gplay-nome {
    font: 600 21px/1.05 var(--f-texto);
    letter-spacing: -0.3px;
    color: #fff;
}

.rbx-gplay.is-grande .rbx-gplay-nome {
    font-size: 24px;
}

/* ---------- Menu ---------- */

.rbx-site .rbx-topo {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(247, 245, 252, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s ease;
}

.rbx-site .rbx-topo.is-rolado {
    box-shadow: 0 6px 24px rgba(76, 29, 149, 0.06);
}

.rbx-site .rbx-topo .rbx-topo-in {
    height: var(--topo);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.rbx-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.rbx-logo-marca {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    overflow: hidden;
    flex: none;
    background: #111;
    box-shadow: 0 4px 12px rgba(23, 17, 34, 0.18);
}

.rbx-logo-marca img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rbx-logo-nome {
    font: 700 20px/1 var(--f-titulo);
    letter-spacing: -0.3px;
    color: var(--ink);
}

.rbx-logo--sm .rbx-logo-marca {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.rbx-logo--sm .rbx-logo-nome {
    font-size: 17px;
}

.rbx-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rbx-nav a:not(.rbx-btn) {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font: 600 14px/1 var(--f-texto);
    color: var(--muted);
}

.rbx-nav a:not(.rbx-btn):hover {
    color: var(--ink);
    background: rgba(124, 58, 237, 0.06);
}

.rbx-nav a[aria-current="page"] {
    background: rgba(124, 58, 237, 0.1);
    color: var(--ink);
}

/* O "Baixar gratis" do painel so aparece no menu do celular. */
.rbx-nav-baixar,
.rbx-menu-btn {
    display: none !important;
}

.rbx-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line2) !important;
    background: #fff !important;
    color: var(--ink);
    align-items: center;
    justify-content: center;
}

.rbx-menu-fechar {
    display: none;
}

/* ---------- Faixas de fundo (hero e cabecalhos) ---------- */

.rbx-hero,
.rbx-pagehead {
    position: relative;
    overflow: hidden;
    background: radial-gradient(90% 70% at 72% 30%, var(--lilas), var(--bg) 65%);
}

.rbx-pagehead {
    background: radial-gradient(80% 90% at 75% 0%, var(--lilas), var(--bg) 60%);
    border-bottom: 1px solid var(--line);
}


.rbx-hero > .rbx-wrap,
.rbx-pagehead > .rbx-wrap {
    position: relative;
}

/* ---------- Hero (Inicio) ---------- */

.rbx-hero-grid {
    padding-top: 64px;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.rbx-hero-txt {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.rbx-hero h1 {
    margin: 0;
    font-size: 76px;
    line-height: 1;
    letter-spacing: -2px;
}

.rbx-selos {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 6px 0 0;
    padding: 0;
}

.rbx-selos li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.rbx-selos svg {
    color: var(--verde);
}

.rbx-selos .rbx-selos-idiomas {
    font: 500 11px/1 var(--f-mono);
    letter-spacing: 0.14em;
    color: var(--soft);
}

.rbx-hero-palco {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 800px;
}

/* Celular: moldura escura + print da tela. Fluido: encolhe com a coluna. */
.rbx-celular {
    position: relative;
    width: 396px;
    max-width: 100%;
    padding: 12px;
    border-radius: 40px;
    background: linear-gradient(160deg, #2A2A38, #101017);
    border: 1px solid #2a2a36;
    box-shadow: 0 40px 80px rgba(49, 24, 110, 0.28), 0 0 70px rgba(124, 58, 237, 0.2);
    flex: none;
}

.rbx-celular img {
    width: 100%;
    height: auto;
    aspect-ratio: 372 / 760;
    object-fit: cover;
    object-position: top;
    border-radius: 28px;
    background: #0A0A0D;
}

.rbx-flutua {
    position: absolute;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line2);
    box-shadow: 0 18px 40px rgba(76, 29, 149, 0.14);
    display: flex;
    gap: 12px;
}

.rbx-flutua--tickets {
    left: 0;
    top: 150px;
    align-items: center;
}

.rbx-flutua-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(74, 199, 122, 0.14);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rbx-flutua-txt {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rbx-flutua b {
    font: 700 15px/1 var(--f-titulo);
    color: var(--ink);
}

.rbx-flutua small {
    font-size: 12px;
    line-height: 1;
    color: var(--muted);
}

.rbx-flutua--valor {
    right: -8px;
    bottom: 170px;
    flex-direction: column;
    gap: 6px;
}

.rbx-flutua--valor small {
    font: 500 9px/1 var(--f-mono);
    letter-spacing: 0.2em;
    color: var(--soft);
}

.rbx-flutua--valor b {
    font-size: 22px;
    color: var(--ouro);
}

/* ---------- Cards de recursos ---------- */

.rbx-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

.rbx-card {
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(76, 29, 149, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rbx-card:hover {
    transform: translateY(-3px);
    border-color: var(--line2);
    box-shadow: 0 16px 36px rgba(76, 29, 149, 0.1);
}

.rbx-cards--grande .rbx-card {
    min-height: 230px;
    padding: 30px;
}

.rbx-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.rbx-ico--grande {
    width: 60px;
    height: 60px;
    border-radius: 18px;
}

.rbx-ico--sm {
    width: 44px;
    height: 44px;
    border-radius: 13px;
}

.rbx-card-nome {
    font: 700 19px/1.2 var(--f-titulo);
    color: var(--ink);
}

.rbx-card-txt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.rbx-card-ver {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font: 600 13px/1 var(--f-titulo);
    color: var(--teal);
}

/* ---------- Faixa da calculadora (Inicio) ---------- */

.rbx-calc-faixa {
    border-radius: 28px;
    padding: 48px 56px;
    background: linear-gradient(135deg, #FFF3CC, #FFFBEF);
    border: 1px solid #F1D27E;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.rbx-calc-faixa-txt {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rbx-calc-faixa h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.6px;
}

.rbx-calc-faixa-txt > p:last-child {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 460px;
}

.rbx-calc-faixa-valor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.rbx-calc-faixa-valor > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rbx-calc-faixa-valor small {
    font: 500 10px/1 var(--f-mono);
    letter-spacing: 0.2em;
    color: #8A5A0B;
}

.rbx-calc-faixa-valor b {
    font: 700 56px/1 var(--f-titulo);
    letter-spacing: -1px;
    color: var(--ouro);
}

/* ---------- Como funciona ---------- */

.rbx-passos {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
}

.rbx-passos::before {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    top: 36px;
    height: 2px;
    background: linear-gradient(90deg, #7C3AED, #0E7490);
    opacity: 0.5;
}

.rbx-passo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0 12px;
}

.rbx-passo-ico {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px var(--bg);
}

.rbx-passo-num {
    font: 500 11px/1 var(--f-mono);
    letter-spacing: 0.2em;
    color: var(--soft);
}

.rbx-passo h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.rbx-passo p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 300px;
}

/* ---------- Chamada final ---------- */

.rbx-cta {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 64px;
    background: linear-gradient(135deg, #2A1466 0%, #1A1030 45%, #0E2A33 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}


.rbx-cta > * {
    position: relative;
}

.rbx-cta-txt {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
}

.rbx-site .rbx-cta h2 {
    margin: 0;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #fff;
}

.rbx-cta p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #C4C0D6;
}

/* ---------- Anuncios ---------- */

.rbx-anuncio {
    width: 728px;
    max-width: calc(100% - 64px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rbx-anuncio.rbx-sec {
    padding-top: 96px;
    box-sizing: content-box;
}

.rbx-anuncio--billboard {
    width: 970px;
}

.rbx-anuncio--retangulo {
    width: 336px;
    max-width: 100%;
    margin: 0;
}

.rbx-anuncio-rotulo {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.06em;
    color: #6F6A7D;
}

/* Altura reservada: o anuncio carrega sem empurrar o conteudo. */
.rbx-anuncio-slot {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rbx-anuncio--billboard .rbx-anuncio-slot {
    min-height: 250px;
}

.rbx-anuncio--retangulo .rbx-anuncio-slot {
    min-height: 280px;
}

/* ---------- Cabecalho das paginas ---------- */

.rbx-pagehead > .rbx-wrap {
    padding-top: 88px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rbx-pagehead h1 {
    margin: 0;
    font-size: 60px;
    line-height: 1.04;
    letter-spacing: -1.5px;
    max-width: 820px;
}

.rbx-pagehead-sub {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 640px;
}

.rbx-pagehead-meta {
    margin-top: 4px;
}

.rbx-trilha {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.3;
    color: var(--muted);
}

.rbx-trilha a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.rbx-trilha a:hover {
    color: var(--ink);
}

.rbx-trilha > span[aria-hidden] {
    color: var(--line2);
}

.rbx-trilha [aria-current] {
    font-weight: 600;
    color: var(--ink);
}

/* ---------- Pagina de recurso ---------- */

.rbx-hero--recurso > .rbx-wrap {
    padding-top: 40px;
    padding-bottom: 88px;
}

.rbx-hero--recurso .rbx-trilha {
    margin-bottom: 40px;
}

.rbx-recurso-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 396px;
    gap: 72px;
    align-items: center;
}

.rbx-recurso-txt {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rbx-recurso-txt h1 {
    margin: 0;
    font-size: 60px;
    line-height: 1.04;
    letter-spacing: -1.5px;
}

.rbx-recurso-txt .rbx-lead {
    font-size: 18px;
}

.rbx-recurso-txt .rbx-acoes {
    margin-top: 8px;
}

.rbx-pontos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 4px 0 0;
    padding: 0;
}

.rbx-pontos li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink2);
}

.rbx-pontos-check {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(74, 199, 122, 0.14);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rbx-vizinhos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rbx-vizinho {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rbx-vizinho:hover {
    border-color: var(--line2);
    box-shadow: 0 12px 30px rgba(76, 29, 149, 0.08);
}

.rbx-vizinho--prox {
    align-items: flex-end;
    text-align: right;
}

.rbx-vizinho-rot {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 500 11px/1 var(--f-mono);
    letter-spacing: 0.2em;
    color: var(--soft);
}

.rbx-vizinho-nome {
    font: 700 22px/1.2 var(--f-titulo);
    color: var(--ink);
}

/* ---------- Calculadora ---------- */

.rbx-calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.rbx-calc {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(76, 29, 149, 0.1);
}

.rbx-calc-campo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.rbx-calc-campo legend {
    margin-bottom: 12px;
}

.rbx-site .rbx-calc-input {
    width: 100%;
    height: 72px;
    border-radius: 16px;
    border: 1px solid var(--line2);
    background: var(--bg);
    padding: 0 22px;
    font: 700 34px/1 var(--f-titulo);
    color: var(--ink);
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.rbx-calc-input::-webkit-outer-spin-button,
.rbx-calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.rbx-site .rbx-calc-input:focus {
    border-color: var(--roxo);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.rbx-chips {
    display: flex;
    gap: 8px;
}

.rbx-site .rbx-chip {
    flex: 1;
    height: 40px;
    border-radius: 11px;
    font: 500 13px/1 var(--f-mono);
    background: #fff;
    border: 1px solid var(--line2);
    color: var(--muted);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.rbx-site .rbx-chip:hover {
    border-color: var(--roxo);
}

.rbx-site .rbx-chip.is-on {
    background: var(--roxo);
    border-color: var(--roxo);
    color: #fff;
}

.rbx-moedas {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.rbx-moeda {
    position: relative;
    cursor: pointer;
}

.rbx-moeda input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}

.rbx-moeda span {
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.rbx-moeda b {
    font: 700 15px/1 var(--f-titulo);
}

.rbx-moeda:hover span {
    border-color: var(--line2);
}

.rbx-moeda input:checked + span {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--roxo);
    color: var(--ink);
}

.rbx-moeda input:focus-visible + span {
    outline: 2px solid var(--roxo);
    outline-offset: 2px;
}

.rbx-calc-botao {
    height: 60px;
    border-radius: 16px;
    font-size: 17px;
    width: 100%;
}

.rbx-calc-res {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 26px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    transition: background-color 0.2s ease;
}

.rbx-calc-res.is-cheio {
    background: linear-gradient(135deg, #FFF3CC, #FFFBEF);
    border-color: #F1D27E;
}

.rbx-calc-res.is-cheio .rbx-rotulo {
    color: #8A5A0B;
}

.rbx-calc-vazio {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--muted);
}

.rbx-calc-vazio b {
    color: var(--ink);
}

.rbx-calc-valor {
    font: 700 52px/1 var(--f-titulo);
    letter-spacing: -1px;
    color: var(--ouro);
    overflow-wrap: anywhere;
}

.rbx-calc-res.is-velho .rbx-calc-valor {
    color: #9A8657;
}

.rbx-calc-resumo {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.rbx-calc-aviso {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--roxo2);
}

.rbx-calc-res [hidden],
.rbx-site [hidden] {
    display: none !important;
}

.rbx-calc-lado {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rbx-taxas {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--line);
}

.rbx-taxas-topo,
.rbx-taxa {
    padding: 16px 20px;
    background: #fff;
}

.rbx-taxas-topo {
    font: 500 10px/1 var(--f-mono);
    letter-spacing: 0.2em;
    color: var(--soft);
}

.rbx-taxa {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
    transition: background-color 0.15s ease;
}

.rbx-taxa b {
    font: 600 14px/1 var(--f-mono);
    color: var(--ink);
}

.rbx-taxa.is-on {
    background: #FFF3CC;
}

.rbx-taxa.is-on b {
    color: var(--ouro);
}

.rbx-calc-lado > .rbx-nota {
    max-width: none;
    font-size: 12px;
    margin-top: -8px;
}

/* Caixa branca generica */
.rbx-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 26px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.rbx-site .rbx-box-tit {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.rbx-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- Sobre ---------- */

.rbx-sobre-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: start;
}

.rbx-sobre-txt {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 480px;
}

.rbx-sobre-lead {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink2);
}

.rbx-sobre-txt .rbx-acoes {
    margin-top: 6px;
}

.rbx-sobre-txt .rbx-nota {
    font-size: 14px;
    max-width: none;
}

.rbx-valores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

/* ---------- Baixar ---------- */

.rbx-hero--baixar > .rbx-wrap {
    padding-top: 72px;
    padding-bottom: 96px;
}

.rbx-baixar-marca {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rbx-baixar-marca > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rbx-baixar-marca b {
    font: 700 28px/1 var(--f-titulo);
    color: var(--ink);
}

.rbx-baixar-marca .rbx-eyebrow {
    font-size: 10px;
}

.rbx-logo-marca--grande {
    width: 72px;
    height: 72px;
    border-radius: 20px;
}

.rbx-hero--baixar h1 {
    font-size: 64px;
    line-height: 1.02;
    letter-spacing: -1.6px;
}

.rbx-qr {
    width: 112px;
    height: 112px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line2);
}

/* ---------- Rodape ---------- */

.rbx-site .rbx-rodape {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.rbx-rodape .rbx-wrap {
    padding-top: 48px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.rbx-rodape-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.rbx-rodape-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.rbx-rodape-nav a {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--muted);
}

.rbx-rodape-nav a:hover {
    color: var(--ink);
}

.rbx-rodape-legal {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.7;
    color: var(--soft);
    max-width: 880px;
}

/* ============================================================
   Responsivo
   ============================================================ */

@media (max-width: 1180px) {
    .rbx-hero h1 {
        font-size: 64px;
    }

    .rbx-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Menu vira painel a partir daqui. */
@media (max-width: 1060px) {
    .rbx-topo-baixar {
        margin-left: auto;
    }

    .rbx-menu-btn {
        display: inline-flex !important;
    }

    .rbx-nav {
        position: fixed;
        top: var(--topo);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 20px 24px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(76, 29, 149, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    }

    .rbx-topo.is-aberto .rbx-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .rbx-nav a:not(.rbx-btn) {
        height: 48px;
        font-size: 16px;
    }

    .rbx-nav-baixar {
        display: inline-flex !important;
        margin-top: 8px;
    }

    .rbx-topo.is-aberto .rbx-menu-abrir {
        display: none;
    }

    .rbx-topo.is-aberto .rbx-menu-fechar {
        display: block;
    }
}

@media (max-width: 960px) {
    .rbx-sec {
        padding-top: 80px;
    }

    .rbx-sec--colada {
        padding-top: 56px;
    }

    .rbx-anuncio.rbx-sec {
        padding-top: 72px;
    }

    .rbx-hero-grid,
    .rbx-recurso-grid,
    .rbx-calc-grid,
    .rbx-sobre-grid,
    .rbx-calc-faixa {
        grid-template-columns: minmax(0, 1fr);
    }

    .rbx-hero-grid {
        padding-top: 48px;
        gap: 40px;
    }

    .rbx-hero-palco {
        min-height: 0;
    }

    .rbx-recurso-grid {
        gap: 48px;
    }

    .rbx-recurso-grid > .rbx-celular {
        justify-self: center;
    }

    .rbx-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rbx-calc-faixa {
        padding: 40px;
    }

    .rbx-sobre-txt {
        max-width: none;
    }

    .rbx-cta {
        padding: 48px 40px;
    }
}

@media (max-width: 720px) {
    .rbx-wrap {
        padding: 0 20px;
    }

    .rbx-site {
        --topo: 64px;
    }

    .rbx-logo-nome {
        font-size: 18px;
    }

    .rbx-topo-baixar {
        display: none;
    }

    .rbx-menu-btn {
        margin-left: auto;
    }

    .rbx-hero h1 {
        font-size: 46px;
        letter-spacing: -1.2px;
    }

    .rbx-lead {
        font-size: 17px;
    }

    .rbx-h2,
    .rbx-site .rbx-cta h2 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .rbx-sec-topo {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .rbx-sec-centro {
        margin-bottom: 40px;
    }

    .rbx-pagehead > .rbx-wrap {
        padding-top: 56px;
        padding-bottom: 48px;
    }

    .rbx-pagehead h1,
    .rbx-recurso-txt h1,
    .rbx-hero--baixar h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .rbx-celular {
        width: 300px;
        padding: 10px;
        border-radius: 34px;
    }

    .rbx-celular img {
        border-radius: 24px;
    }

    .rbx-flutua--tickets {
        top: 40px;
        left: -4px;
    }

    .rbx-flutua--valor {
        right: -4px;
        bottom: 60px;
    }

    .rbx-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .rbx-card,
    .rbx-cards--grande .rbx-card {
        min-height: 0;
    }

    .rbx-calc-faixa {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .rbx-calc-faixa h2 {
        font-size: 28px;
    }

    .rbx-calc-faixa-valor b {
        font-size: 44px;
    }

    .rbx-passos {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .rbx-passos::before {
        display: none;
    }

    .rbx-cta {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .rbx-sec--cta {
        padding: 72px 0 80px;
    }

    .rbx-vizinhos {
        grid-template-columns: minmax(0, 1fr);
    }

    .rbx-vizinho-nome {
        font-size: 19px;
    }

    .rbx-calc {
        padding: 22px;
        border-radius: 22px;
    }

    .rbx-moedas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rbx-calc-valor {
        font-size: 42px;
    }

    .rbx-valores {
        grid-template-columns: minmax(0, 1fr);
    }

    .rbx-anuncio--billboard .rbx-anuncio-slot {
        min-height: 250px;
    }

    .rbx-anuncio {
        max-width: calc(100% - 40px);
    }

    .rbx-respiro {
        height: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rbx-site *,
    .rbx-site *::before,
    .rbx-site *::after {
        transition: none !important;
    }
}
