/* Espacements resserrés et listes de livres adaptées au contenu. */
:where(.inner-page,.home-page) main > :is(.book-story,.book-choice,.book-reading,.reading-invitation,.book-related,.worlds-explorer,.worlds-connections,.worlds-library,.us-series,.trilogy-volumes,.trilogy-characters,.trilogy-reading,.book-editorial) {
  padding-block:clamp(24px,3.2vw,42px);
}
.inner-page main > .book-features {padding-block:8px 30px;gap:14px;contain-intrinsic-size:auto 280px}
.book-feature {min-height:0;padding:clamp(17px,2vw,25px)}
.book-feature h3 {margin-block:0 9px}
.book-feature p {margin-block:0;line-height:1.6}
.book-feature p+p {margin-top:9px}
.reading-invitation {gap:clamp(18px,3vw,38px)}
.reading-invitation h2 {margin-bottom:12px}
.reading-invitation-copy p {margin-block:0 12px}
.book-related > h2,.worlds-library > h2,.us-series > h2 {margin-block:5px 20px}
.book-final-cta.section-wrap {margin-block:20px 26px;padding-block:clamp(24px,3.2vw,42px)}
.book-final-cta > div:not(.sc-cta-cover) {min-width:0;flex:1 1 auto}
.worlds-volumes {gap:14px}
.five-worlds-page .worlds-volume {
  grid-template-columns:112px minmax(0,1fr);gap:22px;align-items:center;
  min-height:0;padding:18px 22px;border-radius:16px;
}
.five-worlds-page .worlds-volume > a:first-child {width:112px;max-width:112px;margin:0;align-self:center}
.five-worlds-page .worlds-volume > div {min-width:0;position:relative;z-index:1}
.five-worlds-page .worlds-volume .eyebrow {margin:0;font-size:10px;line-height:1.4}
.five-worlds-page .worlds-volume h3 {font-size:clamp(24px,2.3vw,32px);line-height:1.12;margin:5px 0 9px}
.five-worlds-page .worlds-volume > div > p:not(.eyebrow) {margin:0 0 13px;max-width:80ch;font-size:16px;line-height:1.55}
.five-worlds-page .worlds-volume-actions {display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;margin:0}
.five-worlds-page .worlds-volume .worlds-volume-actions > :is(a,p) {margin:0;font-size:14px;line-height:1.35}
.five-worlds-page .worlds-volume .book-status {padding:7px 12px;white-space:normal}
.five-worlds-page .worlds-volume .worlds-purchase {display:inline-flex;align-items:center;gap:6px;max-width:none;width:auto;padding:9px 12px;min-height:38px;border-radius:9px;white-space:normal}
.five-worlds-page .worlds-volume .worlds-volume-actions > .text-link:not(.worlds-purchase) {min-height:38px;display:inline-flex;align-items:center}
.five-worlds-page .worlds-volume::after {font-size:80px;right:17px;opacity:.07;pointer-events:none}
.cycle-library.section-wrap {margin-block:26px}
.cycle-library .section-heading {gap:14px}
.cycle-library .section-heading p {margin-block:8px 0;line-height:1.6}
.cycle-preview-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-block:18px}
.cycle-preview-grid .book-related-card {padding:14px;border-radius:15px}
.cycle-preview-grid .book-related-main {
  display:grid;grid-template-columns:90px minmax(0,1fr);gap:5px 15px;align-content:start;align-items:start;width:100%;min-width:0;
}
.cycle-preview-grid .book-card-cover {grid-column:1;grid-row:1/span 6;align-self:start;width:90px;height:160px;max-height:160px;aspect-ratio:auto;margin:0;padding:13px 8px;border-radius:9px}
.cycle-preview-grid .book-card-cover > :is(img,.sc-book) {max-height:134px;max-width:100%;height:100%;width:auto}
.cycle-preview-grid .book-related-main > :not(.book-card-cover) {grid-column:2;min-width:0;margin:0}
.cycle-preview-grid .book-related-main .book-meta {font-size:11px;line-height:1.35;letter-spacing:.035em}
.cycle-preview-grid .book-related-main h3 {font-size:21px;line-height:1.15;margin:0}
.cycle-preview-grid .book-related-main .book-card-hook {font-size:14px;line-height:1.4;margin:2px 0}
.cycle-preview-grid .book-related-main .book-status {justify-self:start;font-size:12px;line-height:1.25;padding:6px 9px;margin-top:3px}
.cycle-preview-grid .book-related-main > span {font-size:13px;line-height:1.35;margin-top:2px}
.cycle-preview-grid .sc-qv-btn {--sc-qv-top:8px;--sc-qv-right:8px;scale:.85}
.book-related:not(.cycle-library) .book-related-card {padding:16px;border-radius:17px}
.book-related:not(.cycle-library) .book-related-card h3 {font-size:clamp(20px,1.8vw,25px);margin-bottom:8px}
.book-related:not(.cycle-library) .book-related-card .book-card-hook {margin-block:7px;line-height:1.5}
.book-related:not(.cycle-library) .book-related-card .book-status {margin-block:8px;padding:7px 11px}
.book-related:not(.cycle-library) .book-card-cover {margin-bottom:12px;max-height:218px}
.book-related:not(.cycle-library) .book-card-cover > :is(img,.sc-book) {max-height:190px}
.us-series .us-books {gap:14px;margin-top:18px}
.home-page main > :is(.home-explore,.author,.px-process,.home-selection,.px-faq,.px-connect) {padding-block:clamp(28px,3.5vw,48px)}
.home-page main > .home-editorial-disclosure {margin-block:20px}
.ju-shelf.nw-related,.ju-shelf {padding-top:28px}
.ju-extras {margin-block:24px}
.ju-picture-grid {gap:18px}
.page-content .book-related-card {padding:16px;border-radius:17px}
.page-content .book-related-main > .compact-catalog-cover {height:176px;margin-bottom:12px;display:grid;place-items:center}
.page-content .compact-catalog-cover > :is(img,.sc-book) {max-height:176px;height:100%;width:auto;max-width:100%}
.page-content .book-related-main h3 {font-size:24px;line-height:1.2;margin:0 0 8px}
.page-content .book-related-main .book-card-hook {font-size:14px;line-height:1.5;margin:8px 0}
.page-content .book-related-main .book-choice-reason {font-size:13px;line-height:1.5;margin:8px 0;padding-left:9px}
.page-content .book-related-main .book-status {padding:6px 10px;font-size:13px;line-height:1.35}
.page-content .book-related-main > span {font-size:13px;margin-top:7px}
.page-content .us-edition-switch {padding:9px 12px;margin-block:10px}
.page-content .us-edition-switch p {margin:0 0 4px;font-size:11px;line-height:1.35}
.page-content .us-edition-switch a {font-size:13px;line-height:1.4}
.page-content .book-purchase {font-size:13px;padding:9px 11px;min-height:36px}

