/* Tokens : voir DESIGN.md (le contrat). Deux couleurs d'identité : le rouge du logo Takumiz et le blanc
   (anthracite en thème sombre). Ne pas ajouter de couleur ici sans l'ajouter d'abord dans DESIGN.md.
   Rouge sur anthracite en sombre : couleur de marque imposée par le logo, seule teinte de la palette. avoid-ai-design-ignore-file: SD2, C8 */

@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.e8da57bc0c3d.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 700; src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.617b4197a93a.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-weight: 400; src: url("../fonts/atkinson-hyperlegible-mono-latin-400-normal.6044c091a508.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-weight: 700; src: url("../fonts/atkinson-hyperlegible-mono-latin-700-normal.33ebda729f98.woff2") format("woff2"); font-display: swap; }

:root {
  --ground: #f5f5f4;
  --sheet: #ffffff;
  --ink: #1b1f24;
  --muted: #5b626a;
  --rule: #e3e4e6;
  --field: #8c939b;
  --brand: #9f2b2c; /* rouge du logo Takumiz : couleur de la marque et des actions */
  --brand-strong: #86201f; /* survol des boutons principaux */
  --brand-soft: #f8ecec; /* fonds légers : étiquette « test », carte choisie */
  --on-brand: #ffffff;
  --signal: var(--brand); /* le rouge du logo sert aussi au temps et aux alertes */
  --ok: #1d6a43;
  --focus: #2457d6;
  --tint: #f0f0ef; /* survol */
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.06);

  --font-text: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-code: "Atkinson Hyperlegible Mono", ui-monospace, monospace;

  --font-cjk-sc: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC";
  --font-cjk-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP";
  --font-arabic: "Noto Sans Arabic", "Segoe UI", "Geeza Pro", Tahoma, "Arial";
  --font-cyrillic: "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial;

  --r-control: 10px;
  --r-choice: 10px;
  --r-tag: 999px;
  --r-card: 14px;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 32px; --s5: 64px;
  --measure: 72ch;
  --text-scale: 1;
  color-scheme: light;
}

/* Thème : le choix fait sur le site (data-theme) prime sur celui du système. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #121417;
    --sheet: #1b1e23;
    --ink: #eceef0;
    --muted: #a7afb8;
    --rule: #2f343b;
    --field: #6e7680;
    --brand: #e46a63; /* rouge du logo, éclairci pour rester lisible sur fond sombre */
    --brand-strong: #f08a84;
    --brand-soft: #3a2322;
    --on-brand: #16181b;
    --ok: #6ccb94;
    --focus: #8ab4ff;
    --tint: #23272d;
    --shadow-card: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #121417;
  --sheet: #1b1e23;
  --ink: #eceef0;
  --muted: #a7afb8;
  --rule: #2f343b;
  --field: #6e7680;
  --brand: #e46a63; /* rouge du logo, éclairci pour rester lisible sur fond sombre */
  --brand-strong: #f08a84;
  --brand-soft: #3a2322;
  --on-brand: #16181b;
  --ok: #6ccb94;
  --focus: #8ab4ff;
  --tint: #23272d;
  --shadow-card: none;
  color-scheme: dark;
}

:root[data-text="large"] { --text-scale: 1.15; }
:root[data-text="xlarge"] { --text-scale: 1.3; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: calc(106.25% * var(--text-scale)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--ink); color: var(--sheet); padding: 8px 12px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0 0 var(--s3); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 24ch; }
h2 { font-size: 1.35rem; line-height: 1.3; margin-top: var(--s4); }
h3 { font-size: 1.1rem; line-height: 1.35; }
p { margin: 0 0 var(--s3); max-width: var(--measure); }
.lead { font-size: 1.15rem; line-height: 1.55; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-code); }
small, .small { font-size: 0.9rem; }

/* ---------- Structure ---------- */
.site-header { background: var(--sheet); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 30; }
.site-header .inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; min-height: 44px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 33px; flex: none; }
.logo-word { height: 22px; width: auto; }
/* Couleurs par défaut dans le SVG (logo juste même sans CSS) ; le CSS n'adapte qu'au thème. */
/* Langues : la variable change avec l'attribut lang, sur la page comme sur un contenu (une offre en japonais sur
   une page française). Le code garde sa police à chasse fixe, suivie de la police de l'écriture. */
