/* Mesmo tratamento de mensagem na página inicial e em Convênios. */
html body .home-sermed-copy.sermed-text-frame{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;min-width:0;border:1px solid #a52671;border-radius:16px;padding:8px 14px;min-height:var(--sermed-logo-height,124px);background:#fff}
html body :is(.home-sermed,.convenios-sermed) .sermed-text-frame p{font-size:18px!important;line-height:1.2!important;margin:0 0 4px!important;color:#a52671}
html body :is(.home-sermed,.convenios-sermed) .sermed-text-frame small{font-size:14px!important;line-height:1.2!important;margin:0!important;color:#425b50}
/* A marca fica livre: moldura somente na mensagem. */
html body.units-waves-page main.convenios-page .convenios-contact-pair>.convenios-sermed{border:0!important;padding:0!important;box-shadow:none;justify-content:center}
@media(min-width:851px) and (max-width:1600px){.convenios-sermed{flex-direction:column;gap:14px;text-align:center}.convenios-sermed .home-sermed-brand{flex:0 0 auto;width:100%;max-width:340px}.convenios-sermed .home-sermed-copy{width:100%;flex:0 0 auto}}
/* Na inicial, logo à esquerda e mensagem à direita, alinhadas pelo centro. */
html body.home-waves-page .services>.home-sermed{flex-direction:row;align-items:center;justify-content:center;gap:14px;padding:0;text-align:center}
html body.home-waves-page .home-sermed-brand{width:28%;max-width:190px;min-width:90px;flex:0 0 auto}
html body.home-waves-page .home-sermed-logo{width:100%;height:auto;aspect-ratio:260/95}
html body.home-waves-page .home-sermed-copy.sermed-text-frame{width:auto;max-width:none;flex:1 1 0}
@media(max-width:850px){html body .home-sermed-copy.sermed-text-frame{min-height:0}html body.home-waves-page .home-sermed-brand{width:28%;max-width:150px;min-width:72px}html body.home-waves-page .services>.home-sermed{padding-inline:12px}}
/* Reserva espaço para a leitura ampliada sem encostar o texto na borda. */
.convenios-sermed .home-sermed-brand{max-width:354px}
@media(min-width:851px) and (max-width:1900px){.convenios-sermed{flex-direction:column;gap:14px;text-align:center}.convenios-sermed .home-sermed-brand{flex:0 0 auto;width:100%;max-width:354px}.convenios-sermed .home-sermed-copy{width:100%;flex:0 0 auto}}

/* V7.05: bordas da mensagem coincidem com os limites da marca. */
@media(min-width:851px){
 html body.home-waves-page .services>.home-sermed.sermed-button-aligned{max-width:none;align-self:flex-start}
 html body.home-waves-page .home-sermed-brand{width:260px;max-width:none;min-width:0}
 html body.home-waves-page .home-sermed-copy.sermed-text-frame{min-height:95px}
}

@media(min-width:851px){
 html body.home-waves-page .sermed-text-frame p{font-size:15px!important}
 html body.home-waves-page .sermed-text-frame small{font-size:12px!important}
}

@media(min-width:851px){html body.home-waves-page .home-sermed-copy.sermed-text-frame{padding-block:3px}}

