/* Mon bilan peptides — Miss Peps */
.mbp, .mbp * { box-sizing: border-box; }
.mbp {
	--navy: #0f1320; --navy2: #181f33; --rose: #ff2e7e; --rose-d: #c4105a; --turq: #2ee0c8; --turq-d: #0f8f7f;
	--gold: #e8c86a; --bg: #f8f6f7; --line: #ebe5e9; --text: #1a1d2b; --muted: #5f5560;
	max-width: 760px; margin: 0 auto; color: var(--text); font-family: inherit; line-height: 1.55;
}
.mbp-card { background: #fff; border-radius: 28px; padding: 32px 28px; box-shadow: 0 12px 40px rgba(15, 19, 32, .08); }
@media (max-width: 600px) { .mbp-card { padding: 24px 18px; border-radius: 22px; } }
.mbp h2 { margin: 0 0 8px; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
.mbp h3 { margin: 0 0 6px; font-size: 19px; color: var(--navy); }
.mbp h4 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }
.mbp p { margin: 0 0 10px; }
.mbp a { color: var(--rose-d); font-weight: 700; }
.mbp-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--turq-d); margin-bottom: 8px !important; }
.mbp-lead { font-size: 17px; }
.mbp-hint { color: var(--muted); font-size: 15px; }
.mbp-small { font-size: 13px; color: var(--muted); margin-top: 14px !important; }
.mbp-muted { color: var(--muted); font-size: 15px; }

.mbp-checks { list-style: none; padding: 0; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.mbp-checks li { padding-left: 30px; position: relative; font-weight: 500; }
.mbp-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 999px; background: var(--turq); }
.mbp-checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }

/* Progression */
.mbp-progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.mbp-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--turq), var(--rose)); border-radius: 999px; transition: width .3s ease; }
.mbp-stepinfo { font-size: 13px; color: var(--muted); margin-bottom: 18px !important; }

