/* VOG Carrières — version épurée */
:root {
  --navy: #0b1a33;
  --orange: #ff9900;
  --orange-d: #e68a00;
  --ink: #0b1a33;
  --text: #4a5568;
  --muted: #8a94a6;
  --line: #e8e9ed;
  --soft: #f6f6f7;
  --green: #12b76a;
  --red: #e5484d;
  --font: "DM Sans", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(255, 153, 0, .5); outline-offset: 3px; border-radius: 6px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 28px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav a { opacity: .65; transition: opacity .2s, color .2s; }
.nav a:hover, .nav a.on { opacity: 1; color: var(--orange-d); }
.nav .s { display: none; }

/* Boutons et liens */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 14px 28px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1c2d50; }
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: var(--orange-d); }
.btn-line { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn.sm { padding: 8px 16px; font-size: 13.5px; }
.link { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--orange); padding-bottom: 2px; transition: color .2s; }
.link:hover { color: var(--orange-d); }

/* Accueil */
.hero { padding-top: 104px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.accent { color: var(--orange); }
.hero-cta { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.offres { padding-bottom: 96px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sec-h h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.jobs li { border-bottom: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 24px; padding: 28px 4px; }
.job-t { font-size: clamp(19px, 2.3vw, 25px); font-weight: 700; color: var(--ink); letter-spacing: -.015em; transition: color .2s; }
.job-c { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.job-a { color: var(--orange); font-size: 20px; text-align: right; transition: transform .2s; }
.job:hover .job-t { color: var(--orange-d); }
.job:hover .job-a { transform: translateX(6px); }
.sk { height: 86px; background: linear-gradient(90deg, #f3f4f6 25%, #fafafa 50%, #f3f4f6 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.spont { margin-top: 32px; }
.empty { padding: 40px 0; color: var(--muted); }
.lead { margin-top: 28px; max-width: 640px; font-size: clamp(17px, 1.7vw, 19.5px); line-height: 1.55; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); line-height: 1.4; }

/* Avantages */
.perks { padding-bottom: 96px; }
.perk-g { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.perk-g li { border-top: 1px solid var(--line); padding: 26px 0 30px; }
.perk-g li::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-bottom: 16px; }
.perk-g b { display: block; font-size: 19px; line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.perk-g span { display: block; margin-top: 8px; font-size: 15px; }
.fine { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* L'entreprise */
.about { padding-bottom: 88px; }
.about-g { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 20px; align-items: start; }
.big { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; color: var(--ink); letter-spacing: -.035em; line-height: 1.04; }
.about-t p + p { margin-top: 16px; }

/* Ambitions (bande sombre) */
.dark { background: var(--navy); color: rgba(255, 255, 255, .72); }
.amb { padding: 76px 0 84px; }
.amb .eyebrow { color: rgba(255, 255, 255, .55); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 30px 0 0; }
.stats div { border-top: 2px solid var(--orange); padding-top: 22px; }
.stats dt { font-size: clamp(44px, 6.4vw, 76px); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; }
.stats dd { margin: 12px 0 0; font-size: 15.5px; }
.amb-t { margin-top: 40px; max-width: 640px; }
.final { padding-top: 96px; padding-bottom: 104px; }
.final h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.035em; }
.final .hero-cta { margin-top: 32px; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 13.5px; color: var(--muted); }
.foot .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot .r { margin-left: auto; display: flex; gap: 22px; }
.foot a:hover { color: var(--ink); }

/* Fiche de poste */
.back { display: inline-block; margin: 44px 0 28px; font-weight: 600; color: var(--muted); transition: color .2s; }
.back:hover { color: var(--ink); }
.detail h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.sub { margin-top: 14px; color: var(--muted); font-weight: 500; }
.detail .btn { margin-top: 30px; }
.detail .back + .eyebrow { margin-bottom: 12px; }
.cond { width: fit-content; margin-top: 18px; padding: 8px 14px; border-radius: 10px; background: #fff4e2; color: #8a4b00; font-size: 14.5px; font-weight: 600; }
.txt { margin-top: 52px; }
.txt .lead { margin: 0 0 40px; font-size: 18.5px; color: var(--ink); }
.txt .perk-l { list-style: none; padding-left: 0; }
.txt .perk-l li { padding-left: 20px; position: relative; }
.txt .perk-l li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.txt .perk-l b { color: var(--ink); }
.txt .more { margin-top: 16px; }
.txt h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 36px 0 12px; }
.txt h2:first-child { margin-top: 0; }
.txt ul { margin: 0; padding-left: 20px; }
.txt li { margin: 8px 0; }
.txt li::marker { color: var(--orange); }
.end { margin: 52px 0 96px; }

/* Formulaires */
.form { padding-bottom: 96px; }
.form h1 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.form .intro { margin-top: 10px; color: var(--muted); }
.f { margin-top: 24px; }
.f > label:not(.file), .lab { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.f small { color: var(--muted); font-weight: 500; }
.in { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 13px 14px; font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s; }
.in:focus { border-color: var(--orange); }
.in::placeholder { color: #a7aebb; }
textarea.in { min-height: 120px; resize: vertical; line-height: 1.5; }
select.in { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%230b1a33' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.tel { display: flex; gap: 8px; }
.tel span { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 .f { margin-top: 0; }
.row2 { margin-top: 24px; }
.file { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px dashed #cfd3da; border-radius: 12px; padding: 16px; color: var(--ink); font-weight: 600; transition: border-color .2s; }
.file:hover { border-color: var(--orange); }
.file input { position: absolute; inset: 0; opacity: 0; }
.file small { color: var(--muted); font-weight: 500; }
.file.has { border-style: solid; border-color: var(--green); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: 14.5px; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); margin-top: 3px; flex: none; }
.err { color: var(--red); font-weight: 600; font-size: 14.5px; margin-top: 16px; }
.form .btn { margin-top: 28px; }
.ok { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.dos { display: inline-block; margin-top: 20px; padding: 8px 18px; border-radius: 999px; background: var(--soft); font-weight: 700; color: var(--ink); }
.res { margin-top: 26px; padding: 20px; border-radius: 14px; background: var(--soft); }
.res b { color: var(--ink); }
.links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }

/* Espace RH */
.rh { padding-top: 44px; padding-bottom: 96px; }
.rh-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.rh-h h1 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.rh-h .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.tabs { display: flex; gap: 26px; margin-top: 30px; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: none; padding: 10px 0; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.on { color: var(--ink); border-color: var(--orange); }
.tools { display: grid; grid-template-columns: 2fr 1.3fr 1fr 1fr; gap: 10px; margin: 22px 0 6px; }
.tools .in { padding: 11px 14px; font-size: 14.5px; }
.cand { border-bottom: 1px solid var(--line); padding: 22px 0; }
.cand-h { display: flex; justify-content: space-between; gap: 16px; }
.cand-h b { font-size: 18px; color: var(--ink); }
.lvl { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
.lvl.fort { background: #e7f8ef; color: #0e8a4f; }
.lvl.moyen { background: #fff4e2; color: #b45f00; }
.lvl.faible { background: var(--soft); color: var(--muted); }
.score { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; text-align: right; white-space: nowrap; }
.score small { font-size: 13px; color: var(--muted); font-weight: 500; }
.meta { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.msg { margin-top: 10px; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.msg.open { display: block; }
.cand-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
.seg .on.nouveau { background: var(--navy); color: #fff; }
.seg .on.retenu { background: var(--green); color: #fff; }
.seg .on.refuse { background: #fdecec; color: var(--red); }
.cand-f .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.orow { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 20px 0; flex-wrap: wrap; }
.orow b { color: var(--ink); font-size: 17px; }
.orow .acts { display: flex; gap: 8px; }
.state { font-size: 12px; font-weight: 700; margin-left: 8px; }
.state.pub { color: var(--green); }
.state.draft { color: var(--muted); }
.explain { margin-top: 30px; font-size: 14px; }
.explain summary { font-weight: 700; color: var(--ink); }
.explain ul { padding-left: 18px; }

/* Toast et dialogue */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; transition: .25s; z-index: 80; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #b42318; }
dialog { border: 0; border-radius: 18px; padding: 26px; width: min(420px, calc(100% - 32px)); box-shadow: 0 20px 60px rgba(11, 26, 51, .2); }
dialog::backdrop { background: rgba(11, 26, 51, .4); }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: rot .7s linear infinite; margin-right: 8px; }
@keyframes rot { to { transform: rotate(360deg); } }

/* Curseur : logo VOG plein — point actif au centre du disque */
.cur { position: fixed; left: 0; top: 0; width: 18px; height: 25px; margin: -9px 0 0 -9px; pointer-events: none; z-index: 9999; color: #0a0a0a; opacity: 0; transition: opacity .2s, color .25s; will-change: transform; }
.cur svg { display: block; width: 100%; height: 100%; transform-origin: 9px 9px; transition: transform .2s ease; }
html.cur-on .cur { opacity: 1; }
html.cur-text .cur { opacity: 0; }
.cur.hover { color: var(--orange); }
.cur.hover svg { transform: scale(1.35); }
.cur.dark { color: #fff; }
.cur.dark.hover { color: var(--orange); }
.cur.down svg { transform: scale(.8); }
@media (pointer: fine) {
  html.has-cur, html.has-cur *, html.has-cur .btn[disabled] { cursor: none; }
  html.has-cur input:not([type=checkbox]):not([type=radio]):not([type=file]), html.has-cur textarea { cursor: text; }
}

/* Mobile */
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .top .wrap { height: 64px; gap: 16px; }
  .nav { gap: 18px; font-size: 14.5px; }
  .nav .l { display: none; }
  .nav .s { display: inline; }
  .hero { padding-top: 60px; padding-bottom: 52px; }
  .nav .hm { display: none; }
  .perk-g, .stats { grid-template-columns: 1fr; }
  .perks { padding-bottom: 72px; }
  .about-g { grid-template-columns: 1fr; gap: 20px; }
  .amb { padding: 56px 0 60px; }
  .stats { gap: 26px; }
  .final { padding-top: 72px; padding-bottom: 80px; }
  .job { grid-template-columns: 1fr 24px; gap: 4px 12px; padding: 22px 0; }
  .job-c { grid-row: 2; grid-column: 1; }
  .job-a { grid-row: 1 / 3; grid-column: 2; }
  .grid2, .tools { grid-template-columns: 1fr; }
  .foot .r { margin-left: 0; }
  .cand-h b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cur, .cur svg, .job-a, .job-t { transition: none; }
}
