:root {
  --lpbd-navy: #10243f;
  --lpbd-ink: #1f3655;
  --lpbd-muted: #60708b;
  --lpbd-violet: #6432dc;
  --lpbd-blue: #2e63df;
  --lpbd-pink: #dc3d7a;
  --lpbd-mint: #16866f;
}

/* Le titre de la page WordPress est conservé en administration, mais masqué
   sur la page dédiée pour éviter le doublon avec le titre de la liseuse. */
.page-id-3884 .entry-header { display: none !important; }

.lpbd-reader {
  position: relative;
  width: min(1480px, calc(100% - 32px));
  margin: 36px auto;
  padding: clamp(18px, 3vw, 42px);
  overflow: visible;
  border: 1px solid rgba(72, 96, 145, .16);
  border-radius: 32px;
  color: var(--lpbd-navy);
  background:
    radial-gradient(circle at 12% 0%, rgba(222, 61, 122, .11), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(47, 99, 223, .13), transparent 34%),
    linear-gradient(135deg, #fffafd 0%, #f8f8ff 46%, #f2fbfa 100%);
  box-shadow: 0 22px 70px rgba(23, 47, 82, .12);
  font-family: inherit;
  box-sizing: border-box;
}

.lpbd-reader *, .lpbd-reader *::before, .lpbd-reader *::after { box-sizing: border-box; }
.lpbd-reader__header { position: relative; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 420px); align-items: center; gap: 24px; margin-bottom: 18px; }
.lpbd-reader__heading { min-width: 0; }
.lpbd-reader__header h2 { margin: 5px 0 0; max-width: 920px; color: var(--lpbd-navy); font-size: clamp(1.55rem, 2.45vw, 2.35rem); line-height: 1.03; letter-spacing: -.035em; }
.lpbd-reader__header-aside { display: flex; min-width: 0; flex-direction: column; align-items: flex-end; gap: 9px; }
.lpbd-reader__eyebrow { color: var(--lpbd-pink); font-size: .76rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.lpbd-access-badge { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; color: #fff; background: linear-gradient(110deg, var(--lpbd-violet), var(--lpbd-blue)); font-size: .78rem; font-weight: 800; box-shadow: 0 8px 24px rgba(72, 58, 207, .22); }

.lpbd-toolbar { position: relative; z-index: 20; display: grid; grid-template-columns: auto minmax(130px, 1fr) auto auto; align-items: center; gap: 12px; margin-bottom: 16px; padding: 10px; border: 1px solid rgba(49, 73, 115, .15); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 10px 32px rgba(24, 49, 84, .08); backdrop-filter: blur(12px); }
.lpbd-toolbar__group { display: flex; align-items: center; justify-content: center; gap: 6px; }
.lpbd-tool { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 8px 13px; border: 0; border-radius: 12px; color: var(--lpbd-ink); background: #edf2fb; font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, opacity .18s ease; }
.lpbd-tool:hover:not(:disabled), .lpbd-tool:focus-visible { color: #fff; background: linear-gradient(110deg, var(--lpbd-violet), var(--lpbd-blue)); transform: translateY(-1px); outline: none; }
.lpbd-tool:disabled { opacity: .34; cursor: default; }
.lpbd-prev { justify-self: start; }
.lpbd-next { justify-self: end; }
.lpbd-counter { display: flex; width: 100%; min-width: 0; max-width: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 3px; overflow: visible; color: var(--lpbd-ink); text-align: center; }
.lpbd-counter__status { display: block; width: 100%; padding: 0 6px; overflow: visible; font-size: .88rem; font-weight: 800; line-height: 1.1; text-overflow: clip; white-space: nowrap; }
.lpbd-counter__hint { display: inline-flex; max-width: 100%; align-items: center; justify-content: center; gap: 4px; overflow: visible; color: #718099; font-size: .6rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.lpbd-counter__hint kbd { display: inline-grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; border: 1px solid rgba(74,92,126,.16); border-radius: 5px; color: #4d5f7b; background: #f4f7fc; box-shadow: 0 1px 0 rgba(22,41,71,.08); font: inherit; font-size: .68rem; font-weight: 850; }

.lpbd-viewport { position: relative; z-index: 1; display: grid; place-items: center; min-height: 420px; overflow: auto; padding: clamp(8px, 2vw, 24px); border-radius: 24px; background: radial-gradient(circle at 10% 8%, rgba(220,61,122,.10), transparent 32%), radial-gradient(circle at 90% 10%, rgba(46,99,223,.12), transparent 34%), radial-gradient(circle at 52% 100%, rgba(22,134,111,.10), transparent 40%), linear-gradient(145deg, #fffafd 0%, #f3f6ff 54%, #eef9f7 100%); box-shadow: inset 0 0 0 1px rgba(73,92,133,.10), inset 0 16px 54px rgba(80,94,143,.055); overscroll-behavior: contain; }
.lpbd-book { --lpbd-zoom: 1; position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, calc(72vh * 1.34)); aspect-ratio: 1.34 / 1; border-radius: 13px; touch-action: pan-y; transform: scale(var(--lpbd-zoom)); transform-origin: center; transition: transform .28s ease; box-shadow: 0 26px 64px rgba(43,57,96,.17), 0 4px 14px rgba(43,57,96,.10); perspective: 2200px; transform-style: preserve-3d; }
.lpbd-book::before { content: ''; position: absolute; inset: 0 auto 0 50%; z-index: 10; width: 34px; pointer-events: none; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(9,20,35,.22) 45%, rgba(255,255,255,.18) 52%, transparent); opacity: .72; }
.lpbd-slot { position: relative; min-width: 0; overflow: hidden; background: #fff; }
.lpbd-slot--left { border-radius: 13px 2px 2px 13px; box-shadow: inset -18px 0 24px -22px rgba(0,0,0,.65); }
.lpbd-slot--right { border-radius: 2px 13px 13px 2px; box-shadow: inset 18px 0 24px -22px rgba(0,0,0,.65); }
.lpbd-slot img, .lpbd-flipper img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.lpbd-blank { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #f1f1f1, #fff); }
.lpbd-book--cover, .lpbd-book--closing-cover { box-shadow: none; }
.lpbd-book--cover::before, .lpbd-book--closing-cover::before { opacity: 0; }
.lpbd-book--cover .lpbd-slot--left { visibility: hidden; }
.lpbd-book--closing-cover .lpbd-slot--left { visibility: hidden; background: transparent; box-shadow: none; }
.lpbd-book--cover .lpbd-slot--right { border-radius: 13px; box-shadow: 0 26px 64px rgba(43,57,96,.17), 0 4px 14px rgba(43,57,96,.10); }

/* The final offers comparison uses both pages. */

.lpbd-flipper { position: absolute; top: 0; z-index: 8; width: 50%; height: 100%; overflow: visible; contain: layout style; transform: translate3d(0,0,.1px); transform-style: preserve-3d; will-change: transform; }
.lpbd-flipper__face { position: absolute; inset: 0; overflow: hidden; border-radius: 3px; background: #fff; transform: translateZ(.1px); transform-style: preserve-3d; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lpbd-flipper__back { transform: rotateY(180deg) translateZ(.1px); }
.lpbd-flipper__face::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; will-change: opacity; animation: lpbd-paper-shade 1.1s ease-in-out both; }
.lpbd-flipper--forward .lpbd-flipper__front::after { background: linear-gradient(90deg, transparent 48%, rgba(18,30,48,.36) 100%); }
.lpbd-flipper--forward .lpbd-flipper__back::after { background: linear-gradient(270deg, transparent 48%, rgba(18,30,48,.28) 100%); }
.lpbd-flipper--backward .lpbd-flipper__front::after { background: linear-gradient(270deg, transparent 48%, rgba(18,30,48,.36) 100%); }
.lpbd-flipper--backward .lpbd-flipper__back::after { background: linear-gradient(90deg, transparent 48%, rgba(18,30,48,.28) 100%); }
.lpbd-flipper__curl { position: absolute; top: 0; bottom: 0; z-index: 4; width: 16%; pointer-events: none; opacity: 0; will-change: opacity, transform; background: linear-gradient(90deg, rgba(255,255,255,.36), rgba(24,38,58,.38)); animation: lpbd-fold-shadow 1.1s ease-in-out both; }
.lpbd-flipper--forward { right: 0; transform-origin: left center; animation: lpbd-forward 1.1s cubic-bezier(.65,0,.35,1) forwards; }
.lpbd-flipper--forward .lpbd-flipper__curl { right: 0; transform-origin: right center; }
.lpbd-flipper--backward { left: 0; transform-origin: right center; animation: lpbd-backward 1.1s cubic-bezier(.65,0,.35,1) forwards; }
.lpbd-flipper--backward .lpbd-flipper__curl { left: 0; transform-origin: left center; background: linear-gradient(270deg, rgba(255,255,255,.36), rgba(24,38,58,.38)); }
@keyframes lpbd-forward { from { transform: translate3d(0,0,.1px) rotateY(0deg); } to { transform: translate3d(0,0,.1px) rotateY(-180deg); } }
@keyframes lpbd-backward { from { transform: translate3d(0,0,.1px) rotateY(0deg); } to { transform: translate3d(0,0,.1px) rotateY(180deg); } }
@keyframes lpbd-paper-shade { 0%, 100% { opacity: .03; } 48%, 52% { opacity: .8; } }
@keyframes lpbd-fold-shadow { 0%, 100% { opacity: 0; transform: scaleX(.25); } 48%, 52% { opacity: .82; transform: scaleX(1); } }
.lpbd-reader--turning .lpbd-edge, .lpbd-reader--turning .lpbd-tool { pointer-events: none; }
.lpbd-reader--turning .lpbd-edge { opacity: 0; }
.lpbd-edge { position: absolute; top: 0; bottom: 0; z-index: 12; width: 50%; height: 100%; padding: 0; border: 0; color: var(--lpbd-navy); background: transparent; cursor: pointer; transition: opacity .16s ease; -webkit-tap-highlight-color: transparent; }
.lpbd-edge::before { content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.lpbd-edge::after { position: absolute; top: 50%; display: grid; width: clamp(38px, 4vw, 50px); height: clamp(50px, 6vw, 66px); place-items: center; border: 1px solid rgba(61,81,119,.16); border-radius: 999px; background: rgba(255,255,255,.88); box-shadow: 0 10px 28px rgba(28,46,79,.17); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 600; line-height: 1; opacity: .62; backdrop-filter: blur(8px); transition: opacity .2s ease, transform .2s ease, color .2s ease, background .2s ease; }
.lpbd-edge--prev { left: 0; }
.lpbd-edge--prev::before { background: linear-gradient(90deg, rgba(100,50,220,.11), transparent 45%); }
.lpbd-edge--prev::after { content: '‹'; left: clamp(8px, 1.4vw, 18px); transform: translateY(-50%) translateX(-2px); }
.lpbd-edge--next { right: 0; }
.lpbd-edge--next::before { background: linear-gradient(270deg, rgba(46,99,223,.11), transparent 45%); }
.lpbd-edge--next::after { content: '›'; right: clamp(8px, 1.4vw, 18px); transform: translateY(-50%) translateX(2px); }
.lpbd-edge:hover::before, .lpbd-edge:focus-visible::before { opacity: 1; }
.lpbd-edge:hover::after, .lpbd-edge:focus-visible::after { color: #fff; background: linear-gradient(145deg, var(--lpbd-violet), var(--lpbd-blue)); box-shadow: 0 13px 34px rgba(65,55,184,.28); opacity: 1; }
.lpbd-edge--prev:hover::after, .lpbd-edge--prev:focus-visible::after { transform: translateY(-50%) translateX(-5px); }
.lpbd-edge--next:hover::after, .lpbd-edge--next:focus-visible::after { transform: translateY(-50%) translateX(5px); }
.lpbd-edge:focus-visible { outline: 3px solid rgba(100,50,220,.32); outline-offset: -3px; }
.lpbd-edge:disabled, .lpbd-reader--zoomed .lpbd-edge { display: none; }

.lpbd-copyright-note { max-width: 1040px; margin: 14px auto 0; padding: 10px 16px; border: 1px solid rgba(73,92,133,.11); border-radius: 12px; color: #53637c; background: rgba(255,255,255,.62); font-size: clamp(.68rem, .8vw, .78rem); line-height: 1.45; text-align: center; }
.lpbd-copyright-note strong { font-weight: 750; }
.lpbd-author-profile { position: relative; z-index: 35; width: min(540px, 100%); margin: 14px auto -10px; padding-bottom: 10px; }
.lpbd-reader__header-aside .lpbd-author-profile { width: 100%; margin: 0; padding-bottom: 10px; }
.lpbd-reader__header-aside .lpbd-author-popover { right: 0; left: auto; }
.lpbd-author-trigger { display: grid; width: 100%; min-height: 62px; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid rgba(89,58,191,.18); border-radius: 16px; color: #142a45; background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,241,255,.92)); box-shadow: 0 10px 28px rgba(28,42,78,.09); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.lpbd-author-trigger:hover, .lpbd-author-trigger:focus-visible, .lpbd-author-profile.is-open .lpbd-author-trigger { border-color: rgba(89,58,191,.36); box-shadow: 0 14px 34px rgba(28,42,78,.13); transform: translateY(-1px); outline: none; }
.lpbd-author-kicker { display: flex; min-width: 113px; height: 34px; grid-column: 1; grid-row: 1 / 3; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #6b35d5, #268bdc); font-size: .66rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.lpbd-author-name { align-self: end; color: #142a45; font-size: 1rem; font-weight: 850; line-height: 1.05; }
.lpbd-author-role { align-self: start; color: #64748b; font-size: .72rem; font-weight: 700; line-height: 1.15; }
.lpbd-author-popover { position: absolute; top: calc(100% - 1px); left: 12px; z-index: 50; display: grid; width: min(468px, calc(100% - 24px)); grid-template-columns: 132px 1fr; gap: 17px; padding: 17px; border: 1px solid rgba(95,62,190,.2); border-radius: 22px; visibility: hidden; color: #102136; background: rgba(255,255,255,.985); box-shadow: 0 26px 65px rgba(22,34,66,.22); opacity: 0; pointer-events: none; transform: translateY(-8px) scale(.985); transform-origin: top left; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.lpbd-author-profile.is-open .lpbd-author-popover { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.lpbd-author-popover > img { display: block; width: 132px; height: 162px; align-self: start; border-radius: 16px; object-fit: cover; box-shadow: 0 12px 28px rgba(24,46,78,.16); }
.lpbd-author-close { position: absolute; top: 10px; right: 10px; display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #6a4fb0; background: #f1ecff; font: inherit; font-size: 1.25rem; font-weight: 500; line-height: 1; cursor: pointer; }
.lpbd-author-copy { min-width: 0; padding-right: 4px; }
.lpbd-author-copy p { margin: 0; }
.lpbd-author-popover-kicker { color: var(--lpbd-violet); font-size: .64rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.lpbd-author-copy h3 { margin: 5px 0 1px; color: #142a45; font-size: 1.18rem; line-height: 1; }
.lpbd-author-popover-role { color: #718096; font-size: .73rem; font-weight: 750; }
.lpbd-author-copy > p:not([class]) { margin-top: 9px; color: #52647d; font-size: .76rem; line-height: 1.42; }
.lpbd-author-copy > a { display: inline-flex; min-height: 36px; align-items: center; gap: 5px; margin-top: 11px; padding: 8px 12px; border-radius: 11px; color: #fff !important; background: linear-gradient(110deg, var(--lpbd-violet), var(--lpbd-blue)); box-shadow: 0 8px 20px rgba(72,58,207,.2); font-size: .7rem; font-weight: 800; text-decoration: none !important; }
.lpbd-author-copy > a span { transition: transform .18s ease; }
.lpbd-author-copy > a:hover span, .lpbd-author-copy > a:focus-visible span { transform: translate(2px,-2px); }
.lpbd-locked { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 22px; padding: 19px 22px; border: 1px solid rgba(100, 50, 220, .17); border-radius: 20px; background: rgba(255,255,255,.82); }
.lpbd-locked__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #f0eafe; font-size: 1.3rem; }
.lpbd-locked strong { color: var(--lpbd-navy); font-size: 1rem; }
.lpbd-locked p { margin: 3px 0 0; color: var(--lpbd-muted); font-size: .88rem; }
.lpbd-locked__actions { display: flex; gap: 8px; }
.lpbd-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 15px; border-radius: 12px; color: #fff !important; background: linear-gradient(110deg, var(--lpbd-violet), var(--lpbd-blue)); font-size: .84rem; font-weight: 800; text-decoration: none !important; }
.lpbd-button--ghost { border: 1px solid rgba(47, 73, 116, .18); color: var(--lpbd-ink) !important; background: #fff; }
.lpbd-print-message { display: none; }
.lpbd-print-alert { position: fixed; inset: 50% auto auto 50%; z-index: 999999; padding: 20px 28px; border-radius: 16px; color: #fff; background: var(--lpbd-navy); box-shadow: 0 24px 80px rgba(0,0,0,.35); font: 800 1rem/1.3 system-ui, sans-serif; opacity: 0; transform: translate(-50%,-45%); transition: .2s ease; }
.lpbd-print-alert.is-visible { opacity: 1; transform: translate(-50%,-50%); }

.lpbd-reader:fullscreen,
.lpbd-reader:-webkit-full-screen {
  display: grid;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at 8% 4%, rgba(220,61,122,.08), transparent 27%), radial-gradient(circle at 92% 5%, rgba(46,99,223,.1), transparent 30%), linear-gradient(145deg, #fffafd, #f3f7ff 55%, #effaf7);
}
.lpbd-reader:fullscreen .lpbd-reader__header,
.lpbd-reader:-webkit-full-screen .lpbd-reader__header { display: none; }
.lpbd-reader:fullscreen .lpbd-toolbar,
.lpbd-reader:-webkit-full-screen .lpbd-toolbar { margin: 0; padding: 6px 8px; border-radius: 14px; }
.lpbd-reader:fullscreen .lpbd-tool,
.lpbd-reader:-webkit-full-screen .lpbd-tool { min-height: 36px; padding: 6px 10px; }
.lpbd-reader:fullscreen .lpbd-viewport,
.lpbd-reader:-webkit-full-screen .lpbd-viewport { width: 100%; min-height: 0; height: 100%; padding: 8px; overflow: hidden; border-radius: 16px; }
.lpbd-reader:fullscreen .lpbd-book,
.lpbd-reader:-webkit-full-screen .lpbd-book { width: min(calc(100vw - 36px), calc((100vh - 132px) * 1.34)); width: min(calc(100vw - 36px), calc((100dvh - 132px) * 1.34)); max-width: none; }
.lpbd-reader:fullscreen .lpbd-copyright-note,
.lpbd-reader:-webkit-full-screen .lpbd-copyright-note { width: 100%; max-width: none; margin: 0; padding: 5px 12px; font-size: clamp(.56rem, .65vw, .68rem); line-height: 1.2; }

@media (min-width: 1081px) {

}

@media (max-width: 1080px) {
  .lpbd-toolbar { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 7px; }
  .lpbd-counter { grid-column: 1 / -1; grid-row: 1; }
  .lpbd-prev { grid-column: 1; grid-row: 2; }
  .lpbd-toolbar__group { grid-column: 2; grid-row: 2; }
  .lpbd-next { grid-column: 3; grid-row: 2; }
}

@media (max-width: 900px) {
  .lpbd-reader { width: min(100% - 20px, 1480px); border-radius: 24px; }
  .lpbd-reader__header { grid-template-columns: 1fr; align-items: flex-start; gap: 13px; }
  .lpbd-reader__header-aside { width: min(540px, 100%); align-items: flex-start; }
  .lpbd-reader__header-aside .lpbd-author-popover { right: auto; left: 12px; }
  .lpbd-toolbar { grid-template-columns: auto 1fr auto; }
  .lpbd-counter { grid-column: 1 / -1; grid-row: 1; }
  .lpbd-prev { grid-column: 1; grid-row: 2; }
  .lpbd-toolbar__group { grid-column: 2; grid-row: 2; }
  .lpbd-next { grid-column: 3; grid-row: 2; }
  .lpbd-locked { grid-template-columns: auto 1fr; }
  .lpbd-locked__actions { grid-column: 1 / -1; }
  .lpbd-reader:fullscreen .lpbd-book, .lpbd-reader:-webkit-full-screen .lpbd-book { width: min(calc(100vw - 28px), calc((100vh - 176px) * 1.34)); width: min(calc(100vw - 28px), calc((100dvh - 176px) * 1.34)); }
}

@media (max-width: 760px) {
  .lpbd-reader { width: 100%; margin: 20px 0; padding: 14px; border-radius: 20px; }
  .lpbd-reader__header { display: grid; }
  .lpbd-access-badge { display: inline-flex; }
  .lpbd-toolbar { padding: 8px; }
  .lpbd-tool { min-height: 38px; padding: 7px 10px; }
  .lpbd-tool span { display: none; }
  .lpbd-counter { min-width: 0; }
  .lpbd-counter__status { padding-inline: 3px; font-size: .76rem; }
  .lpbd-counter__hint { display: none; }
  .lpbd-viewport { min-height: 68vh; padding: 8px; border-radius: 18px; }
  .lpbd-book { grid-template-columns: 1fr; width: min(100%, calc(72vh * .67)); aspect-ratio: .67 / 1; }
  .lpbd-slot--left { display: none; }
  .lpbd-slot--right { border-radius: 10px; box-shadow: none; }
  .lpbd-book::before { display: none; }
  .lpbd-flipper { left: 0; right: auto; width: 100%; border-radius: 10px; }
  .lpbd-edge::after { width: 40px; height: 54px; font-size: 1.55rem; opacity: .78; }
  .lpbd-copyright-note { margin-top: 10px; padding: 9px 11px; font-size: .65rem; line-height: 1.38; text-align: left; }
  .lpbd-author-profile { margin-top: 0; }
  .lpbd-author-trigger { min-height: 58px; column-gap: 10px; padding: 10px 11px; }
  .lpbd-author-kicker { min-width: 95px; height: 32px; padding: 0 8px; font-size: .58rem; }
  .lpbd-author-name { font-size: .9rem; }
  .lpbd-author-role { font-size: .66rem; }
  .lpbd-reader__header-aside .lpbd-author-popover { position: relative; top: auto; right: auto; left: auto; display: none; width: 100%; grid-template-columns: 96px 1fr; gap: 12px; margin-top: 10px; padding: 14px; transform: none; }
  .lpbd-author-profile.is-open .lpbd-author-popover { display: grid; transform: none; }
  .lpbd-author-popover > img { width: 96px; height: 118px; }
  .lpbd-author-copy h3 { font-size: 1.05rem; }
  .lpbd-author-copy > p:not([class]) { font-size: .7rem; }
  .lpbd-author-copy > a { min-height: 34px; font-size: .66rem; }
  .lpbd-locked { display: block; padding: 17px; }
  .lpbd-locked__icon { margin-bottom: 10px; }
  .lpbd-locked__actions { margin-top: 14px; }
  .lpbd-reader:fullscreen, .lpbd-reader:-webkit-full-screen { gap: 6px; padding: 6px; }
  .lpbd-reader:fullscreen .lpbd-toolbar, .lpbd-reader:-webkit-full-screen .lpbd-toolbar { padding: 5px; }
  .lpbd-reader:fullscreen .lpbd-viewport, .lpbd-reader:-webkit-full-screen .lpbd-viewport { padding: 4px; border-radius: 12px; }
  .lpbd-reader:fullscreen .lpbd-book, .lpbd-reader:-webkit-full-screen .lpbd-book { width: min(calc(100vw - 12px), calc((100vh - 158px) * .67)); width: min(calc(100vw - 12px), calc((100dvh - 158px) * .67)); }
  .lpbd-reader:fullscreen .lpbd-copyright-note, .lpbd-reader:-webkit-full-screen .lpbd-copyright-note { padding: 4px 7px; font-size: .54rem; line-height: 1.15; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .lpbd-flipper { display: none; }
  .lpbd-book, .lpbd-tool { transition: none; }
}

@media print {
  body * { visibility: hidden !important; }
  body::before {
    content: 'Consultation en ligne uniquement';
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    visibility: visible !important;
    color: #10243f;
    background: #fff;
    font: 800 28pt/1.2 Arial, sans-serif;
    text-align: center;
  }
}

.lpbd-reader--offers .lpbd-book {
  width: min(100%, 1280px);
  aspect-ratio: auto;
}
.lpbd-book--offers .lpbd-slot--left {
  display: block;
  grid-column: 1 / -1;
  border-radius: 13px;
  visibility: visible;
  box-shadow: none;
}
.lpbd-book--offers .lpbd-slot--right,
.lpbd-book--offers::before { display: none; }
.lpbd-offers-page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  height: auto;
  min-height: 100%;
  padding: clamp(18px, 2.3vw, 32px);
  color: var(--lpbd-navy);
  background: radial-gradient(circle at 95% 3%, #ede5ff, transparent 35%), linear-gradient(135deg, #fffafd, #f5f9ff 55%, #effaf6);
}
.lpbd-offers-page__header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lpbd-pink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lpbd-offers-page__header span::before { content: ''; width: 22px; height: 3px; border-radius: 4px; background: linear-gradient(90deg, var(--lpbd-violet), var(--lpbd-pink)); }
.lpbd-offers-page__header h3 { margin: 7px 0; color: var(--lpbd-navy); font-size: clamp(25px, 2.5vw, 36px); line-height: 1.08; letter-spacing: -.04em; }
.lpbd-offers-page__header p { margin: 0; color: #50627e; font-size: 15px; line-height: 1.4; }
.lpbd-offers-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 36px; }
.lpbd-offers-grid::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 24px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(25,44,72,.08), transparent); pointer-events: none; }
.lpbd-offer-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: 1fr auto auto;
  align-content: stretch;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d9dfea;
  border-radius: 20px;
  color: var(--lpbd-navy) !important;
  background: #fff;
  box-shadow: 0 8px 20px rgba(25,48,80,.06);
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease;
}
.lpbd-offer-card:hover, .lpbd-offer-card:focus-visible { transform: translateY(-2px); border-color: var(--lpbd-violet); outline: 3px solid rgba(100,50,220,.2); outline-offset: 2px; }
.lpbd-offer-card--paper { grid-column: 1; grid-row: 1; background: linear-gradient(150deg, #fff, #faf7ff); }
.lpbd-offer-card--digital { grid-column: 1; grid-row: 2; background: linear-gradient(150deg, #fff, #f2f7ff); }
.lpbd-offer-card--pass { grid-column: 2; grid-row: 1; border-color: #d7c9ff; background: linear-gradient(150deg, #fff, #f5f0ff); }
.lpbd-offer-card--support { grid-column: 2; grid-row: 2; border-color: #b8ddd1; background: linear-gradient(150deg, #fff, #ecfaf4); }
.lpbd-offer-card__visual { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lpbd-offer-card__cover { display: block !important; width: 82px !important; height: 116px !important; object-fit: contain !important; background: transparent !important; filter: drop-shadow(0 5px 6px rgba(15,36,66,.18)); }
.lpbd-format-badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 9px; color: #fff; background: var(--lpbd-violet); font-size: 11px; font-weight: 850; text-align: center; white-space: nowrap; }
.lpbd-offer-card--digital .lpbd-format-badge { background: var(--lpbd-blue); }
.lpbd-offer-card--support .lpbd-format-badge { background: #10816c; }
.lpbd-offer-card__kicker { display: block; margin-bottom: 5px; color: var(--lpbd-violet); font-size: 11px; line-height: 1.3; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.lpbd-offer-card strong { display: block; color: var(--lpbd-navy); font-size: 22px; line-height: 1.15; }
.lpbd-offer-features { display: grid; gap: 6px; margin: 13px 0 0; padding: 0; list-style: none; color: #50627e; font-size: 14px; line-height: 1.35; }
.lpbd-offer-features li { position: relative; margin: 0; padding-left: 18px; }
.lpbd-offer-features li::before { content: '✓'; position: absolute; top: 0; left: 0; color: #10816c; font-weight: 900; }
.lpbd-offer-pricing { display: grid; grid-column: 1 / -1; align-self: end; color: var(--lpbd-violet); }
.lpbd-offer-pricing > span { display: grid; gap: 3px; align-content: start; }
.lpbd-offer-pricing small { color: #5b6981; font-size: 12px; font-weight: 700; line-height: 1.3; }
.lpbd-offer-pricing b { display: block; font-size: 29px; line-height: 1.05; letter-spacing: -.03em; }
.lpbd-offer-pricing em { color: #5b6981; font-style: normal; font-size: 11px; letter-spacing: 0; }
.lpbd-offer-pricing--split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lpbd-offer-pricing--split > span { padding: 11px; border: 1px solid #e1dcf5; border-radius: 11px; background: rgba(255,255,255,.8); }
.lpbd-offer-pricing__extra { margin-top: 4px; color: #5c4499 !important; font-size: 11px !important; font-weight: 700; }
.lpbd-offer-card--support .lpbd-offer-card__kicker, .lpbd-offer-card--support .lpbd-offer-pricing { color: #10816c; }
.lpbd-offer-card__action { display: flex; grid-column: 1 / -1; align-self: end; justify-content: space-between; gap: 12px; color: var(--lpbd-violet); font-size: 13px; font-weight: 800; }
.lpbd-offers-page__compare { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 15px; padding: 10px 16px; border-radius: 13px; color: #fff !important; background: linear-gradient(110deg, var(--lpbd-violet), var(--lpbd-blue)); font-size: 16px; font-weight: 850; text-decoration: none !important; }
.lpbd-offers-page__compare:focus-visible { outline: 3px solid #10243f; outline-offset: 3px; }
.lpbd-reader--offers .lpbd-edge { display: none; }
.lpbd-reader.lpbd-reader--offers:fullscreen .lpbd-viewport, .lpbd-reader.lpbd-reader--offers:-webkit-full-screen .lpbd-viewport { display: block; overflow: auto; }
.lpbd-reader.lpbd-reader--offers:fullscreen .lpbd-book, .lpbd-reader.lpbd-reader--offers:-webkit-full-screen .lpbd-book { width: min(100%, 1280px); margin: auto; }
@media (min-width: 761px) and (max-width: 1000px) {
  .lpbd-offers-page { gap: 16px; padding: 18px; }
  .lpbd-offers-grid { gap: 16px 26px; }
  .lpbd-offer-card { grid-template-columns: 70px minmax(0, 1fr); gap: 11px; padding: 14px; }
  .lpbd-offer-card__cover { width: 62px !important; height: 88px !important; }
  .lpbd-offer-card strong { font-size: 19px; }
  .lpbd-offer-features { font-size: 13px; }
  .lpbd-offer-pricing--split { gap: 7px; }
  .lpbd-offer-pricing--split > span { padding: 8px; }
  .lpbd-offer-pricing b { font-size: 25px; }
}
@media (max-width: 760px) {
  .lpbd-reader--offers .lpbd-viewport { display: block; min-height: 0; padding: 0; }
  .lpbd-reader--offers .lpbd-book { width: 100%; }
  .lpbd-offers-page { gap: 18px; padding: 14px; }
  .lpbd-offers-page__header span { font-size: 10px; }
  .lpbd-offers-page__header h3 { font-size: 26px; }
  .lpbd-offers-page__header p { font-size: 14px; }
  .lpbd-offers-grid { grid-template-columns: 1fr; gap: 16px; }
  .lpbd-offers-grid::before { display: none; }
  .lpbd-offer-card { grid-column: auto; grid-row: auto; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .lpbd-offer-card__cover { width: 66px !important; height: 94px !important; }
  .lpbd-offer-card strong { font-size: 21px; }
  .lpbd-offer-features { font-size: 14px; }
}
@media (max-width: 380px) {
  .lpbd-offers-page { padding: 10px; }
  .lpbd-offer-card { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .lpbd-offer-card__cover { width: 54px !important; height: 78px !important; }
  .lpbd-format-badge { padding: 5px 6px; font-size: 10px; }
  .lpbd-offer-card strong { font-size: 19px; }
  .lpbd-offer-card__kicker { font-size: 10px; }
  .lpbd-offer-features { font-size: 13px; }
  .lpbd-offer-pricing--split { gap: 7px; }
  .lpbd-offer-pricing--split > span { padding: 8px; }
  .lpbd-offer-pricing b { font-size: 26px; }
}
