/* [patch IF] Bloc « recherche + colonnes de logos qui défilent » des articles annuaires du blog : agences d'intérim,
   sous-traitance, cabinets de conseil et de recrutement, sites d'emploi (bloc « heros » de blog/base_article.html,
   juste sous le titre). Les colonnes sont construites et animées par js/defileur.min.js (source lisible :
   sources_js/defileur.src.js) : elles défilent toutes seules ET à la main (doigt, molette, ascenseur), s'arrêtent dès
   qu'on y touche et repartent 3,5 s après. 2 colonnes sur téléphone (une monte, une descend), 3 sur ordinateur.
   Sans JavaScript, elles n'apparaissent pas : la liste complète, avec les liens, est juste en dessous. */
.hl-scene{position:relative;box-sizing:border-box;margin:0 0 18px;padding:26px 18px 16px;border-radius:22px;background:#F6FBF8;
          border:1px solid #DCEFE3;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;overflow:hidden}
.hl-scene *,.hl-scene *::before,.hl-scene *::after{box-sizing:border-box}
.hl-pill{display:inline-flex;align-items:center;gap:7px;margin:0;font-size:13px;font-weight:700;line-height:1.2;color:#14532D;
         background:#fff;border:1px solid #BBE5C8;padding:6px 12px;border-radius:999px}
.hl-h{margin:0;font-size:31px;line-height:1.12;font-weight:800;letter-spacing:-.6px;color:#0F172A;text-wrap:balance}
.hl-h span{color:#15803D}
.hl-sous{margin:0;font-size:15.5px;line-height:1.5;color:#475569;max-width:540px;text-wrap:balance}
.hl-sous strong{color:#0F172A}
.hl-form{width:100%;margin:2px 0 0}
.hl-champ{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #CBD5E1;border-radius:999px;padding:5px 5px 5px 16px;
          box-shadow:0 4px 18px rgba(15,23,42,.08);transition:box-shadow .2s,border-color .2s}
.hl-champ:focus-within{border-color:#15803D;box-shadow:0 0 0 4px rgba(21,128,61,.16),0 8px 24px rgba(15,23,42,.10)}
.hl-champ > svg{flex:0 0 20px}
.hl-champ input{flex:1;min-width:0;margin:0;border:0;outline:0;background:transparent;font:inherit;font-size:16px !important;padding:10px 0;
                min-height:0;box-shadow:none;color:#0F172A;-webkit-appearance:none;appearance:none}
.hl-champ input:focus{border:0;box-shadow:none}
.hl-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:15px !important;
        font-weight:700;color:#fff;background:#15803D;border:0;border-radius:999px;padding:11px 18px;min-height:44px;cursor:pointer}
.hl-btn:hover{background:#14532D}
.hl-btn:focus-visible{outline:3px solid #86EFAC;outline-offset:2px}
.hl-btn svg{display:none}

/* La fenêtre et ses colonnes : construites par le JavaScript (classe .hl-js posée sur .hl-scene). Un jeu de colonnes
   par mise en page (.hl-jeu-tel : 2 colonnes, .hl-jeu-pc : 3), construit la première fois qu'il s'affiche.
   La place de la fenêtre est gardée dès le premier affichage (le texte dessous ne saute pas quand les colonnes
   arrivent) ; sans JavaScript, un <noscript> du gabarit la cache. Ordinateur par défaut, téléphone sous 640 px :
   aucune largeur (même 640,5 px avec un zoom) ne reste sans colonnes. */
.hl-fenetre{display:block;position:relative;width:100%;height:240px}
.hl-astuce{margin:0;font-size:12.5px;line-height:1.4;color:#64748B}
.hl-jeu{display:none;height:100%;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
.hl-jeu-tel{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hl-jeu-pc{display:grid}
@media (max-width:640px){.hl-jeu-pc{display:none}.hl-jeu-tel{display:grid}}
.hl-col{position:relative;min-width:0;height:100%}
/* .hl-defil est une vraie zone qui défile (doigt, molette) ; sa barre native est cachée : l'ascenseur .hl-asc la remplace */
.hl-defil{position:absolute;top:0;right:0;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;overflow-anchor:none;scroll-behavior:auto;
          -webkit-overflow-scrolling:touch;scrollbar-width:none;
          -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 13%,#000 87%,transparent);mask-image:linear-gradient(180deg,transparent 0,#000 13%,#000 87%,transparent)}
.hl-defil::-webkit-scrollbar{display:none}
/* À la souris, la molette prend une colonne dès que la souris bouge dessus [patch SS] (classe .hl-libre, mise par le JS) :
   quelqu'un qui fait défiler la page en passant sur les colonnes continue sa page. */
@media (hover:hover){
  .hl-js .hl-defil{overflow-y:hidden}
  .hl-js .hl-defil.hl-libre{overflow-y:auto}
}
.hl-rail{display:flex;flex-direction:column;gap:8px;padding:28px 17px 28px 2px;will-change:transform}
.hl-app{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;margin:0;padding:8px 10px;min-height:0;
        font:inherit;text-align:left;color:#0F172A;background:#fff;border:1px solid #E2E8F0;border-radius:14px;
        box-shadow:0 3px 10px rgba(15,23,42,.05);cursor:pointer;-webkit-tap-highlight-color:transparent}
.hl-app:hover{border-color:#15803D}
.hl-app:active{transform:scale(.97);border-color:#15803D}
.hl-logo{flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#fff;border:1px solid #EEF0F3;display:flex;align-items:center;
         justify-content:center;overflow:hidden}
.hl-logo img{display:block;width:24px;height:24px;margin:0;object-fit:contain}
.hl-logo.fb{background:#16a34a;border:0;color:#fff;font-weight:800;font-size:15px}
.hl-logo.fb img{display:none}
.hl-logo.fb::after{content:attr(data-l)}
.hl-txt{display:flex;flex-direction:column;min-width:0}
.hl-txt strong{font-size:13.5px;line-height:1.25;font-weight:700;color:#0F172A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hl-txt small{font-size:11.5px;line-height:1.3;font-weight:600;color:#64748B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* L'ascenseur de chaque colonne : une piste fine et un curseur vert à faire glisser. Au doigt, seul le curseur bloque
   la page (touch-action:none sur lui seul) : glisser sur la piste fait défiler la page, une touche y amène la colonne. */
.hl-asc{position:absolute;top:14px;bottom:14px;right:0;z-index:2;width:14px;display:flex;flex-direction:column;align-items:center;
        -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.hl-asc-fl{display:none}
.hl-asc-piste{position:relative;flex:1 1 auto;width:100%;cursor:pointer}
.hl-asc-piste::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:4px;margin-left:-2px;border-radius:4px;background:rgba(21,128,61,.15)}
.hl-asc-pouce{touch-action:none}
.hl-asc-pouce{position:absolute;top:0;left:50%;width:6px;height:40px;margin-left:-3px;border-radius:6px;background:#15803D;opacity:.72;
              will-change:transform;transition:opacity .15s,width .15s,margin-left .15s}
.hl-asc-pouce::before{content:"";position:absolute;top:-6px;bottom:-6px;left:-10px;right:-6px}  /* plus facile à saisir au doigt */
.hl-asc:hover .hl-asc-pouce,.hl-asc-tire .hl-asc-pouce{opacity:1;width:8px;margin-left:-4px}

/* Le dessin « deux doigts » (écrans tactiles) : au milieu des colonnes, il ne bloque pas le doigt et part au premier toucher */
@keyframes hl-geste{0%{transform:translateY(13px);opacity:0}14%{opacity:1}62%{transform:translateY(-13px);opacity:1}80%,100%{transform:translateY(-13px);opacity:0}}
.hl-geste{position:absolute;top:50%;left:50%;z-index:3;display:flex;flex-direction:column;align-items:center;gap:8px;
          transform:translate(-50%,-50%);pointer-events:none;transition:opacity .35s}
.hl-geste-rond{display:flex;align-items:center;justify-content:center;gap:1px;width:72px;height:72px;border-radius:50%;
               background:rgba(15,23,42,.88);box-shadow:0 10px 28px rgba(15,23,42,.28)}
.hl-geste-main{display:block;width:38px;height:38px;animation:hl-geste 1.9s ease-in-out infinite}
.hl-geste-fl{display:block;width:10px;height:30px;opacity:.85}
.hl-geste-txt{font-size:13px;font-weight:700;line-height:1.2;color:#fff;background:rgba(15,23,42,.88);border-radius:999px;padding:6px 12px;white-space:nowrap}
.hl-geste-part{opacity:0}

/* Téléphone : le bloc se resserre pour que les colonnes se voient dès l'arrivée sur la page */
@media (max-width:640px){
  .hl-scene{margin-bottom:14px;padding:18px 12px 12px;border-radius:20px;gap:10px}
  .hl-pill{display:none}
  .hl-h{font-size:24px;letter-spacing:-.4px}
  .hl-sous{font-size:14px;line-height:1.45}
  .hl-champ{padding:4px 4px 4px 14px;gap:8px}
  .hl-btn{width:46px;height:46px;padding:0;min-height:0}
  .hl-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .hl-btn svg{display:block}
  .hl-fenetre{height:228px}
  .hl-rail{padding-right:13px}
  .hl-asc{width:11px}
  .hl-app{gap:7px;padding:7px 7px 7px 8px;border-radius:13px}
  .hl-logo{flex-basis:30px;width:30px;height:30px;border-radius:9px}
  .hl-logo img{width:22px;height:22px}
}
@media (prefers-reduced-motion:reduce){
  .hl-geste-main{animation:none}
  .hl-app:active{transform:none}
  .hl-champ{transition:none}
}
