/* Evidências visuais: recortes fiéis e dimensões naturais, sem object-fit:cover. */
.case-gallery{padding:95px 0 125px;background:#ecf0ed;border-top:2px solid #171d20}
.case-gallery-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:35px}
.case-gallery-head h2{font:400 clamp(35px,4.3vw,66px)/1.06 "Archivo Black",sans-serif;letter-spacing:-.06em;margin:13px 0}
.case-gallery-head p{font:14px/1.7 "IBM Plex Sans",sans-serif;color:#43514e;max-width:410px;margin:0}
.case-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.gallery-item{min-width:0;background:#fffdfa;border:1px solid #152029;box-shadow:5px 5px 0 #143c8f;display:flex;flex-direction:column}
.gallery-item:first-child{grid-column:1/-1}
.gallery-trigger{display:flex;flex-direction:column;align-items:stretch;width:100%;border:0;background:#eaebea;color:#141d20;padding:0;cursor:zoom-in;text-align:left}
.gallery-shot{height:clamp(190px,25vw,360px);display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#d8dfe4,#f6f7f7);position:relative;overflow:hidden;padding:18px}
.gallery-item:first-child .gallery-shot{height:clamp(260px,41vw,530px)}
.gallery-shot img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 9px 24px #17304728;transition:transform .4s ease}
.gallery-trigger:hover .gallery-shot img{transform:scale(1.025)}
.gallery-shot:after{content:"↗";font-size:20px;display:grid;place-items:center;position:absolute;right:15px;bottom:15px;width:42px;height:42px;background:#ffc73d;color:#19212c;border:1px solid #1e2a2d}
.gallery-figcaption{padding:18px 21px;display:flex;justify-content:space-between;gap:25px}
.gallery-figcaption strong{font:700 15px "IBM Plex Sans",sans-serif}
.gallery-figcaption small{display:block;font:12px/1.5 "IBM Plex Sans",sans-serif;color:#405250;margin-top:5px}
.gallery-meta{font:9px/1.55 "IBM Plex Mono",monospace;color:#51635b;text-align:right;white-space:nowrap}
.evidence-dialog{border:0;background:#11181c;color:#f8f8f4;padding:0;max-width:min(94vw,1600px);max-height:94vh;width:100%;box-shadow:0 40px 150px #000b}
.evidence-dialog::backdrop{background:#070e12eb}
.dialog-shell{display:flex;flex-direction:column;max-height:94vh}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 19px;border-bottom:1px solid #52615d}
.dialog-head>span{font:12px "IBM Plex Mono",monospace}
.dialog-head button,.dialog-navigation button{color:#fff;background:transparent;border:1px solid #85938c;font:600 13px "IBM Plex Sans",sans-serif;padding:10px 16px}
.dialog-navigation{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 20px}
.dialog-image-shell{overflow:auto;flex:1;min-height:0;display:grid;place-items:center;padding:12px}
.dialog-image-shell img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94vh - 170px);object-fit:contain}
.dialog-caption{color:#ced7d1;font:12px/1.6 "IBM Plex Sans",sans-serif;flex:1;text-align:center}
.case-no-evidence{background:#efede7;padding:50px 0;border-top:1px solid #acb9b2}
.case-no-evidence .container{border-left:5px solid #b74428;padding-left:24px}
.case-no-evidence h2{font:400 clamp(24px,3vw,39px) "Archivo Black",sans-serif;margin:0 0 12px}
.case-no-evidence p{font-size:14px;line-height:1.65;max-width:680px}
@media(max-width:700px){.case-gallery{padding:65px 0}.case-gallery-head{display:block}.case-gallery-head p{margin-top:18px}.case-gallery-grid{grid-template-columns:1fr}.gallery-item:first-child{grid-column:auto}.gallery-shot,.gallery-item:first-child .gallery-shot{height:260px;padding:10px}.gallery-meta{white-space:normal;max-width:90px}.gallery-figcaption{padding:13px}.dialog-navigation{padding:10px}.dialog-navigation button{font-size:11px;padding:8px}.dialog-caption{font-size:10px}}
@media(prefers-reduced-motion:reduce){.gallery-shot img{transition:none}}