/* Articles conseillés réunis dans un seul volet accessible au clavier. */
.reading-guide-crosslink.section-wrap {padding-block:12px 20px;margin-block:12px;border-top:0}
.reading-guide-crosslink .journal-disclosure {margin:0;padding:0;border:1px solid #dfe6ef;border-radius:12px;background:#f7f9fc}
.journal-disclosure > summary {display:flex;align-items:center;gap:12px;min-height:48px;list-style:none;cursor:pointer;padding:12px 16px;color:#2c3e65;font:600 15px/1.4 var(--sans)}
.journal-disclosure > summary::-webkit-details-marker {display:none}
.journal-disclosure .journal-count {margin-left:auto;font-size:13px;font-weight:400;color:#637188;white-space:nowrap}
.journal-disclosure .journal-toggle {display:grid;place-items:center;width:24px;height:24px;flex:none;border:1px solid #cbd5e3;border-radius:50%;font:400 20px/1 var(--sans)}
.journal-disclosure .journal-toggle::before {content:"+"}
.journal-disclosure[open] .journal-toggle::before {content:"−"}
.journal-disclosure > summary:focus-visible {outline:3px solid #456497;outline-offset:3px;border-radius:10px}
.journal-disclosure[open] > summary {border-bottom:1px solid #e0e6ef}
.journal-disclosure .journal-related-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;padding:14px 16px 16px}
.journal-related-grid .journal-related-item {min-width:0;margin:0;padding:0}
.journal-related-grid .journal-related-item p {margin:0;color:#56657c;font-size:14px;line-height:1.45;max-width:none}
.journal-related-grid .journal-related-item .journal-related-title {margin-bottom:5px}
.reading-guide-crosslink .journal-related-title a {font-size:15px;line-height:1.35;font-weight:600;color:#344f8c;text-decoration-thickness:1px;text-underline-offset:3px}
.journal-related-title a:focus-visible {outline:2px solid #456497;outline-offset:3px}
@media(max-width:1100px){
  .cycle-preview-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .journal-disclosure .journal-related-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  :where(.inner-page,.home-page) main > :is(.book-story,.book-choice,.book-reading,.reading-invitation,.book-related,.worlds-explorer,.worlds-connections,.worlds-library,.us-series,.trilogy-volumes,.trilogy-characters,.trilogy-reading,.book-editorial) {padding-block:24px}
  .inner-page main > .book-features {padding-bottom:26px;contain-intrinsic-size:auto 580px}
  .five-worlds-page .worlds-volume {grid-template-columns:76px minmax(0,1fr);gap:14px;padding:15px 13px;align-items:start}
  .book-final-cta > div:not(.sc-cta-cover) {flex:none}
  .five-worlds-page .worlds-volume > a:first-child {width:76px;max-width:76px;margin:2px 0 0;align-self:start}
  .five-worlds-page .worlds-volume h3 {font-size:23px;margin:4px 0 8px}
  .five-worlds-page .worlds-volume > div > p:not(.eyebrow) {font-size:14px;line-height:1.5;margin-bottom:10px}
  .five-worlds-page .worlds-volume-actions {gap:7px 10px}
  .five-worlds-page .worlds-volume .worlds-volume-actions > :is(a,p) {font-size:12px}
  .five-worlds-page .worlds-volume .worlds-purchase {padding:8px 9px}
  .five-worlds-page .worlds-volume::after {display:none}
  .cycle-library.section-wrap {margin-block:23px}
  .cycle-preview-grid {grid-template-columns:1fr;gap:12px}
  .cycle-preview-grid .book-related-card {padding:13px}
  .cycle-preview-grid .book-related-main {grid-template-columns:82px minmax(0,1fr);column-gap:14px}
  .cycle-preview-grid .book-card-cover {width:82px;height:148px;padding:11px 8px}
  .cycle-preview-grid .book-card-cover > :is(img,.sc-book) {max-height:126px}
  .cycle-preview-grid .book-related-main h3 {font-size:22px}
  .journal-disclosure .journal-related-grid {grid-template-columns:1fr;gap:14px;padding:12px 14px 15px}
  .journal-disclosure > summary {padding:11px 13px;gap:9px;font-size:14px}
  .reading-guide-crosslink.section-wrap {margin-block:6px;padding-block:10px 15px}
}
@media print {
  .journal-disclosure > .journal-related-grid {display:grid}
}

/* Les autres collections reprennent les mêmes proportions de vignettes. */
.worlds-immersion.section-wrap {margin-block:24px;padding-block:28px}
.worlds-book-bridge.cycle-bridge {padding-block:26px;margin-block:12px 20px}
.cycle-en-scene .cycle-dossier {margin-top:24px}
.cycle-en-scene .cycle-reperes {padding-block:26px}
.us-series .us-series-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.us-series .us-volume-card {display:grid;grid-template-columns:82px minmax(0,1fr);gap:6px 14px;align-content:start;padding:14px;border-radius:14px;min-width:0}
.us-series .us-volume-card > :is(img,.sc-book) {grid-column:1;grid-row:1/span 5;width:82px;height:131px;max-width:82px;max-height:131px;margin:0;object-fit:contain;align-self:start}
.us-series .us-volume-card > :not(img):not(.sc-book) {grid-column:2;min-width:0;margin:0}
.us-series .us-volume-card h3 {font-size:21px;line-height:1.16;margin:0}
.us-series .us-volume-card .eyebrow {font-size:10px;line-height:1.35}
.us-series .us-volume-card .book-status {justify-self:start;padding:6px 9px;font-size:12px;line-height:1.3}
.us-series .us-volume-card .text-link {padding:2px 0;font-size:12px;line-height:1.35}
.book-related .book-related-main {display:grid;grid-template-columns:94px minmax(0,1fr);gap:5px 16px;align-items:start;align-content:start;width:100%}
.book-related .book-related-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.book-related .book-related-main > .book-card-cover {grid-column:1;grid-row:1/span 8;align-self:start;width:94px;height:166px;max-height:166px;aspect-ratio:auto;margin:0;padding:10px 6px}
.book-related .book-related-main .book-card-cover > :is(img,.sc-book) {max-height:146px;max-width:100%;height:100%;width:auto}
.book-related .book-related-main > :not(.book-card-cover) {grid-column:2;min-width:0;margin:0}
.book-related .book-related-main .book-meta {font-size:11px;line-height:1.4}
.book-related .book-related-main h3 {margin:0;font-size:23px;line-height:1.15}
.book-related .book-related-main .book-card-hook {margin:3px 0;font-size:14px;line-height:1.45}
.book-related .book-related-main .book-status {justify-self:start;padding:6px 9px;margin-block:3px;font-size:12px;line-height:1.35}
.book-related .book-related-main > span {font-size:13px;line-height:1.4}
.trilogy-volume {grid-template-columns:112px minmax(0,1fr);gap:22px;padding:20px;min-height:0;align-items:center}
.trilogy-volume > a:first-child {width:112px;max-width:112px;margin:0}
.trilogy-volume h3 {font-size:clamp(24px,2.3vw,32px);line-height:1.15;margin:5px 0 9px}
.trilogy-volume p {margin-block:9px;line-height:1.55}
.trilogy-volume .button {padding:10px 15px;min-height:40px;font-size:14px}
.trilogy-volume .trilogy-volume-buy {margin-bottom:0}
@media(max-width:1100px){.us-series .us-series-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .us-series .us-series-grid {grid-template-columns:1fr}
 .us-series .us-volume-card {grid-template-columns:76px minmax(0,1fr);padding:13px}
 .us-series .us-volume-card > :is(img,.sc-book) {width:76px;max-width:76px;height:122px;max-height:122px}
 .book-related .book-related-main {grid-template-columns:76px minmax(0,1fr);gap:5px 12px}
 .book-related .book-related-grid {grid-template-columns:1fr}
 .book-related .book-related-main > .book-card-cover {width:76px;height:135px;max-height:135px;padding:8px 5px}
 .book-related .book-related-main .book-card-cover > :is(img,.sc-book) {max-height:119px}
 .book-related .book-related-main h3 {font-size:21px}
 .trilogy-volume {grid-template-columns:76px minmax(0,1fr);gap:14px;padding:15px 13px;align-items:start}
 .trilogy-volume > a:first-child {width:76px;max-width:76px;margin:2px 0 0}
 .trilogy-volume p {font-size:14px;line-height:1.5}
 .trilogy-volume .button {font-size:12px;padding:9px 12px}
}

/* Ebook Corp — détails de composition et de navigation.
   Les illustrations, les listes de livres et les contrôles gardent leurs dimensions. */

:root {
  --folio-ink: #23384a;
  --folio-brass: #9e7645;
  --folio-rule: #dadbd2;
  --folio-paper: #f9f6ef;
  --folio-accent: #386361;
  --folio-ease: cubic-bezier(.2, .65, .3, 1);
}

/* Ouverture : une double page avec filet de reliure et cadre d’illustration. */
.home-streamlined .ed-spread {
  border-radius: .9rem;
  box-shadow: 0 18px 44px -32px #1b3b44a6;
}
.home-streamlined .ed-foreword {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 100% 100%, #3764628a, transparent 69%),
    linear-gradient(160deg, #112b34, #1c3e43);
}
.ed-foreword::before {
  position: absolute;
  z-index: -1;
  inset: .8rem 0 .8rem .8rem;
  border: 1px solid #d8ba7954;
  border-inline-end: 0;
  border-radius: .46rem 0 0 .46rem;
  content: "";
  pointer-events: none;
}
.ed-foreword::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(ellipse at 100% 100%, transparent 0 21px, #e4cea01b 22px 23px, transparent 24px 29px);
  mask-image: radial-gradient(ellipse 55% 55% at 100% 100%, black, transparent 90%);
  content: "";
  pointer-events: none;
}
.ed-foreword .ed-imprint {
  display: flex;
  align-items: center;
  gap: .72rem;
}
.ed-foreword .ed-imprint::before,
.catalogue-invitation h2::before,
.ed-journal-intro h2::before {
  flex: 0 0 clamp(.95rem, 3vw, 2.1rem);
  height: 1px;
  background: currentColor;
  content: "";
}
.ed-feature::before {
  position: absolute;
  z-index: 1;
  inset: .8rem;
  border-block: 1px solid #f4d7a448;
  border-inline-end: 1px solid #f4d7a448;
  border-radius: 0 .46rem .46rem 0;
  content: "";
  pointer-events: none;
}
.home-streamlined .ed-feature-caption {
  align-items: center;
}
.home-streamlined .ed-feature .ed-feature-arrow {
  border-color: #edce98a8;
  background: #132b33a3;
  color: #ffedca;
}
.ed-feature:is(:hover, :focus-visible) .ed-feature-arrow {
  background: #eed8b2;
  color: #19333d;
}
.home-streamlined .ed-also > summary {
  border-radius: 0 0 .55rem .55rem;
}
.home-streamlined .ed-also[open] > summary {
  color: #2d5c5c;
}

/* Un marque-page et une teinte pour chacun des choix, sur les deux accueils. */
.reading-discovery :is([data-reading-mood="escape"], [data-mood="escape"]),
.book-detail-page.book-family--romans,
.catalogue-directory :is(a[href="#romans"], #romans),
:is(#journal-imaginaire, .ed-jump[href="#journal-imaginaire"]) {
  --folio-accent: #2e6070;
  --folio-tint: #e8f1f3;
  --folio-light: #f8fbfb;
}
.reading-discovery :is([data-reading-mood="play"], [data-mood="play"]),
.book-detail-page.book-family--aventures,
.catalogue-directory :is(a[href="#livres-jeux"], #livres-jeux),
:is(#journal-lecteurs, .ed-jump[href="#journal-lecteurs"]) {
  --folio-accent: #406753;
  --folio-tint: #e9f1e8;
  --folio-light: #f8fbf7;
}
.reading-discovery :is([data-reading-mood="share"], [data-mood="share"]),
.book-detail-page:is(.book-family--jeunesse, .ju-book),
.catalogue-directory :is(a[href="#jeunesse"], #jeunesse),
:is(#journal-famille, .ed-jump[href="#journal-famille"]) {
  --folio-accent: #81512e;
  --folio-tint: #f6e9d9;
  --folio-light: #fffaf3;
}
.reading-discovery :is([data-reading-mood="create"], [data-mood="create"]),
.book-detail-page.book-family--coloriages,
.catalogue-directory :is(a[href="#coloriages"], #coloriages) {
  --folio-accent: #725577;
  --folio-tint: #f0e7f3;
  --folio-light: #fdf9fe;
}
.reading-discovery :is([data-reading-mood="learn"], [data-mood="learn"]),
.book-detail-page:is(.book-family--pratique, .book-family--ia),
.catalogue-directory :is(a[href="#essais"], #essais),
:is(#journal-pratique, .ed-jump[href="#journal-pratique"]) {
  --folio-accent: #4e5b83;
  --folio-tint: #e9ecf7;
  --folio-light: #f9f9fe;
}
.catalogue-directory :is(a[href="#a-paraitre"], #a-paraitre),
.book-detail-page.amont-page {
  --folio-accent: #875448;
  --folio-tint: #f7ebe3;
  --folio-light: #fff9f5;
}
.book-world-page.world-nacre { --folio-accent: #285e64; --folio-tint: #e6f0ee; }
.book-world-page.world-veyre { --folio-accent: #8b4d3c; --folio-tint: #faeee6; }
.book-world-page.world-sylve { --folio-accent: #40664d; --folio-tint: #eaf2e7; }
.book-world-page.world-aeral { --folio-accent: #815b25; --folio-tint: #f7edda; }
.book-world-page.world-iskar { --folio-accent: #665281; --folio-tint: #f0ebf7; }

.home-streamlined .reading-discovery {
  border-color: #dddcd1;
  background: linear-gradient(121deg, #edf3ef, #f7f5ec 62%, #f4efe6);
}
.reading-discovery .discovery-heading svg {
  color: #4a716a;
}
.reading-discovery .discovery-heading .eyebrow {
  color: #426762;
}
.reading-discovery .discovery-moods > button {
  min-block-size: 2.92rem;
  border: 1px solid color-mix(in srgb, var(--folio-accent) 22%, #fff);
  border-radius: .48rem;
  background: var(--folio-light);
  color: var(--folio-ink);
  font-size: .92rem;
  line-height: 1.18;
  text-align: start;
  gap: .72rem;
}
.reading-discovery .discovery-moods > button[aria-pressed="true"] {
  border-color: var(--folio-accent);
  background: var(--folio-accent);
  color: white;
  box-shadow: 0 7px 16px -12px var(--folio-accent);
}
.reading-discovery .discovery-moods > button:not([aria-pressed="true"]):is(:hover, :focus-visible) {
  border-color: var(--folio-accent);
  background: var(--folio-tint);
}
.reading-discovery .discovery-bookmark {
  display: block;
  flex: 0 0 .65rem;
  block-size: .95rem;
  background: var(--folio-accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 73%, 0 100%);
}
.reading-discovery button[aria-pressed="true"] .discovery-bookmark {
  background: #f7edcf;
}
.reading-discovery .discovery-stage {
  border-color: color-mix(in srgb, var(--folio-accent) 28%, white);
  border-radius: .65rem;
  background: var(--folio-light, #fafbf8);
  box-shadow: 0 16px 26px -24px #223f42a3;
}
.reading-discovery .discovery-cover {
  position: relative;
  isolation: isolate;
  border-inline-end: 1px solid color-mix(in srgb, var(--folio-accent) 24%, transparent);
  background:
    radial-gradient(ellipse at 35% 15%, #ffffffc0, transparent 62%),
    var(--folio-tint, #ecf2ef);
}
.discovery-cover::before,
.discovery-cover::after {
  position: absolute;
  z-index: -1;
  inset: .68rem;
  border: 1px solid color-mix(in srgb, var(--folio-accent) 27%, transparent);
  border-radius: .28rem .95rem .28rem .95rem;
  pointer-events: none;
  content: "";
}
.discovery-cover::after {
  inset: auto 12% .95rem;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--folio-accent), transparent);
  opacity: .55;
}
.reading-discovery .discovery-copy .eyebrow,
.reading-discovery .discovery-copy .text-link {
  color: var(--folio-accent);
}
.reading-discovery .discovery-copy h3 a {
  color: var(--folio-ink);
}
.reading-discovery .discovery-actions {
  border-color: color-mix(in srgb, var(--folio-accent) 19%, white);
  background: var(--folio-light, #fafbf8);
}
.reading-discovery .discovery-actions button {
  color: var(--folio-accent);
  font-size: .86rem;
}
.reading-discovery .discovery-actions .discovery-surprise {
  border-color: color-mix(in srgb, var(--folio-accent) 45%, white);
}
.reading-discovery .discovery-actions .discovery-surprise:is(:hover, :focus-visible) {
  border-color: var(--folio-accent);
  background: var(--folio-tint);
}

/* Les rayons et le journal reprennent le même filet dans une mise en page plus compacte. */
.catalogue-invitation h2,
.ed-journal-intro h2 {
  display: flex;
  align-items: center;
  gap: .82rem;
}
.catalogue-invitation h2::before,
.ed-journal-intro h2::before {
  color: var(--folio-brass);
}
.catalogue-invitation .ed-rays > a {
  align-content: stretch;
  grid-template-columns: minmax(4.4rem, 29%) minmax(0, 1fr);
  gap: clamp(.6rem, 1.35vw, 1rem);
  padding: .46rem .67rem .46rem .46rem;
  border-color: color-mix(in srgb, var(--folio-accent) 22%, white);
  border-radius: .58rem;
  background: var(--folio-light, #f8faf9);
}
.catalogue-invitation .ed-rays > a:is(:hover, :focus-visible) {
  border-color: var(--folio-accent);
  background: var(--folio-tint, #eaf0ee);
}
.catalogue-invitation .ed-rays .ed-ray-art {
  display: block;
  align-self: stretch;
  min-height: 4.75rem;
  position: relative;
  overflow: hidden;
  border-radius: .29rem;
  background: var(--folio-tint, #eaf0ee);
}
.ed-rays .ed-ray-art::after {
  position: absolute;
  inset: .24rem;
  border: 1px solid #fff9;
  border-radius: .12rem;
  content: "";
  pointer-events: none;
}
.ed-rays .ed-ray-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalogue-invitation .ed-rays strong {
  color: var(--folio-accent);
}
.catalogue-invitation .ed-rays .ed-ray-copy {
  padding-block: .27rem;
}
:is(.catalogue-group-heading, .ed-shelf-heading) {
  position: relative;
  padding-inline-start: clamp(.8rem, 2vw, 1.3rem);
}
:is(.catalogue-group-heading, .ed-shelf-heading)::before {
  position: absolute;
  inset-block-start: .2rem;
  inset-inline-start: 0;
  height: 2.75rem;
  width: .2rem;
  border-radius: 0 0 .21rem .21rem;
  background: linear-gradient(var(--folio-accent) 64%, var(--folio-brass));
  content: "";
}
.catalogue-group-heading > .eyebrow {
  color: var(--folio-accent);
}
.ed-journal-intro .ed-jump {
  min-height: 2.75rem;
  gap: .56rem;
  border-color: color-mix(in srgb, var(--folio-accent) 25%, white);
  border-radius: .38rem;
  background: var(--folio-light, #f8faf9);
  color: var(--folio-accent);
}
.ed-journal-intro .ed-jump::before {
  width: .5rem;
  height: .76rem;
  flex: 0 0 .5rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
  content: "";
}
.ed-journal-intro .ed-jump:is(:hover, :focus-visible) {
  background: var(--folio-tint, #eaf0ee);
  border-color: var(--folio-accent);
}
.ed-shelf .journal-card {
  border-color: color-mix(in srgb, var(--folio-accent) 24%, white);
}
.ed-shelf .journal-card:first-child {
  background: var(--folio-light, #f9f7f1);
}
.ed-shelf .journal-image {
  position: relative;
}
.ed-shelf .journal-image::after {
  position: absolute;
  inset: .48rem;
  border: 1px solid #fff9;
  border-radius: .18rem;
  content: "";
  pointer-events: none;
}
.ed-shelf .journal-card a:focus-visible {
  outline-offset: -4px;
}
.ed-shelf .journal-card a:is(:hover, :focus-visible) .text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fiches : la couverture est lisible dès l’arrivée, l’ouverture du modèle reste une action. */
:is(.book-detail-cover, .storybook-cover, .nw-cover, .ec-book-art)
  .sc-model-toggle:not(.is-open):not(.is-tracking) {
  --sc-ry: 15deg;
  --sc-rx: -4deg;
  --sc-open: 0deg;
}
/* Les feuillets des cinq mondes conservent leur décor et rapprochent les repères d’achat. */
.book-world-page .book-detail-hero.book-detail--worlds {
  min-height: 0;
}
.book-world-page .book-detail--worlds .book-detail-intro .book-author {
  margin-block: .5rem .75rem;
}
.book-world-page .book-detail--worlds .book-detail-intro .book-detail-promise {
  margin-block: .85rem .52rem;
}
.book-world-page .book-detail--worlds .book-detail-intro > p:not([class]) {
  margin-block-start: .7rem;
  line-height: 1.6;
}
.book-world-page .book-detail--worlds .book-detail-intro .book-detail-actions {
  margin-block-start: 1.1rem;
}
.book-world-page .book-detail--worlds .book-detail-intro .us-edition-switch {
  margin-block: .8rem 0;
}
.book-world-page .worlds-immersion-grid > figure > figcaption {
  background: linear-gradient(115deg, var(--folio-tint), var(--folio-light));
  border-block-start-color: color-mix(in srgb, var(--folio-accent) 70%, var(--folio-brass));
}
.book-world-page .worlds-immersion-grid > figure > figcaption h3 {
  color: var(--folio-accent);
}
.book-detail-page :is(.book-page-nav, .sc-bar__links) > a {
  position: relative;
  color: var(--folio-ink);
  border-radius: .4rem;
  min-height: 2.75rem;
}
.book-detail-page :is(.book-page-nav, .sc-bar__links) > a[aria-current="location"] {
  background: var(--folio-tint, #edf2ef);
  color: var(--folio-accent);
  font-weight: 650;
}
.book-detail-page :is(.book-page-nav, .sc-bar__links) > a[aria-current="location"]::after {
  position: absolute;
  inset: auto 23% 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--folio-accent);
  content: "";
  pointer-events: none;
}
.book-detail-page :is(.book-page-nav, .sc-bar__links) > a:is(:hover, :focus-visible),
.book-detail-page .sc-series__item a:is(:hover, :focus-visible) {
  background-color: var(--folio-tint, #edf2ef);
  color: var(--folio-accent);
}
.book-detail-page :is(.book-story-copy, .book-related) > .eyebrow::before {
  display: inline-block;
  vertical-align: middle;
  width: 1.35rem;
  height: 1px;
  margin-inline-end: .56rem;
  background: var(--folio-accent);
  content: "";
}
.book-detail-page .book-related .book-related-card:focus-within,
.catalogue-group .book-related-card:focus-within {
  border-color: var(--folio-accent);
}
.ju-library :is(.ju-card-art, .ju-av-art)::after {
  position: absolute;
  z-index: 1;
  inset: .48rem;
  border: 1px solid #fff9;
  border-radius: .31rem;
  pointer-events: none;
  content: "";
}

/* Les sommaires et les liens du journal restent navigables sans script. */
.reading-guide-body .reading-guide-toc {
  border-color: var(--folio-rule);
  border-inline-start: 3px solid var(--folio-accent);
  border-radius: 0 .62rem .62rem 0;
  background:
    linear-gradient(105deg, #eef4f1, transparent 67%),
    var(--folio-paper);
}
.reading-guide-toc:has(> a) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: .9rem;
}
.reading-guide-toc:has(> a) > :not(a) {
  grid-column: 1 / -1;
}
.reading-guide-toc > a {
  padding: .35rem .45rem;
  border-radius: .28rem;
  line-height: 1.38;
}
.reading-guide-toc > a:is(:hover, :focus-visible) {
  background-color: #dfebe5;
}
.reading-guide-body.prose > h2[id],
.article-reading-section > h2[id] {
  position: relative;
  padding-inline-start: .7rem;
}
.reading-guide-body.prose > h2[id]::before,
.article-reading-section > h2[id]::before {
  position: absolute;
  inset: .14em auto auto 0;
  width: .14rem;
  height: .92em;
  border-radius: 2px;
  background: var(--folio-brass);
  content: "";
}
.reading-guide-body.prose > h2[id]:target,
.article-reading-section > h2[id]:target {
  color: var(--folio-accent);
}
.book-promo .bp-feature:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Micro-interactions : aucun décalage du texte, aucune boucle décorative ajoutée. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off):not([data-motion="off"]) .ed-feature-arrow,
  html:not(.motion-off):not([data-motion="off"]) .discovery-moods > button,
  html:not(.motion-off):not([data-motion="off"]) .ed-rays > a,
  html:not(.motion-off):not([data-motion="off"]) .ed-journal-intro .ed-jump {
    transition: background-color 210ms ease, border-color 210ms ease, color 210ms ease;
  }
  html:not(.motion-off):not([data-motion="off"]) .ed-foreword .ed-imprint::before,
  html:not(.motion-off):not([data-motion="off"]) .reading-discovery.is-ready
    .discovery-card:not([hidden]) .discovery-cover::after,
  html:not(.motion-off):not([data-motion="off"]) :is(.book-page-nav, .sc-bar__links) > a[aria-current="location"]::after {
    transform-origin: left;
    animation: folio-line-in 480ms var(--folio-ease) both;
  }
  html:not(.motion-off):not([data-motion="off"]) :is(.catalogue-group, .ed-shelf):target
    > :is(.catalogue-group-heading, .ed-shelf-heading)::before {
    transform-origin: top;
    animation: folio-ribbon-in 430ms var(--folio-ease) both;
  }
  html:not(.motion-off):not([data-motion="off"])
    .sc-model-toggle.sc-model-visible:not(:hover):not(:focus-visible):not(.is-tracking):not(.is-open)
    > .sc-book__body {
    animation-name: folio-book-settle;
    animation-duration: 1s;
    animation-iteration-count: 1;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  html:not(.motion-off):not([data-motion="off"]) :is(.ed-ray-art, .ed-shelf .journal-image) > img {
    transition: transform 520ms var(--folio-ease);
  }
  html:not(.motion-off):not([data-motion="off"])
    :is(.ed-rays, .ed-shelf .journal-card) > a:is(:hover, :focus-visible)
    :is(.ed-ray-art, .journal-image) > img {
    transform: scale(1.045);
  }
}
@keyframes folio-line-in {
  from { transform: scaleX(.28); opacity: .55; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes folio-ribbon-in {
  from { transform: scaleY(.45); }
  to { transform: scaleY(1); }
}
@keyframes folio-book-settle {
  0%, 100% {
    transform: perspective(var(--sc-p)) rotateX(var(--sc-rx)) rotateY(var(--sc-ry));
  }
  45% {
    transform: perspective(var(--sc-p)) translateY(-3px) rotateX(calc(var(--sc-rx) - 1deg)) rotateY(calc(var(--sc-ry) - 5deg));
  }
}

@media (max-width: 680px) {
  .ed-foreword::before {
    inset: .54rem .54rem 0;
    border-inline-end: 1px solid #d8ba7954;
    border-block-end: 0;
    border-radius: .32rem .32rem 0 0;
  }
  .ed-feature::before {
    inset: 0 .54rem .54rem;
    border-inline-start: 1px solid #f4d7a448;
    border-block-start: 0;
    border-radius: 0 0 .32rem .32rem;
  }
  .reading-discovery .discovery-moods > button {
    gap: .46rem;
    padding-inline: .7rem;
    font-size: .87rem;
  }
  .reading-discovery .discovery-bookmark {
    flex-basis: .49rem;
    block-size: .77rem;
  }
  .discovery-cover::before { inset: .4rem; }
  .catalogue-invitation .ed-rays > a {
    grid-template-columns: minmax(4.25rem, 23%) minmax(0, 1fr);
  }
  .catalogue-invitation .ed-rays .ed-ray-art { min-height: 4.1rem; }
  .reading-guide-toc:has(> a) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .reading-discovery .discovery-moods > button:last-of-type {
    grid-column: 1 / -1;
  }
  .reading-discovery.is-ready .discovery-card {
    grid-template-columns: minmax(5.75rem, 34%) minmax(0, 1fr);
    min-height: 0;
  }
  .reading-discovery .discovery-card .discovery-cover {
    padding: 1rem .66rem;
  }
  .reading-discovery .discovery-card .discovery-cover > :is(img, .sc-book) {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .reading-discovery .discovery-card .discovery-copy {
    padding: 1.12rem .72rem;
  }
}
@media (forced-colors: active) {
  .reading-discovery .discovery-bookmark,
  .ed-journal-intro .ed-jump::before {
    background: ButtonText;
    forced-color-adjust: none;
  }
  .reading-discovery .discovery-moods > button[aria-pressed="true"],
  .book-detail-page :is(.book-page-nav, .sc-bar__links) > a[aria-current="location"] {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}
