/* =========================================================
   injob.be — Sois in. Trouve ton job.
   ========================================================= */
/* Polices hébergées localement (aucune requête vers Google) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #15132b;
  --ink-2: #2a2747;
  --paper: #f6f5f0;
  --card: #ffffff;
  --line: #e6e3d9;
  --muted: #6b6880;
  --lime: #c9f25a;
  --lime-2: #b5e33d;
  --lime-soft: #eefbc9;
  --violet: #5b4bff;
  --violet-soft: #ecebff;
  --coral: #ff5a3c;
  --ok: #18794e;
  --err: #c2341b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(21, 19, 43, .05), 0 6px 24px rgba(21, 19, 43, .06);
  --shadow-lg: 0 20px 60px rgba(21, 19, 43, .14);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
mark { background: var(--lime); color: var(--ink); padding: 0 .18em; border-radius: .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
code { background: var(--paper); border: 1px solid var(--line); padding: 0 .3em; border-radius: 4px; font-size: .9em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.tiny { font-size: .82rem; }
.center { text-align: center; justify-content: center; }
.grow { flex: 1; }
.inline { display: inline; margin: 0; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; font: 600 .95rem/1 var(--font); padding: .85em 1.25em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-sm { padding: .6em 1em; font-size: .86rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-2); box-shadow: 0 6px 20px rgba(181, 227, 61, .45); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-ai { background: var(--violet-soft); color: var(--violet); border-color: transparent; }
.btn-ai:hover { background: var(--violet); color: #fff; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: .85rem; color: var(--muted); }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn.danger:hover { border-color: var(--err); color: var(--err); }
.spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.arrow-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 240, .85); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; }
.logo-mark { background: var(--lime); color: var(--ink); border-radius: 10px; padding: 0 .28em; line-height: 1.3; transform: rotate(-4deg); display: inline-block; margin-right: 2px; }
.logo-word span { color: var(--muted); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav-links > a:not(.btn) { position: relative; }
.nav-links > a:not(.btn).is-active::after, .nav-links > a:not(.btn):hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--lime); }
.nav-sep { width: 1px; height: 22px; background: var(--line); }
.nav-account { display: inline-flex; align-items: center; gap: 8px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 1140px) {
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .nav-links.is-open { display: flex; }
  .nav-links > a, .nav-links form { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; }
  .nav-sep { display: none; }
}

/* ---------- Flash ---------- */
.flashes { margin-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 8px; font-weight: 500; border: 1px solid; }
.flash-success { background: var(--lime-soft); border-color: var(--lime-2); }
.flash-error { background: #fff0ec; border-color: #ffc2b4; color: var(--err); }
.flash-info { background: var(--violet-soft); border-color: #d2cfff; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 32px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.hero h1 mark { display: inline-block; transform: rotate(-3deg); padding: 0 .12em; border-radius: .18em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 46ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .85rem; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; }
.eyebrow.light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-2); box-shadow: 0 0 0 4px rgba(201, 242, 90, .35); }

.search { display: flex; gap: 8px; background: var(--card); padding: 8px; border-radius: 999px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin: 28px 0 18px; max-width: 640px; }
.search-field { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 14px; min-width: 0; }
.search-field + .search-field { border-left: 1px solid var(--line); }
.search-field svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: inherit; width: 100%; padding: 12px 0; min-width: 0; }
@media (max-width: 640px) {
  .search { flex-direction: column; border-radius: var(--radius-lg); }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--line); }
}
.search-compact { box-shadow: var(--shadow); max-width: none; border-radius: var(--radius); flex-wrap: wrap; margin: 18px 0; }
.search-compact .search-field { border: 1px solid var(--line) !important; border-radius: 10px; min-width: 180px; }
.search-compact select { flex: 1; min-width: 150px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; background: var(--card); height: 46px; }
@media (max-width: 640px) { .search-compact { flex-direction: column; } .search-compact .search-field, .search-compact select { width: 100%; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .88rem; font-weight: 500; text-decoration: none; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--ink); }
.chip-btn { cursor: pointer; font-family: inherit; }
.chip-btn:hover { background: var(--lime-soft); border-color: var(--lime-2); }