/* Questions */
.mbp-q { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.mbp-q legend { padding: 0; font-weight: 700; font-size: 16px; margin-bottom: 10px; color: var(--navy); }
.mbp-pills, .mbp-scale { display: flex; flex-wrap: wrap; gap: 8px; }
.mbp-pill {
	min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #d9d0d6; background: var(--bg);
	font: inherit; font-size: 15px; font-weight: 500; color: var(--text); cursor: pointer; text-align: center; line-height: 1.25;
	transition: background .15s, border-color .15s, color .15s;
}
.mbp-pill:hover { border-color: var(--navy); }
.mbp-pill.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.mbp-pill-sm { flex: 1 1 0; min-width: 0; padding: 8px 8px; font-size: 14px; }
@media (max-width: 480px) { .mbp-scale .mbp-pill-sm { flex: 1 1 calc(50% - 4px); } }
.mbp-input {
	width: 100%; min-height: 48px; padding: 10px 16px; border-radius: 16px; border: 1.5px solid #d9d0d6; background: var(--bg);
	font: inherit; font-size: 16px; color: var(--text); margin-top: 8px;
}
.mbp-input:focus, .mbp-pill:focus-visible, .mbp-btn:focus-visible { outline: 3px solid var(--turq); outline-offset: 2px; }

/* Boutons */
.mbp-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.mbp-btn {
	min-height: 50px; padding: 0 26px; border-radius: 999px; border: none; background: var(--rose); color: var(--navy);
	font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: transform .15s;
}
.mbp-btn:hover { transform: translateY(-1px); }
.mbp-btn[disabled] { opacity: .6; cursor: default; transform: none; }
.mbp-btn-big { min-height: 56px; padding: 0 32px; font-size: 17px; }
.mbp-btn-dark { background: var(--navy); color: #fff; }
.mbp-btn-ghost { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.mbp-err { margin-top: 12px !important; color: var(--rose-d); font-weight: 700; font-size: 15px; }

/* Résultat */
.mbp-res-head { background: var(--navy); color: #fff; border-radius: 22px; padding: 26px 24px; margin-bottom: 20px; }
.mbp-res-head h2 { color: #fff; }
.mbp-res-head .mbp-kicker { color: var(--turq); }
.mbp-res-head strong { color: var(--gold); }
.mbp-terrain { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: 22px; background: var(--bg); margin-bottom: 20px; }
@media (max-width: 480px) { .mbp-terrain { flex-direction: column; text-align: center; } }
.mbp-gauge {
	flex-shrink: 0; width: 112px; height: 112px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
	background: conic-gradient(var(--rose) calc(var(--v) * 1%), var(--line) 0);
}
.mbp-gauge span { width: 86px; height: 86px; border-radius: 999px; background: #fff; display: flex; align-items: baseline; justify-content: center; padding-top: 26px; font-size: 30px; font-weight: 800; color: var(--navy); }
.mbp-gauge small { font-size: 13px; color: var(--muted); font-weight: 600; }
.mbp-h { margin-top: 28px !important; margin-bottom: 12px !important; font-size: 22px !important; }
.mbp-pri { display: flex; gap: 14px; padding: 18px; border: 1.5px solid var(--line); border-radius: 22px; margin-bottom: 12px; }
.mbp-pri-num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 999px; background: var(--turq); color: var(--navy); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mbp-pri-body { min-width: 0; }
.mbp-pistes-t { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 6px 0 6px !important; }
.mbp-pistes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mbp-pistes li { padding: 10px 14px; background: var(--bg); border-radius: 14px; font-size: 15px; }
.mbp-pistes span { color: var(--muted); }
.mbp-pistes .mbp-route { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: #e3faf6; color: var(--turq-d); font-size: 12px; font-weight: 700; }
.mbp-note { padding: 18px 20px; border-radius: 20px; background: #fdf7e6; margin: 0 0 16px; }
.mbp-note-warn { background: #fde7ef; }
.mbp-bases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .mbp-bases { grid-template-columns: 1fr; } }
.mbp-base { padding: 16px 18px; border-radius: 18px; background: var(--bg); }
.mbp-base p { font-size: 15px; margin: 0; }
.mbp-links { padding-left: 20px; margin: 0 0 12px; }
.mbp-links li { margin-bottom: 6px; }

.mbp-actions { margin-top: 26px; padding-top: 22px; border-top: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mbp-mail { width: 100%; padding: 18px; border-radius: 20px; background: var(--bg); }
.mbp-mail > label:first-child { font-weight: 700; }
.mbp-mail-row { display: flex; gap: 8px; align-items: center; }
.mbp-mail-row .mbp-input { margin-top: 0; }
.mbp-mail-row .mbp-btn { flex-shrink: 0; }
@media (max-width: 480px) { .mbp-mail-row { flex-direction: column; align-items: stretch; } }
.mbp-mail .mbp-input { margin-top: 8px; }
.mbp-check { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 15px; }
.mbp-check input { width: 20px; height: 20px; }
.mbp-mail-msg { margin: 8px 0 0 !important; font-weight: 700; color: var(--turq-d); }

/* Pendant la génération du PDF */
.mbp-printing { box-shadow: none; padding: 0; }
.mbp-printing .mbp-pri, .mbp-printing .mbp-note, .mbp-printing .mbp-base { break-inside: avoid; }

@media print {
	.mbp-actions { display: none !important; }
	.mbp-card { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .mbp * { transition: none !important; } }

/* ---- v1.1 : bilan approfondi ---- */
.mbp-stepintro { margin-top: -2px !important; margin-bottom: 18px !important; }
.mbp-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .mbp-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mbp-num { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: var(--muted); min-width: 0; }
.mbp-num-in { position: relative; display: block; }
.mbp-num-in .mbp-input { margin-top: 0; padding-right: 64px; }
.mbp-num-in em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; color: var(--muted); pointer-events: none; max-width: 56px; text-align: right; line-height: 1.1; }
.mbp-block { margin-top: 8px; }
.mbp-axes { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.mbp-axis-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.mbp-axis-top span:last-child { font-size: 13px; font-weight: 700; }
.mbp-bar { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mbp-bar span { display: block; height: 100%; border-radius: 999px; }
.mbp-ok .mbp-bar span { background: var(--turq); } .mbp-ok .mbp-axis-top span:last-child { color: var(--turq-d); }
.mbp-mid .mbp-bar span { background: var(--gold); } .mbp-mid .mbp-axis-top span:last-child { color: #8a6a00; }
.mbp-low .mbp-bar span { background: var(--rose); } .mbp-low .mbp-axis-top span:last-child { color: var(--rose-d); }
.mbp-whtr { padding: 14px 18px; border-radius: 18px; border: 1.5px solid var(--line); font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.mbp-whtr span { color: var(--muted); }
.mbp-note-soft { background: #eefbf8; }
.mbp-vids { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 10px; }
.mbp a.mbp-vid { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.mbp a.mbp-vid::before { content: ""; flex-shrink: 0; width: 0; height: 0; border-left: 9px solid var(--rose); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.mbp a.mbp-vid:hover { border-color: var(--navy); }
.mbp-pri .mbp-vids a.mbp-vid { background: var(--bg); }
.mbp-labs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .mbp-labs { grid-template-columns: 1fr; } }
.mbp-lab { padding: 14px 16px; border-radius: 16px; background: var(--bg); font-size: 15px; border-top: 4px solid var(--line); }
.mbp-lab.mbp-ok { border-top-color: var(--turq); } .mbp-lab.mbp-mid { border-top-color: var(--gold); } .mbp-lab.mbp-low { border-top-color: var(--rose); }
.mbp-lab-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.mbp-lab-top span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mbp-lab .mbp-muted { margin: 6px 0 0 !important; font-size: 14px; }
.mbp-plan { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: ph; }
.mbp-plan li { position: relative; padding: 16px 18px 16px 62px; border-radius: 18px; background: var(--bg); }
.mbp-plan li::before { counter-increment: ph; content: counter(ph); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mbp-plan p { margin: 0; font-size: 15px; }
.mbp-phase { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--turq-d); margin-bottom: 2px; }
.mbp-printing .mbp-axis, .mbp-printing .mbp-lab, .mbp-printing .mbp-plan li { break-inside: avoid; }
