/* Only the homepage publications block. No shared product or collection rules. */
.home-page .home-content .np-section{color:#102b3a;padding-bottom:44px}
.np-heading{position:relative;display:grid;grid-template-columns:1fr auto;gap:0 30px;margin:0 0 30px}
.np-eyebrow{grid-column:1/-1;display:flex;align-items:center;gap:18px;font:13px/1.5 Georgia,serif;text-transform:uppercase;letter-spacing:1.7px;color:#895f2b;margin:0 0 14px}
.np-eyebrow:after{content:"";height:1px;width:210px;background:#b69a7070}
.home-page .home-content .np-section h2#publications{font:normal clamp(44px,4.6vw,66px)/1.08 Georgia,serif;letter-spacing:-1.5px;margin:0 0 14px}
.np-intro{font:20px/1.45 Georgia,serif;color:#505657;margin:0;grid-column:1}
.np-all{grid-column:2;grid-row:2/4;align-self:end;justify-self:end;padding:12px 0;border-bottom:1px solid #a8834c;text-decoration:none;text-transform:uppercase;letter-spacing:1px;font:12px/1.4 Georgia,serif;color:#795324;min-height:44px}
.np-all span{margin-left:16px}
.np-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.np-book{min-width:0;position:relative;background:#f4eddf9c;border:1px solid #d9cbb780;box-shadow:0 3px 10px #342b2010}
.np-featured{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:26px;padding:76px 28px 34px;min-height:650px;background:radial-gradient(ellipse at 15% 25%,#fff9ee,transparent 70%),linear-gradient(145deg,#ddd0b9,#f7f0e5 55%,#e7d9c2);isolation:isolate}
.np-featured:before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/paper-grain.svg');opacity:.7}
.np-badge{position:absolute;left:28px;top:24px;background:#8b602a;color:#fff7e8;padding:9px 16px;text-transform:uppercase;font:12px/1.4 Georgia,serif;letter-spacing:1.4px;margin:0}
.np-cover{display:block;position:relative;min-width:0;text-decoration:none}
.np-cover img{display:block;width:100%;height:auto;border-radius:1px 3px 3px 1px;box-shadow:0 0 0 1px #2d1e0f24,0 2px 3px #23160a38,8px 14px 22px -8px #23160a73,20px 34px 50px -24px #23160a66;transition:box-shadow .3s ease,translate .3s ease}
/* 30/10/2026 : aspect de livre (charnière, coins de tranche, lumière venant de la gauche) ; image d'origine non modifiée. */
.np-cover::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:1px 3px 3px 1px;background:linear-gradient(90deg,#0000004d 0,#0000001a 1.4%,#ffffff42 2.4%,#fff0 4.6%,#00000012 6%,#0000 8.5%),linear-gradient(115deg,#ffffff1a 0,#fff0 45%,#0000000f 100%);transition:translate .3s ease}
.np-featured .np-cover{transform:perspective(1100px) rotateY(-5deg)}
.np-info{min-width:0}
.np-author{font:11px/1.5 Georgia,serif;text-transform:uppercase;letter-spacing:.9px;color:#805923;margin:0 0 14px}
.np-section .np-book h3{font:normal 32px/1.08 Georgia,serif;letter-spacing:-.5px;margin:0 0 10px;overflow-wrap:anywhere}
.np-book h3 a{text-decoration:none}
.np-subtitle{font:italic 17px/1.35 Georgia,serif;margin:0 0 16px}
.np-description{font:18px/1.4 Georgia,serif;margin:18px 0 22px}
.np-purchase{margin-top:22px}
.np-price{font:bold 18px/1.4 Georgia,serif;margin:0 0 14px}
.np-price:before{content:"";display:block;width:35px;height:1px;background:#a9834c;margin-bottom:16px}
.np-action{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;border:1px solid #b79a6c;padding:12px;text-decoration:none;font:12px/1.4 Georgia,serif}
.np-featured .np-action{color:#fff7e8;background:#143347;border-color:#143347;text-transform:uppercase;font-size:11px;letter-spacing:.4px}
.np-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.np-small{display:grid;grid-template-columns:.98fr 1fr;gap:16px;padding:20px 16px;align-items:center}
.np-section .np-small h3{font-size:20px;line-height:1.13;letter-spacing:-.3px}
.np-small .np-author{font-size:10px;margin-bottom:12px}
.np-small .np-subtitle{font-size:14px;margin-bottom:10px}
.np-small .np-price{font-size:17px}
.np-small .np-action{font-size:11px;padding:10px}
.np-section a:focus-visible{outline:3px solid #95672e;outline-offset:5px}
.np-section a:hover{text-decoration:underline}
.np-cover:hover img{translate:0 -3px;box-shadow:0 0 0 1px #2d1e0f24,0 3px 4px #23160a38,10px 20px 26px -8px #23160a80,24px 42px 56px -24px #23160a6b}.np-cover:hover::after{translate:0 -3px}
@media(max-width:1150px){.np-layout{grid-template-columns:1fr}.np-featured{min-height:470px;grid-template-columns:.8fr 1fr;padding:66px 40px 36px;gap:42px}.np-featured .np-cover{max-width:280px;justify-self:center}.np-grid{gap:20px}.np-small{padding:24px;grid-template-columns:120px 1fr}.np-section .np-small h3{font-size:23px}.np-heading{grid-template-columns:1fr}.np-all{grid-column:1;grid-row:auto;justify-self:start;margin-top:16px}}
@media(max-width:600px){.home-page .home-content .np-section{position:relative;padding-bottom:92px}.np-heading{margin-bottom:24px}.home-page .home-content .np-section h2#publications{font-size:43px}.np-eyebrow{font-size:10px;gap:12px}.np-eyebrow:after{width:60px}.np-intro{font-size:18px}.np-heading{position:static}.np-all{position:absolute;bottom:30px;left:0;margin:0}.np-featured{grid-template-columns:1fr;gap:26px;padding:72px 24px 28px;min-height:0}.np-featured .np-cover{width:78%;max-width:260px}.np-featured .np-info{width:100%}.np-section .np-featured h3{font-size:32px}.np-description{font-size:18px}.np-grid{grid-template-columns:1fr;gap:16px}.np-small{grid-template-columns:108px minmax(0,1fr);padding:20px 16px;gap:20px}.np-section .np-small h3{font-size:21px}.np-small .np-action{font-size:12px}.np-small .np-author{font-size:11px}.np-layout{gap:20px}}
@media(prefers-reduced-motion:reduce){.np-cover img,.np-cover::after{transition:none}.np-cover:hover img,.np-cover:hover::after{translate:none}}

/* The photographic scene belongs exclusively to the featured book.
   Enabled only when a separate, clean backdrop is supplied. */
.np-featured.np-has-decor{background:#efe6d6;overflow:hidden}
.np-featured .np-decor{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;pointer-events:none}
.np-featured.np-has-decor:before{background:linear-gradient(90deg,transparent 24%,rgba(247,240,226,.25) 38%,rgba(247,240,226,.94) 50%,#f7f0e2 100%);opacity:1}
.np-featured.np-has-decor .np-cover img{box-shadow:0 0 0 1px #2d1e0f2e,0 2px 4px #1a0f0640,12px 18px 26px -8px #1a0f0680,28px 44px 60px -26px #1a0f0673}
.np-grid .np-small{background:#f4eee3}
@media(min-width:601px) and (max-width:900px){.np-small{padding:20px;grid-template-columns:100px 1fr}.np-section .np-small h3{font-size:19px;letter-spacing:-.2px}}
@media(min-width:601px) and (max-width:700px){.np-small{grid-template-columns:90px 1fr}.np-section .np-small h3{font-size:17px}}
@media(max-width:420px){.np-small{grid-template-columns:84px minmax(0,1fr);gap:14px}.np-section .np-small h3{font-size:18px;letter-spacing:-.2px}.np-small .np-subtitle{font-size:13px}.np-small .np-action{white-space:nowrap;padding:9px 10px;gap:8px}}
@media(min-width:1151px){
 .np-featured.np-has-decor{grid-template-columns:1.15fr 1fr;gap:22px;padding-left:24px;padding-right:24px}
}
@media(max-width:600px){
 .np-featured.np-has-decor .np-decor{height:520px;object-position:center}
 .np-featured.np-has-decor:before{background:linear-gradient(180deg,transparent 200px,#f7f0e2 510px)}
}
@media(max-width:650px){.np-small .np-action{display:none}}

/* Pages de 4 livres (6 novembre 2026) : défilement sur ordinateur, première page seule en dessous de 1151 px. */
.np-shelf{min-width:0;display:flex;flex-direction:column;gap:14px}
.np-grid{display:block}
.np-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.np-page+.np-page{display:none}
.np-pager{display:flex;align-items:center;justify-content:flex-end;gap:14px;font:13px/1 Georgia,serif;color:#805923}
.np-pager[hidden]{display:none}
.np-pager button{width:44px;height:44px;padding:0;border:1px solid #b79a6c;background:#f4eee3;color:#143347;font:20px/1 Georgia,serif;cursor:pointer;transition:background .2s}
.np-pager button:hover:not(:disabled){background:#e9dcc6}
.np-pager button:disabled{opacity:.35;cursor:default}
.np-pager button:focus-visible,.np-grid:focus-visible{outline:3px solid #95672e;outline-offset:4px}
.np-count{min-width:44px;text-align:center;letter-spacing:1px}
@media(min-width:1151px){
 .np-grid{display:flex;flex:1;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#ad8748 #e9e1d0;padding-bottom:6px}
 .np-grid.np-paged{scrollbar-width:none;padding-bottom:0}
 .np-grid.np-paged::-webkit-scrollbar{display:none}
 .np-page,.np-page+.np-page{display:grid;flex:0 0 100%;grid-template-rows:repeat(2,minmax(0,1fr));scroll-snap-align:start}
}
@media(max-width:1150px){.np-page{gap:20px}}
@media(max-width:600px){.np-page{grid-template-columns:1fr;gap:16px}}
@media(prefers-reduced-motion:reduce){.np-pager button{transition:none}}

/* 14 novembre 2026 (décision d'Emmanuel) : couvertures des quatre cartes plus grandes en tablette et mobile.
   601-1150 px : carte verticale, couverture centrée au-dessus du texte ; 600 px et moins : couverture à gauche élargie.
   Livre « À la une » et grand écran (1151 px et plus) inchangés. */
@media(min-width:601px) and (max-width:1150px){
 .np-small,.np-grid .np-small{grid-template-columns:1fr;align-items:start;justify-items:center;text-align:center;padding:28px 20px 24px;gap:20px}
 .np-small .np-cover{width:min(190px,70%)}
 .np-small .np-info{width:100%}
 .np-small .np-price:before{margin:0 auto 14px}
 .np-section .np-small h3{font-size:21px;letter-spacing:-.2px}
}
@media(max-width:600px){.np-small{grid-template-columns:140px minmax(0,1fr);gap:18px}}
@media(max-width:420px){.np-small{grid-template-columns:128px minmax(0,1fr);gap:14px;padding:18px 14px}.np-section .np-small h3{font-size:18px}}
