/* Recherche dans l'en-tête : voir header-search.js */
.hs-btn {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 12px; cursor: pointer; color: #fff;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,122,48,0.45);
  transition: background .2s, border-color .2s, transform .2s;
}
.hs-btn svg { width: 20px; height: 20px; }
.hs-btn:hover, .hs-btn[aria-expanded="true"] { background: rgba(255,122,48,0.18); border-color: var(--orange); transform: scale(1.05); }

.hs-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  background: linear-gradient(180deg, rgba(14,19,40,0.98), rgba(10,14,32,0.98));
  border-bottom: 1px solid rgba(255,122,48,0.35);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.hs-panel.open { opacity: 1; visibility: visible; transform: none; }
.hs-form { max-width: 860px; margin: 0 auto; padding: 26px 20px 22px; }
.hs-title { font-family: "Anton", "Nunito Sans", Arial, sans-serif; font-size: 1.7rem; letter-spacing: .3px; font-weight: 400; color: #fff; margin: 0 0 14px; line-height: 1.1; }
.hs-title span { color: var(--orange); }
.hs-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px; padding: 6px 6px 6px 16px;
}
.hs-row:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,48,0.18); }
.hs-ico { color: var(--orange); display: inline-flex; }
.hs-ico svg { width: 20px; height: 20px; }
.hs-row input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 1.05rem; padding: 10px 4px; }
.hs-row input::placeholder { color: var(--ink-mute, #9aa3c0); }
.hs-row .btn { padding: 12px 22px; white-space: nowrap; }
.hs-help { color: var(--ink-mute, #9aa3c0); font-size: .86rem; margin: 12px 2px 8px; line-height: 1.5; }
.hs-ex { color: var(--ink-mute, #9aa3c0); font-size: .84rem; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hs-ex button {
  font: inherit; color: #fff; cursor: pointer; padding: 5px 12px; border-radius: 999px;
  background: rgba(77,168,255,0.12); border: 1px solid rgba(77,168,255,0.35);
}
.hs-ex button:hover { background: rgba(255,122,48,0.18); border-color: var(--orange); }

@media (max-width: 720px) {
  .hs-btn { width: 40px; height: 40px; margin-right: 8px; }
  .hs-form { padding: 18px 16px; }
  .hs-title { font-size: 1.5rem; }
  .hs-row { flex-wrap: wrap; padding: 6px 6px 6px 12px; }
  .hs-row .btn { width: 100%; }
}

/* place pour la loupe : les liens du menu ne passent plus sur deux lignes */
@media (min-width: 1025px) {
  .main-nav { gap: 24px; }
  .main-nav a { white-space: nowrap; }
  .header-inner { gap: 20px; }
  .hs-btn { margin-right: 0; width: 40px; height: 40px; }
}
@media (max-width: 1024px) {
  .hs-btn { margin-left: auto; margin-right: 4px; }
  .site-header .nav-toggle { flex-shrink: 0; }
  .site-header .logo { flex-shrink: 1; min-width: 0; }
  .site-header .logo-img { max-width: 100%; height: auto; }
}