:lang(zh) { --font-text: "Atkinson Hyperlegible Next", var(--font-cjk-sc), sans-serif; --font-code: "Atkinson Hyperlegible Mono", var(--font-cjk-sc), monospace; }
:lang(ja) { --font-text: "Atkinson Hyperlegible Next", var(--font-cjk-jp), sans-serif; --font-code: "Atkinson Hyperlegible Mono", var(--font-cjk-jp), monospace; }
:lang(ar) { --font-text: "Atkinson Hyperlegible Next", var(--font-arabic), sans-serif; --font-code: "Atkinson Hyperlegible Mono", var(--font-arabic), monospace; }
:lang(ru) { --font-text: "Atkinson Hyperlegible Next", var(--font-cyrillic), sans-serif; --font-code: "Atkinson Hyperlegible Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; }
:where([lang]:not(html)) { font-family: var(--font-text); }
/* L'arabe et les écritures chinoise et japonaise se lisent mal serrées : pas d'espacement négatif, interligne plus haut. */
:lang(ar) body, :lang(zh) body, :lang(ja) body { line-height: 1.75; }
:lang(ar) *, :lang(zh) *, :lang(ja) * { letter-spacing: normal !important; }
/* Japonais : les titres passent à la ligne entre deux groupes de sens, pas au milieu d'un mot (Chrome, Edge). */
:lang(ja) :is(h1, h2, h3) { word-break: auto-phrase; }

.logo-ink-stroke { stroke: var(--ink); }
.logo-ink { fill: var(--ink); }
.logo-brand { fill: var(--brand); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s1); }
.nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-control); font-weight: 700; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.nav form { margin: 0; }
.header-tools { display: flex; align-items: center; gap: var(--s2); margin-inline-start: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--tint); }
.icon-btn[aria-current="page"] { color: var(--brand); }
.badge { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 0.72rem; font-weight: 700; line-height: 18px; text-align: center; }
.icon { display: block; flex: none; }
.icon-heart path { fill: currentColor; fill-opacity: 0; }
/* Menu du compte : <details>, sans script. */
.profile-menu { position: relative; }
.profile-menu summary { list-style: none; cursor: pointer; border-radius: 999px; }
.profile-menu summary::-webkit-details-marker { display: none; }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; }
.profile-menu[open] .avatar, .profile-menu summary:hover .avatar { box-shadow: 0 0 0 3px var(--brand-soft); }
.profile-menu .menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; min-width: 250px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14); padding: var(--s2) 0; }
.menu-who { margin: 0; padding: 10px 18px 12px; border-bottom: 1px solid var(--rule); line-height: 1.35; overflow-wrap: anywhere; }
.profile-menu ul { list-style: none; margin: 0; padding: var(--s1) 0; }
.profile-menu li a, .menu-logout { display: flex; align-items: center; width: 100%; min-height: 42px; padding: 0 18px; color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; text-align: start; }
.profile-menu li a:hover, .menu-logout:hover { background: var(--tint); }
.profile-menu li a[aria-current="page"] { font-weight: 700; color: var(--brand); }
.profile-menu form { margin: 0; border-top: 1px solid var(--rule); padding-top: var(--s1); }
.menu-logout { color: var(--brand); font-weight: 700; }
/* Sélecteur de langue : <details>, sans script. La liste s'ouvre sous le libellé, côté fin de ligne. */
.language-switch { position: relative; }
.language-switch summary { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; list-style: none; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary::after { content: ""; width: 0.45em; height: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); } /* bordures physiques : la flèche pointe vers le bas dans les deux sens d'écriture */
.language-switch[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.language-switch ul { position: absolute; inset-inline-end: 0; top: 100%; z-index: 20; list-style: none; margin: 0; padding: var(--s1) 0; min-width: 11em; background: var(--sheet); border: 1px solid var(--field); border-radius: var(--r-control); }
.language-switch li button { display: block; width: 100%; min-height: 40px; padding: 0 var(--s3); text-align: start; }
.language-switch li button:hover { background: var(--tint); text-decoration: none; }
.language-switch li button[aria-current="true"] { font-weight: 700; }
.text-size { display: inline-flex; border: 1px solid var(--field); border-radius: var(--r-control); overflow: hidden; }
.text-size button { min-width: 44px; min-height: 40px; background: var(--sheet); color: var(--ink); border: 0; font: 700 0.85rem var(--font-text); cursor: pointer; }
.text-size button + button { border-inline-start: 1px solid var(--field); }
.text-size button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }

