:root{--brand:#77021D;--cream:#EEE6D8;--text:#111827;--muted:#4b5563;--white:#fff;--shadow:0 10px 25px rgba(0,0,0,.08)}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{font-family:Roboto,Arial,sans-serif;background:var(--cream);color:var(--text);font-size:16px}
h1,h2,h3{font-family:Montserrat,Arial,sans-serif;line-height:1.5;margin:0}
p{line-height:1.65}
.site-shell{min-height:100%;display:flex;flex-direction:column}
.main-content{flex:1}
.container{width:100%;max-width:1280px;margin:0 auto;padding:0 1rem}
.site-header{background:var(--brand);color:#fff;position:sticky;top:0;z-index:50;box-shadow:0 10px 15px rgba(119,2,29,.1)}
.nav-bar{position:relative;display:flex;align-items:center;justify-content:space-between;padding-top:1rem;padding-bottom:1rem}
.brand-link,.footer-brand{display:flex;align-items:center;gap:1rem;color:#fff;text-decoration:none}
.brand-logo{width:3.5rem;height:3.5rem;object-fit:cover;border-radius:.75rem;box-shadow:0 4px 6px rgba(0,0,0,.15);transition:transform .3s}
.brand-link:hover .brand-logo{transform:scale(1.05)}
.brand-title{font-size:1.25rem;font-weight:700;letter-spacing:.025em}
.desktop-nav{display:none;gap:2rem}
.nav-link{color:#fff;text-decoration:none;padding-bottom:.2rem;transition:opacity .2s}
.nav-link:hover{opacity:.8}
.nav-link.active{border-bottom:2px solid #fff}
.mobile-menu-button{display:block;background:none;border:0;color:#fff;font-size:1.9rem;line-height:1;cursor:pointer}
.close-icon{display:none}
.mobile-menu-button.open .menu-icon{display:none}
.mobile-menu-button.open .close-icon{display:inline}
.mobile-nav{display:none;position:absolute;left:1rem;right:1rem;top:100%;padding:0 0 1rem;background:var(--brand)}
.mobile-nav.open{display:block}
.mobile-nav-link{display:block;color:#fff;text-decoration:none;padding:.5rem 0}
.mobile-nav-link.active{font-weight:700}
.site-footer{position:relative;overflow:hidden;background:var(--brand);color:#fff;padding:3rem 0}
.footer-overlay{position:absolute;inset:0;background:rgba(0,0,0,.1)}
.footer-inner{position:relative;z-index:1}
.footer-grid{display:grid;grid-template-columns:1fr;gap:3rem}
.footer-brand h3{font-size:1.5rem}
.footer-text{max-width:28rem;color:rgba(255,255,255,.8)}
.footer-heading{display:inline-block;font-size:1.25rem;padding-bottom:.5rem;border-bottom:1px solid rgba(255,255,255,.2)}
.copyright{margin-top:2rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.2);text-align:center;color:rgba(255,255,255,.6)}
.hero-section{position:relative;height:500px;overflow:hidden}
.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.05);object-position: 50% 40%;}
@media (max-width: 640px) {.hero-image {object-position: 90% center;}}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.5),transparent)}
.hero-content{position:relative;height:100%;display:flex;align-items:center}
.hero-copy{max-width:48rem;color:#fff}
.hero-copy h1{font-size:2.25rem;margin-bottom:1.5rem;color:#fff;font-weight:700;letter-spacing:-.025em;text-shadow:0 5px 12px rgba(0,0,0,.4)}
.hero-copy p{font-size:1.25rem;margin:0 0 2.5rem;color:rgba(255,255,255,.9);font-weight:300;text-shadow:0 4px 8px rgba(0,0,0,.35)}
.hero-actions{display:flex;flex-direction:column;gap:1.25rem}
.button{display:inline-block;border:0;border-radius:.75rem;padding:1rem 2rem;text-decoration:none;text-align:center;font-weight:500;font-size:1.125rem;box-shadow:0 10px 15px rgba(0,0,0,.12);transition:all .3s;cursor:pointer}
.button:hover{transform:translateY(-.25rem);box-shadow:0 18px 25px rgba(0,0,0,.16)}
.button-primary{background:var(--brand);color:#fff}
.button-white{background:#fff;color:var(--brand)}
.button-white:hover{background:#f9fafb}
.button.full{width:100%}
.quote-banner{background:#fff;border-top:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6;padding:2rem 0;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.quote-card{display:flex;align-items:center;justify-content:center;gap:1.25rem;width:max-content;max-width:100%;margin:0 auto;padding:1rem 2rem;background:rgba(249,250,251,.5);border-radius:1rem}
.round-icon,.info-row span{width:3.5rem;height:3.5rem;border-radius:999px;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 10px 15px rgba(0,0,0,.12);font-size:1.6rem}
.quote-title{margin:0;color:var(--brand);font-size:1.25rem;font-weight:700;letter-spacing:.025em}
.quote-subtitle{margin:.25rem 0 0;color:#4b5563;font-weight:500}
.section{padding:5rem 0}
.services-section,.testimonials-section{background:rgba(255,255,255,.4)}
.section-title{text-align:center;max-width:42rem;margin:0 auto 4rem}
.section-title h2,.page-intro h1{font-size:1.875rem;font-weight:700;color:var(--brand);margin-bottom:1rem}
.section-title span{display:block;width:5rem;height:.25rem;background:var(--brand);border-radius:999px;margin:0 auto;opacity:.8}
.section-title p,.page-intro p{color:#4b5563;font-size:1.125rem}
.services-grid{display:grid;grid-template-columns:1fr;gap:2rem}
.service-card,.testimonial-card,.contact-form-card,.info-card,.history-card,.value-card{background:#fff;border:1px solid #f3f4f6;border-radius:.75rem;box-shadow:0 4px 8px rgba(0,0,0,.04);padding:2rem;transition:all .3s}
.service-card:hover,.project-card:hover,.testimonial-card:hover{transform:translateY(-.5rem);box-shadow:0 20px 25px rgba(0,0,0,.1)}
.service-card h3{font-size:1.25rem;margin-bottom:1rem;transition:color .3s}
.service-card:hover h3{color:var(--brand)}
.service-card p,.testimonial-card p{color:#4b5563;margin:0}
.testimonials-grid,.values-grid{display:grid;grid-template-columns:1fr;gap:2rem}
.stars,.rating button{color:var(--brand);letter-spacing:.1em}
.testimonial-card h3{font-size:1.125rem;margin-top:1.5rem}
.page-section{background:var(--cream)}
.page-intro{text-align:center;max-width:56rem;margin:0 auto 3rem}
.tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:3rem}
.tab-button{border:0;border-radius:.75rem;padding:.9rem 1.25rem;background:#fff;color:var(--brand);box-shadow:0 4px 8px rgba(0,0,0,.06);font-weight:500;cursor:pointer;transition:all .3s}
.tab-button.active,.tab-button:hover{background:var(--brand);color:#fff;transform:translateY(-.15rem)}
.tab-panel{display:none}
.tab-panel.active{display:grid}
.projects-grid{grid-template-columns:1fr;gap:2rem}
.project-card{position:relative;padding:0;border:0;border-radius:.75rem;overflow:hidden;background:#fff;box-shadow:var(--shadow);cursor:pointer;transition:all .3s}
.project-card img{display:block;width:100%;height:260px;object-fit:cover;transition:transform .5s}
.project-card:hover img{transform:scale(1.06)}
.project-overlay{position:absolute;inset:auto 0 0 0;padding:1.25rem;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff;font-weight:700}
.modal-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:70}
.modal-backdrop.open{display:block}
.modal{display:none;position:fixed;z-index:80;background:#fff;border-radius:.5rem;box-shadow:0 25px 60px rgba(0,0,0,.35);overflow:auto}
.modal.open{display:block;animation:modalIn .25s ease-out}
.project-modal{inset:1rem}
.review-modal{inset:1rem}
.modal-close{position:absolute;top:1rem;right:1rem;width:2.5rem;height:2.5rem;border:0;border-radius:999px;background:#fff;color:var(--brand);box-shadow:0 4px 10px rgba(0,0,0,.18);font-size:1.8rem;z-index:2;cursor:pointer}
.modal-content{padding:1.5rem}
.modal-content h2{text-align:center;color:var(--brand);font-size:1.875rem;margin-bottom:2rem}
.comparison-grid{display:grid;grid-template-columns:1fr;gap:2rem;max-width:72rem;margin:0 auto}
.comparison-grid h3{text-align:center;margin-bottom:1rem}
.image-frame{border-radius:.5rem;overflow:hidden;box-shadow:0 4px 6px rgba(0,0,0,.1)}
.image-frame img{display:block;width:100%;height:auto}
.modal-note{text-align:center;margin-top:2rem;font-size:1.125rem;color:#4b5563}
.history-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center;margin-bottom:3rem}
.history-card{padding:2.5rem}
.history-card h2{color:var(--brand);font-size:1.875rem;margin-bottom:1rem}
.history-card p{color:#4b5563}
.history-image{overflow:hidden;border-radius:.75rem;box-shadow:var(--shadow)}
.history-image img{width:100%;height:100%;display:block;object-fit:cover}
.history-page{padding-top:4.25rem;padding-bottom:5rem}
.history-container{max-width:1000px}
.history-intro{text-align:center;margin:0 auto 4.25rem}
.history-intro h1{color:var(--brand);font-size:2.75rem;font-weight:700;letter-spacing:.01em;line-height:1.1}
.history-intro span{display:block;width:5rem;height:.25rem;margin:1.25rem auto 0;background:var(--brand);border-radius:999px}
.history-hero-image{width:100%;height:420px;margin:0 auto 3.25rem;overflow:hidden;border-radius:.5rem;box-shadow:0 4px 10px rgba(0,0,0,.18)}
.history-hero-image img{display:block;width:100%;height:100%;object-fit:cover}
.history-content-card{width:100%;margin:0 auto;background:#fff;border-radius:.5rem;box-shadow:0 8px 18px rgba(0,0,0,.12);padding:3.4rem 3.25rem 2.5rem}
.history-content-card p{margin:0 0 1.45rem;color:#020617;font-size:1rem;line-height:1.55}
.history-content-card p:last-child{margin-bottom:0}
.value-card h3{color:var(--brand);font-size:1.25rem;margin-bottom:.75rem}
.floating-review-button{display:block;margin:0 auto 5rem;background:var(--brand);color:#fff;border:0;border-radius:.75rem;padding:1rem 2rem;font-size:1.125rem;font-weight:500;box-shadow:var(--shadow);cursor:pointer;transition:.3s}
.floating-review-button:hover{transform:translateY(-.25rem)}
.contact-grid{display:grid;grid-template-columns:1fr;gap:2rem}
.contact-form-card,.info-card{padding:2rem}
.contact-form-card h2,.info-card h2{font-size:1.5rem;margin-bottom:2rem}
.contact-form,.review-form{display:grid;gap:1.5rem}
.contact-form label,.review-form label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151}
.contact-form input,.contact-form textarea,.review-form input,.review-form textarea{width:100%;border:1px solid #e5e7eb;border-radius:.75rem;background:#f9fafb;padding:.85rem 1.25rem;font:inherit;transition:.2s;resize:none}
.contact-form input:focus,.contact-form textarea:focus,.review-form input:focus,.review-form textarea:focus{outline:2px solid rgba(119,2,29,.25);border-color:transparent;background:#fff}
.contact-side{display:grid;gap:2rem}
.info-row{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.5rem}
.info-row h3{font-size:1rem}
.info-row p{margin:.25rem 0 0;color:#4b5563}
.hours{display:flex;justify-content:space-between;gap:1rem;margin:.75rem 0}
.hours span:last-child{color:#4b5563}
.rating{display:flex;gap:.5rem}
.rating button{border:0;background:none;font-size:2rem;cursor:pointer;transition:.2s}
.rating button:hover{transform:scale(1.1)}
.rating button.muted{color:transparent;-webkit-text-stroke:1px var(--brand);text-stroke:1px var(--brand)}
.thanks-message{text-align:center;padding:2rem}
.thanks-message div{font-size:4rem;color:#22c55e}
.thanks-message p{font-size:1.25rem;font-weight:700;color:var(--brand);margin:.5rem 0}
.thanks-message span{color:#4b5563}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .55s,transform .55s}
.reveal.visible{opacity:1;transform:none}

@keyframes modalIn{from{opacity:0;transform:scale(.94) translateY(40px)}
to{opacity:1;transform:none}
}

@media (min-width:640px){.hero-actions{flex-direction:row}
.hero-copy h1{font-size:3rem}
}

@media (min-width:768px){.desktop-nav{display:flex}
.mobile-menu-button{display:none}
.mobile-nav{display:none!important}
.hero-section{height:650px}
.hero-copy h1{font-size:3.75rem}
.hero-copy p{font-size:1.5rem}
.footer-grid{grid-template-columns:1fr 1fr;gap:6rem}
.services-grid{grid-template-columns:repeat(2,1fr)}
.testimonials-grid,.values-grid{grid-template-columns:repeat(3,1fr)}
.projects-grid{grid-template-columns:repeat(2,1fr)}
.modal-content{padding:2.5rem}
.review-modal{inset:auto;top:50%;left:50%;width:100%;max-width:42rem;max-height:90vh;transform:translate(-50%,-50%)}
.contact-form-card,.info-card{padding:2.5rem}
}

@media (min-width:1024px){.services-grid{grid-template-columns:repeat(4,1fr)}
.projects-grid{grid-template-columns:repeat(3,1fr)}
.comparison-grid,.contact-grid,.history-grid{grid-template-columns:repeat(2,1fr)}
.project-modal{inset:5rem}
.hero-copy h1{font-size:3.75rem}
}

@media (max-width:640px){.quote-card{width:100%;padding:1rem;align-items:flex-start}
.section{padding:3.5rem 0}
.history-page{padding-top:3rem;padding-bottom:3.5rem}
.history-intro{margin-bottom:2.5rem}
.history-intro h1{font-size:2.25rem}
.history-hero-image{height:250px;margin-bottom:2rem}
.history-content-card{padding:2rem 1.5rem}
.hero-copy h1{font-size:2rem}
.brand-title{font-size:1rem}
}


/* Homepage visual refresh */
:root{--brand:#87001f;--cream:#eee7d9;--text:#111827;--muted:#475569;--shadow:0 8px 22px rgba(15,23,42,.08)}
body{background:var(--cream)}
.container{max-width:1120px;padding:0 1.25rem}
.site-header{position:relative;box-shadow:none}
.nav-bar{min-height:72px;padding-top:.75rem;padding-bottom:.75rem}
.brand-logo{width:3rem;height:3rem;border-radius:.65rem}
.brand-title{font-size:1rem;letter-spacing:0}
.desktop-nav{gap:1.75rem;font-size:.9rem;font-weight:700}
.nav-link{padding-bottom:.35rem}
.site-footer{padding:3.25rem 0 2.25rem}
.footer-grid{align-items:start}.footer-brand h3{font-size:1.35rem}.footer-text{font-size:.95rem;line-height:1.7}.copyright{font-size:.9rem}
.hero-section{height:510px}
.hero-image{transform:none;filter:saturate(.92)}
.hero-overlay{background:linear-gradient(90deg,rgba(4,18,22,.86) 0%,rgba(4,18,22,.62) 42%,rgba(4,18,22,.18) 75%,rgba(4,18,22,.05) 100%)}
.hero-copy{max-width:44rem}.hero-copy h1{font-size:3.15rem;line-height:1.15;margin-bottom:1.25rem;font-weight:700}.hero-copy p{font-size:1.35rem;line-height:1.55;margin-bottom:2rem;font-weight:500;color:rgba(255,255,255,.88)}
.button{border-radius:.65rem;padding:.95rem 1.7rem;font-size:1rem;font-weight:700}.button-primary{background:#970425}.button-white{color:#970425}.hero-actions{gap:1rem}
.quote-banner{padding:1.65rem 0;background:#fff}.quote-card{padding:.85rem 1.8rem;border-radius:.9rem;box-shadow:0 8px 24px rgba(15,23,42,.05)}.round-icon{width:3rem;height:3rem;font-size:1.35rem}.quote-title{font-size:1.05rem}.quote-subtitle{font-size:.85rem}
.section{padding:4.25rem 0}.services-section{background:rgba(255,255,255,.38)}.section-title{margin-bottom:3.25rem}.section-title h2{font-size:1.65rem;line-height:1.25}.section-title span{width:4.4rem;height:.18rem}.services-grid{gap:1.5rem}.service-card{min-height:165px;border-radius:.7rem;padding:1.55rem;box-shadow:0 2px 8px rgba(15,23,42,.08)}.service-card h3{font-size:1.08rem;line-height:1.25}.service-card p{font-size:.94rem;line-height:1.55;color:#475569}
.google-reviews-section{background:#e9dfcf;padding:4.35rem 0 3.25rem}.google-reviews-section .section-title{margin-bottom:2.8rem}.reviews-carousel.google-reviews-plugin{max-width:1080px}.reviews-viewport.google-reviews-viewport{overflow:visible;background:#fff;border:1px solid rgba(15,23,42,.06);border-radius:.7rem;box-shadow:0 3px 10px rgba(15,23,42,.08);padding:1rem;min-height:245px}.reviews-carousel{position:relative;max-width:880px;margin:0 auto}.reviews-viewport{overflow:hidden;scroll-behavior:smooth}.reviews-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 3rem)/3);gap:1.5rem;align-items:stretch}.google-widget-card{position:relative;min-height:205px;background:#fff;border:1px solid rgba(15,23,42,.06);border-radius:.7rem;box-shadow:0 3px 10px rgba(15,23,42,.08);padding:1.55rem;overflow:hidden}.google-widget-card-info{display:flex;flex-direction:column;justify-content:center}.google-widget-intro{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.google-widget-intro h3{font-size:1rem;line-height:1.3}.eyebrow{margin:0 0 .15rem;color:#970425;font-weight:700;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.google-badge{border-radius:999px;background:#f1f5f9;color:#334155;font-size:.75rem;font-weight:700;padding:.35rem .65rem}.third-party-widget iframe{display:block;width:100%;height:132px;border:0;border-radius:.5rem;background:#f8fafc}.third-party-widget .elfsight-app-google-reviews:not(:empty)+iframe{display:none}.quote-mark{position:absolute;right:1rem;top:.5rem;color:#f1f1f1;font-family:Georgia,serif;font-size:5rem;line-height:1}.google-widget-card .stars{font-size:.96rem;margin-bottom:1.1rem}.google-widget-card p{position:relative;z-index:1;margin:0 0 1.4rem;color:#475569;font-size:.9rem;line-height:1.65}.text-link{position:relative;z-index:1;color:#970425;font-weight:700;text-decoration:none}.text-link:hover{text-decoration:underline}.carousel-arrow{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:2rem;height:2rem;border:0;border-radius:999px;background:transparent;color:#a13d51;font-size:2rem;font-weight:700;line-height:1;cursor:pointer;transform:translateY(-50%);transition:.2s}.carousel-arrow:hover{color:#970425;transform:translateY(-50%) scale(1.08)}.carousel-arrow-prev{left:-3.25rem}.carousel-arrow-next{right:-3.25rem}.carousel-dots{display:flex;justify-content:center;gap:.9rem;margin-top:1.5rem}.carousel-dot{width:.3rem;height:.3rem;border:0;border-radius:999px;background:#cda6ae;padding:0;cursor:pointer;transition:.2s}.carousel-dot.active{background:#970425;transform:scale(1.2)}.google-reviews-section .floating-review-button{display:block;width:max-content;margin:1.65rem auto 0;border-radius:.55rem;background:#970425;padding:.9rem 1.7rem;color:#fff;text-decoration:none;font-size:1rem;font-weight:700;box-shadow:0 8px 18px rgba(119,2,29,.24)}
@media (min-width:768px){.site-header{position:relative}.hero-section{height:510px}.hero-copy h1{font-size:3.25rem}.hero-copy p{font-size:1.25rem}.footer-grid{grid-template-columns:1fr 1fr;gap:8rem}.services-grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:980px){.reviews-track{grid-auto-columns:calc((100% - 1.5rem)/2)}.carousel-arrow-prev{left:-.75rem}.carousel-arrow-next{right:-.75rem}.carousel-arrow{background:rgba(255,255,255,.8);box-shadow:0 4px 10px rgba(15,23,42,.08)}}
@media (max-width:640px){.hero-section{height:560px}.hero-copy h1{font-size:2.35rem}.hero-copy p{font-size:1.05rem}.reviews-track{grid-auto-columns:100%}.google-reviews-section{padding-top:3.5rem}.quote-card{width:100%}.carousel-arrow{display:none}}

/* Réalisations depuis la base de données */
.realisations-grid{display:grid}.realisation-card{text-decoration:none;min-height:260px}.realisation-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.12));opacity:0;transition:.3s}.realisation-card:hover::after{opacity:1}.project-placeholder{display:grid;place-items:center;height:260px;color:var(--muted);font-weight:700}.empty-state{max-width:760px;margin:0 auto;text-align:center;background:#fff;border-radius:.75rem;padding:2rem;box-shadow:var(--shadow);color:var(--muted)}.back-link{color:var(--brand);font-weight:700;text-decoration:none}.gallery{position:relative;max-width:980px;margin:0 auto}.gallery-main{background:#fff;border-radius:.8rem;box-shadow:var(--shadow);overflow:hidden}.gallery-main img{display:block;width:100%;max-height:620px;object-fit:contain;background:#111}.gallery-arrow{position:absolute;top:42%;z-index:2;width:3rem;height:3rem;border:0;border-radius:999px;background:rgba(255,255,255,.92);color:var(--brand);font-size:2.5rem;line-height:1;box-shadow:var(--shadow);cursor:pointer}.gallery-prev{left:1rem}.gallery-next{right:1rem}.gallery-thumbs{display:flex;gap:.75rem;overflow-x:auto;padding:1rem 0}.gallery-thumb{flex:0 0 92px;height:70px;border:3px solid transparent;border-radius:.55rem;padding:0;overflow:hidden;cursor:pointer;background:#fff}.gallery-thumb.active{border-color:var(--brand)}.gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}@media (max-width:640px){.gallery-arrow{top:35%;width:2.4rem;height:2.4rem;font-size:2rem}.gallery-prev{left:.5rem}.gallery-next{right:.5rem}}
.realisation-filters{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin:0 0 2rem}.filter-button{border:1px solid rgba(135,0,31,.18);border-radius:999px;background:#fff;color:var(--brand);padding:.7rem 1.1rem;font-weight:800;cursor:pointer;transition:.2s}.filter-button.active,.filter-button:hover{background:var(--brand);color:#fff}.realisation-card{border:0;padding:0;cursor:pointer;text-align:left;background:#fff;overflow:hidden}.realisation-card[hidden]{display:none}.realisation-card img{width:100%;height:100%;object-fit:cover;display:block}.realisation-modal{position:fixed;inset:0;z-index:1000;display:none}.realisation-modal[aria-hidden="false"]{display:block}.realisation-modal__overlay{position:absolute;inset:0;background:rgba(17,24,39,.72)}.realisation-modal__panel{position:relative;z-index:1;width:min(1120px,94vw);max-height:92vh;margin:4vh auto;background:#fff;border-radius:1rem;padding:1.25rem;overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.35)}.realisation-modal__close{position:sticky;top:0;left:0;z-index:4;width:3rem;height:3rem;border:0;border-radius:999px;background:var(--brand);color:#fff;font-size:2rem;line-height:1;cursor:pointer}.realisation-modal__header{text-align:center;margin:-2.6rem 3.5rem 1rem}.realisation-modal__header p{margin:0;color:var(--muted);font-weight:700}.realisation-modal .gallery{max-width:100%}.realisation-modal .gallery-main img{max-height:62vh}.realisation-modal .gallery-thumb{position:relative}.realisation-modal .gallery-thumb img{pointer-events:none}@media(max-width:640px){.realisation-filters{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:.35rem}.filter-button{flex:0 0 auto}.realisations-grid{grid-template-columns:1fr}.realisation-modal__panel{width:96vw;max-height:96vh;margin:2vh auto;padding:.8rem;border-radius:.75rem}.realisation-modal__header{margin:.5rem 0 1rem;text-align:left}.realisation-modal .gallery-main img{max-height:58vh}.realisation-modal__close{width:3.2rem;height:3.2rem}.realisation-modal .gallery-arrow{top:40%;width:2.8rem;height:2.8rem}}@media(min-width:641px) and (max-width:980px){.realisations-grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:981px){.realisations-grid{grid-template-columns:repeat(3,1fr)}}

/* Galerie Réalisations : mosaïque responsive sans recadrage des photos */
.realisations-grid{
  display:block;
  column-count:1;
  column-gap:1.5rem;
}
.realisations-grid .realisation-card{
  display:inline-block;
  width:100%;
  min-height:0;
  margin:0 0 1.5rem;
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  page-break-inside:avoid;
  vertical-align:top;
  border-radius:.8rem;
}
.realisations-grid .realisation-card img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  border-radius:.8rem;
  transition:filter .25s ease;
}
.realisations-grid .realisation-card:hover img{
  transform:none;
  filter:saturate(1.03) brightness(.97);
}
.realisations-grid .project-placeholder{
  min-height:220px;
  height:auto;
}
@media (min-width:641px){
  .realisations-grid{column-count:2;}
}
@media (min-width:981px){
  .realisations-grid{column-count:3;}
}
