/* L’achat du livre et la découverte du premier chapitre. */
.hero .hero-copy { min-width: 0; }
.hero .hc-label {
  display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem;
  border: 1px solid #d8ac73; border-radius: 2rem; background: #ffebca; color: #783016;
  font: 650 .76rem/1.5 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .07em;
}
.hero a.hc-label { text-decoration: none; }
.hero a.hc-label:hover { border-color: #945322; text-decoration: underline; text-underline-offset: 3px; }
.hc-label svg { width: 20px; height: 20px; flex: none; }
.hero .hero-copy h1 { margin: 16px 0 0; line-height: 1.02; }
.hc-byline { color: #514d46; font-size: .84rem; margin: .65rem 0 1.1rem; }
.hc-intro { color: var(--navy); font-size: clamp(1.02rem,1.4vw,1.2rem); line-height: 1.58; max-width: 43ch; margin: 0; }
.hc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1.4rem; }
.hc-download {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  max-width: 100%; min-height: 51px; padding: .8rem 1.35rem;
  background: #b63811; color: white; border-radius: 99px;
  font-weight: 800; font-size: .99rem; line-height: 1.35; text-decoration: none; text-align: center;
}
.hc-download svg { width: 20px; height: 20px; flex: none; }
.hc-download:hover { background: #882a0c; }
.hc-read { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: var(--navy); font-size: .92rem; font-weight: 750; text-underline-offset: 4px; }
.hc-read:hover,.hc-suite a:hover,.guide-contents > summary:hover { color: #8c310f; }
.hc-meta { color: #5c534a; font: .73rem/1.6 'IBM Plex Mono',monospace; margin: .65rem 0 0; }
.hc-excerpt { border-block: 1px solid #e6d6bb; }
.hc-excerpt-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(30px,6vw,90px); }
.hc-excerpt-copy h2 { color: var(--navy); font-size: clamp(2.1rem,3.7vw,3.6rem); line-height: 1.07; max-width: 17ch; margin: .65rem 0 1.25rem; }
.hc-chapter-no { margin: 1.45rem 0 0; font: 650 .78rem/1.5 'IBM Plex Mono',monospace; text-transform: uppercase; letter-spacing: .08em; color: #8b3517; }
.hc-chapter-no span { color: #b99c77; margin: 0 .35em; }
.hc-excerpt-copy > p:not([class]) { max-width: 44ch; font-size: 1rem; line-height: 1.68; margin: 0; color: #49443e; }
.hc-sample { margin: 0; padding: clamp(14px,2.1vw,28px); background: #f8e7cc; border: 1px solid #d6bf9c; border-radius: 6px; }
.hc-sample figcaption { display: flex; justify-content: space-between; margin-bottom: 15px; color: #4b3e32; font: 600 .75rem/1.4 'IBM Plex Mono',monospace; text-transform: uppercase; letter-spacing: .065em; }
.hc-spread { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(10px,1.25vw,18px); }
.hc-spread a { display: block; min-width: 0; color: var(--navy); font-weight: 700; text-decoration: none; font-size: .78rem; }
.hc-spread a:hover > span { text-decoration: underline; }
.hc-spread img { display: block; width: 100%; height: auto; border: 1px solid #d5c7b3; border-radius: 1px; box-shadow: 0 3px 6px #36271e1b; }
.hc-spread a > span { display: flex; align-items: center; justify-content: space-between; padding: 8px 1px 0; gap: 4px; }
.hc-external { width: 14px; height: 14px; flex: none; }
.guide-contents { margin: 32px 0 0; }
.guide-contents > summary { cursor: pointer; color: var(--navy); display: inline-flex; gap: .8rem; align-items: center; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.guide-contents > summary::-webkit-details-marker { display: none; }
.guide-contents[open] > summary span { transform: rotate(180deg); }
.guide-contents .contents-paper { max-width: 620px; margin: 12px 0; transform: none; }
.hero .hc-label:focus-visible, :is(.hc-actions,.hc-infos-extrait,.hc-spread,.hc-suite,.guide-contents) :focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.hc-edition { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .75rem; color: #575047; font-size: .82rem; margin: .85rem 0 0; }
.hc-edition strong { color: var(--navy); font-size: 1.2rem; }
.hc-offres { gap: .65rem; margin-top: .85rem; }
.hc-acheter, .hc-offres .hc-download { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; gap: .58rem; border-radius: 99px; padding: .74rem 1.15rem; font-weight: 800; font-size: .93rem; line-height: 1.35; text-decoration: none; text-align: center; }
.hc-acheter { background: #ad350f; border: 2px solid #ad350f; color: #fff; }
.hc-acheter:hover { background: #872708; border-color: #872708; }
.hc-acheter .hc-external { width: 17px; height: 17px; }
.hc-offres .hc-download { border: 1.5px solid #8c8275; color: var(--navy); background: #fff9ed; }
.hc-offres .hc-download:hover { background: #faebd5; border-color: var(--navy); }
.hc-offres .hc-download svg { width: 18px; height: 18px; }
.hc-infos-extrait { display: flex; align-items: center; flex-wrap: wrap; column-gap: .75rem; margin-top: .3rem; }
.hc-infos-extrait .hc-meta { margin: 0; }
.hc-infos-extrait .hc-read { font-size: .78rem; }
.hc-suite { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .4rem; border-top: 1px solid #d7c7af; margin: 1.25rem 0 0; padding-top: .75rem; font-size: .87rem; color: #51463a; }
.hc-suite a { color: var(--navy); font-weight: 750; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: .25rem; min-height: 36px; }
@media (max-width: 760px) {
  .hc-excerpt-grid { grid-template-columns: 1fr; }
  .hc-sample { max-width: 530px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .hero .hero-copy h1 { font-size: clamp(46px,11vw,62px); line-height: 1.04; max-width: 15ch; }
  .hero .hero-copy h1 .l1,.hero .hero-copy h1 .l2,.hero .hero-copy h1 .l3 { display: inline; }
  .hero .hero-copy h1 .l1 { display: block; }
  .hero .hc-label { font-size: .69rem; }
  .hc-byline { margin: .6rem 0 .8rem; font-size: .79rem; }
  .hc-intro { max-width: 38ch; }
  .hc-actions { margin-top: 1.05rem; gap: .25rem 1rem; }
  .hc-meta { font-size: .67rem; }
}
@media (max-width: 510px) {
  .hc-actions { align-items: flex-start; flex-flow: column; }
  .hc-actions .hc-download { width: 100%; padding-inline: .8rem; }
  .hc-actions .hc-read { align-self: center; }
  .hc-offres { margin-top: .65rem; gap: .45rem; }
  .hc-offres .hc-acheter { width: 100%; }
  .hc-infos-extrait { flex-direction: column; align-items: center; margin-top: .4rem; }
  .hc-edition { margin-top: .6rem; }
  .hc-meta { text-align: center; margin-top: .15rem; }
}
@media (max-width: 390px) {
  .hero .hero-copy h1 { font-size: clamp(38px,10.5vw,42px); }
  .hc-spread a { font-size: .69rem; }
}
