/* Padrão visual compartilhado pelo portal público e pela jornada de crédito. */
.sim-agreements-navigation{display:flex;align-items:center;gap:28px;width:100%;padding:18px 22px;background:#fff;border:1px solid #dce3eb;border-radius:14px;color:#14314e;box-sizing:border-box}
.sim-agreements-brand{display:flex;align-items:center;flex:0 0 auto;color:#14314e;font-size:18px;text-decoration:none!important}
.sim-agreements-brand img{max-width:190px;max-height:58px;object-fit:contain}
.sim-agreements-menu{display:flex;align-items:center;flex-wrap:wrap;gap:20px}
.sim-agreements-menu a{display:inline-flex;align-items:center;gap:7px;color:#14314e;font-size:14px;font-weight:700;text-decoration:none!important;min-height:42px}
.sim-agreements-menu a:hover{color:#343780}
.sim-agreements-search{display:flex;align-items:center;gap:10px;flex:1 1 220px;max-width:330px;margin:0 0 0 auto;padding:0 13px;border:1px solid #d8dfe9;background:#f7f8fa;border-radius:10px;color:#66798d;font-weight:400}
.sim-agreements-search input{height:44px;width:100%;min-width:0;border:0;background:transparent;color:#14314e;font-size:14px;box-shadow:none;padding:0}
.sim-agreements-search:focus-within{outline:2px solid #343780;outline-offset:3px}
.sim-agreements-search input:focus{outline:0;box-shadow:none}
.sim-agreements-menu-row{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:24px}
.sim-agreements-menu-row:before,.sim-agreements-menu-row:after{display:none!important}
.sim-agreements-menu-row>.sim-agreements-navigation{flex:1;width:auto;border:0;box-shadow:none;padding:12px 0;border-radius:0;background:transparent}
.sim-agreements-menu-row>.navbar-header{float:none;flex:0 0 auto}
.sim-agreements-menu-row .navbar-brand{height:auto;display:flex;align-items:center}
.sim-app.sim-portal-page{margin-top:28px!important;padding-top:16px!important;background:var(--sim-page-bg,#f3f1ea);min-height:0}
.sim-app.sim-portal-page>.sim-journey-progress{margin-top:0!important;max-width:none}
.sim-app.sim-portal-page>.sim-trust-strip{max-width:none}
.sim-portal-page>.sim-r13-background-banner{display:none!important}
.sim-agreements-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#6f7c8c;font-size:12px;margin:4px 0 20px}
.sim-agreements-breadcrumb a{color:#67758a}
.sim-agreements-heading{margin-bottom:22px}
.sim-agreements-heading>span{font-size:10px;letter-spacing:1.7px;font-weight:800;color:var(--sim-primary,#343780)}
.sim-portal-page .sim-agreements-heading h1{font-size:26px;line-height:1.3;margin:6px 0;color:#14314e;font-weight:750}
.sim-agreements-heading p{font-size:14px;color:#657873;margin:0}
.sim-app.sim-portal-page .sim-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
.sim-app.sim-portal-page .sim-product-card{display:flex;align-items:center;gap:17px;min-height:122px;padding:13px 20px 13px 15px;border:1px solid #cbd3df;border-top-width:2px;border-radius:17px;background:#fff;box-shadow:0 9px 20px rgba(35,53,80,.04);color:#14314e;text-decoration:none;transform:none}
.sim-app.sim-portal-page .sim-product-card:hover{border-color:var(--product-color,#009b7a);box-shadow:0 8px 22px rgba(35,53,80,.1)}
.sim-portal-page .sim-product-card:before,.sim-portal-page .sim-product-card:after{display:none!important}
.sim-app.sim-portal-page .sim-product-icon{width:96px;height:96px;flex:0 0 96px;display:grid;place-items:center;background:#eff4f6;border-radius:14px;overflow:hidden;color:var(--product-color,#009b7a)}
.sim-app.sim-portal-page .sim-agreement-logo,.sim-app.sim-portal-page .sim-product-icon img{width:100%;height:100%;object-fit:contain;padding:5px;background:#eff4f6}
.sim-portal-page .sim-product-content{flex:1;min-width:0}
.sim-app.sim-portal-page .sim-product-content strong{display:block;color:#14314e;font-size:18px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.sim-app.sim-portal-page .sim-product-content small{display:block;color:#657873;font-size:13px;line-height:1.4;margin-top:7px;overflow-wrap:anywhere}
.sim-portal-page .sim-product-arrow{flex:none;margin-left:auto;color:var(--product-color,#009b7a);font-size:20px}
.sim-agreements-count{font-size:12px;color:#72808b;margin:19px 0 0}
.sim-agreements-empty{padding:28px;text-align:center;background:#ffffff80;border-radius:12px;color:#657873}
.sim-agreements-empty button{background:#fff;border:1px solid #cbd3df;padding:8px 14px;border-radius:8px;color:#343780}
.sim-portal-page [hidden],.sim-agreements-navigation [hidden]{display:none!important}
.sim-agreements-site-header .sim-agreements-duplicate{display:none!important}
.sim-agreements-site-header .sim-agreements-empty-native-menu{display:none!important}
.sim-agreements-site-header.sim-agreements-fixed-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:990!important;margin:0!important;background:#fff!important;border-bottom:1px solid #dce3eb;box-shadow:0 4px 16px rgba(20,49,78,.05)}
.sim-agreements-header-spacer{width:100%;pointer-events:none;flex:none}
.sim-agreements-menu-row>.navbar-header{order:0}
.sim-agreements-menu-row>.sim-agreements-navigation{order:1;min-width:0}
.sim-agreements-menu-row>.navbar-collapse:not(.sim-agreements-empty-native-menu){order:2}
.sim-app.sim-portal-page .sim-agreements-catalog>.sim-trust-strip{max-width:none;margin:20px 0 0;padding:16px 0 0;border-top:1px solid #dce1e6;clear:both}
.sim-portal-page .sim-agreements-heading{margin-top:8px}
@media print{.sim-agreements-site-header.sim-agreements-fixed-header,.sim-agreements-header-spacer{display:none!important}}
/* Padrão compartilhado por todas as páginas públicas do módulo. */
body.sim-public-unified .sim-app>.sim-module-local-nav,
body.sim-public-unified .sim-app>.sim-r13-background-banner,
body.sim-public-unified .sim-app .sim-category-header>.sim-experience-context,
body.sim-public-unified .sim-app .sim-category-header>span,
body.sim-public-unified .sim-app .sim-category-header>.sim-r13-portal-links{display:none!important}
body.sim-public-unified .sim-app .sim-category-header{display:block!important;min-height:0!important;padding:8px 0 20px!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#14314e!important}
body.sim-public-unified .sim-app .sim-category-header:before,
body.sim-public-unified .sim-app .sim-category-header:after{display:none!important}
body.sim-public-unified .sim-app .sim-category-header h1{margin:8px 0 6px!important;font-size:26px!important;line-height:1.3!important;font-weight:750;color:#14314e!important;letter-spacing:normal!important}
body.sim-public-unified .sim-app .sim-category-header p{margin:0!important;max-width:none!important;font-size:14px!important;color:#657873!important;opacity:1!important}
body.sim-public-unified .sim-app .sim-category-header .sim-back-link{display:inline-flex!important;width:auto!important;min-height:30px;color:#343780!important;font-size:12px;background:none!important;border:0!important;padding:0!important}
body.sim-public-unified .sim-portal-page>.sim-trust-strip{max-width:none;margin:24px 0 0!important;padding:16px 0 0;border-top:1px solid #dce1e6}
body.sim-public-unified .sim-product-content [hidden]{display:none!important}
.sim-global-search{display:flex;align-items:center}
.sim-global-search input{flex:1;min-width:0}
.sim-global-search button{border:0;background:transparent;color:#52657a;flex:none;width:36px;height:40px;padding:0;cursor:pointer}
.sim-global-menu-fallback{position:sticky;top:0;z-index:990}
body.sim-public-unified .sim-app [id]{scroll-margin-top:calc(var(--sim-public-header-height,90px) + 20px)}
body.sim-public-unified .sim-mobile-client-menu{position:fixed;top:var(--sim-public-header-height,90px);left:0;right:0;max-height:calc(100dvh - var(--sim-public-header-height,90px));overflow-y:auto}
@media(max-width:650px){body.sim-public-unified .sim-app .sim-category-header h1{font-size:23px!important}.sim-global-search{width:100%}}
body.pc-unificado.sim-public-unified .sim-account-brand-duplicate,
body.pc-unificado.sim-public-unified .ec-top>.ec-breadcrumb{display:none!important}
body.pc-unificado.sim-public-unified .ec-top{padding:12px 24px!important;gap:20px}
body.pc-unificado.sim-public-unified .sim-account-brand{order:0;gap:10px;max-width:200px}
body.pc-unificado.sim-public-unified .sim-account-brand img{max-width:150px;max-height:48px;padding:0;background:none}
body.pc-unificado.sim-public-unified .sim-account-brand:has(img)>span{display:none}
body.pc-unificado.sim-public-unified .ec-top>.ec-account{order:3}
body.pc-unificado.sim-public-unified .ec-side{top:var(--sim-public-header-height,90px);height:calc(100dvh - var(--sim-public-header-height,90px))}
body.pc-unificado.sim-public-unified .ec-menu{order:4}
@media(max-width:650px){body.pc-unificado.sim-public-unified .ec-top{padding:10px 16px!important;gap:10px}body.pc-unificado.sim-public-unified .ec-top>.sim-agreements-navigation{order:5}body.pc-unificado.sim-public-unified.ec-mobile-open .ec-side{position:fixed;top:var(--sim-public-header-height,90px);z-index:991;min-height:0;max-height:calc(100dvh - var(--sim-public-header-height,90px));overflow:auto}}
body.sim-public-unified .simulator-shell.sim-portal-page{margin-top:28px;padding:24px;border-radius:22px;background:#f3f1ea}
body.sim-public-unified .simulator-shell .sim-hero{display:block!important;min-height:0!important;padding:8px 0 20px!important;background:none!important;box-shadow:none!important;border:0!important;color:#14314e!important}
body.sim-public-unified .simulator-shell .sim-hero:after,
body.sim-public-unified .simulator-shell .sim-hero>.sim-eyebrow,
body.sim-public-unified .simulator-shell .sim-hero>.sim-experience-context{display:none!important}
body.sim-public-unified .simulator-shell .sim-hero h1{font-size:26px!important;line-height:1.3!important;color:#14314e!important;margin:8px 0 6px!important}
body.sim-public-unified .simulator-shell .sim-hero p{font-size:14px!important;color:#657873!important;margin:0!important}
body.sim-public-unified .sim-calculator-layout,
body.sim-public-unified .sim-calculator-card,
body.sim-public-unified .sim-result-card{min-width:0;max-width:100%;overflow-wrap:anywhere}
@media(max-width:650px){body.sim-public-unified .sim-portal-page .sim-trust-strip{grid-template-columns:1fr;gap:10px}body.sim-public-unified .sim-trust-strip .sim-trust-strip__item{display:flex!important}}
@media(max-width:1100px){.sim-agreements-navigation{flex-wrap:wrap;gap:16px}.sim-agreements-menu-row{gap:12px}.sim-agreements-menu-row>.sim-agreements-navigation{flex-basis:100%}.sim-agreements-search{max-width:none}}
@media(max-width:650px){.sim-agreements-navigation{padding:16px}.sim-agreements-search{flex-basis:100%;margin:0}.sim-agreements-menu{gap:16px}.sim-agreements-menu a{font-size:13px}.sim-agreements-desktop-link{display:none!important}.sim-app.sim-portal-page{margin-top:28px!important;padding:16px!important}.sim-app.sim-portal-page .sim-grid{grid-template-columns:1fr}.sim-app.sim-portal-page .sim-product-card{padding:12px;gap:13px}.sim-app.sim-portal-page .sim-product-icon{width:80px;height:86px;flex-basis:80px}.sim-app.sim-portal-page .sim-product-content strong{font-size:16px}.sim-app.sim-portal-page .sim-product-content small{font-size:12px}.sim-portal-page .sim-product-arrow{font-size:17px}}

/* HF9: logo à esquerda, navegação agrupada à direita no cabeçalho persistente. */
body.sim-public-unified .sim-agreements-menu-row .navbar-brand{margin-left:0!important;margin-right:0!important;padding-left:0!important}
body.sim-public-unified .sim-agreements-menu-row .navbar-brand img{margin-left:0!important;margin-right:0!important}
body.sim-public-unified nav.navbar.header>.container.sim-agreements-menu-row{width:min(1480px,calc(100% - 32px));max-width:none;padding-left:22px;padding-right:22px;margin-left:auto;margin-right:auto;justify-content:space-between}
body.sim-public-unified .sim-agreements-menu-row>.navbar-header{margin-right:auto;margin-left:0}
body.sim-public-unified .sim-agreements-menu-row>.sim-agreements-navigation{margin-left:auto;justify-content:flex-end}
@media(min-width:901px){body.sim-public-unified .sim-agreements-menu-row>.sim-agreements-navigation{flex:0 1 auto;width:auto;flex-wrap:nowrap;gap:28px}.sim-agreements-menu-row .sim-agreements-menu{justify-content:flex-end}.sim-agreements-menu-row .sim-agreements-search{flex:0 1 300px;width:300px;max-width:300px;margin-left:0}}
@media(max-width:900px){body.sim-public-unified .sim-agreements-menu-row>.sim-agreements-navigation{flex-basis:100%;padding-top:0}.sim-agreements-menu-row .sim-agreements-menu{margin-left:auto;justify-content:flex-end}.sim-agreements-menu-row .sim-agreements-search{max-width:none}}
