/* Prehome Centre Jean Perrin – V2 */
.cjp-ph{--cjp-navy:#26284E;--cjp-navy-2:#32356a;--cjp-orange:#EA560D;--cjp-blue:#009FE3;
  position:fixed;inset:0;z-index:9000;background:rgba(15,16,38,.78);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;animation:cjp-fade .35s ease both}
.cjp-ph *,.cjp-ph *::before,.cjp-ph *::after{box-sizing:border-box}
.cjp-ph.cjp-is-hidden{display:none}

.cjp-ph__box{position:relative;width:860px;max-width:100%;border-radius:18px;
  background:radial-gradient(120% 140% at 85% 10%,var(--cjp-navy-2) 0%,var(--cjp-navy) 55%);
  box-shadow:0 30px 80px rgba(0,0,0,.45);display:grid;grid-template-columns:400px 1fr;min-height:470px;
  animation:cjp-pop .5s cubic-bezier(.2,.9,.3,1.2) both .05s}
.cjp-ph__box::after{content:"";position:absolute;inset:0;border-radius:18px;pointer-events:none;
  background:radial-gradient(circle at 92% 88%,rgba(0,159,227,.18),transparent 40%)}

.cjp-ph__close{position:absolute;top:-14px;right:-14px;width:38px;height:38px;border-radius:50%;border:0;padding:0;
  background:#fff;cursor:pointer;z-index:3;box-shadow:0 4px 14px rgba(0,0,0,.3);transition:transform .2s}
.cjp-ph__close:hover{transform:rotate(90deg)}
.cjp-ph__close::before,.cjp-ph__close::after{content:"";position:absolute;top:50%;left:50%;width:16px;height:3px;
  background:var(--cjp-orange);border-radius:2px}
.cjp-ph__close::before{transform:translate(-50%,-50%) rotate(45deg)}
.cjp-ph__close::after{transform:translate(-50%,-50%) rotate(-45deg)}

.cjp-ph__photo{position:relative;border-radius:18px 0 0 18px;overflow:hidden}
.cjp-ph__photo img{position:absolute;left:0;bottom:0;height:100%;width:auto;max-width:none;display:block}
.cjp-ph__pastille{position:absolute;left:300px;top:38px;width:132px;z-index:2;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));animation:cjp-stamp .6s cubic-bezier(.2,.9,.3,1.4) both .45s}
.cjp-ph__pastille img{width:100%;display:block}

.cjp-ph__content{position:relative;z-index:1;padding:56px 56px 44px 40px;display:flex;flex-direction:column;
  align-items:flex-end;text-align:right;color:#fff}
.cjp-ph__eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.65);
  margin:0 0 22px;font-weight:600;line-height:1.4}
.cjp-ph__eyebrow span{color:var(--cjp-blue);white-space:nowrap}
.cjp-ph__title{width:340px;max-width:100%;display:block;margin:0 0 22px}
.cjp-ph__info{margin:0 0 28px;font-size:15px;line-height:1.5;color:rgba(255,255,255,.85);max-width:330px}
.cjp-ph__info strong{color:#fff;white-space:nowrap}
.cjp-ph__cta{display:inline-flex;align-items:center;gap:12px;background:var(--cjp-orange);color:#fff!important;
  text-decoration:none!important;font-weight:800;font-size:18px;letter-spacing:.06em;padding:16px 28px;border-radius:999px;
  box-shadow:0 10px 24px rgba(234,86,13,.4);transition:transform .2s,box-shadow .2s,background .2s;
  animation:cjp-pulse 2.4s ease-in-out infinite 1.2s}
.cjp-ph__cta:hover{transform:translateY(-2px);background:#ff6516;box-shadow:0 14px 30px rgba(234,86,13,.55);animation:none}
.cjp-ph__cta svg{transition:transform .2s}
.cjp-ph__cta:hover svg{transform:translateX(4px)}
.cjp-ph__later{margin-top:16px;background:none;border:0;color:rgba(255,255,255,.55);font-size:13px;cursor:pointer;
  text-decoration:underline;text-underline-offset:3px;padding:0;font-family:inherit}
.cjp-ph__later:hover{color:#fff}
.cjp-ph__secure{margin:auto 0 0;padding-top:22px;font-size:12px;color:rgba(255,255,255,.5);display:flex;gap:6px;align-items:center}

@keyframes cjp-fade{from{opacity:0}}
@keyframes cjp-pop{from{opacity:0;transform:translateY(24px) scale(.96)}}
@keyframes cjp-stamp{from{opacity:0;transform:scale(.4) rotate(-25deg)}}
@keyframes cjp-pulse{0%,100%{box-shadow:0 10px 24px rgba(234,86,13,.4),0 0 0 0 rgba(234,86,13,.5)}
  50%{box-shadow:0 10px 24px rgba(234,86,13,.4),0 0 0 12px rgba(234,86,13,0)}}
@media (prefers-reduced-motion:reduce){.cjp-ph,.cjp-ph *{animation:none!important;transition:none!important}}

/* Tablette */
@media (max-width:780px){
  .cjp-ph__box{grid-template-columns:300px 1fr;min-height:420px}
  .cjp-ph__pastille{left:220px;width:104px}
  .cjp-ph__content{padding:44px 32px 32px 20px}
  .cjp-ph__title{width:280px}
}
/* Mobile */
@media (max-width:600px){
  .cjp-ph{align-items:flex-start;overflow-y:auto}
  .cjp-ph__box{grid-template-columns:1fr;min-height:0;margin:20px 0}
  .cjp-ph__photo{height:230px;border-radius:18px 18px 0 0}
  .cjp-ph__photo img{height:auto;width:100%;bottom:auto;top:-8%}
  .cjp-ph__photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:70px;
    background:linear-gradient(transparent,var(--cjp-navy))}
  .cjp-ph__pastille{left:auto;right:16px;top:150px;width:96px}
  .cjp-ph__content{align-items:center;text-align:center;padding:30px 24px 26px}
  .cjp-ph__title{width:260px;margin:0 auto 22px}
  .cjp-ph__info{font-size:14px}
  .cjp-ph__secure{justify-content:center}
}

/* ===== Protection contre les styles du site ===== */
.cjp-ph p{margin-left:0;margin-right:0}
.cjp-ph img{border:0;box-shadow:none;height:auto}
.cjp-ph .cjp-ph__photo img{height:100%!important;width:auto!important;max-width:none!important}
.cjp-ph svg{display:inline-block!important;flex:0 0 auto!important;max-width:none!important;vertical-align:middle}
.cjp-ph .cjp-ph__cta{white-space:nowrap!important;line-height:1!important;word-break:normal!important}
.cjp-ph .cjp-ph__cta svg{width:18px!important;height:18px!important}
.cjp-ph .cjp-ph__secure{flex-wrap:nowrap;white-space:nowrap;line-height:1.2}
.cjp-ph .cjp-ph__secure svg{width:12px!important;height:12px!important}
.cjp-ph .cjp-ph__pastille img,.cjp-ph .cjp-ph__title{height:auto!important}
@media (max-width:600px){.cjp-ph .cjp-ph__photo img{height:auto!important;width:100%!important}}
