/* Styles isolated to BPC vitrine blocks. */
.bpcv-wrap,.bpcv-single{--bpcv-blue:#1764be;--bpcv-ink:#17263f;--bpcv-muted:#627084;--bpcv-line:#e6eaf2;box-sizing:border-box;color:var(--bpcv-ink);font-family:inherit;max-width:1220px;margin:0 auto;padding:18px 16px 38px}
.bpcv-wrap *, .bpcv-single *{box-sizing:border-box}
.bpcv-section{margin:14px 0 40px}
.bpcv-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding-bottom:11px;border-bottom:2px solid #e9f0fa}
.bpcv-section-headline{display:flex;align-items:center;gap:11px;min-width:0}
.bpcv-section h2{color:var(--bpcv-ink)!important;letter-spacing:-.02em;font-size:clamp(18px,2.2vw,25px)!important;line-height:1.2!important;font-weight:800!important;margin:0!important}
.bpcv-icon{display:inline-grid;place-items:center;flex:none;background:#eaf3ff;width:40px;height:40px;border-radius:13px;font-size:22px}
.bpcv-actions{display:flex;gap:8px;flex:none}
.bpcv-arrow{appearance:none!important;display:grid!important;place-items:center!important;font:700 27px/1 system-ui!important;border:1px solid #d4e1ef!important;color:#1764be!important;background:#fff!important;border-radius:50%!important;width:37px!important;height:37px!important;padding:0!important;cursor:pointer!important;box-shadow:0 2px 6px #0e34710a!important}
.bpcv-arrow:hover{background:#e9f3ff!important}
.bpcv-arrow:disabled{opacity:.3;cursor:default!important}
.bpcv-track{display:flex;gap:17px;overflow-x:auto;overscroll-behavior-x:contain;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#bdc8dc transparent;padding:2px 2px 15px}
.bpcv-card{color:var(--bpcv-ink)!important;display:flex;flex:none;flex-direction:column;text-decoration:none!important;background:#fff;border:1px solid var(--bpcv-line);border-radius:19px;overflow:hidden;width:calc((100% - 51px)/3.3);min-width:235px;max-width:335px;scroll-snap-align:start;box-shadow:0 7px 24px rgba(20,48,93,.065);transition:transform .15s ease,box-shadow .15s ease}
.bpcv-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px #133f751b;text-decoration:none!important}
.bpcv-picture{height:175px;background:linear-gradient(145deg,#e7f1ff,#e5f7fa 64%,#f4f5ff);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.bpcv-photo{height:100%!important;width:100%!important;object-fit:cover!important;margin:0!important;display:block}
.bpcv-noimage{font-size:63px;line-height:1.4}
.bpcv-card-inner{display:flex;flex:1;flex-direction:column;padding:16px 16px 18px;gap:9px}
.bpcv-card-title{font-size:16px;line-height:1.32;font-weight:800;color:var(--bpcv-ink)}
.bpcv-date{font-size:12px;color:var(--bpcv-muted);font-weight:500}
.bpcv-card-cta{margin-top:auto;font-size:13px;font-weight:750;color:var(--bpcv-blue)}
.bpcv-demo-tag{position:absolute;top:12px;left:12px;border-radius:20px;background:#fff;padding:4px 9px;font-size:10px;font-style:normal;font-weight:800;color:#5d728f;letter-spacing:.06em}
.bpcv-demo-card{border-style:dashed;cursor:default}
.bpcv-demo-card:hover{transform:none;box-shadow:0 7px 24px rgba(20,48,93,.065)}
.bpcv-editor-note{color:#8391a8;font-size:12px;margin:0}
.bpcv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}
.bpcv-grid .bpcv-card{width:100%;min-width:0;max-width:none}
.bpcv-single{padding-top:35px;padding-bottom:65px}
.bpcv-back{color:var(--bpcv-blue);font-size:14px;text-decoration:none;display:inline-block;margin:0 0 18px}
.bpcv-detail{border:1px solid var(--bpcv-line);border-radius:23px;background:white;box-shadow:0 12px 44px #183c6e0d;overflow:hidden;display:grid;grid-template-columns:minmax(250px,43%) minmax(0,1fr)}
.bpcv-detail-image{margin:0!important;background:#edf3fb;min-height:340px}
.bpcv-detail-image img{height:100%;width:100%;object-fit:contain;display:block;margin:0!important}
.bpcv-detail-body{padding:clamp(20px,3.5vw,42px)}
.bpcv-detail-overline{font-size:11px;font-weight:850;letter-spacing:.12em;color:var(--bpcv-blue)}
.bpcv-detail h1{font-size:clamp(24px,3vw,36px);line-height:1.18;margin:10px 0 16px;color:var(--bpcv-ink)}
.bpcv-detail-date{font-size:14px;background:#f0f6ff;color:#285a9a;border-radius:9px;padding:8px 12px;display:inline-block}
.bpcv-detail-content{font-size:16px;line-height:1.68;color:#26364e;margin:20px 0}
.bpcv-main-button{display:inline-block;padding:13px 20px;border-radius:12px;background:var(--bpcv-blue);color:white!important;text-decoration:none;font-weight:700}
@media(max-width:850px){.bpcv-card{width:calc((100% - 20px)/2.1);min-width:220px}.bpcv-detail{grid-template-columns:1fr}.bpcv-detail-image{min-height:0;max-height:420px}}
@media(max-width:540px){.bpcv-wrap{padding:12px 8px}.bpcv-section{margin-bottom:30px}.bpcv-section h2{font-size:17px!important}.bpcv-icon{width:34px;height:34px;font-size:18px}.bpcv-track{gap:12px}.bpcv-card{width:75%;min-width:210px}.bpcv-picture{height:155px}.bpcv-section-head{gap:8px}.bpcv-actions{gap:4px}.bpcv-arrow{width:32px!important;height:32px!important}.bpcv-detail-body{padding:22px}}
@media(prefers-reduced-motion:reduce){.bpcv-track{scroll-behavior:auto}.bpcv-card{transition:none}}

/* Centre une vitrine large même quand le thème impose une colonne de texte étroite. */
.bpcv-wrap{width:min(1220px,calc(100vw - 28px));max-width:none;position:relative;left:50%;transform:translateX(-50%);margin-left:0;margin-right:0}
