/* NOTAS DE HOMEM V11 — directory and reading navigation */
/* Give the additional nav item room without altering the brand/header height. */
.ndh-index-page [hidden]{display:none!important}
@media(min-width:801px){.nav{gap:15px}.navlinks{gap:clamp(10px,1.24vw,17px);font-size:12.5px}}
.ndh-index-nav-link[aria-current="page"]{color:#76518b;text-decoration:underline;text-decoration-color:#bb9254;text-underline-offset:7px}
.ndh-index-page{max-width:1140px;padding-bottom:65px}
.ndh-index-hero{padding-bottom:43px;margin-bottom:32px}
.ndh-index-hero h1{max-width:880px}
.ndh-index-stats{margin-top:20px;display:inline-flex;align-items:center;gap:11px;padding:10px 17px;border:1px solid #e6c99870;background:#ffffff18;border-radius:999px;position:relative}
.ndh-index-stats strong{font-size:26px;color:#f3cf97;line-height:1}
.ndh-index-stats span{font-size:12px;color:#f4e9f7}
.ndh-index-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:17px}
.ndh-index-heading h2{font-size:28px;margin:0}.ndh-index-heading>span{font-size:13px;color:#76677c}
.ndh-index-quick{margin-bottom:38px}
.ndh-index-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ndh-index-quick-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:16px;border:1px solid #e6d7eb;box-shadow:0 7px 22px #3d24530d;transition:transform .2s,border-color .2s}
.ndh-index-quick-card:hover,.ndh-index-quick-card:focus-visible{transform:translateY(-3px);border-color:#bb965f}
.ndh-index-quick-card img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;background:#3a2346}
.ndh-index-quick-card>span{padding:13px 15px 16px;display:flex;justify-content:space-between;gap:8px;align-items:center;font-weight:750;font-size:14px;color:#4c335c}
.ndh-index-quick-card>span span{color:#9d773d;font-size:18px}
.ndh-index-tool{background:linear-gradient(120deg,#f1e8f4,#fff9f2);border:1px solid #e0d1e4;border-radius:22px;padding:27px 29px;margin:25px 0}
.ndh-index-toolbar-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.ndh-index-toolbar-head h2{margin:0;font-size:29px}
.ndh-index-mode{display:inline-flex;gap:4px;padding:4px;border-radius:40px;background:#fff;border:1px solid #dcd0e1}
.ndh-index-mode button{border:0;background:transparent;color:#5c4b64;font-size:12px;font-weight:750;border-radius:30px;padding:10px 15px;line-height:1.25}
.ndh-index-mode button[aria-pressed="true"]{background:#5a3970;color:#fff}
.ndh-index-mode button:focus-visible,.ndh-index-search-field input:focus-visible{outline:2px solid #875bb0;outline-offset:2px}
.ndh-index-search{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.ndh-index-search>div{flex:1;max-width:710px}
.ndh-index-search label{display:block;font-weight:700;font-size:14px;margin:0 0 9px;color:#432c51}
.ndh-index-search-field{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #cdb5d4;border-radius:13px;padding:3px 6px 3px 14px}
.ndh-index-search-field>span{color:#9d743a;font-size:24px;line-height:1}
.ndh-index-search-field input{flex:1;min-width:0;border:0;outline:0;padding:11px 6px;background:transparent;font-size:15px;color:#35223f}
.ndh-index-search-field button{border:0;background:#f2e8f3;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:750;color:#614677}
.ndh-index-search-field button[hidden]{display:none}
.ndh-index-search p{font-size:12px;color:#85738b;margin:8px 0 0}
.ndh-index-search>strong{font-size:13px;color:#644b70;white-space:nowrap;padding-bottom:24px}
.ndh-index-topics-nav{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 29px}
.ndh-index-topic-pill{border-radius:40px;border:1px solid #decce4;background:#fff;padding:8px 12px;font-size:12px;font-weight:750;color:#644673}
.ndh-index-topic-pill:hover{border-color:#b18bc0;background:#f7eef8}
.ndh-index-topic-pill span{color:#af8651;margin-left:6px}
.ndh-index-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px;align-items:start}
.ndh-index-group,.ndh-index-alpha-group{background:#fff;border:1px solid #e8ddea;border-radius:18px;padding:24px;box-shadow:0 7px 25px #51305d0a;scroll-margin-top:25px}
.ndh-index-group-head{display:flex;align-items:start;gap:13px;border-bottom:1px solid #eee5f0;padding-bottom:14px;margin-bottom:8px}
.ndh-index-group-symbol{flex:0 0 42px;width:42px;height:42px;background:#f2e5f6;color:#80528f;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px}
.ndh-index-group-head>div{flex:1;min-width:0}
.ndh-index-group h2{font-size:22px;line-height:1.16;margin:2px 0 6px;color:#3f2a4c}
.ndh-index-group-head p{font-size:12px;color:#827286;line-height:1.55;margin:0}
.ndh-index-group-count{padding:2px 8px;background:#f6f0f6;border-radius:10px;font-size:11px;font-weight:800;color:#7b538b}
.ndh-index-link-list{margin:0;padding:0;list-style:none}
.ndh-index-entry{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #f1eaf2;padding:11px 0;font-size:13.3px;line-height:1.46}
.ndh-index-entry:last-child{border-bottom:none}
.ndh-index-entry a{flex:1;color:#584366;font-weight:600;text-decoration:none}
.ndh-index-entry a:hover,.ndh-index-entry a:focus-visible{color:#82509b;text-decoration:underline;text-underline-offset:3px}
.ndh-index-entry>span{color:#b38e5a;flex:0 0 auto}
.ndh-index-entry[hidden],.ndh-index-group[hidden],.ndh-index-topic-pill[hidden]{display:none!important}
.ndh-index-empty{text-align:center;background:#fff;border:1px solid #e1d2e6;padding:25px;border-radius:14px;color:#705c79;margin:24px 0}
.ndh-index-footnote{font-size:12px;color:#8a7b8e;margin:26px 0 0;text-align:center}
.ndh-index-letters{display:flex;gap:6px;flex-wrap:wrap;padding:12px 0 21px}
.ndh-index-letters a{min-width:30px;text-align:center;padding:5px 6px;border:1px solid #e0d2e5;border-radius:8px;font-size:12px;font-weight:800;background:#fff;color:#674275}
.ndh-index-letters a:hover{background:#e9dbef}
.ndh-index-letters a.is-empty{opacity:.3;cursor:default}
.ndh-index-az #ndh-index-az-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.ndh-index-alpha-group h2{color:#a47d46;font-size:28px;margin:0 0 10px}
.ndh-index-home{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(115deg,#332140,#634079);border-radius:20px;padding:26px 34px;color:#fff;margin:33px 0;box-shadow:0 10px 30px #422b521d}
.ndh-index-home>div:not(.ndh-index-home-decoration){position:relative;flex:1}
.ndh-index-home .ndh-kicker{color:#efd09a!important}
.ndh-index-home h2{font-size:28px;margin:4px 0 6px;color:#fff}
.ndh-index-home p{font-size:14px;max-width:680px;color:#f5e9f4;margin:0}
.ndh-index-home a.btn{position:relative;flex:0 0 auto;background:#e9c386;color:#302040;border:1px solid #edce9e;font-size:13px;text-align:center}
.ndh-index-home a.btn:hover{background:#f8dca6}
.ndh-index-home-decoration{position:absolute;right:24%;top:-37px;transform:rotate(-12deg);font-size:130px;font-family:Georgia,serif;font-weight:800;color:#ffffff0c;line-height:1}
.ndh-article-toc{max-width:790px;background:linear-gradient(115deg,#f2e9f5,#fcf8fc);border:1px solid #e1d2e8;border-left:4px solid #ae8553;border-radius:15px;padding:22px 26px;margin:30px 0;scroll-margin-top:20px}
.ndh-article-toc h2.ndh-article-toc-title{font-size:23px;margin:0 0 13px;color:#483153}
.ndh-article-toc ol{padding-left:21px;margin:0;columns:2;column-gap:25px}
.ndh-article-toc li{font-size:13px;line-height:1.5;margin:0 0 8px;break-inside:avoid}
.ndh-article-toc a{color:#704b82;text-decoration:underline;text-underline-offset:2px}
.ndh-article-toc a:hover{color:#36213d}
@media(max-width:950px){.ndh-index-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ndh-index-groups,.ndh-index-az #ndh-index-az-results{grid-template-columns:1fr}.ndh-index-home{flex-wrap:wrap}.ndh-index-home a.btn{margin-top:2px}}
@media(max-width:620px){.ndh-index-hero{padding:34px 24px}.ndh-index-quick-grid{gap:10px}.ndh-index-quick-card>span{font-size:12px;padding:11px}.ndh-index-quick-card img{aspect-ratio:5/4}.ndh-index-tool{padding:19px 16px}.ndh-index-toolbar-head{display:block}.ndh-index-mode{margin-top:12px;width:100%;justify-content:space-between}.ndh-index-mode button{flex:1;padding:10px 7px}.ndh-index-search{display:block}.ndh-index-search>strong{display:block;padding:10px 0 0}.ndh-index-group,.ndh-index-alpha-group{padding:20px}.ndh-index-group h2{font-size:20px}.ndh-index-home{padding:26px 22px}.ndh-index-home h2{font-size:24px}.ndh-index-home a.btn{width:100%}.ndh-article-toc ol{columns:1}.ndh-index-topic-pill{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ndh-index-quick-card{transition:none}}

/* Auditoria V13: ação explícita de acesso direto no índice temático e alfabético */
.ndh-index-entry>a.ndh-index-open-link{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;background:#ead2aa;border:1px solid #d7b77c;color:#34203f;font-size:11px;font-weight:800;line-height:1.3;border-radius:9px;padding:8px 10px;text-decoration:none;white-space:nowrap}
.ndh-index-entry>a.ndh-index-open-link:hover,.ndh-index-entry>a.ndh-index-open-link:focus-visible{background:#f6e5be;border-color:#ac7b43;color:#34203f;outline-offset:2px;text-decoration:none}
@media(max-width:620px){.ndh-index-entry{flex-wrap:wrap;gap:8px}.ndh-index-entry>a:first-child{flex-basis:100%}.ndh-index-entry>a.ndh-index-open-link{margin-left:auto;min-height:38px}}
