/* JAT 3.6 - catalogo: nao altera cards, somente pano de fundo */
body.jat-catalog-page{background:#071a34!important}
body.jat-catalog-page::before{content:"";position:fixed;inset:30px 0 0;pointer-events:none;z-index:0;background:linear-gradient(90deg,rgba(3,18,39,.82),rgba(4,23,47,.46) 60%,rgba(4,20,42,.24)),url('/portal/jat-banner.png') center 58%/cover no-repeat;animation:jatArrival 3.8s cubic-bezier(.16,.7,.25,1) both}
body.jat-catalog-page .page,body.jat-catalog-page .page-content,body.jat-catalog-page main{background:transparent!important;position:relative;z-index:1}
body.jat-catalog-page .page-content h1,body.jat-catalog-page .page-content h2{color:#fff!important;text-shadow:0 2px 12px #06162b}
@keyframes jatArrival{from{opacity:.5;transform:translateX(8%) scale(1.07);filter:blur(3px)}to{opacity:1;transform:translateX(0) scale(1);filter:blur(0)}}
.jat-back-home{position:fixed;right:20px;bottom:24px;z-index:9999;background:#0b64c8;color:#fff!important;border:1px solid #74bfff;border-radius:12px;padding:12px 18px;font:700 14px Arial,sans-serif;box-shadow:0 8px 24px #001e3d80;text-decoration:none!important}
.jat-back-home:hover{background:#074a99}
@media(prefers-reduced-motion:reduce){body.jat-catalog-page::before{animation:none}}


/* JAT 3.8 - fallback CSS para catalogo sem depender de JS */
@supports selector(body:has(a[href])) {
body:has(a[href*="/Form/Render/1"]):has(a[href*="/Form/Render/2"]) {
  background:linear-gradient(90deg,rgba(3,17,38,.82),rgba(3,20,44,.42)),url('/portal/jat-banner.png') center center/cover fixed no-repeat!important;
}
body:has(a[href*="/Form/Render/1"]):has(a[href*="/Form/Render/2"]) .page,
body:has(a[href*="/Form/Render/1"]):has(a[href*="/Form/Render/2"]) .page-content,
body:has(a[href*="/Form/Render/1"]):has(a[href*="/Form/Render/2"]) main{background:transparent!important}
}
