/* =====================================================
   header-fix.css — cabeçalho laranja fixo + menu da conta
   ===================================================== */
#rs-header { position: sticky; top: 0; z-index: 60; background: var(--primary); color: #fff; }
.hdr { max-width: 1480px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 28px; height: 64px; }
#rs-header .logo { color: #fff; font-size: 26px; }
#rs-header .logo span { color: #fff; opacity: .85; }
.logo-mark { display: none; width: auto; height: 26px; }
.hdr-nav { display: flex; gap: 2px; align-self: stretch; }
.hdr-nav a { display: flex; align-items: center; padding: 0 9px; color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; border-bottom: 3px solid transparent; }
.hdr-nav a:hover, .hdr-nav a.active { border-bottom-color: #fff; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.hdr-right .icon-btn { color: #fff; }
.hdr-right .icon-btn:hover { background: rgba(255,255,255,.15); }
.hdr-right svg.i { width: 23px; height: 23px; }
.btn-hdr-out { background: transparent; color: #fff; border: 2px solid #fff; text-transform: uppercase; }
.btn-hdr-out:hover { background: rgba(255,255,255,.12); }
.balance { display: flex; flex-direction: column; align-items: center; line-height: 1.1; padding: 5px 12px; background: rgba(0,0,0,.18); border-radius: 8px; color: #fff; cursor: pointer; border: none; font: inherit; }
.balance small { font-size: 10px; text-transform: uppercase; opacity: .85; }
.balance b { font-size: 15px; transition: .3s; }
.balance b.flash { color: #fff3a8; transform: scale(1.08); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--primary); border: none; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-transform: uppercase; }
.acct-pop { position: absolute; top: 52px; right: 0; width: 320px; background: #fff; color: var(--text); border-radius: 14px; box-shadow: 0 12px 40px rgba(20,30,60,.25); padding: 16px; z-index: 100; }
.acct-who { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.acct-who .avatar { background: var(--primary); color: #fff; width: 44px; height: 44px; cursor: default; }
.acct-who b { display: block; font-size: 15px; }
.acct-who small { color: var(--muted); }
.acct-bal { background: var(--card-2); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.acct-bal div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.acct-bal b { color: var(--text); }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.acct-grid.three { grid-template-columns: repeat(3, 1fr); }
.acct-pop .btn { width: 100%; padding: 11px; }
.acct-pop .btn-outline.orange { color: var(--primary); }
.acct-pop .btn-dark { margin-bottom: 8px; }
/* painel da conta */
.acct-panel { position: fixed; inset: 0; z-index: 105; background: rgba(10,14,30,.5); display: flex; justify-content: flex-end; }
.ap-box { width: 100%; max-width: 760px; height: 100%; background: var(--bg); display: flex; flex-direction: column; }
.ap-head { background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 64px; font-size: 19px; font-weight: 700; }
.ap-head .icon-btn { background: rgba(255,255,255,.2); border-radius: 50%; width: 38px; height: 38px; color: #fff; }
.ap-head #ap-title { flex: 1; margin-left: 10px; }
.ap-main { flex: 1; display: flex; min-height: 0; position: relative; }
.ap-side { width: 230px; flex: none; background: #fff; border-right: 1px solid var(--line); padding: 10px 8px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.ap-side button { display: flex; align-items: center; gap: 12px; background: none; border: none; padding: 11px 12px; border-radius: 10px; font: inherit; font-size: 15px; cursor: pointer; color: var(--text); text-align: left; }
.ap-side button svg.i { width: 20px; height: 20px; color: var(--primary); flex: none; }
.ap-side button.active { background: #ffe1d4; color: var(--primary); font-weight: 700; }
.ap-head .ap-menu { display: none; }
.ap-body { flex: 1; overflow-y: auto; padding: 14px; }
.ap-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.ap-card h3 { font-size: 17px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ap-saldo { background: var(--card-2); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.ap-saldo b { font-size: 26px; display: block; margin-top: 8px; }
.ap-saldo hr { border: none; border-top: 1px solid var(--line); margin: 12px 0; }
.ap-saldo div { display: flex; justify-content: space-between; color: var(--muted); padding: 3px 0; }
.ap-saldo div span:last-child { color: var(--text); }
.ap-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap-btns .btn { padding: 13px; }
.ap-list .mb-item:last-child { border-bottom: none; }
.ap-field label { color: var(--text); font-weight: 700; font-size: 13px; }
.ap-field .input { font-size: 15px; }
@media (max-width: 1100px) { .hdr-nav a { font-size: 13px; padding: 0 6px; } .hdr { gap: 14px; } }
@media (max-width: 1000px) {
  .hdr { height: 60px; gap: 8px; padding: 0 12px; }
  .hdr-nav { display: none; }
  .logo-word { display: none; }
  .logo-mark { display: block; }
  .balance { padding: 5px 10px; }
  .balance b { white-space: nowrap; }
  .hdr-right { gap: 6px; }
  .hdr-right .btn { padding: 9px 12px; font-size: 13px; }
  .acct-pop { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: auto; border-radius: 18px 18px 0 0; padding: 22px 18px 28px; }
  .ap-box { max-width: none; }
  .ap-head .ap-menu { display: inline-flex; }
  .ap-side { position: absolute; top: 0; bottom: 0; left: 0; width: 78%; max-width: 300px; z-index: 2; transform: translateX(-102%); transition: transform .25s; box-shadow: 4px 0 20px rgba(0,0,0,.18); }
  .ap-box.side-open .ap-side { transform: none; }
  .ap-box.side-open .ap-body { filter: brightness(.6); }
}
@media (max-width: 380px) { .hdr-right .icon-btn.hide-xs { display: none; } }
@media (max-width: 400px) { .hdr-right.logged #hdr-search { display: none; } }
#rs-header .logo span.logo-word { opacity: 1; color: #fff; }
.logo-word em { font-style: inherit; opacity: .8; }
.bell-dot { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: #ffe14d; border: 2px solid var(--primary); }

.app-banner { display: flex; align-items: center; gap: 10px; background: var(--card, #fff); border: 1px solid var(--line, #e3e7f0); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.app-banner.hidden { display: none; }
.app-banner img { border-radius: 10px; flex: none; }
.app-banner div { flex: 1; min-width: 0; line-height: 1.25; }
.app-banner b { display: block; font-size: 14px; }
.app-banner small { color: var(--muted); font-size: 12px; }
.app-banner .btn { flex: none; }

/* conta no estilo Betano */
.acct-pop { padding: 14px; }
.acct-who small { font-size: 12px; }
.acct-bal2 { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #1c2233, #2c3447); color: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.acct-bal2 small { display: block; font-size: 12px; opacity: .75; }
.acct-bal2 b { font-size: 22px; font-weight: 900; }
.acct-bal2 .icon-btn { color: #fff; background: rgba(255,255,255,.12); border-radius: 50%; width: 36px; height: 36px; }
.acct-menu { display: grid; border-top: 1px solid var(--line); margin: 4px -14px 0; max-height: 46vh; overflow-y: auto; }
.acct-menu button { display: flex; align-items: center; gap: 12px; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; text-align: left; }
.acct-menu button:hover { background: var(--card-2); }
.acct-menu svg.i { width: 20px; height: 20px; color: var(--primary); flex: none; }
.acct-menu span { flex: 1; }
.acct-menu i { font-style: normal; font-size: 20px; color: var(--muted); }
.acct-out { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; background: none; border: 0; color: var(--primary); font: inherit; font-weight: 700; font-size: 15px; padding: 10px; cursor: pointer; }
.acct-out svg.i { width: 18px; height: 18px; }
.ap-head { background: linear-gradient(90deg, #ff5a00, #ff7a1a); box-shadow: 0 2px 10px rgba(255,90,0,.3); }
.ap-side { padding-top: 0; }
.ap-who { display: flex; align-items: center; gap: 10px; padding: 16px 12px 12px; margin: 0 -8px 6px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff3ec, #fff); }
.ap-who .avatar { background: var(--primary); color: #fff; width: 42px; height: 42px; cursor: default; flex: none; }
.ap-who b { display: block; font-size: 15px; } .ap-who small { color: var(--muted); font-size: 12px; }
.ap-g { display: block; padding: 12px 12px 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ap-out { display: flex; align-items: center; gap: 12px; margin-top: auto; background: none; border: 0; border-top: 1px solid var(--line); padding: 14px 12px; font: inherit; font-size: 15px; font-weight: 700; color: var(--primary); cursor: pointer; }
.ap-out svg.i { width: 20px; height: 20px; }
.ap-body { background: #f3f4f8; }
.ap-card { border: 0; box-shadow: 0 1px 4px rgba(20,30,60,.08); }
.ap-card h3 { font-size: 16px; }
.ap-field label { display: block; margin-bottom: 5px; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.ap-field .input { border-radius: 10px; background: #f7f8fb; }
.ap-hero { position: relative; overflow: hidden; color: #fff; border-radius: 16px; padding: 16px; margin-bottom: 14px; background: radial-gradient(circle at 100% 0, rgba(255,90,0,.55), transparent 55%), linear-gradient(135deg, #1c2233, #10131d); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.ap-hero-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 15px; }
.ap-hero-top .icon-btn { color: #fff; background: rgba(255,255,255,.12); border-radius: 50%; width: 36px; height: 36px; }
.ap-hero > small { font-size: 12px; opacity: .75; }
.ap-hero-v { display: block; font-size: 30px; font-weight: 900; margin: 2px 0 12px; }
.ap-hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 0; margin-bottom: 12px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.ap-hero-row small { display: block; font-size: 11px; opacity: .7; } .ap-hero-row b { font-size: 15px; }
.ap-hero .ap-wd { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.ap-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.ap-quick button { display: grid; justify-items: center; gap: 6px; background: #fff; border: 0; border-radius: 14px; padding: 12px 4px; font: inherit; font-size: 11.5px; font-weight: 700; color: var(--text); cursor: pointer; box-shadow: 0 1px 4px rgba(20,30,60,.08); }
.ap-quick svg.i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #ffe7da; color: var(--primary); }
.ap-sub { margin: 6px 2px 10px; font-size: 16px; }
.acct-who .avatar, .ap-who .avatar { display: grid; place-items: center; font-size: 18px; }
