/* Prompt & Play — header commun unique Studio / Immobilier / Retail.
   Chargement DERNIER après les CSS propres aux éditions.  Ne concerne QUE #siteHeader.
   Source visuelle : site Studio de l'archive OVH du 30/10/2026.
   La navigation et l'identité utilisent le même composant PHP pour les trois éditions. */
#siteHeader {position:sticky;top:0;z-index:500;background:#fff;color:#141414;box-shadow:0 1px 0 rgba(0,0,0,.07);font-family:Arial,Helvetica,sans-serif;}
#siteHeader *{box-sizing:border-box}
#siteHeader .header-top{display:flex;align-items:center;justify-content:space-between;gap:36px;min-height:105px;padding:16px var(--edge,clamp(24px,6vw,118px));overflow:visible;transition:min-height .35s,padding .35s}
#siteHeader .brand-link{display:inline-flex;align-items:center;flex:none;outline-offset:4px}
#siteHeader .brand-full{display:block;width:clamp(175px,18vw,275px);height:auto;max-height:80px;object-fit:contain;object-position:left center;transition:width .35s,max-height .35s}
#siteHeader .brand-message{text-align:right;max-width:710px;font-size:clamp(13px,1.05vw,17px);position:relative;overflow:visible;transition:opacity .3s}
#siteHeader .brand-message>strong{display:block;font-size:clamp(16px,1.25vw,22px);letter-spacing:-.035em;line-height:1.25;margin-bottom:4px;font-weight:700;color:#141414}
#siteHeader .brand-message>.brand-tagline{display:block!important;font-size:clamp(12px,.95vw,16px);line-height:1.35;color:#393b3c;opacity:1!important}
#siteHeader .header-nav{min-height:57px;border-top:1px solid #d9d9d5;margin:0 var(--edge,clamp(24px,6vw,118px));display:flex;align-items:center;justify-content:space-between;gap:25px;max-width:100%;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
#siteHeader .header-nav::-webkit-scrollbar{display:none}
#siteHeader .header-nav nav{display:flex;align-items:center;gap:clamp(12px,2vw,36px);width:max-content;min-width:0;flex:0 0 auto}
#siteHeader .header-nav nav>a{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:700;color:#303236;text-decoration:none;white-space:nowrap;position:relative;padding:17px 0;transition:color .2s}
#siteHeader .header-nav nav>a:after{content:"";height:2px;position:absolute;left:0;right:0;bottom:7px;background:#ffb900;transform:scaleX(0);transform-origin:left;transition:transform .32s}
#siteHeader .header-nav nav>a:hover,#siteHeader .header-nav nav>a.active{color:#101010}
#siteHeader .header-nav nav>a:hover:after,#siteHeader .header-nav nav>a.active:after{transform:scaleX(1)}
#siteHeader .nav-cta{color:#141414;text-decoration:none;font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:850;letter-spacing:.02em;white-space:nowrap;display:inline-flex;gap:16px;align-items:center}
#siteHeader .nav-cta .arr{width:30px;height:30px;border-radius:50%;background:#ffb900;display:grid;place-items:center;font-size:19px;transition:transform .25s}
#siteHeader .nav-cta:hover .arr{transform:translate(3px,-3px)}
#siteHeader.compact .header-top{min-height:73px;padding-top:7px;padding-bottom:7px}
#siteHeader.compact .brand-full{width:162px;max-height:52px}
#siteHeader.compact .header-nav{min-height:48px}
#siteHeader .pp-editions-nav{display:block;position:relative;margin-top:8px;z-index:700;overflow:visible}
#siteHeader .pp-editions-nav>summary{display:flex;flex-direction:column;align-items:flex-end;gap:2px;list-style:none;cursor:pointer;outline-offset:5px;padding:3px 0}
#siteHeader .pp-editions-nav>summary::-webkit-details-marker{display:none}
#siteHeader .pp-editions-kicker{display:block!important;font-size:9px;line-height:1.25;letter-spacing:.15em;font-weight:850;color:#85827b!important;opacity:1!important}
#siteHeader .pp-editions-current{display:flex!important;align-items:center;gap:9px;font-size:12px;font-weight:850;letter-spacing:.14em;color:#806112!important;opacity:1!important;white-space:nowrap}
#siteHeader .pp-editions-chevron{display:inline-block!important;font-size:19px;line-height:1;color:#d39c05!important;transition:transform .25s}
#siteHeader .pp-editions-nav[open] .pp-editions-chevron{transform:rotate(180deg)}
#siteHeader .pp-editions-panel{position:absolute;right:0;top:calc(100% + 12px);width:290px;max-width:calc(100vw - 36px);z-index:999;background:#15171a;color:#fff;border:1px solid #535154;border-top:3px solid #ffb900;border-radius:4px;box-shadow:0 20px 50px #0005;padding:11px 16px;text-align:left}
#siteHeader .pp-editions-panel-title{font-size:10px;letter-spacing:.14em;font-weight:850;color:#ffca33;margin:5px 2px 10px}
#siteHeader .pp-editions-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px;border-top:1px solid #fff3;text-decoration:none;color:#fff;font-size:12px;font-weight:800;letter-spacing:.055em;line-height:1.25}
#siteHeader a.pp-editions-entry:hover,#siteHeader a.pp-editions-entry:focus-visible{color:#ffce49}
#siteHeader .pp-editions-entry.is-current{color:#ffbe20}
#siteHeader .pp-editions-entry.is-future{color:#a5a7aa}
#siteHeader .pp-editions-entry>span{display:inline!important;font-size:12px!important;opacity:1!important;color:inherit!important}
#siteHeader .pp-editions-entry b{font-size:16px;font-weight:600}
#siteHeader .pp-editions-entry em{font-size:10px;font-weight:500;font-style:normal;letter-spacing:0;color:#c0c0bc;white-space:nowrap}
@media(max-width:1000px){#siteHeader .header-nav{gap:12px}}
@media(max-width:780px){
 #siteHeader .header-top{min-height:80px;gap:12px;padding:12px var(--edge,24px)}
 #siteHeader .brand-full{width:160px;max-height:64px}
 #siteHeader .brand-message>strong{font-size:12px}
 #siteHeader .brand-message>.brand-tagline{font-size:10px}
 #siteHeader .header-nav{min-height:50px;gap:14px}
 #siteHeader .header-nav nav{gap:21px}
 #siteHeader .nav-cta{display:none}
 #siteHeader.compact .header-top{min-height:80px;padding:12px var(--edge,24px)}
 #siteHeader.compact .brand-full{width:150px;max-height:64px}
 #siteHeader.compact .header-nav{min-height:50px}
 #siteHeader .pp-editions-kicker{display:none!important}
 #siteHeader .pp-editions-current{font-size:10px}
 #siteHeader .pp-editions-panel{right:0;top:calc(100% + 9px)}
 #siteHeader #ppEditions>summary{position:relative;pointer-events:auto!important;touch-action:manipulation;min-height:34px;justify-content:center}
 #siteHeader #ppEditions[open] .pp-editions-panel{position:fixed!important;z-index:99999;max-width:calc(100vw - 24px);overflow:auto;overscroll-behavior:contain;pointer-events:auto!important}
}
@media(max-width:490px){#siteHeader .brand-full{width:clamp(108px,31vw,150px)}#siteHeader .header-top{gap:6px}#siteHeader .brand-message>strong{font-size:10px}#siteHeader .brand-message>.brand-tagline{font-size:9px}#siteHeader .pp-editions-current{font-size:9px;letter-spacing:.065em}#siteHeader .pp-editions-panel{width:265px}}
@media(prefers-reduced-motion:reduce){#siteHeader *,#siteHeader *:before,#siteHeader *:after{transition-duration:.01ms!important}}

/* Mobile header retains the approved fixed/collapsed behavior of Studio and Immobilier. */
@media (max-width:780px){
  #siteHeader{position:fixed;top:0;left:0;right:0;width:100%;transform:none;}
  #siteHeader .header-top{overflow:visible;}
  #siteHeader.mobile-nav-only .header-top{height:0;max-height:0;min-height:0;padding-top:0;padding-bottom:0;opacity:0;overflow:hidden;pointer-events:none;}
  #siteHeader .header-nav{max-width:calc(100% - 2 * var(--edge,24px));}
  #siteHeader .header-nav nav{min-width:max-content;}
  #siteHeader #ppEditions[open] .pp-editions-panel{box-sizing:border-box;}
}
@media (max-width:490px){
  #siteHeader .header-top{padding-left:clamp(12px,4vw,24px);padding-right:clamp(12px,4vw,24px)}
  #siteHeader .brand-full{width:clamp(104px,30vw,150px)}
  #siteHeader .brand-message{min-width:0;max-width:min(58vw,250px)}
  #siteHeader .brand-message>strong{line-height:1.18}
  #siteHeader .pp-editions-panel{max-width:calc(100vw - 24px)}
}

/* Un clic souris ne conserve pas un cadre de focus ; le clavier garde focus-visible. */
#siteHeader #ppEditions > summary:focus:not(:focus-visible){outline:none}
