/* Alpha.124 — navegação editorial: superfícies sólidas, hierarquia e ritmo.
   Tokens nativos da plataforma; não altera rotas, módulos ou permissões. */
body[data-layout="site"] .site-header.is-solid,
body[data-layout="site"] .site-header.is-scrolled {
  background:var(--surface); background-image:none; backdrop-filter:none;
  -webkit-backdrop-filter:none; box-shadow:0 1px 0 var(--border);
}
body[data-layout="site"] .header-inner {gap:clamp(12px,2vw,28px)}
body[data-layout="site"] .header-actions {gap:4px}
body[data-layout="site"] .header-btn {border-radius:10px; transition:background-color .16s,color .16s,transform .16s}
body[data-layout="site"] .header-btn[aria-expanded="true"] {background:var(--accent-soft);color:var(--accent-text)}
body[data-layout="site"] .header-user[aria-expanded="true"] {box-shadow:0 0 0 2px var(--accent)}
body[data-layout="site"] .header-user .header-avatar {border:1px solid var(--border);box-shadow:none}
body[data-layout="site"] .header-count:not([hidden]) {background:var(--accent);color:var(--accent-ink);border:2px solid var(--surface);box-shadow:none}
body[data-layout="site"] .side-backdrop {background:rgba(10,10,14,.55);backdrop-filter:none;-webkit-backdrop-filter:none}
body[data-layout="site"] #side-drawer {background:var(--surface);background-image:none;opacity:1;isolation:isolate;z-index:110;box-shadow:12px 0 44px rgba(0,0,0,.18);width:min(390px,calc(100vw - 28px));border-radius:0 18px 18px 0}
body[data-layout="site"] .side-head {height:66px;padding:0 18px;border-bottom:1px solid var(--border);background:var(--surface)}
body[data-layout="site"] .side-head .header-btn {background:var(--surface-2);border:1px solid var(--border)}
.side-search-area {padding:14px 16px 8px;flex:none;background:var(--surface)}
.side-search-field {display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border:1px solid var(--border);background:var(--surface-2);border-radius:10px;color:var(--muted)}
.side-search-field .icon {width:19px;height:19px;flex:none}
.side-search-field input {width:100%;min-width:0;border:0;background:transparent;color:var(--text);font:inherit;font-size:16px;outline:0;padding:8px 0;box-shadow:none}
.side-search-field:focus-within {border-color:var(--accent);outline:2px solid var(--accent-soft)}
body[data-layout="site"] .side-scroll {padding:8px 12px 18px;scrollbar-width:thin}
body[data-layout="site"] .side-user,body[data-layout="site"] .side-guest {background:var(--surface-2);border:1px solid var(--border);border-radius:12px;box-shadow:none;padding:14px;margin:0 3px 16px}
body[data-layout="site"] .side-user::after {display:none}
body[data-layout="site"] .side-user:hover {background:var(--surface-3)}
body[data-layout="site"] .side-section {padding:0;margin:0 0 7px;border:1px solid var(--border);border-radius:12px;overflow:hidden}
body[data-layout="site"] .side-section[open] {border-color:var(--border-strong)}
body[data-layout="site"] .side-label {display:flex;gap:9px;min-height:47px;padding:8px 10px;border-radius:0;background:var(--surface-2);text-transform:none;letter-spacing:0}
body[data-layout="site"] .side-label-text {font-size:.86rem;color:var(--text);font-weight:700;line-height:1.25}
.side-section-icon {display:grid;place-items:center;width:30px;height:30px;flex:none;color:var(--accent-text)}
.side-section-icon .icon {width:19px;height:19px}
body[data-layout="site"] .side-count {background:var(--surface);border:1px solid var(--border);color:var(--muted);font-size:.7rem;padding:1px 7px}
body[data-layout="site"] .side-links {padding:5px;gap:2px;background:var(--surface)}
body[data-layout="site"] .side-link {min-height:43px;padding:5px 8px;gap:10px;border-radius:8px;font-size:.88rem;font-weight:550;color:var(--text-soft);box-shadow:none;transform:none}
body[data-layout="site"] .side-link:hover {background:var(--hover);padding:5px 8px;transform:none}
body[data-layout="site"] .side-link[aria-current="page"] {background:var(--accent-soft);color:var(--accent-text);font-weight:700;box-shadow:none}
body[data-layout="site"] .side-link::before {display:none}
body[data-layout="site"] .side-ico {width:32px;height:32px;border-radius:8px;background:transparent;box-shadow:none;border:0;color:var(--muted);transform:none}
body[data-layout="site"] .side-ico .icon {width:19px;height:19px;color:var(--muted)}
body[data-layout="site"] .side-link[aria-current="page"] .side-ico {background:transparent}
body[data-layout="site"] .side-link[aria-current="page"] .side-ico .icon {color:var(--accent-text)}
.side-link-text {flex:1;min-width:0;overflow-wrap:anywhere}
body[data-layout="site"] .side-link .side-link-arrow {width:13px;height:13px;color:var(--muted);opacity:.6}
body[data-layout="site"] .side-foot {background:var(--surface);padding:9px 14px max(10px,env(safe-area-inset-bottom));gap:3px;display:grid}
body[data-layout="site"] .side-foot .side-link {padding:8px 12px;min-height:44px}
body[data-layout="site"] .side-foot .side-link .icon {color:var(--accent-text)}
body[data-layout="site"] .side-foot .side-link--button .icon {color:var(--danger)}
body[data-layout="site"] #side-drawer [hidden] {display:none!important}
.side-no-results {padding:20px 12px;color:var(--muted);text-align:center;font-size:.86rem}
/* Menu da conta: identificação, saldos e atalhos em uma grade legível. */
body[data-layout="site"] .menu-panel--account {width:380px;background:var(--surface);background-image:none;box-shadow:0 12px 40px rgba(0,0,0,.16);border:1px solid var(--border);border-radius:16px;padding:12px;max-height:min(76vh,680px);overscroll-behavior:contain}
.account-pop-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 12px;color:var(--text);font-size:1rem}
.account-pop-heading button {display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);color:var(--text);cursor:pointer}
.account-pop-heading .icon {width:18px;height:18px}
body[data-layout="site"] .menu-panel--account .menu-head {padding:13px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;grid-template-columns:minmax(0,1fr);gap:5px;margin-bottom:12px}
body[data-layout="site"] .menu-panel--account .menu-head:has(.menu-head-orb) {grid-template-columns:auto minmax(0,1fr);column-gap:10px}
body[data-layout="site"] .menu-panel--account .menu-head strong {font-size:1rem;overflow-wrap:anywhere}
body[data-layout="site"] .menu-panel--account .menu-head .menu-balances {gap:6px;margin-top:8px}
body[data-layout="site"] .menu-panel--account .menu-balances a {background:var(--surface);border-radius:8px;padding:8px}
.account-pop-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body[data-layout="site"] .account-pop-links .menu-item {display:flex;align-items:center;min-height:55px;padding:7px 8px;gap:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:.78rem;line-height:1.25;color:var(--text);font-weight:600;overflow-wrap:anywhere;transform:none}
.account-pop-icon {display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:7px;background:var(--surface-2)}
body[data-layout="site"] .account-pop-icon .icon {width:17px;height:17px;color:var(--accent-text)}
body[data-layout="site"] .account-pop-links .menu-item:hover,body[data-layout="site"] .account-pop-links .menu-item[aria-current="page"] {background:var(--accent-soft);border-color:var(--accent)}
body[data-layout="site"] .menu-panel--account .menu-item--all {margin-top:10px;min-height:44px;background:var(--surface-2);border:1px solid var(--border);border-radius:9px;font-weight:650;color:var(--text)}
body[data-layout="site"] .menu-panel--account form button {color:var(--danger)}
body[data-layout="site"] .menu-panel--account form button .icon {color:var(--danger)}
/* Estado de catálogo vazio: sem letreiro artificial, sem títulos gigantes. */
body[data-layout="site"] .home-launch {padding:20px 0 38px}
body[data-layout="site"] .home-launch .marquee {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px;align-items:center;padding:clamp(22px,4vw,48px);background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}
body[data-layout="site"] .home-launch .marquee::before,body[data-layout="site"] .home-launch .marquee::after {display:none}
.launch-copy {min-width:0}
body[data-layout="site"] .home-launch .marquee-kicker {display:flex;gap:8px;align-items:center;font-size:.78rem;line-height:1.3;font-weight:700;color:var(--accent-text);margin:0 0 15px;letter-spacing:0;text-transform:none}
body[data-layout="site"] .home-launch .marquee-kicker .icon {width:19px;height:19px}
body[data-layout="site"] .home-launch .marquee-title {font-family:var(--font);font-size:clamp(1.8rem,4vw,3.6rem);line-height:1.12;letter-spacing:-.045em;max-width:19ch;margin:0;text-wrap:balance}
body[data-layout="site"] .home-launch .marquee-text {font-size:clamp(.93rem,1.4vw,1.07rem);line-height:1.6;margin:15px 0 0;max-width:55ch}
body[data-layout="site"] .home-launch .marquee-actions {margin-top:22px;gap:8px}
body[data-layout="site"] .home-launch .marquee-actions .btn {border-radius:9px;min-height:46px;box-shadow:none}
.launch-visual {position:relative;display:grid;place-items:center;min-height:180px;height:100%;max-height:260px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.launch-visual-icon {display:grid;place-items:center;width:90px;height:90px;border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--accent-text);z-index:1;box-shadow:var(--shadow)}
.launch-visual-icon .icon {width:47px;height:47px;stroke-width:1.25}
.launch-visual-line {position:absolute;inset:14px 16px auto;height:10px;background:repeating-linear-gradient(90deg,var(--border-strong) 0 11px,transparent 11px 22px);opacity:.65;border-radius:3px}
.launch-visual-line:last-child {inset:auto 16px 14px}
body[data-layout="site"] .home-launch .marquee-facts {grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;padding:15px 0 0;border-top:1px solid var(--border);font-size:.85rem}
body[data-layout="site"] .home-launch .marquee-facts span {padding:4px 12px;display:flex;align-items:baseline;gap:8px}
body[data-layout="site"] .home-launch .marquee-facts span+span {border-left:1px solid var(--border)}
body[data-layout="site"] .home-launch .marquee-facts strong {font-size:1.35rem;font-weight:750;color:var(--text)}
@media(max-width:760px) {
 body[data-layout="site"] .header-inner {gap:6px;padding-inline:12px}
 body[data-layout="site"] .header-inner>.brand {gap:6px;min-width:0;flex:0 1 auto}
 body[data-layout="site"] .header-inner>.brand .brand-name {font-size:1.33rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body[data-layout="site"] .header-inner>.brand .brand-mark {width:28px;height:28px;flex:none}
 body[data-layout="site"] .header-actions {gap:1px;flex:none}
 body[data-layout="site"] .header-actions .header-btn {width:38px;height:42px}
 body[data-layout="site"] .header-actions .header-btn .icon {width:21px;height:21px}
 body[data-layout="site"] .header-actions .header-user {padding:1px}
 body[data-layout="site"] .header-actions .header-user:not(:has(.header-avatar-frame)) .header-avatar-wrap,body[data-layout="site"] .header-actions .header-user:not(:has(.header-avatar-frame)) .header-avatar {width:36px;height:36px}
 body[data-layout="site"] .menu-panel--account {position:fixed;left:8px;right:8px;top:calc(var(--header-height) + 6px);width:auto;max-height:calc(100vh - var(--header-height) - var(--bottom-nav-height) - 18px);max-height:calc(100dvh - var(--header-height) - var(--bottom-nav-height) - 18px);padding:12px}
 body[data-layout="site"] .bottom-nav {background:var(--surface);background-image:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-top:1px solid var(--border);box-shadow:0 -4px 18px rgba(0,0,0,.04)}
 body[data-layout="site"] .bottom-nav a {padding:4px 0;gap:4px;font-size:.67rem;line-height:1.2;box-shadow:none;background:transparent;color:var(--muted)}
 body[data-layout="site"] .bottom-nav a .icon {box-sizing:content-box;width:21px;height:21px;padding:4px 11px;border-radius:8px;background:transparent;transform:none}
 body[data-layout="site"] .bottom-nav a[aria-current="page"],body[data-layout="site"] .bottom-nav a[aria-expanded="true"] {color:var(--accent-text);font-weight:700;box-shadow:none}
 body[data-layout="site"] .bottom-nav a[aria-current="page"] .icon,body[data-layout="site"] .bottom-nav a[aria-expanded="true"] .icon {color:var(--accent-text);background:var(--accent-soft)}
 body[data-layout="site"] .bottom-nav a::before,body[data-layout="site"] .bottom-nav a::after {display:none}
 body[data-layout="site"] .home-launch .marquee {grid-template-columns:1fr;padding:20px;gap:18px}
 .launch-visual {min-height:106px;height:106px;grid-row:1}
 .launch-visual-icon {width:57px;height:57px;border-radius:14px}
 .launch-visual-icon .icon {width:31px;height:31px}
 .launch-visual-line {height:6px;inset:10px 12px auto}
 .launch-visual-line:last-child {inset:auto 12px 10px}
 body[data-layout="site"] .home-launch .marquee-title {font-size:clamp(1.8rem,7vw,2.4rem)}
}
@media(max-width:350px){.account-pop-links{grid-template-columns:1fr}body[data-layout="site"] .header-actions .header-btn{width:34px}body[data-layout="site"] .header-inner>.brand .brand-name{font-size:1.1rem}}
@media(prefers-reduced-motion:reduce){.side-drawer,.side-backdrop,.side-section[open]>.side-links,.menu-panel--account,.account-pop-links .menu-item,.bottom-nav a .icon{animation:none!important;transition:none!important}}
