/* Public contact controls and training-page overflow. */
body.single-product .product:has(.cef-brochure)>.woocommerce-tabs::after{width:100vw;max-width:100vw}
body.single-product .product:has(.cef-brochure)>.acf-documents{margin-left:0!important;margin-right:0!important}
body #contact-popup{box-sizing:border-box;width:min(350px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 160px);overflow-y:auto;overscroll-behavior:contain;right:16px;bottom:108px;transform-origin:bottom right}
body #contact-popup .header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
body #contact-popup .header .h4{margin:0;font-size:22px;line-height:1.25}
body #contact-popup #close-popup{display:grid;place-items:center;flex:0 0 44px;width:44px;min-height:44px;padding:0}
body #contact-popup .content{padding:14px}
body #contact-popup .actions{display:grid;gap:10px}
body #contact-popup .actions>a{box-sizing:border-box;width:100%!important;min-width:0;min-height:46px;margin:0!important;padding:12px 14px;white-space:normal;line-height:1.3;font-size:17px}
body #contact-bubble[aria-expanded="false"]~#contact-popup{visibility:hidden;pointer-events:none}
body #contact-bubble[aria-expanded="true"]~#contact-popup{visibility:visible;pointer-events:auto}
@media(max-width:767px){
 body #contact-bubble.cef-jessie-launch{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:56px;height:56px;padding:2px!important;border-width:2px!important}
 body #contact-bubble.cef-jessie-launch .cef-jessie-avatar{width:48px;height:48px}
 body #contact-popup{right:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 68px);width:calc(100vw - 24px);max-width:350px;max-height:calc(100dvh - 150px);border-radius:12px}
 body:has(.cef-brochure-form:focus-within) #contact-bubble.cef-jessie-launch[aria-expanded="false"]{visibility:hidden;pointer-events:none}
 body.page-id-1273 section:has(#bilan-orientation-gratuit) .btn{width:100%;white-space:normal;text-align:center;line-height:1.35}
 body.page-id-1273 #bilan-orientation-gratuit{font-size:28px;line-height:1.2}
}
@media(max-width:480px){body #contact-popup .header{padding:10px 12px}body #contact-popup .content{padding:12px}body #contact-popup .header .h4{font-size:20px}body #contact-popup .actions>a{font-size:16px}}
@media(max-height:500px){body #contact-popup{max-height:calc(100dvh - 110px);bottom:82px}body #contact-popup .header{padding:6px 12px}body #contact-popup .actions{gap:6px}}

@media(max-width:991px){body.page-id-1273 section:has(#bilan-orientation-gratuit) .col-12{margin-top:16px!important;margin-bottom:16px!important}}
