/* Compact project albums. All modal gestures remain shared with the existing viewer. */
.bta-gallery12.bta-gallery16{grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,210px);gap:12px}
.bta-gallery16 button{min-height:0;padding:0;border:0;cursor:pointer}
.bta-gallery16 button:first-child{grid-column:1;grid-row:1/3}
.bta-gallery16 img{display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto}
.bta-gallery16 button>span.bta-gallery16-more{inset:0;width:100%;height:100%;border-radius:0;background:#142c40b8;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:clamp(28px,4vw,48px);font-weight:600;line-height:1.15;backdrop-filter:blur(1px)}
.bta-gallery16-more small{font-size:15px;font-weight:400;margin-top:8px}
.bta-gallery16 button:focus-visible{outline:3px solid #f18a01;outline-offset:4px}
.bta-gallery12.bta-gallery16[data-count="1"]{grid-template-columns:1fr;grid-template-rows:360px}
.bta-gallery16[data-count="1"] button:first-child{grid-row:1;grid-column:1}
.bta-gallery12.bta-gallery16[data-count="2"]{grid-template-columns:1fr 1fr;grid-template-rows:320px}
.bta-gallery16[data-count="2"] button:first-child{grid-row:1}
.bta-gallery12.bta-gallery16[data-count="3"]{grid-template-columns:2fr 1fr}
.bta-gallery16[data-count="4"] button:nth-child(4){grid-column:2/4}
.bta-project16-status{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;background:#edf5fc;border:1px solid #5e9bd480;border-radius:20px;font-size:12px;line-height:1.5;color:#245781;font-weight:600}
.bta-project16-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#f18a01}
.bta-project-list-content>.bta-project16-status{align-self:flex-start;margin:0 0 16px}
.bta-project12-cover .bta-project16-status{background:#fff;color:#245781;margin-bottom:12px}
@media(max-width:900px){.bta-gallery12.bta-gallery16{grid-template-rows:repeat(2,170px)}}
@media(max-width:600px){.bta-gallery12.bta-gallery16{grid-template-columns:1fr 1fr;grid-template-rows:220px 130px 130px;gap:8px}.bta-gallery16 button:first-child{grid-column:1/3;grid-row:1}.bta-gallery12.bta-gallery16[data-count="1"]{grid-template-rows:240px}.bta-gallery12.bta-gallery16[data-count="2"]{grid-template-columns:1fr 1fr;grid-template-rows:220px}.bta-gallery16[data-count="2"] button:first-child{grid-column:1}.bta-gallery12.bta-gallery16[data-count="3"]{grid-template-rows:220px 130px}.bta-gallery16[data-count="4"] button:nth-child(4){grid-column:1/3}}
/* Project catalogue additions: clickable photos and discreet editorial status. */
a.bta-project-list-photo{display:block;position:relative;overflow:hidden;background:#e5edf3}
.bta-project-list-photo img{transition:transform .35s ease}
a.bta-project-list-photo:hover img{transform:scale(1.025)}
a.bta-project-list-photo:focus-visible{outline:3px solid #f18a01;outline-offset:3px}
.bta-project17-provisional{position:absolute;bottom:9px;left:10px;padding:3px 7px;border-radius:4px;background:#17334bd9;color:#fff;font-size:10px;font-weight:400;line-height:1.5}
.bta-project16-status[data-status="Achevé"]::before{background:#5e9bd4}
.bta-gallery17-phases{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.bta-gallery17-phases span{font-size:12px;color:#3b6284;border:1px solid #5e9bd44d;border-radius:20px;padding:5px 13px}
.bta-gallery17-phase{font-style:normal;font-size:12px;color:#fff;background:#5e9bd43b;border:1px solid #5e9bd4;border-radius:20px;padding:4px 10px;white-space:nowrap}
.bta-gallery17-caption{font-size:12px;color:#d5e5f2;text-align:center;max-width:900px;margin:0 auto 8px;line-height:1.4}
@media(prefers-reduced-motion:reduce){.bta-project-list-photo img{transition:none}}
.bta-gallery17-jump:empty{display:none}
.bta-gallery17-jump{position:absolute;top:70px;left:20px;right:20px;display:flex;justify-content:center;gap:8px;z-index:3}
.bta-gallery14-dialog .bta-gallery17-jump button{height:32px;min-width:auto;border-radius:20px;padding:0 16px;font:500 12px/1.4 Inter,Arial,sans-serif}
.bta-gallery17-jump button[aria-current="true"]{background:#5e9bd4;color:#142637;border-color:#5e9bd4}
.bta-gallery14-dialog[data-phases="2"] .bta-gallery14-viewport,.bta-gallery14-dialog[data-phases="3"] .bta-gallery14-viewport{top:112px}
.bta-gallery17-counter{display:flex;gap:10px;align-items:center;white-space:nowrap}
.bta-gallery17-caption{position:absolute;bottom:100px;left:24px;right:24px;max-height:38px;overflow:auto}
.bta-gallery14-dialog[data-caption="true"] .bta-gallery14-viewport{bottom:145px}
@media(max-width:767px){.bta-gallery17-jump{top:63px;left:8px;right:8px}.bta-gallery14-dialog[data-phases="2"] .bta-gallery14-viewport,.bta-gallery14-dialog[data-phases="3"] .bta-gallery14-viewport{top:103px}.bta-gallery14-tools{max-width:450px;margin:auto;bottom:12px;gap:7px}.bta-gallery17-counter{gap:5px}.bta-gallery17-phase{font-size:10px;padding:3px 7px}.bta-gallery14-tools>span{font-size:11px}.bta-gallery14-divider{flex-basis:100%;height:0;margin:0}.bta-gallery14-dialog .bta-gallery14-help{bottom:112px;font-size:9px}.bta-gallery14-viewport{bottom:132px}.bta-gallery17-caption{bottom:132px}.bta-gallery14-dialog[data-caption="true"] .bta-gallery14-viewport{bottom:180px}}
