/* Page de vente de l'ebook (/la-methode-muscleshop/), tirée de la maquette docs/moodboard/ebook-landing.html.
   Tout est imbriqué sous .ms-eb-page : rien ne déborde sur l'en-tête ni le pied du site. */
@keyframes ms-eb-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes ms-eb-pop { from { transform: rotate(-30deg) scale(0); } to { transform: rotate(-12deg) scale(1); } }
@keyframes ms-eb-marquee { to { transform: translateX(-50%); } }
@keyframes ms-eb-blink { 50% { opacity: .2; } }
@keyframes ms-eb-pop-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.ms-eb-page {
	--ms-accent: #F26B1D; --ms-nuit: #1B2233; --ms-nuit-2: #141A28; --ms-ink: #17171C; --ms-muted: #5D5C68; --ms-line: #E2E1E8;
	--ms-paper: #F4F3F7; --ms-tint: #FDEFE6; --ms-soft: #C9CBD6; --ms-radius: 4px; --ms-gutter: 28px;
	font-family: Barlow, sans-serif; color: var(--ms-ink); background: #fff; overflow-x: clip;
	& *, & *::before, & *::after { box-sizing: border-box; }
	& img { max-width: 100%; height: auto; display: block; }
	/* Les titres prennent la couleur de leur section (blanc sur fond nuit), pas celle des titres du site. */
	& :is(h1, h2, h3, h4) { color: inherit; }

img { max-width: 100%; height: auto; display: block; }
.ms-wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--ms-gutter); }
.ms-display { font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; }
.ms-display em { color: var(--ms-accent); }
.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ms-accent); color: #fff; font-weight: 800; font-size: 17px; padding: 17px 26px; border: 0; border-radius: var(--ms-radius); text-decoration: none; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s; box-shadow: 0 10px 24px -10px rgba(242,107,29,.7); }
.ms-btn::after { content: "→"; transition: transform .15s; }
.ms-btn:hover { transform: translateY(-2px); }
.ms-btn:hover::after { transform: translateX(4px); }
.ms-label { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ms-accent); margin: 0 0 16px; }
/* Surligneur orange sous un mot */
.ms-mark { background: linear-gradient(transparent 58%, rgba(242,107,29,.35) 58%); padding: 0 .1em; }

/* Apparition au défilement */
.ms-rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.ms-rv.is-in { opacity: 1; transform: none; }
.ms-rv-d1 { transition-delay: .1s; } .ms-rv-d2 { transition-delay: .2s; } .ms-rv-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .ms-rv { opacity: 1; transform: none; transition: none; } }

