:root{
  --hdr-bg: rgba(2,7,15,.78);
  --hdr-bg2: rgba(2,7,15,.45);
  --hdr-txt: #eaf6ff;
  --hdr-muted: rgba(234,246,255,.72);
  --hdr-line: rgba(255,255,255,.10);
  --hdr-accent: #00e5ff;
  --hdr-shadow: 0 10px 40px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{
  position:absolute; left:-9999px; top:auto;
  background:#000; color:#fff; padding:.6rem .9rem; border-radius:.6rem; z-index:9999;
}
.skip-link:focus{left:1rem; top:1rem}

.site-header{
  position:sticky; top:0; z-index:1200;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, var(--hdr-bg), rgba(2,7,15,.35));
  border-bottom: 1px solid var(--hdr-line);
}

.site-header__row{
  display:flex; align-items:center; gap:.75rem;
  padding:.75rem .9rem;
  max-width: 1200px; margin:0 auto;
}

.brand{
  display:flex; align-items:center; gap:.7rem;
  min-width: 0;
  text-decoration:none; color:var(--hdr-txt);
}
.brand__logo{
  width:36px; height:36px; border-radius:10px;
  display:block;
  background: radial-gradient(circle at 30% 30%, rgba(0,229,255,.25), rgba(124,77,255,.12));
  border:1px solid rgba(0,229,255,.25);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset;
}
.brand__text{display:flex; flex-direction:column; line-height:1.05; min-width:0}
.brand__title{
  font-weight:900; letter-spacing:.2px; font-size:1.02rem;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.brand__tag{
  font-size:.8rem; color:var(--hdr-muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.nav-toggle{
  margin-left:auto;
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--hdr-line);
  background: rgba(255,255,255,.04);
  color:var(--hdr-txt);
}
.nav-toggle__icon{
  width:18px; height:2px; background: var(--hdr-txt);
  position:relative; border-radius:999px;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after{
  content:""; position:absolute; left:0; width:18px; height:2px;
  background: var(--hdr-txt); border-radius:999px;
}
.nav-toggle__icon::before{top:-6px}
.nav-toggle__icon::after{top:6px}

.nav{
  display:none;
  gap:.55rem;
  align-items:center;
}
.nav__link, .nav__cta, .style-btn{
  border:1px solid var(--hdr-line);
  background: rgba(255,255,255,.03);
  color: var(--hdr-txt);
  text-decoration:none;
  border-radius: 12px;
  padding: .58rem .78rem;
  font-size: .92rem;
  line-height: 1;
  white-space:nowrap;
}
.nav__link:hover, .nav__cta:hover, .style-btn:hover{
  border-color: rgba(0,229,255,.35);
  box-shadow: 0 0 0 3px rgba(0,229,255,.08);
}
.nav__link.is-active{
  border-color: rgba(0,229,255,.55);
  background: rgba(0,229,255,.10);
}
.nav__cta{
  display:inline-flex; gap:.5rem; align-items:center;
  border-color: rgba(0,229,255,.35);
}
.nav__cta strong{color:var(--hdr-accent)}
.muted{color:var(--hdr-muted); font-weight:500}
.style-btn{padding:.58rem .7rem}

.ticker{
  border-top:1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(2,7,15,.35), rgba(2,7,15,.18));
  overflow:hidden;
}
.ticker__track{
  display:flex; gap:2.5rem;
  will-change: transform;
  animation: ticker 26s linear infinite;
}
.ticker__content{
  display:inline-flex; align-items:center; gap:.7rem;
  padding:.45rem .9rem;
  color: rgba(234,246,255,.80);
  font-size:.86rem;
}
.ticker__dot{opacity:.55}
@keyframes ticker{
  from{transform: translateX(0)}
  to{transform: translateX(-50%)}
}

/* Desktop */
@media (min-width: 980px){
  .nav-toggle{display:none}
  .nav{display:flex; margin-left:auto;}
}

/* Mobile menu (ouvert) */
.site-header.is-open .nav{
  display:flex;
  flex-wrap:wrap;
  width:100%;
  margin-top:.65rem;
  margin-left:0;
  padding:.75rem;
  border-radius: 16px;
  background: rgba(2,7,15,.55);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: var(--hdr-shadow);
}
.site-header.is-open .site-header__row{flex-wrap:wrap}

/* Respect du “réduire les animations” */
@media (prefers-reduced-motion: reduce){
  .ticker__track{animation:none}
}
