/* En-tête et contacts communs à toutes les pages. */
#mrl-header, #mrl-contacts, #mrl-header *, #mrl-contacts * { box-sizing: border-box; }
#mrl-header {
  position: relative; z-index: 40; width: 100%; margin: 0; padding: 0;
  background: #09090b; color: #fff; font: 600 12px/1.3 Oxanium, Arial, sans-serif;
}
#mrl-header .mast-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 96px; padding: 0 6vw;
}
#mrl-header a, #mrl-contacts a { color: #fff; text-decoration: none; }
#mrl-header .mast-brand { display: inline-flex; align-items: center; gap: 12px; }
#mrl-header .mast-brand img { display: block; height: 50px; width: auto; object-fit: contain; }
#mrl-header .mast-label { display: grid; gap: 3px; font-size: 13px; letter-spacing: .2em; }
#mrl-header .mast-label span:last-child { color: #c2bec9; font: 500 9px/1.3 Barlow, Arial, sans-serif; letter-spacing: .15em; }
#mrl-menu { display: flex; align-items: center; gap: clamp(10px,1.2vw,22px); }
#mrl-menu a, #mrl-header button, #mrl-contacts a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; border-radius: 0; font: 600 11px/1.25 Oxanium, Arial, sans-serif;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
#mrl-menu a:hover, #mrl-menu a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
#mrl-menu .mast-quote, #mrl-menu .mast-phone { padding: 0 15px; }
#mrl-menu .mast-quote { background: #7025ed; }
#mrl-menu .mast-phone { border: 1px solid #777; }
#mrl-menu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#mrl-header button, #mrl-contacts { display: none; }
#mrl-header + #top { margin-top: -96px; }
#mrl-header:has(+ #top) { background: linear-gradient(#09090b, transparent); }
@media (max-width: 1439px) {
  #mrl-header, #mrl-header:has(+ #top) { position: sticky; top: 0; background: #09090b; }
  #mrl-header .mast-row { min-height: 68px; padding: 0 16px; }
  #mrl-header .mast-brand { gap: 8px; }
  #mrl-header .mast-brand img { height: 38px; }
  #mrl-header .mast-label { font-size: 11px; }
  #mrl-header .mast-label span:last-child { font-size: 8px; }
  #mrl-header button { display: inline-flex; padding: 0 15px; color: white; border: 1px solid #777; background: #09090b; text-transform: none; cursor: pointer; }
  #mrl-header + #top { margin-top: 0; }
  #mrl-menu { display: none; position: absolute; inset: 100% 0 auto; padding: 8px 16px 16px; background: #09090b; max-height: calc(100dvh - 140px); overflow-y: auto; }
  #mrl-header button[aria-expanded="true"] + #mrl-menu { display: grid; gap: 4px; }
  #mrl-menu a { justify-content: flex-start; padding: 0 12px; }
  #mrl-menu .mast-phone, #mrl-menu .mast-quote { justify-content: center; }
}
@media (max-width: 767px) {
  #mrl-contacts {
    position: fixed; inset: auto 0 0; z-index: 36; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #09090b; border-top: 1px solid #303036;
  }
  #mrl-contacts a { border: 1px solid #777; background: #09090b; }
  #mrl-contacts a:first-child { background: #7025ed; border-color: #7025ed; }
  body:has(#mrl-contacts) { padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important; }
  body:has(#mrl-cookie-banner:not([hidden])) #mrl-contacts { visibility: hidden; }
}

/* Offre saisonnière 2026 : bandeau commun, sans animation. */
#mrl-header .mrl-holiday-banner { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 12px; width:100%; padding:10px 16px; background:#6D28D9; color:#fff; text-align:center; font:600 14px/1.4 Barlow,Arial,sans-serif; letter-spacing:normal; text-transform:none; text-decoration:none; }
#mrl-header .mrl-holiday-banner strong { font-weight:700; }
#mrl-header .mrl-holiday-banner .mrl-holiday-cta { text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
#mrl-header .mrl-holiday-banner:focus-visible { outline:2px solid white; outline-offset:-4px; }
#mrl-header .mrl-holiday-banner:hover { background:#5b21b6; }
@media(max-width:767px){#mrl-header .mrl-holiday-banner{font-size:13px;padding:8px 12px;gap:3px 9px;}}

#mrl-header .mast-row{padding-inline:var(--mrl-gutter,clamp(20px,6vw,110px))}
@media(min-width:1440px){#mrl-menu{gap:clamp(8px,.8vw,16px)}#mrl-menu a{letter-spacing:.06em}}