.ms-eb-section { padding-block: 96px; position: relative; }
.ms-eb-section h2 { font-size: clamp(42px, 5.4vw, 76px); margin: 0 0 18px; }
.ms-eb-lead { font-size: 20px; line-height: 1.55; color: var(--ms-muted); margin: 0 0 40px; max-width: 58ch; }
.ms-eb-center { text-align: center; }
.ms-eb-center .ms-eb-lead { margin-inline: auto; }
.ms-eb-dark { background: var(--ms-nuit); color: #fff; }
.ms-eb-dark .ms-eb-lead { color: var(--ms-soft); }
.ms-eb-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ms-eb-center .ms-eb-cta { justify-content: center; }
.ms-eb-cta small { color: var(--ms-muted); font-size: 15px; }
.ms-eb-dark .ms-eb-cta small { color: var(--ms-soft); }

/* ---------- A · Attention ---------- */
.ms-eb-hero { position: relative; background: var(--ms-nuit-2); color: #fff; overflow: hidden; isolation: isolate; }
.ms-eb-hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -180px; top: 50%; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(242,107,29,.42), rgba(242,107,29,0)); z-index: -1; }
.ms-eb-hero::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 70%; height: 120%; background: repeating-linear-gradient(-55deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); z-index: -1; }
.ms-eb-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 72px 88px; }
.ms-eb-hero .ms-label { background: var(--ms-accent); color: #fff; padding: 7px 12px; border-radius: 3px; transform: rotate(-2deg); }
.ms-eb-hero h1 { font-size: clamp(60px, 8.4vw, 124px); margin: 0 0 22px; }
.ms-eb-hero h1 span { display: block; }
.ms-eb-hero__promise { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; margin: 0 0 36px; max-width: 26ch; font-weight: 500; }
.ms-eb-hero__promise b { color: var(--ms-accent); }
.ms-eb-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 34px; margin: 0 0 40px; padding: 0; list-style: none; }
.ms-eb-stats b { display: block; font-family: var(--ms-cond); font-style: italic; font-weight: 900; font-size: 72px; line-height: .8; color: var(--ms-accent); }
.ms-eb-stats span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--ms-soft); max-width: 15ch; }
.ms-eb-stats span strong { color: #fff; font-weight: 700; }

.ms-eb-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 560px; }
.ms-eb-form input[type=email] { min-width: 0; border: 2px solid transparent; border-radius: var(--ms-radius); padding: 16px 18px; font: inherit; font-size: 17px; background: #fff; color: var(--ms-ink); }
.ms-eb-form input[type=email]:focus { outline: none; border-color: var(--ms-accent); }
.ms-eb-form__consent { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--ms-soft); }
.ms-eb-form__consent a { color: inherit; }
.ms-eb-steps { margin: 22px 0 0; font-size: 14px; color: var(--ms-soft); display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ms-eb-steps span::before { content: attr(data-n); display: inline-grid; place-content: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--ms-accent); color: #fff; font-size: 12px; font-weight: 800; }

/* Le livre en relief, qui flotte */
.ms-eb-book { position: relative; justify-self: center; width: min(420px, 100%); perspective: 1400px; }
.ms-eb-book__3d { position: relative; transform: rotateY(-22deg) rotateX(4deg) rotateZ(1deg); transform-style: preserve-3d; animation: ms-eb-float 6s ease-in-out infinite; transition: transform .5s ease; }
.ms-eb-book:hover .ms-eb-book__3d { transform: rotateY(-8deg) rotateX(2deg); }
.ms-eb-book__3d img { border-radius: 2px 6px 6px 2px; box-shadow: 30px 40px 60px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.2); }
/* tranche des pages */
.ms-eb-book__3d::after { content: ""; position: absolute; top: 1.5%; bottom: 1.5%; right: -16px; width: 16px; background: repeating-linear-gradient(90deg, #f3ecdf 0 1px, #d9cfbe 1px 2px); transform: rotateY(90deg); transform-origin: left; border-radius: 0 3px 3px 0; }

/* Autocollant « Gratuit » (méthode des vignettes promo : liseré blanc, incliné, qui déborde) */
.ms-eb-sticker { position: absolute; z-index: 2; left: -40px; bottom: 16%; width: 132px; height: 132px; border-radius: 50%; background: var(--ms-accent); color: #fff; display: grid; place-content: center; text-align: center; border: 5px solid #fff; transform: rotate(-12deg); box-shadow: 0 14px 28px -10px rgba(0,0,0,.6); font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .85; font-size: 34px; animation: ms-eb-pop .6s .4s cubic-bezier(.3,1.6,.5,1) both; }
.ms-eb-sticker b { display: block; font-size: 1.3em; font-weight: 900; }


/* Bande qui défile */
.ms-eb-marquee { background: var(--ms-accent); color: var(--ms-nuit-2); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: -14px -20px 0; position: relative; z-index: 2; box-shadow: 0 10px 30px -14px rgba(0,0,0,.4); }
.ms-eb-marquee__track { display: flex; width: max-content; animation: ms-eb-marquee 28s linear infinite; }
.ms-eb-marquee span { font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1; white-space: nowrap; padding-right: 28px; }
.ms-eb-marquee span::after { content: "✦"; margin-left: 28px; color: #fff; }

@media (prefers-reduced-motion: reduce) { .ms-eb-marquee__track, .ms-eb-book__3d, .ms-eb-sticker { animation: none; } }

/* ---------- I · Intérêt : le problème ---------- */
.ms-eb-pain { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ms-eb-pain__img { position: relative; }
/* Le croquis posé directement sur la page : le fond papier disparaît dans le blanc (multiplication + éclaircissement). */
.ms-eb-pain__img img { mix-blend-mode: multiply; filter: brightness(1.09) contrast(1.12); -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 80%, transparent); width: 122%; max-width: none; margin: -6% 0 -6% -22%; }
.ms-eb-pain__img { isolation: isolate; }
.ms-eb-pain > div:last-child { position: relative; z-index: 1; }
.ms-eb-pain ul { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 18px; }
.ms-eb-pain li { font-size: 21px; line-height: 1.4; font-weight: 600; position: relative; padding-left: 40px; }
.ms-eb-pain li::before { content: "✕"; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--ms-nuit); color: #fff; display: grid; place-content: center; font-size: 13px; }
/* Les galères se barrent une à une en orange quand elles apparaissent */
.ms-eb-pain li s { text-decoration: none; background: linear-gradient(var(--ms-accent), var(--ms-accent)) no-repeat 0 58% / 0 3px; transition: background-size .6s ease .5s; }
.ms-eb-pain li.is-in s { background-size: 100% 3px; }
.ms-eb-pain__turn { background: var(--ms-nuit); color: #fff; padding: 26px 30px; border-radius: 6px; border-left: 8px solid var(--ms-accent); margin: 0; font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 40px); line-height: .95; }
.ms-eb-pain__turn em { color: var(--ms-accent); }

/* ---------- I · Intérêt : la méthode + extrait (fond sombre) ---------- */
.ms-eb-method { background: var(--ms-nuit); color: #fff; overflow: hidden; }
.ms-eb-method::before { content: ""; position: absolute; left: 50%; top: 62%; width: 1100px; height: 800px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(242,107,29,.22), transparent); pointer-events: none; }
.ms-eb-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; position: relative; }
.ms-eb-pillars li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 30px 28px; transition: transform .25s, border-color .25s; }
.ms-eb-pillars li:hover { transform: translateY(-6px); border-color: var(--ms-accent); }
.ms-eb-pillars span { display: block; font-family: var(--ms-cond); font-style: italic; font-weight: 900; font-size: 96px; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ms-accent); }
.ms-eb-pillars b { display: block; font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: .95; margin: 16px 0 12px; }
.ms-eb-pillars p { margin: 0; color: var(--ms-soft); line-height: 1.55; font-size: 16px; }
.ms-eb-method .ms-eb-lead { color: var(--ms-soft); }
.ms-eb-method .ms-fb { margin-top: 8px; }
.ms-eb-method .ms-fb__nav button { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.ms-eb-method .ms-fb__nav button:hover:not(:disabled) { background: var(--ms-accent); border-color: var(--ms-accent); }
.ms-eb-method .ms-fb__status { color: var(--ms-soft); }
.ms-eb-method .ms-fb__book { filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.ms-eb-method .ms-fb__end { background: var(--ms-accent); }
.ms-eb-method .ms-fb__end b em { color: var(--ms-nuit-2); }
.ms-eb-method .ms-fb__end p, .ms-eb-method .ms-fb__end ul { color: #fff; }
.ms-eb-method .ms-fb__end .ms-btn { background: var(--ms-nuit-2); box-shadow: none; }
.ms-eb-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ms-soft); margin: -16px 0 18px; }
.ms-eb-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ms-accent); animation: ms-eb-blink 1.6s ease-in-out infinite; }


/* Pourquoi 6 exercices suffisent */
.ms-eb-six { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; margin-top: 88px; padding: 48px 56px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); position: relative; }
.ms-eb-six__num { font-family: var(--ms-cond); font-style: italic; font-weight: 900; font-size: 300px; line-height: .75; color: var(--ms-accent); text-shadow: 10px 10px 0 rgba(0,0,0,.35); }
.ms-eb-six h3 { font-size: clamp(34px, 3.6vw, 52px); margin: 0 0 24px; }
.ms-eb-six ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ms-eb-six li { padding-left: 34px; position: relative; color: var(--ms-soft); font-size: 17px; line-height: 1.5; }
.ms-eb-six li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ms-accent); color: #fff; display: grid; place-content: center; font-size: 12px; font-weight: 900; }
.ms-eb-six li b { color: #fff; }

/* ---------- D · Désir ---------- */
.ms-eb-gains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: g; }
.ms-eb-gains li { position: relative; background: #fff; border: 1px solid var(--ms-line); border-radius: 8px; padding: 26px 24px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.ms-eb-gains li::before { counter-increment: g; content: counter(g, decimal-leading-zero); position: absolute; right: 14px; top: 4px; font-family: var(--ms-cond); font-style: italic; font-weight: 900; font-size: 64px; color: var(--ms-paper); z-index: 0; }
.ms-eb-gains li::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--ms-accent); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease; }
.ms-eb-gains li:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(27,34,51,.4); border-color: transparent; }
.ms-eb-gains li:hover::after { transform: scaleX(1); }
.ms-eb-gains small, .ms-eb-gains b, .ms-eb-gains p { position: relative; z-index: 1; }
.ms-eb-gains small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ms-accent); margin-bottom: 8px; }
.ms-eb-gains b { display: block; font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: .95; margin-bottom: 10px; }
.ms-eb-gains p { margin: 0; color: var(--ms-muted); line-height: 1.5; }

