
/* V14 — Grille des réalisations et fiches projet. */
.realisations-seven-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;max-width:none!important;width:100%!important;overflow:visible!important}
.realisations-seven-gallery>.realisation-card-link{display:block!important;min-width:0!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;flex:none!important;overflow:hidden!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 25px #102a4312!important;text-decoration:none!important}
.realisations-seven-gallery .realisation-card-link figure{display:flex!important;flex-direction:column!important;margin:0!important;min-height:0!important;height:100%!important;overflow:visible!important;background:#fff!important}
.realisations-seven-gallery .realisation-card-link img{display:block!important;width:100%!important;height:220px!important;min-height:0!important;max-height:none!important;object-fit:cover!important;flex:none!important}
.realisations-seven-gallery .realisation-card-link figcaption{display:block!important;position:static!important;transform:none!important;opacity:1!important;width:auto!important;min-height:0!important;background:#fff!important;color:#123f68!important;padding:19px 19px 6px!important;font-size:19px!important;line-height:1.35!important;font-weight:800!important;white-space:normal!important;overflow:visible!important;text-align:left!important}
.realisations-seven-gallery .realisation-more{display:block!important;position:static!important;transform:none!important;opacity:1!important;color:#087dcc!important;background:#fff!important;font-size:13px!important;line-height:1.5!important;font-weight:700!important;padding:0 19px 20px!important;white-space:normal!important}
.realisations-seven-gallery>.realisation-card-link:hover{transform:translateY(-4px);box-shadow:0 12px 28px #102a4322!important}
.project-section .prc-project-layout{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.3fr);gap:clamp(24px,4vw,60px);align-items:start;margin:28px auto 20px;max-width:1200px}
.project-section .prc-project-info{min-width:0;position:sticky;top:110px}
.project-section .prc-project-heading{margin:0 0 22px!important}
.project-section .prc-project-heading h2{font-size:clamp(26px,3vw,38px);line-height:1.12}
.project-section .prc-project-copy{display:block!important;max-width:none!important;padding:22px 0!important;margin:0!important}
.project-section .prc-project-copy .project-contact{display:inline-block;margin-top:12px}
.project-section .prc-gallery{width:100%;max-width:none!important;margin:0!important;position:relative;min-width:0}
.project-section .prc-gallery-slide{margin:0!important;border-radius:14px!important;overflow:hidden!important}
.project-section .prc-gallery-slide>a img{width:100%!important;height:clamp(300px,35vw,480px)!important;object-fit:cover!important}
.project-section .prc-gallery-slide figcaption{font-size:13px!important}
.project-section .prc-gallery-thumbs{justify-content:flex-start!important;flex-wrap:wrap}
.project-section .prc-gallery-thumbs label{width:calc((100% - 24px)/3)!important;height:90px!important}
/* CSS-only slideshow: autoplay until a visitor selects a slide; hover pauses playback. */
.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)){height:auto}
.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)) .prc-gallery-slide{display:block!important;position:absolute!important;top:0;left:0;right:0;opacity:0;visibility:hidden;animation:prcV14Slide 15s infinite;pointer-events:none}
.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)) .prc-gallery-slide-1{position:relative!important;animation-delay:0s}
.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)) .prc-gallery-slide-2{animation-delay:5s}
.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)) .prc-gallery-slide-3{animation-delay:10s}
.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)) .prc-gallery-slide-1{opacity:1;visibility:visible}
.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)):hover .prc-gallery-slide{animation-play-state:paused}
@keyframes prcV14Slide{0%,31%{opacity:1;visibility:visible;pointer-events:auto}33%,100%{opacity:0;visibility:hidden;pointer-events:none}}
@media(max-width:900px){.realisations-seven-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}.project-section .prc-project-layout{grid-template-columns:1fr}.project-section .prc-project-info{position:static}.project-section .prc-gallery-slide>a img{height:380px!important}}
@media(max-width:560px){.realisations-seven-gallery{grid-template-columns:1fr!important}.realisations-seven-gallery .realisation-card-link img{height:235px!important}.project-section .prc-gallery-slide>a img{height:280px!important}.project-section .prc-gallery-thumbs label{height:65px!important}}
@media(prefers-reduced-motion:reduce){.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)) .prc-gallery-slide{animation:none!important}.project-section .prc-gallery:not(:has(#peinture-salon-slide-7)):not(:has(.prc-gallery-radio:checked)) .prc-gallery-slide-1{opacity:1;visibility:visible;pointer-events:auto}}

/* V15 : galerie à gauche, description à droite */
@media(min-width:901px){
 .project-section .prc-project-layout{grid-template-columns:minmax(0,1.3fr) minmax(280px,.82fr)}
 .project-section .prc-project-layout>.prc-gallery{grid-column:1;grid-row:1}
 .project-section .prc-project-layout>.prc-project-info{grid-column:2;grid-row:1}
}
.project-section .prc-project-instagram{display:inline-flex;align-items:center;gap:9px;margin-top:18px;padding:12px 16px;border:1px solid #dce4e9;border-radius:12px;background:#fff;color:#123f68;font-weight:700;text-decoration:none;box-shadow:0 5px 16px #102a430d}
.project-section .prc-project-instagram:hover{border-color:#0780ba;color:#0673ae}
.project-section .prc-project-instagram svg{width:22px;height:22px;flex:none}
