/* ═════ EN-TÊTE PARTAGÉ — un seul composant pour les 6 pages de la landing ET les pages vitrines (blog, légales…) ═════
   Reprend l'en-tête de la prod (src/pages/layout.js, nav()) : emblème « petit » (brand.emblemePetit, 32 px, vectoriel), nom en Inter 800
   20 px, interlettrage -0.5 px, barre de 64 px (56 px en mobile).
   Aucune feuille de page ne doit le modifier : tout est scopé par `header.lq-hd` et paramétré par les variables --hd-*.
   Thèmes (saison, ton sombre) : surcharger SEULEMENT les variables --hd-*, par exemple
   html[data-saison="octobre-rose"] header.lq-hd{--hd-accent:#C2185B}. */
header.lq-hd{
  --hd-bg:rgba(255,253,248,.92);--hd-ink:#1F2A24;--hd-muted:#56625B;--hd-line:rgba(31,42,36,.2);
  --hd-accent:#2D6A4F;--hd-on-accent:#fff;--hd-panel:#FDFAF2;--hd-focus:#1B4332;--hd-h:64px;
  position:sticky;top:0;z-index:50;box-sizing:border-box;min-height:var(--hd-h);background:var(--hd-bg);color:var(--hd-ink);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--hd-line);
  font:500 15px/1.4 Inter,-apple-system,system-ui,sans-serif;letter-spacing:0;text-transform:none}
header.lq-hd[data-tone=dark]{--hd-bg:rgba(18,10,46,.92);--hd-ink:#F4F0FF;--hd-muted:#BDB5E6;--hd-line:rgba(244,240,255,.22);--hd-accent:#FFB020;--hd-on-accent:#1A1030;--hd-panel:#1B1145;--hd-focus:#FFB020}
header.lq-hd *,header.lq-hd *::before,header.lq-hd *::after{box-sizing:border-box}
header.lq-hd :focus-visible{outline:3px solid var(--hd-focus);outline-offset:3px;border-radius:6px}
/* Autonome hors landing (blog, pages légales… : voir chrome.css) : ne dépend d'aucun reset ni d'aucune règle globale de la page */
header.lq-hd ul,header.lq-hd li,header.lq-hd p{margin:0}
header.lq-hd a:hover{opacity:1}
header.lq-hd .ic{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
header.lq-hd .in{display:flex;align-items:center;gap:12px;width:min(100% - 32px,1280px);min-height:var(--hd-h);margin-inline:auto;padding:0;position:relative}
header.lq-hd .brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;font:800 20px/1.6 Inter,-apple-system,system-ui,sans-serif;letter-spacing:-.5px;color:var(--hd-ink)}
header.lq-hd .brand .hd-logo{width:32px;height:32px;flex:none;border-radius:8px}
header.lq-hd .nav-wide{display:none;margin-left:auto;gap:4px}
header.lq-hd .nav-wide a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;white-space:nowrap;text-decoration:none;font:600 15px/1 Inter,-apple-system,system-ui,sans-serif;color:var(--hd-muted);border:0;border-radius:0;background:none;
  text-decoration-line:underline;text-decoration-color:transparent;text-decoration-thickness:2px;text-underline-offset:8px;transition:color .15s,text-decoration-color .15s}
