/* Ajouts de navigation isolés : aucun style global n'affecte la carte ou l'accueil. */
.moveo-services-nav{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 20px;}
.moveo-services-nav a{display:inline-flex;text-decoration:none;color:#8e2677;background:#fff;
border:1px solid #e4c9dc;padding:10px 13px;border-radius:12px;font-size:13px;font-weight:700;}
.moveo-services-nav a:hover{background:#f7e9f3;}
.moveo-demo-actions{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0 16px;}
.moveo-demo-actions a,.moveo-demo-actions button{font:inherit;font-size:12px;padding:9px 11px;
border:1px solid #dfbed6;border-radius:10px;color:#8a2474;background:#fff;
text-decoration:none;font-weight:700;cursor:pointer;}
.moveo-demo-actions button{background:#a42d88;color:white;}
@media(max-width:700px){.moveo-services-nav{gap:6px}.moveo-services-nav a{padding:8px 10px;font-size:12px}}


/* Parcours adhésion au clic. Évite les navigations inutiles. */
.moveo-services-nav [hidden], [data-moveo-reserve-adherent][hidden] {display:none!important}
.moveo-services-nav button[data-moveo-outil],.moveo-services-nav a[data-moveo-espace] {
 font-family:inherit;cursor:pointer;
}
.moveo-popup-fond,.moveo-outils-fond {
 position:fixed;inset:0;z-index:20000;background:rgba(24,16,29,.58);
 display:flex;align-items:center;justify-content:center;padding:14px;
}
.moveo-popup-contenu,.moveo-outils-contenu {
 background:#fff;border-radius:19px;box-shadow:0 25px 65px rgba(35,22,35,.22);
 padding:26px;position:relative;width:min(100%,540px);max-height:90vh;overflow:auto;
}
.moveo-popup-fermer,.moveo-outils-tete button{
 position:absolute;right:15px;top:10px;border:0;background:transparent;
 color:#6b5368;font-size:26px;cursor:pointer;padding:5px 11px;line-height:1;
}
.moveo-popup-label {font-size:12px;color:#8d2577;font-weight:700}
.moveo-popup-contenu h2{font-size:25px;line-height:1.2;color:#912778;margin:14px 35px 15px 0}
.moveo-popup-contenu p{font-size:15px;color:#475467;line-height:1.55}
.moveo-popup-contenu .moveo-popup-note{font-size:12px}
.moveo-popup-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.moveo-popup-cta,.moveo-popup-apercu{
 border-radius:11px;text-decoration:none;border:1px solid #9c2b84;
 padding:11px 15px;font:inherit;font-size:14px;font-weight:700;cursor:pointer;
}
.moveo-popup-cta{background:#9c2b84;color:#fff}
.moveo-popup-apercu{color:#9c2b84;background:#fff}
.moveo-outils-contenu{width:min(100%,660px)}
.moveo-outils-tete h2{font-size:23px;color:#a42d88;margin:0 35px 6px 0}
.moveo-outils-tete p{margin:0 0 20px;color:#667085;font-size:13px}
.moveo-outils-annonce{padding:12px 0;border-top:1px solid #eee7ee}
.moveo-outils-annonce strong{display:block;font-size:14px;overflow-wrap:anywhere}
.moveo-outils-annonce small{display:block;margin:5px 0;color:#667085}
.moveo-outils-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.moveo-outils-actions a,.moveo-outils-actions button{
 font:inherit;font-size:13px;color:#9c2b84;background:#fff;
 text-decoration:none;border:1px solid #ebcfdf;border-radius:10px;
 padding:9px 12px;cursor:pointer;
}
.moveo-outils-vide{color:#667085;font-size:13px;padding:20px 0}
.moveo-services-nav button[data-moveo-outil]{
 background:#fff;color:#8e2677;border:1px solid #e4c9dc;
 font-weight:700;border-radius:12px;padding:10px 13px;font-size:13px;
}
@media(max-width:700px){
 .moveo-popup-contenu,.moveo-outils-contenu{padding:20px 17px}
 .moveo-popup-contenu h2{font-size:21px}
 .moveo-services-nav button[data-moveo-outil]{padding:8px 10px;font-size:12px}
}


/* Le contact directement dans chaque annonce, sans page intermédiaire. */
.moveo-contact-annonce{
 margin:8px 0 16px;padding:13px 15px;border-radius:12px;
 background:#fcf7fb;border-left:3px solid #a42d88;
 font-size:13px;line-height:1.45;
}
.moveo-contact-annonce strong{display:block;font-size:14px;color:#892574;margin-bottom:6px;}
.moveo-contact-annonce p{margin:6px 0;color:#667085}
.moveo-contact-noms{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.moveo-contact-nom,.moveo-contact-coordination{font-size:13px;font-weight:700;color:#912778;text-decoration:underline}
.moveo-contact-annonce a:hover{text-decoration:none}
.moveo-demo-actions [hidden] {display:none!important}


/* V3 — Barre utilitaire intégrée dans le header (accueil + carte).
 * Ne modifie ni les filtres, ni Leaflet, ni la mise en page des annonces.
 */
.header-inner>.moveo-header-actions{margin-left:auto;}
.moveo-header-actions{
 flex:none;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:7px;
 min-width:165px;
}
.moveo-espace-header{
 font:700 13px/1.2 Arial,Helvetica,sans-serif;
 color:#82216c;text-decoration:none;background:#fff;border:1px solid #fff;
 border-radius:11px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;
 white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.moveo-espace-header:hover,.moveo-espace-header:focus-visible{background:#f9eafa;}
.moveo-header-icons{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.moveo-header-icons[hidden]{display:none!important}
.moveo-header-icon{
 display:inline-flex;align-items:center;justify-content:center;position:relative;
 height:33px;width:40px;border-radius:9px;
 border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.15);
 color:white;text-decoration:none;font:17px/1 Arial,Helvetica,sans-serif;
 cursor:pointer;padding:0;
}
.moveo-header-icon:hover,.moveo-header-icon:focus-visible{background:rgba(255,255,255,.30)}
.moveo-header-icon[data-tooltip]:hover::after,.moveo-header-icon[data-tooltip]:focus-visible::after{
 content:attr(data-tooltip);position:absolute;right:-3px;top:calc(100% + 8px);
 z-index:25000;white-space:nowrap;border-radius:8px;
 background:#302236;color:white;font:12px/1.3 Arial,Helvetica,sans-serif;
 padding:7px 10px;box-shadow:0 4px 14px rgba(0,0,0,.15);
 pointer-events:none;
}
/* Cœur disponible sans ouvrir l'annonce. L'accès nécessite le compte test adhérent
 * ou une réponse membre valide de Supabase. */
.moveo-coeur-poste{
 display:none!important;position:absolute;z-index:3;top:9px;right:9px;
 width:31px;height:31px;align-items:center;justify-content:center;
 border:1px solid #e6b9d7;border-radius:50%;
 background:rgba(255,255,255,.96);color:#af2c87;
 cursor:pointer;font:400 23px/1 Arial,Helvetica,sans-serif;padding:0;
 box-shadow:0 2px 7px rgba(0,0,0,.07);
}
html.moveo-est-adherent .moveo-coeur-poste{display:flex!important}
.moveo-coeur-poste[aria-pressed="true"]{color:#a42d88}
.moveo-coeur-poste:hover,.moveo-coeur-poste:focus-visible{background:#fbeaf5;transform:scale(1.06)}
.last-job-card,.poste-card{position:relative}
.last-job-card{padding-right:40px}
.poste-card-header{position:relative;padding-right:32px}
.poste-card-header .moveo-coeur-poste{top:-4px;right:-4px}
.moveo-titre-avec-coeur{position:relative;padding-right:44px!important}
.moveo-titre-avec-coeur .moveo-coeur-poste{top:50%;right:7px;transform:translateY(-50%)}
.moveo-titre-avec-coeur .moveo-coeur-poste:hover{transform:translateY(-50%) scale(1.07)}
/* Popup plus lisible et compacte. */
.moveo-popup-contenu{width:min(100%,465px);padding:22px 24px;border-radius:16px}
.moveo-popup-label{font-size:11px}
.moveo-popup-contenu h2{font-size:20px;line-height:1.25;margin:11px 25px 13px 0}
.moveo-popup-contenu p{font-size:13px;line-height:1.55;margin:11px 0;color:#4f5d6c}
.moveo-popup-contenu .moveo-popup-note{font-size:12px;color:#51525d;margin-top:14px}
.moveo-popup-note a{font-weight:700;color:#96257e;text-decoration:underline}
.moveo-popup-cta{padding:10px 14px;font-size:13px}
.moveo-popup-actions{margin-top:15px}
/* Bloc d'accompagnement à valeur forte placé sous le titre du poste. */
.moveo-contact-annonce{background:#fffafc;padding:14px 17px;border-left:4px solid #a42d88}
.moveo-contact-annonce h2{font-size:16px;color:#93277f;margin:0 0 7px;line-height:1.3}
.moveo-contact-annonce .moveo-contact-sous-titre{font-size:13px;color:#2c3141;font-weight:700;margin:5px 0 8px}
.moveo-contact-annonce .moveo-contact-test{
 font-size:11px;color:#895575;background:#f6e8f1;border-radius:7px;
 padding:7px 9px;margin-top:9px;line-height:1.45
}
.moveo-contact-noms{margin-top:5px}
.moveo-contact-nom{font-size:14px}
@media(max-width:700px){
 .header-inner{display:flex;align-items:center;gap:11px}
 .header-inner>.moveo-header-actions{min-width:0;margin-left:auto}
 .moveo-header-actions{gap:6px}
 .moveo-espace-header{font-size:11px;padding:8px 9px}
 .moveo-header-icons{gap:4px}
 .moveo-header-icon{width:32px;height:30px;font-size:15px}
 .moveo-popup-contenu{padding:18px}
 .moveo-popup-contenu h2{font-size:18px}
 .moveo-popup-contenu p{font-size:12.5px}
}


/* Petit écran : préserver le titre et garder les outils dans le header sans débordement. */
@media(max-width:560px){
 .header-inner{flex-wrap:wrap;justify-content:space-between}
 .header-inner .logo{width:48px;height:48px}
 .header-inner h1{font-size:23px}
 .header-inner p{font-size:12px}
 .header-inner>.moveo-header-actions{
  width:100%;min-width:0;margin-left:0;flex-direction:row;
  align-items:center;justify-content:flex-end;gap:12px;
 }
 .moveo-header-icons{justify-content:flex-end}
 .moveo-header-icon[data-tooltip]:hover::after,
 .moveo-header-icon[data-tooltip]:focus-visible::after{right:0}
}

/* Icônes vectorielles et favori de fiche */
.moveo-header-icon svg{display:block;width:19px;height:19px}
.moveo-header-icon{display:inline-flex;align-items:center;justify-content:center;transition:background .16s ease,transform .16s ease}
.moveo-header-icon:hover{transform:translateY(-1px);background:rgba(255,255,255,.22)}
.moveo-header-icon:focus-visible,.moveo-favori-detail:focus-visible{outline:3px solid #34b6d9;outline-offset:3px}
.detail-sticky-header{position:sticky;top:-25px;padding-right:88px}
.moveo-favori-detail{position:absolute;right:49px;top:24px;width:34px;height:34px;border-radius:50%;border:1px solid #e9d8e5;background:#fff;color:#98267e;display:grid;place-items:center;cursor:pointer;font:400 23px/1 Arial,Helvetica,sans-serif;padding:0;box-shadow:0 1px 4px rgba(0,0,0,.05);transition:background .15s,border-color .15s}
.moveo-favori-detail[hidden]{display:none!important}
.moveo-favori-detail:hover{background:#fff0f8;border-color:#a42d88}
.moveo-favori-detail[aria-pressed="true"]{background:#fff0f8;border-color:#bd75a8;color:#a42d88}
.moveo-contact-annonce{margin:14px 0 16px;border-radius:12px;background:#fffafc}

/* Favoris : un même cœur vectoriel (contour / remplissage), jamais de glyphes variables. */
.moveo-coeur-poste svg,.moveo-favori-detail svg{width:19px;height:19px;display:block;flex:none}
.moveo-coeur-poste[aria-pressed="true"] svg path,.moveo-favori-detail[aria-pressed="true"] svg path{fill:currentColor}
.moveo-coeur-poste[aria-pressed="false"] svg path,.moveo-favori-detail[aria-pressed="false"] svg path{fill:none}
.moveo-coeur-poste,.moveo-favori-detail{font-weight:400}

/* Coeur des favoris dans les infobulles de la carte : même composant que la liste. */
.moveo-popup-titre-favori{display:flex;align-items:flex-start;gap:8px;padding-right:9px}
.moveo-popup-titre-favori>span{flex:1;min-width:0}
.moveo-popup-titre-favori .moveo-coeur-poste{position:static;flex:0 0 31px;top:auto;right:auto;margin:0;transform:none}
.moveo-popup-titre-favori .moveo-coeur-poste:hover{transform:scale(1.06)}
