/* Thème Sur Mesure : styles complémentaires à theme.json */
.sm-r{color:#EE2A93}
.sm-light{font-weight:300}
.sm-section{padding:5rem max(2rem,calc((100% - 1200px)/2))!important;margin-block-start:0!important}
.sm-alt{background:#15181B}
.sm-section h2{margin-bottom:.75rem}
.sm-lead{max-width:62ch}

/* En-tête */
.sm-header{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;padding:1.1rem max(2rem,calc((100% - 1200px)/2));background:#0B0B0C}
.sm-brand{margin:0;background:#4F5A62;border:2px solid #8B959C;padding:.35rem 1.1rem;font-weight:600;font-size:1.6rem;line-height:1.1;display:flex;align-items:center;gap:.5rem;text-transform:none}
.sm-brand a{color:#fff;text-decoration:none}
.sm-brand::before{content:"";width:14px;height:14px;background:#D1006C;transform:rotate(45deg);order:2}
.sm-brand a{order:1}
.sm-header .wp-block-navigation a{color:#fff;text-transform:uppercase;font-size:.9rem;letter-spacing:.06em;text-decoration:none;font-weight:500}
.sm-header .wp-block-navigation a:hover{color:#EE2A93}
.wp-block-navigation__responsive-container.is-menu-open{background:#0B0B0C;color:#fff}

/* Boutons */
.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;border:2px solid #fff;color:#fff}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background:#fff;color:#0B0B0C}
.sm-cta .wp-block-button__link{background:#fff;color:#0B0B0C}
.sm-cta .wp-block-button__link:hover{background:#0B0B0C;color:#fff}

/* Accueil : bloc d'accroche */
.sm-hero{padding-top:3rem!important}
.sm-hero__cols{align-items:center;gap:3.5rem}
.sm-hero__cols p{font-size:1.25rem;max-width:46ch}
.sm-hero__img img{width:100%;min-height:440px;object-fit:cover;clip-path:polygon(0 0,calc(100% - 72px) 0,100% 72px,100% 100%,0 100%)}

/* Pastilles de réassurance */
.sm-strip{background:#15181B;padding-block:2.5rem!important}
.sm-badges{gap:1.5rem;margin:0}
.sm-badge{position:relative;padding-left:5.5rem;min-height:4.2rem;display:flex;flex-direction:column;justify-content:center}
.sm-badge::before{content:"";position:absolute;left:.6rem;top:50%;width:52px;height:52px;margin-top:-26px;background:#D1006C;transform:rotate(45deg)}
.sm-badge::after{position:absolute;left:.6rem;top:50%;width:52px;margin-top:-.8rem;text-align:center;color:#fff;font-weight:600;font-size:.95rem;line-height:1.6}
.sm-badge--rge::after{content:"RGE"}
.sm-badge--ffb::after{content:"FFB"}
.sm-badge--fr::after{content:"FR"}
.sm-badge--eur::after{content:"€"}
.sm-badge__t{margin:0;color:#fff;font-weight:500;font-size:1.15rem;line-height:1.25}
.sm-badge__s{margin:0;font-size:.95rem;color:#AEB6BC;line-height:1.35}

/* Tuiles produits */
.sm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;margin-top:2.5rem}
.sm-tile{position:relative;aspect-ratio:1;overflow:hidden;background:#1B2024;margin:0!important}
.sm-tile .wp-block-image,.sm-tile figure{margin:0;height:100%}
.sm-tile img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.sm-tile:hover img{transform:scale(1.04)}
.sm-tile h3{position:absolute;left:0;right:0;bottom:0;margin:0;padding:3rem 1rem 1rem;text-align:center;font-weight:400;font-size:1.35rem;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,0))}
.sm-tile h3 a{color:#fff;text-decoration:none}
.sm-tile h3 a::after{content:"";position:absolute;inset:0}
.sm-tile:focus-within{outline:3px solid #EE2A93}

/* Showroom, colonnes */
.sm-cols{align-items:center;gap:3.5rem}
.sm-cols img{width:100%;min-height:340px;object-fit:cover}

/* Curseur avant / après */
.sm-ba{position:relative;aspect-ratio:4/3;overflow:hidden;background:#1B2024;--pos:50%}
.sm-ba__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sm-ba__before{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.sm-ba__handle{position:absolute;top:0;bottom:0;left:var(--pos);width:3px;margin-left:-1.5px;background:#fff;pointer-events:none}
.sm-ba__handle::after{content:"";position:absolute;top:50%;left:50%;width:30px;height:30px;margin:-15px 0 0 -15px;background:#D1006C;border:3px solid #fff;transform:rotate(45deg)}
.sm-ba__range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.sm-ba__tag{position:absolute;top:.75rem;padding:.2rem .7rem;background:rgba(11,11,12,.8);color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;pointer-events:none}
.sm-ba__tag--b{left:.75rem}
.sm-ba__tag--a{right:.75rem}
.sm-ba-cols{gap:1.5rem;margin-top:2rem}

/* Avis */
.sm-avis .sm-avis-links{margin-top:2rem}

/* Zone d'intervention */
.sm-zone{list-style:none;padding:0;margin:2rem 0 0;display:flex;flex-wrap:wrap;gap:.6rem}
.sm-zone li{border:1px solid #3A424A;padding:.4rem 1.1rem;font-size:1.05rem;color:#fff}

/* Bandeau devis */
.sm-cta{background:#D1006C}
.sm-cta h2,.sm-cta p{color:#fff;margin:0}
.sm-cta .sm-cta__row{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}

/* Pages produits : cadre de titre et blocs image/texte */
.sm-intro{gap:0;margin:0}
.sm-frame{background:#111;border:3px solid #fff;outline:6px solid #111;padding:2.5rem 2rem;min-height:300px;display:flex;flex-direction:column;justify-content:center}
.sm-frame h1{font-size:clamp(1.6rem,3vw,2.3rem)}
.sm-intro .wp-block-column:last-child{padding:2rem 2.5rem}
.sm-mt{background:#111;min-height:420px}
.sm-mt .wp-block-media-text__content{padding:3rem}
.sm-mt .wp-block-media-text__media img{height:100%;object-fit:cover}
.sm-mt--rose{background:#D1006C}
.sm-mt--rose a{color:#fff;text-decoration:underline}
.sm-mt h2{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:500}
.sm-mt h2::after{content:"";display:block;width:140px;height:2px;background:#fff;margin-top:1rem}
.sm-gallery{margin-top:2rem}
.sm-gallery img{object-fit:cover}

/* FAQ */
.wp-block-details{border-bottom:1px solid #3A424A;padding:1rem 0}
.wp-block-details summary{color:#fff;font-weight:500;font-size:1.2rem;cursor:pointer}
.wp-block-details[open] summary{color:#EE2A93}

/* Pied de page */
.sm-footer{background:#000;padding:3.5rem max(2rem,calc((100% - 1200px)/2));font-size:1rem}
.sm-footer h3{font-size:1.1rem;margin-bottom:.75rem}
.sm-footer a{color:#fff}
.sm-footer a:hover{color:#EE2A93}
.sm-footer .sm-copy{margin-top:2.5rem;color:#8B959C;font-size:.9rem}

/* Mobile */
@media (max-width:900px){
	.sm-grid{grid-template-columns:repeat(2,1fr)}
	.sm-hero__cols,.sm-cols{gap:2rem}
	.sm-hero__img img{min-height:300px}
	.sm-mt .wp-block-media-text__content{padding:2rem 1.5rem}
}
@media (max-width:560px){
	.sm-section{padding-block:3.5rem!important}
	.sm-brand{font-size:1.3rem}
}
@media (prefers-reduced-motion:reduce){.sm-tile img{transition:none}}
