/* Galerie compacte, images intégrales et agrandissement accessible. */
.screenshots-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}
.screenshots figure{margin:0;min-width:0;overflow:hidden;border:1px solid #40508a;border-radius:22px;background:#141d3c}
.screenshots figure>a{display:flex;align-items:center;justify-content:center;padding:24px;height:346px;background:radial-gradient(ellipse at center,#314d7c 0%,#192347 55%,#101830 100%);cursor:zoom-in;overflow:hidden}
.screenshots figure:nth-child(2)>a{background:radial-gradient(ellipse at center,#493d78 0%,#242043 55%,#14162f 100%)}
.screenshots img{display:block;width:auto;max-width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 16px #0006);transition:transform .2s ease}
.screenshots figure>a:hover img{transform:translateY(-3px) scale(1.025)}
.screenshots figcaption{padding:22px 26px 26px}
.screenshots h3{margin:0 0 10px;font-size:22px}
.screenshots figcaption p{margin:0 0 14px;font-size:16px}
.screenshots figcaption a{font-size:14px;font-weight:800}
.screenshot-dialog{width:min(1000px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:16px 20px;border:1px solid #5969a3;border-radius:20px;background:#101830;color:#f6f8ff;box-shadow:0 30px 100px #0009;overscroll-behavior:contain}
.screenshot-dialog::backdrop{background:#030817dc;backdrop-filter:blur(8px)}
.screenshot-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.screenshot-dialog h2{font-size:20px;margin:0}
.screenshot-close{flex-shrink:0;min-height:44px;padding:8px 16px;border:1px solid #62729d;border-radius:10px;background:#222e52;color:white;font:inherit;cursor:pointer}
.screenshot-close:focus-visible{outline:3px solid #faff24;outline-offset:3px}
.screenshot-full{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 180px);margin:auto;object-fit:contain}
.screenshot-dialog-note{margin:12px 0 0;text-align:center;font-size:14px}
html.screenshot-open{overflow:hidden}
@media(max-width:700px){.screenshots-grid{grid-template-columns:1fr;gap:20px}.screenshots figure>a{height:296px;padding:18px}.screenshots figcaption{padding:20px}.screenshot-dialog{padding:14px}.screenshot-dialog h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.screenshots img{transition:none}.screenshots figure>a:hover img{transform:none}}

.mentalo-article .screenshots{margin:2rem 0}.mentalo-article .screenshots figure{background:#f4f8fd;border-color:#c5d9ec}.mentalo-article .screenshots figcaption p{color:#38536d}.mentalo-article .screenshots figure>a{height:300px}.mentalo-article .screenshot-dialog{background:#f4f8fd;color:#203952}.mentalo-article .btn{color:white!important}.mentalo-article .screenshot-dialog h2{margin:0}.mentalo-article .eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:12px;color:#0b5fa8}.mentalo-article .screenshots img{max-width:100%}@media(max-width:700px){.mentalo-article .screenshots figure>a{height:270px}}
