/* MOXIE — barre du haut en deux étages (toutes les pages sauf l'accueil, qui a la sienne). Markup : _partials/moxie-barre.tpl */
html.mxh-active #header .header-bottom { display: none !important; }
.mxh { --mxh-noir: #111214; --mxh-vert: #c1d101; position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08); font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
.mxh *, .mxh *::before, .mxh *::after { box-sizing: border-box; }
.mxh a { text-decoration: none; }
.mxh svg { display: block; }
.mxh-n1 { background: var(--mxh-noir); }
.mxh-in { max-width: 1320px; margin: 0 auto; height: 72px; padding: 0 28px; display: flex; align-items: center; gap: 22px; }
.mxh-logo { flex: none; display: flex; align-items: center; }
.mxh-logo img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.mxh-cherche { flex: 1 1 auto; max-width: 640px; margin: 0 auto 0 18px; position: relative; display: flex; }
.mxh-cherche input[type="search"] { width: 100%; height: 44px; border: 0; border-radius: 8px; padding: 0 48px 0 18px; font: inherit; font-size: 15px; color: #1d1d1f; background: #fff; outline: none; -webkit-appearance: none; appearance: none; box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s; margin: 0; }
.mxh-cherche input[type="search"]::placeholder { color: #86868b; }
.mxh-cherche input[type="search"]:focus { box-shadow: 0 0 0 3px var(--mxh-vert); }
.mxh-cherche button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 6px; background: none; color: #1d1d1f; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.mxh-cherche button svg { width: 20px; height: 20px; }
.mxh-ic { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff !important; font-size: 12px; line-height: 1; padding: 6px 4px; opacity: .92; transition: opacity .2s, color .2s; }
.mxh-ic:hover { opacity: 1; color: var(--mxh-vert) !important; }
.mxh-ic svg { width: 26px; height: 26px; }
.mxh-nb { position: absolute; top: 0; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--mxh-vert); color: var(--mxh-noir); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.mxh-btn { flex: none; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px; background: var(--mxh-vert); color: var(--mxh-noir) !important; font-size: 15px; font-weight: 600; transition: filter .2s; }
.mxh-btn:hover { filter: brightness(1.06); }
.mxh-btn svg { width: 18px; height: 18px; }
.mxh-n2 { background: #fff; }
.mxh-n2 ul { list-style: none; margin: 0 auto; padding: 0 28px; max-width: 1320px; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mxh-n2 li { display: flex; margin: 0; }
.mxh-n2 a { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; border-radius: 8px; color: #1d1d1f !important; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .2s; }
.mxh-n2 a:hover { background: #f2f2f4; }
.mxh-n2 a svg { width: 18px; height: 18px; }
.mxh-n2 .mxh-nouv { background: var(--mxh-vert); color: var(--mxh-noir) !important; font-weight: 600; padding: 0 16px; border-radius: 18px; }
.mxh-n2 .mxh-nouv:hover { background: var(--mxh-vert); filter: brightness(1.05); }
.mxh-burger { display: none; flex: none; background: none; border: 0; padding: 6px; margin-left: -6px; cursor: pointer; color: #fff; }
.mxh-burger svg { width: 26px; height: 26px; }
.mxh-tiroir { display: none; }
@media (max-width: 1280px) { .mxh-n2 ul { padding: 0 14px; } .mxh-n2 a { padding: 0 7px; font-size: 14px; } .mxh-in { gap: 16px; padding: 0 18px; } }
@media (max-width: 1100px) { .mxh-petit { display: none !important; } .mxh-btn { padding: 0 14px; } .mxh-ic span { display: none; } }
@media (max-width: 900px) { .mxh-btn { display: none; } .mxh-moyen { display: none !important; } }
@media (max-width: 767px) {
  .mxh-in { height: auto; padding: 8px 14px 10px; gap: 6px 14px; flex-wrap: wrap; }
  .mxh-burger { display: flex; align-items: center; } .mxh-logo img { height: 20px; }
  .mxh-compte { margin-left: auto; } .mxh-ic svg { width: 24px; height: 24px; }
  .mxh-cherche { order: 9; flex: 1 1 100%; max-width: none; margin: 0; }
  .mxh-cherche input[type="search"] { height: 40px; font-size: 16px; }
  .mxh-cherche button { top: 2px; }
  .mxh-n2 { display: none; }
  .mxh.mxh-ouvert .mxh-tiroir { display: block; position: fixed; left: 0; right: 0; bottom: 0; top: 102px; overflow-y: auto; background: rgba(250,250,252,.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 16px 28px 40px; }
  .mxh-tiroir a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 24px; font-weight: 600; color: #1d1d1f !important; letter-spacing: -0.02em; }
  .mxh-tiroir a span { color: #86868b; font-weight: 400; }
  html.mxh-bloque, html.mxh-bloque body { overflow: hidden !important; }
}
