/* V19 — toutes les règles sont isolées du thème, d'Elementor et d'autres comparateurs. */
.bac-v19 { width:100%; max-width:var(--bac-max-width,1700px); min-width:0; margin-inline:auto; }
.bac-v19, .bac-v19 * { box-sizing:border-box; }
.bac-v19__frame { position:relative; display:block; width:100%; aspect-ratio:var(--bac-desktop-ratio,4 / 3); overflow:hidden; border-radius:var(--bac-radius,0px); cursor:ew-resize; background:#12303b; touch-action:pan-y; user-select:none; -webkit-user-select:none; outline-offset:4px; --bac-pos:50%; }
.bac-v19__frame:focus-visible { outline:3px solid #5397aa; }
.bac-v19__image { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; max-width:none !important; max-height:none !important; object-fit:cover !important; margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important; display:block !important; pointer-events:none; }
.bac-v19__after { clip-path:inset(0 0 0 var(--bac-pos,50%)); }
.bac-v19__line { position:absolute; top:0; bottom:0; left:var(--bac-pos,50%); width:var(--bac-line-width,2px); transform:translateX(-50%); background:var(--bac-line-color,#fff); pointer-events:none; }
.bac-v19__handle { position:absolute; top:50%; left:var(--bac-pos,50%); width:var(--bac-handle-size,42px); height:var(--bac-handle-size,42px); transform:translate(-50%,-50%); border-radius:50%; display:flex; align-items:center; justify-content:center; background:color-mix(in srgb,var(--bac-handle-bg,#fff) calc(var(--bac-handle-alpha,1) * 100%),transparent); color:var(--bac-handle-icon,#10303c); box-shadow:0 2px 9px #0003; pointer-events:none; }
.bac-v19__arrows { font-size:clamp(11px,calc(var(--bac-handle-size,42px) * .30),22px); white-space:nowrap; font-family:Arial,sans-serif; font-weight:600; letter-spacing:-.12em; padding-right:.12em; line-height:1; }
.bac-v19__label { position:absolute; top:14px; z-index:1; font-family:inherit; text-transform:uppercase; font-weight:650; font-size:var(--bac-label-size,11px); letter-spacing:.08em; line-height:1.3; padding:6px var(--bac-label-pad,10px); color:var(--bac-label-color,#10303c); background:color-mix(in srgb,var(--bac-label-bg,#fff) calc(var(--bac-label-alpha,.65) * 100%),transparent); border-radius:0; pointer-events:none; }
.bac-v19__label--before { left:14px; }.bac-v19__label--after { right:14px; }
/* Sur les petits ecrans, des styles Elementor/theme peuvent annuler la hauteur
   calculee par aspect-ratio : la securiser sans dimensionner les images en JS. */
@media (max-width:767px) {
 .bac-v19 { width:100% !important; max-width:100% !important; min-width:0 !important; }
 .bac-v19 .bac-v19__frame {
   display:block !important;
   position:relative !important;
   width:100% !important;
   height:auto !important;
   min-height:260px !important;
   aspect-ratio:var(--bac-mobile-ratio,4 / 3) !important;
   overflow:hidden !important;
 }
 .bac-v19 .bac-v19__image {
   position:absolute !important;
   inset:0 !important;
   width:100% !important;
   height:100% !important;
   object-fit:cover !important;
 }
 .bac-v19__label {top:10px;padding:5px var(--bac-label-pad,10px);font-size:clamp(9px,var(--bac-label-size,11px),12px)}
 .bac-v19__label--before {left:10px}
 .bac-v19__label--after {right:10px}
}
