/* Cabeçalho, identidade e recursos de acesso. */
body.portal-shell{grid-template-rows:114px minmax(0,1fr) 36px;grid-template-columns:224px minmax(0,1fr) 154px}
.portal-shell .top>.wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:10px 20px}
.portal-shell #toptext{font-size:11px;line-height:1.4;gap:3px}
.portal-shell #toptext strong{font-size:17px}
.header-contact{display:flex;flex-wrap:wrap;gap:5px 16px;align-items:center}
.portal-shell .header-contact a{color:#fff;text-decoration:underline;text-underline-offset:3px;font-size:12px;line-height:1.6}
.header-actions{display:grid;grid-template-columns:1fr auto;gap:7px 12px;align-items:center;max-width:390px}
.header-actions .languages{grid-column:1/-1;justify-content:flex-end;gap:7px}
.portal-shell .header-actions .languages button{min-width:44px;min-height:44px;padding:8px;justify-content:center}
.portal-shell .header-actions .a11y-bar{grid-column:1;grid-row:2;border:0;background:transparent}
.portal-shell .header-actions .a11y-bar .wrap{padding:0;min-height:48px;width:auto;display:block}
.portal-shell .header-actions .a11y-launch{display:flex;align-items:center;justify-content:center;gap:9px;min-width:180px;min-height:48px;padding:11px 16px;background:#fff;border:2px solid #fff;border-radius:9px;color:#102c50!important;font-size:15px!important;font-weight:800;line-height:1.4;text-decoration:none}
.portal-shell .header-actions .a11y-launch:hover{background:#e6eef8}
.portal-shell .header-actions .a11y-launch svg{width:26px;height:26px;flex-shrink:0}
.portal-shell .login-access{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;min-height:48px;min-width:105px;padding:10px 14px;border:1px solid #fff;border-radius:9px;color:#fff;font-weight:700;font-size:14px;text-decoration:none}
.portal-shell .login-access:hover{background:#ffffff20}
.portal-shell .header-actions :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 7px #071f13}
.portal-shell header .brand img{filter:saturate(1.35) contrast(1.12);width:156px;height:156px;mask-image:url('/assets/crest-silhouette.svg');object-fit:contain;background:transparent;padding:0}
.portal-shell header .brand{margin-bottom:5px}
.portal-shell header .bar{gap:8px;padding:16px 14px 12px;justify-content:flex-start}
.portal-shell header nav a{min-height:33px;font-size:14px}
.portal-shell .home-stage{grid-template-rows:minmax(250px,1fr) auto auto;height:100%;gap:12px;padding:16px}
.portal-shell main .welcome{min-height:250px;grid-template-columns:1.1fr 1fr}
.portal-shell .welcome-copy{padding:22px 12px 22px 26px}
.portal-shell .welcome-copy .eyebrow{font-size:10px}
.portal-shell main .welcome-copy h1{font-size:clamp(29px,2.4vw,40px)}
.portal-shell .welcome-copy p{font-size:14px;line-height:1.65}
.portal-shell .welcome-image{margin-left:-36px}
.portal-shell .welcome-image img{width:calc(100% + 36px)}
.portal-shell main .institution-purpose{background:transparent;border:0;overflow:visible;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-radius:0}
.portal-shell .institution-purpose article{background:#f7fbff;border:1px solid #b1c5d9;border-top:3px solid #446f9a;border-radius:12px;padding:16px 18px;min-width:0}
.portal-shell .institution-purpose article:nth-child(2){background:#edf5f0;border-color:#b9cebf;border-top-color:#397459}
.portal-shell .institution-purpose article:nth-child(3){background:#f7f3e9;border-color:#d7cbb0;border-top-color:#96753c}
.purpose-heading{display:flex;align-items:center;gap:10px;color:#25496f;margin-bottom:9px}
.portal-shell .institution-purpose article:nth-child(2) .purpose-heading{color:#28583f}
.portal-shell .institution-purpose article:nth-child(3) .purpose-heading{color:#725727}
.portal-shell .institution-purpose .purpose-heading h2{font:600 22px/1.25 Lora,Georgia,serif;color:inherit;margin:0;letter-spacing:-.2px}
.portal-shell .institution-purpose p{font:400 13px/1.65 'DM Sans',sans-serif;color:#253e58;margin:0;max-width:43ch;text-align:left;hyphens:auto}
.portal-shell .home-priorities article{padding:14px 18px}
.portal-shell .home-priorities h2{font-size:23px}
.portal-shell .home-priorities p{font-size:13px;line-height:1.6}
.pedrinho-launch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #173658;border-radius:8px;background:#173658;color:#fff;font:700 14px/1.4 'DM Sans',sans-serif;cursor:pointer;text-align:center}
.pedrinho-launch:hover{background:#244f7b}
.portal-shell .pedrinho-small{margin-top:9px;min-height:36px;font-size:12px;padding:7px 12px;background:transparent;color:#173658}
.pedrinho-dialog{width:min(900px,calc(100vw - 32px));max-width:900px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #9bb1c8;border-radius:20px;color:#173658;background:#f7fbff;overflow:auto}
.pedrinho-dialog[open]{display:grid;grid-template-columns:.85fr 1.15fr}
.pedrinho-dialog::backdrop{background:#081b35bb}
.pedrinho-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border-radius:50%;border:1px solid #9bb1c8;background:#fff;color:#173658;font-size:28px;line-height:1;z-index:2;cursor:pointer}
.pedrinho-portrait{display:flex;flex-direction:column;background:#eaf1f8;justify-content:center;border-right:1px solid #b7c9dc;min-width:0}
.pedrinho-portrait img{width:100%;height:auto;object-fit:contain;display:block;max-height:550px}
.pedrinho-portrait>span{font:600 13px/1.5 'DM Sans',sans-serif;text-align:center;padding:14px;color:#173658}
.pedrinho-copy{padding:56px 34px 28px;display:flex;flex-direction:column;align-items:flex-start}
.pedrinho-kicker{font:700 11px/1.5 'DM Sans',sans-serif;letter-spacing:1.5px;color:#334b63}
.pedrinho-copy h2{font:600 31px/1.25 Lora,Georgia,serif;margin:14px 0 20px;color:#173658;outline:none}
.pedrinho-copy #pedrinho-caption{font:400 18px/1.8 'DM Sans',sans-serif;color:#253e58;margin:0 0 20px;min-height:180px}
.pedrinho-action{font:700 15px/1.6 'DM Sans',sans-serif;color:#173658;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.pedrinho-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:24px}
.pedrinho-controls button{border:1px solid #173658;border-radius:8px;min-height:44px;padding:9px 14px;background:#173658;color:#fff;font:700 14px/1.5 'DM Sans',sans-serif;cursor:pointer}
.pedrinho-controls button:disabled{background:#e1e8f0;color:#536477;border-color:#b7c9dc;cursor:default}
.pedrinho-controls output{font:700 13px/1.5 'DM Sans',sans-serif;color:#334b63;white-space:nowrap}
.pedrinho-copy .pedrinho-note{font:400 12px/1.7 'DM Sans',sans-serif;color:#334b63;margin:18px 0 0}
.pedrinho-inline{margin:24px auto 0;width:calc(100% - 64px);display:flex;align-items:center;gap:24px;padding:20px;border:1px solid #9bb1c8;border-radius:14px;background:#dce8f4}
.pedrinho-inline img{width:125px;height:150px;object-fit:contain}
.portal-shell main .pedrinho-inline h2{font:600 25px/1.3 Lora,serif;margin:0 0 8px}
.portal-shell main .pedrinho-inline p{font-size:16px;margin:0 0 12px}
.a11y-panel button,.a11y-panel .a11y-close{min-height:44px;min-width:44px}
.a11y-panel a{display:flex;align-items:center;min-height:44px}
@media(min-width:1101px) and (max-height:850px){.portal-shell header .brand img{width:146px;height:146px}.portal-shell header .bar{gap:6px;padding-top:14px}.portal-shell header nav a{min-height:31px;font-size:13px}.portal-shell .home-stage{padding:12px;gap:10px;grid-template-rows:minmax(240px,1fr) auto auto}.portal-shell main .welcome{min-height:240px}.portal-shell .welcome-copy{padding:18px 10px 18px 22px}.portal-shell main .welcome-copy h1{font-size:29px;margin-bottom:10px}.portal-shell .welcome-copy p{font-size:13px;line-height:1.55}.portal-shell .institution-purpose article{padding:12px 14px}.portal-shell .institution-purpose .purpose-heading h2{font-size:20px}.purpose-heading{gap:8px;margin-bottom:7px}.portal-shell .institution-purpose p{font-size:12px;line-height:1.55}.portal-shell .home-priorities article{padding:12px 15px}.portal-shell .home-priorities p{font-size:11px}.portal-shell .home-priorities h2{font-size:20px}.portal-shell .pedrinho-small{font-size:11px;min-height:34px;margin-top:7px}}
@media(min-width:1101px) and (max-height:740px){.portal-shell .home-stage{height:auto;min-height:100%;grid-template-rows:auto auto auto}}
@media(max-width:1100px){body.portal-shell{grid-template-columns:210px minmax(0,1fr);grid-template-rows:auto auto auto auto}.portal-shell .top{min-height:152px}.portal-shell .top>.wrap{grid-template-columns:1fr;gap:10px;padding:12px 18px}.header-actions{grid-template-columns:1fr 1fr;width:100%;max-width:none}.header-actions .languages{grid-column:1;grid-row:1;justify-content:flex-start;flex-wrap:wrap}.portal-shell .header-actions .a11y-bar{grid-column:2;grid-row:1}.portal-shell .login-access{grid-column:2;grid-row:2;justify-self:stretch}.portal-shell .home-stage{height:auto;grid-template-rows:auto auto auto}.portal-shell main .welcome{display:flex;flex-direction:column;min-height:0}.portal-shell main .institution-purpose{grid-template-columns:1fr}.portal-shell .institution-purpose p{font-size:16px;line-height:1.75;max-width:none}.portal-shell .welcome-image{margin-left:0}.portal-shell .welcome-image img{width:100%}.portal-shell .welcome-copy{padding:28px}.portal-shell .welcome-copy p{font-size:17px}.portal-shell header .bar{overflow:visible}.portal-shell .home-priorities p{font-size:16px}.pedrinho-dialog[open]{grid-template-columns:.7fr 1fr}.pedrinho-copy{padding:55px 24px 24px}.pedrinho-copy #pedrinho-caption{font-size:17px;min-height:0}}
@media(max-width:720px),(max-height:650px){body.portal-shell{display:flex;flex-direction:column}.portal-shell header .brand img{width:86px;height:86px}.portal-shell header .bar{padding:10px 18px;gap:10px}.portal-shell header nav a{min-height:44px;font-size:14px}.portal-shell .top{min-height:0}.portal-shell #toptext{font-size:11px;line-height:1.5}.portal-shell #toptext strong{font-size:17px}.header-contact{gap:4px 14px}.portal-shell .header-contact a{font-size:13px}.header-actions{display:grid;grid-template-columns:1fr auto;gap:10px}.header-actions .languages{grid-column:1/-1;grid-row:1;gap:9px}.portal-shell .header-actions .a11y-bar{grid-column:1;grid-row:2}.portal-shell .header-actions .a11y-launch{min-width:0;width:100%;font-size:14px!important;padding:10px}.portal-shell .login-access{grid-column:2;grid-row:2;min-width:100px;font-size:13px}.portal-shell .home-stage{height:auto;display:flex;flex-direction:column}.portal-shell main .institution-purpose{grid-template-columns:1fr;display:grid}.portal-shell .institution-purpose article{padding:20px}.portal-shell .institution-purpose p{font-size:16px}.portal-shell .institution-purpose .purpose-heading h2{font-size:25px}.portal-shell .home-priorities p{font-size:16px}.portal-shell .pedrinho-small{font-size:14px;min-height:44px}.pedrinho-dialog[open]{display:block}.pedrinho-portrait{border-right:0;border-bottom:1px solid #b7c9dc}.pedrinho-portrait img{height:230px;object-fit:contain}.pedrinho-copy{padding:24px}.pedrinho-copy h2{font-size:28px}.pedrinho-copy #pedrinho-caption{font-size:17px;line-height:1.8}.pedrinho-inline{width:calc(100% - 36px);padding:18px;gap:15px;flex-direction:column;align-items:flex-start}.pedrinho-inline img{width:130px;height:145px}.pedrinho-controls{gap:8px}.pedrinho-controls button{padding:9px 10px;font-size:13px}}
.portal-shell.a11y-large .home-stage{height:auto;grid-template-rows:auto auto auto}.portal-shell.a11y-large .top{min-height:130px}.portal-shell.a11y-large main .institution-purpose{grid-template-columns:1fr}.portal-shell.a11y-contrast .institution-purpose article{background:#000;border-color:#fff}.portal-shell.a11y-contrast .purpose-heading,.portal-shell.a11y-contrast .institution-purpose p{color:#fff}.a11y-contrast .pedrinho-dialog,.a11y-contrast .pedrinho-copy{background:#000;color:#fff}.a11y-contrast .pedrinho-copy :is(h2,p,a,output,.pedrinho-kicker){color:#fff}.a11y-large .pedrinho-copy #pedrinho-caption{font-size:calc(18px * var(--a11y-scale))}
.skip-accessibility{border:2px solid #173658;cursor:pointer;font:700 16px/1.5 'DM Sans',sans-serif}.skip-accessibility:focus{top:70px}.pedrinho-dialog :is(button,a):focus-visible{outline:3px solid #173658;outline-offset:3px;box-shadow:0 0 0 6px #fff}.pedrinho-copy h2:focus-visible{outline:2px solid #173658;outline-offset:5px}.a11y-launch{scroll-margin-top:20px}
.portal-shell .institution-purpose .purpose-heading h2 a{color:inherit;text-decoration:none}.portal-shell .institution-purpose .purpose-heading h2 a:hover{text-decoration:underline;text-underline-offset:4px}.purpose-heading h2 a>span{font-family:'DM Sans',sans-serif;font-size:13px;margin-left:4px}.portal-shell main .institution-full{display:grid;grid-template-columns:1fr;gap:22px;margin-top:28px}.portal-shell main .institution-detail{padding:28px 32px;border-top:3px solid #446f9a;border-radius:14px;scroll-margin-top:24px}.portal-shell main .institution-detail:nth-child(2){background:#edf5f0;border-top-color:#397459}.portal-shell main .institution-detail:nth-child(3){background:#f7f3e9;border-top-color:#96753c}.institution-label{display:block;font:700 11px/1.5 'DM Sans',sans-serif;letter-spacing:1.5px;color:#334b63;margin-bottom:12px}.portal-shell main .institution-detail h2{font:600 30px/1.3 Lora,serif;margin:0 0 18px}.portal-shell main .institution-detail p,.portal-shell main .institution-detail li{font-size:17px;line-height:1.85;color:#253e58;max-width:70ch}.institution-detail ul{padding-left:22px;margin:18px 0 0}.institution-detail li+li{margin-top:9px}.values-list{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;list-style:none;padding-left:0!important}.values-list li{margin:0!important;padding:12px 15px;border:1px solid #c9ba96;border-radius:9px;background:#fffcf5}.portal-shell.a11y-contrast main .institution-detail,.portal-shell.a11y-contrast .values-list li{background:#000;border-color:#fff}.portal-shell.a11y-contrast .institution-detail :is(li,p,span){color:#fff}@media(max-width:720px){.portal-shell main .institution-detail{padding:23px 20px}.portal-shell main .institution-detail h2{font-size:28px}.values-list{grid-template-columns:1fr}}

/* Rotina e propósito das atividades dos projetos. */
.project-program .wrap{max-width:1180px}.program-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 30px}.program-facts article{padding:20px;background:#fff;border:1px solid #b5c9d9;border-radius:14px}.program-facts span{display:block;font:600 12px/1.5 'DM Sans',sans-serif;color:#42596f;margin-bottom:7px}.program-facts strong{font:600 19px/1.5 'DM Sans',sans-serif;color:#173658}.program-activities{display:grid;gap:30px}.project-activity{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px;align-items:center;background:#f9fcff;border:1px solid #b5c9d9;border-radius:18px;padding:22px}.project-activity:nth-child(even){background:#eef5ef}.project-activity figure{margin:0;min-width:0}.project-activity img{display:block;width:100%;height:auto;object-fit:contain;border-radius:11px}.project-activity figcaption{font:400 11px/1.6 'DM Sans',sans-serif;color:#42596f;margin-top:6px}.portal-shell main .project-activity h2{font:600 28px/1.35 Lora,serif;color:#173658;margin:0 0 15px}.portal-shell main .project-activity p{font:400 16px/1.85 'DM Sans',sans-serif;color:#263e54;margin:0 0 12px;text-align:left}.activity-text{display:block}.activity-text>div{max-width:850px}.program-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.a11y-contrast .project-activity,.a11y-contrast .program-facts article{background:#000;border-color:#fff}.a11y-contrast .project-activity :is(h2,p,figcaption),.a11y-contrast .program-facts :is(span,strong){color:#fff!important}@media(max-width:900px){.project-activity{grid-template-columns:1fr;gap:20px;padding:18px}.program-facts{grid-template-columns:1fr}.portal-shell main .project-activity h2{font-size:25px}.program-links .button{width:100%;text-align:center}}
