/* SAMUEL TOITURE · charpente3d : la charpente en 3D (préfixe st-charp), bilingue. Variables de la charte --st-* (valeurs par défaut,
   redéfinissables par le site) ; jetons internes --t-* posés sur .st-charp. Thème sombre par défaut, .st-charp--clair en option. */
:where(:root) {
  --st-red: #C4161C; --st-red-deep: #8E0F14; --st-yellow: #F2B705; --st-ink: #1F2421; --st-night: #171A18;
  --st-metal: #8D9196; --st-cream: #FAF6EE; --st-paper: #FFFDF8; --st-brick: #A8442E;
  --f-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif; --f-text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Newsreader', Georgia, serif; --f-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
.st-charp { --t-ink: var(--st-ink); --t-gold: var(--st-red); --t-red: var(--st-red); --t-ivory: var(--st-cream); --t-zinc: #B8BBBF; --t-mine: #5C6066; --t-paper: var(--st-paper); --t-ease: cubic-bezier(.22, .8, .2, 1);
  position: relative; overflow: hidden; padding-block: clamp(4.5rem, 9vw, 8rem); color: var(--t-ink); font-family: var(--f-text);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 3px), radial-gradient(80% 60% at 85% 0%, rgba(196, 22, 28, .08), transparent 60%), linear-gradient(180deg, #FFFFFF 0%, var(--t-paper) 55%, #FFFFFF 100%); }
.st-charp__wrap { position: relative; width: min(100% - 2 * clamp(1rem, 4vw, 3rem), 94rem); margin-inline: auto; }
.st-charp__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.4rem 4rem; align-items: end; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.st-charp__kicker { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.3rem; font: 700 0.86rem/1 var(--f-display); letter-spacing: .3em; text-transform: uppercase; color: var(--t-ink); }
.st-charp__kicker span { font: 500 .72rem/1 var(--f-mono); letter-spacing: .08em; padding: .45rem .6rem; border: 1px solid var(--t-line-2); color: var(--t-ink); }
.st-charp__kicker::after { content: ""; flex: 0 0 3.5rem; height: 1px; background: var(--t-gold-grad); }
.st-charp__title { margin: 0; font: 700 clamp(1.9rem, 1.1rem + 3vw, 3.7rem)/1.04 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--t-ink); text-wrap: balance; }
.st-charp__title em { display: block; margin-top: .14em; font: italic 500 1.12em/1 var(--f-serif); letter-spacing: 0; text-transform: none; background: var(--t-gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .1em; }
.st-charp__lede { margin: 0; max-width: 48ch; font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.65; color: rgba(23, 24, 26, .76); text-wrap: pretty; }

/* ---------- scène ---------- */
.st-charp__stage { position: relative; height: clamp(34rem, 50vw, 46rem); overflow: hidden; isolation: isolate; background: radial-gradient(70% 70% at 30% 20%, #4a3a2a 0%, #FFFFFF 45%, #151517 100%);
  box-shadow: 0 0 0 1px var(--t-line), 0 60px 100px -60px rgba(23, 24, 26, 0.33); }
.st-charp__stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; z-index: 6; background: var(--t-gold-grad); pointer-events: none; }
.st-charp__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(130% 110% at 50% 40%, transparent 62%, rgba(255, 255, 255, .5) 100%); }
.st-charp__stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline: none; opacity: 0; transition: opacity 1.2s var(--t-ease); }
.st-charp__stage > canvas:active { cursor: grabbing; }
.st-charp__stage > canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--t-gold); }
.st-charp__app.is-ready .st-charp__stage > canvas { opacity: 1; }
.st-charp__load { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 1.1rem; background: var(--t-paper); font: 700 0.74rem/1 var(--f-display); letter-spacing: .32em; text-transform: uppercase; color: rgba(23, 24, 26, .55); pointer-events: none; transition: opacity .8s; }
.st-charp__load svg { width: 8rem; fill: none; stroke: var(--t-gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: st-charp-trace 2.6s var(--t-ease) infinite; }
@keyframes st-charp-trace { 65%, 100% { stroke-dashoffset: 0; } }
.st-charp__app.is-ready .st-charp__load, .st-charp__app.no-gl .st-charp__load { opacity: 0; }
.st-charp__nogl { display: none; position: absolute; z-index: 3; inset: auto 1.2rem 1.2rem; margin: 0; color: var(--t-ink); font-size: .92rem; }
.st-charp__app.no-gl .st-charp__nogl { display: block; }

/* ---------- barre du haut : mode + éclater ---------- */
.st-charp__bar { position: absolute; z-index: 4; top: 1rem; left: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; pointer-events: none; transition: opacity .4s, transform .5s var(--t-ease); }
.st-charp__bar > * { pointer-events: auto; }
.st-charp__seg { display: inline-flex; padding: 3px; gap: 3px; background: rgba(255, 255, 255, .78);  box-shadow: inset 0 0 0 1px var(--t-line); }
.st-charp__seg button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: 0 1rem; border: 0; background: transparent; color: rgba(23, 24, 26, .72); font: 700 0.77rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.st-charp__seg button svg { width: 1.05rem; height: 1.05rem; }
.st-charp__seg button:hover { color: var(--t-ink); }
.st-charp__seg button[aria-pressed="true"] { background: linear-gradient(180deg, #C4161C, #C4161C); color: var(--t-paper); }
.st-charp__seg button:focus-visible, .st-charp__act:focus-visible, .st-charp__console button:focus-visible, .st-charp__btn:focus-visible, .st-charp__diag button:focus-visible, .st-charp__repair:focus-visible { outline: 2px solid var(--t-ink); outline-offset: 2px; }
.st-charp__app.has-fiche .st-charp__bar { opacity: 0; pointer-events: none; transform: translateY(-8px); }
.st-charp__app.has-fiche .st-charp__bar > * { pointer-events: none; }
.st-charp__hint { position: absolute; z-index: 3; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; white-space: nowrap; align-items: center; gap: .7rem; padding: .6rem .95rem; background: rgba(255, 255, 255, .74); box-shadow: inset 0 0 0 1px var(--t-line); font: 700 0.70rem/1 var(--f-display); letter-spacing: .26em; text-transform: uppercase; color: rgba(23, 24, 26, .82); pointer-events: none; transition: opacity .5s; opacity: 0; }
.st-charp__app.is-ready .st-charp__hint { opacity: 1; }
.st-charp__app.is-touched .st-charp__hint, .st-charp__app.has-fiche .st-charp__hint, .st-charp__app[data-diag-on] .st-charp__hint, .st-charp__app[data-etat-on="attaquee"] .st-charp__hint { opacity: 0; }
.st-charp__hint i { position: relative; width: 1.6rem; height: 1px; background: rgba(23, 24, 26, .3); }
.st-charp__hint i::after { content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 5px; transform: rotate(45deg); background: var(--t-gold); animation: st-charp-swipe 1.8s var(--t-ease) infinite; }
@keyframes st-charp-swipe { 0%, 100% { transform: translateX(0) rotate(45deg); } 50% { transform: translateX(1.2rem) rotate(45deg); } }

/* ---------- repères « N° 01 » ---------- */
.st-charp__pins { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.st-charp__pin { position: absolute; left: 0; top: 0; display: inline-flex; align-items: stretch; height: 1.9rem; padding: 0; margin: -.95rem 0 0 -.95rem; border: 0; background: none; color: var(--t-ink); cursor: pointer; pointer-events: auto; will-change: transform; transition: opacity .35s; font: inherit; }
.st-charp__pin b { position: relative; display: flex; align-items: center; justify-content: center; min-width: 1.9rem; padding: 0 .35rem; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px var(--t-gold), 0 8px 18px -6px rgba(23, 24, 26, 0.28); font: 500 .66rem/1 var(--f-mono); color: var(--t-ink); transition: background .3s, color .3s; }
.st-charp__pin b::before { content: "N°"; margin-right: .2em; font-size: .78em; opacity: .7; }
.st-charp__pin b::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--t-gold); animation: st-charp-ping 2.8s ease-out infinite; pointer-events: none; }
@keyframes st-charp-ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.5, 1.8); opacity: 0; } }
.st-charp__pin span { display: grid; place-items: center; max-width: 0; overflow: hidden; white-space: nowrap; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px var(--t-line); font: 700 0.70rem/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; transition: max-width .45s var(--t-ease), padding .45s var(--t-ease), opacity .3s; opacity: 0; }
.st-charp__pin:hover span, .st-charp__pin:focus-visible span, .st-charp__pin.is-on span { max-width: 14rem; padding: 0 .75rem; opacity: 1; }
@media (min-width: 760px) { .st-charp__pin span { max-width: 14rem; padding: 0 .75rem; opacity: 1; } }
.st-charp__pin:hover b, .st-charp__pin.is-on b { background: linear-gradient(180deg, #C4161C, #C4161C); color: var(--t-paper); }
.st-charp__pin.is-on b::after { animation: none; opacity: 0; }
.st-charp__pin.is-off { opacity: 0; pointer-events: none; }
.st-charp__app.has-fiche .st-charp__pin:not(.is-on) { opacity: 0; pointer-events: none; }
.st-charp__app:not(.is-ready) .st-charp__pin { opacity: 0; }

/* ---------- fiche : tiroir à droite, feuille en bas sur mobile ---------- */
.st-charp__fiche { position: absolute; z-index: 5; top: 1rem; bottom: 1rem; right: 1rem; width: min(25rem, 44%); display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .97)); box-shadow: inset 0 0 0 1px var(--t-line-2), 0 30px 60px -30px rgba(23, 24, 26, 0.33);
  transform: translateX(calc(100% + 1.5rem)); visibility: hidden; transition: transform .6s var(--t-ease), visibility 0s .6s; }
