/* JobDistrib – Nos villes d'intervention (charte jobdistrib-france.fr) */
.jdv {
  --jdv-blue: #139FF8;
  --jdv-navy: #0A1A31;
  --jdv-ink: #252627;
  --jdv-tint: #EEF7FE;
  --jdv-line: #E3ECF5;
  --jdv-grad: linear-gradient(107deg, #0A1A31 0%, #139FF8 100%);
  --jdv-shadow: 0 12px 34px rgba(10, 26, 49, .08);
  --jdv-shadow-hover: 0 14px 30px rgba(19, 159, 248, .28);
  font-family: "Montserrat", sans-serif;
  color: var(--jdv-ink);
  max-width: 1180px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
.jdv *, .jdv *::before, .jdv *::after { box-sizing: border-box; }
.jdv [hidden] { display: none !important; }
.jdv svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jdv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Bandeau recherche ---------- */
.jdv-search {
  position: relative;
  overflow: hidden;
  background: var(--jdv-grad);
  border-radius: 20px;
  padding: 46px 40px 50px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(10, 26, 49, .22);
}
.jdv-search::before, .jdv-search::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 70%);
}
.jdv-search::before { width: 420px; height: 420px; right: -120px; top: -180px; }
.jdv-search::after  { width: 300px; height: 300px; left: -90px; bottom: -170px; }

