/* PaksIA LMS - charte PaksIA (maquettes du 11/11/2026) */
:root {
  --papier: #f6f1e7; --carte: #fdfbf6; --nuit: #0e2a3b; --trait: #14222b;
  --filet: rgba(20, 34, 43, .16); --filet-fort: rgba(20, 34, 43, .4);
  --sauge: #a7b9a3; --sauge-pale: #dfe7db; --terracotta: #d98b6a; --terracotta-pale: #f2ded3;
  --or: #d4af37; --froid: #5c7484; --froid-texte: #3f5563; --erreur: #8c3a2a;
  --ombre-courte: 3px 3px 0 rgba(20, 34, 43, .18);
  --r-bouton: 10px; --r-carte: 14px;
  --font-display: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --font-labeur: Lexend, Verdana, system-ui, sans-serif;
  /* the consultant's colours, when PaksIA allows them (STR02) */
  --marque: var(--nuit); --marque-texte: var(--carte); --accent: var(--or);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.pk { margin: 0; background: var(--papier); color: var(--nuit); font-family: var(--font-labeur); font-weight: 300; font-size: 17px; line-height: 1.65; }
.pk a { color: var(--nuit); }
.pk a:hover { color: var(--trait); }
.pk :focus-visible { outline: 3px solid var(--nuit); outline-offset: 3px; border-radius: 4px; }
.pk h1, .pk h2, .pk h3, .pk h4 { font-family: var(--font-display); font-weight: 600; margin: 0; }
.pk h1 { font-size: 40px; line-height: 1.15; letter-spacing: -.015em; }
.pk h2 { font-size: 28px; line-height: 1.2; }
.pk h3 { font-size: 19px; line-height: 1.3; }
.pk p { margin: 0; }
.pk-skip { position: absolute; left: -9999px; top: 8px; background: var(--nuit); color: var(--carte) !important; padding: 10px 16px; border-radius: var(--r-bouton); z-index: 10; }
.pk-skip:focus { left: 16px; }
.pk-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.pk-muted { color: var(--froid-texte); font-weight: 400; }
.pk-small { font-size: 15px; font-weight: 400; }
.pk-stack { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pk-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.pk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.pk-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.pk-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pk-mark { width: 44px; height: 44px; border-radius: 22px 22px 8px 8px; background: var(--marque); color: var(--marque-texte); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 20px; flex: none; }
.pk-brand img { height: 44px; max-width: 160px; object-fit: contain; }
.pk-brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.pk-brand-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.pk-brand-sub { font-size: 13.5px; font-weight: 400; color: var(--froid-texte); }
.pk-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.pk-nav a { text-decoration: none; font-size: 16px; font-weight: 400; padding: 10px 0; border-bottom: 2px solid transparent; }
.pk-nav a[aria-current] { font-weight: 500; border-bottom-color: var(--accent); }
.pk-nav .pk-btn { border-bottom: 0; padding: 13px 22px; }
.pk-me { display: flex; align-items: center; gap: 10px; }
.pk-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--terracotta); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 16px; flex: none; }
.pk-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; align-items: center; justify-content: center; cursor: pointer; color: var(--nuit); }

