/* Por dentro — abas, categorias e perguntas. Sem script, tudo empilhado (as abas e os chips só existem com abas.js). */
.pd .painel{margin-top:30px}
.pd .painel:first-of-type{margin-top:22px}
.pd-t{font-size:var(--t-sub);margin:0 0 6px}
.pd .apoio{margin-top:8px}
.pd a{color:#14121A;text-decoration-color:#C2441F;text-underline-offset:3px}

.cartoes{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.cartoes li{background:#fff;border:1px solid #DCE1E8;border-radius:14px;padding:16px 18px;box-shadow:var(--sombra-c)}
.cartoes h3{font-size:var(--t-sub);line-height:1.35}
.cartoes p{margin:6px 0 0;font-size:var(--t-texto);line-height:1.55;color:#14121A}

/* perguntas */
.grupo{margin-top:26px}
.grupo h4{font-size:var(--t-sub);font-weight:500;color:#14121A;margin:0 0 10px}
.grupo[hidden]{display:none}
details{background:#fff;border:1px solid #DCE1E8;border-radius:12px;margin-top:8px;box-shadow:var(--sombra-c)}
summary{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:48px;padding:10px 16px;cursor:pointer;list-style:none;font-weight:500;font-size:var(--t-sub);line-height:1.35;color:#14121A}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";flex:none;font-size:var(--t-sub);line-height:1;color:#4E5463}
details[open] summary::after{content:"–"}
details[open] summary{color:#14121A}
details p{margin:0;padding:0 16px 16px;font-size:var(--t-texto);line-height:1.55;color:#14121A}
summary:focus-visible,.aba:focus-visible,.chip:focus-visible{outline:2px solid #C2441F;outline-offset:2px}

/* com script: controle segmentado + chips */
.abas,.chips{display:none}
.com-js .pd-t{display:none}
.com-js .abas{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;margin-top:24px;background:#E7EBF0;border-radius:14px;position:sticky;top:8px;z-index:5;box-shadow:0 6px 16px -8px rgba(20,18,26,.25)}
.com-js .painel{margin-top:22px}
.aba{min-height:44px;padding:0 6px;border:0;border-radius:10px;background:transparent;font:inherit;font-weight:400;font-size:var(--t-detalhe);color:#4E5463;cursor:pointer}
.aba[aria-selected="true"]{background:#fff;color:#C2441F;font-weight:400;box-shadow:0 1px 3px rgba(20,18,26,.14)}
.com-js .chips{display:flex;gap:8px;margin-top:4px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;min-height:44px;padding:0 16px;border:1px solid #DCE1E8;border-radius:22px;background:#fff;font:inherit;font-size:var(--t-detalhe);color:#4E5463;cursor:pointer;white-space:nowrap}
.chip[aria-pressed="true"]{border-color:#C2441F;color:#C2441F;font-weight:400}
.com-js .chips+.grupo{margin-top:12px}
@media (min-width:760px){.com-js .abas{top:12px}}
