/* MIDI FROID - Realisations: scoped to avoid clashes with existing theme */
.mfr-gallery{--mfnavy:#071c30;--mfdeep:#0a2d48;--mfblue:#168cda;--mftext:#133044;--mfmuted:#5d7381;--mfline:#dbe5eb;color:var(--mftext);font-family:Arial,Helvetica,sans-serif;line-height:1.55;background:#fff}
.mfr-gallery *, .mfr-gallery *:before,.mfr-gallery *:after{box-sizing:border-box}
.mfr-gallery button{cursor:pointer;font-family:inherit}
.mfr-gallery .mfr-hero{min-height:440px;padding:175px 24px 66px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(5,24,42,.96),rgba(5,24,42,.79) 52%,rgba(5,24,42,.14)),url('../img/realisations/banniere-photos-reelles.jpg') center center/cover;color:#fff}
.mfr-gallery .mfr-hero-inner{width:100%;max-width:1180px;margin:auto}
.mfr-gallery .mfr-eyebrow{font-size:13px;font-weight:700;letter-spacing:.21em;color:#72c9ff;margin:0 0 14px}
.mfr-gallery .mfr-hero h1{font-size:clamp(36px,5vw,61px);font-weight:700;letter-spacing:-.035em;line-height:1.12;color:#fff;margin:0 0 18px}
.mfr-gallery .mfr-hero p:not(.mfr-eyebrow){font-size:19px;color:#e1edf5;max-width:690px;line-height:1.6;margin:0}
.mfr-gallery .mfr-accent{width:58px;height:4px;background:#39aaf2;margin:0 0 19px}
.mfr-gallery .mfr-gallery-body{max-width:1210px;margin:auto;padding:68px 24px 85px}
.mfr-gallery .mfr-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:28px}
.mfr-gallery .mfr-kicker{color:#168cda;font-size:12px;font-weight:700;letter-spacing:.18em;margin:0 0 10px}
.mfr-gallery .mfr-intro h2{font-size:clamp(26px,3vw,35px);color:#0c2840;line-height:1.2;margin:0}
.mfr-gallery .mfr-intro-copy{max-width:465px;margin:0;color:var(--mfmuted);font-size:16px;line-height:1.7}
.mfr-gallery .mfr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:28px;flex-wrap:wrap}
.mfr-gallery .mfr-filters{display:flex;gap:9px;flex-wrap:wrap}
.mfr-gallery .mfr-filter,.mfr-gallery .mfr-language{padding:10px 15px;font-weight:700;border:1px solid #d4e2ea;background:#fff;color:#24445a;border-radius:26px;font-size:13px;transition:background .18s ease,color .18s ease}
.mfr-gallery .mfr-filter[aria-pressed="true"],.mfr-gallery .mfr-filter:hover{color:#fff;background:#0e4165;border-color:#0e4165}
.mfr-gallery .mfr-language{border-radius:7px}
.mfr-gallery .mfr-filter:focus-visible,.mfr-gallery .mfr-language:focus-visible,.mfr-gallery .mfr-photo:focus-visible,.mfr-gallery .mfr-lightbox-close:focus-visible{outline:3px solid #3daae9;outline-offset:3px}
.mfr-gallery .mfr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.mfr-gallery .mfr-card{margin:0;min-width:0;background:#fff;border-radius:11px;overflow:hidden;box-shadow:0 8px 24px rgba(12,37,55,.09);border:1px solid #e5edf2}
.mfr-gallery .mfr-card[hidden]{display:none!important}
.mfr-gallery .mfr-photo{position:relative;display:block;width:100%;border:0;background:#e6edf1;padding:0;overflow:hidden;aspect-ratio:4/3;border-radius:0}
.mfr-gallery .mfr-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.mfr-gallery .mfr-photo:hover img{transform:scale(1.035)}
.mfr-gallery .mfr-photo-zoom{position:absolute;right:13px;bottom:13px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-size:22px;line-height:1;color:#fff;background:rgba(7,29,47,.83)}
.mfr-gallery .mfr-card-copy{padding:19px 19px 23px}
.mfr-gallery .mfr-chip{display:inline-block;font-size:10px;font-weight:800;color:#0d81bf;letter-spacing:.12em;margin-bottom:9px}
.mfr-gallery .mfr-card h3{font-size:19px;line-height:1.3;margin:0 0 8px;color:#0c2840}
.mfr-gallery .mfr-card p{font-size:14px;line-height:1.65;margin:0;color:#536d7c}
.mfr-gallery .mfr-contact{background:#071f35;color:#fff;margin-top:55px;padding:37px 40px;border-radius:12px;display:flex;align-items:center;gap:25px;justify-content:space-between}
.mfr-gallery .mfr-contact h2{font-size:27px;color:#fff;line-height:1.3;margin:0 0 10px}
.mfr-gallery .mfr-contact p{font-size:15px;color:#d1e0ea;max-width:680px;margin:0;line-height:1.7}
.mfr-gallery .mfr-cta{background:#169de9;color:#fff!important;display:inline-block;padding:14px 22px;border-radius:6px;white-space:nowrap;font-weight:700;text-decoration:none;transition:background .2s}
.mfr-gallery .mfr-cta:hover{background:#0b7ebf;text-decoration:none}
.mfr-gallery .mfr-lightbox{position:fixed;z-index:100000;inset:0;background:rgba(2,13,24,.94);display:none;align-items:center;justify-content:center;padding:50px 22px 25px}
.mfr-gallery .mfr-lightbox.mfr-open{display:flex}
.mfr-gallery .mfr-lightbox figure{margin:0;max-width:95vw;max-height:90vh;text-align:center}
.mfr-gallery .mfr-lightbox img{display:block;max-width:95vw;max-height:79vh;object-fit:contain;margin:0 auto;border-radius:6px}
.mfr-gallery .mfr-lightbox figcaption{margin-top:13px;font-size:15px;color:#f2f6fa}
.mfr-gallery .mfr-lightbox-close{position:absolute;top:12px;right:22px;font-size:37px;line-height:1;background:transparent;color:#fff;border:0;padding:9px}
@media(max-width:1000px){.mfr-gallery .mfr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mfr-gallery .mfr-intro{display:block}.mfr-gallery .mfr-intro-copy{max-width:700px;margin-top:18px}}
@media(max-width:650px){.mfr-gallery .mfr-hero{padding:130px 19px 42px;min-height:390px}.mfr-gallery .mfr-hero p:not(.mfr-eyebrow){font-size:16px}.mfr-gallery .mfr-gallery-body{padding:45px 16px 65px}.mfr-gallery .mfr-grid{grid-template-columns:1fr;gap:17px}.mfr-gallery .mfr-filter{font-size:12px;padding:9px 12px}.mfr-gallery .mfr-contact{display:block;padding:26px 22px}.mfr-gallery .mfr-contact h2{font-size:24px}.mfr-gallery .mfr-cta{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.mfr-gallery .mfr-photo img,.mfr-gallery .mfr-filter{transition:none}}
