/* home-recherche.css : panneau de résultats de la recherche de /home. Préfixe hs- (voir 02 §5.5). */
.hs-panneau { position: fixed; z-index: 100; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border-radius: 20px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(28, 39, 51, .06), 0 18px 48px rgba(28, 39, 51, .20);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top center;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .22s; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hs-panneau { background: rgba(255, 255, 255, .80);
    -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); }
}
.hs-panneau.is-ouvert { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hs-rang { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 10px;
  border-radius: 14px; color: var(--encre, #1c2733); text-decoration: none; }
.hs-rang + .hs-rang::before { content: ""; position: absolute; top: 0; left: 62px; right: 10px; height: 1px; background: rgba(28, 39, 51, .08); }
.hs-rang:hover, .hs-rang.is-actif { background: rgba(21, 122, 67, .09); }
.hs-rang:focus-visible { outline: 3px solid var(--vert-vif, #22a861); outline-offset: -3px; }
.hs-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--menthe, #f1faf5); color: var(--vert-texte, #157a43); }
.hs-ico .ico { width: 22px; height: 22px; }
.hs-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hs-nom { font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.hs-sous { font-size: 1rem; color: var(--encre-douce, #4a5663); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-ext { flex: none; color: rgba(74, 86, 99, .7); }
.hs-ext .ico { width: 18px; height: 18px; }
.hs-vide { margin: 0; padding: 18px 14px; text-align: center; color: var(--encre-douce, #4a5663); }
.hs-pied { margin: 0; padding: 8px 14px 10px; text-align: center; font-size: 1rem; color: var(--encre-douce, #4a5663); }
/* la croix native du champ de recherche : en gris (aucun bleu, 02 §5.1) */
.hm-recherche input[type="search"]::-webkit-search-cancel-button { filter: grayscale(1) opacity(.7); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hs-panneau { transition: none; transform: none; } }

/* Apple D1 : réglages d'accessibilité du système */
@media (prefers-reduced-transparency: reduce) {
  .hs-panneau { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .hs-panneau { box-shadow: 0 0 0 2px var(--encre, #1c2733); }
  .hs-rang.is-actif, .hs-rang:hover { background: transparent; outline: 2px solid var(--vert-texte, #157a43); outline-offset: -2px; }
}