.wrap { width: min(1440px, 100% - 32px); margin-inline: auto; }
@media (min-width: 1100px) { .wrap { width: min(1440px, 100% - 64px); } }
main { flex: 1; padding: var(--s4) 0 var(--s5); }
.site-footer { border-top: 1px solid var(--rule); padding: var(--s3) 0 var(--s4); color: var(--muted); font-size: 0.92rem; }
.site-footer .inner { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.site-footer a { color: var(--muted); }
.display-prefs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-inline-start: auto; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.page-head h1 { margin: 0; }
.back { display: inline-block; margin-bottom: var(--s2); color: var(--muted); }
.stack > * + * { margin-top: var(--s4); }
.stack > h2 + * { margin-top: 0; }
.cols { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 900px) {
  .cols { grid-template-columns: 260px minmax(0, 1fr); }
  .cols.wide-side { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* La feuille : surface blanche sur le papier, sans bordure ni ombre. */
.panel { background: var(--sheet); padding: var(--s3) 20px; border: 1px solid var(--rule); border-radius: var(--r-card); }
.panel > :last-child { margin-bottom: 0; }
.panel.raised { padding: 24px; }
.sheet { background: var(--sheet); padding: var(--s4); border: 1px solid var(--rule); border-radius: var(--r-card); }
.notice { background: var(--sheet); padding: 14px 18px; margin-bottom: var(--s3); max-width: 80ch; border-radius: var(--r-card); }
.notice > :last-child { margin-bottom: 0; }
.notice.warn { color: var(--ink); outline: 2px solid var(--signal); outline-offset: -2px; }
.vie-hint { border: 1px solid var(--rule); }
.vie-hint p { margin: 0 0 6px; }
.vie-hint a { font-weight: 700; }
.notice.ok { outline: 2px solid var(--ok); outline-offset: -2px; }

.messages { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: var(--s2); }
.messages li { background: var(--ink); color: var(--sheet); padding: 12px 16px; border-radius: var(--r-control); }
.messages .error { background: var(--signal); color: var(--sheet); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 44px; padding: 10px 20px;
  font: 700 1rem/1.2 var(--font-text);
  color: var(--ink); background: var(--sheet);
  border: 1px solid var(--field); border-radius: var(--r-control);
  text-decoration: none; cursor: pointer;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}
.btn:hover { background: var(--tint); border-color: var(--ink); }
.btn:active { background: var(--rule); }
.btn.primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn.primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--tint); border-color: transparent; }
.btn.danger { color: var(--signal); border-color: var(--signal); }
.btn.danger:hover { background: var(--signal); color: var(--on-brand); }
.btn.small { min-height: 38px; padding: 6px 14px; font-size: 0.92rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; cursor: pointer; min-height: 44px; text-decoration: none; }
.link-btn:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.actions form { margin: 0; }

/* ---------- Formulaires ---------- */
.form { max-width: 640px; }
.field { margin-bottom: 20px; }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.help { color: var(--muted); font-size: 0.92rem; margin: 6px 0 0; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--signal); font-weight: 700; font-size: 0.95rem; }
.errorlist.nonfield { background: var(--sheet); outline: 2px solid var(--signal); outline-offset: -2px; padding: 12px 16px; margin-bottom: 20px; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  background: var(--sheet); color: var(--ink);
  border: 1px solid var(--field); border-radius: var(--r-control);
  font: 400 1rem/1.4 var(--font-text);
}
textarea { resize: vertical; }
textarea.mono { font-family: var(--font-code); font-size: 0.95rem; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--ink); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border: 2px solid var(--signal); }
input[type="file"] { font: inherit; color: var(--ink); max-width: 100%; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--brand); margin: 2px 0 0; flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.field .check { font-weight: 400; }
.radio-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.radio-list label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--sheet); border: 1px solid var(--field); border-radius: var(--r-control); cursor: pointer; font-weight: 400; }
.radio-list label:hover { border-color: var(--ink); }
.radio-list label:has(input:checked) { border: 2px solid var(--brand); padding: 11px 13px; background: var(--brand-soft); }
.form-row { display: grid; gap: 0 var(--s3); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Accueil (entreprises) ---------- */
.hero { display: grid; gap: var(--s4); align-items: center; margin-bottom: var(--s5); }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); max-width: 16ch; }
.hero .lead + .lead { margin-top: calc(-1 * var(--s2)); }
.hero .actions { margin-top: var(--s4); gap: var(--s3); }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s5); } }
figure { margin: 0; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-bottom: var(--s2); }
.demo-list { background: var(--sheet); padding: 20px 20px 8px; border: 1px solid var(--rule); border-radius: var(--r-card); }
.demo-list table { font-size: 0.97rem; }
.demo-list th, .demo-list td { padding: 10px 8px; }
.fake-link { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }

