/* Responsive corrections and accessible project image previews — November 2026. */
.team-teaser{max-width:100%;min-width:0;overflow-wrap:anywhere}
.team-teaser>span,.team-teaser>div{min-width:0}
.team-teaser img{flex-shrink:0}
.portfolio-heading h3{min-width:0;overflow-wrap:anywhere}
.project-number{flex-shrink:0}
.portfolio-links .project-preview{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #caa95888;border-radius:8px;background:#caa95812;color:#f2d895;font:inherit;font-weight:600;cursor:pointer}
.portfolio-links .project-preview:hover{background:#d0a73e30;color:white}
.portfolio-links .project-preview:focus-visible{outline:3px solid #f2d895;outline-offset:3px}
.portfolio-links a small{min-width:0}
/* Keep supplied wide screenshots inside the standard portfolio frame. */
#projeto-malu .project-capture,#projeto-vovo-chica .project-capture{flex-shrink:0}
#projeto-malu .capture-viewport,#projeto-vovo-chica .capture-viewport{aspect-ratio:1348/926;width:100%}
#projeto-malu .capture-viewport img,#projeto-vovo-chica .capture-viewport img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;aspect-ratio:auto;object-fit:contain;object-position:center;background:#0c0b0e}
.hero h1 em{display:inline-block}
dialog.image-dialog{width:min(1280px,calc(100% - 32px))}
.project-full-image{margin:0;overflow:auto;border-radius:8px;background:#080808}
.project-full-image img{display:block;width:100%;height:auto;max-width:100%}
#dialog-close{min-width:44px;min-height:44px}
#mobile-nav{max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
#mobile-nav a{min-height:44px}
.menu-toggle,.flag-switch button{min-height:44px}
.search:focus-within{outline:2px solid var(--gold);outline-offset:3px}
body.modal-open{overflow:hidden}
.whatsapp-float{bottom:calc(100px + env(safe-area-inset-bottom,0px))}
.team-page .whatsapp-float{bottom:calc(22px + env(safe-area-inset-bottom,0px))}
@media(max-width:850px){.menu-toggle{min-width:44px}.flag-switch button{min-width:36px}.header-inner{gap:8px}.header-actions{gap:6px}}
@media(max-width:600px){
 .search input,.build-note-label textarea,.diagnostic-panel select{font-size:16px}
 .portfolio-copy{padding:22px}
 .portfolio-links a,.portfolio-links .project-preview{font-size:14px}
 .portfolio-links .project-preview{width:100%}
 .project-full-image img{width:100%;min-width:640px;max-width:none}
 .project-full-image{touch-action:pan-x pan-y}
 .whatsapp-float{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
 .team-teaser{gap:12px}.team-teaser small{line-height:1.5}
}
@media(max-width:360px){
 .header .brand{width:105px;flex:0 0 105px}
 .flag-switch button{min-width:34px}
 .header-actions{gap:2px}
 .team-teaser{align-items:flex-start}
 .team-teaser>span,.team-teaser>div{flex:1}
 .portfolio-copy{padding:18px}
 .portfolio-copy h3{font-size:24px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.image-hint{display:none}
@media(max-width:600px){.image-dialog .image-hint{display:block;font-size:13px;color:#c9becf;line-height:1.5}}
.portfolio-card{scroll-margin-top:110px}
