/* sac fond rond v7 : ajouts sur la base sac-de-ciment.fr */
.sfr3d{position:relative;height:min(640px,72vh);border-radius:28px;overflow:hidden;background:radial-gradient(circle at 55% 40%,#1d4f86 0%,#0b2f5a 50%,#003366 100%)}
.sfr3d__stage{position:absolute;inset:0;cursor:grab}.sfr3d__stage canvas{display:block;width:100%!important;height:100%!important}
.sfr3d__hint{position:absolute;right:18px;bottom:16px;color:#fff;font-size:12px;background:rgba(255,255,255,.14);padding:6px 12px;border-radius:999px}
.s05-list.s05-six{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.sp06-line.sp06-two{display:grid!important;grid-template-columns:1fr 1fr!important;gap:24px}
.sp06-two figure{grid-column:auto!important;grid-row:auto!important;margin:0}.sp06-two .sp06-ph{aspect-ratio:4/3}.sp06-two .sp06-ph img{width:100%;height:100%;object-fit:cover}
.fp-valves.fp-three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.sp-pres__ph img{object-fit:contain;background:#fff}
@media(max-width:860px){.s05-list.s05-six,.fp-valves.fp-three,.sp06-line.sp06-two{grid-template-columns:1fr!important}.sfr3d{height:420px}}
/* ===== v8 ===== */
/* haut de page plein écran, comme sac-de-ciment.fr */
.sp01-hero{min-height:min(calc(100vh - 80px),860px)}
.sp01-hero__w{min-height:min(calc(100vh - 80px),860px);align-items:stretch!important}
.sp01-hero__left{align-self:center}
.sp01-hero__right{align-self:stretch;margin-right:calc(50% - 50vw)!important;display:flex}
.sfr3d{flex:1;height:auto;min-height:min(calc(100vh - 80px),860px);border-radius:0;background:#F3F5F7}
.sfr3d__hint{color:#003366;background:#fff;border:1px solid #E2E8F0}
/* cartes 3D */
.sp-pres__3d{width:100%;aspect-ratio:4/3;background:linear-gradient(180deg,#F6F8FA,#ECF0F4);cursor:grab}
.sp-pres__3d canvas{display:block;width:100%!important;height:100%!important}
/* deux schémas */
.s05-list.s05-two{grid-template-columns:1fr 1fr!important;gap:28px!important}
.s05-two .s05-item{padding:28px!important}
.s05-two .s05-big{width:100%;height:auto;aspect-ratio:420/220;background:#fff;border-radius:10px;padding:14px;box-sizing:border-box;margin:14px 0 18px}
.s05-two h3{font-size:22px!important}.s05-two p{font-size:16px!important;line-height:1.55!important;max-width:46ch}
/* FAQ : titre + numéro à gauche, questions à droite */
.s09-faq>.s09-faq__w{display:grid!important;grid-template-columns:4fr 8fr!important;gap:64px!important;align-items:start}
.s09-faq>.s09-faq__w>.s09-faq__head.num-c-head{display:flex!important;flex-direction:column;align-items:flex-start;gap:14px;position:sticky;top:110px}
.s09-faq>.s09-faq__w>.s09-faq__head.num-c-head>*{grid-column:auto!important;max-width:30ch}
.s09-faq__list{max-width:none!important}
/* devis compact */
.s10-devis{padding:72px 0!important}
.s10-devis .cbs-p5__panel{padding:36px 40px!important;gap:40px!important}
.cbs-p5__title{margin:0 0 8px!important;font-size:clamp(28px,2.6vw,36px)!important}
.cbs-p5__desc{margin:0 0 22px;color:#5A6B7D;font-size:16px;line-height:1.5;max-width:40ch}
.cbs-p5__joindre-block{margin-top:0!important}.cbs-p5__item{margin-bottom:10px!important}
.cbs-p5__form .cbs-p5__row{gap:12px!important;margin-bottom:12px!important}
.cbs-p5__form textarea{min-height:90px!important}
@media(max-width:1024px){.sp01-hero__right{margin-right:0!important}.sfr3d{min-height:460px}.s09-faq>.s09-faq__w{grid-template-columns:1fr!important;gap:24px!important}.s09-faq__head{position:static!important}.s05-list.s05-two{grid-template-columns:1fr!important}}
.sp01-hero,.sp01-hero__w{height:auto!important;max-height:none!important;min-height:0!important}
.sp01-hero__w{min-height:min(calc(100vh - 80px),860px)!important}
.sfr3d{min-height:0!important;height:min(calc(100vh - 80px),860px)!important}
.s05-two .s05-schema.s05-big{width:100%!important;max-width:none!important;height:auto!important;display:block}.s05-two .s05-item{display:flex!important;flex-direction:column;align-items:stretch!important}
.sp06-line.sp06-two>figure{width:auto!important;max-width:none!important;margin:0!important;transform:none!important}.sp06-two .sp06-ph{aspect-ratio:4/3!important;height:auto!important;max-height:none!important;overflow:hidden}.sp06-two .sp06-ph img{width:100%!important;height:100%!important;object-fit:cover!important}
.sp06-line.sp06-two>figure{grid-column:auto!important;aspect-ratio:auto!important;margin-top:0!important}.s05-two .s05-item{display:block!important;grid-template-columns:none!important}.s05-two .s05-item>*{grid-column:auto!important}
.s09-faq>.s09-faq__w>.s09-faq__head.num-c-head>.s09-faq__num{align-self:flex-start!important;text-align:left!important;margin:0!important}
/* v9 */
.sp-pres__ph{background:#F3F5F7!important;position:relative}
.sp-pres__3d{background:#F3F5F7!important;touch-action:none}
.h3d-views{position:absolute;left:12px;right:12px;bottom:12px;display:flex;gap:6px;flex-wrap:wrap;justify-content:center;z-index:2}
.h3d-views button{font:500 12px/1 inherit;font-family:inherit;padding:7px 11px;border-radius:999px;border:1px solid #D5DCE4;background:#fff;color:#0B2545;cursor:pointer}
.h3d-views button.on,.h3d-views button:hover{background:#0B2545;color:#fff;border-color:#0B2545}
.s07-gain b{color:#1C8048}
.s10-devis{padding:44px 0!important}
.s10-devis .cbs-p5__panel{padding:24px 28px!important;gap:28px!important;max-width:1040px;margin:0 auto}
.s10-devis .cbs-p5__form label{font-size:12px!important;margin-bottom:3px!important}
.s10-devis .cbs-p5__form input,.s10-devis .cbs-p5__form select,.s10-devis .cbs-p5__form textarea{font-size:14px!important;padding:8px 10px!important;min-height:0!important;height:auto}
.s10-devis .cbs-p5__form .cbs-p5__row{gap:10px!important;margin-bottom:8px!important}
.s10-devis .cbs-p5__form textarea{min-height:60px!important}
.s10-devis .cbs-p5__form button,.s10-devis .cbs-p5__form [type=submit]{font-size:14px!important;padding:10px 20px!important}
.s10-devis .cbs-p5__form p,.s10-devis .cbs-p5__form small{font-size:12px!important}
/* v10 devis compact global */
.s10-devis{padding:36px 0!important}
.s10-devis .cbs-p5__panel{padding:22px 28px!important;gap:32px!important;max-width:1000px}
.s10-devis .cbs-p5__form .cbs-p5__row{margin-bottom:6px!important}
.s10-devis .cbs-p5__form textarea{min-height:50px!important;height:50px}
.s10-devis .cbs-p5__form input,.s10-devis .cbs-p5__form select{padding:6px 10px!important}
/* mention visuels — 0259 */
.cbs-visual-mention{display:block;margin:8px 0 0;padding:0;font-size:11px;line-height:1.4;color:#8B95A3;font-weight:400;letter-spacing:.01em}
figure .cbs-visual-mention{margin-top:6px}
#contenants .cbs-visual-mention{color:rgba(255,255,255,.55);margin:8px 16px 0}
.sfr3d .cbs-visual-mention{position:absolute;left:14px;right:14px;bottom:6px;margin:0;text-align:center;z-index:2;pointer-events:none;color:#8B95A3}
.sfr3d__hint{bottom:28px}
.cfg__stage .cbs-visual-mention{position:absolute;left:14px;right:14px;bottom:3px;margin:0;text-align:center;z-index:3;pointer-events:none}
.fp-related .cbs-visual-mention{margin:6px 0 12px}
.fp-valves article .cbs-visual-mention{margin:4px 0 10px}
.s05-item .cbs-visual-mention{margin:8px 0 12px;color:rgba(255,255,255,.55)}
[data-s3d-stage] .cbs-visual-mention{position:absolute;left:12px;right:12px;bottom:8px;margin:0;text-align:center;z-index:2;pointer-events:none}
/* mention 1358 : accrochée au visuel (sous l'image ou le modèle 3D), jamais dans le bloc titre / texte de la carte */
.sp-pres__ph{overflow:visible!important}
.sp-pres__ph>.cbs-visual-mention{position:absolute;left:0;right:0;top:100%;margin:4px 0 0;text-align:left;pointer-events:none}
.sp-pres__two .sp-pres__meta{margin-top:30px!important}
.cfg__stage .cfg__dims{bottom:26px}
@media(max-width:700px){.cfg__stage .cfg__dims{bottom:46px}.cfg__stage .cbs-visual-mention{text-align:left}}
@media(min-width:861px){
section#valves ol.s05-two>li.s05-item>.cbs-visual-mention{grid-column:1!important;grid-row:5!important;margin:6px 0 0!important}
section#valves ol.s05-two>li.s05-item:nth-child(2)>.cbs-visual-mention{grid-column:2!important}
}
.fp-valves article>svg+.cbs-visual-mention{margin:4px 0 12px}
/* mention : taille fixe malgré les règles p des sections */
p.cbs-visual-mention{font-size:11px!important;line-height:1.4!important;max-width:none!important;font-family:inherit!important;letter-spacing:.01em!important;text-transform:none!important}
.fp-valves article>p.cbs-visual-mention{color:#8B95A3!important}
section#valves ol.s05-two>li.s05-item>p.cbs-visual-mention{color:rgba(255,255,255,.6)!important}
#contenants p.cbs-visual-mention{color:rgba(255,255,255,.6)!important}
.fp-related{grid-template-columns:220px 1fr auto}
.cbs-vis-wrap{min-width:0}.cbs-vis-wrap .cbs-visual-mention{margin:5px 0 0}
@media(max-width:700px){.fp-related{grid-template-columns:1fr}}
/* photos plein cadre (contenants) : mention en bas de la photo, sous le texte superposé */
#contenants .sp06-two figure>p.cbs-visual-mention{position:absolute;left:48px;right:24px;bottom:12px;margin:0;z-index:3;pointer-events:none}

/* ===== 1511 : séquence 3D épinglée dans le hero (sticky), options de vidange en texte ===== */
.sfr-hero{--sfr-hdh:84px}
.sfr-hero__swap{display:grid;min-width:0}
.sfr-hero__swap>*{grid-area:1/1;min-width:0}
.sfr-hero__intro{display:flex;flex-direction:column;transition:opacity .4s ease,transform .4s ease}
.sfr-hero .sfr-hero__cue{margin:6px 0 0;font-size:14px;line-height:1.4;color:#5A6B7D}
.sfr-hero .sfr-hero__seq{align-self:center;opacity:0;visibility:hidden;transform:translateY(14px)}
.sfr-hero:not(.sfr-hero--ready) .sfr-hero__seq{display:none}
.sfr-hero.is-seq .sfr-hero__intro{opacity:0;visibility:hidden;transform:translateY(-14px);pointer-events:none;transition:opacity .35s ease,transform .35s ease,visibility 0s linear .35s}
.sfr-hero.is-seq .sfr-hero__seq{opacity:1;visibility:visible;transform:none;transition:opacity .45s ease .12s,transform .45s ease .12s}
.sfr-hero .sfr3d__hint{transition:opacity .4s ease}
.sfr-hero.is-seq .sfr3d__hint{opacity:0}
.sfr-hero__steps{list-style:none;margin:0;padding:0 0 0 30px;position:relative;display:grid;gap:14px}
.sfr-hero__steps::before,.sfr-hero__steps::after{content:"";position:absolute;left:0;top:6px;bottom:6px;width:2px}
.sfr-hero__steps::before{background:#E2E8F0}
.sfr-hero__steps::after{background:#5BC889;transform-origin:50% 0;transform:scaleY(var(--sfr-p,0))}
.sfr-hero__steps li{opacity:.4;transition:opacity .45s ease}
.sfr-hero__steps li.is-on{opacity:1}
.sfr-hero .sfr-hero__st{margin:0;font-size:20px;line-height:1.2;font-weight:700;color:#003366}
.sfr-hero__st button{all:unset;box-sizing:border-box;display:inline-flex;align-items:baseline;gap:12px;min-height:36px;cursor:pointer;color:inherit;font:inherit}
.sfr-hero__st button:focus-visible{outline:2px solid #1C8048;outline-offset:3px;border-radius:4px}
.sfr-hero__n{min-width:12px;font-size:14px;font-weight:600;color:#5A6B7D}
.sfr-hero .sfr-hero__tx{display:none;margin:2px 0 0 24px;font-size:16px;line-height:1.55;color:#0F1F33;max-width:36ch}
.sfr-hero__steps li.is-on .sfr-hero__tx{display:block}
/* mode fixe (mouvement réduit ou écran étroit) : pas de sticky, l'accroche et les étapes se lisent ensemble */
.sfr-hero--static .sfr-hero__swap{display:block}
.sfr-hero--static .sfr-hero__seq{opacity:1!important;visibility:visible!important;transform:none!important;margin-top:26px}
.sfr-hero--static .sfr-hero__cue{display:none}
.sfr-hero--static .sfr-hero__steps li:not(.is-on){opacity:.75}
.sfr-hero--static .sfr-hero__steps::after{transform:scaleY(0)}
.sfr-hero--nogl .sfr-hero__seq,.sfr-hero--nogl .sfr-hero__cue{display:none!important}
@media(min-width:901px) and (prefers-reduced-motion:no-preference){
.sfr-hero:not(.sfr-hero--nogl) .sfr-hero__track{height:700vh}
.sfr-hero:not(.sfr-hero--nogl) .sfr-hero__sticky{position:sticky;top:var(--sfr-hdh);height:calc(100vh - var(--sfr-hdh));height:calc(100svh - var(--sfr-hdh));min-height:560px}
.sfr-hero:not(.sfr-hero--nogl) .sfr-hero__sticky>.sp01-hero__w{height:100%!important;min-height:0!important}
.sfr-hero:not(.sfr-hero--nogl) .sfr3d{height:100%!important;min-height:0!important}
}
@media(prefers-reduced-motion:reduce){.sfr-hero__intro,.sfr-hero .sfr3d__hint,.sfr-hero__steps li,.sfr-hero.is-seq .sfr-hero__seq{transition:none}}

/* 1546 : mention du hero entièrement visible à 1280×800 (le cadre dépasse de la hauteur de l'en-tête sous la ligne de flottaison) */
.sfr-hero .sfr3d .cbs-visual-mention{bottom:26px}
.sfr-hero .sfr3d__hint{bottom:52px}

/* 1700 : modèle 3D à la place de la première photo des pages produit (hero3d.js, data-h3d), mention très petite dessous.
   max-height 420 px : à 1280×800 le cadre 4/3 seul dépassait, la mention tombait sous la ligne de flottaison. */
.fp-hero-media .fp-hero-3d{position:relative;width:100%;aspect-ratio:4/3;max-height:420px;min-height:280px;cursor:grab;touch-action:pan-y;background:var(--fp-paper)}
.fp-hero-media .fp-hero-3d canvas{display:block;width:100%!important;height:100%!important}
.fp-hero-media .fp-hero-3d.h3d-off{background:center/cover no-repeat url(/img/sfr-rond-tube.webp)}
.fp-hero-media .fp-hero-3d.h3d-off[data-h3d=carre]{background-image:url(/img/sfr-fond-carre.webp)}
.fp-hero-media .cbs-visual-mention{margin:6px 0 0;padding:0;text-align:center}

/* 1800 : bloc vidéo 9:16 de l'accueil, juste après la section de la cuve */
.sfr-film{background:#fff;padding:88px 24px;border-bottom:1px solid #E2E8F0}
.sfr-film__w{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:auto minmax(0,460px);justify-content:center;align-items:center;gap:72px}
.sfr-film__fig{width:min(360px,calc((100vh - 200px)*9/16));min-width:220px}
.sfr-film__frame{aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#F3F5F7}
.sfr-film__frame video{display:block;width:100%;height:100%;object-fit:cover}
.sfr-film__tx h2{margin:0 0 16px;font-size:clamp(30px,3.2vw,44px);line-height:1.1;font-weight:700;color:#003366}
.sfr-film__tx p{margin:0;font-size:18px;line-height:1.6;color:#0F1F33;max-width:42ch}
@media(max-width:860px){.sfr-film{padding:56px 20px}.sfr-film__w{grid-template-columns:minmax(0,1fr);gap:28px;justify-items:center}.sfr-film__fig{width:min(320px,100%)}.sfr-film__tx{text-align:left;max-width:420px;width:100%}}
