/* HF6: apresentação do portal. Identidades e imagens cadastradas são preservadas. */
.sim-app{--sim-icon-blue:#293f88}
.sim-app .sim-product-icon,.sim-app .sim-product-arrow,.sim-app .sim-back-link,
.sim-app .sim-trust-strip i,.sim-public-home-r164__benefits li>i,
.sim-app .sim-public-home-r164__category-card>span,.sim-app .sim-public-home-r164__support i,
.sim-app .sim-public-home-r164__trust i{color:var(--sim-icon-blue,#293f88)!important}
.sim-app .sim-product-card{--product-color:#293f88!important}
.sim-app.sim-catalog-hf6 .sim-grid.sim-logo-grid-hf6,
.sim-app.sim-modalities-hf6 .sim-grid.sim-logo-grid-hf6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0}
.sim-app .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:16px;min-height:204px;padding:24px 22px 22px;border:1px solid #ccd5e4;border-top-width:2px;border-radius:18px;background:#fff;color:#18334f;box-shadow:0 6px 18px #19334f05;text-align:center;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.sim-app .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6:hover{border-color:#293f88;box-shadow:0 10px 25px #293f8812;transform:translateY(-2px)}
.sim-app .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6:focus-visible{outline:3px solid #293f88;outline-offset:4px}
.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon{flex:0 0 104px;width:120px;height:104px;display:grid;place-items:center;border-radius:14px;background:#f1f4f9;overflow:hidden;font-size:32px}
.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon img{height:100%;width:100%;object-fit:contain;background:transparent;padding:8px}
.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content{flex:0 0 auto;width:100%;min-width:0}
.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content strong{display:block;min-height:2.7em;font-size:17px;line-height:1.35;font-weight:700;color:#18334f;overflow-wrap:normal;word-break:normal}
.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content small{font-size:13px;color:#687a8e;margin-top:5px}
.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-arrow{position:absolute;top:17px;right:16px;margin:0;font-size:15px;opacity:.8}
.sim-app.sim-modalities-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon{width:160px}
.sim-catalog-filters-hf6{display:grid;grid-template-columns:minmax(210px,1fr) minmax(260px,2fr);align-items:end;gap:18px;margin:24px 0}
.sim-catalog-field-hf6{min-width:0}.sim-catalog-field-hf6 label{display:block;margin:0 0 8px;font-size:13px;font-weight:650;color:#18334f}
.sim-catalog-field-hf6 select,.sim-catalog-search-hf6{box-sizing:border-box;display:flex;align-items:center;width:100%;height:48px;border:1px solid #cdd7e6;border-radius:10px;background:#fff;color:#18334f;font:inherit;padding:0 14px}
.sim-catalog-search-hf6{gap:10px;color:#293f88}.sim-catalog-search-hf6 input{width:100%;height:44px;min-width:0;margin:0;border:0!important;background:none!important;box-shadow:none!important;color:#18334f;padding:0!important;font:inherit}
.sim-catalog-field-hf6 select:focus-visible,.sim-catalog-search-hf6:focus-within{outline:2px solid #293f88;outline-offset:3px}.sim-catalog-search-hf6 input:focus{outline:none}
.sim-catalog-field-hf6 .bootstrap-select{width:100%!important}.sim-catalog-field-hf6 .bootstrap-select>button{min-height:48px;border-radius:10px}
.sim-app .sim-logo-grid-hf6 [hidden],.sim-catalog-hf6 [hidden]{display:none!important}
.sim-catalog-hf6 .sim-agreements-heading{margin:10px 0 0}.sim-catalog-hf6 .sim-agreements-heading h1{font-size:28px;color:#18334f}
.sim-catalog-hf6 .sim-agreements-heading p{margin-top:6px;color:#65758b}
@media(max-width:800px){.sim-app.sim-catalog-hf6 .sim-grid.sim-logo-grid-hf6,.sim-app.sim-modalities-hf6 .sim-grid.sim-logo-grid-hf6{grid-template-columns:repeat(2,minmax(0,1fr))}.sim-catalog-filters-hf6{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.sim-catalog-filters-hf6{grid-template-columns:1fr;gap:14px}.sim-app .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{padding:22px 12px 16px;min-height:190px;gap:12px}.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content strong{font-size:15px}.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon,.sim-app.sim-modalities-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon{width:100%;max-width:112px;flex-basis:90px;height:90px}}
@media(max-width:340px){.sim-app.sim-catalog-hf6 .sim-grid.sim-logo-grid-hf6,.sim-app.sim-modalities-hf6 .sim-grid.sim-logo-grid-hf6{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.sim-app .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{transition:none;transform:none}}

/* Simetria e identidade restritas à seleção de convênios. */
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{padding:24px 22px 0;gap:0;min-height:244px}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon{width:158.7px;height:137.54px;flex-basis:137.54px;font-size:42.32px}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon img{padding:10.58px}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content{flex:1;display:flex;align-items:center;justify-content:center;min-height:0;padding:12px 0}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content strong{min-height:0;margin:0}
.sim-app.sim-catalog-hf6 .sim-journey-progress{background:linear-gradient(105deg,#103c4b 0%,#204651 55%,#587276 100%)!important;border-color:#365762;color:#fff;margin-bottom:24px}
.sim-app.sim-catalog-hf6 .sim-journey-progress__eyebrow,.sim-app.sim-catalog-hf6 .sim-journey-progress__title,.sim-app.sim-catalog-hf6 .sim-journey-step{color:#fff!important}
.sim-app.sim-catalog-hf6 .sim-journey-progress__count{background:#f7edda;color:#173450}
.sim-app.sim-catalog-hf6 .sim-journey-step::before{background:rgba(255,255,255,.3)}
.sim-app.sim-catalog-hf6 .sim-journey-step.is-complete::before{background:#edf3f6}
.sim-app.sim-catalog-hf6 .sim-journey-step.is-current::before{background:linear-gradient(90deg,#edf3f6,#dfb65f)}
/* Mantém o tamanho aprovado no desktop, com duas opções por linha no celular. */
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{box-sizing:border-box;aspect-ratio:1 / 1;min-height:0}
@media(max-width:600px){
 .sim-app.sim-catalog-hf6 .sim-grid.sim-logo-grid-hf6{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{aspect-ratio:auto;min-height:210px;padding:18px 10px 0}
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon{width:110px;max-width:100%;height:96px;flex-basis:96px;font-size:32px}
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon img{padding:8px}
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content strong{font-size:14px;overflow-wrap:anywhere}
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-arrow{top:9px;right:9px;font-size:13px}
}

/* HF9: a imagem ocupa a área superior do card; nome em faixa própria abaixo. */
.sim-app .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon img{max-width:none;max-height:none;display:block;object-position:center}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 44px;align-items:stretch;justify-items:stretch;gap:8px;padding:18px 18px 10px}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon{width:100%;height:100%;max-width:none;max-height:none;min-width:0;min-height:0;flex:none;font-size:72px}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon img{width:100%;height:100%;max-width:none;max-height:none;min-width:0;min-height:0;padding:10px;object-fit:contain;box-sizing:border-box}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content{width:100%;height:100%;min-height:0;padding:0;align-items:center;justify-content:center}
.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content strong{font-size:16px;line-height:1.25;min-height:0}
@media(max-width:600px){
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{height:210px;min-height:210px;padding:12px 10px 8px;grid-template-rows:minmax(0,1fr) 42px;gap:6px}
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon{width:100%;height:100%;max-width:none;flex:none;font-size:48px}
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-icon img{padding:6px}
 .sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-logo-card-hf6 .sim-product-content strong{font-size:14px}
}

/* HF29: convênios compactos, sem reduzir o texto. */
@media(min-width:801px){.sim-app.sim-catalog-hf6 .sim-grid.sim-logo-grid-hf6{grid-template-columns:repeat(4,minmax(0,calc(23.333333% - 8.4px)));justify-content:space-between}.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{padding:12px 12px 7px;grid-template-rows:minmax(0,1fr) 40px}}
@media(max-width:600px){.sim-app.sim-catalog-hf6 .sim-logo-grid-hf6 .sim-product-card.sim-logo-card-hf6{height:147px;min-height:147px;padding:8px 7px 6px;grid-template-rows:minmax(0,1fr) 36px}}

/* Modalidades: nomes longos do convênio cabem junto ao indicador de etapa. */
@media(max-width:760px){
 .sim-app.sim-modalities-hf6 .sim-journey-progress__head>div{flex:1;min-width:0}
 .sim-app.sim-modalities-hf6 .sim-journey-progress__title{max-width:100%}
}
