/* Hayāa Institut · le menu du site, pour toutes les pages qui ne sont pas fabriquées par outils/organisation (19 novembre 2026).
   Le même menu que l'accueil : Familles · Établissements · Ressources · À propos · Mon corps est précieux · Être membre.
   Tout est rangé sous #hym : les styles de chaque page n'y touchent pas, et ce fichier ne touche à la page que pour laisser la place au menu.
   Les tailles sont en pixels : elles ne dépendent pas des réglages de chaque page. */
@import url("/journal/assets/fonts.css");

/* la place du menu, fixé en haut de l'écran (les ancres gardent le décalage que chaque page leur donne déjà) */
body.hym-page{padding-top:84px!important}
body.hym-page .prog{top:84px}
/* le tiroir ouvert passe devant les boutons flottants des pages (Explorer, retour en haut, animations) */
.hym-tiroir .hux-launch,.hym-tiroir .hux-up,.hym-tiroir .hfx-control{visibility:hidden!important}

/* « Inscriptions ouvertes » sous Mon corps est précieux : mettre none à la place de inline-flex retire la mention de toutes ces pages.
   (Sur l'accueil, Familles et Établissements, la mention tient à la classe inscriptions-ouvertes de <html>.) */
#hym{--hym-inscriptions:inline-flex}

#hym{--nuit:#16161f;--lin:#fcfcfc;--doux:#cfd3e2;--doux2:#a7adc0;--ligne:rgba(255,255,255,.11);--citron:#d7f13d;--rose:#e389e8;--lilas:#939af8;
  --titre:'Anton','Arial Narrow',Impact,sans-serif;--mono:'Space Mono',ui-monospace,Menlo,Consolas,monospace;--corps:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  --marge:40px;--haut:84px;
  position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:30px;
  box-sizing:border-box;width:auto;height:var(--haut);margin:0;padding:0 max(var(--marge),calc((100vw - 1220px) / 2));
  background:var(--nuit);border:0;border-bottom:1px solid var(--ligne);border-radius:0;box-shadow:none;transform:none;opacity:1;visibility:visible;
  font:400 16px/1.5 var(--corps);color:var(--lin);text-align:left;text-transform:none;letter-spacing:normal;-webkit-font-smoothing:antialiased;
  inset:0 0 auto 0;max-width:none;min-height:0;overflow:visible;animation:none;transition:none;filter:none;clip-path:none;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:auto}
