
.sa-hd, .sa-hd *, .sa-hd *::before, .sa-hd *::after { box-sizing: border-box; margin: 0; padding: 0; }
.sa-hd {
  --ink: #121212; --slate: #56678A; --gray: #72767C; --paper: #FAFAFA; --white: #FFFFFF;
  --line: #E7E7EA; --soft: #F1F1F3; --ok: #1F9D55; --soon: #D99A1E;
  --h: 76px;
  position: sticky; top: var(--sa-ab, 0px); z-index: 9990;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); -webkit-font-smoothing: antialiased;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
body.admin-bar .sa-hd { top: var(--sa-ab, 32px); }
@media (max-width: 782px) { body.admin-bar .sa-hd { top: var(--sa-ab, 46px); } }
.sa-hd a { color: inherit; text-decoration: none; }
.sa-hd button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sa-hd button.sa-link { font-size: 14px; font-weight: 500; }
.sa-hd button.sa-plink { font-size: 17px; font-weight: 500; }
.sa-hd svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sa-hd :focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 12px; }

/* Barre */
.sa-bar { position: relative; background: rgba(250,250,250,.86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.sa-hd.is-scrolled .sa-bar { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(18,18,18,.35); }
.sa-hd.is-hidden { transform: translateY(calc(-100% - var(--sa-ab, 0px) - 12px)); }
body.admin-bar .sa-hd.is-hidden { transform: translateY(calc(-100% - var(--sa-ab, 32px) - 12px)); }
.sa-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: var(--h); display: flex; align-items: center; gap: 20px; transition: height .3s; }
.sa-hd.is-scrolled .sa-in { height: 66px; }

/* Logo */
.sa-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.sa-logo-ic { width: 42px; height: 42px; border-radius: 13px; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.sa-logo:hover .sa-logo-ic { transform: rotate(-8deg) scale(1.04); }
.sa-logo-ic svg { width: 21px; height: 21px; }
.sa-logo b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.sa-logo small { display: block; font-size: 11.5px; color: var(--gray); line-height: 1.3; }

/* Navigation (capsule) */
.sa-nav { margin: 0 auto; display: flex; align-items: center; gap: 2px; padding: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.sa-link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #4A4D52; white-space: nowrap; transition: color .2s, background .2s; }
.sa-link:hover { color: var(--ink); background: rgba(255,255,255,.75); }
.sa-link.is-active { background: var(--ink); color: var(--paper); }
.sa-link .sa-chev { width: 15px; height: 15px; transition: transform .25s; }
.sa-drop.is-open > .sa-link { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(18,18,18,.1); }
.sa-drop.is-open > .sa-link .sa-chev { transform: rotate(180deg); }
.sa-new { font-size: 10px; font-weight: 600; letter-spacing: .02em; padding: 2px 7px; border-radius: 999px; background: var(--slate); color: #fff; }

/* Menu déroulant « Zones » */
.sa-drop { position: relative; }
.sa-mega { position: absolute; top: calc(100% + 14px); left: 50%; width: 620px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(18,18,18,.35), 0 4px 14px -6px rgba(18,18,18,.08); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s, transform .22s, visibility .22s; }
.sa-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.sa-drop.is-open .sa-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sa-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sa-mega-col { padding: 10px; }
.sa-mega-h { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); padding: 4px 10px 10px; }
.sa-mega-h svg { width: 15px; height: 15px; }
.sa-zone { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; transition: background .18s; }
.sa-zone:hover { background: var(--paper); }
.sa-flag, .sa-hd img.sa-flag { width: 28px; height: 28px; max-width: none; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(18,18,18,.08); background: var(--soft); }
.sa-zone b { display: block; font-size: 14px; font-weight: 500; line-height: 1.25; }
.sa-zone small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray); }
.sa-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.sa-dot.soon { background: var(--soon); }
.sa-zone .sa-go { margin-left: auto; width: 16px; height: 16px; color: #B5B8BD; opacity: 0; transform: translateX(-4px); transition: .2s; }
.sa-zone:hover .sa-go { opacity: 1; transform: none; }
.sa-zone.is-feature { background: var(--paper); border: 1px solid var(--line); }
.sa-mega-foot { display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: var(--paper); }
.sa-mega-foot .sa-mf-ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(250,250,250,.1); display: grid; place-items: center; flex: none; }
.sa-mega-foot b { display: block; font-size: 14px; font-weight: 600; }
.sa-mega-foot small { display: block; font-size: 12.5px; color: #A9ADB4; }
.sa-mega-foot .sa-btn { margin-left: auto; }

/* Actions à droite */
.sa-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.sa-icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.sa-icon-btn:hover { border-color: #CFD0D4; background: var(--paper); }
.sa-icon-btn .sa-live { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--white); }
.sa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.sa-btn-dark { background: var(--ink); color: var(--paper) !important; }
.sa-btn-dark:hover { background: #2A2A2C; }
.sa-btn-light { background: var(--paper); color: var(--ink) !important; height: 40px; padding: 0 16px; font-size: 13.5px; }
.sa-btn-light:hover { background: #fff; }
.sa-btn-line { border: 1px solid var(--line); background: var(--white); color: var(--ink) !important; }
.sa-btn .sa-arrow { width: 16px; height: 16px; transition: transform .25s; }
.sa-btn:hover .sa-arrow { transform: translate(2px, -2px); }

/* Hamburger */
.sa-burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink) !important; color: var(--paper) !important; place-items: center; }
.sa-burger span { position: relative; display: block; width: 18px; height: 12px; }
.sa-burger i { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .2s, top .3s; }
.sa-burger i:nth-child(1) { top: 0; }
.sa-burger i:nth-child(2) { top: 5px; }
.sa-burger i:nth-child(3) { top: 10px; }
.sa-hd.is-menu .sa-burger i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.sa-hd.is-menu .sa-burger i:nth-child(2) { opacity: 0; }
.sa-hd.is-menu .sa-burger i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Panneau mobile */
.sa-panel { position: fixed; left: 0; right: 0; top: var(--sa-top, 76px); bottom: 0; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .28s, transform .28s cubic-bezier(.2,.7,.2,1), visibility .28s; display: none; }
.sa-hd.is-menu .sa-panel { opacity: 1; visibility: visible; transform: none; }
.sa-plinks { display: flex; flex-direction: column; }
.sa-plink { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.sa-hd.is-menu .sa-plink { opacity: 1; transform: none; }
.sa-plink .sa-pic { width: 40px; height: 40px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.sa-plink .sa-pend { margin-left: auto; color: #A3A6AB; transition: transform .25s; }
.sa-plink[aria-expanded="true"] .sa-pend { transform: rotate(180deg); }
.sa-plink.is-active { color: var(--ink); }
.sa-plink.is-active .sa-pic { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sa-acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.2,.7,.2,1); }
.sa-acc > div { overflow: hidden; }
.sa-acc.is-open { grid-template-rows: 1fr; }
.sa-acc-in { padding: 8px 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sa-acc-in .sa-zone { background: var(--white); border: 1px solid var(--line); padding: 10px; }
.sa-acc-in .sa-zone b { font-size: 13.5px; }
.sa-pcta { display: grid; gap: 10px; margin-top: 22px; }
.sa-pcta .sa-btn { height: 54px; font-size: 15.5px; width: 100%; }
.sa-pinfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 18px; font-size: 13px; color: var(--gray); }
.sa-pinfo span { display: inline-flex; align-items: center; gap: 6px; }
.sa-pinfo svg { width: 15px; height: 15px; }

/* Responsive */
@media (max-width: 1180px) { .sa-link { padding: 0 12px; } .sa-hide-l { display: none; } }
@media (max-width: 1024px) {
  .sa-hd { --h: 70px; }
  .sa-nav, .sa-actions .sa-btn { display: none; }
  .sa-burger { display: grid; }
  .sa-panel { display: block; }
  .sa-actions { margin-left: auto; }
  .sa-hd.is-menu .sa-bar { background: var(--paper); border-bottom-color: var(--line); box-shadow: none; }
}
@media (max-width: 520px) {
  .sa-in { padding: 0 16px; gap: 12px; }
  .sa-logo small { display: none; }
  .sa-logo-ic { width: 40px; height: 40px; }
}
@media (max-width: 359px) { .sa-acc-in { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sa-hd, .sa-hd * { transition: none !important; } }
/* Menu mobile ouvert : la barre reste en haut de l'écran, quelle que soit la position dans la page */
.sa-hd.is-menu { position: fixed; left: 0; right: 0; transform: none !important; }
.sa-hd.pos-absolute.is-menu .sa-bar { background: var(--paper); }
.sa-hd-spacer { display: block; height: 0; }

/* Positions réglables dans Arsenal Pages */
.sa-hd.pos-static { position: relative; }
.sa-hd.pos-absolute { position: absolute; left: 0; right: 0; }
.sa-hd.pos-absolute:not(.is-menu) .sa-bar { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.sa-hd.pos-absolute .sa-nav { background: rgba(255,255,255,.7); }
.sa-mega.is-simple { width: 320px; }
.sa-mega.cols-3 { width: 860px; }
.sa-mega.cols-3 .sa-mega-grid { grid-template-columns: 1fr 1fr 1fr; }
.sa-mega.cols-1 .sa-mega-grid { grid-template-columns: 1fr; }
.sa-flag.is-ic { display: grid; place-items: center; }
.sa-flag.is-ic svg { width: 15px; height: 15px; }
.sa-hd img.sa-logo-img { height: var(--sa-logo-h, 42px); width: auto; max-width: 440px; display: block; object-fit: contain; object-position: left center; }
@media (max-width: 1024px) { .sa-hd img.sa-logo-img { height: var(--sa-logo-hm, 36px); max-width: 52vw; } }
.sa-mega-foot .sa-btn { margin-left: auto; }

/* Séparation entre la barre et la page (réglage « Séparation avec la page ») */
.sa-hd.bg-white .sa-bar { background: rgba(255,255,255,.94); }
.sa-hd.sep-line .sa-bar, .sa-hd.sep-shadow .sa-bar { border-bottom-color: #E7E7EA; }
.sa-hd.sep-shadow .sa-bar, .sa-hd.sep-soft .sa-bar { box-shadow: 0 1px 2px rgba(18,18,18,.04), 0 10px 28px -18px rgba(18,18,18,.28); }
.sa-hd.sep-none:not(.is-scrolled) .sa-bar { border-bottom-color: transparent; box-shadow: none; }
.sa-hd.sep-shadow.is-scrolled .sa-bar, .sa-hd.sep-soft.is-scrolled .sa-bar { box-shadow: 0 1px 2px rgba(18,18,18,.05), 0 14px 32px -18px rgba(18,18,18,.34); }
.sa-hd.pos-absolute:not(.is-menu):not(.is-scrolled) .sa-bar { box-shadow: none; border-bottom-color: transparent; }
