/* Calculateur du cout cache d'un licenciement (pro/calculateur-cout-licenciement/) : complete pv8.css avec les memes couleurs et polices */
.calc-hero { padding-bottom: 10px; }
.calc-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 20ch; }
.calc-sec { padding-top: 30px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: start; }
.calc-card { background: #fff; border-radius: 30px; padding: 30px; box-shadow: 0 12px 30px rgba(32,26,18,.09); display: grid; gap: 18px; margin: 0; }
.calc-f { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-f > span:first-child, .calc-f legend { font-weight: 800; font-size: .98rem; line-height: 1.3; padding: 0; }
.calc-f small { display: block; font-weight: 700; font-size: .82rem; color: var(--mut); }
.calc-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.calc-2 > * { min-width: 0; }
.calc-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc-types label { position: relative; cursor: pointer; display: flex; }
.calc-types input { position: absolute; opacity: 0; pointer-events: none; }
.calc-types span { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 14px 16px; border: 3px solid #eadfce; border-radius: 18px; background: var(--bg); font-weight: 800; font-size: .95rem; line-height: 1.25; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.calc-types i { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #d9c9b2; background: #fff; flex: none; transition: border-color .15s, background .15s; }
.calc-types label:hover span { border-color: #d9c9b2; }
.calc-types input:checked + span { background: var(--butter); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.calc-types input:checked + span i { border-color: var(--ink); background: var(--or); box-shadow: inset 0 0 0 3px #fff; }
.calc-types input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }
.calc-in { display: flex; align-items: center; background: var(--bg); border: 3px solid #eadfce; border-radius: 16px; padding: 0 14px; transition: border-color .2s; }
.calc-in:focus-within { border-color: var(--ink); }
.calc-in { width: 100%; }
.calc-in input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; padding: 12px 0; font: 800 17px var(--bd); color: var(--ink); outline: none; }
.calc-in i { font-style: normal; font-weight: 800; color: var(--mut); margin-left: 8px; }
.calc-range { display: flex; align-items: center; gap: 14px; }
.calc-range input { flex: 1; accent-color: var(--or); height: 28px; }
.calc-range output { min-width: 9.5em; text-align: right; font: 400 1.15rem var(--hd); color: var(--or); }
.calc-err { color: #b3321c; font-weight: 800; min-height: 1em; margin: 0; }
.calc-err:empty { display: none; }
.calc-card .pv-btn { justify-self: start; }
.calc-side { display: grid; gap: 22px; position: sticky; top: 110px; }
.calc-res { background: var(--sun); border: 3px solid var(--ink); border-radius: 30px; box-shadow: 8px 8px 0 var(--ink); padding: 28px; }
.calc-k, .calc-roi small { display: block; font: 900 11px var(--bd); letter-spacing: .08em; text-transform: uppercase; }
.calc-total { display: block; font: 400 clamp(2.6rem, 5vw, 3.8rem)/1.05 var(--hd); margin: 6px 0 14px; white-space: nowrap; }
.calc-postes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.calc-postes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 2px dashed rgba(32,26,18,.25); font-weight: 700; }
.calc-postes b { font: 400 1.15rem var(--hd); white-space: nowrap; }
.calc-note { margin: 10px 0 0; font-size: .82rem; font-weight: 700; color: #35291b; }
.calc-roi { margin-top: 18px; background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 16px 18px; }
.calc-roi p { margin: 4px 0 0; font-weight: 800; }
.calc-roi b { font: 400 1.3rem var(--hd); }
.calc-roi b.big { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--or); white-space: nowrap; }
.calc-roi.ko p { font-weight: 700; color: #35291b; }
.calc-lead { background: #fff; border-radius: 30px; padding: 26px; box-shadow: 0 12px 30px rgba(32,26,18,.09); }
.calc-lead h2 { font-size: 1.55rem; margin-bottom: 6px; }
.calc-lead > p { color: var(--mut); font-weight: 700; margin-bottom: 14px; }
.calc-lead form { display: grid; gap: 10px; }
.calc-lead input[type=text], .calc-lead input[type=email] { width: 100%; padding: 11px 14px; border: 3px solid #eadfce; border-radius: 14px; font: 700 15px var(--bd); background: #fff; color: var(--ink); }
.calc-lead input[type=text]:focus, .calc-lead input[type=email]:focus { outline: none; border-color: var(--ink); }
.calc-lead .mn-ok { margin: 0; }
.calc-lead .mn-ok a { color: var(--or); font-weight: 800; }
.calc-lead .pv-btn { justify-self: start; }
.calc-optout { font-size: .76rem !important; }
.calc-lead .pv-btn.is-loading { display: inline-flex; align-items: center; gap: 10px; cursor: wait; opacity: 1; }
.calc-lead .pv-btn.is-loading::before { content: ''; width: 16px; height: 16px; border: 3px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: calc-spin .7s linear infinite; }
@keyframes calc-spin { to { transform: rotate(360deg); } }
.calc-msg { font-weight: 800; } .calc-msg.ok { color: #1f7a55; } .calc-msg.ko { color: #b3321c; }
.calc-methode { max-width: 820px; }
.calc-methode h3 { margin-top: 1.4em; }
@media (max-width: 920px) {
	.calc-grid { grid-template-columns: 1fr; }
	.calc-side { position: static; }
}
@media (max-width: 560px) {
	.calc-types { grid-template-columns: minmax(0, 1fr); }
	.calc-types span { flex-direction: row; align-items: center; padding: 12px 14px; }
	.calc-2 { grid-template-columns: minmax(0, 1fr); }
	.calc-card, .calc-res, .calc-lead { padding: 20px; border-radius: 24px; }
	.calc-range output { min-width: 7em; font-size: 1rem; }
}