/* buttons */
.pk-btn { display: inline-block; text-decoration: none; background: var(--marque); color: var(--marque-texte) !important; font-family: var(--font-labeur); font-weight: 600; font-size: 16px; line-height: 1.2; padding: 16px 28px; border-radius: var(--r-bouton); border: 0; cursor: pointer; text-align: center; }
.pk-btn:hover { filter: brightness(1.15); }
.pk-btn.sm { font-size: 15.5px; padding: 13px 22px; }
.pk-btn.xs { font-size: 14.5px; padding: 8px 14px; }
.pk-btn-line { display: inline-block; text-decoration: none; background: transparent; color: var(--nuit) !important; border: 1.5px solid var(--trait); font-family: var(--font-labeur); font-weight: 600; font-size: 15.5px; line-height: 1.2; padding: 11px 20px; border-radius: var(--r-bouton); cursor: pointer; }
.pk-btn-line.lg { font-size: 16px; padding: 14.5px 26px; }
.pk-btn-line.xs { font-size: 14.5px; padding: 6px 12px; }
.pk-btn-soft { display: inline-block; text-decoration: none; background: var(--carte); color: var(--nuit) !important; font-weight: 600; font-size: 15.5px; line-height: 1.2; padding: 13px 20px; border-radius: var(--r-bouton); border: 0; cursor: pointer; font-family: var(--font-labeur); }
.pk-link { background: none; border: 0; padding: 8px 0; font: inherit; font-size: 15.5px; font-weight: 400; color: var(--nuit); text-decoration: underline; cursor: pointer; }
.pk-link.danger { color: var(--erreur); }
button:disabled, .pk-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* shapes and pills */
.pk-num { flex: none; width: 44px; height: 52px; border-radius: 22px 22px 6px 6px; background: var(--sauge-pale); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.pk-num.now { background: var(--terracotta); }
.pk-num.locked { background: transparent; border: 1.5px solid var(--filet-fort); }
.pk-num.lg { width: 48px; height: 56px; border-radius: 24px 24px 6px 6px; font-size: 20px; }
.pk-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 14px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.pk-pill.done { background: var(--sauge-pale); }
.pk-pill.now { background: var(--terracotta-pale); }
.pk-pill.next { border: 1px solid var(--filet-fort); padding: 5px 14px; }
.pk-pill.warn { background: #f3d9d2; color: var(--erreur); }
.pk-pill.gold { background: #f3e7bf; }
.pk-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--nuit); display: inline-block; flex: none; }

/* blocks */
.pk-card { background: var(--carte); border-radius: var(--r-carte); padding: 32px; }
.pk-card.pad-s { padding: 24px; }
.pk-sauge { background: var(--sauge-pale); border-radius: var(--r-carte); padding: 26px; }
.pk-terra { background: var(--terracotta-pale); border-radius: var(--r-carte); padding: 26px 28px; }
.pk-dashed { border: 1.5px dashed var(--filet-fort); border-radius: var(--r-carte); padding: 32px; }
.pk-note { display: flex; align-items: flex-start; gap: 10px; background: var(--sauge-pale); border-radius: var(--r-bouton); padding: 10px 16px; font-size: 15.5px; font-weight: 400; }
.pk-note.warn { background: var(--terracotta-pale); }
.pk-note.err { background: #f3d9d2; color: var(--erreur); }
.pk-rule { border-top: 1px solid var(--filet); padding-top: 24px; }
.pk-main { padding-top: 36px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.pk-hello { font-size: 19px; }
.pk-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.pk-cols > .wide { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pk-cols > .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }

/* path (parcours) */
.pk-path { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pk-path > li { padding: 20px 0; border-bottom: 1px solid var(--filet); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.pk-path > li:last-child { border-bottom: 0; }
.pk-path > li.current { background: var(--carte); border-radius: var(--r-carte); padding: 24px; margin: 0 -24px; border-bottom: 0; flex-direction: column; align-items: stretch; gap: 14px; }
.pk-path .info { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; }
.pk-path .sub { font-size: 15px; font-weight: 400; }
.pk-seqs { list-style: none; margin: 0; padding: 0 0 0 62px; display: flex; flex-direction: column; }
.pk-seqs li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 0; border-top: 1px solid var(--filet); font-size: 16px; align-items: center; }
.pk-seqs a { font-weight: 400; }
.pk-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 36px 32px; }
.pk-steps li { flex: 1 1 300px; display: flex; gap: 18px; align-items: flex-start; }

/* lesson */
.pk-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--nuit); border-radius: var(--r-carte); overflow: hidden; }
.pk-video video, .pk-video iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--nuit); }
.pk-frame { border: 1.5px solid var(--trait); border-radius: var(--r-carte); overflow: hidden; background: var(--carte); }
.pk-frame-head { padding: 12px 18px; border-bottom: 1px solid var(--filet); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 15.5px; }
.pk-frame iframe { width: 100%; min-height: 600px; border: 0; display: block; background: #fff; }
.pk-figure img { width: 100%; border-radius: var(--r-carte); display: block; background: var(--carte); }
.pk-figure figcaption { font-size: 15.5px; font-weight: 400; padding-top: 8px; }
.pk-prose { display: flex; flex-direction: column; gap: 16px; }
.pk-prose h2 { font-size: 24px; }
.pk-prose h3 { font-size: 20px; }
.pk-prose ul, .pk-prose ol { margin: 0; padding-left: 24px; }
.pk-prose blockquote { margin: 0; padding: 14px 18px; background: var(--terracotta-pale); border-radius: var(--r-bouton); }
.pk-res { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pk-res li { padding: 12px 0; border-bottom: 1px solid var(--filet); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.pk-res li:last-child { border-bottom: 0; }
.pk-toc { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.pk-toc li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.pk-toc li:last-child { border-bottom: 0; }
.pk-toc li[aria-current] { font-weight: 500; }
.pk-quiz { display: flex; flex-direction: column; gap: 22px; }
.pk-quiz fieldset { border: 0; margin: 0; padding: 20px 24px; background: var(--carte); border-radius: var(--r-carte); display: flex; flex-direction: column; gap: 10px; }
.pk-quiz legend { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.35; padding: 0; float: left; width: 100%; margin-bottom: 6px; }
.pk-choice { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-bouton); border: 1.5px solid transparent; cursor: pointer; }
.pk-choice:hover { border-color: var(--filet-fort); }
.pk-choice input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--nuit); flex: none; }
.pk-choice.good { background: var(--sauge-pale); }
.pk-choice.bad { background: #f3d9d2; }
.pk-explain { font-size: 15.5px; font-weight: 400; background: var(--terracotta-pale); border-radius: var(--r-bouton); padding: 10px 14px; }
.pk-scale { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-scale label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--filet-fort); border-radius: 999px; cursor: pointer; }

/* forms */
.pk-form { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.pk-form.wide { max-width: none; }
.pk-field { display: flex; flex-direction: column; gap: 8px; }
.pk-field label, .pk-label { font-weight: 500; font-size: 16px; }
.pk-field .hint { font-size: 14.5px; font-weight: 400; color: var(--froid-texte); }
.pk input[type=text], .pk input[type=email], .pk input[type=number], .pk input[type=url], .pk input[type=tel], .pk input[type=search], .pk select, .pk textarea {
  width: 100%; background: var(--carte); border: 1.5px solid var(--trait); border-radius: var(--r-bouton); padding: 13px 16px;
  font-family: var(--font-labeur); font-weight: 300; font-size: 17px; line-height: 1.5; color: var(--nuit); }
.pk textarea { resize: vertical; line-height: 1.6; }
.pk textarea.code { font-family: ui-monospace, Consolas, monospace; font-size: 14.5px; line-height: 1.55; }
.pk input[type=color] { width: 64px; height: 44px; border: 1.5px solid var(--trait); border-radius: var(--r-bouton); background: var(--carte); padding: 4px; }
.pk-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.pk-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--nuit); }
.pk-inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.pk-inline .pk-field { flex: 1 1 200px; }
.pk-code-in { letter-spacing: .3em; font-size: 24px !important; max-width: 240px; text-align: center; }