.steps-section { display: grid; gap: var(--s4); align-items: start; margin-bottom: var(--s5); }
@media (min-width: 960px) { .steps-section { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: var(--s5); } }
.steps-section h2 { margin-top: 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: var(--s2); padding: var(--s3) 0; }
.steps li + li { border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step); grid-row: span 2; font: 700 1.6rem/1.1 var(--font-code); color: var(--muted); }
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; }
.demo-question { background: var(--ground); }
.demo-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.demo-sheet { background: var(--sheet); padding: 20px; border: 1px solid var(--rule); border-radius: var(--r-card); }
.demo-sheet .stem { font-weight: 700; font-size: 1.15rem; }
.demo-sheet .excerpt { margin: 0; }
.demo-choices { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; gap: 6px; }
.demo-choices li { display: flex; gap: var(--s3); align-items: center; background: var(--sheet); border: 1px solid var(--field); border-radius: var(--r-choice); padding: 10px 16px; font-size: 1.05rem; }
.demo-choices .key { font: 700 1rem/1 var(--font-code); color: var(--muted); width: 1.6em; }
.demo-choices .idk { color: var(--muted); }

.why { max-width: 680px; margin-bottom: var(--s5); }
.why h2, .limits h2, .faq h2 { margin-top: 0; }
.limits { margin-bottom: var(--s5); }
.limits ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 var(--s5); background: var(--sheet); padding: 0 24px; border: 1px solid var(--rule); border-radius: var(--r-card); }
.limits li { padding: 18px 0; max-width: 60ch; }
.limits li + li { border-top: 1px solid var(--rule); }
@media (min-width: 900px) {
  .limits ul { grid-template-columns: 1fr 1fr; }
  .limits li + li { border-top: 0; }
  .limits li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
.faq { max-width: 760px; margin-bottom: var(--s5); }
.faq dl { margin: 0 0 var(--s4); }
.faq dt { font-weight: 700; font-size: 1.1rem; margin-top: var(--s4); }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; max-width: var(--measure); }
.candidates { background: var(--sheet); padding: var(--s4); display: grid; gap: var(--s4); border: 1px solid var(--rule); border-radius: var(--r-card); }
@media (min-width: 900px) { .candidates { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.candidates h2 { margin-top: 0; }
.mini-search { display: grid; gap: var(--s2) var(--s3); align-items: end; }
.mini-search .field { margin: 0; }
@media (min-width: 640px) { .mini-search { grid-template-columns: 1fr 1fr auto; } }
.latest { list-style: none; padding: 0; margin: 0; align-self: center; }
.latest li { display: grid; gap: 2px; padding: 12px 0; }
.latest li + li { border-top: 1px solid var(--rule); }
.latest a { font-weight: 700; }

/* ---------- Recherche d'offres (accueil) ---------- */
.jobsearch { display: grid; gap: 12px; margin-bottom: var(--s3); }
.searchbox { display: grid; gap: var(--s2); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 8px; box-shadow: var(--shadow-card); }
@media (min-width: 760px) { .searchbox { grid-template-columns: 1.4fr 1fr auto; align-items: center; } .searchbox-field + .searchbox-field { border-inline-start: 1px solid var(--rule); } }
.searchbox-field { display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--muted); }
.searchbox-field input { border: 0; padding: 10px 0; min-height: 48px; background: transparent; font-size: 1.05rem; color: var(--ink); }
.searchbox-field input:hover { border: 0; }
.searchbox-field:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r-control); }
.searchbox-field input:focus { outline: none; }
.searchbox .btn { min-height: 48px; padding-inline: 28px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.filter select { width: auto; min-height: 38px; padding: 6px 34px 6px 14px; border-radius: 999px; border-color: var(--rule); background-color: var(--sheet); font-size: 0.92rem; font-weight: 700; }
.filter-check { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font-size: 0.92rem; font-weight: 700; cursor: pointer; }
.filter-check:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.filter-check input { width: 16px; height: 16px; margin: 0; }
.filter-reset { font-size: 0.92rem; color: var(--brand); font-weight: 700; margin-inline-start: var(--s1); }
.result-count { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }

.jobs-layout { display: grid; gap: var(--s3); align-items: start; }
@media (min-width: 1000px) { .jobs-layout { grid-template-columns: minmax(340px, 5fr) minmax(0, 7fr); } }
.job-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.job-card { position: relative; display: grid; gap: 8px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 16px 18px; box-shadow: var(--shadow-card); transition: border-color 120ms ease-out; }
.job-card:hover { border-color: var(--field); }
.job-card.is-selected { border: 2px solid var(--brand); padding: 15px 17px; }
.job-card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.job-card-title h2 { font-size: 1.1rem; line-height: 1.3; margin: 0; max-width: none; }
.job-card-title h2 a { text-decoration: none; color: var(--ink); }
.job-card-title h2 a:hover { text-decoration: underline; }
/* Toute la carte est cliquable, le lien du titre reste le seul élément focalisable. */
.job-card-title h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.job-card .save-form, .job-card .save-btn { position: relative; z-index: 1; }
.job-company { margin: 2px 0 0; font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.job-place { margin: 0; color: var(--muted); font-size: 0.95rem; }
.job-snippet { margin: 0; color: var(--muted); font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-date { margin: 0; font-size: 0.85rem; color: var(--muted); }
.company-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 1.2rem; flex: none; }
.company-mark.large { width: 60px; height: 60px; font-size: 1.6rem; border-radius: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 999px; background: var(--tint); font-size: 0.88rem; font-weight: 700; }
.chip-strong { background: var(--ink); color: var(--sheet); }
.chip-brand { background: var(--brand-soft); color: var(--brand); }
.save-form { margin: 0; }
.save-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.save-btn:hover { background: var(--tint); color: var(--brand); }
.save-btn.is-saved { color: var(--brand); }
.save-btn.is-saved .icon-heart path { fill-opacity: 1; }

.job-preview { display: none; }
@media (min-width: 1000px) {
  /* Aperçu collé sous l'en-tête, avec son propre défilement : la liste reste visible. */
  .job-preview { display: block; position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; border-radius: var(--r-card); }
}
.job-panel { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.job-panel-head { display: grid; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--rule); }
.job-preview .job-panel-head { position: sticky; top: 0; background: var(--sheet); z-index: 2; border-radius: var(--r-card) var(--r-card) 0 0; }
.job-panel-id { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.job-panel-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.2; margin: 0 0 4px; max-width: none; }
.job-panel-title a { color: var(--ink); text-decoration: none; }
.job-panel-title a:hover { text-decoration: underline; }
.job-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.job-panel-actions .btn.primary { min-width: 160px; }
.job-panel-actions .save-btn { border-color: var(--rule); }
.job-panel-body { padding: 8px 24px 24px; }
.job-panel-body section { padding: 16px 0; }
.job-panel-body section + section { border-top: 1px solid var(--rule); }
.job-panel-body h3 { font-size: 1.1rem; margin: 0 0 12px; }
.job-panel-head > p { margin: 0; }
.apply-help .apply-steps { margin-bottom: 12px; }

.detail-layout { display: grid; gap: var(--s3); align-items: start; }
@media (min-width: 1000px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
.side-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow-card); }
@media (min-width: 1000px) { .side-card { position: sticky; top: 76px; } }
.side-card h3 { font-size: 1.1rem; }

.facts { display: flex; flex-wrap: wrap; gap: 2px 20px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.test-note { font-size: 0.95rem; margin: 0; }
.tag { display: inline-block; font-size: 0.88rem; font-weight: 700; line-height: 1.2; padding: 3px 10px; border: 1px solid var(--field); border-radius: var(--r-tag); color: var(--ink); }
.tag.status-published { border-color: var(--ok); color: var(--ok); }
.tag.status-draft, .tag.status-paused { color: var(--muted); }
.tag.status-closed { color: var(--muted); border-style: dashed; }
.tag.warn { border-color: var(--signal); color: var(--signal); }
.pager { display: flex; gap: var(--s3); align-items: center; margin-top: var(--s3); }
.empty > :last-child { margin-bottom: 0; }
.offer-list { list-style: none; padding: 0; margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); }
.offer-row { padding: 18px 20px; display: grid; gap: 6px; }
.offer-row + .offer-row { border-top: 1px solid var(--rule); }
.offer-row h3 { margin: 0; font-size: 1.15rem; }

/* ---------- Page d'offre ---------- */
.offer-body { white-space: pre-line; max-width: var(--measure); }
.skill-list { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0 0 var(--s3); }
.deflist { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s3); margin: 0 0 var(--s3); }
.deflist dt { color: var(--muted); }
.deflist dd { margin: 0; font-weight: 700; }

