/* Studio Akonta, diagnostic marketing et business.
   Palette v0.3.1 (test), d'après la maquette Bilan Business : ivoire #FAF7F2, encre #1C1E22, terre cuite #C85A32, vert minéral #245943, sable #D8CBBF. Mobile d'abord. */
/* Polices embarquées (licence SIL OFL, voir assets/fonts) : aucun appel réseau. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }
:root {
  --green-900: #1C1E22;
  --green-800: #A9431E;
  --green-700: #B34D28;
  --green-600: #A9431E;
  --mint-50: #F7F3EB;
  --mint-100: #F4EFE6;
  --mint-300: #E8E2D7;
  --mint-500: #D4CCC0;
  --cream: #FAF7F2;
  --cream-2: #F4EFE6;
  --white: #ffffff;
  --ink: #1C1E22;
  --muted: #5C574F;
  --line: #E8E2D7;
  --amber-bg: #fff1da;
  --amber-ink: #7a4300;
  --amber-line: #e9b866;
  --focus: #A9431E;
  --terra: #C85A32;
  --terra-btn: #B34D28;
  --terra-ink: #A9431E;
  --sage: #245943;
  --sand: #D8CBBF;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(35, 25, 20, .03), 0 6px 18px rgba(35, 25, 20, .04);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", 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: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--cream);
}
main { display: block; outline: none; min-height: 60vh; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-family: var(--font-serif); font-size: clamp(1.9rem, 5.5vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 3.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; margin-bottom: .3em; }
p { margin: 0 0 1em; }
a { color: var(--green-700); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .hero :focus-visible { outline-color: #fff; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.result.wrap { max-width: 920px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.offscreen { position: fixed; left: -9999px; top: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--green-900); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.fine { font-size: .92rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--green-600); margin-bottom: .8em; }

/* En-tête */
.site-header { background: var(--green-900); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; padding: 8px 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; }
.brand-text span { font-size: .8rem; color: var(--mint-300); }
.header-nav { display: flex; gap: 8px; align-items: center; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 12px 22px; font: inherit; font-weight: 700; border-radius: 12px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover:not([disabled]) { background: var(--green-800); }
.btn-secondary { background: #fff; color: var(--green-800); border-color: var(--green-700); }
.btn-secondary:hover:not([disabled]) { background: var(--mint-100); }
.btn-danger { background: #fff; color: #8a2a1a; border-color: #b4452f; }
.btn-danger:hover { background: #fdeee9; }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.hero .btn-primary { background: #fff; color: var(--green-900); }
.hero .btn-primary:hover { background: var(--mint-100); }
.hero .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.hero .btn-secondary:hover { background: rgba(255,255,255,.12); }
.link-btn { background: none; border: 0; padding: 12px 6px; min-height: 44px; font: inherit; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn.light { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 .8em; }

/* Présentation */
.hero { background: linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%); color: #fff; padding: 44px 0 52px; }
.hero h1 { color: #fff; max-width: 18em; }
.hero .eyebrow { color: var(--mint-300); }
.hero .lead { font-size: 1.15rem; color: #1C1E22; max-width: 36em; }
.hero .fine { color: var(--mint-300); }
.band { background: var(--cream-2); padding: 40px 0; margin-bottom: 32px; }
.steps { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--muted); }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 700; }
.two-cols { display: grid; gap: 16px; margin-bottom: 16px; }
.wrap > .card, .wrap > section.card, section.wrap { margin-bottom: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card h2 { font-size: 1.35rem; }
.card-mint { background: var(--mint-100); border-color: var(--mint-300); }
.card-amber { background: var(--amber-bg); border-color: var(--amber-line); }
.card-amber h2 { color: var(--amber-ink); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 3px solid var(--green-600); border-bottom: 3px solid var(--green-600); transform: rotate(-45deg); }
.plain { padding-left: 1.1em; }
.plain li { margin-bottom: .7em; }
.link { font-weight: 600; }
.site-footer { background: var(--green-900); color: #F4EFE6; padding: 28px 0; margin-top: 56px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .4em; }
.noscript { padding: 20px; background: var(--amber-bg); color: var(--amber-ink); margin: 0; }

/* Questionnaire */
.quiz { padding-top: 14px; padding-bottom: 28px; }
.quiz-top { margin-bottom: 18px; }
.quiz-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin: 4px 0 8px; font-size: .95rem; color: var(--muted); }
.quiz-section { font-weight: 700; color: var(--green-800); }
.progress { height: 10px; background: var(--cream-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.progress-fill { display: block; height: 100%; width: 0; background: var(--green-600); border-radius: 999px; transition: width .25s; }
fieldset.q { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
fieldset.q legend { font-family: var(--font-serif); font-size: clamp(1.35rem, 4.4vw, 1.75rem); line-height: 1.3; color: var(--green-900); font-weight: 700; padding: 0; margin-bottom: 10px; }
.help { color: var(--muted); margin-top: -4px; }
.options { display: grid; gap: 10px; margin-top: 16px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 60px; cursor: pointer; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--mint-500); }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-box { flex: none; width: 24px; height: 24px; border: 2px solid var(--green-700); border-radius: 50%; background: #fff; position: relative; }
.opt input[type="checkbox"] ~ .opt-box { border-radius: 6px; }
.opt input:checked ~ .opt-box { background: var(--green-700); box-shadow: inset 0 0 0 4px #fff; }
.opt input[type="checkbox"]:checked ~ .opt-box { box-shadow: none; }
.opt input[type="checkbox"]:checked ~ .opt-box::after { content: ""; position: absolute; left: 6px; top: 1px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.opt:has(input:checked) { border-color: var(--green-700); background: var(--mint-50); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt-label { font-size: 1.05rem; }
.opt-unknown .opt-label { color: var(--muted); }
.nav { display: flex; gap: 12px; margin-top: 24px; }
.nav .btn { flex: 1; }
.nav .btn-primary { flex: 2; }
.skip-row { text-align: center; margin: 12px 0 0; }

/* Bilan */
.result { padding-top: 32px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.notice { border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; border: 1px solid; }
.notice p:last-child { margin-bottom: 0; }
.notice-bonne { background: var(--mint-100); border-color: var(--mint-300); }
.notice-moyenne { background: var(--cream-2); border-color: var(--line); }
.notice-limitee { background: var(--amber-bg); border-color: var(--amber-line); color: #4a2900; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--green-800); text-decoration: none; font-weight: 600; font-size: .95rem; }
.toc a:hover { background: var(--mint-100); }
.dims { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.dim { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 12px 0; border-top: 1px solid var(--cream-2); align-items: center; }
.dim:first-child { border-top: 0; }
.dim-name { font-weight: 700; color: var(--green-900); }
.dim-level { display: flex; align-items: center; gap: 10px; }
.dim-label { font-size: .98rem; }
.lvl { display: inline-flex; gap: 4px; }
.seg { display: block; width: 26px; height: 10px; border-radius: 6px; background: var(--cream-2); border: 1px solid var(--line); }
.lvl-fragile .seg.on { background: #d98a1f; border-color: #b36b0a; }
.lvl-consolider .seg.on { background: var(--mint-500); border-color: var(--green-600); }
.lvl-solide .seg.on { background: var(--green-700); border-color: var(--green-800); }
.lvl-inconnu .seg { background: #fff; border-style: dashed; }
.chip { justify-self: start; background: var(--green-800); color: #fff; border-radius: 999px; padding: 2px 12px; font-size: .85rem; font-weight: 700; }

.priority { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--green-700); border-radius: var(--radius); padding: 22px 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
.priority.kind-urgent { border-left-color: #d98a1f; }
.priority.kind-optimiser { border-left-color: var(--mint-500); }
.priority-head { display: flex; gap: 14px; align-items: flex-start; }
.priority-head h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: .4em; }
.rank { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
.badge { display: inline-block; margin: 0 0 4px; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--mint-100); color: var(--green-800); }
.badge-urgent { background: var(--amber-bg); color: var(--amber-ink); }
.badge-clarifier { background: var(--cream-2); color: var(--muted); }
.why { background: var(--mint-50); border-radius: 10px; padding: 12px 16px; margin: 12px 0; }
.why:empty { display: none; }
.why ul { margin: 0 0 .8em; padding-left: 1.2em; }
.why li { margin-bottom: .35em; }
.first-step { border-top: 1px dashed var(--line); padding-top: 12px; }
.time { color: var(--muted); font-size: .92rem; white-space: nowrap; }

.week { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; margin-bottom: 14px; }
.week h3 { margin-bottom: .2em; }
.tasks { list-style: none; padding: 0; margin: 8px 0 8px; }
.task { border-top: 1px solid var(--cream-2); }
.task-label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 4px; cursor: pointer; position: relative; min-height: 52px; }
.task-check { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.task-box { flex: none; width: 26px; height: 26px; margin-top: 2px; border: 2px solid var(--green-700); border-radius: 7px; background: #fff; position: relative; }
.task-check:checked ~ .task-box { background: var(--green-700); }
.task-check:checked ~ .task-box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.task-check:checked ~ .task-text { color: var(--muted); }
.task-label:has(.task-check:focus-visible) { outline: 3px solid var(--focus); outline-offset: 0; border-radius: 8px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 1px 9px; border-radius: 999px; background: var(--mint-100); color: var(--green-800); margin-right: 4px; white-space: nowrap; }
.tag-2 { background: #efe8ff; color: #44307a; }
.tag-3 { background: var(--cream-2); color: #5a4a1d; }

.table-wrap { overflow-x: auto; margin-top: 12px; }
table.track { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
.track th, .track td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.track thead th { background: var(--mint-100); color: var(--green-900); }
.track tbody th { font-weight: 600; width: 46%; }
.track td { width: 13.5%; height: 54px; background: #fff; }
.track .how { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 4px; }

.prose { padding-top: 32px; }
.prose h2 { margin-top: 1.6em; }

@media (min-width: 640px) {
  .two-cols { grid-template-columns: 1fr 1fr; }
  .dim { grid-template-columns: 1.3fr 1.2fr auto; gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; }
  .card { padding: 26px 28px; }
  .priority { padding: 26px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (forced-colors: active) {
  .opt:has(input:checked) { outline: 3px solid Highlight; }
  .seg.on { background: Highlight; }
}

@media print {
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .no-print, .toc, .skip, .nav, .btn, .link-btn { display: none !important; }
  .card, .priority, .week { box-shadow: none; break-inside: avoid; }
  .wrap { max-width: none; }
  a { color: inherit; text-decoration: none; }
  .task-box { border-color: #000; }
  .priority { border: 1px solid #999; border-left-width: 6px; }
}
.badge-confirm { background: var(--amber-bg); color: var(--amber-ink); margin-left: 6px; border: 1px solid var(--amber-line); }
.verify { border-left: 4px solid var(--amber-line); background: var(--amber-bg); border-radius: 8px; padding: 8px 14px; margin-top: 10px; color: #4a2900; }
.verify p { margin: 0; }
[hidden] { display: none !important; }

/* ===== v0.2 : disposition du questionnaire et tableau de bord ===== */
.wrap-wide { max-width: 1040px; }
.quiz-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.quiz-main { min-width: 0; }
.dash { min-width: 0; }
.dash-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dash-box > summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 14px 16px; min-height: 52px; cursor: pointer; list-style: none; align-items: center; }
.dash-box > summary::-webkit-details-marker { display: none; }
.dash-box > summary::after { content: "+"; font-weight: 700; font-size: 1.3rem; color: var(--green-700); margin-left: auto; }
.dash-box[open] > summary::after { content: "–"; }
.dash-title { font-weight: 700; color: var(--green-900); }
.dash-sum { font-size: .9rem; color: var(--muted); }
.dash-box > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dash-body { padding: 4px 16px 16px; }
.dash-note { margin-top: 12px; }
.dash-ring, .overview-ring { max-width: 260px; margin: 0 auto; }
.ring { width: 100%; height: auto; display: block; overflow: visible; }
.ring .seg { cursor: pointer; outline: none; }
.ring .seg-depth { fill: #1C1E22; fill-opacity: .22; }
.ring .seg-face { stroke: #fff; stroke-width: 1.5; }
.ring .seg-couvert .seg-face, .ring .seg-solide .seg-face { fill: url(#gGreen); }
.ring .seg-en_cours .seg-face, .ring .seg-consolider .seg-face { fill: url(#gMint); }
.ring .seg-a_venir .seg-face, .ring .seg-inconnu .seg-face { fill: #f3ecda; }
.ring .seg-fragile .seg-face { fill: url(#gAmber); }
.ring .seg-na .seg-face { fill: #eee9da; }
.ring .seg-mark { fill: none; }
.ring .seg-en_cours .seg-mark, .ring .seg-consolider .seg-mark { fill: url(#pHatch); }
.ring .seg-a_venir .seg-mark, .ring .seg-inconnu .seg-mark, .ring .seg-na .seg-mark { fill: url(#pDots); }
.ring .seg-fragile .seg-mark { fill: url(#pHatch); }
.ring .seg-gloss { fill: none; stroke: #fff; stroke-opacity: .45; stroke-width: 2; stroke-linecap: round; }
.ring .seg-num { font: 700 13px var(--font); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.ring .seg-couvert .seg-num, .ring .seg-solide .seg-num { fill: #fff; stroke: #1C1E22; stroke-width: 2.5px; }
.ring .seg.is-sel .seg-face { stroke: var(--green-900); stroke-width: 3; }
.ring .seg:hover .seg-face { stroke: var(--green-900); stroke-width: 2.2; }
.ring-hole { fill: var(--cream); }
.ring-big { font: 700 34px var(--font-serif); fill: var(--green-900); }
.ring-small { font: 600 12px var(--font); fill: var(--muted); }
.theme-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.theme-btn { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; font: inherit; background: var(--cream); border: 2px solid transparent; border-radius: 12px; padding: 10px 12px; min-height: 52px; cursor: pointer; color: var(--ink); }
.theme-btn:hover { border-color: var(--mint-500); }
.theme-btn.is-sel { border-color: var(--green-700); background: var(--mint-50); }
.theme-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.theme-text { display: grid; gap: 1px; min-width: 0; }
.theme-name { font-weight: 700; }
.theme-state { font-size: .88rem; color: var(--muted); }
.st-couvert { color: var(--green-800); font-weight: 600; }
.theme-panel { margin-top: 14px; background: var(--mint-50); border: 1px solid var(--mint-300); border-radius: 12px; padding: 12px 14px; }
.theme-panel h3 { margin-bottom: .4em; font-size: 1.05rem; }
.answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ans { display: grid; gap: 2px; border-bottom: 1px dashed var(--mint-300); padding-bottom: 8px; }
.ans:last-child { border-bottom: 0; padding-bottom: 0; }
.ans-q { font-size: .9rem; color: var(--muted); }
.ans-a { font-weight: 700; }
.ans-missing { font-weight: 400; font-style: italic; color: var(--amber-ink); }
.dots { list-style: none; display: flex; gap: 6px; margin: 8px 0 4px; padding: 0; }
.dot { flex: 1; height: 8px; border-radius: 4px; background: var(--cream-2); border: 1px solid var(--line); }
.dot-couvert { background: var(--green-700); border-color: var(--green-700); }
.dot-en_cours { background: var(--mint-300); border-color: var(--mint-500); }
.quiz-left { margin: 4px 0 0; }
.skip-row { margin: 6px 0 0; text-align: center; }
.free { margin-top: 16px; }
.free label { display: block; font-weight: 700; margin-bottom: 6px; }
.free textarea { width: 100%; font: inherit; padding: 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); resize: vertical; min-height: 64px; }
.free textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--green-700); }
.q-enter { animation: qfade .18s ease-out; }
@keyframes qfade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .quiz-grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .dash { position: sticky; top: 16px; order: 2; }
  .dash-box > summary { cursor: default; }
  .dash-box > summary::after { content: none; }
}
/* Sur téléphone, la question reste en premier dans le code et à l'écran : le tableau de bord est replié dessous. */

/* ===== v0.2 : bilan ===== */
.opening { border-left: 5px solid var(--green-700); }
.opening p { margin: 0 0 .7em; }
.counters { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.counters li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; text-align: center; display: grid; gap: 2px; }
.cnt { font: 700 1.6rem var(--font-serif); color: var(--green-900); line-height: 1.1; }
.cnt-l { font-size: .82rem; color: var(--muted); line-height: 1.25; }
.cta { margin: 0 0 18px; }
.overview { display: grid; gap: 16px; align-items: center; }
.insight { background: var(--mint-50); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.kb { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 8px; }
.kb > summary { cursor: pointer; font-weight: 700; color: var(--green-800); min-height: 44px; display: flex; align-items: center; gap: 8px; }
.kb > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.kb-count { font-weight: 400; font-size: .85rem; color: var(--muted); }
.kb-item { border-left: 4px solid var(--mint-300); padding: 4px 0 4px 14px; margin: 10px 0 14px; }
.kb-item h5 { font-size: 1rem; margin: 0 0 6px; color: var(--green-900); }
.kb-item p { margin: 0 0 6px; font-size: .96rem; }
.src { margin: 6px 0; padding-left: 18px; font-size: .9rem; color: var(--muted); }
.src a { color: var(--green-700); }
.follow-list { display: grid; gap: 4px; margin: 0 0 14px; }
.follow-list dt { font-weight: 700; color: var(--green-800); margin-top: 8px; }
.follow-list dd { margin: 0; }
.review-box { background: var(--mint-50); border: 1px solid var(--mint-300); border-radius: 12px; padding: 14px 16px; }
.review-box h3 { margin-bottom: .4em; }
.review-box ul { margin: 4px 0 10px; padding-left: 20px; }
.card-mock { border: 2px dashed var(--green-700); background: var(--mint-50); }
.badge-mock { background: var(--green-800); color: #fff; }
.mini-steps { padding-left: 20px; margin: 0 0 12px; }
.sample .stats { padding-left: 18px; margin: 0 0 12px; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; }
.plain { padding-left: 20px; }

@media (min-width: 700px) {
  .overview { grid-template-columns: 240px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .q-enter { animation: none; }
  .opt, .ring * { transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .dash, .dots, .theme-list { display: none !important; }
  .kb:not([open]) > .kb-body { display: block; }
}
@media (min-width: 700px) {
  .dim { grid-template-columns: minmax(0, 1fr) 150px 92px; gap: 10px; }
  .dim .chip { justify-self: end; }
}

/* ===== v0.2.1 ===== */
.quick { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 0 18px; }
.quick .btn { width: 100%; justify-content: center; text-align: center; }
.supports { background: var(--mint-50); border-radius: 8px; padding: 6px 10px; }
@media (min-width: 700px) { .quick { grid-template-columns: repeat(2, 1fr); } }

/* ===== v0.3.1 (test) : direction visuelle de la maquette Bilan Business ===== */
body { font-size: 1rem; line-height: 1.6; }
h1, h2 { font-weight: 500; font-optical-sizing: auto; letter-spacing: -.015em; }
h1 { font-size: clamp(1.7rem, 5.6vw, 2.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.35rem, 3.8vw, 1.7rem); }
h3, .priority h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; }
h4 { font-weight: 700; }
.eyebrow { color: var(--terra-ink); letter-spacing: .1em; font-size: .78rem; }
.fine { color: var(--muted); }
.time { color: var(--muted); }
:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 2px; }

/* En-tête et pied : ivoire, nom en empattement */
.site-header { background: rgba(250,247,242,.96); color: var(--ink); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-row { min-height: 56px; }
.brand { color: var(--ink); gap: 10px; }
.brand-text strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-text span { color: var(--muted); font-size: .78rem; }
.site-header :focus-visible, .hero :focus-visible { outline-color: var(--terra-ink); }
.site-footer { background: var(--cream); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Boutons : terre cuite, 48 px de haut, coins 12 px */
.btn { border-radius: 12px; min-height: 48px; font-weight: 600; font-size: .98rem; }
.btn-primary { background: var(--terra-btn); color: #fff; box-shadow: 0 6px 14px rgba(200,90,50,.15); }
.btn-primary:hover:not([disabled]) { background: var(--terra-ink); }
.btn[disabled] { background: #E5DFD4; color: #5C574F; opacity: 1; box-shadow: none; }
.btn-secondary { background: #fff; color: var(--terra-ink); border-color: var(--terra-btn); }
.btn-secondary:hover:not([disabled]) { background: var(--cream-2); }
.link-btn, .link-btn.light { color: var(--terra-ink); }
a { color: var(--terra-ink); }

/* Présentation */
.hero { background: var(--cream); color: var(--ink); padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.hero h1 { color: var(--ink); }
.hero .eyebrow { color: var(--terra-ink); }
.hero .lead { color: #3D3830; font-size: 1.08rem; }
.hero .fine { color: var(--muted); }
.hero .btn-primary { background: var(--terra-btn); color: #fff; }
.hero .btn-primary:hover { background: var(--terra-ink); }
.hero .btn-secondary { background: #fff; color: var(--terra-ink); border-color: var(--terra-btn); }
.band { background: var(--cream-2); }
.num, .rank { background: var(--terra-btn); }
.card, .priority, .dash-box { border: 1px solid var(--line); border-radius: 16px; }
.card h2::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--terra); margin-bottom: 10px; }
.card-mint { background: #F7F3EB; border-color: var(--line); }
.insight { background: #F7F3EB; border-radius: 10px; }
.verify { background: #FAF2EB; border-left-color: var(--terra); color: #4a2410; }
.badge-mock { background: var(--ink); }

/* Questionnaire : étape en terre cuite, titre en empattement, choix sobres */
.quiz-section { color: var(--terra-ink); font-weight: 700; }
.quiz-count { color: var(--muted); }
.q legend { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.45rem, 5vw, 1.7rem); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.help { color: var(--muted); font-size: .94rem; }
.opt { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 12px; }
.opt:hover { background: #fff; border-color: #D4CCC0; }
.opt:has(input:checked) { background: #fff; border-color: var(--terra); box-shadow: 0 0 0 2px rgba(200,90,50,.2); }
.opt-label { font-weight: 600; color: var(--ink); }
.opt-box { border-color: #8F887C; background: var(--cream); }
.opt input:checked + .opt-box, .opt:has(input:checked) .opt-box { background: var(--terra-btn); border-color: var(--terra-btn); }
.nav .btn-primary::after { content: "\2192"; margin-left: 8px; }
.nav .btn-secondary { background: transparent; border-color: var(--line); color: var(--muted); }

/* Anneau : vert minéral = terminé, terre cuite = en cours, sable = à venir */
.ring .seg-depth { fill: #181A1D; fill-opacity: .1; }
.ring .seg-face { stroke: var(--cream); stroke-width: 1.25; }
.ring .seg-couvert .seg-face, .ring .seg-solide .seg-face { fill: url(#gGreen); }
.ring .seg-en_cours .seg-face { fill: url(#gTerra); }
.ring .seg-consolider .seg-face { fill: url(#gTerraLight); }
.ring .seg-fragile .seg-face { fill: url(#gTerra); }
.ring .seg-a_venir .seg-face, .ring .seg-inconnu .seg-face { fill: url(#gSand); }
.ring .seg-na .seg-face { fill: #EFE8DD; }
.ring .seg-mark { fill: none; }
.ring .seg-consolider .seg-mark { fill: url(#pHatch); }
.ring .seg-a_venir .seg-mark, .ring .seg-inconnu .seg-mark, .ring .seg-na .seg-mark { fill: none; }
.ring .seg-gloss { display: none; }
.ring .seg-num { fill: #1C1E22; stroke: none; font-weight: 700; }
.ring .seg-couvert .seg-num, .ring .seg-solide .seg-num, .ring .seg-en_cours .seg-num, .ring .seg-fragile .seg-num { fill: #fff; stroke: none; }
.ring .seg.is-sel .seg-face { stroke: var(--ink); stroke-width: 2.5; }
.ring .seg:hover .seg-face { stroke: var(--ink); stroke-width: 2; }
.ring-hole { fill: var(--cream); }
.ring-eyebrow { font: 600 9px var(--font); letter-spacing: .1em; fill: #5C574F; text-transform: uppercase; }
.ring-big { font: 600 30px var(--font); fill: var(--ink); }
.ring-small { font: 500 10.5px var(--font); fill: #5C574F; }
.theme-btn { background: transparent; border-radius: 12px; }
.theme-btn.is-sel { background: #fff; border-color: var(--terra); }
.theme-num { background: var(--ink); }
.theme-state { color: var(--muted); }
.st-couvert { color: var(--sage); font-weight: 700; }
.st-en_cours { color: var(--terra-ink); font-weight: 700; }
.theme-panel { background: #fff; border-color: var(--line); }
.dot-couvert { background: var(--sage); border-color: var(--sage); }
.dot-en_cours { background: var(--terra); border-color: var(--terra); }
.dash-box > summary::after { color: var(--terra-ink); }

/* Fiche « Préparer ma première action » : bouton terre cuite qui ouvre la feuille de route */
.prep { margin-top: 16px; border: 0; background: none; }
.prep > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; min-height: 52px; padding: 12px 18px; cursor: pointer; list-style: none; font-weight: 600; color: #fff; background: var(--terra-btn); border-radius: 12px; box-shadow: 0 6px 14px rgba(200,90,50,.15); }
.prep > summary:hover { background: var(--terra-ink); }
.prep > summary::-webkit-details-marker { display: none; }
.prep > summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg) translateY(-2px); margin-left: auto; }
.prep[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.prep > summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.prep-sum { flex-basis: 100%; order: 3; font-weight: 400; font-size: .85rem; color: #fff; opacity: .95; margin-top: -4px; }
.prep-body { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 10px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.prep-head { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.prep-head .fine { margin: 0 0 4px; }
.prep-head h3 { margin: 0; font-size: 1.25rem; }
.prep-sec h5 { margin: 0 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--terra-ink); }
.prep-sec.sage h5 { color: var(--sage); }
.prep-sec.ink h5 { color: var(--ink); }
.prep-box { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.prep-box p { margin: 0; }
.prep-q { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; }
.prep-q .fine { margin: 0 0 4px; font-weight: 700; }
.prep-q p { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 500; line-height: 1.4; }

/* Catégories de suivi : barre empilée (exemple chiffré) ou cases à renseigner */
.catbar { display: flex; gap: 4px; background: #F0EBE1; border-radius: 10px; padding: 4px; min-height: 40px; }
.catbar span { display: grid; place-items: center; border-radius: 6px; font-weight: 700; font-size: .85rem; min-width: 28px; }
.catlegend { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; padding: 0; margin: 10px 0 4px; font-size: .88rem; font-weight: 600; }
.catlegend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.todo-note { font-size: .78rem; font-weight: 700; color: #7A3A12; background: #FAF2EB; border-radius: 8px; padding: 4px 10px; display: inline-block; margin-bottom: 8px; }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 8px 0; }
.slots div { min-height: 56px; border: 2px dashed #CFC5B4; border-radius: 10px; background: var(--cream); display: grid; place-items: center; text-align: center; font-size: .72rem; color: #5C574F; padding: 4px; }
.slots b { display: block; font-size: .9rem; color: #1C1E22; }
.cats thead th { background: var(--cream-2); }
.cats th, .cats td { border-color: var(--line); }
.demo-flag { background: var(--ink); }

/* Carte du Studio en fin de bilan */
.studio { border: 1px solid var(--line); border-left: 6px solid var(--terra); background: #fff; border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.studio .sign { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-ink); margin: 0 0 6px; }
.studio h2 { font-size: 1.25rem; }
.studio h2::before { display: none; }
.studio p { margin: 0 0 12px; }
.studio .ask-q { font-weight: 600; }
.studio .choices { display: grid; gap: 8px; margin: 10px 0; }
.studio .choices .btn { justify-content: flex-start; text-align: left; width: 100%; }
.studio .choices .btn[aria-pressed="true"] { border-width: 3px; background: #F7F3EB; }
.studio textarea { width: 100%; font: inherit; padding: 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 96px; resize: vertical; }
.studio textarea:focus-visible { outline: 3px solid var(--terra-ink); border-color: var(--terra-ink); }
.studio .notice-test { background: #FAF2EB; border-radius: 10px; padding: 8px 12px; font-size: .92rem; color: #4a2410; }

@media (min-width: 900px) {
  .quiz-main { max-width: 600px; }
}
/* Téléphone : question, choix et bouton principal d'abord */
@media (max-width: 699px) {
  .quiz-top { display: grid; gap: 0; }
  .quiz-top .quiz-left, .quiz-top .dots { display: none; }
  .quiz-meta { margin: 6px 0; }
  .nav { position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(250,247,242,0) 0, var(--cream) 22%); padding: 14px 0 12px; margin-top: 14px; z-index: 5; }
  .opt { min-height: 60px; }
  .dash { margin-top: 6px; }
  .prep-body { padding: 16px; }
  .slots { gap: 5px; }
  .cats { table-layout: fixed; font-size: .88rem; }
  .cats th, .cats td { padding: 6px 7px; overflow-wrap: anywhere; }
  .cats td.val { width: 27%; }
}

.cats { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 8px 0 4px; }
.cats th, .cats td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; background: #fff; }
.cats td.val { text-align: center; width: 24%; height: 44px; }
.cats td.demo { font-weight: 700; color: var(--ink); }
.cats .hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.demo-flag { display: inline-block; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.cat-renouvellement { background: #245943; color: #fff; }
.cat-pause { background: #8A6D3B; color: #fff; }
.cat-arret { background: #B34D28; color: #fff; }
.cat-inconnu { background: #D8CBBF; color: #1C1E22; }
.prep-q .ctx { font-family: var(--font); font-style: normal; font-weight: 400; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.studio-contact .sign { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-ink); margin: 0 0 6px; }
.studio-contact h2 { font-size: 1.25rem; }
.studio-contact .actions .btn { width: 100%; }
@media (min-width: 700px) { .studio-contact .actions .btn { width: auto; } }
