.ref-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ref-card{margin:0;min-width:0;align-self:start}.ref-photo{display:block;width:100%;aspect-ratio:var(--ref-ratio);border:0;background-color:white;background-image:var(--ref);background-size:var(--ref-size);background-position:var(--ref-pos);background-repeat:no-repeat;cursor:zoom-in;padding:0}.ref-card figcaption{font-size:12px;color:#42535d;padding:12px 0}.ref-section{padding:90px 5%;background:#fff}.ref-section h2{font-size:clamp(28px,4vw,56px);margin-bottom:35px}.cat-ess__stream>.ref-card{grid-column:span 4;grid-row:span 4}.cat-ess__tabs{flex-wrap:wrap}.ref-dialog{width:min(900px,90vw);max-height:92vh;border:0;padding:45px 25px 20px;background:#fff}.ref-dialog::backdrop{background:#10232dcc;backdrop-filter:blur(8px)}.ref-dialog .ref-photo{max-height:75vh;width:100%;cursor:default}.ref-dialog-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:26px;cursor:pointer}@media(max-width:700px){.ref-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cat-ess__stream>.ref-card{grid-column:span 6;grid-row:span 4}}
.cov-gal__item--reference{background:#fff!important;min-width:0}.cov-gal__item--reference .ref-card{height:100%;display:flex;flex-direction:column;justify-content:center}.cov-gal__item--reference .ref-photo{flex:none}.cov-gal__item--reference figcaption{padding:16px;font-size:14px}.cov-gal__item--reference[hidden]{display:none!important}
/* Les nouveaux visuels gardent leur hauteur naturelle dans la galerie. */
.cov-gal__item.cov-gal__item--reference{aspect-ratio:auto;align-self:start;overflow:hidden}
.cov-gal__item--reference .ref-card{height:auto;display:block}
.cov-gal__item--reference .ref-photo{height:auto;min-height:0;aspect-ratio:var(--ref-ratio)}
[data-cov-filters]{position:relative;z-index:2}
/* Montrer chaque support entier, sans agrandissement excessif. */
.p-catalogue .cat-ess__stream>.ref-card{min-height:0;align-self:start;overflow:hidden}
.p-catalogue .cat-ess__stream>.ref-card .ref-photo{height:clamp(180px,24vw,300px);aspect-ratio:auto;background-size:contain;background-position:center}
.ref-dialog{width:min(680px,88vw);box-sizing:border-box;max-height:90vh}
.ref-dialog .ref-photo{height:min(68vh,600px);max-height:68vh;aspect-ratio:auto;background-size:contain;background-position:center}
@media(max-width:650px){.p-catalogue .cat-ess__stream>.ref-card .ref-photo{height:220px}.ref-dialog{padding:40px 16px 16px}.ref-dialog .ref-photo{height:65vh;max-height:65vh}}
/* Totems et PLV : toutes les fiches partagent la même grille compacte. */
.p-catalogue .cat-panel--product .cat-ess__stream{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:24px 18px;align-items:start}
.p-catalogue .cat-panel--product .cat-ess__stream>.ref-card{grid-column:auto;grid-row:auto;margin:0;transform:none;min-width:0}
.p-catalogue .cat-panel--product .cat-ess__stream>.ref-card .ref-photo,
.p-catalogue .cat-panel--product .cat-ess__stream .cat-ess__item:nth-child(n) .cat-ess__btn{height:260px;min-height:0;aspect-ratio:auto;background-size:contain;clip-path:none}
.p-catalogue .cat-panel--product .cat-ess__stream .cat-ess__item:nth-child(n){grid-column:auto;grid-row:auto;transform:none;margin:0}
.p-catalogue .cat-panel--product .ref-card figcaption{padding:10px 0;font-size:11px;line-height:1.5}
@media(max-width:700px){.p-catalogue .cat-panel--product .cat-ess__stream{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.p-catalogue .cat-panel--product .cat-ess__stream>.ref-card .ref-photo,.p-catalogue .cat-panel--product .cat-ess__stream .cat-ess__item:nth-child(n) .cat-ess__btn{height:200px}}
/* Cadres et animation cohérents avec les autres photos du catalogue. */
.p-catalogue .ref-card{position:relative;background:#eeefed;transition:transform .55s cubic-bezier(.22,1,.36,1),box-shadow .5s}
.p-catalogue .ref-card .ref-photo{background-color:#eeefed;border-radius:0;transition:transform .9s cubic-bezier(.22,1,.36,1),box-shadow .5s;transform:scale(1);background-blend-mode:multiply}
.p-catalogue .ref-card figcaption{display:none}
@media(hover:hover) and (pointer:fine){.p-catalogue .ref-card:hover,.p-catalogue .ref-card:focus-within{z-index:20;transform:scale(1.15);box-shadow:0 22px 55px #16344338}.p-catalogue .ref-card:hover .ref-photo,.p-catalogue .ref-card:focus-within .ref-photo{transform:scale(.94)}}
@media(prefers-reduced-motion:reduce){.p-catalogue .ref-card,.p-catalogue .ref-card .ref-photo{transition:none}.p-catalogue .ref-card:hover,.p-catalogue .ref-card:focus-within,.p-catalogue .ref-card:hover .ref-photo,.p-catalogue .ref-card:focus-within .ref-photo{transform:none}}
/* Les nouvelles réalisations Covering suivent les cadres existants. */
.cov-gal__item.cov-gal__item--reference{background:#eeefed!important;aspect-ratio:3/2;align-self:stretch;overflow:hidden}
.cov-gal__item--reference .ref-card{height:100%;display:block;margin:0;background:#eeefed;overflow:hidden}
.cov-gal__item--reference .ref-photo{width:100%;height:100%;aspect-ratio:auto;background-color:#eeefed;background-size:contain;background-position:center;background-blend-mode:multiply;transition:transform 1s var(--ease-out,cubic-bezier(.22,1,.36,1))}
.cov-gal__item--reference figcaption{display:none}
@media(hover:hover) and (pointer:fine){.cov-gal__item--reference .ref-photo:hover,.cov-gal__item--reference .ref-photo:focus-visible{transform:scale(1.06)}}
@media(prefers-reduced-motion:reduce){.cov-gal__item--reference .ref-photo{transition:none}.cov-gal__item--reference .ref-photo:hover{transform:none}}

/* Fond studio gris dégradé vers le blanc pour les nouveaux véhicules. */
.cov-gal__item.cov-gal__item--reference,.cov-gal__item--reference .ref-card{background:linear-gradient(155deg,#a9a9ad 0%,#dedee1 48%,#fff 100%)!important}
.cov-gal__item--reference .ref-photo{background-color:transparent;background-size:contain,cover;background-position:center,center;background-repeat:no-repeat;background-blend-mode:multiply,normal}
