/* Flexee Careers - charte Flexee : navy dominant, rose en accent ; Poppins (titres), Nunito (texte).
   Pas de barre de couleur latérale, pas d'ombre marquée : mise en valeur par fond teinté, icône, gras. */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-variable.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --navy: #1C1B67;
  --blue: #1B29A4;
  --pink: #FF1087;
  --deep: #0D145A;
  --indigo: #3B4BC8;
  --light: #F5F6FB;
  --mist: #E9EBF5;
  --pink-pale: #FFE3F0;
  --blue-pale: #E6E9FB;
  --green: #0E7A4E;
  --green-pale: #DDF3E8;
  --amber-pale: #FFF2D6;
  --ink-soft: #4A4E7A;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Nunito", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; color: var(--navy); background: var(--light); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: "Poppins", "Segoe UI", Arial, sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 14px; }
h1 { font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.015em; }
h2 { font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h3 { font-weight: 700; font-size: 1.08rem; }
p { margin: 0 0 12px; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-radius: 6px; }
.shell { width: min(1160px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); margin: 0 auto; }
.kicker { font-family: "Poppins", sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.lead { font-size: 1.07rem; color: var(--ink-soft); max-width: 660px; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; z-index: 60; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--mist); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--navy); font-size: 1rem; color: var(--pink); }
.header-nav { display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: .95rem; }
.header-nav a { text-decoration: none; color: var(--navy); }
.header-nav a:hover { color: var(--blue); }
.header-nav form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); cursor: pointer; font-weight: 700; }
.link-btn:hover { color: var(--blue); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 800; text-decoration: none; font-size: .95rem; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: #E6007E; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--deep); }
.btn-light { background: var(--mist); color: var(--navy); }
.btn-light:hover { background: #DCE0F0; }
.btn-danger { background: #B3123F; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Messages */
.notice { padding: 14px 18px; border-radius: 14px; margin: 0 0 20px; font-weight: 700; display: flex; gap: 10px; align-items: flex-start; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.notice-ok { background: var(--green-pale); color: #0B5C3B; }
.notice-info { background: var(--blue-pale); color: var(--navy); }
.notice-error { background: var(--pink-pale); color: #8A0047; }
.notice ul { margin: 4px 0 0; padding-left: 18px; font-weight: 600; }

/* Hero du job board */
.hero { background: var(--navy); color: #fff; padding: 56px 0 64px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero .kicker { color: #FF8CC3; }
.hero .lead { color: #D6D9F2; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.hero-facts li { background: rgba(255,255,255,.1); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; }
.hero-facts strong { color: #FF8CC3; }

/* Filtres */
.board { padding: 40px 0 72px; }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.board-head h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: #fff; color: var(--navy); border: 1px solid var(--mist); border-radius: 999px; padding: 7px 16px; font-weight: 800; font-size: .88rem; cursor: pointer; font-family: inherit; }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Cartes des offres */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.offer { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; border: 1px solid var(--mist); transition: border-color .15s; }
.offer:hover { border-color: #C9CEEA; }
.offer[hidden] { display: none; }
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.offer-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.offer-icon svg { width: 24px; height: 24px; }
.cat-sales .offer-icon, .tag.cat-sales { background: var(--pink-pale); color: #B0005C; }
.cat-cybersecurite .offer-icon, .tag.cat-cybersecurite { background: var(--blue-pale); color: var(--blue); }
.cat-ia .offer-icon, .tag.cat-ia { background: #EDE6FB; color: #5A2DB5; }
.tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: .78rem; background: var(--mist); color: var(--navy); white-space: nowrap; }
.code { font-family: "Poppins", sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .06em; color: var(--ink-soft); }
.offer h3 { font-size: 1.15rem; margin: 0; }
.offer p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 0; list-style: none; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 16px; height: 16px; color: var(--indigo); flex: none; }
.offer-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--mist); }
.deadline { font-weight: 800; font-size: .86rem; color: var(--navy); }
.deadline.closed { color: #8A0047; }
.go { font-weight: 800; color: var(--pink); display: inline-flex; align-items: center; gap: 4px; }

/* Étapes du recrutement (job board) */
.process { background: #fff; padding: 56px 0; }
.process ol { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; counter-reset: s; }
.process li { background: var(--light); border-radius: 18px; padding: 18px; counter-increment: s; }
.process li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-family: "Poppins", sans-serif; font-weight: 700; margin-bottom: 10px; }
.process strong { display: block; margin-bottom: 4px; }
.process span { font-size: .9rem; color: var(--ink-soft); }

/* Page sujet */
.offer-hero { background: #fff; padding: 36px 0 32px; border-bottom: 1px solid var(--mist); }
.crumbs { font-size: .88rem; font-weight: 700; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.offer-hero .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 22px; }
.fact { background: var(--light); border-radius: 16px; padding: 12px 16px; }
.fact dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.fact dd { margin: 2px 0 0; font-weight: 700; }
.offer-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; padding: 36px 0 72px; align-items: start; }
.offer-body section { background: #fff; border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; }
.offer-body h2 { font-size: 1.2rem; }
.offer-body ul, .offer-body ol { margin: 0; padding-left: 22px; }
.offer-body li { margin-bottom: 8px; }
.offer-body li::marker { color: var(--pink); font-weight: 800; }
.aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: #fff; border-radius: var(--radius); padding: 22px; }
.aside-card .btn { width: 100%; }
.aside-card h3 { margin-bottom: 8px; }
.share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.share a, .share button { justify-content: center; }
.share-status { min-height: 1.4em; font-size: .86rem; font-weight: 700; color: var(--green); margin: 8px 0 0; }

/* Formulaires */
.form-page { padding: 36px 0 72px; }
.card { background: #fff; border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.card h2 { font-size: 1.15rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 800; font-size: .92rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.req { color: var(--pink); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=datetime-local], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--navy); background: var(--light); border: 1px solid #D5D9EE; border-radius: 12px; padding: 11px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--indigo); background: #fff; }
textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field-error { color: #B3123F; font-weight: 700; font-size: .86rem; }
.counter { font-size: .86rem; font-weight: 800; color: var(--ink-soft); text-align: right; }
.counter.over { color: #B3123F; }
.file-drop { background: var(--light); border: 1px dashed #B9BFE0; border-radius: 14px; padding: 18px; display: flex; align-items: center; gap: 14px; }
.file-drop svg { width: 30px; height: 30px; color: var(--indigo); flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--pink); flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.summary-box { background: var(--blue-pale); border-radius: 16px; padding: 16px 18px; margin-bottom: 20px; }
.summary-box strong { display: block; }

/* Espace candidat : workflow */
.space { padding: 36px 0 72px; }
.space-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ref { font-family: "Poppins", sans-serif; font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.step:last-child { padding-bottom: 0; }
.step::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--mist); }
.step:last-child::after { display: none; }
.step.done::after { background: var(--navy); }
.dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 700; background: var(--mist); color: #8A8FB8; position: relative; z-index: 1; }
.dot svg { width: 22px; height: 22px; }
.step.done .dot { background: var(--navy); color: #fff; }
.step.current .dot { background: var(--pink); color: #fff; }
.step-body { padding-top: 8px; }
.step-body strong { display: block; font-family: "Poppins", sans-serif; font-weight: 700; }
.step.upcoming .step-body { color: #8A8FB8; }
.step.upcoming .step-body strong { color: #8A8FB8; }
.step-body p { margin: 2px 0 0; font-size: .92rem; }
.step-panel { margin-top: 12px; background: var(--light); border-radius: 16px; padding: 16px 18px; }
.step.current .step-panel { background: var(--pink-pale); }
.state { font-size: .78rem; font-weight: 800; border-radius: 999px; padding: 2px 10px; margin-left: 8px; vertical-align: middle; }
.state-done { background: var(--green-pale); color: #0B5C3B; }
.state-current { background: var(--pink); color: #fff; }
.space-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .94rem; }
.kv dt { font-weight: 800; color: var(--ink-soft); }
.kv dd { margin: 0; }

/* Test minuté */
.test-page { padding: 28px 0 72px; }
.test-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.progress { display: flex; gap: 6px; }
.progress span { width: 34px; height: 8px; border-radius: 99px; background: var(--mist); }
.progress span.done { background: var(--navy); }
.progress span.now { background: var(--pink); }
.timer { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border-radius: 14px; padding: 8px 16px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; min-width: 122px; justify-content: center; }
.timer svg { width: 20px; height: 20px; }
.timer.low { background: var(--pink); }
.timebar { height: 6px; background: var(--mist); border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.timebar i { display: block; height: 100%; background: var(--indigo); width: 100%; transition: width 1s linear; }
.question { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.15rem; line-height: 1.5; margin: 6px 0 18px; }
.answer-box textarea { min-height: 260px; background: #fff; }
.rules { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 10px; }
.rules li { display: flex; gap: 10px; align-items: flex-start; }
.rules svg { width: 20px; height: 20px; color: var(--indigo); flex: none; margin-top: 3px; }
.loader { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--mist); border-top-color: var(--pink); animation: spin 1s linear infinite; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.timer-float { position: fixed; top: var(--float-top, 84px); right: 16px; z-index: 60; min-width: 0; font-size: 1.05rem; padding: 7px 14px; box-shadow: 0 6px 18px rgba(28, 27, 103, .18);
  opacity: 0; transform: translateY(-24px); pointer-events: none; visibility: hidden;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.15), background-color .3s ease, visibility 0s linear .45s; }
.timer-float.show { opacity: 1; transform: translateY(0); visibility: visible; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.15), background-color .3s ease, visibility 0s; }
@media (min-width: 900px) { .timer-float { right: max(16px, calc((100vw - 820px) / 2)); } }
@media (prefers-reduced-motion: reduce) { .loader { animation: none; } .timebar i { transition: none; } .timer-float, .timer-float.show { transform: none; transition: opacity .2s linear, visibility 0s; } }

/* Espace RH */
.hr-body { background: var(--light); }
.hr-nav { background: var(--navy); }
.hr-nav .shell { display: flex; gap: 6px; align-items: center; min-height: 48px; flex-wrap: wrap; }
.hr-nav a { color: #D6D9F2; text-decoration: none; font-weight: 800; font-size: .92rem; padding: 6px 12px; border-radius: 10px; }
.hr-nav a[aria-current="page"], .hr-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat { background: #fff; border-radius: 16px; padding: 12px 14px; text-decoration: none; color: inherit; }
.stat b { display: block; font-family: "Poppins", sans-serif; font-size: 1.4rem; }
.stat span { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.stat.active { background: var(--blue-pale); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; background: #fff; border-radius: 18px; padding: 14px; margin-bottom: 16px; }
.toolbar .field { margin: 0; min-width: 160px; flex: 1; }
.table-wrap { background: #fff; border-radius: 18px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--mist); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); background: #FAFBFE; }
tr:last-child td { border-bottom: 0; }
td a { font-weight: 800; text-decoration: none; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 800; background: var(--mist); white-space: nowrap; }
.pill-ok { background: var(--green-pale); color: #0B5C3B; }
.pill-wait { background: var(--amber-pale); color: #7A5200; }
.pill-bad { background: var(--pink-pale); color: #8A0047; }
.pill-run { background: var(--blue-pale); color: var(--blue); }
/* Tableaux RH : tri par en-tête, lignes cliquables, sélection et actions groupées. */
.th-sort { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; text-decoration: none; white-space: nowrap; }
.th-sort:hover, .th-sort.is-active { color: var(--navy); }
.th-arrow { font-size: .9em; opacity: .55; }
.th-sort.is-active .th-arrow { opacity: 1; color: var(--pink); }
table.rows-link tbody tr[data-href] { cursor: pointer; }
table.rows-link tbody tr[data-href]:hover td { background: #F5F6FD; }
table tbody tr.is-selected td { background: var(--blue-pale); }
.col-check { width: 36px; padding-right: 0; }
.col-check input { width: 18px; height: 18px; accent-color: var(--pink); cursor: pointer; vertical-align: middle; }
.bulk-bar { display: none; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 12px; }
.bulk-bar.is-visible { display: flex; }
.bulk-bar select { width: auto; min-width: 240px; padding: 7px 10px; }
.bulk-bar .check { color: #fff; margin: 0; }
.bulk-bar .btn-secondary { background: var(--pink); }
.pill-level { background: var(--mist); color: var(--navy); }
.quiz-choices { list-style: none; margin: 6px 0 0; padding: 0; font-size: .86rem; color: var(--ink-soft); }
.quiz-choices li { padding: 1px 0; }
.quiz-choices li.is-correct { color: #0B5C3B; }
/* Notes de l'IA : vert à partir de 70 %, orange de 45 à 69 %, rouge en dessous. */
.score { display: inline-flex; align-items: baseline; gap: 1px; border-radius: 999px; padding: 2px 10px; font-weight: 800; font-size: .86rem; white-space: nowrap; font-variant-numeric: tabular-nums; background: var(--mist); color: var(--navy); }
.score small { font-size: .72em; font-weight: 700; opacity: .8; }
.score-ok { background: var(--green-pale); color: #0B5C3B; }
.score-mid { background: var(--amber-pale); color: #7A5200; }
.score-low { background: var(--pink-pale); color: #8A0047; }
.score-card { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.score-big { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; background: var(--mist); color: var(--navy); flex: none; }
.score-big b { font-family: "Poppins", sans-serif; font-size: 2.3rem; line-height: 1; }
.score-big span { font-weight: 700; font-size: .85rem; }
.score-big.score-ok { background: var(--green); color: #fff; }
.score-big.score-mid { background: #B7791F; color: #fff; }
.score-big.score-low { background: #B3123F; color: #fff; }
.score-parts { flex: 1; min-width: 220px; display: grid; gap: 10px; }
.trait-bar.score-bar-ok i { background: var(--green); }
.trait-bar.score-bar-mid i { background: #B7791F; }
.trait-bar.score-bar-low i { background: #B3123F; }
.qa-grade { display: flex; gap: 10px; align-items: baseline; font-size: .9rem; margin: 4px 0 8px; }
.qa-grade .score { flex: none; }
.avg-line { margin: 0 0 6px; }
.qa { border-top: 1px solid var(--mist); padding: 16px 0; }
.qa:first-of-type { border-top: 0; }
.qa-q { font-weight: 800; margin-bottom: 6px; }
.qa-a { background: var(--light); border-radius: 12px; padding: 12px 14px; white-space: pre-wrap; margin: 8px 0; }
.qa-exp { background: var(--blue-pale); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }
.qa-meta { font-size: .82rem; color: var(--ink-soft); font-weight: 700; }
details summary { cursor: pointer; font-weight: 800; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.timeline li { padding: 8px 0; border-bottom: 1px solid var(--mist); }
.timeline li:last-child { border-bottom: 0; }
.pre { white-space: pre-wrap; background: var(--light); border-radius: 12px; padding: 12px 14px; font-size: .88rem; max-height: 360px; overflow: auto; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form select, .inline-form input { width: auto; }
.pagination { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }

/* Pied de page */
.site-footer { background: var(--deep); color: #C8CCEA; padding: 34px 0; font-size: .9rem; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 700; }
.site-footer img { height: 26px; width: auto; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Pages de texte */
.prose { background: #fff; border-radius: var(--radius); padding: 30px; }
.prose h2 { font-size: 1.15rem; margin-top: 22px; }
.prose ul { padding-left: 22px; }

@media (max-width: 900px) {
  .offer-layout, .space-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .header-nav { gap: 12px; font-size: .88rem; }
  .card, .offer-body section, .prose { padding: 20px; }
  .hero { padding: 40px 0 46px; }
  .question { font-size: 1.05rem; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.tags-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-contract { background: var(--navy); color: #fff; }
.cat-marketing .offer-icon, .tag.cat-marketing { background: var(--pink-pale); color: #B0005C; }
.cat-tech .offer-icon, .tag.cat-tech, .cat-produit .offer-icon, .tag.cat-produit { background: var(--blue-pale); color: var(--blue); }
.cat-pedagogie .offer-icon, .tag.cat-pedagogie, .cat-finance .offer-icon, .tag.cat-finance, .cat-operations .offer-icon, .tag.cat-operations { background: var(--green-pale); color: var(--green); }
.go { white-space: nowrap; }

/* ===== Accueil éditorial (maquette retenue le 09/11/2026) ===== */
.ed-hero { background: #fff; padding: 40px 0 46px; }
.ed-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.ed-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.ed-hero h1 em { font-style: normal; color: var(--pink); }
.ed-lead { font-size: 1.15rem; color: var(--ink-soft); line-height: 1.6; margin: 24px 0 0; max-width: 600px; }
.ed-wheel { width: 100%; max-width: 430px; justify-self: end; }
#offres { scroll-margin-top: 80px; }
.ed-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 2px solid var(--navy); padding: 22px 0; margin-top: 8px; }
.ed-filters { display: flex; gap: 22px; flex-wrap: wrap; }
.ed-filters button { background: none; border: 0; padding: 0 0 6px; font: inherit; font-weight: 800; color: var(--ink-soft); cursor: pointer; }
.ed-filters button[aria-pressed="true"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.ed-count { font-size: 1.05rem; margin: 0; }
.ed-deadline { font-weight: 800; color: var(--ink-soft); }
.ed-row { display: grid; grid-template-columns: 150px 1fr 210px 52px; gap: 28px; align-items: center; padding: 28px 0; border-top: 1px solid var(--mist); text-decoration: none; color: inherit; }
.ed-row[hidden] { display: none; }
.ed-row:hover h3 { color: var(--blue); }
.ed-row:hover .ed-go { background: var(--pink); }
.ed-row-code { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ed-row h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.25; margin: 0; }
.ed-row p { color: var(--ink-soft); margin: 8px 0 0; font-size: .96rem; }
.ed-row-meta { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.ed-go { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; justify-self: end; transition: background .15s; }
.ed-go svg { width: 20px; height: 20px; }
.ed-empty { padding: 28px 0; border-top: 1px solid var(--mist); color: var(--ink-soft); }
.ed-steps { list-style: none; margin: 56px 0 0; padding: 38px 40px; background: var(--light); border-radius: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: st; }
.ed-steps li { counter-increment: st; }
.ed-steps li::before { content: counter(st); display: block; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--pink); margin-bottom: 12px; }
.ed-steps strong { display: block; font-size: 1rem; }
.ed-steps span { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: 6px; line-height: 1.45; }
.ed-trust { margin-top: 56px; padding: 36px 0 64px; border-top: 1px solid var(--mist); text-align: center; }
.ed-logos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1.6fr repeat(6, 1fr); gap: 14px; align-items: center; }
.ed-logos li { height: 88px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.ed-logos img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.ed-logos .ed-logo-wide img { max-height: 58px; }
@media (max-width: 960px) {
  .ed-hero-grid { grid-template-columns: 1fr; }
  .ed-wheel { justify-self: center; max-width: 340px; }
  .ed-row { grid-template-columns: 1fr 52px; gap: 14px; }
  .ed-row-code { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .ed-row-main { grid-column: 1; }
  .ed-row-meta { grid-column: 1; }
  .ed-go { grid-column: 2; grid-row: 2 / span 2; }
  .ed-steps { grid-template-columns: 1fr 1fr; padding: 28px 24px; }
  .ed-logos { grid-template-columns: repeat(2, 1fr); }
  .ed-logos .ed-logo-wide { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .ed-steps { grid-template-columns: 1fr; }
}
.header-nav .btn { color: #fff; }
#parcours { scroll-margin-top: 90px; }
@media (max-width: 640px) { .header-nav .hide-sm { display: none; } }
.page-white { background: #fff; }
.ed-row-code .tag { white-space: normal; line-height: 1.3; }

/* Pages d'erreur et de maintenance */
.err { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; min-height: calc(100vh - 71px); padding: 40px 0; }
.err-code { font-family: "Poppins", sans-serif; font-weight: 800; color: var(--pink); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.err h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.err-wheel { width: 100%; max-width: 380px; justify-self: end; }
@media (max-width: 860px) { .err { grid-template-columns: 1fr; min-height: 0; } .err-wheel { max-width: 240px; justify-self: center; order: -1; } }
.offer-hero h1 .spec { color: var(--pink); }

/* Page offre : chiffres clés (version F retenue) et titres plus sobres */
.offer-hero { background: #fff; }
.offer-hero h1 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.18; letter-spacing: -.01em; max-width: 980px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.tile { background: var(--light); border-radius: 22px; padding: 20px 22px; }
.tile b { display: block; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.55rem; line-height: 1.15; color: var(--navy); }
.tile em { display: block; font-style: normal; color: var(--pink); font-weight: 800; margin-top: 4px; }
.tile span { display: block; color: var(--ink-soft); font-size: .9rem; font-weight: 600; margin-top: 8px; line-height: 1.45; }
.tiles-profiles { margin: 16px 0 0; } .tiles-profiles b { color: var(--pink); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }

/* Titres réduits (demande du 09/11/2026) */
.ed-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.ed-row h3 { font-size: 1.18rem; }
.err h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.grid-3 { display: grid; grid-template-columns: .8fr .8fr 1.4fr; gap: 14px; }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
.tiles { grid-template-columns: 1.6fr 1fr 1fr 1fr; } @media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles .tile:first-child { grid-column: 1 / -1; } }
.tiles .tile:first-child b { font-size: 1.25rem; line-height: 1.25; }
.cat-community .offer-icon, .tag.cat-community { background: var(--pink-pale); color: #B0005C; }
.cat-support .offer-icon, .tag.cat-support { background: var(--green-pale); color: var(--green); }

/* Dépôt du CV : glisser-déposer */
.file-drop { transition: background .15s; }
.file-drop.is-over { background: var(--blue-pale); border-color: var(--indigo); }
.file-drop.has-file { background: var(--green-pale); border-style: solid; border-color: #9FD9BE; }
.file-drop-title { display: block; margin-bottom: 8px; font-size: .95rem; }

/* Test : échelle de 1 à 5 */
.test-bar-main { flex: 1; min-width: 0; }
.progress { display: flex; gap: 4px; max-width: 520px; }
.progress span { flex: 1; width: auto; max-width: 34px; }
.question-hint { color: var(--ink-soft); font-weight: 700; margin: 0 0 6px; }
.question-likert { font-size: 1.35rem; margin-bottom: 22px; }
.likert { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.likert-option { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; cursor: pointer; background: var(--light); border-radius: 16px; padding: 14px 8px; font-weight: 700; font-size: .85rem; }
.likert-option:hover { background: var(--blue-pale); }
.likert-option input { position: absolute; opacity: 0; pointer-events: none; }
.likert-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-family: "Poppins", sans-serif; font-weight: 800; color: var(--navy); }
.likert-option:has(input:checked) { background: var(--navy); color: #fff; }
.likert-option:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 2px; }
@media (max-width: 640px) { .likert { grid-template-columns: 1fr; } .likert-option { flex-direction: row; text-align: left; } }
/* QCM de niveau : quatre choix, le premier clic est envoyé. */
.choices { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.choice-option { display: flex; align-items: center; gap: 14px; cursor: pointer; background: var(--light); border-radius: 14px; padding: 12px 14px; font-weight: 700; line-height: 1.4; }
.choice-option:hover { background: var(--blue-pale); }
.choice-option input { position: absolute; opacity: 0; pointer-events: none; }
.choice-letter { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-family: "Poppins", sans-serif; font-weight: 800; color: var(--navy); }
.choice-option:has(input:checked) { background: var(--navy); color: #fff; }
.choice-option:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 2px; }

/* En-tête : logo Flexee avec sa signature ; bouton sans effet bleu au survol */
.brand .brand-logo { height: 44px; width: auto; }
.header-nav a.btn-secondary, .header-nav a.btn-secondary:hover { color: #fff; }
.header-nav a.btn-secondary:hover { background: var(--deep); }
@media (max-width: 640px) { .brand .brand-logo { height: 36px; } }

/* Lignes d'offres : survol et mots-clés */
.ed-row { padding: 26px 18px; margin: 0 -18px; border-radius: 18px; transition: background .15s; }
.ed-row:hover { background: var(--light); }
.ed-keywords { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ed-keywords li { background: var(--mist); border-radius: 999px; padding: 3px 11px; font-size: .8rem; font-weight: 800; color: var(--navy); }
.ed-row:hover .ed-keywords li { background: #fff; }

/* Pourquoi choisir Flexee ? */
.ed-why { margin-top: 56px; }
.ed-why h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 22px; }
.ed-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ed-why-grid > div { background: var(--light); border-radius: 22px; padding: 22px; }
.ed-why-grid svg { width: 26px; height: 26px; color: var(--pink); }
.ed-why-grid h3 { font-size: 1.02rem; margin: 12px 0 6px; }
.ed-why-grid p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
@media (max-width: 960px) { .ed-why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ed-why-grid { grid-template-columns: 1fr; } }

/* Fiche RH : profil de personnalité */
.traits { display: grid; gap: 12px; margin: 8px 0 12px; }
.trait-head { display: flex; justify-content: space-between; font-size: .92rem; }
.trait-bar { height: 10px; background: var(--mist); border-radius: 99px; overflow: hidden; margin: 6px 0 4px; }
.trait-bar i { display: block; height: 100%; background: var(--navy); border-radius: 99px; }
.trait-bar .w-0 { width: 0%; }
.trait-bar .w-5 { width: 5%; }
.trait-bar .w-10 { width: 10%; }
.trait-bar .w-15 { width: 15%; }
.trait-bar .w-20 { width: 20%; }
.trait-bar .w-25 { width: 25%; }
.trait-bar .w-30 { width: 30%; }
.trait-bar .w-35 { width: 35%; }
.trait-bar .w-40 { width: 40%; }
.trait-bar .w-45 { width: 45%; }
.trait-bar .w-50 { width: 50%; }
.trait-bar .w-55 { width: 55%; }
.trait-bar .w-60 { width: 60%; }
.trait-bar .w-65 { width: 65%; }
.trait-bar .w-70 { width: 70%; }
.trait-bar .w-75 { width: 75%; }
.trait-bar .w-80 { width: 80%; }
.trait-bar .w-85 { width: 85%; }
.trait-bar .w-90 { width: 90%; }
.trait-bar .w-95 { width: 95%; }
.trait-bar .w-100 { width: 100%; }

/* Logo Flexee + signature, suivi de « Careers », sur tous les écrans */
.brand { gap: 14px; align-items: center; }
.brand span { font-size: 1.15rem; line-height: 1; align-self: flex-start; margin-top: 6px; }
@media (max-width: 640px) {
  .brand .brand-logo { height: 34px; }
  .brand span { display: inline; font-size: .95rem; margin-top: 3px; }
}
.brand .brand-logo { height: 52px; } .site-header .shell { min-height: 78px; } @media (max-width: 640px) { .brand .brand-logo { height: 34px; } .site-header .shell { min-height: 64px; } }

/* En-tête : « Flexee. » + Careers ; logo avec signature dans le hero */
.brand .brand-logo { height: 34px; }
.brand span { align-self: center; margin-top: 0; font-size: 1.1rem; }
.site-header .shell { min-height: 70px; }
.ed-signature { width: min(250px, 60%); height: auto; margin: 0 0 22px; }
@media (max-width: 640px) {
  .brand .brand-logo { height: 28px; }
  .brand span { font-size: .95rem; }
  .site-header .shell { min-height: 62px; }
  .ed-signature { width: 190px; }
}
.brand .brand-logo { height: 26px; } @media (max-width: 640px) { .brand .brand-logo { height: 22px; } }
.brand { align-items: flex-end; } .brand span { align-self: flex-end; line-height: 1; margin: 0 0 -0.14em; }
.brand span { margin: 0; }
.brand span { margin: 0 0 -0.125em; }
.motivation-note { margin: -2px 0 8px; font-weight: 700; color: var(--ink-soft); }