.jdv-search-kicker {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 7px 16px; border-radius: 50px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff;
}
.jdv-search-kicker strong { font-weight: 900; color: #fff; margin-right: -4px; }
.jdv-dot { width: 8px; height: 8px; border-radius: 50%; background: #4CD964; box-shadow: 0 0 0 4px rgba(76,217,100,.25); }

.jdv-search-label {
  position: relative; display: block; margin: 0 0 22px;
  font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; line-height: 1.15;
  text-transform: uppercase; letter-spacing: .01em; color: #fff;
}

.jdv-field { position: relative; max-width: 620px; margin: 0 auto; }
.jdv-field-icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; color: var(--jdv-blue); pointer-events: none;
}
.jdv .jdv-input {
  width: 100%; height: 62px; margin: 0;
  padding: 0 56px 0 56px;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--jdv-navy);
  background: #fff; border: 3px solid transparent; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10, 26, 49, .25);
  outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.jdv .jdv-input::placeholder { color: #8A97A8; font-weight: 500; }
.jdv .jdv-input:focus { border-color: rgba(19,159,248,.55); box-shadow: 0 10px 30px rgba(10,26,49,.25), 0 0 0 5px rgba(255,255,255,.18); }
.jdv .jdv-input::-webkit-search-cancel-button { display: none; }
.jdv .jdv-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: var(--jdv-tint); color: var(--jdv-navy);
  font: 700 20px/32px Arial, sans-serif; cursor: pointer; transition: background .2s, color .2s;
}
.jdv .jdv-clear:hover { background: var(--jdv-blue); color: #fff; }

/* ---------- Navigation A-Z ---------- */
.jdv-letters {
  position: sticky; top: 0; z-index: 20;
  margin: -26px auto 34px; max-width: calc(100% - 40px);
}
.admin-bar .jdv-letters { top: 32px; }
.jdv-letters-inner {
  display: grid; grid-template-columns: repeat(26, minmax(0, 1fr)); gap: 5px;
  padding: 12px 14px; background: #fff; border-radius: 14px;
  box-shadow: var(--jdv-shadow); border: 1px solid var(--jdv-line);
}
.jdv-letters a, .jdv-letters span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 38px; border-radius: 8px;
  font-size: 14px; font-weight: 800; line-height: 1;
  text-decoration: none !important;
}
.jdv-letters a { background: var(--jdv-tint); color: var(--jdv-navy); transition: background .2s, color .2s, transform .2s; }
.jdv-letters a:hover, .jdv-letters a.is-active { background: var(--jdv-blue); color: #fff; transform: translateY(-2px); }
.jdv-letters span.is-empty, .jdv-letters a.is-off { background: transparent; color: #C9D2DC; pointer-events: none; transform: none; }

/* ---------- Groupes ---------- */
.jdv-list { display: grid; gap: 22px; }
.jdv-group {
  background: #fff; border: 1px solid var(--jdv-line); border-radius: 16px;
  padding: 26px 28px 28px; box-shadow: var(--jdv-shadow);
  scroll-margin-top: 110px;
}
.jdv-group-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--jdv-line); }
.jdv .jdv-letter { margin: 0; padding: 0; border: 0; line-height: 1; }
.jdv-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--jdv-grad); color: #fff;
  font-size: 26px; font-weight: 900;
  box-shadow: 0 8px 20px rgba(19,159,248,.3);
}
.jdv-group-count { font-size: 13px; font-weight: 600; color: #6B7A8D; background: var(--jdv-tint); padding: 6px 14px; border-radius: 50px; }
.jdv-group-count b { color: var(--jdv-blue); font-weight: 800; }

.jdv .jdv-cities {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px;
}
.jdv .jdv-cities li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.jdv .jdv-cities li::before, .jdv .jdv-cities li::marker { content: none !important; }
.jdv .jdv-cities a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: 10px;
  background: #F7FAFD; border: 1px solid var(--jdv-line);
  color: var(--jdv-navy) !important; text-decoration: none !important;
  font-size: 15px; font-weight: 700; line-height: 1.25;
  transition: background .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.jdv-pin { flex: 0 0 18px; width: 18px; height: 18px; color: var(--jdv-blue); transition: color .25s; }
.jdv-name { flex: 1; min-width: 0; }
.jdv-arrow { flex: 0 0 16px; width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.jdv .jdv-cities a:hover, .jdv .jdv-cities a:focus-visible {
  background: var(--jdv-blue); border-color: var(--jdv-blue); color: #fff !important;
  transform: translateY(-2px); box-shadow: var(--jdv-shadow-hover); outline: none;
}
.jdv .jdv-cities a:hover .jdv-pin, .jdv .jdv-cities a:focus-visible .jdv-pin { color: #fff; }
.jdv .jdv-cities a:hover .jdv-arrow, .jdv .jdv-cities a:focus-visible .jdv-arrow { opacity: 1; transform: none; }
.jdv mark { background: rgba(19,159,248,.18); color: inherit; border-radius: 3px; padding: 0 1px; }
.jdv .jdv-cities a:hover mark { background: rgba(255,255,255,.25); }

/* ---------- Aucun résultat ---------- */
.jdv-empty {
  text-align: center; padding: 50px 24px; background: #fff;
  border: 2px dashed var(--jdv-line); border-radius: 16px;
}
.jdv-empty svg { width: 46px; height: 46px; color: var(--jdv-blue); margin-bottom: 10px; }
.jdv-empty p { margin: 0 0 6px; color: #6B7A8D; font-size: 15px; }
.jdv .jdv-empty-title { font-size: 20px; font-weight: 900; color: var(--jdv-navy); }
.jdv .jdv-btn {
  display: inline-block; margin-top: 18px; padding: 16px 44px; border-radius: 8px;
  background: var(--jdv-blue); color: #fff !important; text-decoration: none !important;
  font-size: 15px; font-weight: 700; transition: background .2s, transform .2s;
}
.jdv .jdv-btn:hover { background: var(--jdv-navy); transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 782px) { .admin-bar .jdv-letters { top: 46px; } }
@media (max-width: 767px) {
  .jdv-search { padding: 34px 18px 44px; border-radius: 16px; }
  .jdv .jdv-input { height: 56px; font-size: 15px; }
  .jdv-letters { max-width: 100%; margin: -22px 0 24px; }
  .jdv-letters-inner { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 10px; }
  .jdv-letters-inner::-webkit-scrollbar { display: none; }
  .jdv-letters a, .jdv-letters span { flex: 0 0 34px; width: 34px; height: 34px; }
  .jdv-group { padding: 20px 16px; border-radius: 14px; }
  .jdv-badge { width: 46px; height: 46px; font-size: 22px; }
  .jdv .jdv-cities { grid-template-columns: 1fr 1fr; gap: 8px; }
  .jdv .jdv-cities a { padding: 11px 10px; font-size: 14px; gap: 7px; }
  .jdv-arrow { display: none; }
}
@media (max-width: 380px) { .jdv .jdv-cities { grid-template-columns: 1fr; } }
