/**
 * Cercle Travaux: calculators, « Le Cercle » design (loaded on the hub, the tool pages and the home page).
 * Order: 1 tokens for the plugin (--tc-*), 2 the calculator sheet, 3 shared pieces (tag, sheet, fiche, buttons),
 * 4 hub (prune band, tag pills, grid), 5 tool page (prune band, sheet sliding out of it, related), 6 home band.
 * Prune #1E2C39 · Violet #B1532A (actions) · Citron #7CC1AE (never text on light) · Lilas #E9DCCB · Brume #F2EFE9 ·
 * Encre #1B222A · Gris #5C636B · field border #8C8478. 1 px lilac borders, 24 / 16 / 12 px radii, pill buttons, no shadows.
 */

/* ── 1 Plugin tokens ───────────────────────────────── */
.tc-calc {
	--tc-primary: var(--ct-ardoise, #1E2C39);
	--tc-primary-soft: #DCD2EC;
	--tc-bg: #fff;
	--tc-surface: var(--ct-chaux, #F2EFE9);
	--tc-surface-alt: var(--ct-page-2, #F8F5EF);
	--tc-line: var(--ct-sable, #E9DCCB);
	--tc-field-border: var(--ct-field, #8C8478);
	--tc-muted: var(--ct-grey, #5C636B);
	--tc-link: var(--ct-cuivre, #B1532A);
	--tc-cta: var(--ct-cuivre, #B1532A);
	--tc-accent: var(--ct-patine, #7CC1AE);
	--tc-accent-text: #8B3A00;
	--tc-error: var(--ct-error, #B42318);
	--tc-secondary: var(--ct-cuivre-d, #8E4220);
	--tc-radius: 24px;
	--tc-radius-control: 12px;
	--tc-shadow: none;
	--tc-font-head: var(--ct-font-h, "Be Vietnam Pro", system-ui, sans-serif);
	--tc-font-text: var(--ct-font-b, "Be Vietnam Pro", system-ui, sans-serif);
	--tc-head-pattern: none;
}

/* ── 2 The calculator sheet ────────────────────────── */
.tc-calc { border: 1px solid var(--ct-sable, #E9DCCB); box-shadow: none; background: #fff; }
/* Head: a strip of perforated board, title in prune, the badge as a lilac pill. */
.tc-calc .tc-calc__head {
	padding: 22px 22px 20px;
	background-color: var(--ct-chaux, #F2EFE9);
	background-image: url(../img/bg-terrazzo.svg);
	background-size: 420px;
	border-bottom: 1px solid var(--ct-sable, #E9DCCB);
	color: var(--ct-ink, #1B222A);
}
.tc-calc .tc-calc__head::before, .tc-calc .tc-calc__head::after { display: none; }
.tc-calc .tc-calc__badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px;
	border-radius: 999px; background: #fff; border: 1px solid var(--ct-sable, #E9DCCB);
	color: var(--ct-cuivre, #B1532A); font: 600 .8125rem/1.2 var(--ct-font-h);
}
.tc-calc .tc-calc__badge .ct-icon { width: 16px; height: 16px; }
.tc-calc .tc-calc__title { color: var(--ct-ardoise, #1E2C39); font: 400 clamp(1.3rem, 5cqi, 1.65rem)/1.15 var(--ct-font-d); letter-spacing: -.01em; margin-top: 12px; }
.tc-calc .tc-calc__sub { color: var(--ct-grey, #5C636B); font-size: 1rem; line-height: 1.5; }
.tc-calc .tc-calc__notice { background: #FBF6D9; border: 1px solid #D9C84A; color: var(--ct-ink, #1B222A); border-radius: 12px; }
.tc-calc .tc-calc__notice::before { background: var(--ct-ardoise, #1E2C39); color: var(--ct-patine, #7CC1AE); }

/* Steps: prune number discs, dotted separators in lilac. */
.tc-calc .tc-step { border-bottom: 1px dashed var(--ct-sable, #E9DCCB); }
.tc-calc .tc-step__title { color: var(--ct-ardoise, #1E2C39); font: 650 1.05rem/1.25 var(--ct-font-h); }
.tc-calc .tc-step__num { background: var(--ct-ardoise, #1E2C39); color: #fff; }

/* Fields: white, 1.5 px #8C8478 border, 12 px radius; focus = violet border and ring. */
.tc-calc .tc-field > label, .tc-calc .tc-field > legend, .tc-calc .tc-rows__legend { color: var(--ct-ink, #1B222A); font: 600 .9rem/1.3 var(--ct-font-h); }
.tc-calc .tc-field__control { border: 1.5px solid var(--ct-field, #8C8478); border-radius: 12px; background: #fff; min-height: 50px; }
.tc-calc .tc-field__control:focus-within { border-color: var(--ct-cuivre, #B1532A); box-shadow: 0 0 0 3px var(--ct-sable, #E9DCCB); }
.tc-calc .tc-field__control input, .tc-calc .tc-field__control select { font-family: var(--ct-font-h); font-weight: 500; color: var(--ct-ink, #1B222A); }
.tc-calc .tc-field__unit { color: var(--ct-grey, #5C636B); font-family: var(--ct-font-h); font-weight: 500; }
.tc-calc .tc-field__help { color: var(--ct-grey, #5C636B); }
.tc-calc .tc-field__error { color: var(--ct-error, #B42318); }
.tc-calc .tc-field__control:has([aria-invalid="true"]) { border-color: var(--ct-error, #B42318); }

/* Option buttons: pills; the chosen one is violet with white text. */
.tc-calc .tc-pill span { border: 1.5px solid var(--ct-field, #8C8478); border-radius: 999px; background: #fff; color: var(--ct-ink, #1B222A); font-family: var(--ct-font-h); font-weight: 600; }
.tc-calc .tc-pill input:checked + span { background: var(--ct-cuivre, #B1532A); border-color: var(--ct-cuivre, #B1532A); color: #fff; }
.tc-calc .tc-pill input:focus-visible + span { outline: 3px solid var(--ct-cuivre, #B1532A); outline-offset: 2px; }
.tc-calc .tc-pill:hover span { border-color: var(--ct-cuivre, #B1532A); }

/* Repeatable rows: lilac mini-sheets. */
.tc-calc .tc-row { border: 1px solid var(--ct-sable, #E9DCCB); border-radius: 16px; background: var(--ct-page-2, #F8F5EF); }
.tc-calc .tc-row__title { color: var(--ct-ardoise, #1E2C39); font-family: var(--ct-font-h); }
.tc-calc .tc-rows__add { border: 1.5px dashed var(--ct-cuivre, #B1532A); border-radius: 999px; color: var(--ct-cuivre, #B1532A); background: #fff; font-family: var(--ct-font-h); font-weight: 600; }
.tc-calc .tc-rows__add:hover { background: var(--ct-chaux, #F2EFE9); }

/* Buttons: « Calculer » violet pill with a citron dot; « Réinitialiser » outlined. */
.tc-calc .tc-calc__btn { border-radius: 999px; min-height: 50px; font: 600 1rem/1.2 var(--ct-font-h); box-shadow: none; }
.tc-calc .tc-calc__btn--go { background: var(--ct-cuivre, #B1532A); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.tc-calc .tc-calc__btn--go::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ct-patine, #7CC1AE); box-shadow: 0 0 0 3px rgba(124, 193, 174, .35); }
.tc-calc .tc-calc__btn--go:hover { background: var(--ct-cuivre-d, #8E4220); }
.tc-calc .tc-calc__btn--go:active { transform: none; }
.tc-calc .tc-calc__btn--reset { background: #fff; border: 1.5px solid var(--ct-ink, #1B222A); color: var(--ct-ink, #1B222A); }
.tc-calc .tc-calc__btn--reset:hover { background: var(--ct-patine, #7CC1AE); }
.tc-calc button:focus-visible, .tc-calc summary:focus-visible, .tc-calc select:focus-visible, .tc-calc a:focus-visible { outline: 3px solid var(--ct-cuivre, #B1532A); outline-offset: 2px; }
.tc-calc .tc-calc__errors { border-radius: 12px; }

/* Result: Brume sheet, the key figure in a citron pill with prune text, a lilac result table. */
.tc-calc .tc-calc__results { background: var(--ct-chaux, #F2EFE9); border-top: 1px solid var(--ct-sable, #E9DCCB); padding: 22px 22px 24px; }
.tc-calc .tc-calc__results::before { display: none; }
.tc-calc .tc-calc__empty { color: var(--ct-grey, #5C636B); }
.tc-calc .tc-calc__key { align-items: flex-start; gap: 8px; margin: 2px 0 16px; }
.tc-calc .tc-calc__key-label { color: var(--ct-ink, #1B222A); font: 600 .95rem/1.3 var(--ct-font-h); }
.tc-calc .tc-calc__key-value {
	display: inline-block; max-width: 100%; padding: 10px 24px; border-radius: 30px;
	background: var(--ct-patine, #7CC1AE); color: var(--ct-ardoise, #1E2C39);
	font: 400 clamp(1.7rem, 8cqi, 2.4rem)/1.1 var(--ct-font-d); letter-spacing: -.012em;
}
.tc-calc .tc-calc__key-value::after { display: none; }
.tc-calc .tc-calc__list { border: 1px solid var(--ct-sable, #E9DCCB); border-radius: 16px; box-shadow: none; background: #fff; }
.tc-calc .tc-calc__item { border-top: 1px solid var(--ct-line, #E4DED4); }
.tc-calc .tc-calc__item dt { color: var(--ct-grey, #5C636B); font: 500 .9375rem/1.3 var(--ct-font-h); }
.tc-calc .tc-calc__item dd { color: var(--ct-ink, #1B222A); font-family: var(--ct-font-h); font-weight: 650; }
.tc-calc .tc-calc__icon { background: var(--ct-sable, #E9DCCB); color: var(--ct-ardoise, #1E2C39); box-shadow: none; }
.tc-calc .tc-calc__detail { border: 1px solid var(--ct-sable, #E9DCCB); border-radius: 16px; background: #fff; }
.tc-calc .tc-calc__detail summary { color: var(--ct-cuivre, #B1532A); font-family: var(--ct-font-h); }
.tc-calc .tc-calc__detail-list { color: var(--ct-ink, #1B222A); }
.tc-calc .tc-calc__note { padding: 12px 14px; border: 1px dashed #B9A9D6; border-radius: 12px; background: #fff; color: var(--ct-grey, #5C636B); }
.tc-calc .tc-calc__note strong { color: var(--ct-ink, #1B222A); }
.tc-calc .tc-calc__tool { border: 1.5px solid var(--ct-field, #8C8478); border-radius: 999px; font-family: var(--ct-font-h); }
.tc-calc .tc-calc__tool:hover { border-color: var(--ct-cuivre, #B1532A); background: #fff; }
.tc-calc .tc-calc__tool.is-copied { border-color: #2E7D4F; color: #1F5E39; }
.tc-calc .tc-calc__devis, .ct-calc-content .tc-calc__devis { margin-top: 18px; }
.tc-calc .tc-calc__jump { background: var(--ct-ardoise, #1E2C39); }
.tc-calc .tc-calc__results.is-stale .tc-step__title::after { color: #8B3A00; }
@container (min-width: 560px) {
	.tc-calc .tc-calc__head { padding: 26px 30px 24px; }
	.tc-calc .tc-calc__results { padding: 26px 30px 28px; }
}

/* ── 3 Shared pieces ───────────────────────────────── */
.ct-cbc ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 22px; padding: 0; list-style: none; font: 500 .875rem/1.4 var(--ct-font-h); }
.ct-cbc li { display: flex; align-items: center; gap: 8px; color: #DCD2EC; }
.ct-cbc li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ct-patine); }
.ct-cbc a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.ct-cbc a:hover { text-decoration-color: var(--ct-patine); }
.ct-cbc [aria-current] { max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-btn--line { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.ct-btn--line:hover { background: #fff; color: var(--ct-ardoise); }
.ct-btn--citron:focus-visible, .ct-btn--line:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* The « Fiche de calcul » sheet (hub band, home band): white, field-like values, citron result pill. */
.ct-sheet { margin: 0; padding: 26px 26px 20px; border-radius: 24px; background: #fff; color: var(--ct-ink); position: relative; z-index: 1; }
.ct-sheet__top { margin: 0 0 4px; }
.ct-sheet__tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--ct-chaux); color: var(--ct-cuivre-d); font: 600 .8125rem/1.3 var(--ct-font-h); }
.ct-sheet__tag .ct-icon { width: 18px; height: 18px; }
.ct-sheet__tool { margin: 6px 0 16px; color: var(--ct-grey); font: 500 .9375rem/1.4 var(--ct-font-h); }
.ct-sheet__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; }
.ct-sheet__field:nth-child(3) { grid-column: 1 / -1; }
.ct-sheet__field dt { margin: 0 0 6px; font: 600 .85rem/1.3 var(--ct-font-h); }
.ct-sheet__field dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; margin: 0; padding: 0 14px; border: 1.5px solid var(--ct-field); border-radius: 12px; font: 500 1rem/1.2 var(--ct-font-h); }
.ct-sheet__field small { color: var(--ct-grey); font-size: .85rem; font-weight: 500; }
.ct-sheet__res { display: flex; align-items: center; gap: 16px; margin: 0 0 12px; padding: 16px 18px; border-radius: 16px; background: var(--ct-chaux); }
.ct-sheet__pill { flex: none; padding: 10px 22px; border-radius: 30px; background: var(--ct-patine); color: var(--ct-ardoise); font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2rem)/1.1 var(--ct-font-d); letter-spacing: -.012em; white-space: nowrap; }
.ct-sheet__res p { margin: 0; font: 400 .9375rem/1.4 var(--ct-font-b); color: #39414A; }
.ct-sheet__res b { font-family: var(--ct-font-h); font-weight: 650; color: var(--ct-ink); }
.ct-sheet__go { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--ct-sable); color: var(--ct-cuivre); font: 600 .9375rem/1.3 var(--ct-font-h); text-decoration: none; }
.ct-sheet__go .ct-icon { width: 20px; height: 20px; }
.ct-sheet__go:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ct-sheet__go:focus-visible { outline: 3px solid var(--ct-cuivre); outline-offset: 3px; border-radius: 6px; }

/* A tool « fiche »: perforated top with the rubrique disc, title, text, result strip and an arrow disc. */
.ct-fiches { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
.ct-fiches__item { margin: 0; display: flex; }
.ct-fiche { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid var(--ct-sable); border-radius: 24px; background: #fff; transition: border-color .15s ease; }
.ct-fiche:hover, .ct-fiche:focus-within { border-color: var(--ct-cuivre); }
.ct-fiche__top.ct-perf { background-image: url(../img/bg-terrazzo-sm.svg); background-size: 320px; }
.ct-fiche__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ct-sable); }
.ct-fiche__disc { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ct-ink); color: var(--ct-ink); }
.ct-fiche__disc .ct-icon { width: 24px; height: 24px; }
.ct-fiche__tag { padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ct-sable); color: var(--ct-ardoise); font: 600 .8125rem/1.3 var(--ct-font-h); }
.ct-fiche__body { flex: 1; padding: 18px 20px 6px; }
.ct-fiche__title { margin: 0 0 8px; font: 400 1.2rem/1.25 var(--ct-font-d); letter-spacing: -.008em; text-wrap: balance; }
.ct-fiche__title a { color: var(--ct-ink); text-decoration: none; }
.ct-fiche__title a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.ct-fiche__title a:focus-visible { outline: none; }
.ct-fiche:has(.ct-fiche__title a:focus-visible) { outline: 3px solid var(--ct-cuivre); outline-offset: 2px; }
.ct-fiche__text { margin: 0; color: var(--ct-grey); font-size: .975rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ct-fiche__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 20px 18px; padding-top: 12px; border-top: 1px dashed var(--ct-sable); }
.ct-fiche__out { margin: 0; font: 600 .9375rem/1.3 var(--ct-font-h); color: var(--ct-ink); }
.ct-fiche__out span { display: block; margin-bottom: 2px; color: var(--ct-grey); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ct-fiche__go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ct-ardoise); color: #fff; transition: background-color .15s ease, color .15s ease; }
.ct-fiche__go .ct-icon { width: 20px; height: 20px; }
.ct-fiche:hover .ct-fiche__go { background: var(--ct-patine); color: var(--ct-ink); }
@media (min-width: 680px) { .ct-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .ct-fiches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── 4 Hub ─────────────────────────────────────────── */
.ct-chh { margin-top: 20px; }
.ct-chh__panel, .ct-cth__panel, .ct-hcalc__panel {
	position: relative; overflow: hidden; border-radius: 36px; background-color: var(--ct-ardoise); color: #fff;
	background-image: url(../img/bg-terrazzo-dark.svg); background-size: 720px;
}
.ct-chh__panel::after, .ct-cth__panel::after, .ct-hcalc__panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 34px solid rgba(124, 193, 174, .16); pointer-events: none; }
.ct-chh__panel { padding: 40px 28px 44px; }
.ct-chh__grid { position: relative; z-index: 1; display: grid; gap: 36px; align-items: center; }
.ct-chh__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 14px; border: 1px solid #55697C; border-radius: 999px; font: 600 .875rem/1.3 var(--ct-font-h); color: #fff; }
.ct-chh__kicker i, .ct-ctag--key i { width: 9px; height: 9px; border-radius: 50%; background: var(--ct-patine); flex: none; }
.ct-chh__title { margin: 0 0 16px; color: #fff; font: 400 clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem)/1.05 var(--ct-font-d); letter-spacing: -.012em; text-wrap: balance; }
.ct-chh__lead { max-width: 34em; margin: 0 0 26px; color: #DCD2EC; font-size: var(--ct-fs-lead); line-height: 1.55; }
.ct-chh__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
@media (min-width: 900px) {
	.ct-chh__panel { padding: 52px 56px 56px; }
	.ct-chh__grid.has-sheet { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
@media (max-width: 599px) { .ct-chh__panel { padding: 28px 20px 32px; border-radius: 28px; } .ct-sheet { padding: 20px 18px 16px; } .ct-sheet__res { flex-wrap: wrap; } }

.ct-chub { margin-top: 56px; scroll-margin-top: 24px; }
.ct-chub__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.ct-chub__title { margin: 0; font: 400 var(--ct-fs-h2)/1.15 var(--ct-font-d); letter-spacing: -.01em; }
.ct-chub__status { margin: 0; color: var(--ct-grey); font: 500 .9375rem/1.4 var(--ct-font-h); }
.ct-chub__tags { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 calc(-1 * var(--ct-gutter)) 24px; padding: 2px var(--ct-gutter) 8px; overflow-x: auto; scrollbar-width: thin; }
@media (min-width: 1020px) { .ct-chub__tags { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }
.ct-chub__tags[hidden] { display: none; }
.ct-tagpill { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ct-field); border-radius: 999px; background: #fff; color: var(--ct-ink); font: 600 .9rem/1.2 var(--ct-font-h); cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.ct-tagpill .ct-icon { width: 20px; height: 20px; }
.ct-tagpill b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ct-chaux); color: var(--ct-ardoise); font-size: .8rem; font-weight: 650; }
.ct-tagpill:hover { border-color: var(--ct-cuivre); }
.ct-tagpill[aria-pressed="true"] { background: var(--ct-cuivre); border-color: var(--ct-cuivre); color: #fff; }
.ct-tagpill[aria-pressed="true"] b { background: var(--ct-patine); color: var(--ct-ink); }
.ct-tagpill:focus-visible { outline: 3px solid var(--ct-cuivre); outline-offset: 2px; }
.ct-fiches__item[hidden] { display: none; }

.ct-main--calchub .ct-article--calchub { margin-top: 64px; }

/* ── 5 Tool page ───────────────────────────────────── */
.ct-cth { margin-top: 20px; }
.ct-cth__panel { display: grid; gap: 20px; padding: 32px 22px 104px; }
.ct-cth__disc { position: relative; z-index: 1; display: none; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 6px solid var(--ct-patine); color: var(--ct-ardoise); }
.ct-cth__disc .ct-icon { width: 40px; height: 40px; stroke-width: 1.6; }
.ct-cth__text { position: relative; z-index: 1; min-width: 0; }
.ct-cth__title { margin: 0 0 12px; color: #fff; font: 400 clamp(1.9rem, 1.3rem + 2.3vw, 2.9rem)/1.08 var(--ct-font-d); letter-spacing: -.012em; text-wrap: balance; }
.ct-cth__lead { max-width: 40em; margin: 0 0 20px; color: #DCD2EC; font-size: 1.125rem; line-height: 1.55; }
.ct-cth__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ct-ctag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid #55697C; border-radius: 999px; color: #fff; font: 600 .875rem/1.2 var(--ct-font-h); text-decoration: none; }
.ct-ctag .ct-icon { width: 18px; height: 18px; }
a.ct-ctag:hover { background: #fff; color: var(--ct-ardoise); border-color: #fff; }
a.ct-ctag:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ct-ctag--key { background: var(--ct-patine); border-color: var(--ct-patine); color: var(--ct-ardoise); }
.ct-ctag--key i { background: var(--ct-ardoise); }
@media (min-width: 760px) {
	.ct-cth__panel { grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 44px 48px 120px; }
	.ct-cth__disc { display: grid; }
}
@media (max-width: 599px) { .ct-cth__panel { border-radius: 28px; padding-bottom: 96px; } }

/* The calculator sheet slides over the lower edge of the prune band. */
.ct-main--calc .ct-article--calc { margin-top: -80px; position: relative; z-index: 2; }
.ct-main--calc .ct-calc-content > .tc-calc:first-child { margin-bottom: 40px; }
.ct-main--calc .ct-calc-content { max-width: none; }
.ct-main--calc .ct-calc-content > h2 { margin-top: 48px; }

.ct-crelated { margin-top: 56px; }
.ct-crelated__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; }
.ct-crelated__title { margin: 0; font: 400 var(--ct-fs-h2)/1.15 var(--ct-font-d); letter-spacing: -.01em; }
.ct-crelated__all { font: 600 .9375rem var(--ct-font-h); }

/* ── 6 Home band (prune, pitch left, sheet right) ──── */
.ct-hcalc { margin-top: var(--ct-s8); }
.ct-hcalc__panel { padding: 40px 24px; }
.ct-hcalc__panel.has-sheet { display: grid; gap: 36px; align-items: center; }
.ct-hcalc__text { position: relative; z-index: 1; }
.ct-hcalc__title { margin: 0 0 14px; color: #fff; font: 400 var(--ct-fs-h2)/1.15 var(--ct-font-d); letter-spacing: -.01em; }
.ct-hcalc__lead { margin: 0; color: #DCD2EC; }
.ct-hcalc__names { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; padding: 0; list-style: none; }
.ct-hcalc__names a { display: inline-block; padding: 7px 14px; border: 1px solid #55697C; border-radius: 999px; color: #fff; font: 500 .9rem/1.3 var(--ct-font-h); text-decoration: none; }
.ct-hcalc__names a:hover { background: #fff; color: var(--ct-ardoise); }
.ct-hcalc__names a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (min-width: 900px) {
	.ct-hcalc__panel { padding: 56px; }
	.ct-hcalc__panel.has-sheet { grid-template-columns: 1fr 1fr; gap: 56px; }
}

@media (prefers-reduced-motion: reduce) { .ct-fiche, .ct-fiche__go, .ct-tagpill { transition: none; } }
@media print { .ct-chh, .ct-cth__panel::after, .ct-crelated { display: none; } .ct-main--calc .ct-article--calc { margin-top: 0; } }

/* Full-width hero bands (hub and tool): the panel runs edge to edge, the content keeps the site width */
.ct-chh.ct-wrap, .ct-cth.ct-wrap { max-width: none; padding-inline: 0; margin-top: 0; }
.ct-chh__panel, .ct-cth__panel {
	border-radius: 0;
	padding-inline: max(var(--ct-gutter), calc((100% - var(--ct-wrap)) / 2 + var(--ct-gutter)));
}
.ct-chh__panel::after, .ct-cth__panel::after { display: none; }

/* Reading width: the sheet uses the full site width, the explanations keep a comfortable line length */
.ct-main--calc .ct-calc-content > *:not(.tc-calc) { max-width: 820px; }

/* Hub hero v2: a light band and a desk of calculator sheets */
.ct-chh__panel {
	color: var(--ct-ink); overflow: visible;
	background: linear-gradient(90deg, var(--ct-chaux) 6%, rgba(242, 239, 233, .92) 34%, rgba(242, 239, 233, 0) 70%), url(../img/bg-terrazzo.svg) 0 0 / 560px 560px var(--ct-chaux);
	border-bottom: 1px solid var(--ct-line);
	padding-block: 44px 56px;
}
.ct-chh { overflow: hidden; }
.ct-chh__title { color: var(--ct-ink); }
.ct-chh__lead { color: #39414A; }
.ct-chh .ct-btn--line { background: #fff; border: 1.5px solid var(--ct-ink); color: var(--ct-ink); }
.ct-chh .ct-btn--line:hover { background: var(--ct-patine); }
.ct-chh .ct-cbc, .ct-chh .ct-cbc a { color: var(--ct-ink); }
.ct-chh__desk { position: relative; display: grid; gap: 18px; max-width: 520px; width: 100%; margin-inline: auto; }
.ct-chh__doc { box-sizing: border-box; border: 1px solid var(--ct-line); border-radius: 24px; background: #fff; overflow: hidden; }
.ct-chh__doc .ct-sheet { margin: 0; border-radius: 0; }
.ct-chh__doc--b, .ct-chh__doc--c { display: none; }
.ct-chh__stamp { position: absolute; z-index: 3; }
@media (max-width: 899px) { .ct-chh__stamp { display: none; } }
@media (min-width: 900px) {
	.ct-chh__panel { padding-block: 64px 76px; }
	.ct-chh__grid.has-sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
	.ct-chh__desk { display: block; height: 520px; max-width: 540px; margin-inline: 0 auto; }
	.ct-chh__doc--a { position: absolute; z-index: 2; right: 0; bottom: 0; width: 360px; transform: rotate(1.8deg); }
	.ct-chh__doc--b { display: block; position: absolute; z-index: 1; left: 0; top: 14px; width: 270px; transform: rotate(-5deg); }
	.ct-chh__doc--c { display: block; position: absolute; z-index: 0; left: 150px; top: 0; width: 250px; transform: rotate(4deg); }
	.ct-chh__doc--b .ct-sheet__fields, .ct-chh__doc--c .ct-sheet__fields, .ct-chh__doc--b .ct-sheet__go, .ct-chh__doc--c .ct-sheet__go { display: none; }
	.ct-chh__doc--b .ct-sheet, .ct-chh__doc--c .ct-sheet { padding: 18px 18px 14px; }
	.ct-chh__stamp { top: -22px; right: -4px; }
}
@media (prefers-reduced-motion: reduce) { .ct-chh__doc { transform: none !important; } }
.ct-chh .ct-cbc li[aria-current], .ct-chh .ct-cbc [aria-current="page"] { color: var(--ct-grey); }
@media (min-width: 900px) { .ct-chh__stamp { top: auto; right: auto; left: 6px; bottom: 6px; } }