/* back offices */
.pk-tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; border-bottom: 1px solid var(--filet); }
.pk-tabs a { text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; font-size: 16px; font-weight: 400; margin-bottom: -1px; display: inline-flex; gap: 8px; align-items: center; }
.pk-tabs a[aria-current] { font-weight: 500; border-bottom-color: var(--accent); }
.pk-badge { background: var(--terracotta); border-radius: 999px; font-size: 12.5px; font-weight: 600; padding: 1px 8px; }
.pk-kpis { display: flex; flex-wrap: wrap; gap: 16px; }
.pk-kpi { flex: 1 1 150px; background: var(--carte); border-radius: var(--r-carte); padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.pk-kpi b { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.1; }
.pk-kpi span { font-size: 14.5px; font-weight: 400; }
.pk-kpi.hl { background: var(--marque); color: var(--marque-texte); }
.pk-tablewrap { overflow-x: auto; background: var(--carte); border-radius: var(--r-carte); }
.pk-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.pk-table th { text-align: left; font-weight: 500; padding: 12px 14px; border-bottom: 1.5px solid var(--trait); white-space: nowrap; }
.pk-table td { padding: 11px 14px; border-bottom: 1px solid var(--filet); vertical-align: top; font-weight: 400; }
.pk-table td:first-child { min-width: 160px; }
.pk-table tr:last-child td { border-bottom: 0; }
.pk-table .num { text-align: right; white-space: nowrap; }
.pk-table form { display: inline; }
.pk-bar { height: 8px; background: var(--sauge-pale); border-radius: 4px; min-width: 80px; overflow: hidden; }
.pk-bar > span { display: block; height: 100%; background: var(--marque); }
.pk-tree { list-style: none; margin: 0; padding: 0; }
.pk-tree ul { list-style: none; margin: 0; padding-left: 28px; }
.pk-tree li { padding: 8px 0; }
.pk-details { background: var(--carte); border-radius: var(--r-carte); padding: 18px 22px; }
.pk-details summary { cursor: pointer; font-weight: 500; }
.pk-details[open] summary { margin-bottom: 14px; }
.pk-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pk-cert-mention { font-size: 14px; font-weight: 400; color: var(--froid-texte); }

/* hero (accueil) */
.pk-hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 56px; padding-top: 48px; }
.pk-hero .txt { flex: 1 1 460px; min-width: 0; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pk-hero h1 { font-size: 50px; line-height: 1.12; }
.pk-hero .lead { font-size: 20px; line-height: 1.6; max-width: 520px; }
.pk-hero .art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.pk-arches { position: relative; width: 100%; max-width: 440px; height: 500px; }
.pk-arches .a1 { position: absolute; left: 0; bottom: 0; width: 40%; height: 56%; border-radius: 999px 999px 0 0; background: var(--terracotta); }
.pk-arches .a2 { position: absolute; left: 30%; top: 0; width: 70%; height: 100%; border-radius: 999px 999px 0 0; border: 1.5px solid var(--or); border-bottom: 0; }
.pk-arches .a3 { position: absolute; left: 24%; bottom: 0; width: 70%; height: 94%; border-radius: 999px 999px 0 0; background: var(--sauge-pale); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pk-arches .a3 img { width: 100%; height: 100%; object-fit: cover; }
.pk-band { background: var(--terracotta-pale); }
.pk-band .pk-wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px 72px; }
.pk-band h2 { font-size: 36px; line-height: 1.15; }
.pk-points > div { padding: 24px 0; border-bottom: 1px solid rgba(20, 34, 43, .22); display: flex; flex-direction: column; gap: 6px; }
.pk-points > div:first-child { padding-top: 0; }
.pk-points > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pk-points h3 { font-size: 22px; }
.pk-sign { display: flex; align-items: center; gap: 14px; font-size: 15.5px; }
.pk-sign::before { content: ""; width: 40px; height: 2px; background: var(--or); }
.pk-facts { padding-top: 32px; border-top: 1px solid var(--filet); display: flex; flex-wrap: wrap; gap: 24px 40px; }
.pk-facts > div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; }
.pk-facts b { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; }

