/* Bataillon Frères : visionneuse photo, tampon cliquable, rayons papeterie. */
/* ---------- Photos agrandissables (visionneuse) ---------- */
img.bf-zi{cursor:zoom-in}
html.bf-lb-on{overflow:hidden}
.bf-lb{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:max(16px,4vmin);background:rgba(20,20,22,.93);opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s .25s;cursor:zoom-out}
.bf-lb.on{opacity:1;visibility:visible;transition:opacity .25s}
.bf-lb img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 30px 80px -20px rgba(0,0,0,.6);transform:scale(.96);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.bf-lb.on img{transform:none}
.bf-lb-x{position:absolute;top:14px;right:14px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#212226;font:400 30px/1 sans-serif;display:grid;place-items:center;cursor:pointer;padding:0}
.bf-lb-x:focus-visible{outline:3px solid #C1101D;outline-offset:3px}

/* ---------- Tampon « Fait ici » cliquable ---------- */
.bf-inkpad{cursor:pointer;transition:box-shadow .25s}
.bf-inkpad:hover{box-shadow:0 22px 46px -14px rgba(33,34,38,.45)}
.bf-inkpad:focus-visible{outline:3px solid #C1101D;outline-offset:4px}
.bf-inkpad.bump{animation:bf-thump .5s .55s ease-out}
@keyframes bf-thump{0%{transform:none}40%{transform:scale(.93)}100%{transform:none}}
.bf-print{position:absolute;z-index:3;pointer-events:none;padding:10px 18px;border:4px solid var(--bf-red,#C1101D);border-radius:6px;background:rgba(255,255,255,.78);color:var(--bf-red,#C1101D);font:800 clamp(18px,2.3vw,32px)/1 var(--bf-font,'Jost',sans-serif);letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;opacity:0;transform:rotate(var(--r,0deg));animation:bf-print 2.8s .75s forwards}
@keyframes bf-print{0%{opacity:0;transform:rotate(var(--r,0deg)) scale(1.35)}6%{opacity:.9;transform:rotate(var(--r,0deg)) scale(1)}70%{opacity:.85}100%{opacity:0;transform:rotate(var(--r,0deg)) scale(1)}}
@media (prefers-reduced-motion:reduce){.bf-inkpad.bump{animation:none}.bf-print{animation:none;opacity:.85}}

/* Papeterie, rayons : sous-catégories en texte simple séparé par « / » */
body .elementor .bf-rayons-p .bf-r ul{display:block;gap:0}
body .elementor .bf-rayons-p .bf-r li{display:inline;border:0;border-radius:0;padding:0}
body .elementor .bf-rayons-p .bf-r li:not(:last-child)::after{content:" / ";white-space:pre;opacity:.7}

/* Papeterie, menu des rayons : liens en texte simple séparés par « / » */
body.page-id-243 .elementor .bf-subnav .bf-wrap{gap:0;align-items:center}
body.page-id-243 .elementor .bf-subnav a{padding:8px 0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--bf-ink)}
body.page-id-243 .elementor .bf-subnav a:hover,body.page-id-243 .elementor .bf-subnav a.on{background:none;color:var(--bf-red)}
body.page-id-243 .elementor .bf-subnav a:not(:last-of-type)::after{content:"/";display:inline-block;margin:0 14px;color:var(--bf-muted-ink);font-weight:400}

/* Accueil, 7 univers : même hauteur de case pour tous les logos (le logo Dalbe, carré, ne chevauche plus le titre) */
body .elementor .bf-lg{overflow:hidden}
body .elementor .bf-lg > img{min-height:0;max-height:100%}
body .elementor .bf-it.open .bf-lg{height:105px}
@media (max-width:900px){body .elementor .bf-lg,body .elementor .bf-it.open .bf-lg{height:98px}}
/* texte de l'univers ouvert placé sous le logo (plus de chevauchement sur les écrans moyens) */
body .elementor .bf-acc{height:auto;min-height:460px}
body .elementor .bf-it.open .bf-body{position:relative;left:auto;right:auto;bottom:auto;margin:auto 28px 26px;width:auto;max-width:440px;padding-top:14px}
@media (max-width:1200px){body .elementor .bf-acc{min-height:490px}body .elementor .bf-it.open .bf-lg{height:84px;max-width:112px}}
@media (max-width:900px){body .elementor .bf-acc{min-height:0}body .elementor .bf-it.open .bf-body{margin:0;max-width:none;padding:6px 20px 22px}body .elementor .bf-it.open .bf-lg{height:98px;max-width:none}}

/* ---------- Accessibilité : contrastes et zones tactiles ---------- */
/* rouge éclairci sur fond sombre (contraste suffisant) */
body .elementor .bf-hero .bf-verb{color:#E5323E}
body .elementor .bf-hc-t a span{color:#F25C66}
/* petites étiquettes colorées des univers sur fond clair */
body .elementor .bf-u-dalbe{--uk:#6F5D00}
body .elementor .bf-u-kodak{--uk:#8F4C00}
body .elementor .bf-u-cadre{--uk:#735629}
body .elementor .bf-u-com{--uk:#2F6461}
/* pied de page : titres en h3 (ordre des titres) et couleurs lisibles sur fond sombre */
body .elementor .bf-footer h3{margin:0 0 12px;color:#fff;font-size:14px;font-family:var(--bf-mono);font-weight:500;letter-spacing:.14em;text-transform:uppercase;line-height:1.3}
body .elementor .bf-f-contacts > div[class*="bf-u-"] h3{color:var(--u)}
body .elementor .bf-f-contacts > div.bf-u-pap h3,body .elementor .bf-f-contacts > div.bf-u-pap h4{color:#FF6B73}
body .elementor .bf-f-contacts > div.bf-u-maj h3,body .elementor .bf-f-contacts > div.bf-u-maj h4{color:#6AAAF0}
body .elementor .bf-f-contacts > div.bf-u-mob h3,body .elementor .bf-f-contacts > div.bf-u-mob h4{color:#C89B78}
/* points du diaporama : zone cliquable de 24 px minimum */
body .elementor .bf-hc-dots button{height:24px}
@media (max-width:900px){body .elementor .bf-hc-dots{gap:2px}body .elementor .bf-hc-dots button{width:24px}}