.ms-eb-fit { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.ms-eb-fit > div { border-radius: 8px; padding: 36px; }
.ms-eb-fit__yes { background: var(--ms-accent); color: #fff; }
.ms-eb-fit__no { background: var(--ms-paper); }
.ms-eb-fit h3 { font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: .9; margin: 0 0 22px; }
.ms-eb-fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ms-eb-fit li { padding-left: 36px; position: relative; font-size: 18px; line-height: 1.45; font-weight: 600; }
.ms-eb-fit li::before { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-content: center; font-size: 13px; font-weight: 900; }
.ms-eb-fit__yes li::before { content: "✓"; background: #fff; color: var(--ms-accent); }
.ms-eb-fit__no li { color: var(--ms-muted); font-weight: 500; }
.ms-eb-fit__no li::before { content: "✕"; background: var(--ms-muted); color: #fff; }

.ms-eb-expect { background: var(--ms-paper); }
.ms-eb-expect__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ms-eb-expect__card { background: var(--ms-nuit); color: #fff; border-radius: 8px; padding: 36px; position: relative; overflow: hidden; }
.ms-eb-expect__card + .ms-eb-expect__card { background: #fff; color: var(--ms-ink); border: 1px solid var(--ms-line); }
.ms-eb-expect__card small { display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ms-accent); margin-bottom: 14px; }
.ms-eb-expect__card b { display: block; font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 5vw, 68px); line-height: .85; margin-bottom: 16px; }
.ms-eb-expect__card b em { color: var(--ms-accent); }
.ms-eb-expect__card p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ms-soft); }
.ms-eb-expect__card + .ms-eb-expect__card p { color: var(--ms-muted); }
.ms-eb-expect__note { margin: 22px 0 0; font-size: 15px; color: var(--ms-muted); text-align: center; }

.ms-eb-faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.ms-eb-faq details { background: var(--ms-paper); border-radius: 8px; padding: 0 26px; transition: background .2s; }
.ms-eb-faq details[open] { background: #fff; box-shadow: 0 0 0 2px var(--ms-accent); }
.ms-eb-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 800; font-size: 19px; }
.ms-eb-faq summary::-webkit-details-marker { display: none; }
.ms-eb-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: var(--ms-accent); color: #fff; display: grid; place-content: center; font-size: 22px; font-weight: 600; transition: rotate .2s; }
.ms-eb-faq details[open] summary::after { rotate: 45deg; }
.ms-eb-faq details p { margin: 0 0 24px; color: var(--ms-muted); line-height: 1.6; font-size: 17px; }

/* ---------- A · Action ---------- */
.ms-eb-final { background: var(--ms-accent); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.ms-eb-final::after { content: "SÉANCE A"; position: absolute; right: -2%; bottom: -18%; font-family: var(--ms-cond); font-style: italic; font-weight: 900; font-size: 300px; line-height: 1; color: rgba(255,255,255,.1); white-space: nowrap; z-index: -1; }
.ms-eb-final__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 88px; }
.ms-eb-final h2 { font-size: clamp(54px, 6.4vw, 96px); margin: 0 0 16px; }
.ms-eb-final h2 em { color: var(--ms-nuit-2); display: block; }
.ms-eb-final__q { display: block; font-size: .5em; margin-bottom: .15em; }
.ms-eb-final p { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 500; max-width: 30ch; }
.ms-eb-final .ms-eb-form .ms-btn { background: var(--ms-nuit-2); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.ms-eb-final .ms-eb-form__consent { color: #fff; opacity: .9; font-size: 13px; font-weight: 400; max-width: none; }

.ms-eb-done { max-width: 560px; background: #fff; color: var(--ms-ink); border-radius: 8px; padding: 26px 28px; border-left: 8px solid var(--ms-accent); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: ms-eb-pop-in .45s cubic-bezier(.3,1.4,.5,1) both; }
.ms-eb-done b { display: block; font-family: var(--ms-cond); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: .95; margin-bottom: 10px; }
.ms-eb-done p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; color: var(--ms-ink) !important; max-width: none !important; font-weight: 400 !important; }
.ms-eb-done small { display: block; color: var(--ms-muted); font-size: 14px; line-height: 1.5; }

.ms-eb-sticky { display: none; }

/* ---------- Section accueil ---------- */
.ms-home-book { background: var(--ms-nuit-2); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.ms-home-book::before { content: ""; position: absolute; width: 760px; height: 760px; left: -120px; top: 50%; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(242,107,29,.4), transparent); z-index: -1; }
.ms-home-book__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding-block: 72px; }
.ms-home-book__pages { position: relative; height: 440px; }
.ms-home-book__pages img { position: absolute; width: 250px; border-radius: 3px; box-shadow: 0 26px 44px -16px rgba(0,0,0,.7); transition: transform .4s ease; }
.ms-home-book__pages img:nth-child(1) { left: 2%; top: 46px; transform: rotate(-9deg); }
.ms-home-book__pages img:nth-child(2) { left: 52%; top: 40px; transform: rotate(8deg); }
.ms-home-book__pages img:nth-child(3) { left: 24%; top: 6px; width: 290px; transform: rotate(-1deg); z-index: 1; }
.ms-home-book__pages:hover img:nth-child(1) { transform: rotate(-14deg) translateX(-24px); }
.ms-home-book__pages:hover img:nth-child(2) { transform: rotate(13deg) translateX(24px); }
.ms-home-book__pages .ms-eb-sticker { left: auto; right: 4%; bottom: 8%; width: 112px; height: 112px; font-size: 30px; z-index: 2; }
.ms-home-book .ms-label { background: var(--ms-accent); color: #fff; padding: 7px 12px; border-radius: 3px; transform: rotate(-2deg); }
.ms-home-book h2 { font-size: clamp(48px, 6vw, 84px); margin: 0 0 16px; }
.ms-home-book__text > p { font-size: 21px; line-height: 1.45; margin: 0 0 24px; max-width: 34ch; color: var(--ms-soft); }
.ms-home-book__text > p b { color: #fff; }
.ms-home-book ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.ms-home-book li { padding-left: 34px; position: relative; font-weight: 600; font-size: 17px; }
.ms-home-book li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--ms-accent); display: grid; place-content: center; font-size: 13px; font-weight: 900; }

@media (max-width: 960px) {
	.ms-eb-gains { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	:root { --ms-gutter: 16px; }
	.ms-eb-section { padding-block: 64px; }
	.ms-eb-hero__inner, .ms-eb-final__inner, .ms-home-book__inner, .ms-eb-pain, .ms-eb-fit, .ms-eb-expect__grid { grid-template-columns: 1fr; gap: 36px; }
	.ms-eb-hero__inner { padding-block: 24px 64px; gap: 24px; }
	.ms-eb-hero h1 { font-size: 54px; margin-bottom: 14px; }
	.ms-eb-hero__promise { margin-bottom: 24px; }
	.ms-eb-stats { margin-bottom: 26px; }
	.ms-eb-book { order: -1; width: min(170px, 46vw); margin-top: 4px; }
	.ms-eb-sticker { width: 92px; height: 92px; font-size: 24px; left: -36px; border-width: 4px; }
	.ms-eb-stats { gap: 18px; }
	.ms-eb-stats b { font-size: 54px; }
	.ms-eb-stats span { font-size: 13px; }
	.ms-eb-form { grid-template-columns: 1fr; }
	.ms-eb-marquee span { font-size: 22px; }
	.ms-eb-pain__img { max-width: 300px; margin-inline: auto; }
	.ms-eb-pain__img img { width: 100%; margin: 0; }
	.ms-eb-pain li { font-size: 18px; }
	.ms-eb-pillars { grid-template-columns: 1fr; }
	.ms-eb-pillars span { font-size: 72px; }
	.ms-eb-six { grid-template-columns: 1fr; gap: 8px; padding: 32px 22px; margin-top: 56px; }
	.ms-eb-six__num { font-size: 160px; }
	.ms-eb-fit > div, .ms-eb-expect__card { padding: 28px 24px; }
	.ms-eb-fit h3 { font-size: 32px; }
	.ms-eb-final::after { font-size: 160px; bottom: -6%; }
	.ms-eb-final__inner { padding-block: 64px; }
	.ms-eb-cta .ms-btn { width: 100%; }
	.ms-eb-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; box-shadow: 0 12px 28px -8px rgba(0,0,0,.5); transition: transform .3s, opacity .3s; }
	.ms-eb-sticky.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
	.ms-home-book__pages { height: 300px; }
	.ms-home-book__pages img { width: 160px; }
	.ms-home-book__pages img:nth-child(3) { width: 190px; }
	.ms-home-book__pages .ms-eb-sticker { width: 84px; height: 84px; font-size: 22px; }
	.ms-home-book .ms-btn { width: 100%; }
}
@media (max-width: 560px) { .ms-eb-gains { grid-template-columns: 1fr; } }

}
.ms-eb-page .ms-eb-form__msg:not(:empty) { grid-column: 1 / -1; margin: 6px 0 0; font-size: 15px; font-weight: 600; color: #FFB48A; }
.ms-main--ebook { padding: 0; max-width: none; }

.ms-eb-page--home { background: transparent; }
.ms-eb-page--home .ms-home-book { border-radius: 8px; }
.ms-eb-page--home .ms-home-book__inner { padding-inline: clamp(24px, 5vw, 64px); }
.ms-eb-page--home .ms-home-book__pages { display: block; }
.ms-eb-page--home .ms-eb-form__consent { color: var(--ms-soft); }
.ms-eb-page--home .ms-home-book ul { margin-bottom: 28px; }
.ms-home-book__more { display: inline-block; margin-top: 18px; color: #fff; font-weight: 700; font-size: 16px; border: 2px solid rgba(255,255,255,.45); padding: 13px 22px; border-radius: 4px; text-decoration: none; transition: border-color .15s, background .15s; }
.ms-home-book__more:hover { border-color: #fff; background: rgba(255,255,255,.06); }
@media (max-width: 860px) { .ms-home-book__more { display: block; text-align: center; } }

/* Page « Commande reçue » : l'ebook offert au premier achat ([ms_cadeau]). */
.ms-eb-page--merci { background: transparent; margin-block: 32px; }
.ms-merci > .ms-eb-page--merci { max-width: none; margin-inline: 0 !important; } /* aligné sur les blocs de WooCommerce */
.ms-cadeau { display: grid; grid-template-columns: 150px 1fr; gap: 36px; align-items: start; background: var(--ms-nuit-2); color: #fff; border-radius: 8px; padding: 32px clamp(20px, 4vw, 40px); position: relative; overflow: hidden; isolation: isolate; }
.ms-cadeau::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; top: 50%; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(242,107,29,.35), transparent); z-index: -1; }
.ms-cadeau__book { width: 150px; border-radius: 3px; transform: rotate(-4deg); box-shadow: 0 20px 36px -14px rgba(0,0,0,.7); }
.ms-cadeau .ms-label { display: inline-block; margin: 0 0 12px; background: var(--ms-accent); color: #fff; padding: 6px 11px; border-radius: 3px; transform: rotate(-2deg); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.ms-cadeau h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 12px; }
.ms-cadeau__text > p:not(.ms-label) { margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: var(--ms-soft); max-width: 52ch; }
.ms-cadeau__text > p b { color: #fff; }
.ms-cadeau__book { margin-top: 44px; }
.ms-cadeau .ms-cadeau__text > .ms-cadeau__lead { color: #fff; font-size: 18px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ms-cadeau ul { list-style: none; margin: -6px 0 26px; padding: 0; display: grid; gap: 10px; }
.ms-cadeau li { padding-left: 32px; position: relative; font-weight: 600; font-size: 16px; }
.ms-cadeau li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ms-accent); display: grid; place-content: center; font-size: 12px; font-weight: 900; }
.ms-cadeau .ms-eb-form { grid-template-columns: 1fr; max-width: 460px; }
.ms-cadeau .ms-cadeau__text > .ms-cadeau__promesse { color: #fff; font-style: italic; font-weight: 600; }
.ms-cadeau--fidele { grid-template-columns: 1fr; }
.ms-cadeau--fidele h2 { margin-bottom: 18px; }
.ms-cadeau--fidele .ms-cadeau__text > .ms-cadeau__lead { margin-bottom: 14px; padding-bottom: 0; border: 0; }
.ms-cadeau--fidele a { color: #fff; }
.ms-cadeau .ms-eb-form__consent { color: var(--ms-soft); }
@media (max-width: 640px) {
	.ms-cadeau { grid-template-columns: 1fr; gap: 20px; text-align: left; }
	.ms-cadeau__book { width: 110px; margin-top: 0; order: 1; }
	.ms-cadeau { gap: 0; }
	.ms-cadeau__text { display: contents; }
	.ms-cadeau__text > :nth-child(n+3) { order: 2; }
	.ms-cadeau__book { margin: 4px 0 24px; }
	.ms-cadeau .ms-btn { width: 100%; }
}