.hero-visual { position: relative; height: 420px; }
.hero-blob { position: absolute; inset: 30px 10px 10px 40px; background: radial-gradient(circle at 30% 30%, var(--lime) 0, transparent 55%), radial-gradient(circle at 75% 70%, #d9d4ff 0, transparent 55%); filter: blur(10px); opacity: .9; z-index: -1; border-radius: 40%; }
.float-card { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 6px; width: 290px; animation: float 6s ease-in-out infinite; }
.float-card strong { font-family: var(--font-display); font-size: 1.05rem; }
.fc-1 { top: 10px; left: 0; }
.fc-2 { top: 150px; right: 0; animation-delay: -2s; }
.fc-3 { bottom: 10px; left: 40px; width: 240px; animation-delay: -4s; flex-direction: column; }
.fc-3 .check { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 800; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float-card, .ticker-track { animation: none !important; } }
.progress { height: 8px; background: var(--paper); border-radius: 8px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), #9b8cff); border-radius: 8px; }
.badge { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; }
.badge-lime { background: var(--lime); }
.ai-pill { align-self: flex-start; display: inline-flex; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--violet); color: #fff; letter-spacing: .02em; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.ticker { background: var(--ink); color: var(--lime); overflow: hidden; padding: 14px 0; transform: rotate(-1deg); margin: 24px -10px; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 30s linear infinite; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; white-space: nowrap; }
.ticker-track span::after { content: "✦"; margin-left: 48px; color: #fff; opacity: .5; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 16px; flex-wrap: wrap; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar p { color: var(--ink-2); flex: 1; }
.pillar-num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--line); margin-bottom: 18px; }
.pillar-lime { background: var(--lime); border-color: var(--lime-2); }
.pillar-lime .pillar-num { color: rgba(21,19,43,.18); }
.pillar-lime .arrow-link { border-color: var(--ink); }

.recruit-band { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.recruit-band p { color: rgba(255,255,255,.75); max-width: 52ch; }
@media (max-width: 900px) { .recruit-band { grid-template-columns: 1fr; } }
.demo-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.demo-input { background: rgba(255,255,255,.07); border-radius: 12px; padding: 14px 16px; color: #fff; font-size: .95rem; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--lime); vertical-align: middle; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-output { background: var(--card); color: var(--ink); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.demo-output strong { font-family: var(--font-display); font-size: 1.1rem; }
.demo-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.demo-lines span { height: 8px; border-radius: 6px; background: var(--paper); width: 100%; }

.hero-dark { background: var(--ink); color: #fff; padding: 72px 0; }
.hero-dark .lead { color: rgba(255,255,255,.75); }
.hero-dark h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.feature p { color: var(--ink-2); margin: 0; }
.feature-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lime); font-weight: 800; margin-bottom: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; font-family: var(--font-display); margin-bottom: 12px; }

/* ---------- Offres ---------- */
.page-head { padding: 44px 0 12px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-pad { padding-top: 48px; padding-bottom: 64px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.back { display: inline-block; text-decoration: none; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg a, .seg button { padding: 7px 14px; border-radius: 999px; text-decoration: none; font: 500 .88rem var(--font); border: 0; background: none; cursor: pointer; color: var(--ink); }
.seg .is-on { background: var(--ink); color: #fff; }
.seg-full { display: flex; width: 100%; margin-bottom: 24px; }
.seg-full a { flex: 1; text-align: center; }

.jobs-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding-bottom: 64px; align-items: start; }
@media (max-width: 960px) { .jobs-layout { grid-template-columns: 1fr; } }
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 800px) { .job-grid { grid-template-columns: 1fr; } }
.job-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: border-color .15s, box-shadow .15s; position: relative; }
.job-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.job-card.is-featured { border-color: var(--lime-2); box-shadow: inset 4px 0 0 var(--lime); }
.job-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.job-card h3 a { text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.job-card form, .job-card .save-btn { position: relative; z-index: 2; }
.job-logo { width: 48px; height: 48px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.job-logo-lg { width: 72px; height: 72px; font-size: 1.8rem; border-radius: 18px; background: var(--lime); border-color: var(--lime-2); }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.job-meta span + span::before { content: "·"; margin-right: 14px; }
.job-meta.lg { font-size: 1rem; }
.job-excerpt { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.job-date { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.src { font-size: .74rem; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.src-injob { background: var(--lime-soft); border-color: var(--lime-2); color: var(--ink); font-weight: 600; }
.save-btn { border: 1px solid var(--line); background: var(--card); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--line); font-size: 1rem; }
.save-btn:hover, .save-btn.is-saved { color: var(--coral); border-color: var(--coral); }
@media (max-width: 560px) {
  .job-card { grid-template-columns: auto 1fr; }
  .job-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; }
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .8rem; font-weight: 500; padding: 4px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.tag-lime { background: var(--lime); border-color: var(--lime-2); font-weight: 700; }
.tag-salary { background: var(--violet-soft); border-color: #d6d2ff; color: #3a2fd1; }
.tag-outline { background: transparent; }
.tag-removable { display: inline-flex; align-items: center; gap: 4px; background: var(--lime-soft); border-color: var(--lime-2); }
.tag-removable button { border: 0; background: none; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 2px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 20px 0; }
.pagination a { font-weight: 600; }
.attribution { font-size: .8rem; }
.empty { text-align: center; padding: 48px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.side-card p { color: var(--ink-2); font-size: .94rem; }
.side-card .btn + .btn { margin-top: 8px; }
.side-lime { background: var(--lime); border-color: var(--lime-2); }
.side-lime .ai-pill { margin-bottom: 10px; }

.job-hero { padding: 36px 0 28px; background: var(--card); border-bottom: 1px solid var(--line); }
.job-hero-row { display: flex; gap: 20px; align-items: flex-start; }
.job-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.job-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; padding-top: 36px; padding-bottom: 64px; align-items: start; }
@media (max-width: 960px) { .job-layout { grid-template-columns: 1fr; } .side { position: static; } }
.job-layout > *, .jobs-layout > *, .letter-layout > *, .hero-grid > *, .job-body, .job-hero-row > div { min-width: 0; }
.job-content, .prose { overflow-wrap: anywhere; }
.fc-3 { padding-right: 60px; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--lime-2); }
.job-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); }
.job-content > :first-child { margin-top: 0; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mini-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--paper); }
.mini-card:hover { border-color: var(--ink); }
.ai-link { color: var(--violet); font-weight: 600; text-decoration: none; font-size: .9rem; }

/* ---------- Formulaires ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea, .copy-input {
  font: 400 1rem var(--font); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; line-height: 1.55; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 242, 90, .5); }
.form .has-error input, .form .has-error select, .form .has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-weight: 500; font-size: .82rem; }
.opt { color: var(--muted); font-weight: 400; }
.check-row { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 500 !important; }
.check-row input { width: 18px; height: 18px; accent-color: var(--ink); }
.file input { font: inherit; font-weight: 400; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
legend { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; padding: 0; }
.card-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.flash-fill { animation: fill 1.2s ease; }
@keyframes fill { 0% { background: var(--lime-soft); } 100% { background: transparent; } }

.post-layout { display: flex; flex-direction: column; gap: 24px; padding-bottom: 64px; max-width: 920px; }
.ai-panel { background: linear-gradient(135deg, var(--ink) 0%, #26214f 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.ai-panel-head { display: flex; align-items: center; gap: 12px; }
.ai-panel-head h2 { margin: 0; font-size: 1.5rem; }
.ai-panel label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; }
.ai-panel input, .ai-panel textarea { font: 400 1rem var(--font); background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.18); border-radius: 10px; padding: 12px 14px; width: 100%; }
.ai-panel input::placeholder, .ai-panel textarea::placeholder { color: rgba(255,255,255,.5); }
.ai-panel input:focus, .ai-panel textarea:focus { outline: 0; border-color: var(--lime); }
.ai-panel .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.ai-panel .chip:hover { background: var(--lime); color: var(--ink); }
.ai-panel .muted { color: rgba(255,255,255,.6); }
.ai-panel .btn-lime { align-self: flex-start; }
.ai-examples, .tone-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ai-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.ai-status.is-error { color: var(--coral); }
.ai-status.is-ok { color: var(--ok); }
.ai-panel .ai-status.is-ok { color: var(--lime); }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - 68px - 260px); display: grid; place-items: center; padding: 48px 16px; }
.auth-card { width: 100%; max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 2rem; }
.auth-alt { margin: 18px 0 0; text-align: center; color: var(--muted); }
.big-code { font-family: var(--font-display); font-size: 5rem; font-weight: 800; margin: 0; line-height: 1; color: var(--lime-2); }

/* ---------- Tableaux de bord ---------- */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; padding-bottom: 64px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel-head h2 { font-size: 1.25rem; margin: 0; }
.row-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.row-item > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.row-item.link:hover strong { text-decoration: underline; }
.row-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.kpis-6 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.kpi span { color: var(--muted); font-size: .86rem; }
.kpi strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table a { text-decoration: none; }
.status { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status-ok { background: var(--lime-soft); color: var(--ok); }
.status-wait { background: #fff4d6; color: #8a5a00; }
.status-off { background: var(--paper); color: var(--muted); }
.app-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; padding-bottom: 64px; }
.app-head { display: flex; gap: 12px; align-items: center; }
.app-head > div:last-child { display: flex; flex-direction: column; }
.app-contact { margin: 12px 0; font-size: .92rem; }
.app-msg { background: var(--paper); border-radius: 10px; padding: 12px; font-size: .92rem; white-space: normal; }
.copy-input { max-width: 420px; margin: 12px auto; display: block; }

/* ---------- Lettre ---------- */
.letter-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 64px; align-items: start; }
@media (max-width: 960px) { .letter-layout { grid-template-columns: 1fr; } }
.letter-paper { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-lg); padding: 36px; }
.letter-paper textarea { width: 100%; border: 0; outline: 0; resize: vertical; font: 400 1rem/1.7 Georgia, "Times New Roman", serif; color: var(--ink); background: transparent; }

/* ---------- Générateur de CV ---------- */
.is-tool .site-footer { display: none; }
.cvb { display: grid; grid-template-columns: minmax(380px, 500px) 1fr; min-height: calc(100vh - 69px); }
.cvb-editor { padding: 24px 24px 120px; border-right: 1px solid var(--line); background: var(--paper); }
.cvb-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cvb-head h1 { font-size: 1.85rem; margin-bottom: 2px; }
.cvb-score { position: relative; width: 58px; height: 58px; flex: none; display: grid; place-items: center; }
.cvb-score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.cvb-score circle { fill: none; stroke-width: 3.2; }
.cvb-score .bg { stroke: var(--line); }
.cvb-score .fg { stroke: var(--violet); stroke-linecap: round; stroke-dasharray: 0 97.4; transition: stroke-dasharray .4s ease; }
.cvb-score .fg.is-full { stroke: var(--lime-2); }
.cvb-score span { font: 800 .82rem var(--font-display); }
.cvb-tip { margin: 10px 0 0; padding: 9px 12px; background: var(--violet-soft); color: #3a2fd1; border-radius: 10px; font-weight: 500; }
.cvb-tip:empty { display: none; }
.cvb-nav { position: sticky; top: 68px; z-index: 4; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin: 0 -4px; background: linear-gradient(var(--paper) 80%, transparent); scrollbar-width: none; }
.cvb-nav::-webkit-scrollbar { display: none; }
.cvb-nav a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--muted); transition: all .15s; }
.cvb-nav a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.cvb-nav a.is-done .dot { background: var(--lime-2); }
.cvb-nav a.is-active { color: var(--ink); border-color: var(--ink); }
.cvb-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin-top: 14px; scroll-margin-top: 130px; display: flex; flex-direction: column; gap: 12px; }
.cvb-card h2 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; margin: 0; }
.cvb-card h2 .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--lime); font-size: .8rem; }
.cvb-card .btn { align-self: flex-start; }
.cvb-end { margin-top: 18px; }
.cvb .form label, .repeat label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .84rem; color: var(--ink-2); }
.cvb input:not([type=file]), .cvb select, .cvb textarea { font: 400 .97rem/1.45 var(--font); color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; background: #fff; transition: border-color .15s, box-shadow .15s; }
.cvb textarea { resize: none; min-height: 90px; }
.cvb input:focus, .cvb select:focus, .cvb textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 242, 90, .45); }
.repeat { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.repeat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.repeat-head strong { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repeat-inline { flex-direction: row; align-items: flex-end; }
.repeat-inline label { flex: 1; }
.photo-row { display: flex; gap: 14px; align-items: flex-start; }
.photo-drop { width: 92px !important; height: 92px; flex: none; border: 2px dashed var(--line); border-radius: 50%; display: grid !important; place-items: center; cursor: pointer; overflow: hidden; color: var(--muted); font-size: .8rem !important; transition: border-color .15s; }
.photo-drop:hover { border-color: var(--ink); }
.photo-drop img { width: 100%; height: 100%; object-fit: cover; }
.tag-input { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.tag-input:focus-within { border-color: var(--ink); }
.tag-input input { border: 0 !important; padding: 6px !important; box-shadow: none !important; }
.suggestions:empty { display: none; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch.is-on { box-shadow: 0 0 0 2px var(--ink); }
.seg-sm button { padding: 5px 10px; font-weight: 700; }
.seg-sm sup { font-size: .6em; }

.cvb-preview { position: sticky; top: 69px; height: calc(100vh - 69px); display: flex; flex-direction: column; background: #e8e6de; padding: 16px 24px 12px; overflow: hidden; }
.cvb-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; background: rgba(255,255,255,.95); padding: 8px 10px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cvb-actions { display: flex; gap: 8px; margin-left: auto; }
.cvb-preview .ai-status { text-align: center; padding: 6px 0 0; }
.cvb-stage { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 14px 0 24px; display: flex; justify-content: center; align-items: flex-start; }
.cvb-sheet { position: relative; flex: none; }
.cvb-pages { text-align: center; margin: 0; }
.cvb-mobilebar { display: none; }
.cvb-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .9rem; animation: toastIn .25s ease; }
.cvb-toast button { background: none; border: 0; color: var(--lime); font: 700 .9rem var(--font); cursor: pointer; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

@media (max-width: 1000px) {
  .cvb { grid-template-columns: 1fr; }
  .cvb-editor { border-right: 0; padding: 18px 16px 110px; }
  .cvb-preview { position: static; height: auto; min-height: calc(100vh - 69px); padding: 12px 12px 100px; }
  .cvb[data-view="edit"] .cvb-preview, .cvb[data-view="preview"] .cvb-editor { display: none; }
  .cvb-actions { margin-left: 0; }
  .cvb-mobilebar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--ink); border-radius: 16px; padding: 6px; gap: 6px; box-shadow: var(--shadow-lg); }
  .cvb-mobilebar button { flex: 1; border: 0; background: transparent; color: rgba(255,255,255,.75); font: 600 .9rem var(--font); padding: 11px 6px; border-radius: 11px; cursor: pointer; }
  .cvb-mobilebar button.is-on { background: rgba(255,255,255,.12); color: #fff; }
  .cvb-mobilebar .pdf { background: var(--lime); color: var(--ink); flex: .7; }
  .cvb-toast { bottom: 84px; }
  .cvb-nav { top: 68px; }
}

/* ---- Feuille A4 (794 × 1123 px) : identique à l'écran et au PDF ---- */
.cv-paper { --cv: #15132b; --fs: 13.5px; width: 794px; min-height: 1123px; background: #fff; transform-origin: top left; position: absolute; top: 0; left: 0;
  font-family: "Instrument Sans", Arial, sans-serif; font-size: var(--fs); line-height: 1.5; color: #22202f; display: grid; grid-template-columns: 262px 1fr;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 14px 40px rgba(21,19,43,.16); border-radius: 2px; overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 1122px, rgba(21,19,43,.18) 1122px, rgba(21,19,43,.18) 1123px); }
.cv-paper.size-s { --fs: 12.5px; }
.cv-paper.size-l { --fs: 14.5px; }
.cv-paper h2 { font-family: "Bricolage Grotesque", Arial, sans-serif; font-size: 2.3em; font-weight: 800; letter-spacing: -.025em; margin: 0; line-height: 1.02; }
.cv-paper h3 { font-family: "Bricolage Grotesque", Arial, sans-serif; font-size: .78em; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .8em; color: var(--cv); }
.cv-paper h4 { font-size: 1.04em; font-weight: 700; margin: 0; color: #15132b; }
.cv-paper p { margin: 0 0 .45em; }
.cv-paper ul { margin: .35em 0 0; padding-left: 1.15em; }
.cv-paper li { margin-bottom: .22em; }
.cv-paper li::marker { color: var(--cv); }
.cv-title { font-size: 1.12em; font-weight: 600; color: var(--cv); margin-top: .35em; }
.cv-status { font-size: .86em; color: #6b6880; margin-top: .25em; }
.cv-head { display: flex; gap: 18px; align-items: center; margin-bottom: 1.6em; }
.cv-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex: none; }
.cv-sec { margin-bottom: 1.45em; }
.cv-summary { font-size: 1.02em; color: #3a3850; }
.cv-item { margin-bottom: 1em; break-inside: avoid; }
.cv-item-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.cv-date { font-size: .84em; color: #6b6880; white-space: nowrap; font-weight: 600; }
.cv-sub { font-size: .9em; color: #6b6880; margin: .1em 0 .25em; font-weight: 500; }
.cv-paper .cv-contacts { list-style: none; padding: 0; margin: 0 0 2em; display: flex; flex-direction: column; gap: .5em; font-size: .9em; word-break: break-word; }
.cv-contacts li { display: flex; gap: .6em; align-items: baseline; margin: 0; }
.cv-contacts .ic { width: 1.1em; text-align: center; opacity: .7; flex: none; }
.cv-paper .cv-skills { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cv-skills li { font-size: .86em; padding: 3px 9px; border-radius: 5px; border: 1px solid currentColor; margin: 0; }
.cv-lang { margin-bottom: .7em; }
.cv-lang-row { display: flex; justify-content: space-between; gap: 6px; font-size: .9em; }
.cv-lang-row em { font-style: normal; opacity: .75; font-size: .92em; }
.cv-bar { height: 4px; border-radius: 4px; background: rgba(127,127,127,.25); margin-top: 4px; overflow: hidden; }
.cv-bar i { display: block; height: 100%; background: currentColor; border-radius: 4px; }
.cv-aside { padding: 44px 28px; }
.cv-main { padding: 44px 40px; }

.tpl-moderne .cv-aside { background: var(--cv); color: #fff; }
.tpl-moderne .cv-aside h3 { color: #fff; opacity: .8; }
.tpl-moderne .cv-aside .cv-skills li { border-color: rgba(255,255,255,.45); }
.tpl-moderne .cv-main .cv-sec h3 { display: flex; align-items: center; gap: .7em; }
.tpl-moderne .cv-main .cv-sec h3::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .25; }

.tpl-audacieux { grid-template-columns: 272px 1fr; }
.tpl-audacieux .cv-aside { background: #f4f3ee; border-right: 6px solid var(--cv); }
.tpl-audacieux .cv-aside .cv-head { flex-direction: column; align-items: flex-start; gap: 14px; }
.tpl-audacieux .cv-aside h2 { font-size: 1.9em; }
.tpl-audacieux .cv-aside .cv-bar i { background: var(--cv); }
.tpl-audacieux .cv-main h3 { font-size: .95em; padding-bottom: .4em; border-bottom: 2.5px solid var(--cv); }
.tpl-audacieux .cv-item h4 { color: var(--cv); }

.tpl-classique { display: block; padding: 50px 58px; font-family: Georgia, "Times New Roman", serif; }
.tpl-classique h2, .tpl-classique h3 { font-family: Georgia, serif; }
.tpl-classique h2 { font-weight: 700; font-size: 2.15em; letter-spacing: -.01em; }
.tpl-classique .cv-head { border-bottom: 2px solid var(--cv); padding-bottom: 16px; margin-bottom: 12px; }
.cv-paper.tpl-classique .cv-contacts { flex-direction: row; flex-wrap: wrap; gap: .3em 1.4em; margin-bottom: 1.6em; }
.tpl-classique h3 { letter-spacing: .1em; border-bottom: 1px solid #ddd; padding-bottom: 4px; }
.tpl-classique .cv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.tpl-classique .cv-skills li { border: 0; padding: 0; }
.tpl-classique .cv-skills li:not(:last-child)::after { content: " ·"; }
.tpl-classique .cv-bar i { background: var(--cv); }

/* ---- Impression : seule la feuille du CV ---- */
@page { size: A4; margin: 0; }
@media print {
  body { background: #fff !important; }
  body.is-tool .site-header, body.is-tool .cvb-editor, body.is-tool .cvb-toolbar, body.is-tool .ai-status, body.is-tool .flashes,
  body.is-tool .skip, body.is-tool .cvb-mobilebar, body.is-tool .cvb-pages, .cvb-toast { display: none !important; }
  body.is-tool .cvb { display: block; min-height: 0; }
  body.is-tool .cvb-preview { display: block !important; position: static; height: auto; padding: 0; background: #fff; overflow: visible; }
  body.is-tool .cvb-stage { padding: 0; overflow: visible; display: block; }
  body.is-tool .cvb-sheet { width: auto !important; height: auto !important; }
  body.is-tool .cv-paper { position: static; transform: none !important; width: 210mm; min-height: 297mm !important; box-shadow: none; border-radius: 0; background-image: none;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 24px; margin-top: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-word span { color: rgba(255,255,255,.5); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-grid h4 { color: #fff; font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid a { display: block; text-decoration: none; padding: 4px 0; font-size: .94rem; }
.footer-grid a:hover { color: var(--lime); }
.footer-tag { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--lime); margin: 14px 0 6px; letter-spacing: -.02em; }
.site-footer .muted { color: rgba(255,255,255,.55); max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }

/* ---------- Multilingue ---------- */
.lang-switch { display: inline-flex; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: .78rem !important; font-weight: 700 !important; padding: 4px 9px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-on { background: var(--ink); color: var(--lime); }
.lang-switch a::after { display: none !important; }
@media (max-width: 1140px) { .nav-links .lang-switch { align-self: flex-start; margin: 12px 0 0; } }

.lang-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.lang-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); text-decoration: none; font: 600 .9rem var(--font); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.lang-tab:hover { border-color: var(--ink); }
.lang-tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lang-tab.is-missing:not(.is-on) { border-style: dashed; color: var(--muted); }
.lang-tab.has-error { border-color: var(--err); }
.lt-code { font-family: var(--font-display); font-weight: 800; }
.lt-label { font-weight: 500; }
@media (max-width: 560px) { .lt-label { display: none; } }
.lt-badge { font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.lt-badge:empty { display: none; }
.lang-tab.is-on .lt-badge { background: rgba(255,255,255,.14); color: #fff; }
.lt-ai { background: var(--violet-soft); color: var(--violet); }
.lt-translate { background: var(--lime); color: var(--ink); }
.lt-manual { background: var(--lime-soft); color: var(--ok); }
.lt-empty { background: transparent; border: 1px dashed var(--line); }
.tr-note { font-size: .86rem; color: var(--violet); background: var(--violet-soft); border-radius: 10px; padding: 8px 12px; }
.translate-cta { text-align: center; padding: 28px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.translate-cta .ai-pill { align-self: center; }
.translate-cta form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.mini-langs { display: inline-flex; gap: 4px; align-self: flex-start; }
.mini-langs span { font-size: .68rem; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: var(--paper); color: var(--muted); }
.mini-langs span.is-on { background: var(--ink); color: var(--lime); }

.orig-picker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.radio-chip { flex-direction: row !important; align-items: center; gap: 6px !important; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500 !important; cursor: pointer; }
.radio-chip:has(input:checked) { border-color: var(--ink); background: var(--lime-soft); }
.radio-chip input { accent-color: var(--ink); }
.tab-panel { display: flex; flex-direction: column; gap: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fdfdfb; }
.tab-panel[hidden] { display: none; }
.panel-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--violet-soft); border-radius: 10px; padding: 10px 12px; }
.panel-tools[hidden] { display: none; }
.panel-tools p { margin: 0; flex: 1; min-width: 220px; }
.check-row.light { color: #fff; }
.cv-lang-pick { display: inline-flex; align-items: center; gap: 6px; }
.cv-lang-pick select { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font: 600 .82rem var(--font); background: #fff; }
.ai-panel select { font: 400 1rem var(--font); background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.18); border-radius: 10px; padding: 12px 14px; width: 100%; }
.ai-panel select option { color: var(--ink); }
.ai-panel label.check-row { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.ai-panel label.check-row input { width: 18px; height: 18px; accent-color: var(--lime); }

/* ---------- Connexion Google ---------- */
.btn-google { background: #fff; color: #1f1f1f; border: 1.5px solid var(--line); gap: 10px; font-weight: 600; }
.btn-google:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.or-sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 16px 0; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ---------- Finitions ---------- */
.site-header { transition: box-shadow .2s, background .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(21,19,43,.07); background: rgba(246,245,240,.95); }
::selection { background: var(--lime); color: var(--ink); }
.btn { -webkit-tap-highlight-color: transparent; }
.btn:focus-visible, .chip:focus-visible, .lang-tab:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.search-compact select, .search-compact .search-field { min-height: 48px; }
.search-compact input { padding: 13px 0; }
.job-card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.job-card:hover { transform: translateY(-1px); }
.share { display: flex; align-items: center; gap: 8px; padding: 4px 2px; }
.share-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; font: 800 .82rem var(--font-display); color: var(--ink); text-decoration: none; cursor: pointer; transition: all .15s; }
.share-btn:hover { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.empty { padding: 56px 24px; }
.empty h2 { font-size: 1.5rem; }
@media (max-width: 640px) {
  .page-head { padding-top: 28px; }
  .search-compact { padding: 10px; gap: 8px; }
  .search-compact select { font-size: 16px; }
  .result-bar { gap: 10px; }
  .seg a { padding: 7px 11px; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .form input, .form select, .form textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.cvb > * { min-width: 0; }
.cvb-head > div { min-width: 0; }
.cv-lang-pick span { white-space: nowrap; }
@media (max-width: 1000px) {
  .cvb-toolbar { border-radius: 14px; gap: 8px; }
  .cvb-actions { width: 100%; justify-content: center; }
  .cvb-actions [data-print] { display: none; }
  .cvb-actions .btn { flex: 1; max-width: 320px; white-space: normal; }
}

/* ---------- Page d'offre partenaire ---------- */
.tag-src { background: var(--ink); color: var(--lime); border-color: var(--ink); font-weight: 700; }
.lead-metier { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts > div:nth-child(odd) { border-right: 0; } }
.ext-note { background: var(--lime-soft); border: 1px solid var(--lime-2); border-radius: var(--radius); padding: 18px 20px; margin-top: 1.5em; }
.ext-note p { margin: 4px 0 12px; }
.ext-licence { margin-top: 1.2em; }
.apply-card .ai-link { display: block; margin-top: 12px; text-align: center; }

/* ---------- Consentement & pages légales ---------- */
.consent { position: fixed; inset: 0; z-index: 200; background: rgba(21,19,43,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s ease; }
.consent[hidden] { display: none; }
body.consent-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } }
.consent-box { background: var(--card); border-radius: 22px; max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(20px, 4vw, 30px); box-shadow: var(--shadow-lg); }
.consent-box h2 { font-size: 1.45rem; }
.consent-box > p { color: var(--ink-2); }
.consent-opt { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); cursor: default; }
label.consent-opt { cursor: pointer; }
.consent-opt p { margin: 4px 0 0; }
.consent-always { font-size: .76rem; font-weight: 700; color: var(--ok); background: var(--lime-soft); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .15s; margin-top: 2px; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.switch:checked { background: var(--ink); }
.switch:checked::after { transform: translateX(20px); background: var(--lime); }
.switch:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.consent-actions .btn { flex: 1 1 150px; }
.consent-links { margin: 14px 0 0; text-align: center; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.legal-nav a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: .88rem; font-weight: 600; }
.legal-nav a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.legal-doc h2 { font-size: 1.3rem; margin-top: 1.8em; scroll-margin-top: 90px; }
.legal-table { font-size: .88rem; }
.legal-table td { vertical-align: top; }
.legal-actions { margin-top: 2em; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.footer-legal .link-btn { color: inherit; font-size: inherit; text-decoration: none; }
.footer-legal .link-btn:hover { color: var(--lime); }
.consent-check { flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; font-weight: 500 !important; font-size: .86rem !important; line-height: 1.45; }
.consent-check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.danger-zone { border-color: #ffc2b4; }
.btn-danger { background: #fff0ec; color: var(--err); border-color: #ffc2b4; }
.btn-danger:hover { background: var(--err); color: #fff; }

/* =========================================================
   Espaces pro (recruteur + admin)
   ========================================================= */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; max-width: 1440px; margin: 0 auto; padding: 28px 16px 64px; align-items: start; }
.dash-nav { position: sticky; top: 84px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.dash-nav-title { font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin: 0 10px 10px; }
.dash-nav nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: rgba(255,255,255,.78); font-weight: 500; font-size: .94rem; }
.dash-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.dash-nav a.is-on { background: var(--lime); color: var(--ink); font-weight: 700; }
.dash-nav .ico { width: 20px; text-align: center; opacity: .9; }
.dash-cta { margin-top: 14px; }
.dash-main { min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 4px; }
.dash-head p { margin: 0; }
.dash-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-tabs { margin-bottom: 18px; overflow-x: auto; }
.dash-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi small { color: var(--muted); font-size: .8rem; }
.kpi .up { color: var(--ok); } .kpi .down { color: var(--coral); }
.empty-mini { color: var(--muted); padding: 18px 0; text-align: center; }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 1100px) { .kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .dash { grid-template-columns: minmax(0, 1fr); padding-top: 16px; gap: 16px; }
  .dash-nav { position: static; padding: 10px; }
  .dash-nav-title { display: none; }
  .dash-nav nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .dash-nav a { white-space: nowrap; }
  .dash-nav .dash-cta { display: none; }
  .dash-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .kpis.kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .kpis-4 .kpi { padding: 14px; } .kpis-4 .kpi strong { font-size: 1.6rem; } }

/* Histogrammes */
.bars { margin: 0; }
.bars-track { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.bars-track span { flex: 1; min-width: 2px; background: var(--violet); border-radius: 4px 4px 0 0; opacity: .85; transition: opacity .15s; }
.bars-track span:hover { opacity: 1; background: var(--ink); }
.bars figcaption { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: .86rem; }
.bars figcaption strong { color: var(--ink); font-family: var(--font-display); }

/* Étapes du pipeline */
.stage-new { --st: #5b4bff; } .stage-shortlist { --st: #0e9f9a; } .stage-interview { --st: #e08a00; }
.stage-test { --st: #b04ad8; } .stage-offer { --st: #2d7be0; } .stage-hired { --st: #18794e; } .stage-rejected { --st: #8d8a9c; }
.stage-pill { display: inline-block; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: var(--st); background: color-mix(in srgb, var(--st) 12%, #fff); white-space: nowrap; }
.funnel { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.funnel-step { text-decoration: none; border-radius: var(--radius); padding: 12px; background: color-mix(in srgb, var(--st) 9%, #fff); border-top: 4px solid var(--st); display: flex; flex-direction: column; gap: 2px; transition: transform .15s; }
.funnel-step:hover { transform: translateY(-2px); }
.funnel-step strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--st); }
.funnel-step span { font-size: .8rem; color: var(--ink-2); }
@media (max-width: 900px) { .funnel { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Liste d'offres pro */
.job-admin-list { display: grid; gap: 14px; }
.job-admin { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.job-admin-main { display: flex; gap: 14px; align-items: flex-start; }
.job-admin h3 { font-size: 1.15rem; margin: 0 0 2px; }
.job-admin h3 a { text-decoration: none; } .job-admin h3 a:hover { text-decoration: underline; }
.job-admin .tags { margin-top: 8px; }
.job-admin-stats { display: flex; gap: 8px; }
.job-admin-stats div { min-width: 74px; text-align: center; background: var(--paper); border-radius: 12px; padding: 8px 6px; display: flex; flex-direction: column; }
.job-admin-stats strong { font-family: var(--font-display); font-size: 1.35rem; }
.job-admin-stats span { font-size: .74rem; color: var(--muted); }
.job-admin-stats .is-hot { background: var(--lime-soft); } .job-admin-stats .is-hot strong { color: var(--ok); }
.job-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.job-admin-actions .icon-btn { margin-left: auto; }
.grow { flex: 1; min-width: 0; }
.job-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: #fff; }
.tag-urgent { background: #ffe3dc; color: #b3260c; font-weight: 700; }
.tag-boost { background: var(--violet-soft); color: var(--violet); font-weight: 700; }
@media (max-width: 720px) { .job-admin-main { flex-wrap: wrap; } .job-admin-stats { width: 100%; } .job-admin-stats div { flex: 1; } }

/* Kanban */
.kanban-help { margin: 0 0 12px; }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.kanban-col { background: color-mix(in srgb, var(--st) 6%, var(--paper)); border: 1px solid var(--line); border-top: 4px solid var(--st); border-radius: var(--radius); padding: 10px; min-height: 340px; scroll-snap-align: start; display: flex; flex-direction: column; transition: background .15s, box-shadow .15s; }
.kanban-col.is-over { background: color-mix(in srgb, var(--st) 16%, #fff); box-shadow: inset 0 0 0 2px var(--st); }
.kanban-col header { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 2px 4px 10px; }
.kanban-col .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--st); }
.kanban-col .count { margin-left: auto; background: #fff; border-radius: 999px; padding: 1px 9px; font-size: .78rem; color: var(--muted); }
.kanban-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kcard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px; cursor: grab; box-shadow: 0 1px 2px rgba(21,19,43,.05); transition: box-shadow .15s, transform .15s; }
.kcard:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.kcard:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.kcard.is-dragging { opacity: .45; cursor: grabbing; }
.kcard-top { display: flex; gap: 10px; align-items: center; }
.kcard-top .grow { display: flex; flex-direction: column; line-height: 1.25; }
.kcard-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: color-mix(in srgb, var(--st) 18%, #fff); color: var(--st); flex: none; }
.kcard-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.kcard-meta .tag { font-size: .72rem; padding: 2px 8px; }
.kcard-move select { margin-top: 8px; width: 100%; font-size: .8rem; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); }
.stars { color: #f2a900; letter-spacing: 1px; font-size: .9rem; white-space: nowrap; }
.stars .off { color: #d9d6cc; }

/* Fiche candidat (tiroir) */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(21,19,43,.45); display: flex; justify-content: flex-end; animation: fadeIn .15s ease; }
.drawer[hidden] { display: none; }
.drawer-panel { width: min(520px, 100%); height: 100%; overflow-y: auto; background: var(--card); padding: 28px 24px 40px; position: relative; box-shadow: var(--shadow-lg); animation: slideIn .2s ease; }
.drawer-panel h2 { font-size: 1.6rem; margin-right: 40px; }
.drawer-panel h3 { font-size: 1rem; margin: 22px 0 8px; }
.drawer-close { position: absolute; top: 18px; right: 18px; }
.drawer-contact { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.drawer-contact [hidden] { display: none; }
.drawer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-row label { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; font-weight: 600; }
.drawer-row select, .drawer-row input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.rate { display: flex; gap: 2px; margin-top: 14px; }
.rate button { background: none; border: 0; font-size: 1.7rem; color: #d9d6cc; cursor: pointer; padding: 0 2px; line-height: 1; }
.rate button.is-on, .rate button:hover { color: #f2a900; }
.drawer-msg { white-space: pre-wrap; background: var(--paper); border-radius: 12px; padding: 14px; margin: 0; font-size: .94rem; }
.note-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.note-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; resize: vertical; }
.notes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.notes li { border-left: 3px solid var(--violet); padding: 4px 0 4px 12px; }
.notes p { margin: 2px 0 0; white-space: pre-wrap; }
body.has-drawer { overflow: hidden; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) { .drawer-row { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; animation: fadeIn .15s ease; max-width: calc(100% - 32px); }
.toast-bad { background: var(--err); }
.agenda-day { font-size: 1rem; margin: 18px 0 4px; color: var(--violet); }
.agenda-day:first-child { margin-top: 0; }

/* Entreprises */
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.company-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.company-card-top { display: flex; gap: 12px; align-items: center; }
.company-card h3 { margin: 0; font-size: 1.15rem; }
.company-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: var(--ink-2); }
.company-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.company-form legend { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; }
.company-form label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.company-form input, .company-form select, .company-form textarea { padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-weight: 400; background: #fff; }
.company-form .grid-2 { gap: 0 14px; }
.logo-row { display: flex; align-items: center; gap: 14px; }
.logo-preview { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.form-actions { display: flex; justify-content: flex-end; }
.company-pick { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding: 14px; background: var(--violet-soft); border-radius: var(--radius); margin-bottom: 16px; }
.company-pick label { flex: 1 1 240px; margin: 0; }
.company-pick .tiny { flex-basis: 100%; }
.kpis-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 20px 0; font-size: .92rem; }
.pager a { font-weight: 600; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88rem; line-height: 1.6; }
.callout { background: var(--lime-soft); border-left: 4px solid var(--lime-2); border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 18px 0; }
.callout p { margin: 0; }
.char-count { align-self: flex-end; margin-top: -2px; }
.char-count.is-over { color: var(--coral); font-weight: 700; }
.ai-panel-lite { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; border: 0; }
.ai-panel-lite h2 { color: var(--lime); font-size: 1.2rem; }
.ai-panel-lite .muted { color: rgba(255,255,255,.7); }
.ai-panel-lite label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.ai-panel-lite input { padding: 11px 12px; border-radius: 12px; border: 0; font: inherit; }
.ai-panel-lite .ai-status.is-ok { color: var(--lime); }
.blog-actions { gap: 16px; align-items: center; }
.role-form { display: flex; gap: 6px; align-items: center; }
.role-form select { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); }
.report-box { margin-top: 18px; font-size: .88rem; }
.report-box summary { cursor: pointer; color: var(--muted); }
.report-box form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.report-box select, .report-box textarea { padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }

/* =========================================================
   Blog
   ========================================================= */
.blog-hero { background: var(--ink); color: #fff; padding: 56px 0 40px; }
.blog-hero h1 { max-width: 820px; }
.blog-hero .lead { color: rgba(255,255,255,.75); max-width: 680px; }
.blog-hero .eyebrow { color: var(--lime); }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.blog-cats a { text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: .9rem; font-weight: 600; color: #fff; }
.blog-cats a span { opacity: .6; font-weight: 500; margin-left: 4px; }
.blog-cats a:hover { border-color: var(--lime); }
.blog-cats a.is-on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.blog-wrap { padding-top: 36px; padding-bottom: 56px; }
.blog-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 28px; transition: box-shadow .2s; }
.blog-feature:hover { box-shadow: var(--shadow-lg); }
.blog-feature h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 8px 0 10px; }
.blog-feature p { color: var(--ink-2); }
.blog-feature-art, .blog-card-art { --c1: var(--violet); --c2: #8f84ff; border-radius: var(--radius); display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); overflow: hidden; position: relative; }
.blog-feature-art { aspect-ratio: 16 / 10; }
.blog-card-art { aspect-ratio: 16 / 8; margin-bottom: 14px; }
.blog-feature-art span, .blog-card-art span { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 9vw, 7rem); color: rgba(255,255,255,.9); letter-spacing: -.05em; }
.blog-card-art span { font-size: 3.4rem; }
.blog-feature-art::after, .blog-card-art::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.12); right: -12%; bottom: -30%; }
.cat-cv { --c1: #0e9f9a; --c2: #5fd3c9; } .cat-entretien { --c1: #e08a00; --c2: #ffc35a; } .cat-droit { --c1: #15132b; --c2: #4a4675; }
.cat-marche { --c1: #2d7be0; --c2: #7fb1f5; } .cat-etudiants { --c1: #7fb800; --c2: #c9f25a; } .cat-recruteurs { --c1: #b04ad8; --c2: #da97f2; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.blog-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card h2, .blog-card h3 { font-size: 1.22rem; margin: 6px 0 8px; }
.blog-card p { color: var(--ink-2); font-size: .95rem; margin: 0 0 12px; flex: 1; }
.blog-cat { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--ink-2); }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .blog-feature { grid-template-columns: 1fr; } }

.post-head { padding-top: 40px; padding-bottom: 16px; max-width: 900px; }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.post-head .lead { font-size: 1.2rem; color: var(--ink-2); }
.crumbs { margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--violet); text-decoration: none; font-weight: 600; }
.post-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 48px; padding-bottom: 56px; }
.post-toc { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
.post-toc ol { padding-left: 18px; margin: 6px 0 0; display: grid; gap: 6px; font-size: .9rem; }
.post-toc a { color: var(--ink-2); text-decoration: none; }
.post-toc a:hover { color: var(--violet); text-decoration: underline; }
.post-body { font-size: 1.08rem; line-height: 1.75; }
.post-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 2em 0 .6em; scroll-margin-top: 90px; }
.post-body h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.post-body a { color: var(--violet); font-weight: 600; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin: .35em 0; }
.post-note { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }
@media (max-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } .post-toc { position: static; order: 2; } }
.ad-slot { margin: 18px 0; padding: 10px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--card); min-height: 120px; grid-column: 1 / -1; }
.ad-label { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* Autocomplétion des communes */
.ac { position: relative; flex: 1; min-width: 0; display: flex; }
.ac > input { width: 100%; }
.ac-list { position: absolute; z-index: 60; top: calc(100% + 8px); left: -8px; right: -8px; min-width: 260px; margin: 0; padding: 6px; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); max-height: 340px; overflow-y: auto; text-align: left; }
.ac-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--lime-soft); }
.ac-main { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-main small { font-weight: 400; color: var(--muted); }
.ac-meta { font-size: .8rem; color: var(--muted); white-space: nowrap; flex: none; }
.ac-region .ac-main::before { content: "◎ "; color: var(--violet); }
.ac-empty { color: var(--muted); cursor: default; font-size: .9rem; }
label > .ac { display: flex; }

/* ---------- Header mobile : langues visibles + menu coulissant à droite ---------- */
.lang-switch-mobile, .nav-panel-head, .nav-panel-user, .nav-overlay { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font-size: .7rem; font-weight: 800; line-height: 1; vertical-align: 1px; }
.nav-toggle span { transition: transform .2s, opacity .2s; }
@media (max-width: 1140px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav { gap: 10px; }
  .lang-switch-mobile { display: inline-flex; margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav-links .lang-switch { display: none; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(21, 19, 43, .45); opacity: 0; transition: opacity .25s; }
  .nav-overlay[hidden] { display: none; }
  body.nav-open .nav-overlay { opacity: 1; }
  .nav-links, .nav-links.is-open { display: flex; position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(86vw, 360px); z-index: 100;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); background: var(--paper);
    border: 0; box-shadow: -20px 0 60px rgba(21,19,43,.18); overflow-y: auto; transform: translateX(105%); visibility: hidden;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s; }
  body.nav-open .nav-links { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
  body.nav-open { overflow: hidden; }
  .nav-panel-head { display: flex; justify-content: space-between; align-items: center; height: 68px; position: sticky; top: 0; background: var(--paper); z-index: 1; }
  .nav-panel-user { display: flex; gap: 12px; align-items: center; padding: 14px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
  .nav-panel-user div { display: flex; flex-direction: column; min-width: 0; }
  .nav-panel-user .tiny { overflow: hidden; text-overflow: ellipsis; }
  .avatar-lg { width: 42px; height: 42px; font-size: 1rem; flex: none; overflow: hidden; }
  .nav-links > a:not(.btn), .nav-links form { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
  .nav-links .nav-account { display: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 380px) { .lang-switch-mobile a { padding: 4px 7px; } .logo { font-size: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .nav-links, .nav-overlay { transition: none !important; } }

/* ---------- Messagerie ---------- */
.msg-page { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; padding-top: 24px; padding-bottom: 40px; height: calc(100vh - 68px); min-height: 520px; }
.msg-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 10px; overflow-y: auto; }
.msg-list h1 { font-size: 1.6rem; margin: 4px 10px 14px; }
.msg-item { display: flex; gap: 12px; align-items: center; padding: 12px 10px; border-radius: 14px; text-decoration: none; position: relative; }
.msg-item:hover { background: var(--paper); }
.msg-item.is-on { background: var(--lime-soft); }
.msg-item .kcard-avatar { width: 42px; height: 42px; }
.msg-item-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.msg-item-top { display: flex; justify-content: space-between; gap: 8px; }
.msg-item-top strong, .msg-item-job, .msg-item-last { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-item-job { color: var(--violet); font-weight: 600; }
.msg-item.is-unread strong, .msg-item.is-unread .msg-item-last { color: var(--ink); font-weight: 700; }
.msg-empty { padding: 10px; }
.msg-thread { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 0; }
.msg-placeholder { margin: auto; text-align: center; }
.msg-placeholder span { font-size: 3rem; color: var(--line); }
.msg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.msg-head > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.msg-back { display: none; }
.msg-scroll { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg-start { text-align: center; margin: auto 0 0; }
.bubble { max-width: min(78%, 560px); align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 10px 14px; }
.bubble p { margin: 0; white-space: normal; overflow-wrap: anywhere; }
.bubble span { display: block; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.bubble.is-mine { align-self: flex-end; background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 18px 18px 6px 18px; }
.bubble.is-mine span { color: rgba(255,255,255,.6); text-align: right; }
.msg-form { display: flex; gap: 10px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.msg-form textarea { flex: 1; resize: none; max-height: 160px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; font: inherit; background: var(--paper); }
.msg-form .btn { border-radius: 50%; width: 46px; height: 46px; padding: 0; justify-content: center; flex: none; }
@media (max-width: 860px) {
  .msg-page { grid-template-columns: minmax(0, 1fr); padding-top: 12px; height: calc(100dvh - 68px - 64px - env(safe-area-inset-bottom)); }
  .msg-page.has-thread .msg-list { display: none; }
  .msg-page:not(.has-thread) .msg-thread { display: none; }
  .msg-back { display: inline-grid; }
  body.is-messages .site-footer { display: none; }
}

/* Fil de messages dans la fiche candidat */
.drawer-thread { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow-y: auto; padding: 10px; background: var(--paper); border-radius: 14px; }
.drawer-thread .bubble { max-width: 88%; font-size: .92rem; }
.drawer-msg-form { display: flex; gap: 8px; margin-top: 8px; }
.drawer-msg-form textarea { flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: 12px; font: inherit; resize: vertical; }

/* ---------- Barre fixe mobile (connecté) ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(21,19,43,.06); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 600; padding: 4px 0; border-radius: 12px; }
  .tabbar-ico { position: relative; width: 44px; height: 28px; display: grid; place-items: center; border-radius: 999px; transition: background .2s; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.is-on { color: var(--ink); }
  .tabbar a.is-on .tabbar-ico { background: var(--lime); }
  .tabbar .badge { position: absolute; top: -4px; right: 2px; min-width: 17px; height: 17px; font-size: .62rem; border: 2px solid #fff; }
  body.has-tabbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.has-tabbar .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.nav-open .tabbar { display: none; }
}
@media (max-width: 560px) {
  .ac-list { left: -4px; right: -4px; min-width: 0; }
  .ac-list li { flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 12px; }
  .ac-main { white-space: normal; }
}

/* =========================================================
   Annonces natives partenaire (documents AILawyer.be)
   ========================================================= */
.promo { --pc: #5b4bff; --pc-soft: #ecebff; list-style: none; }
.promo-cat-travail { --pc: #2d7be0; --pc-soft: #e3effd; } .promo-cat-conges { --pc: #0e9f9a; --pc-soft: #dcf5f3; }
.promo-cat-immobilier { --pc: #e08a00; --pc-soft: #fff1d6; } .promo-cat-entreprise { --pc: #15132b; --pc-soft: #e9e8f0; }
.promo-cat-particuliers { --pc: #b04ad8; --pc-soft: #f6e6fc; } .promo-cat-asbl { --pc: #18794e; --pc-soft: #ddf3e7; }
.promo-link { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; text-decoration: none; color: var(--ink);
  background: linear-gradient(135deg, var(--pc-soft), var(--card) 60%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; transition: box-shadow .2s, transform .2s; position: relative; }
.promo-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.promo-card { margin: 0; }
.job-list > .promo, .mini-grid > .promo { margin: 0; }
.promo-paper { position: relative; aspect-ratio: 3 / 4; background: #fff; border-radius: 8px; box-shadow: 0 8px 20px rgba(21,19,43,.12); padding: 12px 11px; display: flex; flex-direction: column; gap: 5px; transform: rotate(-3deg); overflow: hidden; border-top: 4px solid var(--pc); }
.promo-kicker { font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pc); }
.promo-ptitle { font-family: var(--font-display); font-weight: 800; font-size: .72rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.promo-paper i { display: block; height: 4px; border-radius: 3px; background: #e9e7f0; margin-top: 3px; }
.promo-paper i.short { width: 60%; }
.promo-seal { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--pc); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.promo-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.promo-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.promo-badge { font-size: .7rem; font-weight: 700; letter-spacing: .03em; color: var(--muted); text-transform: uppercase; }
.promo-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--pc); white-space: nowrap; }
.promo-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.promo-desc { color: var(--ink-2); font-size: .93rem; }
.promo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-tags span { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.promo-cta { font-weight: 700; color: var(--pc); font-size: .92rem; margin-top: 2px; }
.promo-side .promo-link, .promo-tile .promo-link { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 14px; }
.promo-side { margin: 16px 0; }
.promo-side .promo-paper, .promo-tile .promo-paper { padding: 8px 7px; gap: 3px; }
.promo-side .promo-ptitle, .promo-tile .promo-ptitle { font-size: .5rem; }
.promo-side .promo-kicker, .promo-tile .promo-kicker { font-size: .42rem; }
.promo-side .promo-seal, .promo-tile .promo-seal { width: 18px; height: 18px; font-size: .6rem; right: 5px; bottom: 5px; }
.promo-side .promo-title, .promo-tile .promo-title { font-size: 1rem; }
.promo-side .promo-tags, .promo-tile .promo-tags { display: none; }
.promo-tile .promo-desc { font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.promo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.promo-panel { margin-top: 18px; }
.promo-panel-wrap { padding-bottom: 40px; }
@media (max-width: 560px) {
  .promo-link { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .promo-ptitle { font-size: .52rem; } .promo-kicker { font-size: .44rem; }
  .promo-desc { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .promo-tags span:nth-child(n+3) { display: none; }
}

/* ---------- Header v3 : icône compte mobile + menu par rubriques ---------- */
.nav-m, .nav-user-mobile { display: none; }
.nav-links .mi { display: none; }
.nav-logout .mi { display: none; }
@media (max-width: 1140px) {
  .nav-d { display: none !important; }
  .nav-m { display: flex; }
  .nav-user-mobile { display: inline-grid; place-items: center; position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); flex: none; }
  .nav-user-mobile .mi, .nav-user-mobile svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .nav-user-mobile.is-in { border: 2px solid var(--lime); padding: 1px; }
  .nav-user-mobile .avatar { width: 100%; height: 100%; overflow: hidden; }
  .nav-user-mobile .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .nav-user-mobile .badge { position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; font-size: .62rem; border: 2px solid var(--paper); }
  .lang-switch-mobile { margin-left: auto; }

  .nav-links { padding: 0 16px calc(20px + env(safe-area-inset-bottom)); gap: 2px; }
  .nav-panel-head { margin: 0 -16px 6px; padding: 0 16px; border-bottom: 1px solid var(--line); }
  .nav-panel-user { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-lg); padding: 14px; margin: 10px 0 6px; }
  .nav-panel-user .avatar { background: var(--lime); color: var(--ink); overflow: hidden; }
  .nav-panel-user .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .nav-panel-user .npu-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .nav-panel-user .npu-text .muted { color: var(--lime); }
  .npu-go { font-size: 1.6rem; line-height: 1; color: var(--lime); }
  .nav-guest { flex-direction: column; gap: 6px; background: linear-gradient(135deg, var(--ink), #2a2563); color: #fff; border-radius: var(--radius-lg); padding: 16px; margin: 10px 0 6px; }
  .nav-guest strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--lime); }
  .nav-guest p { margin: 0; color: rgba(255,255,255,.8); }
  .nav-guest-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
  .nav-guest-actions .btn { margin: 0 !important; justify-content: center; }
  .btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
  .nav-section { margin: 14px 4px 4px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .nav-links > a:not(.btn):not(.nav-panel-user), .nav-logout button { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border: 0; border-radius: 14px; font-size: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; width: 100%; }
  .nav-links > a:not(.btn):not(.nav-panel-user)::after { content: "›"; display: block; position: static; height: auto; background: none; margin-left: auto; font-size: 1.3rem; color: var(--muted); }
  .nav-links > a:not(.btn):not(.nav-panel-user).is-active { background: var(--lime-soft); }
  .nav-links > a:not(.btn):not(.nav-panel-user):active { background: var(--card); }
  .nav-links .mi, .nav-logout .mi { display: block; width: 38px; height: 38px; padding: 9px; flex: none; border-radius: 12px; background: var(--card); border: 1px solid var(--line); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .nav-links > a.is-active .mi { background: var(--lime); border-color: var(--lime-2); }
  .nav-links form { padding: 0; border: 0; }
  .nav-logout button { color: var(--err); font-family: inherit; cursor: pointer; background: none; text-align: left; }
  .nav-logout .mi { stroke: var(--err); }
  .nav-messages .badge { margin-left: auto; }
  .nav-links > a.nav-messages:has(.badge)::after { margin-left: 8px; }
  .nav-panel-user .avatar-lg { display: grid; place-items: center; font-size: 1.1rem; font-weight: 800; }
  .nav-foot { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav-foot .link-btn { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); }
  .nav-foot .mi { width: 20px; height: 20px; padding: 0; border: 0; background: none; }
}
@media (max-width: 380px) { .nav-user-mobile { width: 36px; height: 36px; } .lang-switch-mobile a { padding: 4px 6px; } }

/* Fenêtre de consentement compacte sur ordinateur (~30 % plus petite) */
@media (min-width: 768px) {
  .consent { background: rgba(21,19,43,.35); backdrop-filter: blur(2px); }
  .consent-box { max-width: 520px; padding: 26px 28px 20px; border-radius: 20px; font-size: .9rem; line-height: 1.5; }
  .consent-box h2 { font-size: 1.25rem; margin-bottom: .5em; }
  .consent-box > p { margin: 0 0 10px; font-size: .87rem; }
  .consent-opt { padding: 12px 0; gap: 16px; }
  .consent-opt strong { font-size: .92rem; }
  .consent-opt p { font-size: .8rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
  .consent-opt p.is-open { -webkit-line-clamp: unset; display: block; }
  .consent-opt .switch { transform: scale(.92); transform-origin: right top; }
  .consent-always { font-size: .7rem; padding: 4px 9px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .consent-actions .btn { padding: 10px 12px; font-size: .86rem; min-height: 0; white-space: nowrap; justify-content: center; }
  .consent-actions [data-consent-save="all"] { grid-column: 1 / -1; order: -1; padding: 12px; }
  .consent-links { margin-top: 12px; font-size: .74rem; white-space: nowrap; }
}

/* ---------- Aucun défilement horizontal sur mobile ---------- */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.sr-only, .hp { width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; border: 0 !important; min-width: 0 !important; left: 0; top: 0; }
.ticker { margin-left: 0; margin-right: 0; }

/* ---------- Fenêtre cookies compacte sur mobile (feuille en bas d'écran) ---------- */
@media (max-width: 767px) {
  .consent { align-items: end; padding: 0; background: rgba(21,19,43,.4); backdrop-filter: none; }
  .consent-box { max-width: none; border-radius: 20px 20px 0 0; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); max-height: 78vh; font-size: .84rem; line-height: 1.4; animation: slideUp .25s ease; }
  .consent-box h2 { font-size: 1.05rem; margin-bottom: .35em; }
  .consent-box > p { font-size: .78rem; margin: 0 0 4px; }
  .consent-opt { padding: 8px 0; gap: 10px; }
  .consent-opt strong { font-size: .84rem; }
  .consent-opt p { font-size: .72rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .consent-opt p.is-open { -webkit-line-clamp: unset; display: block; }
  .consent-always { font-size: .64rem; padding: 3px 7px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
  .consent-actions .btn { padding: 9px 8px; font-size: .78rem; min-height: 0; justify-content: center; white-space: nowrap; }
  .consent-actions [data-consent-save="all"] { grid-column: 1 / -1; order: -1; padding: 11px; font-size: .86rem; }
  .consent-links { margin-top: 8px; font-size: .66rem; }
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* =========================================================
   CV : 12 modèles (mises en page + styles) et polices
   ========================================================= */
.cv-paper.lay-one, .cv-paper.lay-band, .cv-paper.lay-two { display: block; }
.lay-one { padding: 46px 54px; }
.lay-one .cv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 26px; }
.cv-paper.lay-one .cv-contacts, .cv-paper.lay-band .cv-contacts, .cv-paper.lay-two .cv-contacts { flex-direction: row; flex-wrap: wrap; gap: .3em 1.4em; margin: 0 0 1.4em; }
.cv-body { display: grid; grid-template-columns: 1fr 236px; }
.lay-band .cv-band { background: var(--cv); color: #fff; padding: 38px 48px 22px; }
.lay-band .cv-band .cv-head { margin-bottom: 14px; }
.lay-band .cv-band .cv-title { color: #fff; opacity: .9; }
.lay-band .cv-band .cv-status { color: rgba(255,255,255,.75); }
.cv-paper.lay-band .cv-band .cv-contacts { margin: 0; }
.lay-band .cv-body .cv-main { padding: 30px 28px 30px 48px; }
.lay-band .cv-body .cv-aside { padding: 30px 40px 30px 4px; }
.lay-two .cv-top { padding: 34px 40px 4px; border-bottom: 2px solid var(--cv); }
.lay-two .cv-top .cv-head { margin-bottom: 10px; }
.lay-two .cv-body { grid-template-columns: 1fr 210px; }
.lay-two .cv-body .cv-main { padding: 22px 26px 24px 40px; }
.lay-two .cv-body .cv-aside { padding: 22px 40px 24px 0; }

/* Minimal */
.tpl-minimal h3 { color: #15132b; letter-spacing: .2em; font-weight: 700; border-bottom: 1px solid #15132b; padding-bottom: 5px; }
.tpl-minimal .cv-title { color: #3a3850; font-weight: 500; }
.tpl-minimal h2 { font-weight: 700; letter-spacing: -.01em; }
.tpl-minimal .cv-skills li { border: 0; padding: 0; }
.tpl-minimal .cv-skills li:not(:last-child)::after { content: " ·"; }
.tpl-minimal .cv-bar i { background: #15132b; }
.tpl-minimal li::marker { color: #15132b; }

/* Bandeau */
.tpl-bandeau .cv-main .cv-sec h3 { display: flex; align-items: center; gap: .7em; }
.tpl-bandeau .cv-main .cv-sec h3::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .25; }
.tpl-bandeau .cv-aside .cv-bar i { background: var(--cv); }
.tpl-bandeau .cv-photo { border: 4px solid rgba(255,255,255,.35); }

/* Élégant */
.cv-paper.tpl-elegant { font-family: Georgia, "Times New Roman", serif; padding: 56px 64px; position: absolute; }
.tpl-elegant::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--cv); opacity: .35; pointer-events: none; }
.tpl-elegant h2, .tpl-elegant h3 { font-family: Georgia, serif; }
.tpl-elegant .cv-head { flex-direction: column; text-align: center; gap: 10px; }
.tpl-elegant h2 { font-weight: 400; font-size: 2.4em; letter-spacing: .02em; }
.tpl-elegant .cv-title { font-style: italic; }
.cv-paper.tpl-elegant .cv-contacts { justify-content: center; }
.tpl-elegant h3 { text-align: center; letter-spacing: .25em; font-weight: 400; display: flex; align-items: center; gap: 1em; }
.tpl-elegant h3::before, .tpl-elegant h3::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; }
.tpl-elegant .cv-skills li { border: 0; padding: 0; }
.tpl-elegant .cv-skills li:not(:last-child)::after { content: " ·"; }
.tpl-elegant .cv-bar i { background: var(--cv); }

/* Chronologie */
.tpl-chrono .cv-aside { background: color-mix(in srgb, var(--cv) 9%, #fff); }
.tpl-chrono .cv-aside .cv-bar i { background: var(--cv); }
.tpl-chrono .cv-exp .cv-item, .tpl-chrono .cv-edu .cv-item { position: relative; padding-left: 22px; border-left: 2px solid color-mix(in srgb, var(--cv) 30%, #fff); margin-left: 6px; padding-bottom: .6em; margin-bottom: 0; }
.tpl-chrono .cv-exp .cv-item::before, .tpl-chrono .cv-edu .cv-item::before { content: ""; position: absolute; left: -7px; top: .35em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--cv); }
.tpl-chrono .cv-date { color: var(--cv); }

/* Compact */
.cv-paper.tpl-compact { --fs: 12.2px; line-height: 1.42; }
.tpl-compact .cv-sec { margin-bottom: 1em; }
.tpl-compact .cv-item { margin-bottom: .7em; }
.tpl-compact h2 { font-size: 2em; }
.tpl-compact .cv-photo { width: 78px; height: 78px; }
.tpl-compact .cv-aside .cv-bar i { background: var(--cv); }

/* Tech */
.tpl-tech .cv-aside { background: #11131a; color: #d7dae3; }
.tpl-tech h3 { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace !important; letter-spacing: .04em; text-transform: none; font-size: .86em; }
.tpl-tech h3::before { content: "// "; opacity: .55; }
.tpl-tech .cv-aside h3 { color: color-mix(in srgb, var(--cv) 55%, #fff); }
.tpl-tech .cv-aside .cv-skills li { background: rgba(255,255,255,.08); border: 0; font-family: ui-monospace, Menlo, monospace; }
.tpl-tech .cv-aside .cv-bar i { background: color-mix(in srgb, var(--cv) 55%, #fff); }
.tpl-tech .cv-title { font-family: ui-monospace, Menlo, monospace; font-size: 1em; }

/* Créatif */
.tpl-creatif { grid-template-columns: 280px 1fr; }
.tpl-creatif .cv-aside { background: linear-gradient(165deg, var(--cv), color-mix(in srgb, var(--cv) 55%, #000)); color: #fff; border-radius: 0 28px 28px 0; }
.tpl-creatif .cv-aside .cv-head { flex-direction: column; align-items: flex-start; gap: 14px; }
.tpl-creatif .cv-aside h2 { font-size: 2em; }
.tpl-creatif .cv-aside .cv-title { color: #fff; opacity: .85; }
.tpl-creatif .cv-aside h3 { color: #fff; opacity: .8; }
.tpl-creatif .cv-aside .cv-skills li { border-color: rgba(255,255,255,.5); border-radius: 999px; }
.tpl-creatif .cv-photo { border: 4px solid rgba(255,255,255,.4); }
.tpl-creatif .cv-main h3 { display: inline-block; background: color-mix(in srgb, var(--cv) 12%, #fff); padding: 4px 12px; border-radius: 999px; }

/* Étudiant */
.tpl-etudiant .cv-head { background: color-mix(in srgb, var(--cv) 8%, #fff); margin: -46px -54px 1.4em; padding: 40px 54px 26px; border-bottom: 4px solid var(--cv); }
.tpl-etudiant h2 { font-size: 2.5em; }
.tpl-etudiant .cv-skills li { background: color-mix(in srgb, var(--cv) 10%, #fff); border: 0; border-radius: 999px; }
.tpl-etudiant .cv-bar i { background: var(--cv); }

/* Impact */
.tpl-impact .cv-band { background: #15132b; position: relative; padding-left: 60px; }
.tpl-impact .cv-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: var(--cv); }
.tpl-impact h2 { text-transform: uppercase; letter-spacing: .02em; }
.tpl-impact .cv-band .cv-title { color: color-mix(in srgb, var(--cv) 45%, #fff); opacity: 1; font-weight: 700; }
.tpl-impact .cv-item h4 { color: var(--cv); }
.tpl-impact .cv-main h3 { color: #15132b; border-left: 4px solid var(--cv); padding-left: 10px; }
.tpl-impact .cv-aside .cv-bar i { background: var(--cv); }

/* Polices */
.cv-paper.font-serif, .cv-paper.font-serif h2, .cv-paper.font-serif h3, .cv-paper.font-serif h4 { font-family: Georgia, "Times New Roman", serif; }
.cv-paper.font-display h2 { font-family: "Bricolage Grotesque", Arial, sans-serif; font-size: 2.6em; font-weight: 800; letter-spacing: -.035em; }
.cv-paper.font-display h3 { font-family: "Bricolage Grotesque", Arial, sans-serif; letter-spacing: .2em; }
.cv-paper.font-display h4 { font-family: "Bricolage Grotesque", Arial, sans-serif; }

/* Galerie de modèles */
.tpl-gallery { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.tpl-card { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 6px; border: 2px solid transparent; border-radius: 14px; background: rgba(255,255,255,.7); cursor: pointer; scroll-snap-align: center; font: inherit; color: var(--ink); transition: border-color .15s, transform .15s, background .15s; }
.tpl-card:hover { transform: translateY(-2px); background: #fff; }
.tpl-card.is-on { border-color: var(--ink); background: #fff; }
.tpl-card strong { font-size: .78rem; }
.tpl-card small { font-size: .62rem; color: var(--muted); text-align: center; line-height: 1.2; }
.tpl-thumb { position: relative; width: 62px; height: 86px; background: #fff; border-radius: 4px; box-shadow: 0 1px 4px rgba(21,19,43,.18); overflow: hidden; display: block; margin-bottom: 4px; }
.tpl-thumb i, .tpl-thumb b, .tpl-thumb em { position: absolute; display: block; border-radius: 1px; }
.tpl-thumb i { background: var(--thc, #15132b); }
.tpl-thumb b { height: 3px; background: #d9d6e3; }
.tpl-thumb em { height: 8px; background: #ecebf2; }
.th-aside i, .th-aside-head i { left: 0; top: 0; bottom: 0; width: 34%; }
.th-aside b, .th-aside-head b { left: 42%; right: 8%; }
.th-aside b:nth-of-type(1), .th-aside-head b:nth-of-type(1) { top: 14px; } .th-aside b:nth-of-type(2), .th-aside-head b:nth-of-type(2) { top: 22px; right: 22%; } .th-aside b:nth-of-type(3), .th-aside-head b:nth-of-type(3) { top: 30px; }
.th-aside em, .th-aside-head em { left: 42%; right: 8%; } .th-aside em:nth-of-type(1), .th-aside-head em:nth-of-type(1) { top: 44px; } .th-aside em:nth-of-type(2), .th-aside-head em:nth-of-type(2) { top: 60px; }
.th-one i, .th-two i { left: 8px; right: 8px; top: 8px; height: 6px; }
.th-one b, .th-two b { left: 8px; right: 8px; } .th-one b:nth-of-type(1), .th-two b:nth-of-type(1) { top: 20px; right: 30px; } .th-one b:nth-of-type(2), .th-two b:nth-of-type(2) { top: 28px; } .th-one b:nth-of-type(3), .th-two b:nth-of-type(3) { top: 36px; }
.th-one em, .th-two em { left: 8px; right: 8px; } .th-one em:nth-of-type(1), .th-two em:nth-of-type(1) { top: 48px; } .th-one em:nth-of-type(2), .th-two em:nth-of-type(2) { top: 64px; }
.th-two em:nth-of-type(1), .th-two em:nth-of-type(2) { right: 26px; }
.th-band i { left: 0; right: 0; top: 0; height: 22px; }
.th-band b { left: 6px; right: 24px; } .th-band b:nth-of-type(1) { top: 30px; } .th-band b:nth-of-type(2) { top: 38px; right: 34px; } .th-band b:nth-of-type(3) { top: 46px; }
.th-band em { left: 6px; right: 24px; } .th-band em:nth-of-type(1) { top: 56px; } .th-band em:nth-of-type(2) { top: 70px; }
.thk-minimal i, .thk-elegant i { --thc: #15132b; height: 3px; } .thk-classique i { height: 4px; }
.thk-chrono i { --thc: #e3e1f5; } .thk-tech i { --thc: #11131a; } .thk-creatif i { border-radius: 0 10px 10px 0; }
.thk-impact i { --thc: #15132b; } .thk-etudiant i { height: 16px; left: 0; right: 0; top: 0; opacity: .25; }
.thk-elegant { outline: 1px solid #c9c6d8; outline-offset: -4px; }
@media print { body.is-tool .cv-paper { position: relative !important; } }

/* =========================================================
   Générateur de CV : confort tactile et fluidité (mobile/tablette)
   ========================================================= */
.cv-optin { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: .86rem !important; font-weight: 500 !important; color: var(--ink-2); cursor: pointer; }
.cv-optin input { width: 20px !important; height: 20px; min-height: 0 !important; flex: none; margin-top: 1px; accent-color: var(--ink); padding: 0 !important; }
.cv-lead-notice { font-size: .74rem; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
.cvb-print-hint { margin: 8px 0 0; text-align: center; }
.cvb-preview-notice { max-width: 560px; margin: 4px auto 0; text-align: left; }
.cvb-preview-notice .cv-optin { margin-top: 6px; }
.repeat-head { cursor: pointer; user-select: none; }
.repeat-head .chev { display: inline-block; transition: transform .2s; margin-right: 6px; color: var(--muted); }
.repeat.is-collapsed .chev { transform: rotate(-90deg); }
.repeat.is-collapsed > :not(.repeat-head) { display: none !important; }
.repeat { transition: box-shadow .2s; }
.repeat:focus-within { box-shadow: 0 0 0 3px rgba(201, 242, 90, .5); border-color: var(--ink); }
.cvb[data-view] .cvb-editor, .cvb[data-view] .cvb-preview { animation: cvbFade .22s ease; }
@keyframes cvbFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  body.is-tool .tabbar { display: none !important; }
  body.is-tool.has-tabbar { padding-bottom: 0; }
  .cvb-editor { padding: 14px 14px calc(110px + env(safe-area-inset-bottom)); }
  .cvb-head h1 { font-size: 1.5rem; }
  .cvb-nav { top: 68px; padding: 10px 0; gap: 8px; }
  .cvb-nav a { padding: 9px 14px; font-size: .86rem; }
  .cvb-card { padding: 16px; border-radius: 18px; gap: 14px; scroll-margin-top: 128px; }
  .cvb-card h2 { font-size: 1.18rem; }
  .cvb .form label, .repeat label { font-size: .86rem; gap: 6px; }
  .cvb input:not([type=file]):not([type=checkbox]), .cvb select, .cvb textarea {
    font-size: 16px; /* pas de zoom automatique sur iPhone */ min-height: 50px; padding: 12px 14px; border-radius: 12px; -webkit-appearance: none; appearance: none; }
  .cvb select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315132b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
  .cvb textarea { min-height: 120px; }
  .cvb .grid-2, .cvb .grid-3 { gap: 12px; }
  .repeat { padding: 14px; border-radius: 16px; }
  .repeat-head { min-height: 44px; }
  .repeat-head strong { font-size: 1rem; }
  .repeat .icon-btn, .repeat-inline .icon-btn { width: 44px; height: 44px; font-size: 1.05rem; }
  .repeat-inline { flex-wrap: wrap; }
  .repeat-inline label { flex: 1 1 140px; }
  .cvb .btn { min-height: 46px; }
  .cvb-card .btn { align-self: stretch; justify-content: center; }
  .photo-drop { width: 84px !important; height: 84px; }
  .tag-input input { min-height: 44px !important; }
  .tag-removable button { min-width: 28px; min-height: 28px; }
  .chip-btn { min-height: 40px; }
  .cvb-preview { padding: 10px 10px calc(110px + env(safe-area-inset-bottom)); background: #e8e6de; }
  .cvb-toolbar { justify-content: flex-start; gap: 8px; border-radius: 14px; }
  .cvb-toolbar .seg button { min-height: 40px; }
  .swatch { width: 32px; height: 32px; }
  .cvb-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .cvb-actions .btn { min-height: 44px; justify-content: center; }
  .tpl-card { width: 96px; }
  .cvb-mobilebar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 18px; }
  .cvb-mobilebar button { min-height: 50px; font-size: .92rem; display: flex; align-items: center; justify-content: center; gap: 6px; }
  .cvb-mobilebar .pdf { font-weight: 800; }
  .cvb-toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .cvb .grid-2:not(.keep-2), .cvb .grid-3 { grid-template-columns: 1fr; }
  .cvb .grid-3.dates { grid-template-columns: 1fr 1fr; }
  .cvb .grid-3.dates > :first-child { grid-column: 1 / -1; }
  .photo-row { align-items: center; }
}
@media (max-width: 560px) {
  .cvb .photo-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .cvb .photo-drop { align-self: center; }
  .cvb .grid-2.keep-2 { grid-template-columns: 1fr 1fr !important; }
  .cvb-mobilebar button { font-size: .88rem; }
}
@media (max-width: 1000px) {
  .cvb-preview .tpl-gallery { order: -1; padding-top: 2px; }
  .cvb-actions { grid-template-columns: 1fr; }
  .cvb-actions [data-print] { display: none; }
}

/* =========================================================
   CV v2 : socle typographique professionnel
   ========================================================= */
.cv-paper { color: #2a2936; line-height: 1.5; font-feature-settings: "kern", "liga"; text-rendering: optimizeLegibility; }
.cv-paper h2 { font-size: 2.35em; font-weight: 800; letter-spacing: -.022em; line-height: 1.04; color: #14131f; }
.cv-paper h3 { font-size: .74em; font-weight: 700; letter-spacing: .17em; margin: 0 0 1em; }
.cv-paper h4 { font-size: 1.02em; font-weight: 700; line-height: 1.3; color: #14131f; }
.cv-title { font-size: .98em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: .55em; }
.cv-status { font-size: .84em; margin-top: .35em; }
.cv-summary { font-size: 1em; line-height: 1.6; color: #3a3948; }
.cv-sec { margin-bottom: 1.6em; }
.cv-item { margin-bottom: 1.15em; }
.cv-item:last-child { margin-bottom: 0; }
.cv-item-head { align-items: baseline; }
.cv-date, .cv-when { font-variant-numeric: tabular-nums; }
.cv-date { font-size: .8em; font-weight: 600; color: #6e6c80; letter-spacing: .02em; }
.cv-sub { font-size: .9em; margin: .15em 0 .35em; color: #5e5c70; }
.cv-org { font-weight: 600; color: #3a3948; }
.cv-place::before { content: "·"; margin: 0 .45em; color: #a5a3b5; }
.cv-org + .cv-place::before { content: "·"; }
.cv-sub > .cv-place:first-child::before { content: none; }
.cv-paper ul { padding-left: 1.05em; }
.cv-paper li { margin-bottom: .2em; padding-left: .15em; }
.cv-paper .cv-what p { color: #3a3948; }
.cv-when { display: none; }
.cv-paper .cv-contacts { gap: .55em; }
.cv-contacts li { align-items: center; gap: .65em; }
.cv-contacts .ic { display: inline-flex; width: 1.05em; height: 1.05em; opacity: .85; flex: none; }
.cv-contacts .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cv-dots { display: none; }
.cv-skills li { font-size: .84em; padding: 3px 9px; border-radius: 4px; }

/* Options : dates en colonne, points, texte, compétences en ligne */
.o-dl .cv-item { display: grid; grid-template-columns: 86px minmax(0, 1fr); column-gap: 18px; }
.o-dl .cv-when { display: block; font-size: .8em; font-weight: 600; color: #6e6c80; padding-top: .18em; line-height: 1.35; }
.o-dl .cv-date { display: none; }
.o-dots .cv-bar { display: none; }
.o-dots .cv-dots { display: flex; gap: 4px; margin-top: 5px; }
.cv-dots b { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .22; }
.cv-dots b.on { opacity: 1; }
.cv-main .cv-dots b.on, .cv-one .cv-dots b.on, .cv-body .cv-dots b, .cv-cols .cv-dots b { color: var(--cv); }
.o-lt .cv-bar, .o-lt .cv-dots { display: none; }
.o-lt .cv-lang { margin-bottom: .4em; }
.o-lt .cv-lang-row { justify-content: flex-start; gap: .5em; }
.o-lt .cv-lang-row em::before { content: "— "; opacity: .6; }
.o-sk .cv-skills li { border: 0 !important; padding: 0 !important; background: none !important; font-size: .95em; border-radius: 0; }
.o-sk .cv-skills { gap: 0 !important; }
.o-sk .cv-skills li:not(:last-child)::after { content: "\00a0·\00a0"; color: #a5a3b5; }
.lay-one .cv-cols > .cv-sec, .cv-body .cv-aside .cv-sec { break-inside: avoid; }

/* ---------- Moderne : colonne colorée ---------- */
.tpl-moderne { grid-template-columns: 250px 1fr; }
.tpl-moderne .cv-aside { padding: 48px 28px; }
.tpl-moderne .cv-main { padding: 48px 44px; }
.tpl-moderne .cv-aside h3 { color: rgba(255,255,255,.7); opacity: 1; padding-bottom: .55em; border-bottom: 1px solid rgba(255,255,255,.22); }
.tpl-moderne .cv-aside .cv-contacts { font-size: .86em; margin-bottom: 2.2em; }
.tpl-moderne .cv-aside .cv-skills li { background: rgba(255,255,255,.1); border: 0; }
.tpl-moderne .cv-title { color: var(--cv); }
.tpl-moderne .cv-head { margin-bottom: 2em; }
.tpl-moderne .cv-photo { width: 96px; height: 96px; border-radius: 14px; }

/* ---------- Classique : style Harvard (ATS) ---------- */
.cv-paper.tpl-classique { font-family: Georgia, "Times New Roman", serif; padding: 54px 62px; color: #1f1e29; }
.tpl-classique .cv-head { flex-direction: column; text-align: center; gap: 6px; border-bottom: 0; padding-bottom: 0; margin-bottom: .6em; }
.tpl-classique h2 { font-family: Georgia, serif; font-weight: 700; font-size: 2.2em; letter-spacing: .01em; color: #14131f; }
.tpl-classique .cv-title { font-family: Georgia, serif; text-transform: none; letter-spacing: 0; font-style: italic; font-weight: 400; color: #3a3948; font-size: 1.05em; margin-top: .2em; }
.cv-paper.tpl-classique .cv-contacts { justify-content: center; gap: .2em 0; font-size: .88em; margin-bottom: 1.6em; padding-bottom: 1.1em; border-bottom: 1.5px solid #14131f; }
.tpl-classique .cv-contacts .ic { display: none; }
.tpl-classique .cv-contacts li + li::before { content: "|"; margin: 0 .8em; color: #9b99ad; }
.tpl-classique h3 { font-family: Georgia, serif; color: #14131f; letter-spacing: .14em; font-size: .8em; border-bottom: 1px solid #c9c7d6; padding-bottom: .35em; margin-bottom: .9em; }
.tpl-classique h4, .tpl-classique .cv-org { color: #14131f; }
.tpl-classique .cv-org { font-style: italic; font-weight: 400; }
.tpl-classique li::marker { color: #14131f; }
.tpl-classique .cv-photo { width: 84px; height: 84px; }

/* ---------- Exécutif (audacieux) : colonne claire, dates en colonne ---------- */
.cv-paper.tpl-audacieux { grid-template-columns: 240px 1fr; }
.tpl-audacieux .cv-aside { background: #f4f3ef; border-right: 0; box-shadow: inset -1px 0 0 #e4e2da; padding: 48px 26px; }
.tpl-audacieux .cv-aside .cv-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 1.8em; padding-bottom: 1.4em; border-bottom: 3px solid var(--cv); }
.tpl-audacieux .cv-aside h2 { font-size: 1.85em; }
.tpl-audacieux .cv-title { color: var(--cv); font-size: .86em; }
.tpl-audacieux .cv-aside h3 { color: #14131f; }
.tpl-audacieux .cv-aside .cv-skills li { background: #fff; border: 1px solid #e0ded6; }
.tpl-audacieux .cv-main { padding: 48px 42px; }
.tpl-audacieux .cv-main h3 { font-size: .8em; color: var(--cv); padding-bottom: .5em; border-bottom: 1px solid #e4e2da; }
.tpl-audacieux .cv-item h4 { color: #14131f; }
.tpl-audacieux .cv-photo { border-radius: 10px; width: 92px; height: 92px; }

/* ---------- Minimal : grille suisse ---------- */
.cv-paper.tpl-minimal { padding: 56px 58px; }
.tpl-minimal .cv-head { margin-bottom: .7em; }
.tpl-minimal h2 { font-size: 2.7em; font-weight: 700; letter-spacing: -.035em; }
.tpl-minimal .cv-title { color: #6e6c80; letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: 1.12em; margin-top: .3em; }
.cv-paper.tpl-minimal .cv-contacts { font-size: .86em; color: #4a4958; margin-bottom: 2.2em; gap: .3em 1.6em; }
.tpl-minimal .cv-sec { display: grid; grid-template-columns: 118px minmax(0, 1fr); column-gap: 22px; border-top: 1px solid #14131f; padding-top: .9em; margin-bottom: 1.4em; }
.tpl-minimal .cv-sec h3 { margin: .2em 0 0; color: #14131f; border: 0; padding: 0; font-size: .7em; letter-spacing: .2em; }
.tpl-minimal .cv-cols { display: block; }
.tpl-minimal.o-dl .cv-item { grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; }

/* ---------- Bandeau : en-tête pleine largeur ---------- */
.tpl-bandeau .cv-band { padding: 40px 48px 24px; }
.tpl-bandeau h2 { color: #fff; }
.tpl-bandeau .cv-band .cv-title { color: rgba(255,255,255,.85); }
.tpl-bandeau .cv-band .cv-contacts { font-size: .86em; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); }
.tpl-bandeau .cv-body { grid-template-columns: 1fr 228px; }
.tpl-bandeau .cv-body .cv-aside { background: #f6f5f1; padding: 32px 26px; }
.tpl-bandeau .cv-body .cv-main { padding: 32px 30px 32px 48px; }
.tpl-bandeau .cv-aside h3 { color: #14131f; }
.tpl-bandeau .cv-aside .cv-skills li { background: #fff; border: 1px solid #e3e1da; }

/* ---------- Élégant ---------- */
.tpl-elegant .cv-title { text-transform: none; letter-spacing: .04em; font-weight: 400; color: #4a4958; }
.tpl-elegant::before { inset: 22px; opacity: .3; }
.tpl-elegant .cv-head { margin-bottom: .9em; }
.cv-paper.tpl-elegant .cv-contacts { font-size: .86em; margin-bottom: 2em; gap: .3em 1.4em; }
.tpl-elegant .cv-contacts .ic { opacity: .55; }

/* ---------- Chronologie ---------- */
.tpl-chrono .cv-aside { padding: 48px 28px; }
.tpl-chrono .cv-aside h3 { color: #14131f; }
.tpl-chrono .cv-aside .cv-skills li { background: #fff; border: 1px solid color-mix(in srgb, var(--cv) 18%, #fff); }
.tpl-chrono .cv-main { padding: 48px 42px; }
.tpl-chrono .cv-title { color: var(--cv); }
.tpl-chrono .cv-dots b.on { color: var(--cv); }

/* ---------- Compact ---------- */
.tpl-compact .cv-title { font-size: .84em; color: var(--cv); }
.cv-paper.tpl-compact .cv-contacts { font-size: .84em; gap: .2em 1.2em; }
.tpl-compact h3 { color: var(--cv); border-bottom: 1px solid #e4e2da; padding-bottom: .35em; }
.tpl-compact .cv-body .cv-aside { border-left: 1px solid #e4e2da; padding-left: 20px; }

/* ---------- Tech ---------- */
.tpl-tech { grid-template-columns: 248px 1fr; }
.tpl-tech .cv-aside { background: #0f1420; padding: 48px 26px; }
.tpl-tech .cv-main { padding: 48px 42px; }
.tpl-tech .cv-title { color: var(--cv); text-transform: none; letter-spacing: 0; font-weight: 600; }
.tpl-tech .cv-main h3 { color: var(--cv); }
.tpl-tech .cv-aside .cv-contacts { font-size: .84em; }

/* ---------- Créatif ---------- */
.tpl-creatif .cv-aside { border-radius: 0 22px 22px 0; background: var(--cv); padding: 48px 28px; }
.tpl-creatif .cv-aside .cv-head { margin-bottom: 1.8em; }
.tpl-creatif .cv-title { color: rgba(255,255,255,.85) !important; }
.tpl-creatif .cv-main { padding: 48px 40px; }
.tpl-creatif .cv-main h3 { color: var(--cv); background: color-mix(in srgb, var(--cv) 10%, #fff); }
.tpl-creatif .cv-photo { width: 110px; height: 110px; }

/* ---------- Étudiant ---------- */
.tpl-etudiant .cv-title { color: var(--cv); }
.tpl-etudiant h3 { color: var(--cv); display: flex; align-items: center; gap: .7em; }
.tpl-etudiant h3::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .25; }
.cv-paper.tpl-etudiant .cv-contacts { font-size: .88em; }

/* ---------- Impact ---------- */
.tpl-impact .cv-band { padding: 40px 48px 24px 62px; }
.tpl-impact h2 { color: #fff; letter-spacing: .03em; }
.tpl-impact .cv-band .cv-contacts { font-size: .86em; color: rgba(255,255,255,.85); }
.tpl-impact .cv-body .cv-main { padding: 32px 28px 32px 62px; }
.tpl-impact .cv-body .cv-aside { padding: 32px 40px 32px 6px; }
.tpl-impact .cv-aside h3 { color: #14131f; }
.tpl-creatif .cv-aside h2, .tpl-bandeau .cv-band h2, .tpl-impact .cv-band h2 { color: #fff; }
.tpl-minimal .cv-sec > h3 { grid-column: 1; grid-row: 1 / span 40; }
.tpl-minimal .cv-sec > :not(h3) { grid-column: 2; }
.tpl-classique h4 { font-family: Georgia, serif; }
.cv-aside .cv-contacts span:last-child { overflow-wrap: anywhere; word-break: normal; }
.tpl-audacieux .cv-aside .cv-contacts, .tpl-tech .cv-aside .cv-contacts, .tpl-chrono .cv-aside .cv-contacts { font-size: .82em; }

/* =========================================================
   Analyse de CV par l'IA
   ========================================================= */
.cva-hero { background: radial-gradient(1200px 400px at 80% -10%, rgba(91,75,255,.45), transparent), var(--ink); color: #fff; padding: 56px 0 90px; }
.cva-hero h1 { max-width: 780px; color: #fff; }
.cva-hero .lead { color: rgba(255,255,255,.78); max-width: 680px; }
.cva-hero .eyebrow { color: var(--lime); }
.cva-perks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cva-perks li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .88rem; font-weight: 600; }
.cva-perks li::before { content: "✓ "; color: var(--lime); }
.cva { margin-top: -56px; padding-bottom: 64px; position: relative; }
.cva-form { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: clamp(18px, 4vw, 34px); display: grid; gap: 26px; max-width: 920px; margin: 0 auto; }
.cva-step { display: flex; gap: 16px; }
.cva-num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font: 800 1rem var(--font-display); }
.cva-step h2 { font-size: 1.25rem; margin: 4px 0 12px; }
.cva-drop { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 170px; padding: 22px; border: 2px dashed #cfcbe6; border-radius: 20px; background: linear-gradient(180deg, #faf9ff, #fff); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.cva-drop:hover, .cva-drop.is-over { border-color: var(--violet); background: var(--violet-soft); }
.cva-drop.is-over { transform: scale(1.01); }
.cva-drop.has-file { border-style: solid; border-color: var(--lime-2); background: var(--lime-soft); min-height: 0; }
.cva-drop-ico svg { width: 46px; height: 46px; fill: none; stroke: var(--violet); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cva-drop.has-file .cva-drop-ico { display: none; }
.cva-drop-text { display: flex; flex-direction: column; gap: 2px; }
.cva-drop-text strong { font-size: 1.05rem; }
.cva-drop-text span { color: var(--muted); font-size: .9rem; }
.cva-file { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.cva-file[hidden], .cva-drop-text[hidden] { display: none; }
.cva-file-ico { width: 42px; height: 50px; border-radius: 8px; background: #e5484d; color: #fff; display: grid; place-items: center; font: 800 .72rem var(--font); }
.cva-file strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cva-file small { color: var(--muted); }
.cva-target { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--violet-soft); border: 1px solid #d9d5ff; }
.cva-target-ico { font-size: 1.4rem; color: var(--violet); }
.cva-target .grow { display: flex; flex-direction: column; }
.cva-free { display: grid; gap: 12px; }
.cva-free label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.cva-free input, .cva-free textarea { font: 400 1rem/1.5 var(--font); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.cva-free input:focus, .cva-free textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201,242,90,.45); }
.cva-submit { text-align: center; display: grid; justify-items: center; gap: 10px; }
.cva-submit .btn { min-width: min(100%, 320px); justify-content: center; font-size: 1.08rem; }
.cva-privacy { max-width: 620px; margin: 0; }

/* Scan */
.cva-scan { max-width: 920px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: center; box-shadow: var(--shadow-lg); }
.cva-paper { position: relative; aspect-ratio: 210 / 297; background: #fff; border-radius: 10px; padding: 26px 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.cva-paper i { display: block; height: 7px; border-radius: 4px; background: #e6e4f0; margin-bottom: 11px; }
.cva-paper .l1 { width: 55%; height: 12px; background: #15132b; } .cva-paper .l2 { width: 35%; background: var(--violet); margin-bottom: 20px; }
.cva-paper .l3, .cva-paper .l6 { width: 30%; background: #c9c5e8; } .cva-paper .l4 { width: 92%; } .cva-paper .l5 { width: 80%; margin-bottom: 18px; }
.cva-paper .l7 { width: 88%; } .cva-paper .l8 { width: 70%; } .cva-paper .l9 { width: 95%; } .cva-paper .l10 { width: 60%; }
.cva-laser { position: absolute; left: 0; right: 0; height: 3px; top: 0; background: var(--lime); box-shadow: 0 0 18px 6px rgba(201,242,90,.7); animation: cvaLaser 2.2s cubic-bezier(.45,.05,.55,.95) infinite alternate; }
.cva-glow { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, rgba(201,242,90,.0), rgba(201,242,90,.22)); animation: cvaGlow 2.2s cubic-bezier(.45,.05,.55,.95) infinite alternate; pointer-events: none; }
@keyframes cvaLaser { from { top: 2%; } to { top: 96%; } }
@keyframes cvaGlow { from { transform: translateY(-100%); } to { transform: translateY(150%); } }
.cva-tag { position: absolute; padding: 4px 10px; border-radius: 999px; background: var(--violet); color: #fff; font: 700 .68rem var(--font); opacity: 0; box-shadow: 0 6px 16px rgba(91,75,255,.4); }
.cva-tag.t1 { top: 22%; right: 8px; } .cva-tag.t2 { top: 52%; left: 8px; } .cva-tag.t3 { top: 76%; right: 14px; }
.cva-tag.pop { animation: cvaPop 1.4s ease forwards; }
.cva-tag.t2.pop { animation-delay: .35s; } .cva-tag.t3.pop { animation-delay: .7s; }
@keyframes cvaPop { 0% { opacity: 0; transform: scale(.6) translateY(6px); } 25% { opacity: 1; transform: scale(1.06); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(-8px); } }
.cva-progress h2 { color: #fff; font-size: 1.6rem; }
.cva-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; margin: 6px 0 22px; }
.cva-bar i { display: block; height: 100%; width: 4%; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--lime)); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.cva-steps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; }
.cva-steps li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.4); font-weight: 600; transition: color .3s; }
.cva-steps .st { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); flex: none; display: grid; place-items: center; transition: all .3s; }
.cva-steps li.is-active { color: #fff; }
.cva-steps li.is-active .st { border-color: var(--lime); border-top-color: transparent; animation: cvaSpin .8s linear infinite; }
.cva-steps li.is-done { color: rgba(255,255,255,.85); }
.cva-steps li.is-done .st { background: var(--lime); border-color: var(--lime); }
.cva-steps li.is-done .st::after { content: "✓"; color: var(--ink); font-size: .8rem; font-weight: 900; }
@keyframes cvaSpin { to { transform: rotate(360deg); } }
.cva-scan .muted { color: rgba(255,255,255,.55); }

/* Résultats */
.cva-results { max-width: 1040px; margin: 0 auto; display: grid; gap: 18px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cva-scorecard { display: flex; gap: 30px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow-lg); }
.cva-gauge { --g: var(--coral); position: relative; width: 170px; height: 170px; flex: none; }
.cva-gauge[data-level="mid"] { --g: #f2a900; } .cva-gauge[data-level="high"] { --g: #1fa36a; }
.cva-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cva-gauge circle { fill: none; stroke-width: 11; }
.cva-gauge .bg { stroke: #efedf5; }
.cva-gauge .fg { stroke: var(--g); stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.cva-gauge-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cva-gauge-val strong { font: 800 3rem/1 var(--font-display); color: var(--g); letter-spacing: -.04em; }
.cva-gauge-val span { color: var(--muted); font-weight: 600; }
.eyebrow-sm { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); margin: 0 0 6px; }
.cva-scorecard h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3em; }
.cva-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cva-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cva-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.cva-card h3 { font-size: 1.12rem; margin-bottom: .7em; }
.cva-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cva-list li { position: relative; padding-left: 30px; line-height: 1.5; }
.cva-list li::before { position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 900; }
.cva-list.ok li::before { content: "✓"; background: #dcf5e8; color: #157a4c; }
.cva-list.warn li::before { content: "!"; background: #ffe9e2; color: #c2341b; }
.cva-kw { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; }
.cva-kw-label { flex: none; width: 92px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding-top: 6px; }
.cva-kw-label.ok { color: #157a4c; } .cva-kw-label.miss { color: #c2341b; }
.tag.kw-ok { background: #dcf5e8; color: #135f3c; border-color: #bfe8d2; }
.tag.kw-miss { background: #fff0eb; color: #a8301a; border-color: #ffd2c4; }
.cva-sections { display: grid; gap: 8px; }
.cva-sec { border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; background: var(--paper); }
.cva-sec summary { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; list-style: none; }
.cva-sec summary::-webkit-details-marker { display: none; }
.cva-sec summary::after { content: "▾"; margin-left: auto; color: var(--muted); transition: transform .2s; }
.cva-sec[open] summary::after { transform: rotate(180deg); }
.cva-sec p { margin: 0 0 14px; color: var(--ink-2); }
.cva-badge { font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.st-ok .cva-badge { background: #dcf5e8; color: #157a4c; } .st-improve .cva-badge { background: #fff4d6; color: #8a5a00; } .st-missing .cva-badge { background: #ffe9e2; color: #c2341b; }
.cva-rewrite { background: linear-gradient(135deg, #fbfaff, #fff); border-color: #dcd8ff; }
.cva-copy { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.cva-copy:first-of-type { border-top: 0; }
.cva-copy p, .cva-copy ul { margin: 4px 0 0; }
.cva-headline { font: 700 1.15rem var(--font-display); }
.cva-ats { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cva-ats li { display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; }
.cva-ats li::before { content: "✓"; grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 900; background: #dcf5e8; color: #157a4c; }
.cva-ats li.ko::before { content: "✕"; background: #ffe9e2; color: #c2341b; }
.cva-ats span { color: var(--muted); font-size: .9rem; }
.cva-next { background: var(--ink); color: #fff; border: 0; }
.cva-next h3 { color: var(--lime); }
.cva-next ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.cva-next li::marker { color: var(--lime); font-weight: 800; }
@media (max-width: 760px) {
  .cva-scan { grid-template-columns: 1fr; gap: 22px; }
  .cva-paper { width: 150px; margin: 0 auto; }
  .cva-scorecard { flex-direction: column; text-align: center; }
  .cva-actions { justify-content: center; }
  .cva-actions .btn { width: 100%; justify-content: center; }
  .cva-grid { grid-template-columns: 1fr; }
  .cva-step { gap: 12px; }
  .cva-kw { flex-direction: column; gap: 6px; }
  .cva-copy { flex-direction: column; }
  .cva-copy .btn { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cva-laser, .cva-glow, .cva-tag { animation: none !important; } }
.cva-cta { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--ink), #2c2470); border-radius: 18px; padding: 14px 16px; margin: 14px 0; box-shadow: 0 10px 26px rgba(43,36,112,.25); transition: transform .2s, box-shadow .2s; }
.cva-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(43,36,112,.35); }
.cva-cta > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cva-cta strong { font-size: .98rem; }
.cva-cta small { color: rgba(255,255,255,.72); font-size: .8rem; line-height: 1.35; }
.cva-cta-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 900; animation: cvaPulse 2.4s ease-in-out infinite; }
@keyframes cvaPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,242,90,.5); } 50% { box-shadow: 0 0 0 8px rgba(201,242,90,0); } }
.cva-cta-sm { margin: 12px 0 0; }
[data-cva] [hidden], .cva-form[hidden], .cva-scan[hidden], .cva-results[hidden] { display: none !important; }

/* ---------- Accueil v2 : outils IA ---------- */
.ai-dock { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 18px; font-size: .92rem; }
.ai-dock-label { font-weight: 700; color: var(--violet); }
.ai-dock a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 1px; }
.ai-dock a:hover { border-color: var(--violet); }

.section-head .lead { margin-top: 4px; }
.tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tool { grid-column: span 3; position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.tool p { color: var(--ink-2); max-width: 46ch; }
.tool .arrow-link { align-self: flex-start; margin-top: auto; }
.tool-step { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.tool-new { background: var(--coral); color: #fff; border-radius: 6px; padding: 2px 7px; letter-spacing: .04em; }
.tool h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.tool-viz { position: relative; height: 150px; margin: 6px 0 20px; border-radius: 16px; overflow: hidden; }
@media (min-width: 1000px) {
  .tool-jobs, .tool-letter { grid-column: span 2; }
  .tool-cv, .tool-scan { grid-column: span 4; }
  .tool-jobs { grid-column: span 4; }
  .tool-cv { grid-column: span 2; }
}
@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } .tool { grid-column: auto !important; padding: 22px; } .tool-viz { height: 130px; } }

/* 01 offres (sombre) */
.tool-jobs { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool-jobs p { color: rgba(255,255,255,.72); }
.tool-jobs .tool-step { color: var(--lime); }
.tv-jobs { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; height: auto; }
.tvj { display: flex; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; font-size: .9rem; transition: transform .25s; }
.tvj i { font-style: normal; color: rgba(255,255,255,.6); white-space: nowrap; }
.tool-jobs:hover .tvj:nth-child(1) { transform: translateX(6px); }
.tool-jobs:hover .tvj:nth-child(2) { transform: translateX(12px); }
.tool-jobs:hover .tvj:nth-child(3) { transform: translateX(18px); }
.tv-langs { align-self: flex-end; font-size: .75rem; font-weight: 700; color: var(--lime); letter-spacing: .06em; }

/* 02 CV (lime) */
.tool-cv { background: var(--lime); border-color: var(--lime-2); }
.tool-cv .tool-step { color: rgba(21,19,43,.6); }
.tool-cv .arrow-link { border-color: var(--ink); }
.tv-cv { display: grid; grid-template-columns: 34% 1fr; background: #fff; box-shadow: 0 10px 30px rgba(21,19,43,.15); width: min(250px, 90%); height: 160px; transform: rotate(-3deg); margin: 4px auto 22px; transition: transform .3s; }
.tool-cv:hover .tv-cv { transform: rotate(0) scale(1.03); }
.tv-cv i { display: block; height: 6px; border-radius: 3px; background: #e7e5f0; margin: 0 0 7px; }
.tvc-side { background: var(--ink); padding: 14px 10px; }
.tvc-side i { background: rgba(255,255,255,.25); }
.tvc-side .av { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); margin: 0 auto 12px; }
.tvc-main { padding: 14px 12px; }
.tvc-main .h { height: 10px; width: 75%; background: var(--ink); }
.tvc-main .h2 { width: 40%; background: var(--violet); margin-top: 12px; }
.tv-cv i.s { width: 60%; }
.tvc-ai { position: absolute; right: -6px; bottom: 10px; background: var(--violet); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; transform: rotate(3deg); box-shadow: var(--shadow); }

/* 03 analyse (violet clair + laser) */
.tool-scan { background: linear-gradient(140deg, #fff 30%, var(--violet-soft)); }
.tool-scan .tool-step { color: var(--violet); }
.tv-scan { display: flex; align-items: center; gap: 22px; padding: 0 18px; background: #fff; border: 1px solid #dcd8ff; }
.tvs-gauge { position: relative; width: 96px; height: 96px; flex: none; }
.tvs-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tvs-gauge circle { fill: none; stroke: var(--violet-soft); stroke-width: 5; }
.tvs-gauge .fg { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.2,1); }
.tools.is-in .tvs-gauge .fg { stroke-dashoffset: 14.7; }
.tvs-gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--ok); }
.tvs-kw { display: flex; flex-wrap: wrap; gap: 6px; }
.tvs-kw i { font-style: normal; font-size: .78rem; font-weight: 600; border-radius: 8px; padding: 4px 9px; }
.tvs-kw .ok { background: #dcf5e8; color: #135f3c; }
.tvs-kw .miss { background: #fff0eb; color: #a8301a; }
.tvs-laser { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, var(--violet), transparent); box-shadow: 0 0 14px 3px rgba(91,75,255,.35); animation: tv-laser 3.2s ease-in-out infinite; }
@keyframes tv-laser { 0%, 100% { top: 6%; } 50% { top: 92%; } }

/* 04 lettre */
.tv-letter { background: var(--paper); border: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; font-family: Georgia, serif; font-size: .92rem; }
.tvl-line { color: var(--muted); }
.tvl-type { display: inline-block; max-width: 100%; }
.tv-letter .caret { background: var(--violet); }
.tvl-bars i { display: block; height: 6px; border-radius: 3px; background: #e2dfd4; margin-bottom: 7px; }
.tvl-bars i:nth-child(2) { width: 85%; } .tvl-bars i:nth-child(3) { width: 55%; }

.rb-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: rgba(255,255,255,.85); }
.rb-list li { display: flex; gap: 10px; align-items: baseline; }
.rb-list li::before { content: "✓"; color: var(--lime); font-weight: 800; }

@media (prefers-reduced-motion: reduce) { .tvs-laser { animation: none; display: none; } .tvs-gauge .fg { transition: none; } .tool, .tv-cv, .tvj { transition: none; } }
.hero-visual { height: 470px; }
.fc-2 { top: 140px; z-index: 2; }
.fc-3 { bottom: 0; }

/* ---------- Matching IA « Pour toi » ---------- */
.nav-foryou span::after { content: " ✦"; color: var(--violet); }
.mt-hero h1 mark { background: var(--lime); }
.mt-sources { display: grid; gap: 8px; margin-bottom: 12px; }
.mt-src { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.mt-src[hidden] { display: none !important; }
.mt-src:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.mt-src input { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
.mt-src span { display: flex; flex-direction: column; }
.mt-src small { color: var(--muted); font-weight: 400; }
.mt-where { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.mt-where label.grow { flex: 1 1 260px; }
.mt-remote { padding-bottom: 12px; }
.mt-how { padding: 10px 0 64px; }
.mt-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mt-how-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.mt-how-grid p { color: var(--ink-2); margin: 0; }
.mt-how-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lime); font: 800 1rem var(--font-display); margin-bottom: 12px; }
@media (max-width: 800px) { .mt-how-grid { grid-template-columns: 1fr; } }

.mt-layout { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; margin-top: -56px; padding-bottom: 64px; position: relative; }
@media (max-width: 960px) { .mt-layout { grid-template-columns: 1fr; } }
.mt-profile { display: grid; gap: 14px; position: sticky; top: 84px; }
@media (max-width: 960px) { .mt-profile { position: static; } }
.mt-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.mt-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.mt-card > .muted { font-size: .92rem; margin-bottom: 10px; }
.mt-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.mt-facts span { font-size: .8rem; font-weight: 600; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.mt-stale { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fff6d6; font-size: .88rem; }
.mt-stale a { font-weight: 700; }
.mt-prefs { display: grid; gap: 10px; }
.mt-prefs h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 8px 0 0; }
.mt-prefs > h3:first-of-type { margin-top: 0; }
.mt-prefs input[name="city"], .mt-prefs select { width: 100%; }
.mt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 11px; border-radius: 999px; background: var(--violet-soft); color: #2f25a8; font-size: .86rem; font-weight: 600; }
.mt-chips-sm .mt-chip { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 500; }
.mt-chip.is-new { animation: mtPop .25s ease-out; }
@keyframes mtPop { from { transform: scale(.6); opacity: 0; } }
.mt-chip button { border: 0; background: rgba(21,19,43,.08); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: .95rem; line-height: 1; color: inherit; }
.mt-chip button:hover { background: var(--coral); color: #fff; }
.mt-chip-add { flex: 1 1 120px; min-width: 110px; border: 1.5px dashed var(--line) !important; border-radius: 999px !important; padding: 6px 12px !important; font-size: .86rem !important; background: transparent; }
.mt-contracts { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-pill input { position: absolute; opacity: 0; pointer-events: none; }
.mt-pill span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .84rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.mt-pill input:checked + span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.mt-pill input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.mt-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .88rem; padding: 0 6px; }
.mt-links .link-btn { color: var(--err); }
.mt-results-head { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--shadow); }
.mt-results-head h2 { margin: 0 0 4px; font-size: 1.5rem; }
.mt-results-head p { margin: 0; }
.mt-list { display: grid; gap: 12px; }
.mt-empty { background: var(--card); border: 1px dashed var(--line); border-radius: 22px; padding: 26px; }

/* Badge de compatibilité sur les cartes d'offres */
.match-badge { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-decoration: none; min-width: 64px; padding: 6px 10px; border-radius: 14px; line-height: 1.1; }
.match-badge b { font: 800 1.15rem var(--font-display); letter-spacing: -.02em; }
.match-badge span { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.match-badge.lvl-high { background: #dcf5e8; color: #135f3c; }
.match-badge.lvl-mid { background: var(--lime-soft); color: #4b5e12; }
.match-badge.lvl-low { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.job-card.has-match .job-date { order: 2; }
.match-why { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .82rem; color: var(--ink-2); }
.match-why li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.match-why li.warn::before { content: "! "; color: #b3600c; }
.match-why li.warn { color: #8a4a0a; }

/* Encadré sur la page d'une offre */
.match-box { border-radius: 18px; padding: 16px; margin: 14px 0; border: 1.5px solid var(--line); background: var(--card); }
.match-box.lvl-high { border-color: #a7e3c4; background: linear-gradient(180deg, #effbf4, #fff); }
.match-box.lvl-mid { border-color: var(--lime-2); background: linear-gradient(180deg, var(--lime-soft), #fff); }
.match-box-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.match-box-head strong { display: block; line-height: 1.25; }
.match-box-head small { color: var(--muted); font-size: .8rem; }
.match-box .match-why { flex-direction: column; margin-bottom: 10px; }
.match-ring { --c: var(--muted); flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #ecebe4 0); position: relative; }
.match-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.match-ring b { position: relative; font: 800 1.1rem var(--font-display); color: var(--c); }
.lvl-high .match-ring { --c: var(--ok); }
.lvl-mid .match-ring { --c: #6f8f12; }
.match-cta { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 14px 16px; margin: 14px 0; border-radius: 18px; border: 1.5px dashed #c9c3ff; background: var(--violet-soft); color: var(--ink); transition: transform .2s; }
.match-cta:hover { transform: translateY(-2px); }
.match-cta > span:first-child { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--violet); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.match-cta > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.match-cta small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
@media (max-width: 640px) {
  .job-card.has-match { grid-template-columns: auto 1fr; }
  .job-card.has-match .job-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .match-badge { flex-direction: row; gap: 6px; align-items: baseline; min-width: 0; }
}
.tvj { align-items: center; }
.tvj b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvj em { font-style: normal; font-weight: 800; font-size: .78rem; color: var(--ink); background: var(--lime); border-radius: 8px; padding: 2px 7px; }
.cva-drop[hidden] { display: none !important; }
.form .mt-src input[type=radio] { width: 20px; height: 20px; padding: 0; border: 0; flex: none; }
.form .mt-src { font-size: 1rem; font-weight: 400; }
.form .mt-src strong { font-weight: 700; }
.mt-prefs .check-row { font-size: .9rem; }

/* ---------- Import d'un CV PDF ---------- */
html.cvi-open { overflow: hidden; }
.cvi { position: fixed; inset: 0; z-index: 1000; background: rgba(21,19,43,.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.cvi[hidden] { display: none; }
.cvi-box { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--card); border-radius: 26px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); animation: cviIn .25s ease-out; }
@keyframes cviIn { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.cvi-box h2 { font-size: 1.5rem; margin-bottom: 6px; }
.cvi-box .cva-drop { margin: 16px 0 10px; }
.cvi-close { position: absolute; top: 14px; right: 14px; }
.cvi-warn { color: #8a4a0a !important; background: #fff6d6; border-radius: 10px; padding: 8px 10px; }
.cvi-scan { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; background: var(--ink); color: #fff; border-radius: 20px; padding: 22px; margin: 6px 0; }
.cvi-scan[hidden] { display: none; }
.cvi-scan h2 { color: #fff; font-size: 1.25rem; }
.cvi-scan .cva-paper { padding: 18px 14px; }
.cvi-scan .cva-paper i { height: 5px; margin-bottom: 8px; }
.cvi-steps li { font-size: .9rem; }
@media (max-width: 520px) { .cvi-scan { grid-template-columns: 1fr; } .cvi-scan .cva-paper { width: 110px; margin: 0 auto; } }
.cvi-cta { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer; padding: 12px 14px; margin: 12px 0 4px; border-radius: 16px; border: 1.5px dashed #c9c3ff; background: var(--violet-soft); transition: transform .2s, border-color .2s; }
.cvi-cta:hover { transform: translateY(-1px); border-color: var(--violet); }
.cvi-cta > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cvi-cta small { color: var(--muted); font-size: .8rem; }
.cvi-cta-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--violet); color: #fff; display: grid; place-items: center; font-size: 1.1rem; font-weight: 800; }
.cvi-done { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 4px; padding: 12px 14px; border-radius: 14px; background: #dcf5e8; color: #135f3c; animation: cviIn .3s ease-out; }
.cvi-done[hidden] { display: none; }
.cvi-done > span { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.cvi-done p { margin: 0; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .cvi-box, .cvi-done { animation: none; } }

/* ---------- Alertes e-mail ---------- */
.alert-box { display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: var(--ink); color: #fff; margin-bottom: 16px; box-shadow: var(--shadow); }
.alert-box-head { display: flex; gap: 12px; align-items: flex-start; }
.alert-box-head strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.alert-box-head small { color: rgba(255,255,255,.7); font-size: .84rem; line-height: 1.4; display: block; margin-top: 3px; }
.alert-bell { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; font-size: 1.1rem; animation: bellRing 3.5s ease-in-out infinite; transform-origin: 50% 20%; }
@keyframes bellRing { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(14deg); } 92% { transform: rotate(-12deg); } 95% { transform: rotate(8deg); } }
.alert-box input[type=email], .alert-box select { width: 100%; font: 400 1rem var(--font); border: 0; border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--ink); }
.alert-box-row { display: flex; gap: 8px; }
.alert-box-row select { flex: 1; min-width: 0; }
.alert-box-row .btn { flex: none; }
.alert-box .tiny { color: rgba(255,255,255,.6) !important; margin: 0; }
.alert-box .tiny a { color: var(--lime); }
.alert-inline { display: none; }
@media (max-width: 960px) { .alert-inline { display: grid; } .alert-side { display: none; } }
.alert-empty { margin-top: 18px; text-align: left; }
.alert-match { margin: 0; }
@media (prefers-reduced-motion: reduce) { .alert-bell { animation: none; } }

.al-page { max-width: 820px; padding-top: 40px; padding-bottom: 64px; }
.al-hero { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 5vw, 44px); margin-bottom: 22px; box-shadow: var(--shadow); }
.al-hero .actions { justify-content: center; flex-wrap: wrap; }
.al-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--lime); font-size: 1.8rem; margin-bottom: 14px; }
.al-head { margin-bottom: 18px; }
.al-list { display: grid; gap: 12px; }
.al-item { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.al-item.is-off { opacity: .75; }
.al-item h2 { font-size: 1.1rem; margin: 6px 0 4px; }
.al-main { flex: 1 1 320px; min-width: 0; }
.al-badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: 6px; padding: 3px 8px; margin-right: 4px; }
.st-active { background: #dcf5e8; color: #135f3c; } .st-pending { background: #fff6d6; color: #8a4a0a; } .st-paused { background: var(--paper); color: var(--muted); } .st-ai { background: var(--violet-soft); color: var(--violet); }
.al-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.al-del { color: var(--err); }
.al-note { margin-top: 18px; }

/* ---------- Simulateur d'entretien ---------- */
[data-iv] [hidden] { display: none !important; }
.iv-cta { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); background: var(--lime-soft); border: 1.5px solid var(--lime-2); border-radius: 18px; padding: 14px 16px; margin: 14px 0; transition: transform .2s; }
.iv-cta:hover { transform: translateY(-2px); }
.iv-cta > span:first-child { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; font-size: 1.1rem; }
.iv-cta > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.iv-cta small { color: var(--ink-2); font-size: .8rem; line-height: 1.35; }
.iv textarea { width: 100%; }
.iv-prep { max-width: 720px; margin: 0 auto; text-align: center; background: var(--ink); color: #fff; border-radius: 26px; padding: 44px 24px; box-shadow: var(--shadow-lg); }
.iv-prep h2 { color: #fff; }
.iv-prep .muted { color: rgba(255,255,255,.7); }
.iv-avatar { display: inline-flex; gap: 6px; padding: 18px 22px; border-radius: 22px; background: rgba(255,255,255,.1); margin-bottom: 16px; }
.iv-avatar span, .iv-typing span { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); animation: ivDot 1.2s ease-in-out infinite; }
.iv-avatar span:nth-child(2), .iv-typing span:nth-child(2) { animation-delay: .15s; }
.iv-avatar span:nth-child(3), .iv-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ivDot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-6px); opacity: 1; } }
.iv-room { max-width: 860px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; }
.iv-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px; background: var(--ink); color: #fff; }
.iv-top strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.iv-top .eyebrow-sm { color: var(--lime); margin: 0; }
.iv-progress { min-width: 180px; flex: 0 1 260px; font-size: .82rem; color: rgba(255,255,255,.75); }
.iv-progress .cva-bar { margin: 6px 0 0; }
.iv-chat { display: grid; gap: 14px; padding: 22px; min-height: 240px; background: linear-gradient(180deg, #faf9ff, #fff); }
.iv-msg { display: flex; gap: 10px; align-items: flex-end; animation: ivIn .3s ease-out; }
@keyframes ivIn { from { opacity: 0; transform: translateY(8px); } }
.iv-me { justify-content: flex-end; }
.iv-face { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 800; }
.iv-bubble { max-width: min(640px, 86%); padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); white-space: pre-wrap; }
.iv-me .iv-bubble { border-radius: 18px 18px 6px 18px; background: var(--ink); color: #fff; border-color: var(--ink); }
.iv-typing { display: inline-flex; gap: 5px; padding: 16px 18px; }
.iv-tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--violet); margin-bottom: 4px; }
.iv-q { font-weight: 600; font-size: 1.05rem; margin: 0; white-space: normal; }
.iv-hint { margin-top: 8px; font-size: .86rem; white-space: normal; }
.iv-hint summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.iv-hint p { margin: 6px 0 0; color: var(--ink-2); }
.iv-tip { color: #4b5e12 !important; }
.iv-answer { display: grid; gap: 8px; padding: 16px 22px 22px; border-top: 1px solid var(--line); }
.iv-answer-row { display: flex; align-items: center; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.iv-answer-row [data-iv-count] { margin-right: auto; }
.iv-fb { margin-left: 44px; border-radius: 18px; padding: 16px; border: 1.5px solid var(--line); background: var(--card); animation: ivIn .35s ease-out; }
.iv-fb.lvl-high { border-color: #a7e3c4; background: #f3fbf6; } .iv-fb.lvl-mid { border-color: var(--lime-2); background: #fbfee9; } .iv-fb.lvl-low { border-color: #ffd2c4; background: #fff7f4; }
.iv-fb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.iv-fb-score { font: 800 1.2rem var(--font-display); background: var(--ink); color: var(--lime); border-radius: 10px; padding: 4px 10px; }
.iv-fb-cols, .ai-eval-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.iv-fb h4, .ai-eval h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 4px; }
.ai-col { flex-direction: column; gap: 4px; margin: 0; }
.warnlist li::before { content: "! "; color: #b3600c; }
.iv-better { margin-top: 10px; background: var(--card); border: 1px dashed #c9c3ff; border-radius: 12px; padding: 10px 12px; }
.iv-better summary { cursor: pointer; font-weight: 700; color: var(--violet); }
.iv-better p { margin: 8px 0 0; }
.iv-next { margin-top: 12px; }
.iv-end { max-width: 860px; margin: 18px auto 0; }
@media (max-width: 640px) { .iv-fb { margin-left: 0; } .iv-fb-cols, .ai-eval-cols { grid-template-columns: 1fr; } .iv-chat, .iv-answer { padding-left: 14px; padding-right: 14px; } }
@media (prefers-reduced-motion: reduce) { .iv-msg, .iv-fb, .iv-avatar span, .iv-typing span { animation: none; } }

/* ---------- Recruteurs : aide au tri IA, réponses, contrôle d'offre ---------- */
.tag-ai { font-weight: 800; }
.tag-ai.lvl-high { background: #dcf5e8; color: #135f3c; border-color: #bfe8d2; }
.tag-ai.lvl-mid { background: var(--lime-soft); color: #4b5e12; border-color: var(--lime-2); }
.tag-ai.lvl-low { background: var(--paper); color: var(--muted); }
.ai-eval { margin: 14px 0; padding: 14px; border-radius: 16px; border: 1.5px solid #d9d5ff; background: linear-gradient(180deg, var(--violet-soft), #fff); }
.ai-eval h3 { margin-top: 0; }
.ai-eval [hidden] { display: none !important; }
.ai-eval-head { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.ai-eval-head p { margin: 0; font-size: .92rem; }
.ai-eval.lvl-high .match-ring { --c: var(--ok); } .ai-eval.lvl-mid .match-ring { --c: #6f8f12; }
.ai-q { margin: 0 0 8px; padding-left: 20px; font-size: .9rem; display: grid; gap: 4px; }
.ai-legal { margin: 8px 0 0; }
.ai-reply { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.oc { margin: 14px 0; border: 1.5px dashed #c9c3ff; border-radius: 16px; padding: 14px; background: #faf9ff; }
.oc-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.oc-head > div { flex: 1 1 220px; display: flex; flex-direction: column; }
.oc-head small { color: var(--muted); font-size: .82rem; }
.oc-ico { width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.oc-res { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.oc-res.is-ok { background: #effbf4; } .oc-res.is-bad { background: #fff4f0; } .oc-res.is-warn { background: #fff6d6; }
.oc-verdict { font-weight: 700; margin: 0 0 8px; }
.is-ok .oc-verdict { color: var(--ok); } .is-bad .oc-verdict { color: var(--err); }
.oc-issues { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.oc-issues li { background: #fff; border-radius: 10px; padding: 10px 12px; border: 1px solid #ffd2c4; }
.oc-issues q { display: block; font-style: italic; margin: 4px 0; }
.oc-issues p { margin: 0; color: var(--ok); font-weight: 600; }
.oc-crit { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--err); }
.oc-tips-h { font-weight: 700; margin: 8px 0 4px; }

/* ---------- Traduction du CV ---------- */
.cv-tr { position: relative; }
.cv-tr-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: 250px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cv-tr-menu[hidden] { display: none; }
.cv-tr-menu .tiny { width: 100%; margin: 0; }
.cv-tr-menu [hidden] { display: none; }
.cvi-undo { display: block; margin-top: 6px; color: #135f3c; font-weight: 700; }

/* ---------- Recherche intelligente ---------- */
.search-remote { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; padding: 0 6px; white-space: nowrap; }
.search-remote input { width: 18px; height: 18px; accent-color: var(--ink); }
.smart-bar, .smart-ai { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--violet-soft); border: 1px solid #d9d5ff; font-size: .9rem; }
.smart-bar p { margin: 0; flex: 1 1 280px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.smart-ico { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--violet); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.smart-chip { background: #fff; border: 1px solid #d9d5ff; border-radius: 999px; padding: 2px 10px; font-weight: 600; }
.smart-syn { color: var(--ink-2); }
.smart-ai { background: var(--ink); color: #fff; border-color: var(--ink); animation: cviIn .3s ease-out; }
.smart-ai[hidden] { display: none; }
.smart-ai .smart-ico { background: var(--lime); color: var(--ink); }
.smart-ai .tiny { color: rgba(255,255,255,.7) !important; margin: 2px 0 0; }
.smart-ai .grow { flex: 1 1 240px; min-width: 0; }

/* ---------- Calculateur brut → net ---------- */
.tag-net { text-decoration: none; background: #dcf5e8; color: #135f3c; border-color: #bfe8d2; font-weight: 700; position: relative; z-index: 2; }
.sal { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin-top: -56px; padding-bottom: 40px; position: relative; }
@media (max-width: 860px) { .sal { grid-template-columns: 1fr; } }
.sal-form, .sal-result { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: clamp(18px, 4vw, 30px); }
.sal-form [hidden] { display: none !important; }
.sal-gross { font-size: 1rem !important; }
.sal-input { display: flex; align-items: center; gap: 8px; }
.sal-input input { font: 800 2rem var(--font-display) !important; padding: 10px 14px !important; }
.sal-input span { font: 800 1.6rem var(--font-display); }
.sal-form input[type=range] { width: 100%; accent-color: var(--ink); }
.sal-family { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sal-family legend { font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.sal-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.sal-row label:first-child { flex: 0 0 160px; }
.sal-net { margin: 0 0 10px; font-family: var(--font-display); line-height: 1; }
.sal-net strong { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
.sal-net span { font-size: 1.6rem; font-weight: 800; }
.sal-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--paper); margin-bottom: 16px; }
.sal-bar i { display: block; height: 100%; transition: width .4s cubic-bezier(.2,.8,.2,1); }
.b-net, .k-net { background: var(--lime-2); } .b-pp, .k-pp { background: var(--violet); } .b-onss, .k-onss { background: #ff9f7a; } .b-css, .k-css { background: #f2c94c; }
.dot-k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: middle; }
.sal-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.sal-table th { text-align: left; font-weight: 500; padding: 8px 0; color: var(--ink-2); }
.sal-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 8px 0; }
.sal-table tr { border-bottom: 1px solid var(--line); }
.sal-table tr.plus th, .sal-table tr.plus td { color: var(--ok); font-size: .86rem; padding: 4px 0; }
.sal-table tr.total th, .sal-table tr.total td { font-weight: 800; color: var(--ink); font-size: 1.05rem; border-bottom: 0; }
.sal-table tr[hidden] { display: none; }
.sal-legal { margin: 12px 0 14px; }
.sal-explain { padding-bottom: 64px; }

/* ---------- Accueil : offres du moment ---------- */
.hj-section { background: linear-gradient(180deg, var(--card), var(--paper)); }
.hj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.hj-head h2 { margin-bottom: 6px; }
.hj-head p.muted { margin: 0; }
.dot-live { background: var(--ok); box-shadow: 0 0 0 4px rgba(24,121,78,.18); animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 8px rgba(24,121,78,.06); } }
.hj-filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px; scrollbar-width: none; }
.hj-filters::-webkit-scrollbar { display: none; }
.hj-filters a { flex: none; text-decoration: none; font-size: .88rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); transition: border-color .15s, background .15s, transform .15s; }
.hj-filters a:hover { border-color: var(--ink); transform: translateY(-1px); }
.hj-filters .hj-filter-ai { background: var(--violet-soft); border-color: #d9d5ff; color: #2f25a8; }
.hj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .hj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hj-grid { grid-template-columns: 1fr; gap: 12px; } }
.hj { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; min-height: 230px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hj:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.hj:focus-within { outline: 3px solid var(--violet); outline-offset: 2px; }
.hj.is-featured { border-color: var(--lime-2); box-shadow: inset 0 4px 0 var(--lime); }
.hj-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.hj-logo { width: 52px; height: 52px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font: 800 1.3rem var(--font-display); color: var(--ink-2); overflow: hidden; flex: none; }
.hj-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hj-badges { display: flex; gap: 6px; align-items: center; }
.hj-pill { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 9px; border-radius: 8px; }
.hj-new { background: var(--lime); color: var(--ink); }
.hj-urgent { background: #ffe3dc; color: #b3260c; }
.hj-match { font: 800 .8rem var(--font); padding: 4px 9px; border-radius: 8px; }
.hj-match.lvl-high { background: #dcf5e8; color: #135f3c; } .hj-match.lvl-mid { background: var(--lime-soft); color: #4b5e12; } .hj-match.lvl-low { background: var(--paper); color: var(--muted); }
.hj-title { font-size: 1.12rem; line-height: 1.25; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hj-title a { text-decoration: none; }
.hj-title a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.hj-company { margin: 0 0 12px; color: var(--muted); font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hj-meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.hj-meta li { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--ink-2); background: var(--paper); border-radius: 8px; padding: 5px 9px; }
.hj-meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hj-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); }
.hj-salary { font-weight: 800; color: #3a2fd1; font-size: .92rem; }
.hj-time { color: var(--muted); font-size: .84rem; }
.hj-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-weight: 800; transition: background .2s, transform .2s; }
.hj:hover .hj-go { background: var(--ink); color: var(--lime); transform: translateX(3px); }
.hj-promo { margin-top: 16px; }
.hj-bottom { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 28px; text-align: center; }
@media (max-width: 640px) { .hj-all { width: 100%; justify-content: center; } .hj { min-height: 0; padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .dot-live { animation: none; } .hj, .hj-go { transition: none; } }
@media (max-width: 640px) {
  .hj { display: grid; grid-template-columns: 48px 1fr auto; column-gap: 12px; align-items: start; }
  .hj-top { display: contents; }
  .hj-logo { grid-column: 1; grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 12px; }
  .hj-badges { grid-column: 3; grid-row: 1; }
  .hj-title { grid-column: 2; grid-row: 1; font-size: 1.02rem; }
  .hj-company { grid-column: 2 / span 2; grid-row: 2; margin-bottom: 8px; }
  .hj-meta { grid-column: 2 / span 2; grid-row: 3; margin: 0; }
  .hj-foot { display: none; }
  .hj-pill { font-size: .62rem; padding: 3px 6px; }
}
