/* Fiche métier : seulement ce que accueil.css, articles.css et article.css ne fournissent pas déjà. */

/* En-tête : titre, code ROME, accroche et illustration flottante à droite */
.hm-head h1 small { display: block; margin-top: 0.3rem; font: 700 0.6em/1.2 var(--hm-head); text-transform: none; letter-spacing: 0; color: #64748B; }
.hm-code { justify-self: start; padding: 0.2rem 0.6rem; background: var(--hm-violet-light); color: var(--hm-violet); border-radius: 6px; font: 700 0.74rem ui-monospace, Consolas, monospace; }
.hm-head__row--img { display: block; }
.hm-head__row--img .hm-head__txt { display: block; }
.hm-head__row--img > .hm-fimg { float: right; width: 7.5rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin: 0.2rem 0 0.5rem 1rem; box-shadow: 0 4px 12px rgba(26, 43, 72, 0.15); }
@media (min-width: 640px) { .hm-fimg { width: 12rem; margin-left: 1.5rem; } }

/* Sommaire : pastilles sur mobile, bloc fixe dans la barre latérale sur ordinateur */
.hm-jumps { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.3rem; }
.hm-jumps .hm-chip { flex: none; }
@media (min-width: 960px) { .hm-jumps { display: none; } }
.hm-toc { display: none; }
@media (min-width: 960px) { .hm-toc { display: flex; } .hm-side--fiche { position: sticky; top: 5.5rem; align-self: start; } } /* sommaire et dossiers suivent le défilement ensemble */
.hm-toc h2 { font: 800 1rem/1.15 var(--hm-head); text-transform: uppercase; letter-spacing: -0.01em; color: var(--hm-navy); }
.hm-toc .hm-list a { font-size: 0.8rem; }

/* En un coup d'œil */
.hm-facts { display: grid; gap: 1rem 1.5rem; }
@media (min-width: 640px) { .hm-facts { grid-template-columns: 1fr 1fr; } }
.hm-facts dt { font: 800 0.7rem var(--hm-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hm-orange-dark); }
.hm-facts dd { margin: 0.2rem 0 0; font-size: 0.95rem; line-height: 1.5; color: var(--hm-navy); }
.hm-facts dd small { display: block; margin-top: 0.25rem; font-size: 0.85rem; color: var(--hm-text); }

/* Vidéos du métier */
.hm-vid { display: grid; gap: 0.4rem; color: var(--hm-navy); }
.hm-vid__pic { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--hm-navy); }
.hm-vid__pic img { width: 100%; height: 100%; object-fit: cover; }
.hm-vid__pic svg { position: absolute; inset: 0; margin: auto; width: 2.6rem; height: 2.6rem; color: rgba(255, 255, 255, 0.92); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.hm-vid b { font: 700 0.85rem/1.3 var(--hm-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-vid small { font-size: 0.78rem; color: #64748B; }
.hm-vid:hover b { color: var(--hm-orange-dark); }

/* Compétences demandées : barres */
.hm-skills { display: grid; gap: 0.8rem; margin: 1.2rem 0; }
.hm-skill__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font: 700 0.9rem var(--hm-head); color: var(--hm-navy); }
.hm-skill__row small { font: 400 0.8rem var(--hm-b, Lora, serif); color: #64748B; white-space: nowrap; }
.hm-skill__bar { height: 0.6rem; margin-top: 0.3rem; background: var(--hm-line); border-radius: 999px; overflow: hidden; }
.hm-skill__bar i { display: block; height: 100%; background: var(--hm-orange); border-radius: 999px; }

/* Employeurs et départements : pastilles */
.hm-chips--plain .hm-chip { cursor: default; }
.hm-chips--plain .hm-chip:hover { border-color: var(--hm-line); background: #fff; color: var(--hm-navy); }
.hm-chip small { font: 400 0.75rem var(--hm-b, Lora, serif); color: #64748B; }

/* Offres : filtres et liste */
.hm-filters { display: grid; }
.hm-select { width: 100%; border: 2px solid var(--hm-navy); border-radius: 12px; font: 700 0.88rem var(--hm-head); color: var(--hm-navy); cursor: pointer; }
.hm-filters__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 0.85rem; }
.hm-filters__row label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.hm-filters__row input { width: 1.1rem; height: 1.1rem; accent-color: var(--hm-orange-dark); }
.hm-filters__row a { font: 800 0.82rem var(--hm-head); color: var(--hm-navy); text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--hm-violet); text-underline-offset: 3px; }
.hm-count { font-size: 0.82rem; color: #64748B; }
.hm-offer { display: flex; align-items: center; border-bottom: 1px dashed #CBD5E1; color: var(--hm-text); }
.hm-offer > div { min-width: 0; flex: 1; display: grid; gap: 0.2rem; }
.hm-offer b { font: 800 0.92rem/1.3 var(--hm-head); color: var(--hm-navy); }
.hm-offer small { color: #64748B; }
.hm-offer i { font-style: normal; color: var(--hm-orange-dark); flex: none; }
.hm-offer__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.hm-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-top: 1rem; }
.hm-pager .hm-chip { min-width: 2.4rem; justify-content: center; }
.hm-empty { padding: 1.2rem; text-align: center; border: 2px dashed var(--hm-line); border-radius: 12px; font-size: 0.95rem; }
.hm-empty a { color: var(--hm-navy); text-decoration: underline dotted var(--hm-violet); text-underline-offset: 3px; }
.hm-loading { text-align: center; }

/* Compétences : missions et intitulés côte à côte */
.hm-cols { display: grid; gap: 1.2rem 2rem; }
@media (min-width: 640px) { .hm-cols { grid-template-columns: 1fr 1fr; } }
.hm-cols h3 { font: 800 0.95rem var(--hm-head); color: var(--hm-navy); }
.hm-cols ul { display: grid; gap: 0.4rem; margin-top: 0.6rem; padding-left: 1.2rem; list-style: none; }
.hm-cols li { position: relative; font-size: 0.98rem; line-height: 1.55; }
.hm-cols li::before { content: ""; position: absolute; left: -1rem; top: 0.65em; width: 0.4rem; height: 0.4rem; background: var(--hm-orange-dark); border-radius: 2px; }

/* Modèles de CV et de lettre : un <pre>, que la minification du HTML ne touche pas, donc les retours à la ligne restent */
.hm-prose code { padding: 0.1rem 0.4rem; background: var(--hm-line); border-radius: 5px; font-size: 0.88em; }

/* Prépare ta candidature */
.hm-side .hm-box p { font-size: 0.88rem; }

/* Photo du métier, en haut à droite du bloc « en un coup d'œil » */
.hm-box > .hm-fimg { position: absolute; right: 1.2rem; width: 5.5rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 12px rgba(26, 43, 72, 0.15); }
.hm-box > .hm-fimg ~ h2, .hm-box > .hm-fimg ~ p { padding-right: 6.8rem; }
@media (min-width: 640px) { .hm-box > .hm-fimg { width: 8rem; } .hm-box > .hm-fimg ~ h2, .hm-box > .hm-fimg ~ p { padding-right: 9.5rem; } }

/* Fiche express : tuiles de chiffres, mini-graphiques, deux gros boutons */
.hm-tiles { display: grid; gap: 0.7rem; grid-template-columns: 1fr 1fr; margin-top: 0.4rem; }
@media (min-width: 640px) { .hm-tiles { grid-template-columns: repeat(3, 1fr); } }
.hm-tile { display: grid; align-content: start; gap: 0.2rem; padding: 0.8rem 0.9rem; background: var(--hm-orange-light); border-radius: 10px; }
.hm-tile[hidden] { display: none; }
.hm-tile b { font: 800 1.45rem/1.1 var(--hm-head); color: var(--hm-navy); letter-spacing: -0.02em; }
.hm-tile span { font-size: 0.8rem; line-height: 1.35; color: var(--hm-text); }
.hm-tile small { font-size: 0.75rem; color: #64748B; }
.hm-range { position: relative; display: block; height: 0.5rem; margin: 0.45rem 0 0.1rem; background: #fff; border-radius: 999px; }
.hm-range em { position: absolute; top: -0.2rem; width: 0.9rem; height: 0.9rem; margin-left: -0.45rem; background: var(--hm-orange-dark); border: 2px solid #fff; border-radius: 50%; }
.hm-range--fill em { top: 0; left: 0; height: 100%; margin: 0; background: var(--hm-orange-dark); border: 0; border-radius: 999px; }
.hm-stack { display: flex; height: 0.5rem; margin-top: 0.45rem; overflow: hidden; background: #fff; border-radius: 999px; }
.hm-stack em { height: 100%; background: var(--hm-orange-dark); }
.hm-stack em:nth-child(2) { background: var(--hm-violet); }
.hm-stack em:nth-child(3) { background: var(--hm-yellow); }
.hm-express__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.hm-express__cta .hm-btn { flex: 1 1 10rem; padding: 0.95rem 1.2rem; font-size: 0.82rem; }
.hm-btn--ghost { background: #fff; color: var(--hm-navy); border: 2px solid var(--hm-navy); }
.hm-btn--ghost:hover { background: var(--hm-navy); color: #fff; }

/* Blocs repliables : le texte reste dans la page (lu par les moteurs), fermé par défaut */
.hm-fold { background: #fff; border: 2px solid var(--hm-line); border-radius: 12px; }
.hm-fold[open] { border-color: var(--hm-navy); }
.hm-fold > summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.2rem 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.hm-fold > summary::-webkit-details-marker { display: none; }
.hm-fold > summary h2 { grid-column: 1; font: 800 1.05rem/1.2 var(--hm-head); text-transform: uppercase; letter-spacing: -0.01em; color: var(--hm-navy); }
.hm-fold__sum { grid-column: 1; font-size: 0.85rem; line-height: 1.4; color: #64748B; }
.hm-fold > summary::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--hm-orange-light); color: var(--hm-orange-dark); text-align: center; font: 800 1.2rem/1.8rem var(--hm-head); }
.hm-fold[open] > summary::after { content: "−"; background: var(--hm-orange-dark); color: #fff; }
.hm-fold[open] > summary .hm-fold__sum { display: none; }
.hm-fold__body { display: grid; gap: 1.2rem; padding: 0 1.2rem 1.3rem; }
.hm-fold__body .hm-tip { max-width: none; }

/* Bouton « Copier » des modèles */
.hm-copy { display: flex; }
.hm-copy .hm-btn { padding: 0.55rem 1rem; font-size: 0.74rem; }
.hm-copy .hm-btn.is-done { background: var(--hm-navy); color: #fff; }

/* Fiche v2 : bulles d'information, tendance, bloc d'analyse, anneau des contrats */
.hm-info { position: relative; display: inline-block; vertical-align: middle; }
.hm-info__btn { border: 2px solid var(--hm-violet); border-radius: 50%; background: #fff; color: var(--hm-violet); font: 800 0.7rem/1 var(--hm-head); text-transform: none; cursor: pointer; }
.hm-info__btn:hover, .hm-info.is-open .hm-info__btn { background: var(--hm-violet); color: #fff; }
.hm-info__pop { position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 0.5rem); width: 15rem; max-width: 70vw; padding: 0.7rem 0.9rem; transform: translateX(-30%); background: var(--hm-navy); color: #fff; border-radius: 10px; font: 400 0.82rem/1.45 var(--hm-b, Lora, serif); letter-spacing: 0; text-transform: none; text-align: left; visibility: hidden; opacity: 0; transition: opacity 0.15s; pointer-events: none; }
.hm-info__pop b { display: block; margin-top: 0.3rem; font: 800 0.66rem var(--hm-head); text-transform: uppercase; letter-spacing: 0.08em; color: #E9D5FF; }
.hm-info__pop b:first-child { margin-top: 0; }
.hm-info:hover .hm-info__pop, .hm-info:focus-within .hm-info__pop, .hm-info.is-open .hm-info__pop { visibility: visible; opacity: 1; }
.hm-glance__lead { font-size: 0.95rem; line-height: 1.5; color: var(--hm-navy); }
.hm-glance__row { gap: 0.8rem 1.5rem; }
@media (min-width: 640px) { .hm-glance__row { grid-template-columns: auto 1fr; align-items: center; } }
.hm-trend { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.9rem; border-radius: 10px; background: #fff; border: 2px solid var(--hm-line); }
.hm-trend svg { flex: none; width: 2.2rem; height: 2.2rem; padding: 0.4rem; border-radius: 50%; color: #fff; }
.hm-trend--up svg { background: #15803D; }
.hm-trend--flat svg { background: #B45309; }
.hm-trend--down svg { background: #B91C1C; }
.hm-trend div { display: grid; line-height: 1.3; }
.hm-trend b { font: 800 0.9rem var(--hm-head); color: var(--hm-navy); }
.hm-trend span { font-size: 0.8rem; color: #64748B; }
.hm-access { display: grid; gap: 0.15rem; font-size: 0.9rem; line-height: 1.45; }
.hm-access b { font: 800 0.68rem var(--hm-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hm-orange-dark); }
.hm-analysis { display: grid; border-radius: 12px; }
.hm-analysis__tag { font: 800 0.7rem var(--hm-head); text-transform: uppercase; letter-spacing: 0.08em; }
.hm-analysis .hm-tiles { margin-top: 0; }
.hm-analysis .hm-tile { background: #fff; }
.hm-tile--ring { justify-items: center; text-align: center; align-content: center; }
.hm-ring { display: grid; place-items: center; border-radius: 50%; }
.hm-ring b { display: grid; place-items: center; border-radius: 50%; background: #fff; font: 800 0.95rem/1.1 var(--hm-head); color: var(--hm-navy); }
.hm-ring b small { font: 800 0.72rem var(--hm-head); color: var(--hm-orange-dark); }

/* Offres : une carte par offre, comme les cartes du site */
.hm-offers { display: grid; gap: 0.6rem; background: none; border: 0; border-radius: 0; overflow: visible; }
.hm-offer { gap: 1rem; padding: 0.9rem 1.1rem; background: #fff; border: 2px solid var(--hm-line); border-radius: 12px; transition: border-color 0.15s; }
.hm-offer:last-child { border-bottom: 2px solid var(--hm-line); }
.hm-offer:hover { background: #fff; border-color: var(--hm-navy); }
.hm-offer:hover i { transform: translateX(3px); }
.hm-offer i { transition: transform 0.15s; font-weight: 800; }
.hm-offer__tags .hm-tag { padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--hm-violet-light); color: var(--hm-violet); font-size: 0.62rem; }
.hm-offer__tags .hm-tag:first-child { background: var(--hm-orange-light); color: var(--hm-orange-dark); }
.hm-offer small { font-size: 0.82rem; }
.hm-filters__row label { background: #fff; border: 2px solid var(--hm-line); border-radius: 999px; font-size: 0.82rem; }
.hm-filters__row label:hover { border-color: var(--hm-navy); }

/* Contenu des blocs repliables : cartes */
.hm-fold__note { font-size: 0.88rem; }
.hm-ins { display: grid; gap: 0.8rem; }
@media (min-width: 640px) { .hm-ins { grid-template-columns: 1fr 1fr; } }
.hm-ins__card { display: grid; align-content: start; gap: 0.4rem; padding: 1rem 1.1rem; background: var(--hm-violet-light); border-radius: 12px; }
.hm-ins__card:nth-child(even) { background: var(--hm-orange-light); }
.hm-ins__card--wide { background: #fff !important; border: 2px solid var(--hm-line); }
.hm-ins__k { font: 800 0.68rem var(--hm-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hm-violet); }
.hm-ins__card:nth-child(even) .hm-ins__k { color: var(--hm-orange-dark); }
.hm-ins__big { font: 800 1.25rem/1.15 var(--hm-head); letter-spacing: -0.01em; color: var(--hm-navy); }
.hm-ins__card p { font-size: 0.9rem; line-height: 1.55; }
.hm-ins__card--wide .hm-skills { margin: 0.4rem 0; }
.hm-dots { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.hm-dots li { position: relative; padding-left: 1rem; font-size: 0.9rem; line-height: 1.45; }
.hm-dots li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.4rem; height: 0.4rem; background: var(--hm-orange-dark); border-radius: 2px; }

/* Modèles : cinq lignes visibles, le reste se déplie */
.hm-model { display: grid; gap: 0.7rem; }
pre.hm-pre { margin: 0; padding: 0.75rem 1.1rem; background: rgba(233, 213, 255, 0.6); border-radius: 10px; color: var(--hm-navy); font: inherit; font-size: 0.92rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.hm-model.is-collapsed pre.hm-pre { max-height: 9.2rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.hm-model__bar { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hm-model__bar .hm-btn { padding: 0.55rem 1rem; font-size: 0.74rem; }
.hm-model__bar .hm-btn.is-done { background: var(--hm-navy); border-color: var(--hm-navy); }

/* Fiche v3 : bulles d'information fiables, bloc d'analyse centré, filtres aérés */
.hm-box > .hm-fimg { top: 3.7rem; }
.hm-box > .hm-fimg ~ h2 { padding-right: 0; }
.hm-info__btn { display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; padding: 0; font-size: 0.64rem; line-height: 1; vertical-align: -0.2em; }
.hm-info > .hm-info__pop { left: 0; transform: none; width: 16rem; color: #fff; font-size: 0.82rem; line-height: 1.45; text-align: left; }
.hm-info > .hm-info__pop b { color: #E9D5FF; }
.hm-tile { position: relative; }
.hm-tile .hm-info { position: static; }
.hm-tile .hm-info > .hm-info__pop { left: 0; right: auto; width: 16rem; max-width: calc(100vw - 4rem); bottom: calc(100% - 0.2rem); }
.hm-tile:last-child .hm-info > .hm-info__pop { left: auto; right: 0; }
.hm-glance__row { display: block; }
.hm-glance__row .hm-trend { display: inline-flex; }

.hm-analysis { padding: 1.1rem; gap: 0.9rem; text-align: center; }
.hm-analysis .hm-tiles { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.8rem; }
.hm-analysis .hm-tile { justify-items: center; align-content: center; text-align: center; gap: 0.35rem; padding: 1.1rem 0.9rem; min-height: 9.5rem; border-radius: 14px; }
.hm-analysis .hm-tile > b { font-size: 1.9rem; }
.hm-analysis .hm-tile > span { max-width: 11rem; }
.hm-analysis .hm-range { width: 85%; }

.hm-filters { gap: 1rem; margin-bottom: 0.4rem; }
.hm-select { appearance: none; -webkit-appearance: none; padding: 0.95rem 3.2rem 0.95rem 1.2rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2B48' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1.2rem center / 1rem; }
.hm-filters__row { gap: 0.8rem 1.5rem; }
.hm-filters__row label { padding: 0.6rem 1.1rem; }
.hm-count { margin: 0.2rem 0 0.4rem; }

/* Fiche v4 : titre du bloc centré avec sa bulle, bouton des candidatures spontanées */
#glance-titre { display: flex; align-items: center; gap: 0.5rem; }
#glance-titre .hm-info { display: inline-flex; vertical-align: baseline; }
#glance-titre .hm-info__btn { vertical-align: baseline; }
.hm-fold > summary h3 { grid-column: 1; font: 800 1.05rem/1.2 var(--hm-head); text-transform: uppercase; letter-spacing: -0.01em; color: var(--hm-navy); }
.hm-fold__body .hm-chips { margin-top: 0.2rem; }

.hm-fold__note a { font: 800 0.82rem var(--hm-head); color: var(--hm-navy); text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--hm-violet); text-underline-offset: 3px; }
.hm-fold__note--end { text-align: right; }

#candidatures-spontanees, #candidatures-spontanees[open] { border-color: var(--hm-violet); }

/* Séparateur « OU » entre les deux façons de candidater */
.hm-or { display: flex; align-items: center; gap: 1rem; }
.hm-or::before, .hm-or::after { content: ""; flex: 1; border-top: 3px dotted var(--hm-orange-dark); }
.hm-or span { font: 800 2rem/1 var(--hm-head); letter-spacing: 0.04em; color: var(--hm-violet); }
#voir-offres, #voir-offres[open] { border-color: var(--hm-violet); }

/* Blocs repliables avec une image devant le titre */
.hm-fold--img > summary { grid-template-columns: auto 1fr auto; column-gap: 1rem; }
.hm-fold--img > summary > img { grid-column: 1; grid-row: 1 / span 2; width: 3rem; height: 3rem; object-fit: contain; }
.hm-fold--img > summary h2, .hm-fold--img > summary .hm-fold__sum { grid-column: 2; }
.hm-fold--img > summary::after { grid-column: 3; }

/* Les blocs à bordure violette ont aussi leur + et − en violet */
#candidatures-spontanees > summary::after, #voir-offres > summary::after { background: var(--hm-violet-light); color: var(--hm-violet); }
#candidatures-spontanees[open] > summary::after, #voir-offres[open] > summary::after { background: var(--hm-violet); color: #fff; }

/* Liste des entreprises sur deux colonnes */
.hm-chips--cols { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
@media (min-width: 640px) { .hm-chips--cols { grid-template-columns: 1fr 1fr; } }
.hm-chips--cols .hm-chip { display: block; min-width: 0; overflow: visible; text-overflow: clip; white-space: normal; border-radius: 12px; line-height: 1.3; }

/* Entreprises en liste de texte, deux colonnes */
.hm-dots--cols { gap: 0.45rem 1.5rem; }
@media (min-width: 640px) { .hm-dots--cols { } }
.hm-dots--cols li { font-size: 0.9rem; font-weight: 400; color: var(--hm-text); }
.hm-fold__note--end { margin-top: 0.6rem; }

/* Colonnes natives : la liste se remplit de haut en bas, sans trous */
.hm-dots--cols { display: block; }
@media (min-width: 640px) { .hm-dots--cols { columns: 2; column-gap: 1.5rem; grid-template-columns: none; } }
.hm-dots--cols li { break-inside: avoid; margin-bottom: 0.45rem; }

/* Candidatures spontanées et offres : directement dans le contenu, sans cadre */
.hm-open { display: grid; gap: 1rem; }
.hm-open > h3 { font: 800 1.15rem/1.25 var(--hm-head); letter-spacing: -0.01em; color: var(--hm-navy); }
.hm-open .hm-fold__body { padding: 0; }
#voir-offres { margin-top: 1rem; }

/* Bloc d analyse : fond gris clair */
.hm-analysis { background: #F1F5F9; }
.hm-analysis__tag { color: var(--hm-navy); }
.hm-analysis .hm-tile { box-shadow: 0 2px 0 rgba(26, 43, 72, 0.12); }
.hm-analysis .hm-range, .hm-analysis .hm-stack { background: #E2E8F0; }

/* Même corps de texte que les articles */
.hm-fold__intro { font-size: 1.06rem; line-height: 1.75; color: var(--hm-text); }

.hm-btn--region { justify-self: start; margin-top: 0.4rem; }

/* « Le métier en un coup d'œil » : directement dans le contenu, sans cadre */
.hm-express { position: relative; }
.hm-express > .hm-fimg { position: absolute; top: 3.4rem; right: 0; width: 6.5rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 12px rgba(26, 43, 72, 0.15); }
.hm-express > p:first-of-type { padding-right: 7.5rem; }
@media (min-width: 640px) { .hm-express > .hm-fimg { width: 8rem; } .hm-express > p:first-of-type { padding-right: 9.5rem; } }
.hm-express > p { font-size: 1.06rem; line-height: 1.75; }

/* Où ça recrute le plus : petit graphique en barres, chaque ligne filtre les offres */
.hm-geo { display: grid; gap: 0.5rem; }
.hm-geo h3 { font: 800 1rem/1.3 var(--hm-head); color: var(--hm-navy); }
.hm-geo__hint { font-size: 0.9rem; color: #64748B; }
.hm-geo ul { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.hm-geo a { display: grid; grid-template-columns: 9rem 1fr; align-items: center; gap: 0.8rem; padding: 0.35rem 0.5rem; margin: 0 -0.5rem; border-radius: 8px; }
@media (min-width: 640px) { .hm-geo a { grid-template-columns: 12rem 1fr; } }
.hm-geo a:hover { background: var(--hm-orange-light); }
.hm-geo__name { font: 700 0.85rem/1.25 var(--hm-head); color: var(--hm-navy); }
.hm-geo__bar { display: block; height: 0.7rem; background: #F1F5F9; border-radius: 999px; overflow: hidden; }
.hm-geo__bar i { display: block; height: 100%; background: var(--hm-orange-dark); border-radius: 999px; }

/* Anneau des contrats : « CDI » et le pourcentage au même gabarit, centrés */
.hm-ring { width: 6.4rem; height: 6.4rem; }
.hm-ring b { width: 4.6rem; height: 4.6rem; align-content: center; gap: 0.1rem; text-align: center; font-size: 1.15rem; line-height: 1; }
.hm-ring b small { font-size: 1.15rem; line-height: 1; }

/* Aperçu du tableau de recherche : trois lignes, non cliquables, qui s'estompent vers le bas */
.hm-peek { pointer-events: none; user-select: none; overflow-x: auto; border: 2px solid var(--hm-line); border-radius: 12px; background: #fff; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hm-peek table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.85rem; text-align: left; }
.hm-peek th { padding: 0.6rem 0.9rem; background: #F1F5F9; font: 800 0.68rem var(--hm-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hm-navy); }
.hm-peek td { padding: 0.7rem 0.9rem; border-top: 1px dashed #CBD5E1; line-height: 1.35; color: var(--hm-text); }
.hm-peek td:first-child { font-weight: 700; color: var(--hm-navy); }
.hm-peek small { color: #64748B; }
.hm-peek { margin-bottom: 0.6rem; }

/* Chargement des offres (job-single.js) */
.hm-loading { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 2.5rem 0; margin: 2.5rem 0; font: 700 0.875rem/1.25rem var(--hm-head); color: var(--hm-navy); }
.hm-loading--over { position: absolute; inset: 6rem 0 auto 0; z-index: 10; padding: 0; margin: 0; }
.hm-loading__ic { font-size: 1.125rem; animation: hm-spin 1s linear infinite; }
@keyframes hm-spin { to { transform: rotate(360deg); } }
.hm-skeleton { height: 3rem; margin-top: 3rem; background: #F1F5F9; border-radius: 12px; animation: hm-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes hm-pulse { 50% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .hm-loading__ic, .hm-skeleton { animation: none; } }
