/* KILICASA — pages SEO (calculateurs, hubs, embed).
   Mêmes couleurs et polices que la landing (kilicasa-site/assets/css/style.css). */

:root {
  --gold: #c9a45c;
  --gold-ink: #8a6a2a;
  --cream: #FDF4E7;
  --cream-2: #FBEEDC;
  --dark: #303434;
  --ink: #26232B;
  --muted: #3d3830;
  --line: rgba(38, 35, 43, 0.18);
  --error: #9b1c1c;
  --focus: #26232B;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--ink); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

h1, h2 { font-family: 'Krona One', sans-serif; font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(26px, 5vw, 42px); margin: 8px 0 16px; }
h2 { font-size: clamp(19px, 2.6vw, 24px); margin: 0 0 14px; }
h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }

.kc-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream); padding: 10px 16px; z-index: 100;
}
.kc-skip:focus { left: 12px; top: 12px; }

/* Le pied de page est dans chrome.css (commun à tout le site). */

/* ---------- layout ---------- */
.kc-main { max-width: 880px; margin: 0 auto; padding: 20px 20px 0; }
.kc-intro { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 70ch; }
.kc-section { margin: 48px 0 0; }
.kc-section p { max-width: 72ch; }

.kc-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.kc-breadcrumb li + li::before { content: '›'; margin-right: 6px; }

