/* Melhorias finais de leitura e navegação por toque. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
 ::view-transition-old(root) { animation: bio-page-out 260ms ease both; }
 ::view-transition-new(root) { animation: bio-page-in 320ms cubic-bezier(.2,.65,.3,1) both; }
 html.bio-page-enter main { animation: bio-page-in 320ms cubic-bezier(.2,.65,.3,1) both; }
}
@keyframes bio-page-out { to { opacity:0;transform:translateX(12%); } }
@keyframes bio-page-in { from { opacity:0;transform:translateX(-12%); } to { opacity:1;transform:none; } }
@media (prefers-reduced-motion: reduce) {
 ::view-transition-old(root),::view-transition-new(root) { animation:none; }
 html { scroll-behavior:auto!important; }
}
@media(max-width:750px) {
 html { overflow-x:clip; }
 body { overflow-x:clip; }
 body main :is(figure,article,section,form,aside),body main :is(.unit-info,.unit-details,.unit-contact-details,.contact-form-column,.contact-channel>div) { min-width:0;box-sizing:border-box; }
 body main :is(input,textarea,select) { font-size:16px!important;max-width:100%;box-sizing:border-box; }
 body main :is(address,p,li),body footer p { overflow-wrap:anywhere; }
 body main a:focus-visible,body header :is(a,button,summary):focus-visible { outline:2px solid #a52671;outline-offset:3px; }
 body dialog { box-sizing:border-box;width:min(620px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;padding:24px 18px; }
 body .career-fields { grid-template-columns:minmax(0,1fr); }
 body dialog :is(input,textarea,select) { min-width:0;max-width:100%;font-size:16px!important;box-sizing:border-box; }
 body .career-file-label input { width:100%; }
 body .career-file-label input::file-selector-button { max-width:100%;white-space:normal;font-size:16px; }
 body footer { padding-bottom:max(18px,env(safe-area-inset-bottom)); }
}
@media(max-width:650px) {
 body.units-waves-page>header { position:relative;top:auto;gap:12px;padding:16px 5%; }
 body.units-waves-page header .mobile-nav-actions { display:flex;align-items:center;justify-content:center;width:100%;margin:0;gap:12px; }
 body.units-waves-page header .mobile-nav-actions :is(a,button) { min-height:44px; }
 body.units-waves-page header #navigation { width:100%;margin:0;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.units-waves-page header #navigation>:is(a,details)>summary,body.units-waves-page header #navigation>a { font-size:18px!important;min-height:48px;line-height:1.3;padding:10px 12px!important;white-space:normal;width:100%;height:auto;box-sizing:border-box; }
 body.units-waves-page header #navigation>.units-exams[open] { grid-column:1/-1; }
 body.units-waves-page header #navigation .units-exams-list { position:static;inset:auto;width:100%;min-width:0;max-width:100%;max-height:50dvh;overflow-y:auto;box-sizing:border-box;margin:6px 0 10px;padding:6px;gap:2px; }
 body.units-waves-page header #navigation .units-exams-list>a { min-height:44px!important;padding:10px 12px!important;line-height:1.35;font-size:17px;white-space:normal; }
 body.units-waves-page header .desktop-results-actions { width:100%;max-width:100%; }
 body.units-waves-page header .results { display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;height:auto;padding:12px 16px;font-size:21px;line-height:1.3;white-space:normal;box-sizing:border-box; }
 body.units-waves-page main .mobile-section-fold { border-radius:16px; }
 body.units-waves-page main .mobile-section-fold>summary { min-height:48px;padding:12px 0;line-height:1.4; }
 body.units-waves-page main .mobile-fold-body { padding-bottom:12px; }
 body.units-waves-page main .mobile-fold-body :is(p,li) { font-size:16px;line-height:1.5; }
 body.units-waves-page main .mobile-fold-body img { max-width:100%; }
 body.units-waves-page main>.domicilio-info { width:100%;margin:12px 0;padding:14px;gap:18px;grid-template-columns:minmax(0,1fr); }
 body.units-waves-page .domicilio-info .domicilio-overview { padding:16px; }
 body.units-waves-page .domicilio-info .domicilio-overview>h2 { font-size:28px; }
 body.units-waves-page .domicilio-info .domicilio-overview>p:not(.eyebrow) { font-size:17px;line-height:1.5; }
 body.units-waves-page .domicilio-info .domicilio-values { font-size:16px; }
 body.units-waves-page main .contact-message-whatsapp { flex-wrap:wrap;gap:14px; }
 body.units-waves-page main .contact-message-whatsapp>div { flex:1 1 180px;min-width:0;width:auto; }
 body.units-waves-page main .contact-message-whatsapp p { white-space:normal!important; }
 body.units-waves-page main .about-contact-actions { width:100%;gap:12px;margin:4px 0 0; }
 body.units-waves-page main .about-contact-actions>a { min-height:44px;white-space:normal;text-align:center; }
 body.units-waves-page main.contact-page .contact-layout { display:flex;flex-direction:column;gap:20px; }
 body.units-waves-page main.contact-page .contact-form-column { order:0;width:100%;height:auto;gap:16px; }
 body.units-waves-page main.contact-page .contact-intro { order:1;width:100%;gap:18px; }
 body.units-waves-page main.contact-page .contact-shortcuts { grid-template-columns:minmax(0,1fr);gap:12px;margin-top:0; }
 body.units-waves-page main.contact-page .contact-shortcuts>a { width:100%;min-height:48px;white-space:normal; }
 body.units-waves-page main.contact-page .contact-channel a { overflow-wrap:anywhere; }
 body.units-waves-page main.about-page :is(.history-gallery-panel,.about-history-copy) { aspect-ratio:auto;height:auto;min-height:0; }
 body.units-waves-page main.about-page .about-building-pair { display:grid;grid-template-columns:minmax(0,1fr);gap:18px; }
 body.units-waves-page main.about-page .history-overview-panel { grid-template-columns:minmax(0,1fr);gap:18px;padding:16px; }
 body.units-waves-page main.about-page .history-gallery-panel { padding:14px; }
 body.units-waves-page main.about-page .history-gallery-panel .unit-photo-group { width:100%;height:auto; }
 body.units-waves-page main.about-page .history-gallery-panel .unit-photo { aspect-ratio:3/2;min-height:0;height:auto; }
 body.units-waves-page main.about-page .history-content-panel { padding:20px; }
 body.units-waves-page main.about-page .history-content-panel .about-values { display:grid;grid-template-columns:minmax(0,1fr);gap:22px; }
 body.units-waves-page main.about-page .history-content-panel .about-values h2 { max-width:none;font-size:28px; }
 body.units-waves-page main.about-page .history-title-panel p { font-size:17px;line-height:1.5; }
 body.units-waves-page main.about-page .history-gallery-copy p { font-size:17px;line-height:1.5; }
 body.units-waves-page main.units-sub-page .unit-grid { width:100%;gap:18px; }
 body.units-waves-page main.units-sub-page .unit-card { min-width:0; }
 body.units-waves-page main.units-sub-page .unit-title-row h2 { font-size:22px;line-height:1.3; }
 body.units-waves-page main.units-sub-page .unit-info :is(p,address,li) { font-size:16px;line-height:1.5; }
 body.units-waves-page main.results-page .results-access { grid-template-columns:minmax(0,1fr);gap:18px; }
 body.units-waves-page main.results-page .results-access>:is(.patient-panel,.results-feedback) { min-height:0;height:auto;padding:24px 18px;gap:20px; }
 body.units-waves-page main.results-page .results-access :is(.portal-enter,.feedback-button) { height:auto;min-height:64px;font-size:20px; }
 body.home-waves-page .services .service-reserved-card { display:none; }
 body.home-waves-page .services .sus-card-heading h3 { font-size:clamp(23px,6.5vw,28px); }
}
@media(max-width:650px){
 body.units-waves-page header #navigation{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:8px!important;justify-content:stretch!important}
}
@media(max-width:650px){
 body.units-waves-page main.contact-page .contact-shortcuts{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 body.units-waves-page main.contact-page .contact-shortcuts>:is(a,button){width:100%;min-height:48px;white-space:normal;box-sizing:border-box}
}
/* As ondas ultrapassam o quadro visual sem criar rolagem lateral. */
html,body{overflow-x:clip}
