/* =========================================================================
   Wyvo Jobs — page carrières (inspirée d'Uber Careers, aux couleurs Wyvo)
   S'appuie sur site.css (thème .t-dark) ; tout est préfixé .jx-
   ========================================================================= */

body.jobs { --dock-h: 64px; padding-bottom: 0; }
.jobs .grow { flex: 1; }
.jobs .hdr .wrap { gap: 14px; }
.jx-tag { font-size: 15px; font-weight: 600; color: var(--soft); padding-left: 14px; border-left: 1px solid var(--line-2); line-height: 1.1; }
.jx-site { height: 40px; padding: 0 16px; font-size: 14.5px; }
.jx-site .ic { width: 16px; height: 16px; }

/* ---------- Héros (diaporama façon Uber) ---------- */
.jx-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(calc(100svh - var(--hdr)), 860px); display: flex; align-items: flex-end; padding: 56px 0 104px; }
.jx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 12% 100%, rgba(99, 205, 132, .22), transparent 70%), radial-gradient(40% 50% at 40% 0%, rgba(205, 238, 122, .08), transparent 70%); }
.jx-photos { position: absolute; inset: 0 0 0 auto; width: min(64%, 1100px); z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 46%); mask-image: linear-gradient(90deg, transparent 0, #000 46%); }
.jx-photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0, transparent 40%), linear-gradient(180deg, rgba(0,0,0,.5) 0, transparent 30%); }
.jx-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 7s linear; }
.jx-photos img.on { opacity: .82; transform: scale(1); }
.jx-slides { position: relative; display: grid; }
.jx-slide { grid-area: 1 / 1; display: grid; gap: 22px; align-content: end; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.jx-slide.on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.jx-count { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--soft); }
.jx-count i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(205, 238, 122, .5); animation: jx-pulse 2s infinite; }
@keyframes jx-pulse { 70% { box-shadow: 0 0 0 9px rgba(205, 238, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(205, 238, 122, 0); } }
body .jx-slide .jx-big { color: #fff; font-size: clamp(54px, 9.2vw, 140px); font-weight: 600; letter-spacing: -.055em; line-height: .94; max-width: 11ch; }
.jx-g { background: linear-gradient(90deg, #63cd84, #cdee7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jx-slide p:not(.jx-big) { font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: #d7dbd8; max-width: 22ch; }
.jx-slide.on .jx-big, .jx-slide.on p, .jx-slide.on .jx-count { animation: jx-in .9s var(--ease) both; }
.jx-slide.on p:not(.jx-big) { animation-delay: .08s; }
@keyframes jx-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.jx-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.jx-bars { position: absolute; left: 0; right: 0; bottom: 36px; }
.jx-bars .wrap { display: flex; gap: 8px; }
.jx-bars button { width: 34px; height: 18px; display: flex; align-items: center; }
.jx-bars button i { display: block; width: 100%; height: 4px; border-radius: 4px; background: #2c302e; overflow: hidden; }
.jx-bars button i b { display: block; height: 100%; width: 0; background: #fff; }
.jx-bars button.done i b { width: 100%; }
.jx-bars button.on i b { animation: jx-fill var(--dur, 6s) linear forwards; }
.jx-hero.paused .jx-bars button.on i b { animation-play-state: paused; }
@keyframes jx-fill { to { width: 100%; } }
@media (max-width: 760px) {
  .jx-hero { flex-direction: column; align-items: stretch; padding: 0 0 88px; min-height: 0; }
  .jx-photos { position: relative; inset: auto; width: 100%; height: 320px; margin-bottom: -96px; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 55%); mask-image: linear-gradient(0deg, transparent 0, #000 55%); }
  .jx-photos::after { background: linear-gradient(0deg, #000 0, transparent 50%); }
  .jx-hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- Bandeau « Ce qui nous fait avancer » ---------- */
.jx-move { position: relative; padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.jx-marquee { display: flex; width: max-content; animation: jx-marq 38s linear infinite; }
.jx-marquee span { font-size: clamp(76px, 14vw, 220px); font-weight: 400; letter-spacing: -.06em; line-height: 1; white-space: nowrap; padding-right: .35em; }
.jx-marquee span b { font-weight: 400; }
@keyframes jx-marq { to { transform: translateX(-50%); } }
.jx-band { position: relative; padding: clamp(40px, 6vw, 90px) 0; }
.jx-float { position: absolute; z-index: 2; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.jx-float img { width: 100%; height: 100%; object-fit: cover; }
.jx-f1 { width: clamp(96px, 12vw, 170px); aspect-ratio: 4 / 5; top: -6%; left: 8%; transform: rotate(-5deg); }
.jx-f2 { width: clamp(120px, 16vw, 230px); aspect-ratio: 3 / 2; bottom: -14%; right: 8%; transform: rotate(4deg); }
.jx-f3 { width: clamp(80px, 9vw, 130px); aspect-ratio: 2 / 3; top: -16%; right: 30%; transform: rotate(3deg); }
.jx-star { position: absolute; z-index: 3; width: clamp(34px, 4vw, 54px); color: var(--lime); animation: jx-spin 14s linear infinite; }
.jx-star.s1 { top: -8%; left: 24%; }
.jx-star.s2 { width: clamp(22px, 2.6vw, 34px); color: var(--green); animation-duration: 10s; animation-direction: reverse; bottom: 0; left: 4%; }
@keyframes jx-spin { to { transform: rotate(360deg); } }
.jx-bubble { position: absolute; z-index: 3; bottom: -2%; left: 36%; background: var(--green); color: #0b2f1a; font-weight: 700; font-size: clamp(14px, 1.4vw, 18px); padding: 8px 16px; border-radius: 16px 16px 16px 4px; transform: rotate(-4deg); }
.jx-move-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 96px); margin-top: clamp(48px, 7vw, 96px); }
.jx-move-copy h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.04em; }
.jx-move-copy p { color: var(--soft); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; }
.jx-move-copy p + p { margin-top: 14px; }
.jx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border-radius: 16px; overflow: hidden; margin-top: clamp(48px, 6vw, 72px); }
.jx-stats > div { background: #000; padding: 26px 24px; }
.jx-stats b { display: block; font-size: clamp(36px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.jx-stats span { display: block; margin-top: 10px; color: var(--soft); font-size: 14.5px; }
@media (max-width: 860px) { .jx-move-copy { grid-template-columns: 1fr; } .jx-f3 { display: none; } }
@media (max-width: 560px) { .jx-stats { grid-template-columns: 1fr; } .jx-f1 { left: 4%; } }
@media (prefers-reduced-motion: reduce) { .jx-marquee { animation: none; } .jx-star { animation: none; } }

/* ---------- Recherche d'offres ---------- */
.jx-find { padding: clamp(56px, 8vw, 110px) 0; }
.jx-find h2 { font-size: clamp(44px, 7vw, 104px); font-weight: 600; letter-spacing: -.055em; line-height: .98; margin-bottom: clamp(36px, 5vw, 64px); }
.jx-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.jx-layout.solo { grid-template-columns: 1fr; }
.jx-filters { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 22px; }
.jx-f > span { display: block; font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 8px; }
.jx-in { position: relative; }
.jx-in .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--grey); pointer-events: none; }
.jx-in input, .jx-in select { width: 100%; height: 50px; border-radius: 10px; border: 0; background: #161817; color: #fff; padding: 0 14px 0 42px; font-size: 15px; outline: none; box-shadow: inset 0 0 0 1px #262a28; transition: box-shadow .15s; -webkit-appearance: none; appearance: none; }
.jx-in select { cursor: pointer; padding-right: 38px; }
.jx-in .chev { left: auto; right: 14px; }
.jx-in input:focus, .jx-in select:focus { box-shadow: inset 0 0 0 2px #fff; }
.jx-in input::placeholder { color: #7f8783; }
.jx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jx-chip { height: 36px; padding: 0 14px; border-radius: 100px; font-size: 14px; font-weight: 600; background: #161817; color: #d7dbd8; box-shadow: inset 0 0 0 1px #262a28; transition: background .15s, color .15s; }
.jx-chip:hover { background: #1f2221; }
.jx-chip[aria-pressed="true"] { background: #fff; color: #000; box-shadow: none; }
.jx-reset { justify-self: start; font-weight: 600; font-size: 14px; color: var(--soft); text-decoration: underline; }
.jx-reset:hover { color: #fff; }

.jx-listhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.jx-tabs { display: inline-flex; padding: 4px; border-radius: 100px; background: #161817; box-shadow: inset 0 0 0 1px #262a28; }
.jx-tabs button { height: 36px; padding: 0 16px; border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--soft); }
.jx-tabs button[aria-selected="true"] { background: #fff; color: #000; }
.jx-total { font-size: 14px; color: var(--soft); }
.jx-list { display: grid; gap: 12px; }
.jx-job { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 24px 26px; border-radius: 16px; background: #fff; color: #0e1110; text-align: left; transition: transform .25s var(--ease), box-shadow .25s; animation: jx-in .6s var(--ease) both; animation-delay: var(--d, 0s); }
.jx-job:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(205, 238, 122, .55); }
.jx-job h3 { font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -.025em; line-height: 1.2; color: #0e1110; }
.jx-job p { color: #545b58; font-size: 15px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jx-job .jx-metas { margin-top: 16px; }
.jx-job .jx-go { position: absolute; inset: 0; border-radius: 16px; }
.jx-job .jx-heart { position: relative; z-index: 1; align-self: start; }
.jx-metas { display: flex; flex-wrap: wrap; gap: 8px; }
.jx-meta { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 100px; background: #f1f2f0; font-size: 13.5px; font-weight: 600; color: #2a2e2c; white-space: nowrap; }
.jx-meta .ic { width: 15px; height: 15px; }
.jx-meta.new { background: var(--lime); color: #1b2410; }

/* Interrupteur « cœur » (offres enregistrées) façon Uber */
.jx-heart { width: 52px; height: 30px; border-radius: 100px; background: #0e1110; padding: 3px; display: inline-flex; transition: background .2s; flex: 0 0 auto; }
.jx-heart i { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: transform .25s var(--ease); }
.jx-heart svg { width: 13px; height: 13px; fill: #0e1110; }
.jx-heart[aria-pressed="true"] { background: var(--green); }
.jx-heart[aria-pressed="true"] i { transform: translateX(22px); }
.jx-heart[aria-pressed="true"] svg { fill: #2e8b53; }
.jx-heart.on-dark { background: #2c302e; }

.jx-empty { border-radius: 20px; background: #fff; color: #0e1110; padding: clamp(32px, 5vw, 56px); display: grid; gap: 14px; justify-items: start; }
.jx-empty .illu { width: 64px; height: 64px; }
.jx-empty h3 { font-size: clamp(24px, 2.6vw, 32px); color: #0e1110; letter-spacing: -.035em; }
.jx-empty p { color: #545b58; max-width: 520px; }
.jx-empty .btn { margin-top: 8px; }
.jx-skel { height: 132px; border-radius: 16px; background: linear-gradient(90deg, #111312, #1a1d1b, #111312); background-size: 200% 100%; animation: sk 1.2s infinite; }
@media (max-width: 900px) {
  .jx-layout { grid-template-columns: 1fr; }
  .jx-filters { position: static; grid-template-columns: 1fr 1fr; gap: 14px; }
  .jx-filters > .jx-f:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .jx-filters { grid-template-columns: 1fr; } .jx-job { padding: 20px; } }

/* ---------- Pourquoi nous rejoindre ---------- */
.jx-why { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.jx-why h2, .jx-steps-wrap h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.045em; margin-bottom: clamp(36px, 5vw, 60px); max-width: 16ch; }
.jx-vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px clamp(24px, 3vw, 40px); }
.jx-vals > div { border-top: 1px solid var(--line-2); padding-top: 26px; }
.jx-vals .illu { width: 64px; height: 64px; padding: 9px; border-radius: 16px; background: #fff; color: #14171A; }
.jx-vals h3 { font-size: 20px; margin: 20px 0 8px; letter-spacing: -.02em; line-height: 1.25; }
.jx-vals p { color: var(--soft); font-size: 15px; }
@media (max-width: 960px) { .jx-vals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jx-vals { grid-template-columns: 1fr; } }

/* ---------- Étapes ---------- */
.jx-steps-wrap { padding: 0 0 clamp(64px, 9vw, 120px); }
.jx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: st; }
.jx-step { position: relative; border-radius: 16px; background: #111312; padding: 26px 24px 30px; min-height: 230px; display: flex; flex-direction: column; overflow: hidden; }
.jx-step .n { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--soft); }
.jx-step .n b { color: #fff; }
.jx-step h3 { font-size: 24px; letter-spacing: -.03em; margin-top: auto; }
.jx-step p { color: var(--soft); font-size: 14.5px; margin-top: 8px; }
.jx-step:first-child { background: var(--lime); }
.jx-step:first-child h3, .jx-step:first-child .n b { color: #0b2f1a; }
.jx-step:first-child .n, .jx-step:first-child p { color: #2f5a40; }
@media (max-width: 960px) { .jx-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jx-steps { grid-template-columns: 1fr; } .jx-step { min-height: 180px; } }

/* ---------- Appel final ---------- */
.jx-cta { padding: 0 0 clamp(72px, 10vw, 130px); }
.jx-cta-box { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(135deg, #63cd84 0%, #9ede82 45%, #cdee7a 100%); color: #0b2f1a; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.jx-cta-box h2 { color: #0b2f1a; font-size: clamp(34px, 5vw, 68px); letter-spacing: -.05em; line-height: 1; max-width: 13ch; }
.jx-cta-box p { color: #174a2a; font-size: 17px; margin-top: 16px; max-width: 460px; }
@media (max-width: 760px) { .jx-cta-box { grid-template-columns: 1fr; } }

/* ---------- Fiche d'une offre ---------- */
.jx-detail { padding: 20px 0 clamp(72px, 10vw, 130px); }
.jx-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--soft); margin-bottom: 18px; height: 40px; padding: 0 14px 0 8px; border-radius: 100px; }
.jx-back:hover { color: #fff; background: #111312; }
.jx-back .ic { width: 18px; height: 18px; }
.jx-top { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: 16px; min-height: 480px; }
.jx-idcard { border-radius: 20px; background: var(--lime); color: #0b2f1a; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.jx-idcard h1 { color: #0b2f1a; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.04em; line-height: 1.05; }
.jx-idcard .jx-heart { background: #0b2f1a; }
.jx-idcard .jx-heart[aria-pressed="true"] { background: var(--green-dark); }
.jx-idcard dl { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.jx-idcard dt { font-size: 12.5px; font-weight: 700; color: #2f5a40; }
.jx-idcard dd { font-size: 15px; font-weight: 600; color: #0b2f1a; line-height: 1.35; }
.jx-visual { position: relative; border-radius: 20px; overflow: hidden; background: #111312; min-height: 320px; }
.jx-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jx-visual .jx-team { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.94); color: #0e1110; padding: 8px 18px 8px 8px; border-radius: 14px; backdrop-filter: blur(8px); }
.jx-team i { width: 42px; height: 42px; border-radius: 50%; background: #000; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.jx-team i img { position: static; width: 30px; height: auto; object-fit: contain; }
.jx-team small { display: block; font-size: 12px; color: #545b58; }
.jx-team b { display: block; font-size: 14.5px; letter-spacing: -.01em; }
.jx-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.jx-lead { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; font-weight: 600; letter-spacing: -.015em; color: #fff; }
.jx-sec { margin-top: 40px; }
.jx-sec h2 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 14px; }
.jx-sec p { color: #c9cecb; font-size: 16.5px; line-height: 1.7; }
.jx-sec p + p { margin-top: 12px; }
.jx-sec ul { list-style: none; display: grid; gap: 12px; }
.jx-sec li { position: relative; padding-left: 32px; color: #c9cecb; font-size: 16.5px; line-height: 1.6; }
.jx-sec li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2f1a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.jx-aside { position: sticky; top: calc(var(--hdr) + 24px); border-radius: 20px; background: #111312; padding: 26px; display: grid; gap: 16px; }
.jx-aside h3 { font-size: 21px; letter-spacing: -.025em; }
.jx-aside ul { list-style: none; display: grid; gap: 10px; color: var(--soft); font-size: 14.5px; }
.jx-aside li { display: flex; gap: 10px; align-items: flex-start; }
.jx-aside li .ic { width: 18px; height: 18px; color: var(--lime); margin-top: 2px; }
.jx-share { display: flex; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-2); align-items: center; }
.jx-share > span { font-size: 14px; font-weight: 600; margin-right: auto; }
.jx-share a, .jx-share button { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--line-2); color: #fff; transition: background .15s; }
.jx-share a:hover, .jx-share button:hover { background: #1f2221; }
.jx-share svg { width: 17px; height: 17px; }
@media (max-width: 900px) {
  .jx-top { grid-template-columns: 1fr; min-height: 0; }
  .jx-visual { min-height: 0; aspect-ratio: 16 / 10; }
  .jx-body { grid-template-columns: 1fr; }
  .jx-aside { position: static; }
}

/* ---------- Dock flottant (barre du bas) ---------- */
.jx-dock { position: fixed; left: 50%; bottom: 18px; z-index: 120; transform: translateX(-50%); display: flex; gap: 8px; align-items: stretch; max-width: calc(100vw - 24px); transition: transform .35s var(--ease), opacity .3s; }
.jx-dock.hide { transform: translate(-50%, 140%); opacity: 0; }
.jx-nav { display: flex; background: rgba(17, 19, 18, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 16px; box-shadow: 0 0 0 1px #262a28, 0 14px 40px rgba(0,0,0,.5); padding: 4px; }
.jx-nav a, .jx-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 76px; height: 54px; padding: 0 12px; border-radius: 12px; font-size: 11.5px; font-weight: 600; color: #d7dbd8; transition: background .15s, color .15s; }
.jx-nav a:hover, .jx-nav button:hover { background: #1f2221; color: #fff; }
.jx-nav [aria-current="true"] { color: #fff; }
.jx-nav [aria-current="true"]::after { content: ""; position: absolute; bottom: 5px; width: 14px; height: 3px; border-radius: 3px; background: var(--lime); }
.jx-nav .ic { width: 19px; height: 19px; }
.jx-nav .badge { position: absolute; top: 6px; right: calc(50% - 22px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--lime); color: #1b2410; font-size: 10.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.jx-apply { display: inline-flex; align-items: center; gap: 18px; padding: 0 10px 0 22px; height: 62px; border-radius: 16px; background: var(--green); color: #04180b; font-weight: 700; font-size: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.5); transition: background .15s, transform .2s var(--ease); white-space: nowrap; }
.jx-apply:hover { background: #79d896; }
.jx-apply:active { transform: scale(.98); }
.jx-apply i { width: 40px; height: 40px; border-radius: 50%; background: #0b2f1a; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.jx-apply .ic { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .jx-dock { bottom: 10px; width: calc(100vw - 20px); }
  .jx-nav { flex: 1; justify-content: space-between; }
  .jx-nav a, .jx-nav button { min-width: 0; flex: 1; padding: 0 4px; font-size: 10.5px; }
  .jx-apply { padding: 0 8px 0 16px; gap: 10px; }
  .jx-dock.apply-mode .jx-nav { display: none; }
  .jx-dock.apply-mode .jx-apply { flex: 1; justify-content: space-between; }
}
.ftr { padding-bottom: calc(36px + var(--dock-h) + 24px); }

/* =========================================================================
   Panneau de candidature (clair, comme les pages de connexion Uber)
   ========================================================================= */
.jx-sheet { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: flex-end; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.jx-sheet.on { opacity: 1; pointer-events: auto; }
.jx-panel {
  --ink: #0e1110; --soft: #545b58; --grey: #767d79; --line: #e5e8e3; --line-2: #d9ddd7; --bg-alt: #f3f4f2;
  width: min(760px, 100%); height: 100%; background: #fff; color: #0e1110; display: flex; flex-direction: column;
  transform: translateX(40px); transition: transform .35s var(--ease); box-shadow: -30px 0 80px rgba(0,0,0,.35);
}
.jx-sheet.on .jx-panel { transform: none; }
.jx-panel h1, .jx-panel h2, .jx-panel h3 { color: #0e1110; }
.jx-ph { display: flex; align-items: flex-start; gap: 16px; padding: 22px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.jx-ph small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2e8b53; }
.jx-ph h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; margin-top: 4px; line-height: 1.15; }
.jx-x { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f1f2f0; flex: 0 0 auto; }
.jx-x:hover { background: #e5e8e3; }
.jx-pb { flex: 1; overflow-y: auto; padding: 10px clamp(20px, 4vw, 40px) 40px; overscroll-behavior: contain; }
.jx-pf { padding: 16px clamp(20px, 4vw, 40px); border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; background: #fff; }
.jx-pf .tiny { flex: 1; }
.jx-pf .abtn { width: auto; padding: 0 28px; flex: 0 0 auto; }
.jx-fs { padding: 30px 0 6px; border-bottom: 1px solid var(--line); }
.jx-fs:last-of-type { border-bottom: 0; }
.jx-fs > h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.jx-fs > h3 i { width: 28px; height: 28px; border-radius: 50%; background: #0e1110; color: #fff; font-style: normal; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.jx-fs > p { color: var(--soft); font-size: 14.5px; margin-bottom: 18px; }
.jx-panel .fld > span em { font-style: normal; font-weight: 500; color: var(--grey); }
.jx-panel .inp.ta { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.jx-panel .fld-row { grid-template-columns: 1fr 1fr; }
.jx-panel .fld .msg { display: none; font-size: 13px; color: #b42318; font-weight: 600; }
.jx-panel .fld.err .inp { box-shadow: inset 0 0 0 2px #d92d20; background: #fff; }
.jx-panel .fld.err .msg, .jx-panel .err > .msg { display: block; }
.jx-panel .err > .msg { margin-top: 8px; font-size: 13px; color: #b42318; font-weight: 600; }
.jx-panel .msg { display: none; }
@media (max-width: 560px) { .jx-panel .fld-row { grid-template-columns: 1fr; gap: 0; } .jx-pf { flex-direction: column; align-items: stretch; } .jx-pf .abtn { width: 100%; } }

/* Dépôt de fichier */
.jx-drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 12px; border: 2px dashed #d0d5cf; background: #fafbf9; cursor: pointer; transition: border-color .15s, background .15s; }
.jx-drop:hover, .jx-drop.over { border-color: #0e1110; background: #f3f4f2; }
.jx-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.jx-drop .di { width: 48px; height: 48px; border-radius: 12px; background: var(--lime); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.jx-drop .di .ic { width: 22px; height: 22px; color: #1b2410; }
.jx-drop .dt { min-width: 0; color: #0e1110; }
.jx-drop b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jx-drop b u { text-underline-offset: 3px; }
.jx-drop .dt > span { display: block; font-size: 13px; color: var(--grey); }
.jx-drop.has { border-style: solid; border-color: #63cd84; background: #f2fbf5; }
.jx-drop.has .di { background: #63cd84; }
.jx-drop .rm { position: relative; z-index: 2; margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.jx-drop .rm:hover { box-shadow: 0 0 0 1px #0e1110; }
.err > .jx-drop { border-color: #d92d20; }
.jx-panel .seg { margin-bottom: 12px; }

/* Disponibilités */
.jx-start { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.jx-radio { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 100px; background: #f1f2f0; font-weight: 600; font-size: 14.5px; cursor: pointer; user-select: none; }
.jx-radio input { position: absolute; opacity: 0; pointer-events: none; }
.jx-radio:has(input:checked) { background: #0e1110; color: #fff; }
.jx-radio:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.jx-start input[type="date"] { height: 46px; padding: 0 14px; border-radius: 10px; border: 0; background: #f1f2f0; font-weight: 600; font-size: 15px; outline: none; }
.jx-start input[type="date"]:focus { box-shadow: inset 0 0 0 2px #0e1110; }
.jx-start input[type="date"]:disabled { opacity: .45; }

.jx-edt { border-radius: 16px; background: #f6f7f5; padding: 16px; }
.jx-edt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.jx-edt-top b { font-size: 14.5px; }
.jx-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.jx-presets button { height: 32px; padding: 0 12px; border-radius: 100px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px #e1e4df; }
.jx-presets button:hover { box-shadow: inset 0 0 0 1px #0e1110; }
.jx-grid { display: grid; grid-template-columns: 92px repeat(7, minmax(0, 1fr)); gap: 6px; user-select: none; touch-action: none; }
.jx-grid .hd { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--soft); padding: 4px 0; border-radius: 8px; }
.jx-grid .rw { display: flex; flex-direction: column; justify-content: center; text-align: left; font-size: 13px; font-weight: 700; padding-right: 6px; border-radius: 8px; line-height: 1.2; }
.jx-grid .rw small { font-size: 11px; font-weight: 500; color: var(--grey); }
.jx-grid button.hd:hover, .jx-grid button.rw:hover { background: #eceee9; }
.jx-cell { height: 46px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #e1e4df; display: inline-flex; align-items: center; justify-content: center; transition: background .12s, transform .12s; }
.jx-cell:hover { box-shadow: inset 0 0 0 2px #0e1110; }
.jx-cell svg { width: 16px; height: 16px; stroke: #0b2f1a; stroke-width: 3; fill: none; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .2s var(--ease); }
.jx-cell[aria-pressed="true"] { background: #63cd84; box-shadow: none; }
.jx-cell[aria-pressed="true"] svg { opacity: 1; transform: none; }
.jx-cell:active { transform: scale(.94); }
.jx-edt-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--grey); }
.jx-edt-foot b { color: #0e1110; }
.err > .jx-edt { box-shadow: inset 0 0 0 2px #d92d20; }
@media (max-width: 560px) {
  .jx-edt { padding: 12px 10px; }
  .jx-grid { grid-template-columns: 64px repeat(7, minmax(0, 1fr)); gap: 4px; }
  .jx-cell { height: 40px; border-radius: 8px; }
  .jx-grid .rw small { display: none; }
}

/* Confirmation */
.jx-done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(40px, 10vh, 100px) 8px; }
.jx-done .ok { width: 92px; height: 92px; border-radius: 50%; background: var(--lime); display: inline-flex; align-items: center; justify-content: center; animation: jx-pop .6s var(--ease) both; }
.jx-done .ok svg { width: 44px; height: 44px; stroke: #0b2f1a; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: jx-draw .5s .3s var(--ease) forwards; }
@keyframes jx-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes jx-draw { to { stroke-dashoffset: 0; } }
.jx-done h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.04em; }
.jx-done p { color: var(--soft); max-width: 440px; }
.jx-done .btn { margin-top: 10px; }
.jx-form-err { display: none; margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: #fef3f2; color: #b42318; font-size: 14.5px; font-weight: 600; }
.jx-form-err.show { display: block; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
body.jx-lock { overflow: hidden; }
