1/*2=============================================================================3Job·Ka — Groupe KA4Auteur : Simon-Pierre Boucher5Contact : contact@spboucher.ai6Fichier : frontend/src/styles.css7Rôle : Système de design unique de l'application (clair, style Groupe KA)8Créé : 2026-08-17 Modifié : 2026-08-179=============================================================================10*/1112:root {13 --ink: #14181a; /* encre principale */14 --ink-2: #4a5459; /* encre secondaire */15 --ink-3: #7d8a90; /* encre atténuée */16 --surface: #ffffff;17 --surface-2: #f4f6f5;18 --border: #e3e8e6;19 --brand: #141814; /* noir-vert Groupe KA */20 --accent: #d9f26b; /* lime Groupe KA (sur fond sombre uniquement) */21 --green: #1c5c41; /* vert profond — liens, barres, accents sur clair */22 --green-soft: #e7f2ec;23 --radius: 12px;24 --shadow: 0 1px 2px rgb(20 24 20 / 6%), 0 4px 14px rgb(20 24 20 / 6%);25}2627* { box-sizing: border-box; }2829body {30 margin: 0;31 font-family: "Inter", system-ui, -apple-system, sans-serif;32 color: var(--ink);33 background: var(--surface-2);34 font-size: 15px;35 line-height: 1.55;36}3738a { color: var(--green); text-decoration: none; }39a:hover { text-decoration: underline; }4041.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }4243/* --- en-tête ---------------------------------------------------------------- */44header.site {45 background: var(--brand);46 color: #fff;47 position: sticky; top: 0; z-index: 50;48}49header.site .container {50 display: flex; align-items: center; gap: 24px; height: 58px;51}52.logo { font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -0.3px; }53.logo em { color: var(--accent); font-style: normal; }54nav.main { display: flex; gap: 4px; margin-left: auto; }55nav.main a {56 color: #d7ddda; padding: 7px 12px; border-radius: 8px; font-weight: 500;57}58nav.main a:hover { color: #fff; background: rgb(255 255 255 / 8%); text-decoration: none; }59nav.main a.active { color: var(--accent); background: rgb(255 255 255 / 10%); }6061/* --- héros ------------------------------------------------------------------ */62.hero { background: var(--brand); color: #fff; padding: 40px 0 34px; }63.hero h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }64.hero h1 em { color: var(--accent); font-style: normal; }65.hero p { margin: 0 0 20px; color: #b9c2be; max-width: 640px; }6667/* --- filtres ------------------------------------------------------------------ */68.filters { display: flex; flex-wrap: wrap; gap: 10px; }69.filters input[type="search"], .filters select {70 height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border);71 background: #fff; color: var(--ink); font: inherit; min-width: 130px;72}73.filters input[type="search"] { flex: 1 1 220px; }74.filters label.check {75 display: inline-flex; align-items: center; gap: 7px; background: #fff;76 border: 1px solid var(--border); border-radius: 10px; padding: 0 14px;77 height: 42px; cursor: pointer; user-select: none; white-space: nowrap;78}7980/* --- cartes d'offres ------------------------------------------------------------ */81.job-list { display: grid; gap: 12px; margin: 22px 0; }82.job-card {83 display: block; background: var(--surface); border: 1px solid var(--border);84 border-radius: var(--radius); padding: 18px 20px; color: inherit;85 transition: border-color 0.12s, box-shadow 0.12s;86}87.job-card:hover { border-color: var(--green); box-shadow: var(--shadow); text-decoration: none; }88.job-card h3 { margin: 0 0 2px; font-size: 17px; font-weight: 700; color: var(--ink); }89.job-card .employer { color: var(--green); font-weight: 600; }90.job-card .meta { color: var(--ink-3); font-size: 13.5px; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 14px; }9192.badge {93 display: inline-block; padding: 2px 9px; border-radius: 999px;94 font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--ink-2);95}96.badge.salary { background: var(--green-soft); color: var(--green); }97.badge.mode { background: #eef1ff; color: #3c4a9e; }9899/* --- fiche ------------------------------------------------------------------------- */100.sheet {101 background: var(--surface); border: 1px solid var(--border);102 border-radius: var(--radius); padding: 28px 32px; margin: 24px 0;103}104.sheet h1 { margin: 0 0 4px; font-size: 24px; letter-spacing: -0.3px; }105.sheet .facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }106.sheet .description { white-space: pre-line; color: var(--ink-2); }107.btn {108 display: inline-block; background: var(--brand); color: var(--accent);109 font-weight: 700; padding: 11px 22px; border-radius: 10px; border: none;110 cursor: pointer; font: inherit; font-weight: 700;111}112.btn:hover { text-decoration: none; opacity: 0.92; }113114/* --- tuiles de statistiques (hero numbers) --------------------------------------- */115.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 22px 0; }116.tile {117 background: var(--surface); border: 1px solid var(--border);118 border-radius: var(--radius); padding: 18px 20px;119}120.tile .value { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }121.tile .label { color: var(--ink-3); font-size: 13px; margin-top: 2px; }122123/* --- barres horizontales (magnitude, teinte unique) --------------------------------- */124.bars { display: grid; gap: 8px; margin: 10px 0 26px; }125.bar-row { display: grid; grid-template-columns: 190px 1fr 52px; align-items: center; gap: 10px; }126.bar-row .name { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }127.bar-row .track { background: var(--surface-2); border-radius: 4px; height: 14px; }128.bar-row .fill { background: var(--green); border-radius: 4px 4px 4px 4px; height: 14px; min-width: 3px; }129.bar-row .n { font-size: 13px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }130131/* --- tableaux ----------------------------------------------------------------------- */132table.data { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }133table.data th, table.data td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }134table.data th { background: var(--surface-2); color: var(--ink-2); font-weight: 600; }135table.data tr:last-child td { border-bottom: none; }136137/* --- carte -------------------------------------------------------------------------- */138.map-wrap { height: calc(100vh - 58px); position: relative; }139.map-wrap .maplibregl-map { height: 100%; }140.map-count {141 position: absolute; top: 14px; left: 14px; z-index: 5;142 background: var(--brand); color: #fff; border-radius: 10px;143 padding: 8px 14px; font-size: 13.5px; box-shadow: var(--shadow);144}145.map-popup h4 { margin: 0 0 2px; font-size: 14px; }146.map-popup { font: 13px "Inter", sans-serif; }147148/* --- pagination / divers ------------------------------------------------------------- */149.pager { display: flex; gap: 8px; justify-content: center; margin: 26px 0; }150.pager button {151 background: var(--surface); border: 1px solid var(--border); border-radius: 8px;152 padding: 8px 16px; cursor: pointer; font: inherit;153}154.pager button:disabled { opacity: 0.4; cursor: default; }155.empty { text-align: center; color: var(--ink-3); padding: 60px 0; }156.section-title { font-size: 19px; font-weight: 700; margin: 30px 0 4px; }157.muted { color: var(--ink-3); font-size: 13px; }158159/* --- pied de page ----------------------------------------------------------------------- */160footer.site {161 background: var(--brand); color: #9aa5a0; margin-top: 60px;162 padding: 26px 0; font-size: 13.5px;163}164footer.site a { color: #d7ddda; }165footer.site .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }166167@media (max-width: 640px) {168 nav.main { gap: 0; }169 nav.main a { padding: 7px 8px; font-size: 13.5px; }170 .bar-row { grid-template-columns: 120px 1fr 44px; }171 .sheet { padding: 20px; }172}173