/* =====================================================================
   En-tête du site jessy-piacentini.com
   Reprend le menu principal du site en ligne (Hostinger) :
   fond #0d2847, liens blancs, survol rgb(207,226,245), largeur 1240px,
   hauteur 88px (70px en mobile), logo officiel 250x88 (200x70 en mobile), sous-menus Intelligence artificielle et
   Web et sites internet.
   ===================================================================== */
.jph{position:relative;z-index:1000;background:#0d2847;box-shadow:0 2px 12px rgba(0,0,0,.28);font-family:'Inter','Helvetica Neue',Arial,sans-serif}
.jph *{box-sizing:border-box}
.jph-in{max-width:1240px;margin:0 auto;padding:0 16px;min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.jph-logo{display:flex;align-items:center;flex-shrink:0;text-decoration:none}
.jph-logo img{display:block;width:auto;max-width:250px;max-height:88px;height:auto}
.jph-nav{display:block}
.jph-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:26px}
.jph-list>li{position:relative;display:flex;align-items:center}
.jph-list a{color:#fff;text-decoration:none;font-size:.95rem;font-weight:400;line-height:1.3;transition:color .2s;white-space:nowrap}
.jph-list a:hover,.jph-list a:focus-visible{color:rgb(207,226,245)}
.jph-list a[aria-current="page"]{color:rgb(207,226,245);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.jph-sub-toggle{background:none;border:0;color:#fff;cursor:pointer;padding:6px 0 6px 6px;font-size:.7rem;line-height:1;display:inline-flex;align-items:center}
.jph-sub-toggle:hover{color:rgb(207,226,245)}
.jph-sub{list-style:none;margin:0;padding:10px 0;position:absolute;top:100%;left:-14px;min-width:300px;max-width:360px;background:rgb(22,69,123);border-radius:0 0 10px 10px;box-shadow:0 14px 30px rgba(0,0,0,.3);display:none}
.jph-list>li:nth-last-child(-n+2)>.jph-sub{left:auto;right:-14px}
@keyframes jph-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.jph-sub li{display:block}
.jph-sub a{display:block;padding:9px 18px;font-size:.88rem;white-space:normal;color:#fff}
.jph-sub a:hover{background:rgba(255,255,255,.08)}
.jph-has-sub::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.jph-has-sub:hover>.jph-sub,.jph-has-sub:focus-within>.jph-sub,.jph-has-sub.jph-open>.jph-sub{display:block;animation:jph-in .18s ease}
.jph-burger{display:none;background:none;border:0;cursor:pointer;width:44px;height:44px;padding:10px;flex-direction:column;justify-content:space-between}
.jph-burger span{display:block;height:2px;background:#fff;border-radius:2px;transition:transform .2s,opacity .2s}
.jph-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(10px) rotate(45deg)}
.jph-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.jph-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}

@media (max-width:1100px){
  .jph-in{flex-wrap:wrap;gap:0;min-height:70px}
  .jph-logo img{max-width:200px;max-height:70px}
  .jph-burger{display:flex}
  .jph-nav{display:none;width:100%;padding:6px 0 18px}
  .jph-nav.jph-nav-open{display:block}
  .jph-list{flex-direction:column;align-items:stretch;gap:0}
  .jph-list>li{flex-wrap:wrap;justify-content:space-between;border-top:1px solid rgba(255,255,255,.1)}
  .jph-list>li>a{padding:13px 4px;font-size:1rem}
  .jph-sub-toggle{padding:13px 8px;font-size:.85rem}
  .jph-has-sub::after{display:none}
  .jph-sub{position:static;width:100%;max-width:none;min-width:0;border-radius:8px;box-shadow:none;margin:0 0 10px;display:none;animation:none}
  .jph-list>li:nth-last-child(-n+2)>.jph-sub{right:auto}
  .jph-has-sub:hover>.jph-sub,.jph-has-sub:focus-within>.jph-sub{display:none}
  .jph-has-sub.jph-open>.jph-sub{display:block}
}