/* ---------- buttons ---------- */
.kc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; cursor: pointer; border: 2px solid var(--ink); text-align: center;
}
.kc-btn--dark { background: var(--ink); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .kc-btn--dark:hover { background: #000; } }
.kc-btn--outline { background: transparent; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .kc-btn--outline:hover { background: var(--ink); color: var(--cream); } }

/* ---------- calculator ---------- */
.kc-calc {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; display: grid; gap: 20px;
}
@media (min-width: 760px) { .kc-calc { padding: 28px; } }
/* Les enfants d'une grille ne rétrécissent pas sous leur contenu par défaut :
   sans min-width: 0, un tableau large ferait déborder la page sur mobile. */
.kc-calc > *, .kc-form > *, .kc-channel > * { min-width: 0; }

.kc-form { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .kc-form { grid-template-columns: 1fr 1fr; } }
.kc-form--channels { grid-template-columns: 1fr; }

.kc-field { display: flex; flex-direction: column; gap: 6px; }
.kc-field[hidden] { display: none; }
.kc-field--wide, .kc-field--check, .kc-actions { grid-column: 1 / -1; }
.kc-field label, .kc-channel legend { font-weight: 500; font-size: 15px; }
.kc-field--check { flex-direction: row; align-items: center; gap: 10px; }
.kc-field--check input { width: 22px; height: 22px; accent-color: var(--ink); }

.kc-input {
  display: flex; align-items: center; background: var(--cream);
  border: 1.5px solid rgba(38, 35, 43, 0.45); border-radius: 10px; padding: 0 12px;
}
.kc-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.kc-input input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: inherit; font-size: 17px; color: var(--ink); padding: 11px 0; font-variant-numeric: tabular-nums;
}
.kc-input input[aria-invalid] { color: var(--error); }
.kc-input:has(input[aria-invalid]) { border-color: var(--error); }
.kc-affix { color: var(--muted); font-weight: 500; padding: 0 6px 0 0; }
.kc-input input + .kc-affix { padding: 0 0 0 6px; }

select {
  font-family: inherit; font-size: 16px; color: var(--ink); background: var(--cream);
  border: 1.5px solid rgba(38, 35, 43, 0.45); border-radius: 10px; padding: 11px 12px;
}

.kc-hint { margin: 0; font-size: 14px; color: var(--muted); }

.kc-channel {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 16px; margin: 0;
  display: grid; gap: 12px; grid-template-columns: 1fr;
}
@media (min-width: 600px) { .kc-channel { grid-template-columns: repeat(3, 1fr); } }
.kc-channel legend { padding: 0 6px; font-family: 'Krona One', sans-serif; font-size: 14px; }

.kc-result {
  background: var(--dark); color: var(--cream); border-radius: 12px; padding: 18px 20px; min-height: 80px;
}
.kc-result:focus { outline: none; }
.kc-result:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.kc-result a { color: var(--cream); }
.kc-list { margin: 0; display: grid; gap: 4px; }
.kc-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid rgba(253, 244, 231, 0.18); }
.kc-row:last-child { border-bottom: 0; }
.kc-row dt { font-weight: 300; }
.kc-row dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kc-row--strong dt { font-weight: 500; }
.kc-row--strong dd { font-family: 'Krona One', sans-serif; font-weight: 400; font-size: 20px; }
.kc-note { margin: 12px 0 0; font-size: 15px; opacity: 0.92; }
.kc-error { margin: 0; font-weight: 500; color: #ffd7d7; }

.kc-details { margin-top: 14px; }
.kc-details summary { cursor: pointer; font-weight: 500; }
.kc-table-wrap { overflow-x: auto; margin-top: 10px; }
.kc-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.kc-table th, .kc-table td { padding: 6px 10px; text-align: right; border-bottom: 1px solid rgba(253, 244, 231, 0.18); }
.kc-table td { white-space: nowrap; }
.kc-table thead th { vertical-align: bottom; font-weight: 500; }
.kc-table th:first-child { text-align: left; }
.kc-main .kc-section .kc-table th, .kc-main .kc-section .kc-table td { border-bottom-color: var(--line); }

.kc-bars-title { margin: 18px 0 8px; font-weight: 500; }
.kc-bars { display: grid; gap: 8px; }
.kc-bar { display: grid; grid-template-columns: minmax(0, 110px) 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.kc-bar__track { background: rgba(253, 244, 231, 0.15); border-radius: 4px; height: 12px; overflow: hidden; }
.kc-bar__fill { display: block; height: 100%; width: 0; background: var(--cream); border-radius: 4px; }
.kc-bar__value { text-align: right; font-variant-numeric: tabular-nums; }

.kc-sources { display: grid; gap: 2px; }
.kc-source { margin: 0; font-size: 14px; color: var(--muted); }

.kc-cta { margin: 28px 0 0; }
.kc-cta--primary {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}

.kc-disclaimer { margin: 40px 0 0; font-size: 14px; color: var(--muted); font-style: italic; }

.kc-faq__item { padding: 14px 0; border-top: 1px solid var(--line); }
.kc-faq__item p { margin: 0; }

.kc-related ul { padding-left: 20px; margin: 0; }
.kc-related li { margin: 6px 0; }

/* ---------- hub ---------- */
.kc-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .kc-cards { grid-template-columns: 1fr 1fr; } }
.kc-card a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
@media (hover: hover) and (pointer: fine) { .kc-card a:hover { border-color: var(--ink); } }
.kc-card h2 { font-size: 18px; }
.kc-card p { margin: 0 0 12px; color: var(--muted); }
.kc-card__go { margin-top: auto; font-weight: 500; }

/* ---------- embed guide ---------- */
.kc-preview { display: block; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.kc-snippet { margin-top: 12px; display: grid; gap: 10px; justify-items: start; }
.kc-snippet pre {
  margin: 0; width: 100%; overflow-x: auto; background: var(--dark); color: var(--cream);
  padding: 14px 16px; border-radius: 10px; font-size: 13px; white-space: pre-wrap; word-break: break-all;
}

/* ---------- embed (iframe) ---------- */
.kc-embed { background: var(--cream); }
.kc-embed__main { padding: 12px; }
.kc-embed__title { font-size: 20px; margin: 0 0 12px; }
.kc-embed .kc-disclaimer { margin-top: 12px; }
.kc-powered { margin: 6px 0 0; font-size: 14px; }
.kc-powered a { font-weight: 500; }

/* =====================================================================
   Refonte des pages calculateurs : plus épuré, en deux étapes
   (1. vos chiffres → 2. votre résultat), résultat fixe à droite sur desktop.
   ===================================================================== */
.kc-main { max-width: 1180px; padding: 28px var(--page-gutter, 20px) 0; }
.kc-breadcrumb ol { font-size: 13px; color: #7a746b; }
.kc-breadcrumb a { color: inherit; text-decoration: none; }
.kc-breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.kc-head { margin: 18px 0 30px; max-width: 760px; }
.kc-kicker { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a6a2a; }
.kc-head h1 { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; }
.kc-intro { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: #5b5f66; margin: 0; }

.kc-calc {
  gap: 0; padding: 0; overflow: clip;
  border: 1px solid rgba(38, 35, 43, .08); border-radius: 24px;
  box-shadow: 0 30px 60px -45px rgba(0, 0, 0, .35);
}
.kc-calc__in { padding: 24px; }
.kc-calc__out { padding: 24px; background: #faf6ef; border-top: 1px solid rgba(38, 35, 43, .06); display: grid; gap: 14px; align-content: start; }
@media (min-width: 960px) {
  .kc-calc { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .kc-calc__in { padding: 32px; }
  .kc-calc__out { padding: 32px; border-top: 0; border-left: 1px solid rgba(38, 35, 43, .06); }
  .kc-calc__sticky { position: sticky; top: 24px; }
}

.kc-step { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.kc-step span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 12px; letter-spacing: 0; }
.kc-calc__sticky { display: grid; gap: 14px; align-content: start; }
.kc-calc__out .kc-step { margin: 0 0 4px; }

.kc-form { gap: 18px 16px; }
.kc-field { gap: 7px; }
.kc-field label, .kc-channel legend { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.kc-input {
  background: #fff; border: 1px solid rgba(38, 35, 43, .16); border-radius: 12px; padding: 0 14px; min-height: 52px;
  transition: border-color .15s, box-shadow .15s;
}
.kc-input:hover { border-color: rgba(38, 35, 43, .32); }
.kc-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(38, 35, 43, .1); }
.kc-input input { font-size: 17px; font-weight: 500; padding: 13px 0; }
.kc-affix { color: #8b8378; font-weight: 500; }
select { background: #fff; border: 1px solid rgba(38, 35, 43, .16); border-radius: 12px; min-height: 52px; padding: 12px 14px; }
.kc-hint { font-size: 13px; line-height: 1.45; color: #7a746b; }

.kc-optional { grid-column: 1 / -1; border: 1px dashed rgba(38, 35, 43, .2); border-radius: 14px; padding: 0 16px; }
.kc-optional[open] { padding-bottom: 16px; border-style: solid; border-color: rgba(38, 35, 43, .1); background: #fdfbf7; }
.kc-optional summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 0; font-weight: 600; font-size: 14.5px; }
.kc-optional summary::-webkit-details-marker { display: none; }
.kc-optional summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.kc-optional[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.kc-optional summary span { font-weight: 400; font-size: 13px; color: #7a746b; }
.kc-form--nested { padding-top: 4px; }

.kc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 4px; }
.kc-actions .kc-hint { margin: 0; }
.kc-btn { font-weight: 600; letter-spacing: .01em; border-width: 1.5px; min-height: 48px; padding: 10px 24px; }

.kc-result { border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .6); }
.kc-row { padding: 9px 0; font-size: 15px; }
.kc-row--strong { padding-bottom: 14px; margin-bottom: 4px; }
.kc-row--strong dt { align-self: center; }
.kc-row--strong dd { font-size: clamp(24px, 2.4vw, 30px); }
.kc-source { font-size: 13px; color: #7a746b; }
.kc-source a { color: inherit; }

.kc-channel { border-color: rgba(38, 35, 43, .1); border-radius: 16px; padding: 14px 18px 18px; background: #fdfbf7; }
.kc-channel legend { font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 700; }

.kc-cta { margin-top: 40px; display: flex; justify-content: center; }
.kc-cta--primary {
  flex-direction: column; align-items: center; text-align: center; gap: 0;
  background: var(--dark); color: var(--cream); border: 0; border-radius: 24px;
  padding: clamp(32px, 5vw, 48px) 24px;
}
.kc-cta__kicker { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #d9c29a; }
.kc-cta__title { margin: 0 0 22px; max-width: 520px; font-family: 'Krona One', sans-serif; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; }
.kc-cta__btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .kc-cta__btn:hover { background: #fff; border-color: #fff; } }
.kc-cta__btn span { display: inline-block; transition: transform .2s; }
@media (hover: hover) and (pointer: fine) { .kc-cta__btn:hover span { transform: translateX(3px); } }
.kc-section { margin-top: 64px; max-width: 820px; }
.kc-section h2, .kc-faq h2 { font-size: clamp(20px, 2.2vw, 26px); text-transform: uppercase; }
.kc-section p { color: #4b4f56; }
.kc-faq__list { display: grid; gap: 10px; }
.kc-faq__item { padding: 0; border: 1px solid rgba(38, 35, 43, .08); border-radius: 16px; background: #fff; transition: border-color .2s; }
.kc-faq__item[open] { border-color: rgba(38, 35, 43, .2); }
@media (hover: hover) and (pointer: fine) { .kc-faq__item:hover { border-color: rgba(38, 35, 43, .2); } }
.kc-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.kc-faq__item summary::-webkit-details-marker { display: none; }
.kc-faq__item h3 { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.kc-faq__icon { position: relative; flex: none; margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: #f3efe8; }
.kc-faq__icon::before, .kc-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s cubic-bezier(.23,1,.32,1); }
.kc-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.kc-faq__item[open] .kc-faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.kc-faq__item > p { margin: 0; padding: 0 20px 20px; line-height: 1.6; }
.kc-faq__item[open] > p { animation: kcFaqIn .2s cubic-bezier(.23,1,.32,1) both; }
@keyframes kcFaqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.kc-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kc-related li { margin: 0; }
.kc-related a { display: inline-flex; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(38, 35, 43, .1); text-decoration: none; font-weight: 500; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .kc-related a:hover { border-color: var(--ink); } }

/* Hub : cartes plus aérées */
.kc-cards { gap: 18px; margin-top: 8px; }
@media (min-width: 1000px) { .kc-cards { grid-template-columns: repeat(3, 1fr); } }
.kc-card a { border-color: rgba(38, 35, 43, .08); border-radius: 20px; padding: 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
@media (hover: hover) and (pointer: fine) { .kc-card a:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .35); } }
.kc-card h2 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 19px; text-transform: none; }
.kc-card p { font-size: 15px; color: #5b5f66; }

/* =========================== Guide « ? » =========================== */
.kc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kc-help {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--cream); font: 600 24px/1 'Jost', sans-serif;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .5);
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
@media (hover: hover) and (pointer: fine) { .kc-help:hover { transform: scale(1.06); } }
.kc-help[aria-expanded="true"] { transform: rotate(-12deg) scale(.96); }
.kc-help--hint::before, .kc-help--hint::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink);
  animation: kcPulse 2.2s cubic-bezier(.2,.8,.2,1) 3;
}
.kc-help--hint::after { animation-delay: 1.1s; }
@keyframes kcPulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }

.kc-guide {
  position: fixed; right: 24px; bottom: 92px; z-index: 70;
  width: min(360px, calc(100vw - 32px));
  padding: 18px 18px 18px; border-radius: 22px;
  background: #fff; border: 1px solid rgba(38, 35, 43, .08);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .45);
  transform-origin: calc(100% - 28px) calc(100% + 40px);
}
.kc-guide.is-in { animation: kcGuideIn .22s cubic-bezier(.23,1,.32,1) both; }
@keyframes kcGuideIn { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes kcModalIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.kc-guide__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.kc-guide__title { margin: 0; font-family: 'Krona One', sans-serif; font-size: 15px; text-transform: uppercase; }
.kc-guide__close { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #f3efe8; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.kc-guide__steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.kc-guide__step { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 10px; border-radius: 14px; transition: background .3s; }
.kc-guide.is-in .kc-guide__step { animation: kcStepIn .3s cubic-bezier(.23,1,.32,1) both; }
.kc-guide.is-in .kc-guide__step:nth-child(1) { animation-delay: .04s; }
.kc-guide.is-in .kc-guide__step:nth-child(2) { animation-delay: .09s; }
.kc-guide.is-in .kc-guide__step:nth-child(3) { animation-delay: .15s; }
@keyframes kcStepIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.kc-guide__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(38, 35, 43, .25); font-size: 13px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.kc-guide__step b { display: block; font-size: 15px; margin: 3px 0 2px; }
.kc-guide__step p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #5b5f66; }
.kc-guide__step.is-current { background: #faf6ef; }
.kc-guide__step.is-current .kc-guide__num { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.kc-guide__play { width: 100%; }

@media (max-width: 640px) {
  .kc-help { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .kc-guide { right: 16px; bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .kc-help--hint::before, .kc-help--hint::after, .kc-guide.is-in, .kc-guide.is-in .kc-guide__step, .kc-demo.is-in .kc-demo__card { animation: none; }
}
/* Tableau par canal : résultat large, donc empilé sous le formulaire. */
@media (min-width: 960px) {
  .kc-calc--stack { grid-template-columns: 1fr; }
  .kc-calc--stack .kc-calc__out { border-left: 0; border-top: 1px solid rgba(38, 35, 43, .06); }
  .kc-calc--stack .kc-calc__sticky { position: static; }
}
/* Deux colonnes : libellé, champ et aide alignés d'une colonne à l'autre,
   même quand un libellé passe sur deux lignes (subgrid sur trois rangées). */
@media (min-width: 600px) {
  @supports (grid-template-rows: subgrid) {
    .kc-form:not(.kc-form--channels) > .kc-field:not(.kc-field--wide):not(.kc-field--check) {
      display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 7px; align-content: start;
    }
    .kc-form > .kc-field > label { align-self: end; }
    .kc-form > .kc-field > .kc-hint { margin: 0; }
  }
}

/* =========================== Démo « Show me » =========================== */
.kc-demo-open { overflow: hidden; }
.kc-demo { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.kc-demo[hidden] { display: none; }
.kc-demo__backdrop { position: absolute; inset: 0; background: rgba(20, 18, 24, .55); backdrop-filter: blur(4px); }
.kc-demo.is-in .kc-demo__backdrop { animation: kcFade .3s ease both; }
@keyframes kcFade { from { opacity: 0; } }
.kc-demo__card {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  background: #fff; border-radius: 26px; padding: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
}
.kc-demo.is-in .kc-demo__card { animation: kcModalIn .26s cubic-bezier(.23,1,.32,1) both; }
.kc-demo__screen { position: relative; overflow: hidden; margin: 6px 0 16px; padding: 18px; border-radius: 18px; background: #faf6ef; border: 1px solid rgba(38, 35, 43, .06); }
.kc-demo__mock { display: grid; gap: 14px; }
.kc-demo__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.kc-demo__field { display: grid; gap: 6px; min-width: 0; }
.kc-demo__label { font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-demo__input {
  display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 10px;
  background: #fff; border: 1px solid rgba(38, 35, 43, .16); font-size: 15px; font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}
.kc-demo__input.is-focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(38, 35, 43, .1); }
.kc-demo__affix { color: #8b8378; }
.kc-demo__affix--end { margin-left: auto; }
.kc-demo__val { white-space: pre; }
.kc-demo__val.is-selected { background: #cfe0ff; border-radius: 3px; }
.kc-demo__caret { width: 1.5px; height: 18px; background: var(--ink); opacity: 0; }
.kc-demo__input.is-focus .kc-demo__caret { animation: kcCaret 1s steps(1) infinite; }
@keyframes kcCaret { 0% { opacity: 1; } 50% { opacity: 0; } }
.kc-demo__btn {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 600;
  transition: transform .15s;
}
.kc-demo__btn.is-press, .kc-demo__input.is-press { transform: scale(.96); }
.kc-demo__result {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px;
  padding: 16px 18px; border-radius: 16px; background: var(--dark); color: var(--cream);
  opacity: .25; filter: saturate(0); transition: opacity .5s, filter .5s;
}
.kc-demo__res-label { font-size: 14px; font-weight: 500; }
.kc-demo__res-value { font-family: 'Krona One', sans-serif; font-size: 22px; transform: translateY(8px); opacity: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1) .15s, opacity .6s .15s; }
.kc-demo__res-line { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(253, 244, 231, .14); transform-origin: left; transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.kc-demo__res-line:nth-of-type(4) { width: 70%; transition-delay: .35s; }
.kc-demo__res-line:nth-of-type(5) { width: 85%; transition-delay: .45s; }
.kc-demo__res-line:nth-of-type(3) { transition-delay: .25s; }
.kc-demo__result.is-on { opacity: 1; filter: none; }
.kc-demo__result.is-on .kc-demo__res-value { transform: none; opacity: 1; }
.kc-demo__result.is-on .kc-demo__res-line { transform: none; }
.kc-demo__cursor { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; transition: transform .7s cubic-bezier(.45,.05,.25,1), opacity .4s; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.kc-demo__cursor svg { display: block; transition: transform .15s; }
.kc-demo__cursor.is-click svg { transform: scale(.8); }
.kc-demo__cursor.is-away { opacity: 0; }
.kc-demo__steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kc-demo__steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #8b8378; transition: color .3s; }
.kc-demo__steps li span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(38, 35, 43, .2); font-size: 11.5px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.kc-demo__steps li.is-current, .kc-demo__steps li.is-done { color: var(--ink); }
.kc-demo__steps li.is-current span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.kc-demo__steps li.is-done span { background: #e9dcc2; border-color: #e9dcc2; }
.kc-demo__bar { height: 4px; border-radius: 4px; background: #f0ebe2; overflow: hidden; margin-bottom: 16px; }
.kc-demo__bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--ink); border-radius: inherit; transition: transform .5s cubic-bezier(.23, 1, .32, 1); }
.kc-demo__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 480px) {
  .kc-demo__screen { padding: 12px; }
  .kc-demo__form { gap: 8px; }
  .kc-demo__label { font-size: 11.5px; }
  .kc-demo__input { padding: 0 9px; font-size: 13.5px; gap: 4px; }
  .kc-demo__steps { gap: 6px; }
  .kc-demo__steps li { font-size: 11.5px; gap: 6px; line-height: 1.2; }
  .kc-demo__actions .kc-btn { flex: 1; }
}
/* La modale tient dans l'écran sans barre de défilement visible : en cas de
   petit écran, la maquette se resserre ; le défilement reste possible en dernier
   recours, mais sans barre. */
.kc-demo__card { scrollbar-width: none; }
.kc-demo__card::-webkit-scrollbar { display: none; }
.kc-demo .kc-guide__head { margin-bottom: 4px; }
@media (max-height: 820px) {
  .kc-demo__card { padding: 16px 18px; border-radius: 22px; }
  .kc-demo__screen { padding: 14px; margin: 4px 0 12px; }
  .kc-demo__mock { gap: 10px; }
  .kc-demo__form { gap: 8px 10px; }
  .kc-demo__field { gap: 4px; }
  .kc-demo__input { height: 36px; font-size: 14px; }
  .kc-demo__btn { height: 34px; font-size: 13px; }
  .kc-demo__result { padding: 12px 14px; gap: 6px 12px; }
  .kc-demo__res-value { font-size: 18px; }
  .kc-demo__res-line { height: 6px; }
  .kc-demo__steps { margin-bottom: 10px; }
  .kc-demo__bar { margin-bottom: 12px; }
  .kc-demo__actions .kc-btn { min-height: 42px; padding: 8px 20px; }
}
@media (max-height: 640px) {
  .kc-demo__res-line { display: none; }
  .kc-demo .kc-demo__steps { display: none; }
}

/* Coût par lead : carte KILICASA (prix fixe, rien à saisir) */
.kc-channel--kilicasa { display: block; background: var(--ink); color: var(--cream); border: 0; }
.kc-channel--kilicasa p { margin: 0; }
.kc-channel__name { font: 600 13px/1.2 'Jost', sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.kc-channel__price { margin: 6px 0 4px !important; font: 600 22px/1.2 'Jost', sans-serif; }
.kc-channel--kilicasa .kc-hint { color: rgba(253, 244, 231, .75); }
.kc-row--kilicasa th, .kc-row--kilicasa td { font-weight: 700; color: var(--gold); }
.kc-bar--kilicasa .kc-bar__label, .kc-bar--kilicasa .kc-bar__value { font-weight: 700; color: var(--gold); }
.kc-bar--kilicasa .kc-bar__fill { background: var(--gold); }

/* =====================================================================
   Comparatifs (Lot 2) — KILICASA en avant
   ===================================================================== */
.kc-draft-banner { position: sticky; top: 0; z-index: 60; margin: 0; padding: 6px 12px; background: var(--gold-ink); color: #fff; font: 600 12px/1.4 'Jost', sans-serif; letter-spacing: .12em; text-align: center; }
.kc-compare { --vs-ink: #26232b; --vs-gold: #c9a45c; --vs-line: rgba(38, 35, 43, .09); }
.kc-compare .kc-section { margin-top: clamp(48px, 7vw, 88px); }
.kc-compare .kc-section > h2 { margin: 0 0 22px; }
.kc-compare .kc-kicker { margin: 0 0 10px; }

/* hero */
.kc-vs-hero { margin: 18px 0 0; max-width: 980px; }
.kc-vs-hero h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -.01em; }
.kc-vs-hero .kc-intro { max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); }
.kc-scoreboard { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 32px; }
.kc-score { flex: 1 1 180px; display: grid; align-content: start; gap: 6px; padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--vs-line); }
.kc-score p { margin: 0; }
.kc-score--us { background: var(--vs-ink); color: var(--cream); box-shadow: 0 24px 48px -28px rgba(38, 35, 43, .7); }
.kc-score__logo { height: 22px; width: auto; }
.kc-score__name { font: 600 15px/22px 'Jost', sans-serif; letter-spacing: .02em; color: #6b6f76; }
.kc-score__num { font: 400 20px/1 'Krona One', sans-serif; color: #9ca3af; margin-top: 10px !important; }
.kc-score__num strong { font-size: 44px; font-weight: 400; color: var(--vs-ink); }
.kc-score--us .kc-score__num { color: rgba(253, 244, 231, .5); }
.kc-score--us .kc-score__num strong { color: var(--vs-gold); }
.kc-score__label { font-size: 13.5px; color: #7a746b; }
.kc-score--us .kc-score__label { color: rgba(253, 244, 231, .7); }
.kc-vs-badge { align-self: center; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 1px var(--vs-line); font: 400 12px/1 'Krona One', sans-serif; color: var(--vs-ink); }
@media (max-width: 640px) { .kc-vs-badge { display: none; } }

/* tableau */
.kc-vs { font-size: 15px; background: #fff; border-radius: 22px; border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: 0 0 0 1px var(--vs-line), 0 30px 60px -50px rgba(0, 0, 0, .35); }
.kc-vs th, .kc-vs td { text-align: left; padding: 14px 18px; vertical-align: middle; white-space: normal; border-bottom: 1px solid var(--vs-line); }
.kc-vs thead th { padding: 18px; font: 600 15px/1.3 'Jost', sans-serif; background: #faf6ef; border-bottom: 0; }
.kc-vs tbody th { font-weight: 500; color: var(--vs-ink); width: 30%; }
.kc-vs td { color: #4a4d53; min-width: 170px; }
.kc-vs .kc-us { background: #fffaf1; }
.kc-vs thead .kc-us { background: var(--vs-ink); }
.kc-us__logo { display: block; height: 20px; width: auto; }
.kc-vs__group th { padding: 22px 18px 8px; background: transparent; font: 600 12px/1.2 'Jost', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #8a6a2a; border-bottom: 0; }
.kc-vs tbody tr:last-child > * { border-bottom: 0; }
.kc-cell { display: flex; align-items: center; gap: 10px; }
.kc-cell__note { font-size: 14px; line-height: 1.4; }
.kc-vs td:not(.kc-us) .kc-cell__note { color: #6b6f76; }
.kc-vs .kc-us .kc-cell__note { color: var(--vs-ink); font-weight: 500; }
.kc-mark { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.kc-mark svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.kc-mark--yes { background: #16a34a; color: #fff; }
.kc-mark--no { background: #fee2e2; color: #dc2626; }
.kc-mark--partial { background: #f4ead6; color: var(--gold-ink); }
.kc-vs td:not(.kc-us) .kc-mark--no + .kc-cell__note { font: 600 12px/1 'Jost', sans-serif; letter-spacing: .14em; color: #dc2626; }

/* limites des concurrents */
.kc-cons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.kc-con { padding: 26px 26px 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--vs-line); }
.kc-con h3 { margin: 0 0 14px; font-size: 19px; line-height: 1.3; }
.kc-con ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kc-con li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15.5px; line-height: 1.5; color: #4a4d53; }
.kc-con li svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #fee2e2; fill: none; stroke: #dc2626; stroke-width: 3; stroke-linecap: round; margin-top: 1px; }

/* bandeau prix */
.kc-priceband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 28px clamp(24px, 4vw, 44px); border-radius: 24px; background: linear-gradient(120deg, #f6e7c8, #fdf4e7); box-shadow: 0 0 0 1px rgba(201, 164, 92, .35); }
.kc-priceband p { margin: 0; max-width: 52ch; color: #5b5f66; }
.kc-priceband .kc-priceband__big { margin-bottom: 6px; font: 400 clamp(20px, 2.4vw, 28px)/1.2 'Krona One', sans-serif; color: var(--vs-ink); }
.kc-btn--light { background: var(--vs-ink); color: var(--cream); border-color: var(--vs-ink); }
@media (hover: hover) and (pointer: fine) { .kc-btn--light:hover { background: #000; } }

/* hub */
.kc-card--vs a { border-radius: 20px; }
.kc-main.kc-compare { max-width: 1160px; }
.kc-compare .kc-section, .kc-compare .kc-cta, .kc-compare .kc-faq { max-width: none; }


/* Coût par lead : prix d'un lead par canal (graphique en tête) */
.kc-leadprice { margin: 28px 0 36px; padding: clamp(22px, 3.5vw, 36px); border-radius: 24px; background: var(--ink); color: var(--cream); }
.kc-leadprice__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.kc-leadprice h2 { margin: 0; font-size: clamp(18px, 2.2vw, 24px); color: var(--cream); }
.kc-leadprice__x { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px; }
.kc-lp { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kc-lp__row { display: grid; grid-template-columns: minmax(0, 190px) 1fr minmax(84px, auto); gap: 14px; align-items: center; font-size: 15px; }
.kc-lp__name { color: rgba(253, 244, 231, .85); }
.kc-lp__track { height: 22px; border-radius: 6px; background: rgba(253, 244, 231, .08); overflow: hidden; }
.kc-lp__bar { display: block; width: 100%; height: 100%; }
.kc-lp__bar rect { fill: #e5574c; }
.kc-lp__value { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kc-lp__row--na .kc-lp__value { font-weight: 400; font-style: italic; color: rgba(253, 244, 231, .6); }
.kc-lp__row--us .kc-lp__name, .kc-lp__row--us .kc-lp__value { color: var(--gold); font-weight: 700; }
.kc-lp__row--us .kc-lp__bar rect { fill: var(--gold); }
@media (max-width: 560px) {
  .kc-lp__row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .kc-lp__track { grid-column: 1 / -1; grid-row: 2; height: 14px; }
}

/* Lot 3 — zones */
.kc-main.kc-area { max-width: 1160px; }
.kc-area .kc-section, .kc-area .kc-cta, .kc-area .kc-faq { max-width: none; }
.kc-area-hero { margin: 18px 0 0; }
.kc-area-hero h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -.01em; }
.kc-area-hero .kc-intro { max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); }
.kc-stats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.kc-stat { padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(38, 35, 43, .08); }
.kc-stat:first-child { background: var(--ink); color: var(--cream); box-shadow: 0 24px 48px -28px rgba(38, 35, 43, .7); }
.kc-stat strong { display: block; font: 400 clamp(20px, 2.1vw, 27px)/1.1 'Krona One', sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.kc-stat:first-child strong { color: var(--gold); }
.kc-stat span { display: block; margin-top: 8px; font-size: 14px; color: #5b5f66; }
.kc-stat:first-child span { color: rgba(253, 244, 231, .75); }

.kc-places__grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.kc-place a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 44px 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(38, 35, 43, .08); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .15s; }
@media (hover: hover) and (pointer: fine) { .kc-place a:hover { box-shadow: 0 0 0 1px rgba(38, 35, 43, .2), 0 16px 32px -24px rgba(38, 35, 43, .6); transform: translateY(-1px); } }
.kc-place__name { font-weight: 600; font-size: 17px; }
.kc-place__meta { font-size: 14px; color: #5b5f66; }
.kc-place__go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #c9a45c; font-weight: 700; }

.kc-area-tools__grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.kc-area-tools__grid a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px 44px; border-radius: 18px; background: var(--ink); color: var(--cream); text-decoration: none; transition: transform .15s; }
@media (hover: hover) and (pointer: fine) { .kc-area-tools__grid a:hover { transform: translateY(-2px); } }
.kc-area-tools__grid strong { font-size: 17px; }
.kc-area-tools__grid span { font-size: 14.5px; color: rgba(253, 244, 231, .72); }
.kc-area-tools__go { position: absolute; left: 22px; bottom: 16px; color: var(--gold) !important; font-weight: 700; }

.kc-area-deeds__list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.kc-area-deeds__list li { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(38, 35, 43, .1); font-weight: 500; font-size: 15px; }
@media (max-width: 560px) {
  .kc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kc-stat { padding: 14px 16px; }
  .kc-stat strong { font-size: 17px; }
  .kc-stat span { font-size: 12.5px; }
}
.kc-area-tips__list { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: tip; display: grid; gap: 12px; }
.kc-area-tips__list li { counter-increment: tip; position: relative; padding: 18px 20px 18px 64px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(38, 35, 43, .08); line-height: 1.55; }
.kc-area-tips__list li::before { content: counter(tip); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: var(--gold); font: 400 14px/1 'Krona One', sans-serif; }

/* Zones, phase 2 : notes sous les tuiles, comparaison, coût réel, agences. */
.kc-stat em { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; color: #8a8478; }
.kc-stat:first-child em { color: rgba(253, 244, 231, .55); }
.kc-stats--people .kc-stat:first-child, .kc-stats--agents .kc-stat:first-child { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(38, 35, 43, .08); }
.kc-stats--people .kc-stat:first-child strong { color: var(--ink); }
.kc-stats--people .kc-stat:first-child span { color: #5b5f66; }
.kc-area-vs__grid { margin-top: 20px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.kc-vsbar { padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(38, 35, 43, .08); }
.kc-vsbar__label { margin: 0 0 12px; font-weight: 600; font-size: 15px; }
.kc-vsbar__row { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; align-items: center; gap: 12px; font-size: 14px; color: #5b5f66; }
.kc-vsbar__row + .kc-vsbar__row { margin-top: 8px; }
.kc-vsbar__row strong { min-width: 7ch; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.kc-vsbar__row--here span { color: var(--ink); font-weight: 600; }
.kc-vsbar__svg { display: block; width: 100%; height: 12px; }
.kc-vsbar__svg rect { fill: #c9a45c; }
.kc-vsbar__svg--sa rect { fill: rgba(38, 35, 43, .25); }
.kc-area-cost { padding: clamp(22px, 3.5vw, 36px); border-radius: 24px; background: linear-gradient(120deg, #f6e7c8, #fdf4e7); box-shadow: 0 0 0 1px rgba(201, 164, 92, .35); }
.kc-area-cost h2 { margin-top: 0; }
.kc-area-cost__basis { margin: 0 0 18px; font-size: 14.5px; color: #5b5f66; }
.kc-area-cost__list { margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.kc-area-cost__list div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .75); }
.kc-area-cost__list dt { font-size: 13.5px; color: #5b5f66; }
.kc-area-cost__list dd { margin: 6px 0 0; font: 400 clamp(18px, 1.8vw, 22px)/1.15 'Krona One', sans-serif; white-space: nowrap; }
.kc-area-cost__list .kc-area-cost__hi { background: var(--ink); }
.kc-area-cost__hi dt { color: rgba(253, 244, 231, .75); }
.kc-area-cost__hi dd { color: var(--gold); }
.kc-area-cost__more { margin: 18px 0 0; }
.kc-area-cost__more a { color: var(--ink); font-weight: 600; }
.kc-area-agents { padding: clamp(22px, 3.5vw, 36px); border-radius: 24px; background: var(--ink); color: var(--cream); }
.kc-area-agents .kc-kicker { color: var(--gold); }
.kc-area-agents h2 { margin-top: 4px; color: var(--cream); }
.kc-stats--agents .kc-stat, .kc-stats--agents .kc-stat:first-child { background: rgba(253, 244, 231, .07); color: var(--cream); box-shadow: 0 0 0 1px rgba(253, 244, 231, .12); }
.kc-stats--agents .kc-stat strong { color: var(--gold); }
.kc-stats--agents .kc-stat span { color: rgba(253, 244, 231, .78); }
.kc-stats--agents .kc-stat em { color: rgba(253, 244, 231, .5); }
@media (max-width: 640px) {
  .kc-vsbar__row { grid-template-columns: 80px 1fr auto; gap: 8px; font-size: 13px; }
  .kc-area-cost__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-area-cost__list dd { font-size: 15px; }
  .kc-stat em { font-size: 11.5px; }
}

/* ==========================================================================
   v4 — direction « rapport de marché » (toutes les pages SEO).
   Krona One pour le H1 et les grands chiffres ; titres de section en Jost ;
   filets fins plutôt que cartes ombrées ; l'or est réservé aux données.
   ========================================================================== */
:root { --gold: #c9a45c; --gold-ink: #8a6a2a; --rule: rgba(38, 35, 43, .14); --soft: #5b5f66; }
.kc-section h2, .kc-faq h2, .kc-card h2 {
  font-family: 'Jost', Helvetica, Arial, sans-serif; font-weight: 600; text-transform: none;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.015em;
}
.kc-kicker, .kc-cta__kicker { text-transform: none; letter-spacing: .02em; font-size: 14px; }
.kc-card a, .kc-card a:hover { border-radius: 14px; transform: none; box-shadow: none; }

/* Sections des zones et comparatifs : séparées par un filet. */
.kc-area > .kc-section:not(.kc-area-cost):not(.kc-area-agents),
.kc-compare > .kc-section { padding-top: 28px; border-top: 1px solid var(--rule); }

/* Héros des zones : un chiffre principal + une ligne de chiffres. */
.kc-market { margin: 36px 0 0; display: grid; gap: 28px 48px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) { .kc-market { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.kc-lead__num { margin: 0; font: 400 clamp(64px, 9vw, 112px)/.95 'Krona One', sans-serif; letter-spacing: -.04em; color: var(--gold-ink); }
.kc-lead__text { margin: 14px 0 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; max-width: 30ch; }
.kc-lead__meta { margin: 6px 0 0; font-size: 14px; color: var(--soft); }
.kc-figs, .kc-stats--people, .kc-stats--agents { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 0; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }
.kc-stats--people { margin-top: 20px; }
.kc-figs .kc-stat, .kc-figs .kc-stat:first-child,
.kc-stats--people .kc-stat, .kc-stats--people .kc-stat:first-child,
.kc-stats--agents .kc-stat, .kc-stats--agents .kc-stat:first-child {
  padding: 2px 16px 2px 18px; border-radius: 0; background: none; color: inherit; box-shadow: none; border-left: 1px solid var(--rule);
}
.kc-figs .kc-stat strong, .kc-stats--people .kc-stat strong { color: var(--ink); font-size: clamp(18px, 1.6vw, 22px); }
.kc-figs .kc-stat span, .kc-stats--people .kc-stat span { color: var(--soft); font-size: 14.5px; margin-top: 6px; }
.kc-stat em, .kc-stat:first-child em { color: #6b665c; font-size: 13px; }

/* Classement des provinces / métros. */
.kc-rank__note { margin: -4px 0 14px; font-size: 14.5px; color: var(--soft); }
.kc-rank__list { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.kc-rank__row { display: grid; grid-template-columns: 28px minmax(120px, 200px) minmax(0, 1fr) 72px; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.kc-rank__n { color: #8a8478; font-size: 14px; }
.kc-rank__name a { color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .kc-rank__name a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.kc-rank__v { text-align: right; font-weight: 600; }
.kc-rank__bar { display: block; width: 100%; height: 10px; }
.kc-rank__bar rect { fill: rgba(38, 35, 43, .2); }
.kc-rank__row.is-current { background: linear-gradient(90deg, rgba(201, 164, 92, .14), transparent 70%); }
.kc-rank__row.is-current .kc-rank__n, .kc-rank__row.is-current .kc-rank__v { color: var(--gold-ink); }
.kc-rank__row.is-current .kc-rank__bar rect { fill: var(--gold); }
.kc-rank__row--ref { color: var(--soft); font-style: italic; }
.kc-rank__bar--ref { height: 3px; }
.kc-rank__bar--ref rect { fill: rgba(38, 35, 43, .55); }

/* Zones enfants : lignes, plus de cartes. */
.kc-places__grid { display: block; margin-top: 8px; }
.kc-place a, .kc-place a:hover { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-radius: 0; background: none; box-shadow: none; transform: none; border-bottom: 1px solid var(--rule); }
@media (hover: hover) and (pointer: fine) { .kc-place a:hover .kc-place__name { text-decoration: underline; text-underline-offset: 3px; } }

/* Exemple chiffré : un « reçu » à plat. */
.kc-area-cost { background: #fff; box-shadow: 0 0 0 1px var(--rule); border-radius: 16px; }
.kc-area-cost__list { display: block; margin: 0; }
.kc-area-cost__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-radius: 0; background: none; border-bottom: 1px dashed var(--rule); }
.kc-area-cost__list dt { font-size: 15.5px; color: var(--ink); }
.kc-area-cost__list dd { margin: 0; font-size: clamp(16px, 1.6vw, 19px); }
.kc-area-cost__list .kc-area-cost__hi { margin: 6px -16px; padding: 16px; border-radius: 10px; border: 0; background: var(--ink); }
.kc-area-cost__hi dt { color: var(--cream); font-weight: 500; }
.kc-area-cost__hi dd { color: var(--gold); font-size: clamp(20px, 2.2vw, 26px); }

/* Conseils : phrase-clé en gras, numéros sans pastille. */
.kc-area-tips__list { gap: 0; margin-top: 8px; }
.kc-area-tips__list li { padding: 18px 0 18px 56px; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--rule); color: #3d3f45; }
.kc-area-tips__list li strong { color: var(--ink); font-weight: 600; }
.kc-area-tips__list li::before { left: 0; top: 16px; width: auto; height: auto; border-radius: 0; background: none; color: var(--gold-ink); font-size: 22px; }

/* Agences : bloc encre, chiffres séparés par des filets. */
.kc-area-agents .kc-kicker { color: var(--gold); }
.kc-stats--agents { margin-top: 18px; }
.kc-stats--agents .kc-stat, .kc-stats--agents .kc-stat:first-child { border-left-color: rgba(253, 244, 231, .18); }

/* Liste d'outils (hub des calculateurs, hub des comparatifs). */
.kc-tools { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.kc-tool a { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; gap: 8px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.kc-tool__body { display: grid; gap: 4px; }
.kc-tool__name { font-weight: 600; font-size: clamp(18px, 1.7vw, 21px); }
.kc-tool__desc { max-width: 62ch; font-size: 15px; color: var(--soft); }
.kc-tool__ex { justify-self: end; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--rule); font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kc-tool__go { color: var(--gold-ink); font-weight: 700; transition: transform .15s; }
@media (hover: hover) and (pointer: fine) { .kc-tool a:hover .kc-tool__name { text-decoration: underline; text-underline-offset: 3px; } }
@media (hover: hover) and (pointer: fine) { .kc-tool a:hover .kc-tool__go { transform: translateX(3px); } }

/* Comparatifs : groupes du tableau en casse normale, bandeau prix à plat. */
.kc-vs__group th { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.kc-priceband { background: #fff; box-shadow: 0 0 0 1px var(--rule); }

@media (max-width: 640px) {
  .kc-lead__num { font-size: 64px; }
  .kc-figs, .kc-stats--people, .kc-stats--agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kc-figs .kc-stat, .kc-figs .kc-stat:first-child, .kc-stats--people .kc-stat, .kc-stats--people .kc-stat:first-child, .kc-stats--agents .kc-stat, .kc-stats--agents .kc-stat:first-child { padding-left: 12px; }
  .kc-figs .kc-stat strong, .kc-stats--people .kc-stat strong { font-size: 18px; }
  .kc-figs .kc-stat span, .kc-stats--people .kc-stat span { font-size: 13.5px; }
  .kc-stat em { font-size: 12.5px; }
  .kc-rank__row { grid-template-columns: 22px minmax(0, 1fr) 72px 60px; gap: 10px; font-size: 15px; }
  .kc-tool a { grid-template-columns: minmax(0, 1fr) 20px; }
  .kc-tool__ex { grid-column: 1; justify-self: start; white-space: normal; }
  .kc-tool__go { grid-row: 1; grid-column: 2; }
}
@media (min-width: 900px) {
  .kc-market .kc-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kc-market .kc-figs .kc-stat strong { font-size: clamp(16px, 1.45vw, 20px); }
}
@media (min-width: 641px) { .kc-tool__go { grid-column: 3; } }
h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 640px) {
  .kc-rank__row { grid-template-columns: 18px minmax(0, 1fr) 84px 64px; }
  .kc-tool__ex { border-radius: 12px; }
}

/* ==========================================================================
   v4.1 — passe « finition » (skills emil-design-eng, apple-design, mobile).
   ========================================================================== */
/* Boutons : transition sur des propriétés précises, retour à l'appui. */
.kc-btn, .kc-cta__btn { transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .16s cubic-bezier(.23,1,.32,1); }
.kc-btn:active, .kc-cta__btn:active { transform: scale(.97); }
.kc-help:active { transform: scale(.94); }
.kc-help[aria-expanded="true"] { transform: rotate(-12deg) scale(.96); }
/* Focus visible sur les fonds sombres. */
.kc-cta--primary :focus-visible, .kc-result :focus-visible, .kc-leadprice :focus-visible, .kc-area-agents :focus-visible, .kc-area-cost__hi :focus-visible { outline-color: var(--cream); }
/* Anneau de focus des accordéons : suit l'arrondi du bloc. */
.kc-faq__item summary:focus-visible, .kc-optional summary:focus-visible { outline: none; }
.kc-faq__item:has(> summary:focus-visible), .kc-optional:has(> summary:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
/* Grands titres en Krona One : interlettrage resserré, même échelle sur les hubs. */
.kc-head h1, .kc-hub-hero h1 { letter-spacing: -.02em; }
.kc-vs-hero h1, .kc-area-hero h1, .kc-hub-hero h1 { letter-spacing: -.025em; }
.kc-hub-hero { margin: 18px 0 0; }
.kc-hub-hero h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; }
.kc-hub-hero .kc-intro { max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); }
/* Chiffres alignés en colonne. */
.kc-area-cost__list dd, .kc-stat strong, .kc-score__num, .kc-row dd { font-variant-numeric: tabular-nums; }
/* Ligne courante du classement : surlignage décollé du texte. */
.kc-rank__row.is-current { margin-inline: -12px; padding-inline: 12px; border-radius: 8px; }
/* Outils d'une zone : lignes à filets, comme le hub des calculateurs. */
.kc-area-tools__grid { display: block; margin-top: 8px; border-top: 1px solid var(--ink); }
.kc-area-tools__grid a { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; height: auto; padding: 18px 40px 18px 0; border-radius: 0; background: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
.kc-area-tools__grid strong { font-size: 18px; }
.kc-area-tools__grid span { color: var(--soft); font-size: 15px; }
.kc-area-tools__go { left: auto; right: 4px; top: 50%; bottom: auto; transform: translateY(-50%); color: var(--gold-ink) !important; }
@media (hover: hover) and (pointer: fine) {
  .kc-area-tools__grid a:hover { transform: none; }
  .kc-area-tools__grid a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
}
/* FAQ : filets au lieu de cartes. */
.kc-faq__list { gap: 0; border-top: 1px solid var(--rule); }
.kc-faq__item, .kc-faq__item[open] { border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; }
.kc-faq__item summary { padding: 18px 0; }
.kc-faq__item > p { padding: 0 48px 20px 0; color: #3d3f45; }
@media (hover: hover) and (pointer: fine) { .kc-faq__item:hover { border-color: var(--rule); } .kc-faq__item:hover h3 { text-decoration: underline; text-underline-offset: 3px; } }
@media (prefers-reduced-motion: reduce) {
  .kc-help--hint::before, .kc-help--hint::after, .kc-faq__item[open] > p { animation: none; }
  .kc-btn:active, .kc-cta__btn:active, .kc-help:active { transform: none; }
}

/* Passe mobile (skill mobile-native). */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, select, [role="button"] { touch-action: manipulation; }
h2, h3, .kc-rank__name, .kc-place__name { overflow-wrap: anywhere; }
.kc-table-wrap { overscroll-behavior-x: contain; }
/* Lien de classement : toute la hauteur de la ligne est cliquable. */
.kc-rank__name a { display: block; padding: 11px 0; margin: -11px 0; }
@media (max-width: 767px) {
  .kc-head h1, .kc-hub-hero h1 { font-size: clamp(26px, 7.4vw, 34px); }
  .kc-vs { font-size: 14px; }
  .kc-vs th, .kc-vs td { padding: 12px 10px; }
  .kc-vs td { min-width: 0; }
  .kc-vs tbody th { width: 34%; }
  .kc-vs thead th { padding: 14px 10px; }
  .kc-cell { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kc-cell__note { font-size: 13px; }
  .kc-help { width: 48px; height: 48px; right: 16px; bottom: 12px; font-size: 21px; }
}
@media (max-width: 640px) {
  .kc-figs .kc-stat strong, .kc-stats--people .kc-stat strong { font-size: clamp(14px, 4.6vw, 18px); }
}
/* Le bouton d'aide ne cache pas la fin de la page. */
body:has(.kc-help) .kc-footer { padding-bottom: 80px; }
@media (pointer: coarse) {
  .kc-breadcrumb a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .kc-guide__close { position: relative; }
  .kc-guide__close::after { content: ''; position: absolute; inset: -6px; }
}
/* Cas extrêmes (skill break-ui) : noms longs, gros chiffres. */
.kc-stat { min-width: 0; }
.kc-rank__name, .kc-place__name, .kc-section h2, .kc-area-tips__list li, .kc-faq__item h3, .kc-faq__item > p, .kc-intro, .kc-lead__text { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.kc-lead__num { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .kc-figs, .kc-stats--people, .kc-stats--agents { grid-template-columns: minmax(0, 1fr); }
  .kc-figs .kc-stat strong, .kc-stats--people .kc-stat strong { font-size: 18px; }
}

/* FAQ : ouverture en hauteur (navigateurs récents ; les autres ouvrent sans animation). */
@supports (interpolate-size: allow-keywords) {
  .kc-faq__item { interpolate-size: allow-keywords; }
  .kc-faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .26s cubic-bezier(.23, 1, .32, 1), content-visibility .26s allow-discrete; }
  .kc-faq__item[open]::details-content { block-size: auto; }
  .kc-faq__item[open] > p { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kc-faq__item::details-content { transition: none; }
}