.signup-points { padding-inline-start: 1.2em; margin: 0 0 var(--s4); }
.signup-points li + li { margin-top: 6px; }
.apply-steps { padding-inline-start: 1.3em; margin: 0 0 var(--s3); }
.apply-steps li + li { margin-top: var(--s2); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); }
.table-wrap + .notice, .table-wrap + p { margin-top: 20px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 12px 14px; vertical-align: top; }
thead th { font-weight: 700; font-size: 0.92rem; color: var(--muted); border-bottom: 2px solid var(--ink); }
tbody tr + tr td { border-top: 1px solid var(--rule); }
tbody tr:hover { background: var(--tint); }
thead th { border-bottom-color: var(--rule); }
td.num, th.num { text-align: end; font-variant-numeric: tabular-nums; }
.rank { color: var(--muted); }
.score-cell { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.score-bar { width: 96px; min-width: 64px; height: 8px; display: block; flex: none; }
.score-bar .track { fill: var(--rule); }
.score-bar .fill { fill: var(--brand); }
[dir="rtl"] .score-bar { transform: scaleX(-1); } /* la barre se remplit depuis le début de la ligne, à droite en arabe */

/* ---------- Relecture des questions ---------- */
.counter { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: baseline; }
.counter strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.qlist { list-style: none; padding: 0; margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; }
.qcard { padding: 20px; }
.qcard + .qcard { border-top: 1px solid var(--rule); }
.qcard.flagged .flags { display: block; }
.qcard header { display: flex; flex-wrap: wrap; gap: var(--s2) 12px; align-items: center; margin-bottom: 10px; }
.qcard .stem { font-weight: 700; margin-bottom: 10px; }
.excerpt { font: 400 0.95rem/1.55 var(--font-code); background: var(--ground); padding: 12px 14px; margin: 0 0 12px; white-space: pre-wrap; overflow-x: auto; }
.answers { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.answers .right { font-weight: 700; }
.answers .right .answer-label { font-weight: 400; color: var(--ok); }
.answers .wrong { color: var(--muted); }
.item-stats { font-size: 0.95rem; margin: 0 0 8px; }
p.flags { margin: 0 0 12px; }
.flags { list-style: none; padding: 0; margin: 0 0 12px; color: var(--signal); font-weight: 700; }
details.example { margin: 0 0 12px; padding: 10px 14px; border: 1px dashed var(--field); border-radius: var(--r-control); }
details.example > summary { cursor: pointer; min-height: 32px; font-weight: 700; }
details.example[open] > summary { margin-bottom: 10px; }
.ten-seconds { background: var(--sheet); padding: 14px 18px; margin-bottom: 20px; }
.ten-seconds strong { color: var(--signal); }
.ten-seconds > :last-child { margin-bottom: 0; }

.rules { padding-inline-start: 1.2em; max-width: var(--measure); }
.rules li + li { margin-top: 12px; }

/* ---------- Test chronométré ---------- */
.test-shell { max-width: 760px; margin-inline: auto; }
.test-top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); margin-bottom: 10px; }
.progress-label { font-weight: 700; color: var(--muted); }
.clock { font: 700 2.5rem/1 var(--font-code); color: var(--ink); min-width: 3ch; text-align: end; }
.clock.low { color: var(--signal); }
/* Signature : le cadran. Une graduation par seconde ; le temps restant en rouge d'aiguille. */
.lifebar { display: flex; gap: 3px; height: 14px; margin-bottom: var(--s3); }
.lifebar span { flex: 1; background: var(--signal); border-radius: 1px; transition: background-color 200ms linear; }
.lifebar span.off { background: var(--rule); }
.question-canvas { display: block; width: 100%; height: auto; background: var(--sheet); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.choices { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: var(--s2); }
.choice {
  width: 100%; display: flex; align-items: center; gap: var(--s3); text-align: start;
  min-height: 56px; padding: 10px 16px;
  background: var(--sheet); border: 1px solid var(--field); border-radius: var(--r-choice);
  color: var(--ink); cursor: pointer; font: inherit;
}
.choice:hover { border-color: var(--ink); background: var(--tint); }
.choice .key { font: 700 1rem/1 var(--font-code); color: var(--muted); flex: none; width: 1.6em; }
.choice canvas { max-width: 100%; min-width: 0; flex: 0 1 auto; height: auto; pointer-events: none; }
.choice.idk { color: var(--muted); }
.short-answer { display: flex; gap: var(--s2); margin-top: var(--s3); flex-wrap: wrap; }
.short-answer input { flex: 1 1 240px; font-family: var(--font-code); font-size: 1.1rem; }
.test-hint { color: var(--muted); font-size: 0.92rem; margin-top: var(--s3); }
.test-status { min-height: 1.6em; margin-top: 12px; color: var(--muted); }

/* ---------- Score ---------- */
.score-frame { display: inline-flex; align-items: baseline; gap: 10px; background: var(--sheet); padding: 24px 32px; border-radius: var(--r-card); border: 1px solid var(--rule); }
.score-value { font: 700 clamp(3.5rem, 2.5rem + 5vw, 6rem)/1 var(--font-text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.score-caption { font-size: 1.1rem; color: var(--muted); }
.wait-clock { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Statistiques admin ---------- */
.stats { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 0 0 var(--s4); }
.stat { padding: 14px 16px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); }
.stat dt { color: var(--muted); font-size: 0.92rem; }
.stat dd { margin: 4px 0 0; font-weight: 700; font-size: 1.75rem; line-height: 1.1; font-variant-numeric: tabular-nums; }

@media (max-width: 599px) {
  main { padding-top: var(--s3); }
  .sheet { padding: 20px 16px; }
  .panel.raised { padding: 20px 16px; }
  th, td { padding: 10px; }
  .deflist { grid-template-columns: 1fr; gap: 0; }
  .deflist dd { margin-bottom: var(--s2); }
  .clock { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Téléphone : en-tête sur deux lignes, filtres qui défilent ---------- */
@media (max-width: 759px) {
  .site-header .inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--s2); padding: 4px 0 0; }
  .site-header .brand { grid-row: 1; }
  .site-header .header-tools { grid-row: 1; grid-column: 2; margin: 0; gap: 2px; }
  .site-header .nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; }
  .site-header .nav a { white-space: nowrap; }
  .logo-mark { width: 32px; height: 27px; }
  .logo-word { height: 18px; }
  .header-tools .language-switch summary { font-size: 0.9rem; }
  .header-tools .btn.small { padding-inline: 10px; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: -2px; }
  .filter select, .filter-check { white-space: nowrap; }
  .job-panel-head, .job-panel-body, .side-card { padding-inline: 16px; }
}

/* ---------- Réponse aux candidats ---------- */
.respond { margin-top: 6px; }
.respond > summary { list-style: none; display: inline-flex; }
.respond > summary::-webkit-details-marker { display: none; }
.respond-form { display: grid; gap: 8px; margin-top: 10px; min-width: 260px; }
.respond-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.decision-box .decision-message { white-space: pre-line; background: var(--ground); border-radius: var(--r-control); padding: 10px 14px; }

/* ---------- Notifications ---------- */
.notif-list { list-style: none; padding: 0; margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; max-width: 860px; }
.notif { display: grid; gap: 4px; padding: 14px 20px; position: relative; }
.notif + .notif { border-top: 1px solid var(--rule); }
.notif a { font-weight: 700; text-decoration: none; }
.notif a:hover { text-decoration: underline; }
.notif.is-unread { background: var(--brand-soft); }
.notif.is-unread::before { content: ""; position: absolute; inset-inline-start: 8px; top: 22px; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }

/* ---------- Profil vérifié ---------- */
.verified-badge { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--ok); font-size: 0.92rem; }
.verified-badge .icon path:last-child { stroke: var(--sheet); }
.chip-verified { background: transparent; border: 1px solid var(--ok); color: var(--ok); }

/* ---------- Avis et notes ---------- */
.stars { display: inline-flex; gap: 1px; line-height: 1; font-size: 1.05rem; vertical-align: -0.1em; }
.stars-large { font-size: 1.5rem; }
.star { color: var(--rule); }
.star.full { color: var(--brand); }
/* Demi-étoile : la moitié de début de ligne colorée, qu'on lise de gauche à droite ou l'inverse.
   Partage net à 50 %, pas un dégradé décoratif. avoid-ai-design-ignore: C6 */
.star.half { background: linear-gradient(to right, var(--brand) 50%, var(--rule) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .star.half { background: linear-gradient(to left, var(--brand) 50%, var(--rule) 50%); -webkit-background-clip: text; background-clip: text; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.rating-line.big { font-size: 1.15rem; }
.company-card { align-content: start; }
.stack-tight { display: grid; gap: var(--s3); min-width: 0; }
.review { padding: 18px 0; }
.review + .review { border-top: 1px solid var(--rule); }
.review header p { margin: 0 0 4px; }
.review h3 { font-size: 0.95rem; margin: 12px 0 4px; }
.review-text { white-space: pre-line; margin: 0; }
.reviews-block h2 { margin-top: 12px; }
.side-title { font-size: 1.1rem; margin-top: 0; }
.criteria { display: grid; gap: 4px 12px; margin: 0 0 var(--s3); }
.criteria dt { color: var(--muted); font-size: 0.92rem; }
.criteria dd { margin: 0 0 8px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.distribution { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: 6px; }
.distribution li { display: grid; grid-template-columns: 2.5em 1fr 2em; gap: 8px; align-items: center; }
.distribution progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 999px; background: var(--tint); overflow: hidden; }
.distribution progress::-webkit-progress-bar { background: var(--tint); }
.distribution progress::-webkit-progress-value { background: var(--brand); border-radius: 999px; }
.distribution progress::-moz-progress-bar { background: var(--brand); border-radius: 999px; }
/* Saisie d'une note : cinq boutons radio dessinés en étoiles ; tout est coloré jusqu'à l'étoile choisie. */
.star-input { display: inline-flex; gap: 2px; }
.star-option { cursor: pointer; font-size: 1.8rem; line-height: 1; color: var(--rule); }
.star-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.star-input:has(.star-option:nth-child(1) input:checked) .star-option:nth-child(-n+1),
.star-input:has(.star-option:nth-child(2) input:checked) .star-option:nth-child(-n+2),
.star-input:has(.star-option:nth-child(3) input:checked) .star-option:nth-child(-n+3),
.star-input:has(.star-option:nth-child(4) input:checked) .star-option:nth-child(-n+4),
.star-input:has(.star-option:nth-child(5) input:checked) .star-option:nth-child(-n+5) { color: var(--brand); }
.star-input:hover .star-option { color: var(--brand); }
.star-input .star-option:hover ~ .star-option { color: var(--rule); }
.criteria-input { border: 0; padding: 0; margin: 0 0 20px; }
.criteria-input legend { font-weight: 700; margin-bottom: 6px; }
.criteria-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 4px 0; }
.criteria-row .star-option { font-size: 1.4rem; }
.field-label { display: block; font-weight: 700; margin-bottom: 6px; }
.recommendation .review-text { margin-bottom: 12px; }

/* ---------- Onglets de la recherche ---------- */
.tabs { display: flex; gap: var(--s1); border-bottom: 1px solid var(--rule); margin-bottom: 12px; overflow-x: auto; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font-weight: 700; text-decoration: none; color: var(--muted); white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--brand); }
.tab-count { background: var(--tint); border-radius: 999px; padding: 0 8px; font-size: 0.85rem; }
.job-card.external { border-style: dashed; }

/* ---------- Écran de protection du test (captures d'écran) ---------- */
.screen-shield { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--s4); background: var(--sheet); color: var(--muted); text-align: center; }
.screen-shield[hidden] { display: none; }
.screen-shield p { max-width: 40ch; margin: 0; }
.test-shell.shielded .question-canvas, .test-shell.shielded .choices, .test-shell.shielded .short-answer { visibility: hidden; }
@media print {
  .test-shell { display: none !important; }
}

/* ---------- Points et séries ---------- */
.points-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s3); }
.points-stat { display: grid; gap: 2px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 18px 20px; }
.points-figure { font-family: var(--font-code); font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.points-use { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); padding: 10px 0; border-top: 1px solid var(--rule); }
.menu-points { display: block; font-size: 0.9rem; }
.panel > h2:first-child { margin-top: 0; }