/* footer */
.pk-foot { border-top: 1px solid var(--filet); }
.pk-foot .pk-wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 15px; font-weight: 400; }
.pk-foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* certificate */
.pk-cert { background: var(--carte); border-radius: var(--r-carte); padding: 56px; max-width: 860px; margin: 0 auto; position: relative; overflow: hidden; border: 1.5px solid var(--or); }
.pk-cert h1 { font-size: 38px; }
.pk-cert .who { font-family: var(--font-display); font-weight: 600; font-size: 30px; }
@media print {
  .pk-head, .pk-foot, .pk-noprint { display: none !important; }
  body.pk { background: #fff; }
  .pk-cert { border: 1.5px solid var(--or); }
}

/* phone (maquettes 390 px) */
@media (max-width: 760px) {
  body.pk { font-size: 16.5px; line-height: 1.6; }
  .pk-wrap { padding: 0 20px; }
  .pk-head { padding-top: 14px; padding-bottom: 14px; }
  .pk-mark { width: 40px; height: 40px; border-radius: 20px 20px 7px 7px; font-size: 18px; }
  .pk-brand-sub { display: none; }
  .pk-brand-name { font-size: 17px; }
  .pk-burger { display: inline-flex; }
  .pk-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .pk-nav.open { display: flex; }
  .pk-nav a { padding: 12px 0; border-bottom: 1px solid var(--filet); }
  .pk-nav a[aria-current] { border-bottom: 1px solid var(--filet); box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .pk h1 { font-size: 27px; line-height: 1.2; }
  .pk h2 { font-size: 22px; }
  .pk-hero { padding-top: 20px; gap: 24px; }
  .pk-hero h1 { font-size: 31px; }
  .pk-hero .lead { font-size: 18px; }
  .pk-hero .txt { padding-bottom: 0; }
  .pk-arches { height: 300px; max-width: 280px; }
  .pk-band .pk-wrap { padding-top: 40px; padding-bottom: 40px; }
  .pk-band h2 { font-size: 26px; }
  .pk-main { padding-top: 16px; padding-bottom: 32px; gap: 28px; }
  .pk-card, .pk-dashed { padding: 22px; }
  .pk-path > li.current { margin: 0 -12px; padding: 18px 12px; }
  .pk-seqs { padding-left: 0; }
  .pk-cert { padding: 28px; }
  .pk-frame iframe { min-height: 420px; }
}