@media (hover:hover) and (pointer:fine){#hym{background:rgba(22,22,31,.86);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}}
#hym::before,#hym::after{content:none;display:none}
#hym *,#hym *::before,#hym *::after{box-sizing:border-box}
#hym *::before,#hym *::after{content:none}
#hym a,#hym button,#hym ul,#hym li,#hym span,#hym small,#hym img,#hym nav,#hym div{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;float:none;width:auto;height:auto;max-width:none;min-width:0;min-height:0;opacity:1;visibility:visible;position:static;text-shadow:none;animation:none;filter:none;clip-path:none}
#hym li{display:block}
#hym a{color:inherit;text-decoration:none;font:inherit;letter-spacing:inherit;text-transform:inherit}
#hym button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none}
#hym ul,#hym li{list-style:none}
#hym li::before,#hym li::marker{content:none}
#hym a:focus-visible,#hym button:focus-visible{outline:3px solid var(--rose);outline-offset:4px}

/* le logo */
#hym .hym-marque{display:flex;flex:none;gap:12px;align-items:center;font:400 24.8px/1 var(--titre);letter-spacing:.06em;color:var(--lin);text-transform:uppercase}
#hym .hym-marque img{display:block;width:50px;height:auto}
#hym .hym-marque span{display:block}
#hym .hym-marque small{display:block;margin-top:6px;font:700 10.9px/1 var(--mono);letter-spacing:.24em;color:var(--citron)}

/* les boutons citron */
#hym .hym-btn{display:inline-flex;justify-content:center;align-items:center;text-align:center;min-height:40px;padding:8px 20px;background:var(--citron);border:1.5px solid var(--citron);border-radius:99px;color:var(--nuit);font:700 11.2px/1.5 var(--mono);text-transform:uppercase;letter-spacing:.1em;white-space:nowrap;transition:translate .25s,box-shadow .25s}
@media (hover:hover) and (pointer:fine){#hym .hym-btn:hover{translate:0 -2px;box-shadow:0 0 28px rgba(215,241,61,.3)}}

/* la liste du menu */
#hym .hym-nav{display:flex;align-items:center;gap:26px;margin-left:auto}
#hym .hym-liste{display:flex;align-items:center;gap:24px}
#hym .hym-liste>li{position:relative}
#hym .hym-liste a,#hym .hym-deroule>button{display:inline-flex;align-items:center;gap:6px;min-height:44px;font:700 11.2px/1 var(--mono);text-transform:uppercase;letter-spacing:.1em;color:var(--doux);white-space:nowrap}
#hym .hym-liste a:hover,#hym .hym-deroule>button:hover,#hym .hym-deroule.hym-ouvert>button{color:var(--lin)}
#hym .hym-liste a[aria-current],#hym .hym-deroule>button.hym-ici{color:var(--lin);text-decoration:underline;text-decoration-color:var(--citron);text-decoration-thickness:2px;text-underline-offset:7px}
#hym .hym-deroule>button::after{content:"";display:inline-block;width:7px;height:7px;margin-left:2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .25s}
#hym .hym-deroule.hym-ouvert>button::after{transform:translateY(1px) rotate(-135deg)}
#hym .hym-sous{display:none;position:absolute;z-index:30;top:calc(100% + 6px);left:-18px;min-width:240px;padding:10px;background:rgba(22,22,31,.98);border:1px solid rgba(147,154,248,.35);border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.55)}
#hym .hym-sous::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
#hym .hym-sous a{display:flex;width:100%;min-height:42px;padding:0 12px;border-radius:9px;letter-spacing:.08em}
#hym .hym-sous a:hover,#hym .hym-sous a:focus-visible{background:rgba(147,154,248,.12);color:var(--lin)}
#hym .hym-deroule.hym-ouvert>.hym-sous{display:block}
@media (hover:hover) and (pointer:fine) and (min-width:1101px){#hym .hym-deroule:hover>.hym-sous{display:block}#hym .hym-deroule:hover>button{color:var(--lin)}}
html:not(.hym-js) #hym .hym-deroule:focus-within>.hym-sous{display:block}

/* Mon corps est précieux, et la mention « Inscriptions ouvertes » (réglage en haut de ce fichier) */
#hym .hym-liste .hym-mcep{position:relative;color:var(--lin)}
#hym .hym-pastille{display:var(--hym-inscriptions);align-items:center;gap:6px;padding:4px 9px;border-radius:99px;background:rgba(227,137,232,.14);border:1px solid rgba(227,137,232,.55);color:var(--rose);font:700 9.3px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
#hym .hym-pastille::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--rose);box-shadow:0 0 8px var(--rose)}
#hym .hym-liste .hym-mcep .hym-pastille{position:absolute;left:50%;top:calc(100% - 6px);transform:translateX(-50%)}

/* Être membre, et « Déjà membre ? Se connecter » */
#hym .hym-membre{display:flex;flex:none;flex-direction:column;align-items:center;gap:3px}
#hym .hym-deja{font:400 10.6px/1.3 var(--corps);text-transform:none;letter-spacing:0;color:var(--doux);text-decoration:underline;text-decoration-color:rgba(147,154,248,.7);text-underline-offset:3px;white-space:nowrap}
#hym .hym-deja:hover{color:var(--lin)}
#hym .hym-ouvrir{display:none}
#hym .hym-membre-tel{display:none}

/* au-dessous de 1101 pixels : le menu s'ouvre en tiroir, « Être membre » reste dans la barre */
@media(max-width:1000px){#hym{--marge:24px}}
@media(max-width:1100px){
  #hym{gap:10px}
  #hym .hym-ouvrir{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:44px;padding:0 16px;border:1px solid var(--ligne);border-radius:99px;color:var(--lin);font:700 11.5px/1 var(--mono);text-transform:uppercase;letter-spacing:.12em}
  #hym .hym-ouvrir[aria-expanded=true]{border-color:var(--rose);color:var(--rose)}
  #hym .hym-membre-tel{display:inline-flex;margin-left:auto;min-height:44px;padding:0 16px;font-size:10.6px}
  .hym-js #hym .hym-nav{display:none;position:fixed;z-index:25;top:var(--haut);left:0;right:0;max-height:calc(100vh - var(--haut));max-height:calc(100dvh - var(--haut));overflow:auto;overscroll-behavior:contain;margin:0;padding:8px max(var(--marge),calc((100vw - 640px) / 2)) 30px;background:var(--nuit);border-bottom:1px solid var(--ligne);box-shadow:0 30px 60px rgba(0,0,0,.6);flex-direction:column;align-items:stretch;gap:20px}
  .hym-js.hym-tiroir #hym .hym-nav{display:flex}
  #hym .hym-liste{flex-direction:column;align-items:stretch;gap:0}
  #hym .hym-liste>li{border-bottom:1px solid var(--ligne)}
  #hym .hym-liste a,#hym .hym-deroule>button{width:100%;min-height:56px;font-size:12.8px;justify-content:space-between}
  #hym .hym-sous{position:static;min-width:0;margin:0 0 10px;padding:0 0 0 16px;background:none;border:0;border-radius:0;box-shadow:none}
  #hym .hym-sous::before{display:none}
  #hym .hym-sous a{min-height:48px;padding:0;font-size:12.2px;color:var(--doux);justify-content:flex-start}
  #hym .hym-sous a:hover,#hym .hym-sous a:focus-visible{background:none}
  #hym .hym-sous a::before{content:"✦";display:inline-block;margin-right:10px;color:var(--rose);font-size:11.2px}
  #hym .hym-liste .hym-mcep{flex-wrap:wrap;justify-content:flex-start;gap:12px;padding:12px 0}
  #hym .hym-liste .hym-mcep .hym-pastille{position:static;transform:none}
  #hym .hym-membre{align-items:stretch;gap:14px;padding-top:4px}
  #hym .hym-membre .hym-btn{min-height:52px;font-size:12.5px}
  #hym .hym-membre .hym-deja{display:block;text-align:center;font-size:14.7px;padding:6px}
  .hym-js.hym-tiroir body{overflow:hidden}
  /* sans JavaScript, le menu reste une liste ouverte sous le logo */
  html:not(.hym-js) #hym{position:static;flex-wrap:wrap;height:auto;padding-top:12px;padding-bottom:12px}
  html:not(.hym-js) body.hym-page{padding-top:0!important}
  html:not(.hym-js) #hym .hym-ouvrir{display:none}
  html:not(.hym-js) #hym .hym-nav{display:flex;width:100%;flex-direction:column;align-items:stretch}
  html:not(.hym-js) #hym .hym-sous{display:block}
}
@media(max-width:700px){
  body.hym-page{padding-top:74px!important}
  body.hym-page .prog{top:74px}
  #hym{--marge:18px;--haut:74px}
  #hym .hym-marque{font-size:21.6px}
  #hym .hym-marque img{width:44px}
}
@media(max-width:420px){
  #hym .hym-marque{gap:9px;font-size:19.2px}
  #hym .hym-marque img{width:40px}
  #hym .hym-marque small{font-size:9px;letter-spacing:.2em}
  #hym .hym-membre-tel{padding:0 12px;font-size:9.6px}
  #hym .hym-ouvrir{min-width:74px;padding:0 12px}
}
@media(max-width:340px){#hym .hym-membre-tel{display:none}}
@media(prefers-reduced-motion:reduce){#hym .hym-btn,#hym .hym-deroule>button::after{transition:none}#hym .hym-btn:hover{translate:none}}
@media print{#hym{position:static}body.hym-page{padding-top:0!important}}

/* 24 novembre : le menu du haut en lilas, textes en foncé (menus déroulants et menu du téléphone gardent leur fond sombre) */
header.hym{background:rgba(147,154,248,.97)!important;border-bottom:1px solid rgba(22,22,31,.16)!important;box-shadow:0 8px 28px rgba(147,154,248,.25)}
header.hym .hym-marque,header.hym .hym-marque *{color:#16161f!important}
header.hym .hym-ouvrir,header.hym .hym-ouvrir[aria-expanded=true]{color:#16161f!important;border-color:rgba(22,22,31,.55)!important;background:transparent!important}
header.hym .hym-btn{box-shadow:0 0 0 1px rgba(22,22,31,.28)}
header.hym .hym-deja{text-decoration:none!important}
@media(min-width:1101px){
  header.hym .hym-liste>li>a,header.hym .hym-liste>li>button,header.hym .hym-deja{color:#16161f!important}
  header.hym .hym-ici{text-decoration-color:#16161f!important}
  header.hym .hym-pastille{background:#16161f!important;color:#e389e8!important;border-color:#16161f!important}
}
