/* ============================================================================
   css/recherche-site.css · BB SARL - Site public
   Recherche de la loupe de l'en-tête : panneau plein écran, suggestions, résultats groupés.
   ============================================================================ */
.rs-voile { position: fixed; inset: 0; z-index: 99998; display: flex; justify-content: center; align-items: flex-start; padding: 8vh 16px 16px; background: rgba(1, 16, 42, .7); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; font-family: 'Urbanist', 'Nunito', Arial, sans-serif; }
.rs-voile.ouvert { opacity: 1; visibility: visible; }
.rs-boite { width: 720px; max-width: 100%; max-height: 84vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px -20px rgba(1, 16, 42, .6); transform: translateY(-12px); transition: transform .25s cubic-bezier(.2, .9, .3, 1.2); }
.rs-voile.ouvert .rs-boite { transform: none; }
.rs-champ { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #e6eaf2; }
.rs-champ > i { color: #fd6f02; font-size: 20px; }
.rs-champ input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #022659; font: 600 19px inherit; font-family: inherit; }
.rs-champ input::placeholder { color: #9aa4b5; font-weight: 500; }
.rs-champ kbd { padding: 3px 8px; border: 1px solid #d5dbe6; border-radius: 6px; color: #6b7689; font: 600 11px Arial, sans-serif; }
.rs-fermer { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef1f6; color: #022659; cursor: pointer; }
.rs-fermer:hover { background: #022659; color: #fff; }
.rs-corps { overflow: auto; padding: 8px 10px 14px; }
.rs-info { padding: 26px 16px; color: #6b7689; font-size: 14.5px; text-align: center; }
.rs-info i { display: block; margin-bottom: 10px; color: #c5ccd9; font-size: 30px; }
.rs-sugg-titre, .rs-groupe-titre { margin: 12px 10px 8px; color: #8a94a6; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rs-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 8px; }
.rs-suggestions button { padding: 8px 14px; border: 1px solid #e0e5ee; border-radius: 30px; background: #f7f9fc; color: #022659; font: 600 13.5px inherit; font-family: inherit; cursor: pointer; }
.rs-suggestions button:hover { border-color: #fd6f02; color: #c25300; background: #fff4ea; }
.rs-res { display: grid; grid-template-columns: 38px 1fr 16px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: inherit; text-decoration: none; }
.rs-res:hover, .rs-res.actif { background: #f3f6fb; }
.rs-res.actif { box-shadow: inset 3px 0 0 #fd6f02; }
.rs-res > i:first-child { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff4ea; color: #fd6f02; }
.rs-res strong { display: block; color: #022659; font-size: 15px; line-height: 1.3; }
.rs-res span { display: block; margin-top: 2px; color: #6b7689; font-size: 13px; line-height: 1.45; }
.rs-res mark { padding: 0 1px; border-radius: 3px; background: #ffe2c7; color: inherit; }
.rs-res > i:last-child { color: #c5ccd9; font-size: 12px; }
.rs-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 18px; border-top: 1px solid #e6eaf2; background: #f7f9fc; color: #8a94a6; font-size: 12px; }
.rs-pied a { color: #c25300; font-weight: 700; text-decoration: none; }
.rs-charge { width: 22px; height: 22px; border: 3px solid #ffd8b5; border-top-color: #fd6f02; border-radius: 50%; animation: rs-tourne .7s linear infinite; }
.rs-charge[hidden] { display: none; }
@keyframes rs-tourne { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .rs-voile { padding: 0; } .rs-boite { max-height: 100vh; height: 100vh; border-radius: 0; } .rs-champ kbd { display: none; } }
@media (prefers-reduced-motion: reduce) { .rs-voile, .rs-boite { transition: none; } }
.rs-champ input::-webkit-search-cancel-button { display: none; }
.rs-res, .rs-res strong, .rs-res span, .rs-info { text-align: left; }
.rs-info { text-align: center; }
