:root{--cat-blue:#063e78;--cat-orange:#f87816;--cat-line:#dbe3ed}*{box-sizing:border-box}body{margin:0;color:#19344b;background:#fff;font-family:'Century Gothic',Arial,sans-serif} .cat-intro{padding:64px 0 46px;background:linear-gradient(118deg,#06294f,#064d8e);color:white;border-bottom:5px solid var(--cat-orange)}.cat-intro h1{font-size:clamp(2rem,4vw,3.3rem);line-height:1.15;margin:16px 0 20px;letter-spacing:-.035em}.cat-intro p{max-width:710px;line-height:1.65}.cat-intro .eyebrow{color:#ffc18f}.cat-main{padding-top:36px;padding-bottom:50px}.cat-tools{border:1px solid var(--cat-line);padding:22px;background:#f5f8fc;border-radius:8px}.cat-segments{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.cat-tools button,.cat-more button,#cat-close{font:inherit;cursor:pointer;border:1px solid #b3c4d6;border-radius:5px;padding:12px 18px;color:var(--cat-blue);background:#fff;min-height:46px}.cat-segments button[aria-pressed=true]{color:white;background:var(--cat-blue);border-color:var(--cat-blue);box-shadow:inset 0 -3px var(--cat-orange)}.cat-search{display:grid;grid-template-columns:minmax(160px,1fr) minmax(150px,260px) auto;gap:16px;align-items:end}.cat-search label{display:block;font-weight:700;font-size:1rem;margin-bottom:8px}.cat-search input,.cat-search select{width:100%;min-height:46px;padding:10px 12px;background:white;border:1px solid #a2b7ca;color:#173b5a;border-radius:4px;font:inherit}.cat-search select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#264c70 50%),linear-gradient(135deg,#264c70 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:36px}.cat-summary{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:22px 0 14px;font-size:1rem}.cat-summary p{margin:0;line-height:1.5}.cat-summary p:last-child{color:#52677b}.cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cat-card{min-width:0;border:1px solid var(--cat-line);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;background:white;transition:box-shadow .2s}.cat-card:hover{box-shadow:0 8px 28px #163f6817}.cat-image{background:#fff;display:flex;align-items:center;justify-content:center;padding:20px;border-bottom:1px solid #edf1f5;aspect-ratio:1.35}.cat-image img{width:100%;height:100%;max-height:220px;object-fit:contain}.cat-card-body{padding:22px;display:flex;flex-direction:column;flex:1}.cat-card .eyebrow{font-size:.875rem;color:#4d647a;letter-spacing:.03em}.cat-card h2{font-size:1.25rem;line-height:1.35;margin:10px 0 14px;color:#063e78;overflow-wrap:anywhere}.cat-actions{display:grid;gap:10px;margin-top:auto}.cat-actions button,.cat-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;font:inherit;font-weight:700;border-radius:4px;text-decoration:none;padding:10px 14px}.cat-actions button{background:#fff;border:1px solid #9cb3c9;color:#174e7e;cursor:pointer}.cat-actions a{background:#063e78;border:1px solid #063e78;color:white}.cat-actions a:hover{background:#032d59}.cat-more{text-align:center;margin:28px}.cat-help{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:44px;padding:32px;border-left:5px solid var(--cat-orange);background:#eef4fa}.cat-help h2{margin:10px 0;font-size:1.6rem}.cat-help p{max-width:650px;line-height:1.6}.cat-help>a{flex-shrink:0}.cat-source{font-size:.9rem;line-height:1.6;color:#52677b;margin-top:28px}#cat-empty{padding:35px 0}#cat-detail{border:0;border-radius:10px;width:min(930px,calc(100% - 28px));max-height:90vh;padding:0;color:#19344b;box-shadow:0 24px 100px #0005}#cat-detail::backdrop{background:#071d35bf}.cat-dialog-top{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:14px 24px;background:#063e78;color:white;z-index:1;border-bottom:3px solid var(--cat-orange)}.cat-dialog-top span{font-weight:700}.cat-dialog-body{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:30px}.cat-dialog-body>img{width:100%;height:auto;max-height:420px;object-fit:contain}.cat-dialog-body h2{font-size:1.7rem;line-height:1.3;margin-top:12px}.cat-dialog-body p{line-height:1.65}.cat-note{font-size:.95rem;color:#52677b}.cat-official{display:block;margin-top:18px;color:#064d8e;text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ee7318;outline-offset:3px}[hidden]{display:none!important}body.cat-modal-open{overflow:hidden}@media(max-width:850px){.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cat-search{grid-template-columns:1fr 1fr}.cat-search>button{grid-column:1/-1}.cat-help{display:block}.cat-help>a{margin-top:15px}.main-nav{flex-wrap:wrap}}@media(max-width:540px){.cat-intro{padding:38px 0 30px}.cat-main{padding-top:24px}.cat-tools{padding:16px}.cat-segments{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cat-segments button{padding:11px 8px}.cat-search{grid-template-columns:1fr}.cat-search>button{grid-column:auto}.cat-grid{grid-template-columns:1fr}.cat-card{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:stretch}.cat-image{height:100%;aspect-ratio:auto;padding:10px;border-bottom:0}.cat-image img{max-height:150px}.cat-card-body{padding:16px 14px}.cat-card h2{font-size:1.1rem}.cat-card .eyebrow{font-size:.875rem}.cat-actions{grid-template-columns:1fr}.cat-actions button,.cat-actions a{font-size:.9rem;padding:9px}.cat-dialog-body{grid-template-columns:1fr;padding:22px}.cat-dialog-body>img{max-height:240px}.cat-help{padding:24px}.cat-dialog-top{padding:12px 18px}}@media(prefers-reduced-motion:reduce){.cat-card{transition:none}}

.skip-link{position:absolute;left:16px;top:-100px;z-index:1000;background:white;padding:12px;color:#063e78}.skip-link:focus{top:10px}.main-nav a[aria-current="page"]{border-bottom-color:#f87816}

.cat-dialog-body .button-primary{display:inline-flex;align-items:center;justify-content:center;background:#063e78;color:#fff;border:1px solid #063e78;padding:13px 20px;min-height:46px;border-radius:4px;text-decoration:none;font-weight:700}.cat-dialog-body .button-primary:hover{background:#032d59}
@media(min-width:541px){.cat-image{height:230px;aspect-ratio:auto;flex:none}}

@media(max-width:700px){.main-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px;width:100%;text-align:center}.main-nav a{white-space:nowrap;justify-self:stretch}}

#cat-detail-description ul{padding-left:21px;margin:0 0 16px;line-height:1.65}#cat-detail-description li+li{margin-top:10px}

/* Fundo de carregamento sem imagem extra; branco após load preserva fotos transparentes. */
.cat-image{background:#eef1f5}.cat-image[data-loaded="true"]{background:#fff}

.cat-specs{margin:18px 0;border-top:1px solid #dce3ed;border-bottom:1px solid #dce3ed}.cat-specs summary{cursor:pointer;font-size:1rem;font-weight:700;color:#063e78;min-height:46px;padding:12px 4px;line-height:1.5}.cat-specs summary:focus-visible{outline:3px solid #f87816;outline-offset:2px}.cat-specs[open] summary{margin-bottom:10px}#cat-detail-description .cat-specs ul{margin-bottom:18px}

/* Em telas estreitas, a miniatura não comprime o nome e os botões. */
.cat-actions a{text-align:center}
@media(max-width:360px){.cat-card{grid-template-columns:84px minmax(0,1fr)}.cat-image{padding:8px}.cat-card-body{padding:16px 12px}}