header.lq-hd .nav-wide a:hover{color:var(--hd-ink);text-decoration-color:var(--hd-line)}
header.lq-hd .nav-wide a[aria-current=page]{color:var(--hd-ink);text-decoration-color:var(--hd-accent)}
header.lq-hd .hd-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
/* Boutons : même forme, même taille sur les 6 pages */
header.lq-hd .hd-btn{display:none;align-items:center;justify-content:center;height:40px;padding:0 18px;border-radius:99px;border:1.5px solid transparent;font:700 14px/1 Inter,-apple-system,system-ui,sans-serif;letter-spacing:0;white-space:nowrap;text-decoration:none;cursor:pointer;transition:transform .15s,background .15s}
header.lq-hd .hd-btn:hover{transform:translateY(-1px)}
header.lq-hd .hd-solid{background:var(--hd-accent);color:var(--hd-on-accent);border-color:var(--hd-accent)}
header.lq-hd .hd-ghost{background:transparent;color:var(--hd-ink);border-color:var(--hd-line)}
header.lq-hd .hd-ghost:hover{border-color:var(--hd-ink)}
/* Menu mobile */
header.lq-hd .menu{position:static}
header.lq-hd .menu summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1.5px solid var(--hd-line);border-radius:99px;font:700 14px/1 Inter,-apple-system,system-ui,sans-serif;color:var(--hd-ink);cursor:pointer}
header.lq-hd .menu summary::-webkit-details-marker{display:none}
header.lq-hd .menu[open] summary{background:var(--hd-ink);color:var(--hd-bg);border-color:var(--hd-ink)}
header.lq-hd .menu ul{position:absolute;right:0;top:calc(100% - 2px);width:min(300px,calc(100vw - 32px));margin:0;list-style:none;background:var(--hd-panel);color:var(--hd-ink);border:1px solid var(--hd-line);border-radius:18px;padding:8px;box-shadow:0 18px 40px rgba(0,0,0,.25)}
header.lq-hd .menu li{list-style:none}
header.lq-hd .menu li a{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:12px;text-decoration:none;font-weight:600;color:var(--hd-ink)}
header.lq-hd .menu li a:hover{background:color-mix(in srgb,var(--hd-ink) 9%,transparent)}
header.lq-hd .menu li a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--hd-accent);text-decoration-thickness:2px;text-underline-offset:6px}
header.lq-hd .menu li+li{border-top:1px solid var(--hd-line)}
/* Bouton Animations (WCAG 2.2.2) : icône de 32 px en en-tête, libellé complet dans le menu */
header.lq-hd .mt{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:99px;border:1.5px solid var(--hd-line);background:transparent;font:600 14px/1.25 Inter,-apple-system,system-ui,sans-serif;color:var(--hd-muted);text-align:left;cursor:pointer}
header.lq-hd .mt:hover{color:var(--hd-ink);border-color:currentColor}
header.lq-hd .mt[aria-disabled=true]{cursor:default;opacity:.85}
header.lq-hd .mt .ic{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}
header.lq-hd .mt .i-play{display:none}
html.paused header.lq-hd .mt .i-play{display:block}html.paused header.lq-hd .mt .i-pause{display:none}
header.lq-hd .mt-wide{display:none;position:relative;width:32px;height:32px;min-height:32px;padding:0;justify-content:center;gap:0;border-color:transparent;opacity:.75}
header.lq-hd .mt-wide:hover,header.lq-hd .mt-wide:focus-visible{opacity:1;border-color:var(--hd-line)}
header.lq-hd .mt-wide .mt-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
header.lq-hd .mt-wide::after{content:"";position:absolute;inset:-6px}
header.lq-hd .menu .menu-mt{padding:4px 0 0}
header.lq-hd .menu .menu-mt .mt{width:100%;min-height:48px;border-radius:12px;border-color:transparent;justify-content:flex-start;padding:0 14px;color:var(--hd-ink)}
/* Pages vitrines hors landing (body.lq-chrome : blog, pages légales…) : en-tête FIXE et non collant. Ces pages réservent déjà
   en haut la hauteur de l'ancienne barre fixe (64 px, 56 px en mobile), la même que celle-ci. Rendu identique au pixel. */
body.lq-chrome header.lq-hd{position:fixed;top:0;left:0;right:0}
/* …et OPAQUE, de la teinte exacte que prend l'en-tête de la landing sur son fond crème (#FFFDF8 à 92 % sur #F7F1E3) :
   sur les pages au haut sombre (/quizquest, /confiance, étude de cas), le voile à 92 % virait au gris. */
body.lq-chrome header.lq-hd:not([data-tone]){--hd-bg:#FEFCF6}
@media(max-width:759px){header.lq-hd{--hd-h:56px}header.lq-hd .brand{font-size:16px}header.lq-hd .brand .hd-logo{width:24px;height:24px;border-radius:6px}}
@media(min-width:1180px){
  header.lq-hd .nav-wide{display:flex}header.lq-hd .menu{display:none}
  /* La marge auto ne doit sauter qu'avec la nav large visible : en mobile, le bouton Menu reste calé à droite (01/10/2026). */
  header.lq-hd .nav-wide + .hd-actions{margin-left:0}
  header.lq-hd .hd-btn{display:inline-flex}header.lq-hd .mt-wide{display:inline-flex}
}
@media(prefers-reduced-motion:reduce){header.lq-hd .hd-btn,header.lq-hd .nav-wide a{transition:none}}