/* ---------- Alertes emploi ---------- */
.alert-cta { display: flex; justify-content: flex-end; margin: 0 0 var(--s2); }
.alert-cta .btn { display: inline-flex; align-items: center; gap: 6px; }
.alert-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.alert-row p { margin: 0; }
.alert-cta .icon { width: 18px; height: 18px; }

/* ---------- Abonnement ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s3); }
.plan-card { display: grid; align-content: start; gap: var(--s2); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 20px; }
.plan-card h3, .plan-card p { margin: 0; }
.plan-card.is-current { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan-price { font-family: var(--font-code); font-size: 1.6rem; font-weight: 700; }
.plan-card .chip { justify-self: start; }

/* ---------- Avantages du lancement ---------- */
.points-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.points-head h1 { margin: 0; }
.rewards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s3); }
.reward-card { display: grid; align-content: start; gap: var(--s2); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 20px; }
.reward-card h3, .reward-card p { margin: 0; }
.reward-card .chip { justify-self: start; }
.reward-actions { display: inline-flex; flex-wrap: wrap; gap: var(--s2); }
.referral-link input { width: 100%; font-family: var(--font-code); font-size: 0.9rem; }
.chip.small { font-size: 0.75rem; padding: 1px 8px; vertical-align: 1px; }
.certificate .details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.certificate .details dt { color: var(--muted); }
.certificate .details dd { margin: 0; font-weight: 700; }
.plain-list { margin: 0 0 var(--s3); padding-inline-start: 1.2em; }
.job-panel-body h4 { font-size: 0.95rem; margin: var(--s3) 0 6px; }
