/* Duas metades para a orientação sobre convênios e a condição particular SERMED. */
html body.units-waves-page main.convenios-page>.convenios-contact-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;grid-column:1/-1;min-width:0;align-items:stretch;margin:0 0 24px}
html body.units-waves-page main.convenios-page .convenios-contact-pair>.tox-contact{box-sizing:border-box;width:100%;max-width:none;margin:0!important;padding:18px!important;min-width:0;display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;gap:16px;border:1px solid #a52671!important;border-radius:16px;box-shadow:none!important}
html body.units-waves-page .convenios-contact-pair .contact-message-whatsapp{display:flex;align-items:center;gap:14px;width:100%;min-width:0}
html body.units-waves-page .convenios-contact-pair .tox-contact h2{font-size:19px!important;line-height:1.35!important;color:#597264;white-space:normal;margin:0!important}
html body.units-waves-page .convenios-contact-pair .tox-contact .tox-whatsapp-icon{width:64px;height:64px;min-width:64px}
html body.units-waves-page .convenios-contact-pair .tox-whatsapp-icon svg{width:50px;height:50px}
html body.units-waves-page .convenios-contact-pair .tox-contact>.about-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:12px;margin:0!important}
html body.units-waves-page .convenios-contact-pair .about-contact-actions>a{width:100%;min-width:0;white-space:normal;margin:0!important;font-size:16px;padding:8px;min-height:44px;box-sizing:border-box}
.convenios-sermed{display:flex;align-items:center;gap:18px;min-width:0;background:#fff;padding:16px 0;box-sizing:border-box}
.convenios-sermed .home-sermed-brand{flex:0 0 auto;padding:0;background:transparent}
.convenios-sermed .home-sermed-logo{display:block;position:relative;overflow:hidden;width:180px;height:65.769px}
.convenios-sermed .home-sermed-logo>img{display:block;position:absolute;max-width:none!important;width:119.230769%!important;height:auto!important;left:-9.615385%;top:-35.789474%;margin:0!important;filter:none!important}
.convenios-sermed .home-sermed-copy{min-width:0;flex:1}
html body.units-waves-page .convenios-sermed .home-sermed-copy p{font-size:19px!important;line-height:1.35;margin:0 0 8px;color:#a52671}
.convenios-sermed .home-sermed-copy small{display:block;font-size:14px;line-height:1.35;color:#425b50}
.convenios-sermed .sermed-word{display:inline-block;width:4.685715em;height:.8em;vertical-align:-.055em;overflow:hidden;color:#016f32}
@media(min-width:851px) and (max-width:1200px){.convenios-sermed{flex-direction:column;justify-content:center;text-align:center;gap:12px}.convenios-sermed .home-sermed-logo{width:180px;height:65.769px}}
@media(max-width:850px){html body.units-waves-page main.convenios-page>.convenios-contact-pair{grid-template-columns:minmax(0,1fr);gap:20px}.convenios-sermed{padding:0;gap:14px}.convenios-sermed .home-sermed-logo{width:140px;height:51.154px}}
@media(max-width:480px){.convenios-sermed{flex-direction:column;text-align:center}html body.units-waves-page .convenios-sermed .home-sermed-copy p{font-size:18px!important}html body.units-waves-page .convenios-contact-pair .tox-contact h2{font-size:17px!important}.convenios-sermed .home-sermed-logo{width:180px;height:65.769px}}
/* O espaço horizontal antigo não deve virar altura ao empilhar o conteúdo. */
html body.units-waves-page .convenios-contact-pair .tox-contact>.contact-message-whatsapp{flex:0 1 auto!important;min-width:0}

/* As duas metades usam a mesma moldura, altura e acabamento. */
html body.units-waves-page main.convenios-page .convenios-contact-pair>.convenios-sermed{padding:18px!important;border:1px solid #a52671;border-radius:16px;box-shadow:none}

/* Marca ampliada até o espaço reservado, sempre proporcional e dentro do quadro. */
.convenios-sermed .home-sermed-brand{flex:0 0 45%;width:45%;max-width:340px;min-width:0}
.convenios-sermed .home-sermed-logo{width:100%;height:auto;aspect-ratio:260/95}
@media(min-width:851px) and (max-width:1200px){.convenios-sermed .home-sermed-brand{flex:0 0 auto;width:100%;max-width:300px}.convenios-sermed .home-sermed-logo{width:100%;height:auto}}
@media(max-width:850px){.convenios-sermed .home-sermed-brand{max-width:300px}.convenios-sermed .home-sermed-logo{width:100%;height:auto}}
@media(max-width:480px){.convenios-sermed .home-sermed-brand{flex:0 0 auto;width:100%;max-width:300px}.convenios-sermed .home-sermed-logo{width:100%;height:auto}}
