/* Spiraltis – gabarit Référence (pages de la catégorie Nos références) */
body .spt-ref{--ink:#0E0E10;--cream:#F6F1EA;--grey:#6F6A62;--line:#E6E0D6;--ph:#E9E3D9;--orange:#E8821E;--orange-txt:#B4501A;--grad:linear-gradient(90deg,#F5C518 0%,#E8821E 50%,#D8421E 100%);
	font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;line-height:1.7;color:var(--ink);font-weight:400;letter-spacing:0;text-align:left}
body .spt-ref *,body .spt-ref *:before,body .spt-ref *:after{box-sizing:border-box}
body .spt-ref a{color:inherit}
body .spt-ref a:focus-visible,body .spt-ref button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
body .spt-ref img{max-width:100%;height:auto;display:block}
body .spt-ref h1,body .spt-ref h2,body .spt-ref h3{color:var(--ink);text-transform:none;letter-spacing:0;font-weight:400;font-family:'Tenor Sans',sans-serif;margin:0}
body .spt-ref p{margin:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit}
.spt-ref .spt-pad{padding-left:clamp(20px,6vw,120px);padding-right:clamp(20px,6vw,120px)}
.spt-ref .spt-wrap{max-width:1200px;margin:0 auto}
.spt-ref .spt-overline{font-family:'Inter',sans-serif;font-size:11px;font-weight:500;letter-spacing:1.98px;text-transform:uppercase;color:var(--grey);line-height:1.5}
.spt-ref .spt-overline--dash{display:flex;align-items:center;gap:12px}
.spt-ref .spt-overline--dash:before{content:"";width:28px;height:2px;background:var(--grad);flex:none}
.spt-ref .spt-grad{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.spt-ref .spt-serif{font-family:'Cormorant Garamond',serif;font-style:italic;font-weight:500}
.spt-ref .spt-ph{display:block;width:100%;height:100%;background:var(--ph)}

/* Boutons */
body .spt-ref .spt-btn{display:inline-block;font-family:'Inter',sans-serif;font-size:12px;font-weight:500;letter-spacing:2.16px;text-transform:uppercase;line-height:1.2;padding:15px 26px;border-radius:4px;text-decoration:none;transition:background .2s,color .2s,border-color .2s}
body .spt-ref .spt-btn--fill{background:var(--ink);color:#fff;border:1px solid var(--ink)}
body .spt-ref .spt-btn--fill:hover{background:#2A2A2E;color:#fff}
body .spt-ref .spt-btn--line{background:transparent;color:var(--ink);border:1px solid var(--ink)}
body .spt-ref .spt-btn--line:hover{background:var(--ink);color:#fff}

/* 1-2. En-tête */
.spt-ref .spt-hero{background:linear-gradient(180deg,var(--cream) 0,var(--cream) 72%,#fff 72%,#fff 100%);padding-top:calc(var(--spt-hdr,0px) + clamp(32px,4vw,64px))}
.spt-ref .spt-hero__inner{display:flex;flex-direction:column;gap:28px}
.spt-ref .spt-crumb a{color:var(--grey);text-decoration:none}
.spt-ref .spt-crumb a:hover{color:var(--ink)}
.spt-ref .spt-crumb [aria-current]{color:var(--ink)}
.spt-ref .spt-tags{display:flex;flex-wrap:wrap;gap:8px}
body .spt-ref .spt-tag{font-size:11px;font-weight:500;letter-spacing:1.98px;text-transform:uppercase;line-height:1.4;color:var(--ink);text-decoration:none;border:1px solid var(--ink);border-radius:40px;padding:7px 14px;min-height:32px;display:inline-flex;align-items:center;transition:background .2s,color .2s}
body .spt-ref .spt-tag:hover{background:var(--ink);color:#fff}
body .spt-ref .spt-h1{display:flex;flex-direction:column;gap:10px;max-width:1000px;font-weight:400}
.spt-ref .spt-h1__client{font-family:'Tenor Sans',sans-serif;font-size:clamp(44px,5.6vw,82px);line-height:1.02}
.spt-ref .spt-h1__what{font-family:'Cormorant Garamond',serif;font-style:italic;font-weight:500;font-size:clamp(26px,2.6vw,38px);line-height:1.2}
.spt-ref .spt-fiche{margin:8px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px 32px;border-top:1px solid var(--ink);padding-top:20px}
.spt-ref .spt-fiche dt{margin:0}
.spt-ref .spt-fiche dd{margin:4px 0 0;font-size:15px;line-height:1.5}
.spt-ref .spt-hero__fig{margin:12px 0 0}
.spt-ref .spt-hero__img{width:100%}

/* 3. Chapô */
.spt-ref .spt-chapo{padding-top:clamp(56px,7vw,104px);padding-bottom:clamp(24px,3vw,40px)}
.spt-ref .spt-chapo .spt-wrap{display:flex;flex-wrap:wrap;gap:20px 80px}
.spt-ref .spt-chapo__aside{flex:1 1 220px;min-width:0;align-self:flex-start;padding-top:10px}
.spt-ref .spt-chapo__text{flex:3 1 560px;min-width:0;display:flex;flex-direction:column;gap:.9em}
body .spt-ref .spt-chapo__text p,body .spt-ref .spt-chapo__text h2,body .spt-ref .spt-chapo__text h3{font-family:'Inter',sans-serif;font-weight:400;font-size:clamp(19px,1.6vw,23px);line-height:1.6;margin:0}
.spt-ref .spt-chapo__text figure{margin:0}

/* 4. Parties numérotées */
.spt-ref .spt-part{padding-top:clamp(40px,5vw,72px);padding-bottom:clamp(40px,5vw,72px)}
.spt-ref .spt-part__head{display:flex;flex-wrap:wrap;gap:16px 80px;border-top:1px solid var(--line);padding-top:clamp(32px,4vw,56px)}
.spt-ref .spt-part__aside{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:6px}
.spt-ref .spt-part__num{font-family:'Tenor Sans',sans-serif;font-size:40px;line-height:1}
.spt-ref .spt-part__text{flex:3 1 560px;min-width:0;max-width:680px;display:flex;flex-direction:column;gap:18px}
body .spt-ref .spt-part__text h2{font-size:clamp(28px,2.6vw,38px);line-height:1.2}
body .spt-ref .spt-part__text h3{font-size:21px;line-height:1.35}
.spt-ref .spt-part__text a{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:3px}
body .spt-ref .spt-part__text ul,body .spt-ref .spt-part__text ol{margin:0;padding:0 0 0 1.2em}
body .spt-ref .spt-part__text li{margin:0 0 .4em}
body .spt-ref .spt-part__text ul li::marker{color:var(--orange)}
body .spt-ref .spt-part__text blockquote{margin:0;padding:0 0 0 22px;border-left:2px solid var(--orange);font-family:'Cormorant Garamond',serif;font-style:italic;font-weight:500;font-size:26px;line-height:1.3}
body .spt-ref .spt-part__text blockquote cite{display:block;margin-top:8px;font:500 11px/1.5 'Inter',sans-serif;letter-spacing:1.98px;text-transform:uppercase;font-style:normal;color:var(--grey)}
.spt-ref .spt-part__media{margin-top:clamp(32px,4vw,56px);display:flex;flex-direction:column;gap:clamp(32px,4vw,56px)}
.spt-ref .spt-part__media > *{margin:0!important;max-width:none!important;width:100%!important}

/* Figures et galerie (blocs Image / Galerie de WordPress) */
.spt-ref .spt-part__media figure,.spt-ref .spt-part__media .wp-block-image{margin:0;display:flex;flex-direction:column;gap:10px}
.spt-ref .spt-part__media .wp-block-image img{width:100%}
body .spt-ref figcaption,body .spt-ref .wp-element-caption{font-size:13px;line-height:1.5;color:var(--grey);margin:0;text-align:left;font-family:'Inter',sans-serif;font-style:normal}
body .spt-ref .wp-block-gallery.has-nested-images{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important;align-items:start}
body .spt-ref .wp-block-gallery.has-nested-images figure.wp-block-image{width:auto!important;margin:0!important;flex:none!important;display:flex;flex-direction:column;gap:10px;background:var(--cream)}
body .spt-ref .wp-block-gallery.has-nested-images figure.wp-block-image img{height:auto!important;aspect-ratio:4/3;object-fit:cover!important;width:100%!important}
body .spt-ref .wp-block-gallery.has-nested-images figure.wp-block-image figcaption{position:static!important;background:#fff!important;color:var(--grey)!important;padding:10px 0 0!important;max-height:none!important;overflow:visible!important;font-size:13px!important;text-align:left!important;text-shadow:none!important}
body .spt-ref .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before{display:none!important}
body .spt-ref .wp-block-gallery > .blocks-gallery-caption{grid-column:1/-1}
body .spt-ref .wp-block-columns{gap:16px;margin:0}

/* 5a. Planche d'identité */
.spt-ref .spt-planche{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.spt-ref .spt-planche__card{background:var(--cream);min-height:260px;display:flex;flex-direction:column;gap:14px;padding:28px}
.spt-ref .spt-planche__card--logo{align-items:center;justify-content:center;text-align:center}
.spt-ref .spt-planche__logo-box{flex-grow:1;display:flex;align-items:center;justify-content:center;width:100%}
.spt-ref .spt-planche__logo{max-height:150px;width:auto!important;max-width:80%!important;object-fit:contain}
.spt-ref .spt-planche__swatches{display:flex;gap:12px;flex-grow:1}
.spt-ref .spt-planche__swatch{flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}
.spt-ref .spt-planche__swatch.is-major{flex:2}
.spt-ref .spt-planche__swatch span{flex-grow:1;min-height:120px;border:1px solid rgba(14,14,16,.06)}
.spt-ref .spt-planche__swatch small,.spt-ref .spt-planche__font small{font-size:13px;line-height:1.4;color:var(--ink)}
.spt-ref .spt-planche__font small{color:var(--grey)}
.spt-ref .spt-planche__font{display:flex;flex-direction:column;gap:4px}
.spt-ref .spt-planche__aa{font-size:48px;line-height:1;font-weight:600}

/* 5b. Vidéo */
.spt-ref .spt-video{margin:0;display:flex;flex-direction:column;gap:10px}
.spt-ref .spt-video__frame{position:relative;aspect-ratio:16/9;background:var(--ph);display:flex;align-items:center;justify-content:center;overflow:hidden}
.spt-ref .spt-video__poster{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
body .spt-ref .spt-video__play{position:relative;width:88px;height:88px;border-radius:50%;background:#fff;border:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 24px rgba(14,14,16,.12);transition:transform .2s}
body .spt-ref .spt-video__play:hover{transform:scale(1.06);background:#fff}
.spt-ref .spt-video__play svg{fill:var(--ink);margin-left:4px}
.spt-ref .spt-video__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* 5c. Points clés */
body .spt-ref .spt-points{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:32px}
body .spt-ref .spt-points li{display:flex;flex-direction:column;gap:10px;border-top:2px solid var(--ink);padding-top:18px;margin:0}
body .spt-ref .spt-points h3{font-size:21px;line-height:1.35}
body .spt-ref .spt-points p{font-size:16px}
.spt-ref .spt-points a{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:3px}

/* 6. Le résultat */
.spt-ref .spt-result{background:var(--cream);padding-top:clamp(64px,8vw,120px);padding-bottom:clamp(64px,8vw,120px);margin-top:clamp(24px,3vw,48px)}
.spt-ref .spt-result__inner{max-width:960px;margin:0 auto;display:flex;flex-direction:column;gap:24px}
body .spt-ref .spt-result__title{font-family:'Cormorant Garamond',serif;font-style:italic;font-weight:500;font-size:clamp(34px,3.8vw,56px);line-height:1.12}
.spt-ref .spt-result p{max-width:700px}

/* 7. Appel à l'action */
.spt-ref .spt-cta{padding-top:clamp(56px,7vw,104px);padding-bottom:clamp(56px,7vw,104px)}
.spt-ref .spt-cta__inner{display:flex;flex-wrap:wrap;align-items:center;gap:24px 80px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:clamp(32px,4vw,56px) 0}
body .spt-ref .spt-cta__title{flex:1 1 420px;min-width:0;font-size:clamp(28px,2.8vw,40px);line-height:1.2}
.spt-ref .spt-cta__side{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:20px;align-items:flex-start}
body .spt-ref .spt-cta__side p{font-size:16px}

/* 8. Précédente / suivante */
.spt-ref .spt-adj{padding-bottom:clamp(48px,6vw,88px)}
.spt-ref .spt-adj__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
body .spt-ref .spt-adj__link{display:flex;gap:20px;align-items:center;color:var(--ink);text-decoration:none}
body .spt-ref .spt-adj__link--next{flex-direction:row-reverse;text-align:right}
.spt-ref .spt-adj__thumb{flex:0 0 140px;aspect-ratio:3/2;background:var(--ph);overflow:hidden}
.spt-ref .spt-adj__thumb img{width:100%;height:100%!important;object-fit:cover;transition:transform .4s}
.spt-ref .spt-adj__link:hover img{transform:scale(1.04)}
.spt-ref .spt-adj__txt{display:flex;flex-direction:column;gap:6px;min-width:0}
.spt-ref .spt-adj__title{font-family:'Tenor Sans',sans-serif;font-size:18px;line-height:1.35}
.spt-ref .spt-adj__link:hover .spt-adj__title{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:4px}

/* 9. Autres références */
.spt-ref .spt-related{background:var(--cream);padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(56px,7vw,96px)}
.spt-ref .spt-related .spt-wrap{display:flex;flex-direction:column;gap:32px}
.spt-ref .spt-related__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px}
body .spt-ref .spt-related__head h2{font-size:clamp(26px,2.4vw,34px);line-height:1.2}
body .spt-ref .spt-related__all{color:var(--ink);font-size:12px;font-weight:500;letter-spacing:2.16px;text-transform:uppercase;text-underline-offset:4px}
.spt-ref .spt-related__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
body .spt-ref .spt-card{display:flex;flex-direction:column;gap:14px;color:var(--ink);text-decoration:none;background:#fff;padding-bottom:22px;transition:box-shadow .3s}
body .spt-ref .spt-card:hover{box-shadow:0 10px 30px rgba(14,14,16,.08)}
.spt-ref .spt-card__img{aspect-ratio:3/2;background:var(--ph);overflow:hidden;display:block}
.spt-ref .spt-card__img img{width:100%;height:100%!important;object-fit:cover;transition:transform .4s}
.spt-ref .spt-card:hover .spt-card__img img{transform:scale(1.04)}
.spt-ref .spt-card .spt-overline,.spt-ref .spt-card__title{padding:0 22px}
.spt-ref .spt-card__title{font-family:'Tenor Sans',sans-serif;font-size:18px;line-height:1.35}

/* Modèle Elementor : aucun espace parasite entre les blocs */
body.spt-reference .spt-ref-tpl .elementor-widget:not(:last-child){margin-bottom:0}
body.spt-reference .spt-ref-tpl .elementor-widget-container{padding:0;margin:0}
body.spt-reference .spt-ref-tpl .elementor-column-gap-default>.elementor-column>.elementor-element-populated{padding:0}

@media (min-width:900px){
	.spt-ref .spt-chapo .spt-wrap,.spt-ref .spt-part__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:16px 80px}
}
@media (max-width:767px){
	body .spt-ref{font-size:16px}
	.spt-ref .spt-fiche{grid-template-columns:repeat(2,minmax(0,1fr))}
	.spt-ref .spt-part__head{gap:12px}
	.spt-ref .spt-part__aside{flex-direction:row;align-items:baseline;gap:14px}
	.spt-ref .spt-part__num{font-size:34px}
	body .spt-ref .wp-block-gallery.has-nested-images{grid-template-columns:1fr}
	.spt-ref .spt-planche__swatches{min-height:150px}
	body .spt-ref .spt-video__play{width:68px;height:68px}
	.spt-ref .spt-adj__thumb{flex-basis:110px}
	body .spt-ref .spt-adj__link--next{flex-direction:row;text-align:left}
}
@media (max-width:359px){
	.spt-ref .spt-fiche{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
	.spt-ref *{transition:none!important}
}
