﻿/* Home only: keep the shared Bootstrap layouts of the other pages intact. */
body.home-redesign { margin-bottom: 0; background: #f6f8fb; color: #23344c; font-family: "Segoe UI", Arial, sans-serif; }
.home-redesign .top-line { height: auto; min-height: 37px; padding: 9px 0 0; background: #edf2f7; color: #53647a; }
.home-redesign .top-line a { color: #425a73; }
.home-redesign .line-silver { display: none; }
.home-redesign .my-nav-bar { background: #fff; border: 0; border-bottom: 1px solid #e4eaf1; margin-bottom: 28px; }
.home-redesign .my-nav-bar > .container-fluid { max-width: 1200px; padding: 8px 24px; }
.home-redesign .navbar-nav > li > a { font-size: 13px; color: #34475e; border-radius: 6px; }
.home-redesign #conteudo { width: 100%; max-width: 1200px; padding: 0 24px 40px !important; }
.home-redesign #conteudo + br, .home-redesign #conteudo + br + br, .home-redesign #conteudo + br + br + br { display: none; }
.home-redesign .rodape { height: auto; padding: 25px max(20px, calc((100% - 1152px) / 2)); background: #102b46; font-size: 12px; line-height: 1.8; }
.home-redesign .rodape .row { margin: 0; }
.home-redesign .rodape small { color: #c4d1df; }
.home-redesign .cookieConsentAny3 { border-radius: 12px; box-shadow: 0 8px 32px #0003; }
.portal-home { font-size: 15px; line-height: 1.6; }
.portal-home * { box-sizing: border-box; }
.portal-home h1, .portal-home h2, .portal-home h3, .portal-home p { margin: 0; font-family: inherit; }
.portal-home a { text-decoration: none; }
.portal-home a:focus-visible { outline: 3px solid #177fc3; outline-offset: 5px; }
.portal-home .home-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; color: #577088; }
.home-hero { position: relative; overflow: hidden; padding: 48px 48px 0; border-radius: 20px; background: linear-gradient(115deg, #102b46, #153e60); color: #fff; display: grid; grid-template-columns: 1.45fr 1fr; }
.home-hero .home-eyebrow { color: #c3d7e8; }
.home-hero .home-eyebrow > span { margin: 0 12px; color: #6b92af; }
.home-hero h1 { margin: 20px 0 18px; font-size: clamp(30px, 3.2vw, 43px); line-height: 1.2; letter-spacing: -1.4px; font-weight: 650; }
.home-hero h1 > span { color: #92d4e0; }
.home-hero-copy > p { max-width: 445px; font-size: 15px; line-height: 1.8; color: #cfdeeb; }
.home-hero-actions { display: flex; align-items: center; gap: 25px; margin: 28px 0 36px; flex-wrap: wrap; }
.home-button { display: inline-flex; align-items: center; gap: 20px; padding: 13px 20px; border-radius: 7px; background: #fff; color: #163952; font-size: 13px; font-weight: 700; }
.home-button:hover { background: #dff3f6; color: #163952; }
.home-hero-link { color: #eef7fc; font-size: 13px; }
.home-hero-link:hover { color: #92d4e0; }
.home-hero-link > span { margin-left: 8px; }
.home-hero-foot { grid-column: 1 / -1; padding: 16px 0; border-top: 1px solid #ffffff24; color: #bbcfdf; font-size: 11px; }
.home-hero-foot .fa { margin-right: 8px; }
.home-art { position: relative; min-height: 275px; }
.home-orbit { position: absolute; border: 1px solid #a3d8e629; border-radius: 50%; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-25deg); }
.home-orbit-one { width: 310px; height: 250px; }
.home-orbit-two { width: 230px; height: 310px; }
.home-art-center { position: absolute; width: 185px; height: 185px; top: 46%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #b4e2f038; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #396380, #1b425f); box-shadow: 0 0 0 20px #ffffff03, 0 0 65px #66bfd012; }
.home-art-center > .fa { font-size: 31px; color: #a7dce7; margin-bottom: 13px; }
.home-art-center strong { font-size: 22px; letter-spacing: 2px; max-width: 160px; overflow-wrap: anywhere; text-align: center; }
.home-art-center small { color: #b8d0e1; font-size: 9px; margin-top: 5px; }
.home-art-label { position: absolute; background: #234c69; border: 1px solid #a2cce535; border-radius: 9px; padding: 10px 14px; color: #e1edf6; font-size: 11px; box-shadow: 0 8px 25px #061c322b; }
.home-art-label i { margin-right: 8px; color: #99dbe1; }
.home-art-project { top: 16px; right: 8px; transform: rotate(5deg); }
.home-art-people { top: 110px; left: 0; transform: rotate(-5deg); }
.home-art-knowledge { bottom: 32px; right: 0; transform: rotate(-5deg); }
.home-art-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #8dd6dc; bottom: 40px; left: 68px; box-shadow: 0 0 0 6px #8dd6dc16; }
.home-access { padding-top: 38px; scroll-margin-top: 24px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.portal-home h2 { color: #20364e; font-size: 26px; letter-spacing: -.7px; font-weight: 650; }
.home-section-heading h2 { margin-top: 5px; }
.home-section-heading > p { color: #67788a; font-size: 13px; padding-bottom: 3px; }
.home-portals { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 16px; }
.home-portal { --accent: #2863a0; --tint: #eaf2fc; display: flex; flex-direction: column; padding: 25px 22px 20px; border: 1px solid #dfe6ef; border-radius: 12px; background: #fff; color: #20364e; transition: transform .2s, box-shadow .2s, border-color .2s; }
.home-portal-teal { --accent: #177a75; --tint: #e6f5f1; }
.home-portal-amber { --accent: #98601b; --tint: #fcf3e4; }
.home-portal-purple { --accent: #7355a6; --tint: #f0ebfa; }
.home-portal:hover { color: #20364e; transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 24px #19334f0c; }
.home-card-top { display: flex; flex-direction: column; align-items: start; gap: 20px; }
.home-icon { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; background: var(--tint); color: var(--accent); border-radius: 12px; font-size: 22px; }
.home-card-category { font-size: 9px; letter-spacing: 1px; font-weight: 700; color: var(--accent); }
.home-portal h3 { margin: 8px 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.5px; font-weight: 650; }
.home-portal p { margin-bottom: 24px; color: #677588; font-size: 13px; line-height: 1.7; }
.home-card-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid #eef1f5; color: var(--accent); font-weight: 650; font-size: 12px; }
.home-shortcuts { display: flex; align-items: center; gap: 20px; padding: 23px 25px; margin-top: 22px; background: #edf2f7; border-radius: 10px; }
.home-shortcuts > div { flex: 1.3; }
.home-shortcuts > div > .fa { float: left; color: #48728f; font-size: 19px; margin: 4px 10px 0 0; }
.home-shortcuts h2 { font-size: 14px; letter-spacing: 0; }
.home-shortcuts p { font-size: 11px; color: #67788a; margin-top: 4px; }
.home-shortcuts a { flex: 1; display: flex; justify-content: space-between; gap: 10px; color: #36536e; font-size: 12px; font-weight: 600; border-left: 1px solid #d4dee8; padding-left: 18px; }
.home-shortcuts a:hover, .home-text-link:hover { color: #106fac; text-decoration: underline; }
.home-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; padding: 46px 0; margin-top: 20px; }
.home-about h2 { margin: 8px 0 16px; }
.home-slogan { font-size: 17px; color: #365b75; margin-bottom: 15px !important; }
.home-presentation { color: #677588; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.home-presentation p { margin-bottom: 12px; }
.home-presentation img { max-width: 100%; height: auto; }
.home-text-link { display: inline-block; margin-top: 20px; color: #245b89; font-size: 13px; font-weight: 650; }
.home-text-link span { margin-left: 14px; }
.home-leadership { border-left: 1px solid #dfe6ef; padding-left: 32px; }
.home-leadership h3 { font-size: 19px; margin: 8px 0 20px; font-weight: 650; }
.home-leadership dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; }
.home-leadership dt { color: #66768a; font-size: 10px; font-weight: 400; margin-bottom: 3px; }
.home-leadership dd { color: #2b425a; font-size: 12px; font-weight: 600; margin: 0; }
.home-help { display: flex; align-items: center; gap: 18px; border-top: 1px solid #dfe6ef; padding-top: 26px; }
.home-help-icon { font-size: 28px; color: #547793; }
.home-help h2 { font-size: 17px; letter-spacing: -.2px; }
.home-help p { color: #67788a; font-size: 12px; margin-top: 4px; }
.home-help a { margin-left: auto; border: 1px solid #cedae5; border-radius: 6px; padding: 10px 18px; font-size: 12px; font-weight: 600; color: #315570; white-space: nowrap; }
.home-help a:hover { background: #e7eff6; }
.home-help a span { margin-left: 15px; }
.home-empty { padding: 24px; border: 1px solid #dfe6ef; background: #fff; border-radius: 10px; }
@media (max-width: 1100px) { .home-portals { grid-template-columns: repeat(2, 1fr); } .home-art-label { font-size: 10px; padding: 8px; } .home-art-people { left: -12px; } .home-shortcuts { flex-wrap: wrap; } .home-shortcuts > div { flex-basis: 100%; } .home-about { gap: 30px; } }
@media (max-width: 767px) {
   .home-redesign #conteudo { padding: 0 16px 30px !important; }
   .home-redesign .my-nav-bar { margin-bottom: 16px; }
   .home-redesign .my-nav-bar > .container-fluid { padding: 8px 16px; }
   .home-redesign .navbar-collapse { float: none !important; clear: both; }
   .home-redesign .top-line li { margin-right: 13px; font-size: 10px; }
   .home-redesign .rodape .text-right, .home-redesign .rodape .text-center { text-align: left; padding: 10px 15px !important; }
   .home-redesign .rodape .col-md-4, .home-redesign .rodape .col-md-6 { padding-left: 15px !important; }
   .home-redesign .cookieConsentAny3 { width: calc(100% - 24px); bottom: 12px; right: 12px; padding: 18px; }
   .home-hero { padding: 30px 25px 0; grid-template-columns: 1fr; border-radius: 14px; }
   .home-hero h1 { font-size: 34px; }
   .home-hero-copy > p { font-size: 14px; }
   .home-art { display: none; }
   .home-hero-actions { gap: 18px; margin-bottom: 28px; }
   .home-hero-foot { font-size: 10px; }
   .home-section-heading { align-items: start; flex-direction: column; gap: 8px; }
   .home-shortcuts { gap: 18px; padding: 20px; }
   .home-shortcuts a { flex: 1 1 40%; padding-left: 0; border-left: 0; }
   .home-about { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
   .home-leadership { padding: 24px 0 0; border-left: 0; border-top: 1px solid #dfe6ef; }
   .home-help { flex-wrap: wrap; gap: 12px; }
   .home-help > div { flex: 1; }
   .home-help a { margin: 5px 0 0 40px; }
}
@media (max-width: 480px) { .home-portals { grid-template-columns: 1fr; } .home-portal { padding: 22px; } .home-card-top { flex-direction: row; align-items: center; gap: 14px; } .home-portal h3 br { display: none; } .home-portal h3 { font-size: 23px; margin-top: 18px; } .home-hero h1 { font-size: 29px; } .home-leadership dl { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .home-portal { transition: none; } .home-portal:hover { transform: none; } }
