/* Accueil plus court : styles isolés, photos et catalogue partagés inchangés. */
.ms-home-compact .home-compact-block{padding:44px max(24px,calc((100% - 1200px)/2));color:#20382c;background:#f4f2e9;scroll-margin-top:112px}
.ms-home-compact .compact-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px}
.ms-home-compact .compact-heading h2,.ms-home-compact .compact-contact h2{font:600 clamp(26px,2.6vw,36px)/1.15 Sora,Manrope,sans-serif;letter-spacing:-.035em;color:#20382c;margin:0}
.ms-home-compact .compact-heading .eyebrow,.ms-home-compact .compact-contact .eyebrow{font-size:10px;letter-spacing:.12em;margin:0 0 10px;color:#687553}
.ms-home-compact .compact-heading>a,.ms-home-compact .compact-links a{font-size:13px;font-weight:700;color:#294d3c}
.ms-home-compact .atelier-intro{padding:38px max(24px,calc((100% - 1200px)/2)) 36px}
.ms-home-compact .atelier-intro-inner{gap:44px;grid-template-columns:1.15fr 1fr}
.ms-home-compact .atelier-intro h1{font-size:clamp(34px,4vw,52px);margin-bottom:18px}
.ms-home-compact .atelier-intro-location{margin-bottom:12px}
.ms-home-compact .atelier-intro-lead{font-size:17px;line-height:1.5;margin-bottom:12px}
.ms-home-compact .atelier-intro-service{font-size:14px;line-height:1.6}
.ms-home-compact .atelier-intro-actions{margin:20px 0 16px;gap:16px}
.ms-home-compact .atelier-intro-note{padding-top:12px;font-size:11px;line-height:1.5}
.ms-home-compact .atelier-intro-work figcaption{padding:12px 16px}
.ms-home-compact .atelier-intro-work figcaption>div>span{display:none}
.ms-home-compact .home-compact-products{background:#e9ede5;border-block:1px solid #d3dbce}
.ms-home-compact .compact-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}
.ms-home-compact .compact-featured-grid .cat-product-card{min-width:0;color:#20382c}
.ms-home-compact .compact-featured-grid .cat-card-body{padding:14px}
.ms-home-compact .compact-featured-grid .cat-card-body h3{font-size:17px;line-height:1.25;margin:10px 0 6px}
.ms-home-compact .compact-featured-grid .cat-card-description{display:none}
.ms-home-compact .compact-featured-grid .cat-badge{font-size:10px;letter-spacing:.025em;padding:4px 6px}
.ms-home-compact .compact-featured-grid .cat-price{font-size:23px;margin:5px 0}
.ms-home-compact .compact-featured-grid .cat-price-note{font-size:11px;margin:0 0 8px}
.ms-home-compact .compact-featured-grid .cat-card-cta{font-size:12px;padding-top:10px;min-height:38px}
.ms-home-compact .compact-featured-grid figcaption{font-size:10px;line-height:1.35;padding:8px 10px;min-height:0}
.ms-home-compact .compact-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:20px}
.ms-home-compact .compact-categories a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;min-height:48px;border:1px solid #cdd6c5;border-radius:5px;background:#f8f7f0;color:#294d3c;font-size:12px;font-weight:700;text-decoration:none}
.ms-home-compact .compact-categories a:hover{border-color:#57705c;background:#fff}
.ms-home-compact .compact-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}
.ms-home-compact .compact-services{padding-top:30px;padding-bottom:30px;background:#233d30;color:#f5f2e7}
.ms-home-compact .compact-services h2{font-size:25px;color:#f5f2e7}
.ms-home-compact .compact-services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ms-home-compact .compact-services-grid a{display:flex;align-items:center;gap:12px;min-height:58px;padding:14px;border:1px solid #7d8a70;border-radius:5px;font-size:14px;color:#f5f2e7;text-decoration:none}
.ms-home-compact .compact-services-grid a>span:last-child{margin-left:auto}
.ms-home-compact .compact-services-grid a:hover{background:#344e3e}
.ms-home-compact #realisations.ms-gallery-section{padding:40px max(24px,calc((100% - 1200px)/2))!important;scroll-margin-top:112px}
.ms-home-compact #realisations::before,.ms-home-compact #realisations::after{display:none}
.ms-home-compact #realisations .ms-gallery-shell{padding:0;max-width:none;width:100%}
.ms-home-compact #realisations .ms-gallery-heading{display:block;margin:0 0 16px!important;padding:0}
.ms-home-compact #realisations .ms-gallery-title{font-size:clamp(26px,2.6vw,36px)!important;line-height:1.15;margin:0;max-width:none}
.ms-home-compact #realisations .ms-gallery-eyebrow{font-size:10px;margin:0 0 10px}
.ms-home-compact #realisations .ms-gallery-intro{display:none}
.ms-home-compact #realisations .ms-gallery-filters{margin:0 0 12px!important;gap:8px;flex-wrap:wrap}
.ms-home-compact #realisations .ms-gallery-filter{font-size:12px;padding:8px 12px;min-height:36px}
.ms-home-compact #realisations .ms-gallery-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px!important;overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;margin:0!important;padding:0 0 10px!important}
.ms-home-compact #realisations .ms-gallery-item{grid-column:auto!important;min-width:0;scroll-snap-align:start}
.ms-home-compact #realisations .ms-gallery-item[hidden]{display:none!important}
.ms-home-compact #realisations .ms-gallery-card{height:100%!important;min-height:0!important}
.ms-home-compact #realisations .ms-gallery-card img{height:auto!important;aspect-ratio:4/3;object-fit:contain}
.ms-home-compact #realisations .ms-gallery-card-copy{padding:12px 14px!important}
.ms-home-compact #realisations .ms-gallery-card-title{font-size:16px;line-height:1.3;margin-top:5px}
.ms-home-compact #realisations .ms-gallery-description{display:none}
.ms-home-compact #realisations .ms-gallery-status{font-size:11px;margin:8px 0 0}
.ms-home-compact .mobile-rail-controls{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:0 0 12px!important}
.ms-home-compact .mobile-rail-controls span{font-size:12px}
.ms-home-compact .mobile-rail-controls button{width:38px;min-width:38px;height:38px;border:1px solid #9eaf94;border-radius:50%;background:#f4f2e9;color:#20382c;font:700 18px/1 sans-serif;cursor:pointer}
.ms-home-compact .mobile-rail-controls button:disabled{opacity:.4;cursor:default}
.ms-home-compact .compact-product-controls{display:none}
.ms-home-compact .compact-contact-intro{display:grid;grid-template-columns:145px minmax(0,1fr);gap:30px;align-items:center;max-width:900px;margin:0 auto 28px}
.ms-home-compact .compact-portrait{margin:0;width:145px;aspect-ratio:4/5;border:1px solid #b3c0ab;border-radius:7px;overflow:hidden;background:#e9e9e7}
.ms-home-compact .compact-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.ms-home-compact .compact-contact-intro>div:only-child{grid-column:1/-1}
.ms-home-compact .compact-contact p{font-size:14px;line-height:1.6;margin:12px 0;color:#435b49}
.ms-home-compact .compact-contact .compact-delay{font-size:12px;margin:8px 0}
.ms-home-compact .compact-contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:16px}
.ms-home-compact .compact-contact-actions>a{font-size:13px;color:#294d3c}
.ms-home-compact .compact-contact-actions .button{min-height:46px;padding:12px 18px;color:#fff}
.ms-home-compact .compact-details{max-width:900px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}
.ms-home-compact .compact-details>details{border:1px solid #cbd5c3;border-radius:5px;background:#fdfcf5;scroll-margin-top:112px}
.ms-home-compact .compact-details summary{cursor:pointer;padding:14px 16px;font-size:13px;font-weight:700;color:#294d3c;min-height:48px}
.ms-home-compact .compact-detail-content{padding:0 16px 16px;font-size:13px;color:#435b49}
.ms-home-compact .compact-detail-content p,.ms-home-compact .compact-detail-content li{font-size:13px;line-height:1.6}
.ms-home-compact .compact-detail-content ol,.ms-home-compact .compact-detail-content ul{padding-left:20px}
.ms-home-compact .compact-detail-content li{margin:8px 0}
.ms-home-compact .compact-detail-content h3{font-size:14px;color:#294d3c;margin:20px 0 8px}
.ms-home-compact .site-footer{padding:32px max(24px,calc((100% - 1200px)/2)) 20px!important;gap:24px}
.ms-home-compact .footer-brand img{max-width:180px;height:auto}
.ms-home-compact .footer-bottom{margin:0;padding-top:16px}
.ms-home-compact .footer-bottom a{float:none;margin-inline-start:10px}
.ms-home-compact #soumission{scroll-margin-top:112px}
@media(max-width:900px){
 .ms-home-compact .compact-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ms-home-compact .compact-services-grid{grid-template-columns:1fr 1fr}
 .ms-home-compact .compact-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ms-home-compact #realisations .ms-gallery-grid{grid-auto-columns:calc((100% - 16px)/2)}
}
@media(max-width:760px){
 .ms-home-compact .home-compact-block{padding:28px 20px;scroll-margin-top:90px}
 .ms-home-compact .atelier-intro{padding:26px 20px}
 .ms-home-compact .atelier-intro-inner{grid-template-columns:1fr;gap:20px}
 .ms-home-compact .atelier-intro-copy{padding:0}
 .ms-home-compact .atelier-intro h1{font-size:34px;margin-bottom:14px}
 .ms-home-compact .atelier-intro-lead{font-size:15px}
 .ms-home-compact .atelier-intro-service{font-size:13px}
 .ms-home-compact .atelier-intro-note{display:none}
 .ms-home-compact .atelier-intro-actions{flex-direction:row;align-items:center;margin:18px 0 0;gap:10px;flex-wrap:wrap}
 .ms-home-compact .atelier-intro-primary{width:auto;font-size:12px;padding:11px 14px;min-height:44px}
 .ms-home-compact .atelier-intro-secondary{font-size:12px;min-height:44px}
 .ms-home-compact .atelier-intro-work{width:min(100%,420px);justify-self:center}
 .ms-home-compact .atelier-intro-work figcaption{padding:10px 12px}
 .ms-home-compact .atelier-intro-work figcaption strong{font-size:12px}
 .ms-home-compact .compact-heading{gap:14px;margin-bottom:18px;align-items:flex-start}
 .ms-home-compact .compact-heading h2,.ms-home-compact .compact-contact h2{font-size:27px}
 .ms-home-compact .compact-heading>a{font-size:12px;max-width:100px;text-align:right}
 .ms-home-compact .compact-featured-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(76vw,290px);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:10px;gap:12px;margin-bottom:14px}
 .ms-home-compact .compact-featured-grid .cat-product-card{scroll-snap-align:start}
 .ms-home-compact .compact-product-controls{display:flex;justify-content:space-between}
 .ms-home-compact .compact-categories{margin-top:14px;gap:8px}
 .ms-home-compact .compact-categories a{font-size:12px;line-height:1.35;padding:10px;min-height:48px}
 .ms-home-compact .compact-links{gap:12px;margin-top:16px}
 .ms-home-compact .compact-links a{font-size:12px;min-height:32px}
 .ms-home-compact .compact-services-grid{gap:9px}
 .ms-home-compact .compact-services-grid a{font-size:12px;padding:12px 10px;gap:8px}
 .ms-home-compact #realisations.ms-gallery-section{padding:28px 20px!important;scroll-margin-top:90px}
 .ms-home-compact #realisations .ms-gallery-grid{grid-auto-columns:min(78vw,320px)!important}
 .ms-home-compact #realisations .ms-gallery-title{font-size:27px!important}
 .ms-home-compact .compact-contact-intro{grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:start;margin-bottom:22px}
 .ms-home-compact .compact-portrait{width:88px}
 .ms-home-compact .compact-contact .eyebrow{font-size:9px;margin-top:0}
 .ms-home-compact .compact-contact h2{font-size:25px}
 .ms-home-compact .compact-contact p{font-size:13px;margin:10px 0}
 .ms-home-compact .compact-contact-actions{gap:12px}
 .ms-home-compact .compact-contact-actions .button{font-size:12px;padding:10px 12px}
 .ms-home-compact .compact-details{grid-template-columns:1fr;gap:8px}
 .ms-home-compact .site-footer{padding:26px 20px 20px!important;gap:20px;grid-template-columns:1fr 1fr!important}
 .ms-home-compact .footer-brand,.ms-home-compact .footer-cta,.ms-home-compact .footer-bottom{grid-column:1/-1}
 .ms-home-compact .footer-brand img{max-width:150px}
 .ms-home-compact #soumission{scroll-margin-top:90px}
}
