
/* base.css - socle commun a toutes les pages (refonte librairie 2026-09-30).
   Fond blanc, header marchand (recherche, rayons), boutons, cartes livre, pied de page.
   Les noms --cream / --white / --text-* / --terracotta sont conserves : la couche
   mobile (templates/mobile_ux.html) s'en sert. */
:root {
  --white: #FFFFFF;
  --paper: #F6F2EA;
  --cream: #F6F2EA;
  --cream-dark: #E8E1D4;
  --line: #E6E1D8;
  --text-dark: #1C1B19;
  --text-mid: #4B4843;
  --text-light: #7C776E;
  --terracotta: #A94A31;
  --terracotta-dark: #8C3B26;
  --ink: #22313A;
  --ok: #2F6B45;
  --radius: 6px;
  --wrap: 1240px;
  --serif: 'Cardo', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;
  --collection-color: #3A6B8C;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; background: var(--white); color: var(--text-dark); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 700; line-height: 1.2; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- Bandeau de reassurance ---------- */
.topbar { background: var(--ink); color: #F2EEE6; font-size: 13px; }
.topbar ul { list-style: none; max-width: var(--wrap); margin: 0 auto; padding: 7px 24px; display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #D98E6F; flex: 0 0 auto; }

/* ---------- Header / navigation ---------- */
nav.site-nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-main { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
nav .logo { font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: .3px; color: var(--text-dark); text-decoration: none; white-space: nowrap; flex: 0 0 auto; }
nav .logo span { color: var(--terracotta); }
.nav-search { flex: 1 1 auto; max-width: 620px; display: flex; border: 1.5px solid var(--text-dark); border-radius: 999px; overflow: hidden; background: var(--white); }
.nav-search input { flex: 1 1 auto; min-width: 0; border: 0; padding: 10px 18px; font: inherit; font-size: 15px; background: transparent; color: var(--text-dark); }
.nav-search input:focus { outline: none; }
.nav-search:focus-within { box-shadow: 0 0 0 3px rgba(169,74,49,.18); }
.nav-search button { flex: 0 0 auto; border: 0; background: var(--text-dark); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; }
.nav-search button svg { width: 18px; height: 18px; }
.nav-cta { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--text-dark); padding: 9px 14px; border-radius: var(--radius); }
.nav-cta:hover { background: var(--paper); }
.nav-cta svg { width: 20px; height: 20px; }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; line-height: 1; padding: 4px 6px; cursor: pointer; color: var(--text-dark); }
.nav-menu { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a { display: block; padding: 10px 12px 12px; font-size: 15px; font-weight: 600; color: var(--text-mid); text-decoration: none; border-bottom: 2px solid transparent; }
.nav-links a:first-child { padding-left: 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-dark); border-bottom-color: var(--terracotta); }
/* Selecteur de langue : menu deroulant <details>, noms natifs, pas de drapeaux (chantier 5 langues, 2026-10-25) */
.lang-switch { position: relative; margin: 0; }
.lang-switch summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-light); padding: 4px 22px 4px 8px; border: 1px solid transparent; border-radius: 4px; position: relative; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--text-dark); background: var(--paper); border-color: var(--line, #ddd); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; min-width: 160px; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--line, #ddd); border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.lang-switch li { margin: 0; }
.lang-switch a { display: block; font-size: 14px; color: var(--text-mid); text-decoration: none; padding: 7px 14px; }
.lang-switch a:hover { color: var(--text-dark); background: var(--paper); }
.lang-switch a.active { color: var(--terracotta); font-weight: 600; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px 0; font-size: 13.5px; color: var(--text-light); }
.breadcrumb a { color: var(--text-mid); text-decoration: none; }
.breadcrumb a:hover { color: var(--terracotta); text-decoration: underline; }
.breadcrumb .sep { margin: 0 7px; color: #B7B1A6; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius); font: inherit; font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-dark { background: var(--text-dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: var(--white); color: var(--text-dark); border-color: var(--text-dark); }
.btn-outline:hover { background: var(--text-dark); color: #fff; }
.link-arrow { font-weight: 600; color: var(--terracotta); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Titres de section ---------- */
.shelf { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 0; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.shelf-head h2 { font-size: 28px; }
.shelf-head p { color: var(--text-light); font-size: 15px; margin-top: 4px; }

/* ---------- Carte livre (accueil, fiche : meme collection) ---------- */
.book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.book-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.book-card .bc-cover { aspect-ratio: 2 / 3; background: var(--paper); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 3px; }
.book-card .bc-cover img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.14); transition: transform .2s; }
.book-card:hover .bc-cover img { transform: translateY(-3px); }
.book-card .bc-coll { margin-top: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.book-card .bc-title { font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.25; margin-top: 4px; }
.book-card:hover .bc-title { color: var(--terracotta); }
.book-card .bc-author { font-size: 14px; color: var(--text-mid); margin-top: 3px; }
.book-card .bc-price { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--text-dark); }
.book-card .bc-price small { font-weight: 400; color: var(--text-light); font-size: 13px; }

/* ---------- Pied de page ---------- */
footer.site-footer { margin-top: 88px; background: var(--text-dark); color: #CFC9BE; font-size: 15px; }
.footer-grid { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff; text-decoration: none; }
.footer-brand .logo span { color: #D98E6F; }
.footer-brand p { margin-top: 12px; line-height: 1.55; max-width: 34ch; }
.footer-brand .mail { display: inline-block; margin-top: 14px; color: #fff; }
footer.site-footer h2 { font-family: var(--sans); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 600; }
footer.site-footer ul { list-style: none; display: grid; gap: 8px; }
footer.site-footer ul a { color: #CFC9BE; text-decoration: none; }
footer.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #A39D92; }
.footer-langs { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-langs a { color: #CFC9BE; text-decoration: none; }
.footer-langs a:hover, .footer-langs a.active { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .nav-cta span { display: none; }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .topbar li:nth-child(n+2) { display: none; }
  .nav-main { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px 12px; }
  nav .logo { font-size: 20px; }
  .nav-burger { display: block; order: 2; }
  .nav-cta { display: none; }
  .nav-search { order: 3; flex: 1 1 100%; max-width: none; }
  .nav-search input { font-size: 16px; padding: 9px 14px; }
  .nav-menu { padding: 0; }
  .breadcrumb { padding: 14px 16px 0; }
  .wrap, .shelf { padding-left: 16px; padding-right: 16px; }
  .shelf { padding-top: 40px; }
  .shelf-head h2 { font-size: 23px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 28px; }
  .footer-bottom-inner { padding: 16px; }
}

/* Panier (2026-10-01) */
.nav-cart { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius); color: var(--text-dark); text-decoration: none; margin-left: 4px; }
.nav-cart:hover { background: var(--paper); }
/* acces rapide a la FAQ, a cote du panier (Erik, 2026-11-06) */
.nav-faq { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius); color: var(--text-dark); text-decoration: none; margin-left: 4px; }
.nav-faq:hover { background: var(--paper); }
.nav-faq svg { width: 23px; height: 23px; }
.nav-cart svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #a64b2a; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count[hidden] { display: none; }
.cart-modal { position: fixed; inset: 0; background: rgba(20,20,20,.45); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.cm-box { background: #fff; border-radius: 10px; padding: 22px; max-width: 440px; width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.cm-title { font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.cm-book { color: var(--text-mid); margin: 0 0 18px; line-height: 1.4; }
.cm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cm-actions .btn { flex: 1 1 160px; text-align: center; }
.cart-page { max-width: 900px; margin: 0 auto; padding: 0 24px 64px; }
.cart-page .breadcrumb { padding-left: 0; padding-right: 0; }  /* marge portee par .cart-page (2026-10-12) */
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: auto; border-radius: 3px; }
.cl-title { font-weight: 700; color: var(--text-dark); text-decoration: none; }
.cl-sub { font-size: 14px; color: var(--text-light); margin-top: 2px; }
.cl-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; }
.cl-ctrl select { padding: 4px 6px; border: 1px solid var(--line); border-radius: 5px; font: inherit; }
.cl-remove { background: none; border: 0; color: #a64b2a; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.cl-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-line.cl-out { opacity: .5; }
.cart-box { margin-top: 22px; border: 1px solid var(--line); border-radius: 8px; padding: 18px; max-width: 420px; margin-left: auto; }
.cart-box .od-select { margin-bottom: 14px; }
.cart-note { background: var(--paper); border-radius: 6px; padding: 10px 12px; font-size: 14px; line-height: 1.45; margin: 14px 0; }
.cart-thanks { background: #eef6ee; border: 1px solid #9c9; border-radius: 8px; padding: 14px 16px; margin: 10px 0 20px; }
.cart-thanks strong { display: block; font-size: 18px; margin-bottom: 4px; }
@media (max-width: 600px) { .cart-page { padding: 0 16px 48px; } .cart-line { grid-template-columns: 52px 1fr; } .cart-line img { width: 52px; } .cl-price { grid-column: 2; } .cart-box { max-width: none; } }

/* pages legales (2026-10-01) */
.legal-page { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2rem; }
.legal .legal-date { color: var(--text-light); font-size: .9rem; }
.legal code { font-size: .85em; background: rgba(0,0,0,.05); padding: 1px 4px; border-radius: 3px; }
.footer-legal { margin: 0; }
.footer-legal a { color: inherit; }
.cart-terms { font-size: 12.5px; color: var(--text-light); margin: 10px 0 0; }
.cart-waiver { display: block; }
.cart-waiver[hidden] { display: none; }

/* surlignage dans l'accroche de l'accueil (2026-10-01) */
.hero-lede .hl { color: var(--terracotta); font-weight: 700; }

/* A4 : vignettes catalogue/accueil, montant EUR en petit sous le prix converti */
.px .fx-main { display: inline; }
.px .fx-eur { display: inline; margin-left: 5px; font-size: .8em; font-weight: 400; color: var(--text-light); }
/* Titre du catalogue sans offre (2026-10-06) */

/* piliers SEO (2026-10-07) : bloc Explorer du pied de page et de l'accueil */
.footer-explore { border-top: 1px solid rgba(255,255,255,.12); }
.footer-explore-inner { max-width: var(--wrap); margin: 0 auto; padding: 24px 24px 10px; }
footer.site-footer .footer-explore h2 { margin-bottom: 10px; }
.footer-explore p { margin: 0 0 6px; line-height: 1.9; font-size: 14px; }
.footer-explore .fe-label { color: #A39D92; margin-right: 10px; }
.footer-explore a { color: #CFC9BE; text-decoration: none; white-space: nowrap; display: inline-block; }
.footer-explore .fe-sep { color: #77716A; margin: 0 9px; }
.footer-explore .fe-more { display: inline; }
.footer-explore .fe-more summary { display: inline; cursor: pointer; list-style: none; color: #A39D92; }
.footer-explore .fe-more[open] summary { display: none; }
.footer-explore .fe-more summary::-webkit-details-marker { display: none; }
.footer-explore .fe-more summary::after { content: " +"; }
.footer-explore .fe-count { color: #77716A; }
.footer-explore a:hover { color: #fff; text-decoration: underline; }
section.shelf.hub-explore { padding-top: 32px; }
.hub-explore .shelf-head p { color: var(--text-mid); }
.hub-explore .he-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.hub-explore h3 { font-size: 13px; font-family: var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px; }
.hub-explore ul { list-style: none; display: grid; gap: 6px; }
.hub-explore li a { text-decoration: none; font-size: 16px; }
.hub-explore li a:hover { color: var(--terracotta); text-decoration: underline; }
.hub-explore .he-more summary { cursor: pointer; list-style: none; margin-top: 6px; font-size: 16px; color: var(--text-light); }
.hub-explore .he-more summary::-webkit-details-marker { display: none; }
.hub-explore .he-more summary::after { content: " +"; }
.hub-explore .he-more summary:hover { color: var(--terracotta); }
.hub-explore .he-more[open] summary { display: none; }
.hub-explore .he-more ul { margin-top: 6px; }
/* Lien Kindle secondaire sous l'EPUB direct (2026-10-10) */
.offer-alt{margin:-4px 0 10px;font-size:.88rem;text-align:right}
.offer-alt a{color:var(--muted,#6b6157);text-decoration:underline}
/* ligne FAQ sous l'achat (fiche, panier ; 2026-11-06) */
.buy-faq { margin: 14px 0 0; font-size: .9rem; line-height: 1.45; color: var(--text-light); }
.buy-faq a { color: inherit; text-decoration: underline; }

/* home.css - accueil librairie (refonte 2026-09-30). Charge apres base.css. */
.home-hero { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 24px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--terracotta); }
.home-hero h1 { font-size: 46px; margin: 12px 0 16px; }
.hero-lede { font-family: var(--serif); font-size: 20px; line-height: 1.6; color: var(--text-mid); max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats { margin-top: 18px; font-size: 14.5px; color: var(--text-light); }
.hero-covers { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 360px; padding: 28px 12px 12px; background: var(--paper); border-radius: 14px; }
.hero-covers a { flex: 0 0 31%; margin: 0 -3%; transition: transform .2s; }
.hero-covers a:nth-child(1) { transform: rotate(-5deg) translateY(8px); z-index: 1; }
.hero-covers a:nth-child(2) { z-index: 3; transform: translateY(-10px); flex-basis: 36%; }
.hero-covers a:nth-child(3) { transform: rotate(5deg) translateY(8px); z-index: 2; }
.hero-covers a:hover { transform: translateY(-16px); z-index: 4; }
.hero-covers img { width: 100%; height: auto; box-shadow: 0 14px 34px rgba(0,0,0,.25); border-radius: 2px; }

/* Collections */
.coll-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.coll-tile { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; min-width: 0; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 8px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.coll-tile:hover { box-shadow: 0 6px 18px rgba(0,0,0,.07); border-color: var(--c); }
.coll-tile img { grid-row: 1 / 3; width: 64px; height: 64px; object-fit: contain; }
.ct-name { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.ct-region { grid-column: 2; font-size: 13.5px; color: var(--text-light); line-height: 1.35; }
.ct-count { grid-column: 3; grid-row: 1 / 3; font-size: 13px; font-weight: 600; color: var(--c); white-space: nowrap; }
.coll-tile.empty { opacity: .55; }

/* Comment acheter */
.buy-band { background: var(--paper); border-radius: 14px; padding: 32px 36px; }
.buy-band h2 { font-size: 26px; margin-bottom: 20px; }
.buy-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.buy-cols h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.buy-cols p { font-size: 15px; color: var(--text-mid); }

/* Auteurs d'epoque (bloc home_authors.py) */
.home-authors section { padding: 0; }
.home-authors .section-label { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--terracotta); }
.home-authors .section-title { font-family: var(--serif); font-size: 28px; font-weight: 700; margin: 4px 0 6px; }
.home-authors .section-text { color: var(--text-light); font-size: 15px; max-width: 75ch; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.home-authors .authors-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px; }
.home-authors .author-card { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: inherit; }
.home-authors .avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 30px; color: var(--text-light); }
.home-authors .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.home-authors .author-card h3 { font-size: 15.5px; margin-top: 10px; }
.home-authors .author-card:hover h3 { color: var(--terracotta); }
.home-authors .role { font-size: 13px; color: var(--text-light); }
.home-authors .ha-count { font-size: 12.5px; color: var(--text-mid); }
.home-authors .catalogue-link { display: inline-block; font-weight: 600; color: var(--terracotta); text-decoration: none; }
.home-authors .catalogue-link:hover { text-decoration: underline; }
.home-authors .ha-more { margin-top: 22px; text-align: right; }

/* Qui sommes-nous */
.about-teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.about-teaser h2 { font-size: 28px; margin-bottom: 10px; }
.about-teaser p { font-family: var(--serif); font-size: 18px; line-height: 1.65; color: var(--text-mid); margin-bottom: 20px; }
.team-faces { display: flex; justify-content: center; }
.team-faces img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); margin-left: -16px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.team-faces img:first-child, .team-faces > picture:first-child img { margin-left: 0; }

@media (max-width: 1100px) { .home-authors .authors-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .home-hero h1 { font-size: 36px; }
  .hero-covers { max-width: 560px; width: 100%; margin: 0 auto; min-height: 0; }
  .coll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-hero { padding: 24px 16px 8px; }
  .home-hero h1 { font-size: 29px; }
  .hero-lede { font-size: 17.5px; }
  .hero-covers { min-height: 0; padding: 22px 8px 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .coll-grid { grid-template-columns: 1fr; }
  .coll-tile { grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 12px; padding: 12px 14px; }
  .coll-tile img { width: 48px; height: 48px; }
  .ct-name { font-size: 17px; }
  .ct-count { white-space: normal; text-align: right; max-width: 72px; }
  .buy-band { padding: 24px 20px; }
  .buy-cols { grid-template-columns: 1fr; gap: 16px; }
  .home-authors .authors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-teaser { padding: 24px 20px; }
  .team-faces img { width: 72px; height: 72px; }
}