.st-charp__fiche::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--t-gold-grad); }
.st-charp__fiche.is-open { transform: none; visibility: visible; transition: transform .6s var(--t-ease), visibility 0s; }
.st-charp__grip { display: none; }
.st-charp__fhead { position: relative; padding: 1.5rem 3.8rem 1.15rem 1.5rem; border-bottom: 1px solid var(--t-line); }
.st-charp__fn { font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; color: var(--t-ink); }
.st-charp__fhead h3 { margin: .7rem 0 0; font: 700 1.39rem/1.18 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--t-ink); text-wrap: balance; }
.st-charp__fx { position: absolute; top: 1.1rem; right: 1.1rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 0; background: rgba(23, 24, 26, .06); box-shadow: inset 0 0 0 1px var(--t-hair); color: var(--t-ink); cursor: pointer; transition: background .3s, color .3s; }
.st-charp__fx:hover { background: var(--t-gold); color: var(--t-paper); }
.st-charp__fx svg { width: 1.1rem; height: 1.1rem; }
.st-charp__fbody { flex: 1; overflow: auto; padding: 1.2rem 1.5rem; display: grid; gap: 1.15rem; align-content: start; overscroll-behavior: contain; }
.st-charp__fbody h4 { margin: 0 0 .45rem; font: 700 0.72rem/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase; color: var(--t-ink); }
.st-charp__fbody p { margin: 0; font-size: .95rem; line-height: 1.6; color: rgba(23, 24, 26, .84); text-wrap: pretty; }
.st-charp__ferr { padding: .9rem 1rem; background: rgba(196, 22, 28, .08); box-shadow: inset 2px 0 0 var(--t-red); }
.st-charp__ferr h4 { color: #1F2421; }
.st-charp__ffoot { display: flex; gap: .6rem; align-items: center; justify-content: space-between; padding: 1rem 1.5rem 1.3rem; border-top: 1px solid var(--t-line); }
.st-charp__fnav { display: flex; gap: .4rem; }
.st-charp__fnav button { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 0; background: rgba(23, 24, 26, .06); box-shadow: inset 0 0 0 1px var(--t-hair); color: var(--t-ink); cursor: pointer; }
.st-charp__fnav button:hover { background: rgba(196, 22, 28, .2); }
.st-charp__fnav svg { width: 1.1rem; height: 1.1rem; }

/* ---------- console ---------- */
.st-charp__console { display: grid; grid-template-columns: 1fr; gap: 1.4rem 2.4rem; padding: 1.6rem clamp(1rem, 2vw, 1.8rem) 1.7rem; background: linear-gradient(180deg, #FFFFFF, #FFFFFF); box-shadow: 0 0 0 1px var(--t-line); border-top: 0; }
.st-charp__grp { display: grid; gap: .75rem; align-content: start; min-width: 0; }
.st-charp__foot { grid-column: 1 / -1; }
.st-charp__lbl { display: flex; align-items: center; gap: .8rem; font: 700 0.72rem/1 var(--f-display); letter-spacing: .26em; text-transform: uppercase; color: rgba(23, 24, 26, .6); }
.st-charp__lbl::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--t-line-2), transparent); }
.st-charp__reps { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.6rem, 1fr)); gap: .4rem; margin: 0; padding: 0; list-style: none; }
.st-charp__reps button { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 2.4rem; padding: 0 .7rem; border: 0; background: rgba(23, 24, 26, .03); box-shadow: inset 0 0 0 1px var(--t-hair); color: rgba(23, 24, 26, .82); text-align: left; cursor: pointer; transition: background .3s, box-shadow .3s, color .3s; }
.st-charp__reps span { font: 500 .66rem/1 var(--f-mono); color: var(--t-ink); }
.st-charp__reps span::before { content: "N° "; opacity: .65; }
.st-charp__reps em { font: 700 0.72rem/1.2 var(--f-display); font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
.st-charp__reps button:hover { box-shadow: inset 0 0 0 1px var(--t-line-2); color: var(--t-ink); }
.st-charp__reps button[aria-pressed="true"] { background: rgba(196, 22, 28, .12); box-shadow: inset 0 0 0 1px var(--t-gold); color: var(--t-ink); }
.st-charp__foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-top: 1.2rem; border-top: 1px solid var(--t-hair); }
.st-charp__out { flex: 1 1 26rem; margin: 0; font-size: .95rem; line-height: 1.55; color: rgba(23, 24, 26, .78); }
.st-charp__ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.st-charp__btn { display: inline-flex; align-items: center; gap: .65rem; min-height: 3rem; padding: 0 1.25rem; font: 700 0.77rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform .3s var(--t-ease), box-shadow .3s, filter .3s; }
.st-charp__btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.st-charp__btn--or { background: linear-gradient(180deg, #C4161C, #C4161C); color: var(--t-paper); box-shadow: 0 12px 26px -14px rgba(196, 22, 28, .8); }
.st-charp__btn--pro { background: var(--t-red); color: #fff; box-shadow: 0 12px 26px -14px rgba(196, 22, 28, .8); }
.st-charp__btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.st-charp__ffoot .st-charp__btn { min-height: 2.6rem; padding: 0 1rem; font-size: .58rem; }

/* ---------- mobile ---------- */
@media (max-width: 759px) {
  .st-charp__head { grid-template-columns: 1fr; }
  .st-charp__wrap { width: 100%; }
  .st-charp__head { padding-inline: 1.1rem; }
  .st-charp__stage { height: min(132vw, 40rem); }
  .st-charp__bar { top: .7rem; left: .7rem; right: .7rem; gap: .45rem; }
  .st-charp__seg button { min-height: 2.4rem; padding: 0 .75rem; letter-spacing: .14em; }
  .st-charp__fiche { inset: auto 0 0 0; top: auto; width: 100%; max-height: 64%; transform: translateY(calc(100% + 1rem)); }
  .st-charp__grip { display: block; position: absolute; top: .45rem; left: 50%; width: 2.6rem; height: 3px; margin-left: -1.3rem; border-radius: 3px; background: rgba(23, 24, 26, .28); }
  .st-charp__fhead { padding: 1.3rem 3.6rem .9rem 1.15rem; }
  .st-charp__fhead h3 { font-size: 1rem; }
  .st-charp__fbody { padding: 1rem 1.15rem; gap: .95rem; }
  .st-charp__fbody p { font-size: .9rem; }
  .st-charp__ffoot { padding: .8rem 1.15rem 1rem; }
  .st-charp__console { padding: 1.2rem 1.1rem 1.4rem; gap: 1.2rem; }
  .st-charp__reps { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .4rem; margin-inline: -1.1rem; padding-inline: 1.1rem; scrollbar-width: none; }
  .st-charp__reps li { flex: none; scroll-snap-align: start; }
  .st-charp__reps button { min-height: 2.6rem; }
  .st-charp__btn { flex: 1 1 auto; justify-content: center; }
  .st-charp__hint { bottom: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .st-charp__pin b::after, .st-charp__hint i::after, .st-charp__load svg { animation: none; }
  .st-charp__load svg { stroke-dashoffset: 0; }
  .st-charp__fiche, .st-charp__card, .st-charp__bar, .st-charp__stage > canvas { transition: none; }
}

/* ---------- actions (poser, traiter) ---------- */
.st-charp__act { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.5rem; padding: 0 1.05rem 0 .85rem; border: 0; background: rgba(255, 255, 255, .78);  box-shadow: inset 0 0 0 1px var(--t-line-2); color: var(--t-ink); font: 700 0.77rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, opacity .3s; }
.st-charp__act svg { width: 1.1rem; height: 1.1rem; }
.st-charp__act:hover:not(:disabled) { background: rgba(196, 22, 28, .16); }
.st-charp__act:disabled { opacity: .5; cursor: default; }
.st-charp__bar .st-charp__act { margin-left: auto; }

/* ---------- diagnostic : liste des désordres, carte, repères rouges ---------- */
.st-charp__diag { position: absolute; z-index: 4; left: 1rem; bottom: 1rem; display: none; flex-direction: column; gap: .55rem; width: min(17.5rem, 40%); padding: .9rem; background: rgba(255, 255, 255, .84);  box-shadow: inset 0 0 0 1px var(--t-line); border-left: 2px solid var(--t-red); transition: opacity .4s, transform .5s var(--t-ease); }
.st-charp__app[data-etat-on="attaquee"] .st-charp__diag { display: flex; }
.st-charp__app.has-fiche .st-charp__diag, .st-charp__app[data-diag-on] .st-charp__diag { opacity: 0; pointer-events: none; transform: translateY(8px); }
.st-charp__dl { font: 700 0.72rem/1 var(--f-display); letter-spacing: .26em; text-transform: uppercase; color: #1F2421; }
.st-charp__diag ol { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.st-charp__diag ol button { display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 2.45rem; padding: 0 .7rem; border: 0; background: rgba(23, 24, 26, .04); box-shadow: inset 0 0 0 1px var(--t-hair); color: var(--t-ink); text-align: left; cursor: pointer; transition: background .3s, box-shadow .3s; }
.st-charp__diag ol button:hover { box-shadow: inset 0 0 0 1px rgba(196, 22, 28, .6); }
.st-charp__diag ol b { font: 500 .66rem/1 var(--f-mono); color: #1F2421; }
.st-charp__diag ol b::before { content: "N° "; opacity: .65; }
.st-charp__diag ol span { flex: 1; font: 700 0.72rem/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }
.st-charp__diag ol i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--t-red); box-shadow: 0 0 0 3px rgba(196, 22, 28, .22); }
.st-charp__diag ol button.is-done b { color: var(--t-ink); }
.st-charp__diag ol button.is-done i { background: var(--t-gold); box-shadow: 0 0 0 3px rgba(196, 22, 28, .22); }
.st-charp__act--treat { justify-content: center; margin-top: .2rem; background: linear-gradient(180deg, #C4161C, #C4161C); color: var(--t-paper); box-shadow: none; }
.st-charp__act--treat:hover:not(:disabled) { background: linear-gradient(180deg, #C4161C, #C4161C); }
.st-charp__card { position: absolute; z-index: 5; top: 1rem; bottom: 1rem; left: 1rem; width: min(24rem, 42%); display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .97)); box-shadow: inset 0 0 0 1px rgba(196, 22, 28, .45), 0 30px 60px -30px rgba(23, 24, 26, 0.33);
  transform: translateX(calc(-100% - 1.5rem)); visibility: hidden; transition: transform .6s var(--t-ease), visibility 0s .6s; }
.st-charp__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--t-red); }
.st-charp__card.is-open { transform: none; visibility: visible; transition: transform .6s var(--t-ease), visibility 0s; }
.st-charp__chead { position: relative; padding: 1.5rem 3.8rem 1.1rem 1.5rem; border-bottom: 1px solid var(--t-line); }
.st-charp__chead .st-charp__fn { color: #1F2421; }
.st-charp__chead h3 { margin: .7rem 0 0; font: 700 1.32rem/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--t-ink); text-wrap: balance; }
.st-charp__cbody { flex: 1; overflow: auto; padding: 1.2rem 1.5rem; display: grid; gap: 1.05rem; align-content: start; overscroll-behavior: contain; }
.st-charp__cbody h4 { margin: 0 0 .45rem; font: 700 0.72rem/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase; color: var(--t-ink); }
.st-charp__cbody p { margin: 0; font-size: .94rem; line-height: 1.58; color: rgba(23, 24, 26, .84); text-wrap: pretty; }
.st-charp__repair { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; margin: 0 1.5rem 1.4rem; min-height: 3rem; border: 0; background: linear-gradient(180deg, #C4161C, #C4161C); color: var(--t-paper); font: 700 0.77rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: filter .3s, opacity .3s; }
.st-charp__repair svg { width: 1.15rem; height: 1.15rem; }
.st-charp__repair:hover:not(:disabled) { filter: brightness(1.06); }
.st-charp__repair:disabled { opacity: .55; cursor: default; }
.st-charp__app[data-busy] .st-charp__repair { opacity: .55; }
.st-charp__ppin { position: absolute; left: 0; top: 0; display: inline-flex; align-items: stretch; height: 1.9rem; margin: -.95rem 0 0 -.95rem; padding: 0; border: 0; background: none; color: var(--t-ink); cursor: pointer; pointer-events: auto; will-change: transform; transition: opacity .35s; }
.st-charp__ppin b { position: relative; display: grid; place-items: center; width: 1.9rem; border-radius: 50%; background: var(--t-red); font: 700 0.96rem/1 var(--f-display); color: #fff; box-shadow: 0 6px 16px -6px rgba(23, 24, 26, 0.28); }
.st-charp__ppin b::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--t-red); animation: st-charp-ping 2.4s ease-out infinite; }
.st-charp__ppin span { display: grid; place-items: center; margin-left: .35rem; padding: 0 .65rem; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(196, 22, 28, .5); font: 700 0.70rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.st-charp__ppin.is-done b { background: var(--t-gold); color: var(--t-paper); }
.st-charp__ppin.is-done b::after { animation: none; opacity: 0; }
.st-charp__ppin.is-off { opacity: 0; pointer-events: none; }
.st-charp__app:not(.is-ready) .st-charp__ppin { opacity: 0; }
@media (max-width: 759px) {
  .st-charp__stage { height: min(150vw, 42rem); }
  .st-charp__diag { left: .6rem; right: .6rem; bottom: .6rem; width: auto; padding: .55rem; gap: .4rem; }
  .st-charp__dl { display: none; }
  .st-charp__act--treat { min-height: 2.3rem; margin-top: 0; }
  .st-charp__diag ol { grid-template-columns: 1fr 1fr; }
  .st-charp__diag ol button { min-height: 2.3rem; padding: 0 .55rem; gap: .45rem; }
  .st-charp__diag ol span { font-size: .54rem; letter-spacing: .1em; }
  .st-charp__card { inset: auto 0 0 0; top: auto; width: 100%; max-height: 66%; transform: translateY(calc(100% + 1rem)); }
  .st-charp__chead { padding: 1.2rem 3.6rem .9rem 1.15rem; }
  .st-charp__cbody { padding: 1rem 1.15rem; gap: .85rem; }
  .st-charp__cbody p { font-size: .88rem; }
  .st-charp__repair { margin: 0 1.15rem 1rem; }
  .st-charp__ppin span { display: none; }
  .st-charp__act span { font-size: .56rem; }
}
@keyframes st-charp-ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .st-charp__ppin b::after { animation: none; } }

/* ---------- base : feuille de papier millimétré, titres au crayon, planche encadrée, plan technique ---------- */
.st-charp { --ln: color-mix(in srgb, var(--t-ink) 16%, transparent); --ln2: color-mix(in srgb, var(--t-ink) 34%, transparent);
  color: var(--t-ink); font-family: var(--f-text);
  background:
    linear-gradient(color-mix(in srgb, var(--t-ink) 5%, transparent) 1px, transparent 1px) 0 0 / 100% 50px,
    linear-gradient(90deg, color-mix(in srgb, var(--t-ink) 5%, transparent) 1px, transparent 1px) 0 0 / 50px 100%,
    linear-gradient(color-mix(in srgb, var(--t-ink) 2.5%, transparent) 1px, transparent 1px) 0 0 / 100% 10px,
    linear-gradient(90deg, color-mix(in srgb, var(--t-ink) 2.5%, transparent) 1px, transparent 1px) 0 0 / 10px 100%,
    var(--t-ivory); }
.st-charp::before, .st-charp::after { content: none; }
.st-charp__kicker { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.2rem; font: 700 .82rem/1 var(--f-display); letter-spacing: .26em; text-transform: uppercase; color: var(--t-ink); }
.st-charp__kicker::before, .st-charp__kicker::after { content: none; }
.st-charp__num { position: relative; font: 700 .8rem/1 var(--f-mono); letter-spacing: .04em; padding: .42rem .55rem .38rem; border: 1.5px solid var(--t-ink); background: var(--t-paper); }
.st-charp__num::after { content: ""; position: absolute; left: -1.5px; right: -1.5px; bottom: -6px; height: 3px; background: var(--t-gold); }
.st-charp__ticks { position: relative; width: 3.4rem; height: 9px; border-left: 1.5px solid var(--t-ink); border-right: 1.5px solid var(--t-ink); }
.st-charp__ticks::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1.5px; background: var(--t-ink); }
.st-charp__title { margin: 0; font: 800 clamp(2.3rem, 1.2rem + 3.6vw, 4.5rem)/.93 var(--f-display); letter-spacing: .01em; text-transform: uppercase; color: var(--t-ink); text-wrap: balance; }
.st-charp__title em { display: inline-block; font: italic 500 .86em/1.05 var(--f-serif); letter-spacing: -.01em; text-transform: none; padding: 0 .12em; margin: 0 0 0 -.06em;
  background: linear-gradient(176deg, transparent 0 56%, var(--t-gold) 56% 88%, transparent 88%) no-repeat 0 0 / 100% 100%; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: var(--t-ink); }
.st-charp__lede { color: var(--t-mine); }
.st-charp__stage { background: #dfe7ee; box-shadow: 0 0 0 1.5px var(--t-ink), 0 0 0 7px var(--t-paper), 0 0 0 8px var(--ln2), 0 40px 70px -46px rgba(23, 24, 26, .6); }
.st-charp__stage::before, .st-charp__stage::after { content: none; }
.st-charp__planb { position: absolute; z-index: 6; top: 1.1rem; right: 1.1rem; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.55rem; padding: 0 1.1rem 0 .85rem; border: 0; background: var(--t-ink); color: var(--t-ivory); font: 700 .8rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; box-shadow: 4px 4px 0 var(--t-gold); transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--t-ease); }
.st-charp__planb svg { width: 1.15rem; height: 1.15rem; }
.st-charp__planb::after { content: "OFF"; margin-left: .25rem; padding: .22rem .32rem; font: 700 .58rem/1 var(--f-mono); letter-spacing: .06em; border: 1px solid color-mix(in srgb, var(--t-ivory) 45%, transparent); }
.st-charp__planb:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--t-gold); }
.st-charp__planb[aria-pressed="true"] { background: var(--t-gold); color: var(--t-ink); box-shadow: 4px 4px 0 var(--t-ink); }
.st-charp__planb[aria-pressed="true"]::after { content: "ON"; border-color: var(--t-ink); }
.st-charp__app.has-fiche .st-charp__planb { opacity: 0; pointer-events: none; }
.st-charp__cartouche { position: absolute; z-index: 4; right: 1.1rem; bottom: 1.1rem; display: grid; grid-template-columns: 1fr auto; min-width: 17rem; background: #FAF6EE; box-shadow: 0 0 0 1.5px var(--t-ink); font: 400 .64rem/1.25 var(--f-mono); color: var(--t-ink); opacity: 0; transform: translateY(8px); transition: opacity .5s .5s, transform .5s .5s var(--t-ease); pointer-events: none; }
.st-charp__cartouche > * { padding: .38rem .6rem; border-bottom: 1px solid var(--ln2); grid-column: 1; }
.st-charp__cartouche b { font: 800 .9rem/1 var(--f-display); letter-spacing: .1em; }
.st-charp__cartouche em { grid-column: 2; grid-row: 1 / span 4; display: grid; place-items: center; font-style: normal; font-weight: 700; border-left: 1.5px solid var(--t-ink); border-bottom: 0; background: var(--t-gold); padding: 0 .8rem; }
.st-charp__cartouche span:last-of-type { border-bottom: 0; }
.st-charp__app[data-plan-on] .st-charp__cartouche { opacity: 1; transform: none; }
.st-charp__app.has-fiche .st-charp__cartouche { opacity: 0; }
.st-cotes { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .35s; }
.st-cotes.is-on { opacity: 1; }
.st-c path { fill: none; stroke: var(--t-ink); stroke-width: 1.15; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.st-c .st-c__ext { stroke-width: .8; stroke-dasharray: none; opacity: 0; transition: opacity .6s .5s; }
.st-cotes.is-on .st-c path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--t-ease) var(--d, 0s); }
.st-cotes.is-on .st-c .st-c__ext { opacity: .65; }
.st-c__lb { opacity: 0; transition: opacity .5s; }
.st-cotes.is-on .st-c__lb { opacity: 1; transition-delay: calc(var(--d, 0s) + .6s); }
.st-c__lb rect { fill: #FAF6EE; stroke: var(--t-ink); stroke-width: .8; }
.st-c.is-hi .st-c__lb rect { fill: var(--t-gold); }
.st-c__lb text { font: 700 10.5px/1 var(--f-mono); letter-spacing: .04em; fill: var(--t-ink); }
.st-c__n { fill: #8a6a00; }
.st-charp__fiche { background: var(--t-paper); color: var(--t-ink); box-shadow: 0 0 0 1.5px var(--t-ink), 8px 8px 0 color-mix(in srgb, var(--t-ink) 16%, transparent); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.st-charp__fiche::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 26px; height: 26px; background: linear-gradient(225deg, transparent 50%, color-mix(in srgb, var(--t-ink) 16%, var(--t-ivory)) 50%); box-shadow: -1.5px 1.5px 0 var(--t-ink); z-index: 2; }
.st-charp__fiche h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: .01em; color: var(--t-ink); }
.st-charp__fiche p { color: var(--t-mine); }
@media (max-width: 759px) {
  .st-charp__stage { box-shadow: 0 0 0 1.5px var(--t-ink); }
  .st-charp__planb { top: auto; bottom: .7rem; right: .7rem; min-height: 2.35rem; padding: 0 .75rem 0 .6rem; font-size: .72rem; }
  .st-charp__cartouche { display: none; }
  .st-charp__fiche { clip-path: none; }
  .st-charp__fiche::before { display: none; }
  .st-c__lb text { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) { .st-charp__cartouche, .st-cotes, .st-c path, .st-c__lb { transition: none !important; } .st-c path { stroke-dashoffset: 0; } }
/* ---------- charpente3d : diagnostic, carte, pastilles ---------- */
.st-charp__app[data-plan-on] .st-charp__pin, .st-charp__app[data-plan-on] .st-charp__ppin { opacity: 0 !important; pointer-events: none; }
.st-charp__card { background: var(--t-paper); color: var(--t-ink); box-shadow: 0 0 0 1.5px var(--t-ink), 8px 8px 0 color-mix(in srgb, var(--t-ink) 16%, transparent); }
.st-charp__card h3, .st-charp__card h4 { color: var(--t-ink); }
.st-charp__card p { color: var(--t-mine); }
.st-charp__planb { top: auto; bottom: 1.1rem; right: 1.1rem; }
.st-charp__app[data-plan-on] .st-charp__cartouche { bottom: 4.6rem; }
.st-charp__btn--jaune, .st-charp__btn--or { background: var(--t-gold); color: var(--t-ink); box-shadow: 0 0 0 1.5px var(--t-ink), 4px 4px 0 var(--t-ink); }
.st-charp__btn--pro, .st-charp__btn--tel { background: var(--t-red); color: #fff; box-shadow: 4px 4px 0 var(--t-ink); }
@media (max-width: 759px) { .st-charp__planb { bottom: auto; top: 3.7rem; right: .7rem; } }

/* ======================================================================================================
   Habillage Samuel Toiture : crème et charbon, filet rouge du fourgon, coins arrondis, ombres douces,
   typographies de la charte (Bricolage Grotesque, Figtree, Newsreader, DM Mono). Les règles ci-dessous priment.
   ====================================================================================================== */
.st-charp { --ln: rgba(31, 36, 33, .13); --ln2: rgba(31, 36, 33, .26); --soft: rgba(31, 36, 33, .72); --t-on: var(--st-cream); --t-card: var(--st-paper); --t-rad: 10px;
  background: var(--t-ivory); }
.st-charp::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: repeating-linear-gradient(0deg, transparent 0 30px, rgba(31, 36, 33, .035) 30px 32px), repeating-linear-gradient(90deg, transparent 0 94px, rgba(31, 36, 33, .025) 94px 96px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.st-charp--sombre { --t-ink: var(--st-cream); --t-ivory: var(--st-night); --t-paper: #232926; --t-mine: rgba(250, 246, 238, .7); --ln: rgba(250, 246, 238, .13); --ln2: rgba(250, 246, 238, .24); }
.st-charp--sombre::before { background: repeating-linear-gradient(0deg, transparent 0 30px, rgba(250, 246, 238, .035) 30px 32px), repeating-linear-gradient(90deg, transparent 0 94px, rgba(250, 246, 238, .028) 94px 96px); }
/* le plan technique et sa légende restent à l'encre sur papier, quel que soit le thème */
.st-charp .st-cotes, .st-charp__cartouche { --t-ink: var(--st-ink); --t-paper: var(--st-paper); --t-ivory: var(--st-cream); }
.st-charp__head { position: relative; }
.st-charp__kicker { gap: .75rem; font: 500 .8rem/1 var(--f-mono); letter-spacing: .14em; color: var(--t-mine); }
.st-charp__kicker svg { width: 26px; height: 26px; flex: none; }
.st-charp__num, .st-charp__ticks { display: none; }
.st-charp__title { font: 800 clamp(2.1rem, 1.1rem + 3.2vw, 4rem)/1.02 var(--f-display); letter-spacing: -.025em; text-transform: none; }
.st-charp__title em { font: italic 500 1.02em/1 var(--f-serif); color: var(--st-red); background: none; padding: 0; margin: 0; }
.st-charp__lede { color: var(--t-mine); line-height: 1.62; }
/* scène : coins arrondis, filet rouge en tête comme la bande du fourgon */
.st-charp__stage { border-radius: var(--t-rad) var(--t-rad) 0 0; box-shadow: none; background: #d9e0e4; }
.st-charp__stage::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; z-index: 7; background: var(--st-red); pointer-events: none; }
.st-charp__mark { display: none; }
.st-charp__seg, .st-charp__grp--etat .st-charp__seg { border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--ln2), 0 10px 24px -14px rgba(0, 0, 0, .45); background: var(--t-paper); }
.st-charp__seg button { font: 600 .84rem/1 var(--f-text); letter-spacing: 0; text-transform: none; }
.st-charp__seg button:hover { background: rgba(196, 22, 28, .08); }
.st-charp__seg button[aria-pressed="true"] { background: var(--st-red); color: var(--st-cream); }
.st-charp__explode, .st-charp__planb { border-radius: 8px; font: 600 .84rem/1 var(--f-text); letter-spacing: 0; text-transform: none; box-shadow: 0 0 0 1px var(--ln2), 0 10px 24px -14px rgba(0, 0, 0, .45); }
.st-charp__explode:hover, .st-charp__explode[aria-pressed="true"] { background: var(--st-yellow); color: var(--st-ink); }
.st-charp__planb { top: 1.3rem; background: var(--st-ink); color: var(--st-cream); }
.st-charp__planb:hover { transform: none; box-shadow: 0 0 0 1px var(--st-ink), 0 12px 26px -12px rgba(0, 0, 0, .6); }
.st-charp__planb[aria-pressed="true"] { background: var(--st-red); color: var(--st-cream); box-shadow: 0 0 0 1px var(--st-red); }
.st-charp__bar { top: 1.3rem; }
.st-charp__hint { border-radius: 999px; }
.st-charp__hint i::after { background: var(--st-red); box-shadow: none; border-radius: 50%; }
.st-charp__pin b { border-radius: 999px; min-width: 1.95rem; height: 1.95rem; background: var(--st-red); color: var(--st-cream); box-shadow: 0 0 0 2px rgba(255, 253, 248, .92), 0 6px 14px -6px rgba(0, 0, 0, .55); }
.st-charp__pin b::after { border-radius: 999px; border-color: rgba(255, 253, 248, .8); }
.st-charp__pin span { border-radius: 0 6px 6px 0; font-family: var(--f-text); letter-spacing: 0; text-transform: none; font-weight: 600; }
.st-charp__pin:hover b, .st-charp__pin.is-on b { background: var(--st-yellow); color: var(--st-ink); }
.st-charp__card { border-radius: var(--t-rad); box-shadow: 0 0 0 1px var(--ln), 0 18px 40px -22px rgba(0, 0, 0, .5); }
.st-charp__card h3 { font-family: var(--f-display); letter-spacing: -.01em; text-transform: none; }
.st-charp__sn { border-radius: 4px; background: var(--st-red); color: var(--st-cream); }
.st-charp__ctrl button { border-radius: 8px; }
.st-charp__play { background: var(--st-red) !important; color: var(--st-cream) !important; }
.st-charp__track button { font-family: var(--f-text); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: .74rem; }
.st-charp__track button b { border-radius: 999px; }
.st-charp__track button[aria-current] b { background: var(--st-red); color: var(--st-cream); box-shadow: 0 0 0 2px var(--st-red); }
.st-charp__track button.is-done b { box-shadow: inset 0 0 0 1.5px var(--st-red); color: var(--st-red); }
.st-charp__go { border-radius: 8px; font-family: var(--f-text); letter-spacing: 0; text-transform: none; }
.st-charp__go svg { color: var(--st-red); }
.st-charp__split input::-webkit-slider-thumb { background: var(--st-red); border: 2px solid var(--st-cream); border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.st-charp__split input::-moz-range-thumb { background: var(--st-red); border: 2px solid var(--st-cream); border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.st-charp .st-c.is-hi .st-c__lb rect { fill: var(--st-red); }
.st-charp .st-c.is-hi .st-c__lb text { fill: var(--st-cream); }
.st-charp__cartouche { border-radius: 6px; overflow: hidden; }
.st-charp__cartouche em { background: var(--st-red); color: var(--st-cream); }
.st-charp__fiche { border-radius: var(--t-rad); clip-path: none; box-shadow: 0 0 0 1px var(--ln), 0 30px 60px -30px rgba(0, 0, 0, .6); background: var(--t-paper); }
.st-charp__fiche::before, .st-charp__fiche::after { display: none; }
.st-charp__fhead h3 { font-family: var(--f-display); letter-spacing: -.01em; text-transform: none; }
.st-charp__fn { border-radius: 999px; background: var(--st-red); color: var(--st-cream); padding: .32rem .45rem; }
.st-charp__fx, .st-charp__fnav button { border-radius: 999px; }
.st-charp__fx:hover, .st-charp__fnav button:hover { background: var(--st-yellow); color: var(--st-ink); }
.st-charp__fbody h4 { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; }
.st-charp__fbody h4 i { border-radius: 999px; background: var(--st-ink); color: var(--st-cream); }
.st-charp__ferr { border-radius: 8px; background: rgba(196, 22, 28, .07); box-shadow: inset 3px 0 0 var(--st-red); }
.st-charp__ferr h4 { color: var(--st-red); }
.st-charp__console { border-radius: 0 0 var(--t-rad) var(--t-rad); box-shadow: 0 0 0 1px var(--ln), 0 30px 60px -40px rgba(0, 0, 0, .45); margin-top: 0; background: var(--t-paper); }
.st-charp__lbl { font: 500 .74rem/1 var(--f-mono); letter-spacing: .12em; }
.st-charp__lbl b { border-radius: 999px; background: var(--st-red); color: var(--st-cream); }
.st-charp__covers button { border-radius: 8px; }
.st-charp__covers button b { font-family: var(--f-display); letter-spacing: -.005em; text-transform: none; }
.st-charp__covers button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--st-red); transform: none; }
.st-charp__sw { border-radius: 5px; }
.st-charp__switch { border-radius: 999px; }
.st-charp__switch i { border-radius: 999px; }
.st-charp__switch[aria-checked="true"] i { background: var(--st-red); }
.st-charp__reps button { border-radius: 8px; }
.st-charp__reps button[aria-pressed="true"] { background: var(--st-red); color: var(--st-cream); box-shadow: none; }
.st-charp__reps button[aria-pressed="true"] span { color: var(--st-cream); }
.st-charp__btn { border-radius: 8px; font: 700 .92rem/1 var(--f-display); letter-spacing: 0; text-transform: none; }
.st-charp__btn--jaune { background: var(--st-red); color: var(--st-cream); box-shadow: 0 12px 24px -14px rgba(196, 22, 28, .8); }
.st-charp__btn--jaune:hover { background: var(--st-red-deep); transform: none; box-shadow: 0 12px 24px -14px rgba(142, 15, 20, .9); }
.st-charp__btn--line { border-radius: 8px; }
.st-charp__load span { font-family: var(--f-mono); letter-spacing: .1em; }
.st-charp__note { margin: 1rem 0 0; max-width: 72ch; font-size: .9rem; line-height: 1.55; color: var(--t-mine); }
@media (max-width: 759px) {
  .st-charp__stage { border-radius: var(--t-rad) var(--t-rad) 0 0; box-shadow: none; }
  .st-charp__bar { top: 1rem; }
  .st-charp__seg button { font-size: .78rem; }
  .st-charp__fiche { border-radius: 14px 14px 0 0; }
}
.st-charp__sw--tuile-tempete { background: linear-gradient(180deg, rgba(0, 0, 0, .32) 0 2px, transparent 2px 13px) 0 0 / 100% 13px, repeating-linear-gradient(90deg, #6f3024 0 2px, #9a4731 2px 6px, #843a29 6px 9px, #a3503a 9px 14px), #8f3f2c; }
.st-charp__sw--panne { background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0 2px, transparent 2px 15px) 0 0 / 100% 15px, repeating-linear-gradient(90deg, #6f3324 0, #a65439 6px, #b8603f 9px, #934a35 13px, #6f3324 18px), #9a4a32; }
.st-charp__sw--zinc { background: repeating-linear-gradient(90deg, #8f9599 0 12px, #c3c8cb 12px 14px), #a3a7a8; }
.st-charp__btn--tel { background: transparent; color: var(--t-ink); box-shadow: inset 0 0 0 1.5px var(--ln2); }
.st-charp__btn--tel:hover { background: rgba(31, 36, 33, .05); transform: none; box-shadow: inset 0 0 0 1.5px var(--t-ink); }
@media (max-width: 759px) { .st-charp__note { padding-inline: 1rem; max-width: none; } }

/* éléments propres à la charpente : diagnostic, carte de réparation, repères de désordres */
.st-charp { --t-hair: rgba(31, 36, 33, .12); --t-line: rgba(31, 36, 33, .14); --t-line-2: rgba(31, 36, 33, .28); --t-gold-grad: var(--st-red); }
.st-charp__diag { border-radius: var(--t-rad); border-left: 0; box-shadow: 0 0 0 1px rgba(31, 36, 33, .12), 0 20px 40px -24px rgba(0, 0, 0, .55); background: rgba(255, 253, 248, .94); }
.st-charp__dl { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; color: var(--st-ink); }
.st-charp__diag ol button { border-radius: 7px; color: var(--st-ink); }
.st-charp__diag ol b { font-family: var(--f-mono); color: var(--st-ink); }
.st-charp__diag ol b::before { content: ""; }
.st-charp__diag ol span { font: 600 .82rem/1.2 var(--f-text); letter-spacing: 0; text-transform: none; }
.st-charp__diag ol i { background: var(--st-red); box-shadow: 0 0 0 3px rgba(196, 22, 28, .22); }
.st-charp__diag ol button.is-done i { background: #2f8f4e; box-shadow: 0 0 0 3px rgba(47, 143, 78, .22); }
.st-charp__act { border-radius: 8px; font: 600 .84rem/1 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--st-ink); }
.st-charp__act--treat, .st-charp__act--treat:hover:not(:disabled) { background: var(--st-red); color: var(--st-cream); }
.st-charp__card { border-radius: var(--t-rad); box-shadow: 0 0 0 1px rgba(196, 22, 28, .35), 0 30px 60px -30px rgba(0, 0, 0, .6); background: var(--st-paper); color: var(--st-ink); }
.st-charp__chead h3 { font-family: var(--f-display); letter-spacing: -.01em; text-transform: none; color: var(--st-ink); }
.st-charp__chead .st-charp__fn { background: var(--st-red); color: var(--st-cream); border-radius: 4px; }
.st-charp__cbody h4 { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; }
.st-charp__repair { border-radius: 8px; background: var(--st-red); color: var(--st-cream); font: 700 .92rem/1 var(--f-display); letter-spacing: 0; text-transform: none; }
.st-charp__repair:hover:not(:disabled) { background: var(--st-red-deep); }
.st-charp__ppin b { background: var(--st-yellow); color: var(--st-ink); box-shadow: 0 0 0 2px rgba(255, 253, 248, .92), 0 6px 14px -6px rgba(0, 0, 0, .55); }
.st-charp__ppin b::after { border-color: var(--st-yellow); }
.st-charp__ppin span { border-radius: 0 6px 6px 0; font-family: var(--f-text); letter-spacing: 0; text-transform: none; font-weight: 600; }
.st-charp__btn--or { background: var(--st-red); color: var(--st-cream); box-shadow: 0 12px 24px -14px rgba(196, 22, 28, .8); }
.st-charp__btn--pro { background: transparent; color: var(--t-ink); box-shadow: inset 0 0 0 1.5px var(--ln2); }
.st-charp__planb { bottom: auto; left: auto; height: auto; min-height: 2.55rem; }
.st-charp__reps button { border-radius: 8px; color: var(--t-ink); }
.st-charp__reps span::before { content: none; }
.st-charp__reps em { font: 600 .84rem/1.2 var(--f-text); letter-spacing: 0; text-transform: none; }
.st-charp__reps button[aria-pressed="true"] { background: var(--st-red); color: var(--st-cream); box-shadow: none; }
.st-charp__reps button[aria-pressed="true"] span { color: var(--st-cream); }
.st-charp__lbl { font: 500 .74rem/1 var(--f-mono); letter-spacing: .12em; }
.st-charp__fbody h4 { color: var(--t-ink); }
@media (max-width: 759px) { .st-charp__planb { top: 4.1rem; right: .6rem; } }
@media (max-width: 759px) { .st-charp__act span { font-size: .82rem; letter-spacing: 0; } }
