/*
Theme Name: CurioVox Éditions
Theme URI: https://editionscuriovox.com/
Author: CurioVox SRL
Description: Thème officiel de la maison d’édition CurioVox, adapté du site CurioVox original.
Version: 1.8.5
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: curiovox
*/

:root {
  --ink: #102a3a;
  --ink-soft: #334854;
  --paper: #f4f1e9;
  --paper-deep: #e7e1d5;
  --white: #fffefa;
  --accent: #a84731;
  --accent-dark: #853421;
  --line: rgba(12, 34, 51, 0.16);
  --muted: #68757f;
  --shadow: 0 28px 70px rgba(8, 28, 42, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: Montserrat, Avenir, "Helvetica Neue", Arial, sans-serif;
}

/* Ajustements éditoriaux 1.4.1 */
.hero-availability {
  display: block;
  font-weight: 500;
}

.quick-search-intro {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.adult-gate-subtitle {
  max-width: 680px;
  margin: 28px auto 12px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

@media (max-width: 560px) {
  .nefanda-button {
    min-height: 54px;
    height: auto;
    padding-block: 12px;
    text-align: center;
    line-height: 1.35;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(198, 93, 66, 0.42);
  outline-offset: 3px;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announcement {
  min-height: 38px;
  padding: 8px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--ink);
  color: #f7eee0;
  font-size: 0.74rem;
  letter-spacing: 0.045em;
  text-align: center;
}

.announcement a {
  color: #ffd4c7;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 229, 0.94);
  backdrop-filter: blur(16px);
}

.wordmark {
  justify-self: start;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2vw, 1.78rem);
  font-weight: 900;
  letter-spacing: 0.11em;
}

.wordmark span {
  color: var(--accent);
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  font-size: 0.78rem;
  font-weight: 750;
}

.site-header nav a,
.header-search {
  transition: color 180ms ease;
}

.site-header nav a:hover,
.header-search:hover {
  color: var(--accent);
}

.header-search {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-contact {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 850;
  transition: background 180ms ease, color 180ms ease;
}

.header-contact:hover {
  background: var(--ink);
  color: white;
}

.hero {
  position: relative;
  min-height: 670px;
  padding: 78px 7vw 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, 0.94fr);
  align-items: center;
  gap: 7vw;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 54%;
  background:
    radial-gradient(circle at 62% 22%, rgba(198, 93, 66, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(12, 34, 51, 0.02), rgba(12, 34, 51, 0.09));
  border-left: 1px solid rgba(12, 34, 51, 0.08);
  z-index: 0;
}

.hero-copy,
.hero-feature {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.values-intro h2,
.newsletter-section h2,
.book-detail h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.25rem, 6.2vw, 6.25rem);
  line-height: 0.96;
}

.hero-intro {
  max-width: 630px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.46);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.hero-proof {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.hero-proof span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
}

.hero-feature {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(250px, 0.74fr) minmax(150px, 0.42fr);
  align-items: end;
  justify-content: center;
  gap: 25px;
}

.hero-book-glow {
  position: absolute;
  width: 390px;
  height: 390px;
  top: 42px;
  left: 42%;
  border-radius: 50%;
  background: rgba(198, 93, 66, 0.13);
  filter: blur(5px);
  transform: translateX(-50%);
}

.book-cover {
  position: relative;
  aspect-ratio: 5 / 8;
  width: 100%;
  overflow: hidden;
  box-shadow: 12px 20px 38px rgba(5, 24, 37, 0.22);
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.14);
}

.book-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover-placeholder {
  padding: 12% 10%;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, transparent 63%, color-mix(in srgb, var(--cover-accent) 18%, transparent)),
    var(--cover-bg);
  color: #fff7e9;
  text-align: center;
}

.book-cover-placeholder::before {
  content: "";
  position: absolute;
  inset: 4.6%;
  border: 1px solid color-mix(in srgb, var(--cover-accent) 72%, white);
  opacity: 0.76;
}

.hero-cover {
  z-index: 2;
  max-width: 320px;
  justify-self: end;
  transform: rotate(-2.2deg);
}

.feature-copy {
  z-index: 3;
  padding-bottom: 28px;
}

.feature-label {
  margin: 0 0 13px;
  color: var(--accent-dark);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.feature-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.07;
}

.feature-copy > p:not(.feature-label) {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 0.8rem;
}

.feature-copy a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.brand-section,
.catalog-section,
.values-section {
  padding: 90px 5vw;
}

.brand-section {
  background: var(--ink);
  color: #f7f0e5;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading h2,
.values-intro h2,
.newsletter-section h2 {
  font-size: clamp(2.45rem, 4.6vw, 4.7rem);
  line-height: 1;
}

.compact-heading .eyebrow {
  color: #e58c73;
}

.compact-heading h2 {
  max-width: 730px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 220ms ease;
}

.brand-card:last-child {
  border-right: 0;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--brand-accent);
  transition: height 220ms ease;
  opacity: 0.8;
}

.brand-card:hover {
  background: rgba(255, 255, 255, 0.045);
}

.brand-card:hover::before {
  height: 8px;
}

.brand-card > svg {
  position: absolute;
  top: 26px;
  right: 26px;
  font-size: 1.25rem;
  color: var(--brand-accent);
}

.brand-monogram {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--brand-accent);
  opacity: 0.8;
}

.brand-copy {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-copy small {
  color: var(--brand-accent);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.brand-copy > span {
  color: rgba(247, 240, 229, 0.64);
  font-size: 0.73rem;
  line-height: 1.55;
}

.brand-copy em {
  margin-top: 5px;
  color: var(--brand-accent);
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 850;
}

.catalog-section {
  background: var(--white);
}

.catalog-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.45fr);
  align-items: end;
  gap: 40px;
}

.catalog-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 250px 230px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-tools label {
  min-height: 56px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.catalog-tools label:last-child {
  border-right: 0;
}

.search-field {
  padding: 0 18px;
  gap: 12px;
}

.search-field svg {
  color: var(--accent);
  font-size: 1.1rem;
}

.catalog-tools input,
.catalog-tools select {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  font-size: 0.78rem;
}

.search-field input {
  padding-left: 0;
}

.brand-filters {
  margin: 20px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.brand-filters button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.brand-filters button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.results-line {
  min-height: 32px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
}

.results-line button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-size: inherit;
  font-weight: 850;
  cursor: pointer;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 26px;
}

.catalog-card {
  min-width: 0;
}

.card-cover-link {
  position: relative;
  display: block;
  padding: 14px 14px 20px;
  background: #eee7dc;
  overflow: hidden;
}

.card-cover-link::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: -60px;
  right: -55px;
  border-radius: 50%;
  background: rgba(198, 93, 66, 0.08);
}

.card-cover-link .book-cover {
  width: min(86%, 240px);
  margin: 0 auto;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.catalog-card:hover .card-cover-link .book-cover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: 14px 27px 45px rgba(5, 24, 37, 0.24);
}

.age-badge,
.choice-badge {
  position: absolute;
  z-index: 4;
  padding: 6px 8px;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.age-badge {
  top: 14px;
  right: 14px;
  background: #171717;
  color: white;
}

.choice-badge {
  bottom: 20px;
  left: 14px;
  background: var(--accent);
  color: white;
}

.catalog-card-body {
  padding-top: 17px;
}

.card-kicker {
  min-height: 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--accent-dark);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-kicker span:last-child {
  max-width: 50%;
  color: var(--muted);
  text-align: right;
}

.catalog-card h3 {
  min-height: 60px;
  margin: 4px 0 4px;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.12;
}

.card-author {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.card-summary {
  display: -webkit-box;
  min-height: 67px;
  margin: 13px 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-bottom {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-bottom strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.text-link {
  font-size: 0.66rem;
}

.empty-state {
  padding: 70px 20px;
  border: 1px solid var(--line);
  text-align: center;
}

.empty-state > span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 3rem;
}

.empty-state h3 {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.load-more {
  margin: 44px auto 0;
  border-color: var(--ink);
  display: flex;
}

.values-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 7vw;
  background: var(--paper-deep);
}

.values-intro h2 {
  max-width: 600px;
}

.values-grid {
  border-top: 1px solid var(--line);
}

.values-grid article {
  min-height: 140px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 42px 0.75fr 1fr;
  gap: 22px;
  align-items: start;
}

.values-grid article > span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1rem;
}

.values-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.newsletter-section {
  padding: 72px 8vw;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 7vw;
  align-items: center;
  background: var(--accent);
  color: white;
}

.newsletter-section .eyebrow {
  color: #ffe2d9;
}

.newsletter-section h2 {
  max-width: 620px;
}

.newsletter-section > div > p:last-child {
  margin: 18px 0 0;
  color: #ffe7df;
  font-size: 0.82rem;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-form label {
  display: block;
}

.newsletter-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  outline: 0;
}

.newsletter-form input::placeholder {
  color: #ffe7df;
}

.newsletter-form small {
  grid-column: 1 / -1;
  color: #ffe0d6;
  font-size: 0.58rem;
  line-height: 1.5;
}

.newsletter-form .newsletter-consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 17px 1fr;
  align-items: start;
  gap: 9px;
  color: #ffe0d6;
  font-size: 0.58rem;
  line-height: 1.5;
}

.newsletter-form .newsletter-consent input {
  width: 17px;
  min-height: 17px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #081b29;
}

.newsletter-consent a,
.contact-privacy-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-privacy-note {
  margin: -2px 0 4px;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.55;
}

.newsletter-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.newsletter-status {
  grid-column: 1 / -1;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
}

footer {
  padding: 58px 5vw 24px;
  background: #081b29;
  color: #e9e2d5;
}

.footer-top {
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: 0.45fr 1fr 0.6fr;
  align-items: start;
  gap: 40px;
}

.footer-wordmark {
  color: white;
}

.footer-top > p {
  max-width: 520px;
  margin: 3px 0 0;
  color: rgba(233, 226, 213, 0.62);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 24px;
  font-size: 0.68rem;
  font-weight: 800;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  color: rgba(233, 226, 213, 0.48);
  font-size: 0.6rem;
}

/* Book details */
.detail-shell {
  min-height: 100vh;
  background: var(--white);
}

.detail-header,
.admin-header {
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.book-detail {
  padding: 54px max(5vw, calc((100vw - 1240px) / 2)) 72px;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
}

.detail-cover-wrap {
  padding: 28px;
  background: var(--paper-deep);
}

.detail-cover-wrap .book-cover {
  max-width: 330px;
  margin: 0 auto;
}

.detail-copy {
  padding-top: 14px;
}

.detail-copy .eyebrow {
  margin-bottom: 16px;
}

.book-detail h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5vw, 4.9rem);
  line-height: 0.97;
}

.detail-subtitle {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
}

.detail-author {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.detail-summary {
  max-width: 750px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.85;
}

.book-meta {
  margin: 30px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: var(--muted);
  font-size: 0.7rem;
}

.book-meta strong {
  color: var(--ink);
}

.merchant-panel {
  padding: 24px;
  background: var(--paper);
}

.merchant-panel > strong {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.merchant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.merchant-links a {
  min-width: 120px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  transition: border-color 160ms ease, color 160ms ease;
}

.merchant-links a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.merchant-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.adult-notice {
  margin: 0 0 22px;
  padding: 13px 16px;
  border-left: 4px solid #7d3545;
  background: #f2e8eb;
  color: #5a2332;
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.55;
}

/* Admin */
.admin-shell {
  min-height: 100vh;
  background: #eef1f3;
}

.admin-header {
  background: var(--ink);
  color: white;
}

.admin-header .wordmark {
  color: white;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
}

.admin-user a {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.admin-main {
  width: min(1460px, 92vw);
  margin: 0 auto;
  padding: 42px 0 70px;
}

.admin-title-row {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.admin-title-row h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 400;
}

.admin-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-tabs {
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.admin-tabs button {
  padding: 11px 16px;
  border: 1px solid #d7dde1;
  background: white;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-tabs button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.admin-panel {
  padding: 24px;
  border: 1px solid #dce1e4;
  background: white;
}

.admin-panel h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-book-row {
  padding: 12px;
  border: 1px solid #e1e5e8;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 13px;
  align-items: center;
  background: #fff;
}

.admin-book-row .book-cover {
  width: 48px;
  box-shadow: none;
}

.admin-book-row .book-cover-placeholder {
  padding: 5px;
}

.admin-book-row h3 {
  margin: 0 0 4px;
  font-size: 0.8rem;
}

.admin-book-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.row-actions {
  display: flex;
  gap: 6px;
}

.row-actions button {
  padding: 7px 9px;
  border: 1px solid #d8dee2;
  background: #f7f8f9;
  font-size: 0.62rem;
  font-weight: 800;
  cursor: pointer;
}

.row-actions button.danger {
  color: #9d3030;
}

.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-form .full {
  grid-column: 1 / -1;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.63rem;
  font-weight: 850;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #cfd6db;
  background: white;
  color: var(--ink);
  outline: 0;
  font-size: 0.72rem;
  font-weight: 500;
}

.admin-form textarea {
  min-height: 104px;
  resize: vertical;
}

.check-field {
  min-height: 40px;
  display: flex !important;
  grid-auto-flow: column;
  align-items: center;
  justify-content: start;
  gap: 8px !important;
}

.check-field input {
  width: 16px;
  min-height: 16px;
}

.form-actions {
  grid-column: 1 / -1;
  padding-top: 7px;
  display: flex;
  gap: 8px;
}

.cover-upload {
  padding: 12px;
  border: 1px dashed #b8c1c7;
  background: #f6f8f9;
}

.status-message {
  margin: 0 0 16px;
  padding: 10px 13px;
  border-left: 4px solid #397b56;
  background: #eaf5ee;
  color: #285d3f;
  font-size: 0.7rem;
}

.status-message.error {
  border-color: #a84444;
  background: #f7eaea;
  color: #7d2c2c;
}

.admin-denied {
  width: min(620px, 90vw);
  margin: 12vh auto;
  padding: 48px;
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.admin-denied h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
}

.admin-denied p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 4vw;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 7vw, 5.4rem);
  }

  .hero-feature {
    grid-template-columns: minmax(210px, 0.78fr) minmax(120px, 0.4fr);
  }

  .brand-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-card:nth-child(2) {
    border-right: 0;
  }

  .brand-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .values-section {
    grid-template-columns: 1fr;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .announcement {
    font-size: 0.64rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 58px 6vw 68px;
    grid-template-columns: 1fr;
  }

  .hero::before {
    inset: 48% 0 0;
    border-left: 0;
    border-top: 1px solid rgba(12, 34, 51, 0.08);
  }

  .hero-feature {
    min-height: 430px;
    grid-template-columns: minmax(210px, 300px) minmax(130px, 190px);
    justify-content: start;
  }

  .hero-cover {
    width: 100%;
  }

  .catalog-heading,
  .newsletter-section,
  .footer-top,
  .book-detail {
    grid-template-columns: 1fr;
  }

  .catalog-tools {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-tools label:first-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .newsletter-section {
    padding: 60px 6vw;
  }

  .footer-links {
    justify-self: start;
  }

  .book-detail {
    padding: 48px 7vw;
  }

  .detail-cover-wrap .book-cover {
    width: min(270px, 76vw);
  }
}

@media (max-width: 560px) {
  .announcement span {
    max-width: 265px;
  }

  .announcement a {
    display: none;
  }

  .header-search span {
    display: none;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-feature {
    min-height: 400px;
    grid-template-columns: minmax(175px, 62vw) 1fr;
    gap: 15px;
  }

  .feature-copy {
    padding-bottom: 18px;
  }

  .feature-copy h2 {
    font-size: 1.35rem;
  }

  .brand-section,
  .catalog-section,
  .values-section {
    padding: 66px 5vw;
  }

  .brand-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .brand-card:last-child {
    border-bottom: 0;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .catalog-tools label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-tools label:last-child {
    border-bottom: 0;
  }

  .catalog-card h3,
  .card-summary {
    min-height: 0;
  }

  .values-grid article {
    grid-template-columns: 36px 1fr;
  }

  .values-grid article p {
    grid-column: 2;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form small {
    grid-column: 1;
  }

  .footer-bottom,
  .admin-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .admin-user span {
    display: none;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-form .full,
  .form-actions {
    grid-column: 1;
  }

  .admin-panel {
    padding: 16px;
  }

  .admin-book-row {
    grid-template-columns: 42px 1fr;
  }

  .row-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Conversion, discovery and public content */
.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
}

.mobile-menu-button span {
  width: 100%;
  height: 2px;
  margin: 4px 0;
  display: block;
  background: var(--ink);
}

.hero-search-shell {
  position: relative;
  max-width: 670px;
  min-height: 58px;
  margin-top: 30px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(8, 28, 42, 0.08);
}

.hero-manifesto {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  min-height: 500px;
  padding: 42px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.hero-manifesto > p {
  position: absolute;
  top: 38px;
  left: 42px;
  margin: 0;
  color: rgba(255,255,255,.42);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .2em;
}

.hero-manifesto > div {
  min-height: 72px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
}

.hero-manifesto span { color: #d58973; font-size: .62rem; font-weight: 900; }
.hero-manifesto strong { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 400; letter-spacing: -.02em; }

/* Product-first home screen */
.commerce-hero {
  min-height: 590px;
  padding: 48px 5vw 52px;
  display: grid;
  grid-template-columns: minmax(430px, .82fr) minmax(620px, 1.18fr);
  align-items: stretch;
  gap: clamp(34px, 5vw, 78px);
  background: var(--white);
}

.commerce-hero-copy {
  padding: 18px 0 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.commerce-hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 5.4vw, 5.7rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.05em;
}

.commerce-hero .hero-intro {
  max-width: 650px;
  margin-top: 23px;
  font-size: .94rem;
  line-height: 1.72;
}

.commerce-search {
  width: 100%;
  margin-top: 24px;
  box-shadow: 0 9px 25px rgba(8, 28, 42, .08);
}

.commerce-hero .hero-actions { margin-top: 18px; }

.commerce-proof {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.commerce-proof span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: .59rem;
  line-height: 1.35;
}

.commerce-proof strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.hero-product-panel {
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: white;
}

.hero-panel-heading {
  min-height: 52px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.hero-panel-heading > div { display: grid; gap: 5px; }
.hero-panel-heading span { color: #dc917c; font-size: .57rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-panel-heading strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 400; }
.hero-panel-heading small { padding: 6px 8px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.64); font-size: .54rem; white-space: nowrap; }

.hero-product-list {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-product-card {
  min-width: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  transition: transform 180ms ease, background 180ms ease;
}

.hero-product-card:hover { transform: translateY(-4px); background: var(--white); }
.hero-product-cover { min-height: 0; padding: 2px 8px 10px; }
.hero-product-cover .book-cover { width: min(122px, 100%); margin: 0 auto; box-shadow: 7px 11px 20px rgba(5,24,37,.22); }
.hero-product-copy { margin-top: auto; padding-top: 4px; }
.hero-product-copy > span { color: var(--accent-dark); font-size: .51rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.hero-product-copy h2 { min-height: 42px; margin: 7px 0 4px; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; line-height: 1.08; }
.hero-product-copy > p { margin: 0; color: var(--muted); font-size: .58rem; font-weight: 700; }
.hero-product-copy > div { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hero-product-copy > div strong { font-family: var(--serif); font-size: .9rem; font-weight: 400; }
.hero-product-copy > div em { display: inline-flex; align-items: center; gap: 3px; color: var(--accent-dark); font-size: .51rem; font-style: normal; font-weight: 850; }

.hero-panel-link {
  width: 100%;
  min-height: 42px;
  margin-top: 15px;
  border: 1px solid rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: white;
  font-size: .61rem;
  font-weight: 850;
  cursor: pointer;
}

.hero-search-shell > svg {
  margin-left: 18px;
  color: var(--accent);
  font-size: 1.2rem;
}

.hero-search-shell > input {
  min-width: 0;
  height: 56px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 0.84rem;
}

.hero-search-shell > button {
  align-self: stretch;
  padding: 0 22px;
  border: 0;
  background: var(--ink);
  color: white;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.search-suggestions {
  position: absolute;
  z-index: 60;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-suggestions a {
  min-height: 62px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.72rem;
}

.search-suggestions a > img { width: 34px; height: 52px; object-fit: cover; flex: 0 0 auto; border: 1px solid var(--line); }
.recent-searches { position: absolute; z-index: 34; top: calc(100% + 6px); left: 0; right: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 46px rgba(8, 28, 42, .14); }
.recent-searches strong { width: 100%; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.recent-searches button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 8px 11px; cursor: pointer; font-size: .72rem; }
.search-correction { margin: 0 0 24px; padding: 15px 18px; background: #fff8df; border-left: 4px solid #d5a028; font-size: .82rem; line-height: 1.55; }
.search-correction button { border: 0; padding: 0; background: transparent; color: var(--accent-dark); font-weight: 850; text-decoration: underline; cursor: pointer; }
[data-catalog-page][aria-busy="true"] [data-catalog-grid] { opacity: .48; pointer-events: none; }

.journal-empty { padding: 45px; background: var(--white); border: 1px solid var(--line); }
.journal-empty h2 { margin: 8px 0 12px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; }
.journal-empty p { max-width: 760px; color: var(--muted); line-height: 1.75; }
.journal-pagination { margin-top: 30px; }
.journal-pagination ul { display: flex; gap: 8px; justify-content: center; padding: 0; list-style: none; }
.journal-pagination a, .journal-pagination span { display: grid; place-items: center; min-width: 42px; min-height: 42px; border: 1px solid var(--line); background: var(--white); }
.journal-pagination .current { background: var(--ink); color: var(--white); }
.article-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 100px; }
.journal-article { width: min(790px, 100%); margin: 44px auto 0; }
.article-header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.article-header h1 { margin: 12px 0 18px; font-family: var(--serif); font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .98; font-weight: 400; }
.article-meta { color: var(--muted); font-size: .72rem; }
.article-lead { margin: 24px 0 0; font-family: var(--serif); color: var(--ink-soft); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.5; }
.article-hero-image { margin: 34px 0; }
.article-hero-image img { display: block; width: 100%; height: auto; }
.article-local-nav { position: sticky; top: 84px; z-index: 10; display: flex; align-items: center; gap: 7px; margin: 26px 0 38px; padding: 10px; overflow-x: auto; background: rgba(255,254,250,.96); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(8,28,42,.08); backdrop-filter: blur(10px); }
.article-local-nav strong { flex: 0 0 auto; padding: 7px 9px; color: var(--ink); font-size: .67rem; text-transform: uppercase; letter-spacing: .09em; }
.article-local-nav a { flex: 0 0 auto; padding: 8px 11px; color: var(--ink-soft); border: 1px solid transparent; font-size: .68rem; font-weight: 750; }
.article-local-nav a:hover, .article-local-nav a:focus-visible { color: var(--accent-dark); border-color: var(--line); background: var(--paper); }
.article-content { scroll-margin-top: 130px; font-family: var(--serif); font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.85; }
.article-content h2, .article-content h3 { margin: 2.2em 0 .7em; color: var(--ink); line-height: 1.14; }
.article-content a, .article-sources a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-content img { max-width: 100%; height: auto; }
.article-sources { margin-top: 54px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.article-sources h2 { margin-top: 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.article-sources li { margin: 10px 0; line-height: 1.55; }
.article-books, .article-suggestions, .article-universes { margin-top: 90px; scroll-margin-top: 130px; }
.article-books .section-heading p, .article-suggestions .section-heading p, .article-universes .section-heading p { max-width: 680px; color: var(--muted); line-height: 1.65; }
.article-books-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.article-books-count-1 { grid-template-columns: minmax(0, 280px); }
.article-books-count-2 { grid-template-columns: repeat(2, minmax(0, 280px)); }
.article-books-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-books-count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-promoted-book { border-top: 3px solid var(--accent); }
.article-suggestion-grid, .article-universe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); }
.article-suggestion-card { min-width: 0; border-right: 1px solid var(--line); }
.article-suggestion-card:last-child { border-right: 0; }
.article-suggestion-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep); }
.article-suggestion-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-suggestion-card:hover .article-suggestion-image img { transform: scale(1.025); }
.article-suggestion-card > div { display: flex; min-height: 260px; padding: 26px; flex-direction: column; }
.article-suggestion-meta { margin: 0; color: var(--accent-dark); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.article-suggestion-card h3 { margin: 20px 0 12px; font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 400; line-height: 1.1; }
.article-suggestion-card h3 a { color: var(--ink); }
.article-suggestion-card > div > p:not(.article-suggestion-meta) { margin: 0 0 24px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.article-suggestion-card .text-link { margin-top: auto; }
.article-universe-card { position: relative; display: flex; min-height: 280px; padding: 30px; flex-direction: column; color: var(--ink); border-right: 1px solid var(--line); }
.article-universe-card:last-child { border-right: 0; }
.article-universe-card::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--brand-accent); content: ""; transform: scaleY(.25); transform-origin: bottom; transition: transform .25s ease; }
.article-universe-card:hover::before { transform: scaleY(1); }
.article-universe-card small { color: var(--brand-accent); font-size: .64rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.article-universe-card strong { margin: 28px 0 12px; font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 400; }
.article-universe-card span { color: var(--muted); font-size: .78rem; line-height: 1.7; }
.article-universe-card em { margin-top: auto; padding-top: 28px; color: var(--brand-accent); font-size: .7rem; font-style: normal; font-weight: 850; }
.article-newsletter { margin-top: 80px; padding: 36px; display: flex; justify-content: space-between; gap: 30px; align-items: center; background: var(--ink); color: var(--white); }
.article-newsletter h2 { margin: 6px 0 10px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.article-newsletter p { margin: 0; color: rgba(255,255,255,.78); }
@media (max-width: 980px) { .article-books-count-4, .article-books-count-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .article-main { width: min(100% - 26px, 1180px); padding-top: 26px; } .article-local-nav { top: 68px; margin-inline: -4px; } .article-local-nav strong { display: none; } .article-books-count-3, .article-books-count-4, .article-books-count-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .article-suggestion-grid, .article-universe-grid { grid-template-columns: 1fr; } .article-suggestion-card, .article-universe-card { border-right: 0; border-bottom: 1px solid var(--line); } .article-suggestion-card:last-child, .article-universe-card:last-child { border-bottom: 0; } .article-newsletter { align-items: flex-start; flex-direction: column; } }
@media (max-width: 460px) { .article-books-grid, .article-books-count-1, .article-books-count-2, .article-books-count-3, .article-books-count-4 { grid-template-columns: 1fr; } }

.search-suggestions a:last-child { border-bottom: 0; }
.search-suggestions a:hover { background: var(--paper); }
.search-suggestions a > span:first-of-type { min-width: 0; display: grid; gap: 4px; }
.search-suggestions strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestions small { color: var(--muted); }
.search-suggestions > p { margin: 0; padding: 18px; color: var(--muted); font-size: 0.75rem; }

.trust-strip {
  padding: 20px 5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
}

.trust-strip > div {
  min-height: 54px;
  padding: 4px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.trust-strip > div:last-child { border-right: 0; }
.trust-strip strong { font-family: var(--serif); font-size: 0.95rem; font-weight: 400; }
.trust-strip span,
.trust-strip a { color: var(--muted); font-size: 0.61rem; line-height: 1.45; }
.trust-strip a { color: var(--accent-dark); font-weight: 800; }

.shelf-section,
.related-section {
  padding: 86px 5vw 94px;
  background: var(--paper);
}

.shelf-section:nth-of-type(even) { background: var(--white); }
.shelf-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.shelf-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 400; letter-spacing: -0.04em; }
.shelf-grid { max-width: 1500px; }
.button-as-link { border: 0; background: transparent; cursor: pointer; }

.promo-banner {
  padding: 60px 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: var(--accent);
  color: white;
}

.catalog-reset-state {
  padding: clamp(42px, 7vw, 82px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.catalog-reset-state h3 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.catalog-reset-state > p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 28px;
  color: var(--muted);
  line-height: 1.75;
}

.catalog-reset-state > div { display: flex; flex-wrap: wrap; gap: 10px; }

.promo-banner > div { max-width: 780px; }
.promo-banner .eyebrow { color: #ffe1d8; }
.promo-banner h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.promo-banner p:last-child { max-width: 650px; margin: 17px 0 0; color: #ffe6df; line-height: 1.7; }

.rating-line,
.detail-rating { color: var(--muted); font-size: 0.66rem; }
.rating-line { margin: 9px 0 -4px; }
.rating-line span,
.detail-rating span { color: #b87925; letter-spacing: 0.06em; }
.price-stack { display: flex; align-items: baseline; gap: 8px; }
.price-stack del { color: var(--muted); font-size: 0.65rem; }

.help-fab {
  position: fixed;
  z-index: 55;
  right: 22px;
  bottom: 22px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 35px rgba(8, 28, 42, 0.24);
  font-size: 0.7rem;
  font-weight: 850;
}

.help-fab::first-letter { color: #ffd2c6; font-family: var(--serif); font-size: 1.1rem; }

.newsletter-popover {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 84px;
  width: min(440px, calc(100vw - 32px));
  padding: 32px;
  background: var(--ink);
  color: white;
  box-shadow: 0 24px 80px rgba(5, 24, 37, 0.34);
}

.newsletter-popover .eyebrow { margin-bottom: 10px; color: #e58c73; }
.newsletter-popover h2 { margin: 0; font-family: var(--serif); font-size: 2.1rem; font-weight: 400; line-height: 1.05; }
.newsletter-popover > p:not(.eyebrow) { color: rgba(255,255,255,.68); font-size: 0.75rem; line-height: 1.6; }
.newsletter-popover .newsletter-form { grid-template-columns: 1fr; }
.newsletter-popover .newsletter-form small { grid-column: 1; }
.popup-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; color: white; font-size: 1.6rem; cursor: pointer; }

/* Public content pages */
.public-header nav { display: flex; gap: 28px; color: var(--ink-soft); font-size: 0.72rem; font-weight: 800; }
.simple-shell { min-height: 100vh; background: var(--white); }
.simple-main { width: min(1180px, 90vw); min-height: 60vh; margin: 0 auto; padding: 36px 0 90px; }
.breadcrumb { color: var(--muted); font-size: 0.65rem; line-height: 1.5; }
.breadcrumb a { color: var(--accent-dark); }
.simple-hero { max-width: 880px; padding: 62px 0; }
.simple-hero h1,
.legal-copy h1,
.not-found h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.1rem, 6vw, 6.2rem); font-weight: 400; line-height: .96; letter-spacing: -0.045em; }
.simple-hero > p:last-child { max-width: 720px; margin: 22px 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 6px; cursor: pointer; font-family: var(--serif); font-size: 1.25rem; }
.faq-list details p { max-width: 850px; margin: -4px 0 26px; color: var(--muted); line-height: 1.75; }
.simple-cta { margin-top: 70px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--paper); }
.simple-cta h2 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.simple-cta p { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
.contact-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.contact-note strong { font-family: var(--serif); font-weight: 400; }
.contact-note span { color: var(--muted); font-size: .72rem; }
.contact-form { margin-top: 60px; padding: 32px; display: grid; gap: 17px; background: var(--paper); }
.contact-form label { display: grid; gap: 7px; color: var(--ink-soft); font-size: .66rem; font-weight: 800; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); outline: 0; }
.contact-form textarea { resize: vertical; }
.form-status { margin: 0; color: var(--accent-dark); font-size: .72rem; font-weight: 800; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.journal-grid article { min-height: 310px; padding: 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.journal-grid article:last-child { border-right: 0; }
.journal-grid span { color: var(--accent-dark); font-size: .61rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.journal-grid h2 { margin: 35px 0 14px; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.08; }
.journal-grid p { color: var(--muted); font-size: .75rem; line-height: 1.7; }
.journal-grid a { margin-top: auto; color: var(--accent-dark); font-size: .68rem; font-weight: 850; }
.legal-copy { max-width: 860px; }
.legal-copy > .eyebrow { margin-top: 60px; }
.legal-copy h1 { margin-bottom: 42px; }
.legal-copy h2 { margin: 35px 0 10px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.legal-copy p { color: var(--ink-soft); line-height: 1.8; }
.legal-alert { padding: 18px 20px; border-left: 4px solid var(--accent); background: #fbede8; font-size: .78rem; }
.not-found { min-height: 65vh; padding: 13vh 5vw; text-align: center; }
.not-found > span { color: var(--accent); font-family: var(--serif); font-size: 1.2rem; }
.not-found h1 { max-width: 800px; margin: 15px auto; }
.not-found p { margin: 0 0 30px; color: var(--muted); }

/* Rich book pages */
.detail-breadcrumb { width: min(1240px, 90vw); margin: 0 auto; padding-top: 24px; display: flex; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-cover-column { position: sticky; top: 98px; }
.detail-trust { padding: 20px 4px; display: grid; gap: 4px; }
.detail-trust strong { margin-top: 9px; font-family: var(--serif); font-weight: 400; }
.detail-trust span { color: var(--muted); font-size: .65rem; }
.detail-rating { margin: -15px 0 25px; }
.product-promo { width: fit-content; margin: 0 0 18px; padding: 7px 10px; background: var(--accent); color: white; font-size: .63rem; font-weight: 900; text-transform: uppercase; }
.detail-price { margin: 24px 0 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.detail-price > strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.detail-price del { color: var(--muted); }
.detail-price span { flex-basis: 100%; color: var(--muted); font-size: .6rem; }
.merchant-heading { margin-bottom: 16px; display: grid; gap: 5px; }
.merchant-heading > strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.merchant-heading > span { color: var(--muted); font-size: .65rem; }
.merchant-links a { min-width: 140px; padding: 10px 15px; flex-direction: column; gap: 3px; }
.merchant-links a span { color: var(--muted); font-size: .56rem; }
.merchant-links a strong { font-size: .72rem; }
.merchant-empty strong { color: var(--ink); font-family: var(--serif); font-weight: 400; }
.merchant-empty p { margin: 6px 0 0; }
.detail-description,
.editorial-note { max-width: 760px; margin: 36px 0; }
.detail-description h2,
.editorial-note h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.detail-description p,
.editorial-note > p:last-child { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.85; white-space: pre-line; }
.editorial-note { padding: 28px; background: var(--paper); }
.purchase-steps {
  margin: 18px 0 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.purchase-steps > div { min-height: 76px; padding: 14px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 11px; }
.purchase-steps > div:last-child { border-right: 0; }
.purchase-steps > div > span { color: var(--accent); font-family: var(--serif); font-size: 1.15rem; }
.purchase-steps p { margin: 0; display: grid; gap: 3px; }
.purchase-steps strong { font-size: .67rem; }
.purchase-steps small { color: var(--muted); font-size: .55rem; line-height: 1.35; }
.reading-signals { max-width: 760px; margin: 36px 0; }
.reading-signals h2 { margin: 0 0 15px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.reading-signals > div { display: flex; flex-wrap: wrap; gap: 7px; }
.reading-signals span { padding: 8px 11px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); font-size: .62rem; font-weight: 750; }
.related-section { background: var(--paper-deep); }
.related-intro { max-width: 680px; margin: 14px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.7; }
.related-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.related-grid article .book-cover { width: min(210px, 90%); margin: 0 auto 20px; }
.related-grid article > a > span { color: var(--accent-dark); font-size: .58rem; font-weight: 900; text-transform: uppercase; }
.related-grid h3 { margin: 8px 0 5px; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; line-height: 1.15; }
.related-grid p { margin: 0 0 12px; color: var(--muted); font-size: .66rem; }
.related-grid strong { font-family: var(--serif); font-weight: 400; }
.sticky-buy { display: none; }

/* Access management */
.access-grid { grid-template-columns: minmax(330px, .65fr) 1.35fr; }
.admin-explainer { margin: -8px 0 22px; padding: 14px; background: #edf6f6; color: #315a60; font-size: .72rem; line-height: 1.6; }
.admin-account-row { padding: 14px 0; border-bottom: 1px solid #dde2e5; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.admin-account-row h3 { margin: 0; font-size: .78rem; }
.admin-account-row p { margin: 5px 0 0; color: var(--muted); font-size: .65rem; }
.owner-badge { margin-left: 8px; padding: 4px 6px; background: var(--ink); color: white; font-size: .52rem; text-transform: uppercase; }
.danger { color: #9b3128 !important; border-color: #d7aaa6 !important; }
.admin-filter { margin-bottom: 18px; }
.admin-more { margin-top: 15px; }
.admin-security-bar {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid #cbd9d3;
  display: grid;
  grid-template-columns: auto minmax(220px, .55fr) 1fr;
  align-items: center;
  gap: 14px;
  background: #f6fbf8;
}
.security-dot { width: 10px; height: 10px; border-radius: 50%; background: #2b8761; box-shadow: 0 0 0 5px rgba(43,135,97,.11); }
.admin-security-bar > div { display: grid; gap: 4px; }
.admin-security-bar strong { font-size: .74rem; }
.admin-security-bar small { color: var(--muted); font-size: .61rem; }
.admin-security-bar > p { margin: 0; color: #53636b; font-size: .65rem; line-height: 1.6; }
.message-list { display: grid; gap: 12px; }
.admin-message { padding: 20px; border: 1px solid #d8dfe3; background: white; }
.admin-message.unread { border-left: 4px solid var(--accent); }
.message-meta { display: flex; justify-content: space-between; gap: 20px; }
.message-meta > strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.message-meta > span { color: var(--muted); font-size: .62rem; }
.admin-message > p { color: var(--ink-soft); font-size: .75rem; line-height: 1.7; white-space: pre-line; }
.admin-message .row-actions { justify-content: flex-end; }
.admin-message .row-actions a { padding: 6px 9px; border: 1px solid #ced6da; color: var(--ink); font-size: .62rem; font-weight: 800; }

@media (max-width: 980px) {
  .commerce-hero { grid-template-columns: 1fr; }
  .commerce-hero-copy { padding-right: 7vw; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div:nth-child(2) { border-right: 0; }
  .trust-strip > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form { margin-top: 0; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-grid article { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .journal-grid article:last-child { border-bottom: 0; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .access-grid { grid-template-columns: 1fr; }
  .admin-security-bar { grid-template-columns: auto 1fr; }
  .admin-security-bar > p { grid-column: 2; }
}

@media (max-width: 820px) {
  .mobile-menu-button { display: block; justify-self: end; }
  .site-header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .site-header nav.open { position: absolute; top: 66px; left: 0; right: 0; padding: 18px 5vw; border-bottom: 1px solid var(--line); display: grid; gap: 0; background: var(--paper); box-shadow: 0 20px 30px rgba(8,28,42,.12); }
  .site-header nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-header nav.open a:last-child { border-bottom: 0; }
  .hero-search-shell { max-width: none; }
  .hero-manifesto { min-height: 420px; justify-self: start; }
  .commerce-hero { padding: 44px 6vw; gap: 32px; }
  .commerce-hero h1 { font-size: clamp(3.1rem, 10vw, 5rem); }
  .shelf-section,
  .related-section { padding: 64px 6vw; }
  .shelf-heading { align-items: flex-start; flex-direction: column; }
  .promo-banner { align-items: flex-start; flex-direction: column; }
  .public-header nav { gap: 16px; }
  .public-header nav a:nth-child(2) { display: none; }
  .detail-cover-column { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .header-search { font-size: 0; gap: 0; }
  .header-search svg { font-size: 1.05rem; }
  .hero-search-shell { grid-template-columns: auto 1fr; }
  .hero-search-shell > button { grid-column: 1 / -1; min-height: 48px; }
  .search-suggestions { top: 100%; }
  .commerce-hero { min-height: auto; padding: 38px 5vw 42px; }
  .commerce-hero-copy { padding: 0; }
  .commerce-hero h1 { font-size: 3.25rem; }
  .commerce-proof { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero-product-panel { margin: 0 -5vw; padding: 20px 5vw; }
  .hero-product-list { margin-right: -5vw; padding-right: 5vw; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero-product-list::-webkit-scrollbar { display: none; }
  .hero-product-card { width: 172px; flex: 0 0 172px; scroll-snap-align: start; }
  .hero-product-cover .book-cover { width: 112px; }
  .hero-panel-link { min-height: 46px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip > div:last-child { border-bottom: 0; }
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .shelf-grid .card-summary { display: none; }
  .shelf-grid .catalog-card h3 { font-size: 1.08rem; }
  .shelf-grid .card-kicker span:last-child { display: none; }
  .shelf-grid .card-bottom { align-items: flex-start; flex-direction: column; }
  .promo-banner { padding: 48px 6vw; }
  .simple-main { width: min(90vw, 680px); padding-top: 20px; }
  .simple-hero { padding: 45px 0; }
  .simple-cta { padding: 25px; align-items: flex-start; flex-direction: column; }
  .public-header nav a:nth-child(-n + 3) { display: none; }
  .public-header nav a:last-child { display: block; }
  .related-grid { gap: 24px 14px; }
  .related-grid h3 { font-size: 1rem; }
  .newsletter-popover { right: 16px; bottom: 76px; padding: 25px; }
  .help-fab span { display: none; }
  .help-fab { width: 46px; padding: 0; justify-content: center; }
  .detail-shell { padding-bottom: 78px; }
  .sticky-buy { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; min-height: 70px; padding: 9px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--white); box-shadow: 0 -8px 30px rgba(8,28,42,.14); }
  .sticky-buy > span { display: grid; }
  .sticky-buy > span strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
  .sticky-buy > span small { color: var(--muted); font-size: .55rem; }
  .sticky-buy .button { min-height: 44px; padding: 0 15px; }
  .message-meta { align-items: flex-start; flex-direction: column; }
  .purchase-steps { grid-template-columns: 1fr; }
  .purchase-steps > div { min-height: 58px; border-right: 0; border-bottom: 1px solid var(--line); }
  .purchase-steps > div:last-child { border-bottom: 0; }
  .admin-security-bar { grid-template-columns: auto 1fr; }
  .admin-security-bar > p { grid-column: 1 / -1; }
}

/* Vitrine éditoriale : un message, une image, une action */
.commerce-hero {
  min-height: 620px;
  padding: clamp(54px, 6vw, 92px) 5vw;
  grid-template-columns: minmax(420px, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  background: var(--white);
}

.commerce-hero-copy {
  max-width: 690px;
  padding: 0;
}

.commerce-hero h1 {
  max-width: 680px;
  font-size: clamp(3.7rem, 6vw, 6.3rem);
  line-height: 0.93;
}

.commerce-hero .hero-intro {
  max-width: 620px;
  margin-top: 26px;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.commerce-hero .hero-actions {
  margin-top: 30px;
}

.commerce-hero .hero-actions .button {
  min-height: 54px;
  padding-inline: 26px;
}

.hero-reassurance {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.55;
}

.hero-reassurance span {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: #e7f0e8;
  color: #27613d;
  font-size: 0.65rem;
}

.commerce-hero-visual {
  position: relative;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 75px rgba(8, 28, 42, 0.2);
}

.commerce-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 57%, rgba(5, 18, 29, 0.8));
  pointer-events: none;
}

.commerce-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  display: block;
  object-fit: cover;
}

.commerce-hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 26px;
  left: 28px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.35;
}

/* Fiche livre : décision d’abord, détails ensuite */
.detail-shell {
  background: #fffefb;
}

.book-detail {
  padding-top: 46px;
  padding-bottom: 64px;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: clamp(52px, 7vw, 104px);
}

.detail-cover-wrap {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid #e3ddd2;
  background: linear-gradient(145deg, #eee8dc, #f8f4ec);
  box-shadow: 0 24px 60px rgba(20, 34, 41, 0.08);
}

.detail-cover-wrap .book-cover {
  max-width: 350px;
  box-shadow: 0 18px 34px rgba(10, 25, 34, 0.18);
}

.detail-trust {
  margin-top: 24px;
  padding: 0 6px;
  display: grid;
  gap: 5px;
}

.detail-trust strong {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.detail-trust span {
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.55;
}

.product-kicker {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-kicker .eyebrow {
  margin: 0;
}

.product-kicker > span {
  padding: 6px 9px;
  background: #e9f0ed;
  color: #315c4c;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-detail h1 {
  max-width: 860px;
  font-size: clamp(3.3rem, 5.4vw, 5.45rem);
  line-height: 0.94;
}

.detail-subtitle {
  max-width: 800px;
  margin-top: 23px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.32;
}

.detail-author {
  margin: 13px 0 24px;
  font-size: 0.87rem;
}

.product-hook {
  max-width: 720px;
  margin: 0 0 27px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.9vw, 1.62rem);
  line-height: 1.5;
}

.detail-copy .detail-rating {
  margin: -14px 0 18px;
}

.catalog-search-wrap {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--line);
}

.catalog-search-wrap .search-field {
  height: 100%;
  border: 0;
}

.catalog-suggestions {
  top: calc(100% + 1px);
}

.product-decision {
  max-width: 850px;
  margin-top: 10px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid #ddd5c9;
  background: #f7f3eb;
}

.product-decision .detail-price {
  margin: 0;
}

.product-decision .detail-price > strong {
  font-size: 2.8rem;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.excerpt-link {
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
}

.merchant-choice-heading {
  margin: 25px 0 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.merchant-choice-heading strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.34rem;
  font-weight: 400;
}

.merchant-choice-heading span {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.5;
}

.merchant-links-conversion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.merchant-links-conversion a {
  min-width: 0;
  min-height: 72px;
  padding: 13px 15px;
  border: 1px solid #cfc5b6;
  justify-content: flex-start;
  gap: 14px;
  background: white;
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.merchant-links-conversion a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(19, 35, 44, 0.08);
}

.merchant-links-conversion img {
  width: 80px;
  max-height: 30px;
  object-fit: contain;
}

.merchant-links-conversion a > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.merchant-links-conversion small {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 700;
}

.merchant-links-conversion strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.merchant-links-conversion b {
  margin-left: auto;
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.merchant-empty-action {
  padding: 22px;
  border: 1px dashed #cbbfb0;
  background: white;
}

.merchant-empty-action strong {
  font-size: 1.25rem;
}

.merchant-empty-action p {
  max-width: 580px;
  margin: 7px 0 17px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.merchant-empty-action .button {
  min-height: 52px;
}

.product-benefits {
  margin-top: 20px;
  border-top: 1px solid #d8d0c4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.product-benefits > span {
  min-height: 75px;
  padding: 15px 14px 0 0;
  border-right: 1px solid #d8d0c4;
  display: grid;
  grid-template-columns: auto 1fr;
  flex-direction: column;
  align-content: center;
  gap: 3px 7px;
}

.product-benefits > span:not(:first-child) {
  padding-left: 16px;
}

.product-benefits > span:last-child {
  border-right: 0;
}

.product-benefits strong {
  font-size: 0.7rem;
}

.product-benefits small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.59rem;
  line-height: 1.45;
}

.product-benefits i {
  grid-row: 1 / 3;
  color: #4b745e;
  font-size: 0.72rem;
  font-style: normal;
}

.detail-copy .book-meta {
  max-width: 850px;
  margin: 22px 0 0;
  padding: 17px 0 0;
  border-bottom: 0;
  font-size: 0.74rem;
}

.product-content {
  padding: 76px max(5vw, calc((100vw - 1240px) / 2)) 92px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.product-story .detail-description,
.product-story .editorial-note {
  max-width: none;
  margin: 0;
}

.product-story .detail-description h2,
.product-story .editorial-note h2 {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  letter-spacing: -0.035em;
}

.product-story .detail-description p,
.product-story .editorial-note > p:last-child {
  font-size: 1.02rem;
  line-height: 1.9;
}

.product-story .editorial-note {
  padding: 34px;
  background: var(--white);
}

.product-discovery {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.product-discovery .purchase-steps,
.product-discovery .reading-signals {
  margin: 0;
}

.related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1160px;
}

.related-early {
  padding-top: 68px;
  padding-bottom: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f2eee6;
}

.related-early .section-heading h2 {
  max-width: 780px;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 0.98;
}

.related-grid article > a {
  height: 100%;
  padding: 20px;
  border: 1px solid #ded7cb;
  display: flex;
  flex-direction: column;
  background: #fffefb;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-grid article > a:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(15, 31, 40, 0.09);
}

.related-grid article .book-cover {
  width: min(190px, 90%);
}

.related-grid h3 {
  font-size: 1.35rem;
}

.related-card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.related-card-bottom strong {
  font-size: 1.15rem;
}

.related-card-bottom em {
  color: var(--accent-dark);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 850;
}

.field-help,
.cover-upload small {
  color: #6f7c84;
  font-size: 0.61rem;
  font-weight: 550;
  line-height: 1.45;
}

.admin-advanced {
  padding: 0;
  border: 1px solid #d7dde1;
}

.admin-advanced summary {
  padding: 13px 14px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 850;
  cursor: pointer;
}

.admin-advanced > label {
  padding: 0 14px 14px;
}

@media (max-width: 980px) {
  .commerce-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .commerce-hero-copy {
    max-width: 760px;
    padding: 12px 4vw 0 0;
  }

  .commerce-hero-visual,
  .commerce-hero-visual img {
    min-height: 460px;
  }

  .product-story,
  .product-discovery {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .product-story .editorial-note {
    max-width: 720px;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .header-actions {
    gap: 8px;
  }

  .header-contact {
    display: none;
  }

  .commerce-hero {
    padding: 52px 6vw 58px;
  }

  .commerce-hero h1 {
    font-size: clamp(3.45rem, 11vw, 5.2rem);
  }

  .book-detail {
    padding: 42px 7vw 64px;
  }

  .catalog-search-wrap {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-search-wrap .search-field {
    border-bottom: 0;
  }

  .product-content {
    padding: 62px 7vw 74px;
  }

  .detail-cover-column {
    max-width: 430px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .announcement {
    min-height: 32px;
    padding: 7px 4vw;
    font-size: 0.56rem;
  }

  .commerce-hero {
    padding: 42px 5vw 46px;
    gap: 34px;
  }

  .commerce-hero-copy {
    padding: 0;
  }

  .commerce-hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.4rem);
  }

  .commerce-hero .hero-intro {
    margin-top: 20px;
    line-height: 1.65;
  }

  .commerce-hero .hero-actions {
    margin-top: 24px;
  }

  .commerce-hero .hero-actions .button {
    width: 100%;
  }

  .hero-reassurance {
    align-items: flex-start;
    font-size: 0.6rem;
  }

  .commerce-hero-visual {
    margin-inline: -5vw;
  }

  .commerce-hero-visual,
  .commerce-hero-visual img {
    min-height: 360px;
  }

  .commerce-hero-visual figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .book-detail h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .detail-subtitle {
    font-size: 1.12rem;
  }

  .product-hook {
    font-size: 1.24rem;
  }

  .product-decision {
    margin-inline: -2vw;
    padding: 22px;
  }

  .product-price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .merchant-links-conversion {
    grid-template-columns: 1fr;
  }

  .merchant-links-conversion a {
    min-height: 68px;
  }

  .product-benefits {
    grid-template-columns: 1fr;
  }

  .product-benefits > span,
  .product-benefits > span:not(:first-child) {
    min-height: 66px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-benefits > span:last-child {
    border-bottom: 0;
  }

  .detail-copy .merchant-panel {
    padding: 21px;
  }

  .product-story .editorial-note {
    padding: 25px;
  }

  .product-discovery {
    margin-top: 42px;
  }

  .catalog-search-wrap {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-search-wrap .search-field {
    border-bottom: 0;
  }
}

/* Audit conversion : accueil plus court, produits visibles et catalogue séparé */
.commerce-hero {
  grid-template-columns: minmax(430px, 0.94fr) minmax(500px, 1.06fr);
  gap: clamp(38px, 6vw, 92px);
}

.commerce-hero h1 {
  font-size: clamp(3.45rem, 5.35vw, 5.65rem);
}

.hero-cover-showcase {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(12, 34, 51, 0.12);
  background:
    radial-gradient(circle at 50% 28%, rgba(190, 109, 81, 0.22), transparent 38%),
    linear-gradient(145deg, #e9e1d4, #d8cdbd);
  box-shadow: 0 30px 70px rgba(8, 28, 42, 0.15);
}

.hero-cover-showcase::before {
  content: "";
  position: absolute;
  inset: 12% 9%;
  border: 1px solid rgba(16, 42, 58, 0.1);
}

.hero-cover-tile {
  position: absolute;
  bottom: 48px;
  width: min(29%, 176px);
  transition: transform 220ms ease, filter 220ms ease;
}

.hero-cover-tile:hover {
  z-index: 8;
  filter: brightness(1.04);
}

.hero-cover-tile .book-cover {
  width: 100%;
  box-shadow: 14px 24px 42px rgba(5, 24, 37, 0.3);
}

.hero-cover-tile .age-badge {
  top: 8px;
  right: 8px;
}

.hero-cover-1 { left: 6%; z-index: 2; transform: rotate(-8deg); }
.hero-cover-2 { left: 27%; bottom: 66px; z-index: 4; transform: rotate(-2deg); }
.hero-cover-3 { left: 50%; bottom: 58px; z-index: 3; transform: rotate(4deg); }
.hero-cover-4 { right: 5%; z-index: 1; transform: rotate(9deg); }
.hero-cover-1:hover { transform: rotate(-8deg) translateY(-8px); }
.hero-cover-2:hover { transform: rotate(-2deg) translateY(-8px); }
.hero-cover-3:hover { transform: rotate(4deg) translateY(-8px); }
.hero-cover-4:hover { transform: rotate(9deg) translateY(-8px); }

.hero-empty-visual {
  min-height: 480px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  background: var(--ink);
  color: white;
}

.hero-empty-visual span {
  color: #d98972;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-empty-visual strong {
  max-width: 430px;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.05;
}

.quick-search-section {
  padding: 70px 5vw 76px;
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(500px, 1.25fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  background: var(--paper);
}

.quick-search-section h2,
.catalog-page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.quick-search-panel {
  min-width: 0;
}

.quick-search-form {
  position: relative;
  min-height: 62px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(8, 28, 42, 0.08);
}

.quick-search-form > svg {
  margin-left: 20px;
  color: var(--accent);
  font-size: 1.25rem;
}

.quick-search-form > input {
  min-width: 0;
  min-height: 60px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  font-size: 0.88rem;
}

.quick-search-form > button {
  align-self: stretch;
  padding: 0 24px;
  border: 0;
  background: var(--ink);
  color: white;
  font-size: 0.74rem;
  font-weight: 850;
  cursor: pointer;
}

.quick-suggestions {
  top: calc(100% + 6px);
}

.search-shortcuts {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-shortcuts a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 750;
  transition: border-color 160ms ease, color 160ms ease;
}

.search-shortcuts a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.home-selection {
  background: var(--white);
}

.catalog-card {
  height: 100%;
}

.catalog-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.catalog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-kicker {
  min-height: 39px;
  font-size: 0.69rem;
  letter-spacing: 0.045em;
}

.catalog-card h3 {
  min-height: 54px;
  font-size: clamp(1.25rem, 1.7vw, 1.52rem);
}

.card-author {
  font-size: 0.82rem;
}

.card-summary {
  min-height: 46px;
  margin: 14px 0 18px;
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
}

.card-bottom {
  margin-top: auto;
  align-items: stretch;
}

.card-cta {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--ink);
  color: white;
  font-size: 0.68rem;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease;
}

.catalog-card-link:hover .card-cta {
  background: var(--accent);
  border-color: var(--accent);
}

.brand-section {
  padding-block: 76px;
}

.brand-card {
  min-height: 390px;
  padding: 25px;
}

.brand-card-visual {
  width: 100%;
  min-height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card-visual .book-cover {
  width: 96px;
  box-shadow: 9px 16px 28px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease;
}

.brand-card:hover .brand-card-visual .book-cover {
  transform: translateY(-5px) rotate(-1deg);
}

.brand-card .brand-monogram {
  font-size: 4.2rem;
}

.brand-copy {
  width: 100%;
  margin-top: 20px;
}

.brand-copy small {
  font-size: 0.68rem;
}

.brand-copy strong {
  font-size: 1.55rem;
}

.brand-copy > span {
  color: rgba(247, 240, 229, 0.82);
  font-size: 0.82rem;
}

.brand-copy em {
  color: color-mix(in srgb, var(--brand-accent) 70%, white);
  font-size: 0.7rem;
}

.values-section {
  padding-block: 64px;
  gap: 6vw;
}

.values-intro h2 {
  font-size: clamp(2.35rem, 4vw, 3.9rem);
}

.values-grid article {
  min-height: 105px;
  padding: 20px 0;
}

.catalog-page-shell {
  min-height: 100vh;
  background: var(--white);
}

.catalog-page-main {
  width: min(1500px, 90vw);
  margin: 0 auto;
  padding: 28px 0 96px;
}

.catalog-page-main > .breadcrumb {
  display: flex;
  gap: 8px;
}

.catalog-page-hero {
  max-width: 930px;
  padding: 62px 0 58px;
}

.catalog-page-hero h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.catalog-page-hero > p:last-child {
  max-width: 720px;
  margin: 23px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.catalog-page-content .catalog-tools {
  max-width: 1100px;
}

.catalog-page-content .catalog-grid {
  margin-top: 4px;
}

.catalog-reset-state h2,
.empty-state h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
}

.footer-main {
  padding-bottom: 46px;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.55fr));
  gap: clamp(32px, 5vw, 72px);
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(233, 226, 213, 0.68);
  font-size: 0.78rem;
  line-height: 1.75;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  color: rgba(233, 226, 213, 0.7);
  font-size: 0.7rem;
}

.footer-column strong {
  margin-bottom: 4px;
  color: white;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.footer-column a:hover {
  color: white;
}

.footer-column span {
  line-height: 1.6;
}

.footer-cookie-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-cookie-button:hover {
  color: white;
}

.legal-copy > p .footer-cookie-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 850;
}

.legal-copy > p .footer-cookie-button:hover {
  background: var(--ink);
  color: white;
}

/* Consentement aux cookies */
.cookie-layer {
  position: fixed;
  z-index: 1000;
  inset: auto 0 0;
  padding: 18px;
  pointer-events: none;
}

.cookie-layer.is-customizing {
  inset: 0;
  display: grid;
  place-items: center;
}

.cookie-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 20, 29, 0.66);
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.cookie-panel {
  position: relative;
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(440px, 1fr);
  align-items: end;
  gap: 32px;
  background: #081b29;
  color: #f6f1e8;
  box-shadow: 0 24px 80px rgba(4, 13, 19, 0.32);
  pointer-events: auto;
}

.is-customizing .cookie-panel {
  width: min(760px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
}

.cookie-panel .eyebrow {
  margin: 0 0 8px;
  color: #f3a48f;
}

.cookie-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.cookie-panel-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 8px;
  color: rgba(246, 241, 232, 0.74);
  font-size: 0.75rem;
  line-height: 1.65;
}

.cookie-panel-copy > a {
  color: #f6f1e8;
  font-size: 0.67rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.is-customizing .cookie-actions {
  grid-template-columns: 1fr 1fr;
}

.cookie-button {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  font-size: 0.67rem;
  font-weight: 850;
  cursor: pointer;
}

.cookie-button-primary,
.cookie-button-secondary {
  border-color: #f6f1e8;
  background: #f6f1e8;
  color: #081b29;
}

.cookie-button-plain {
  background: transparent;
  color: #f6f1e8;
}

.cookie-button:hover {
  transform: translateY(-1px);
}

.cookie-options {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-option {
  min-height: 82px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #f6f1e8;
}

.cookie-option > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cookie-option strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.cookie-option small {
  color: rgba(246, 241, 232, 0.64);
  font-size: 0.66rem;
  line-height: 1.5;
}

.cookie-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch {
  position: relative;
  width: 48px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  flex: 0 0 auto;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.cookie-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: white;
  transition: transform 180ms ease;
}

.cookie-option input:checked + .cookie-switch {
  border-color: #f08d73;
  background: #c95138;
}

.cookie-option input:checked + .cookie-switch::after {
  transform: translateX(21px);
}

.cookie-option input:focus-visible + .cookie-switch {
  outline: 3px solid #f3a48f;
  outline-offset: 3px;
}

.cookie-required-label,
.cookie-inactive-label {
  flex: 0 0 auto;
  color: #f3a48f;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-inactive-label {
  color: rgba(246, 241, 232, 0.48);
}

.legal-updated {
  margin: -28px 0 38px;
  color: var(--muted) !important;
  font-size: 0.65rem;
  font-weight: 750;
}

.legal-identity {
  margin: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.legal-identity > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.legal-identity dt {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-identity dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.5;
}

.legal-table-wrap {
  margin: 20px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.55;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th:last-child,
.legal-table td:last-child {
  border-right: 0;
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  background: var(--paper);
  color: var(--ink);
  font-size: 0.59rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-table code {
  font-size: 0.64rem;
  overflow-wrap: anywhere;
}

.contact-company {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.55;
}

.contact-company strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

@media (max-width: 800px) {
  .cookie-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-button-plain {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .cookie-layer {
    padding: 10px;
  }

  .cookie-panel,
  .is-customizing .cookie-panel {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 22px 18px;
  }

  .cookie-actions,
  .is-customizing .cookie-actions {
    grid-template-columns: 1fr;
  }

  .cookie-button-plain {
    grid-column: 1;
  }

  .cookie-option {
    align-items: flex-start;
  }

  .legal-identity > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 1120px) {
  .commerce-hero {
    grid-template-columns: minmax(380px, 0.9fr) minmax(440px, 1.1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .brand-card {
    min-height: 360px;
  }
}

@media (max-width: 980px) {
  .commerce-hero {
    grid-template-columns: 1fr;
  }

  .hero-cover-showcase {
    min-height: 480px;
  }

  .hero-cover-tile {
    width: min(27%, 172px);
  }

  .quick-search-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 820px) {
  .quick-search-section {
    padding: 56px 6vw;
  }

  .brand-card {
    min-height: 340px;
  }

  .catalog-page-main {
    width: 88vw;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .public-header nav a:not(:last-child) {
    display: none;
  }

  .commerce-hero h1 {
    font-size: clamp(2.55rem, 12vw, 2.85rem);
    line-height: 0.98;
  }

  .commerce-hero .hero-intro {
    font-size: 0.91rem;
  }

  .hero-cover-showcase {
    min-height: 390px;
    margin-inline: -5vw;
  }

  .hero-cover-tile {
    bottom: 38px;
    width: 31%;
  }

  .hero-cover-1 { left: 2%; }
  .hero-cover-2 { left: 24%; bottom: 50px; }
  .hero-cover-3 { left: 47%; bottom: 44px; }
  .hero-cover-4 { right: 1%; }

  .trust-strip > div {
    min-height: 66px;
  }

  .quick-search-section {
    padding: 48px 5vw 52px;
  }

  .quick-search-section h2 {
    font-size: 2.45rem;
  }

  .quick-search-form {
    grid-template-columns: auto 1fr;
  }

  .quick-search-form > button {
    grid-column: 1 / -1;
    min-height: 48px;
  }

  .quick-suggestions {
    top: 100%;
  }

  .search-shortcuts {
    margin-right: -5vw;
    padding-right: 5vw;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .search-shortcuts a {
    flex: 0 0 auto;
  }

  .home-selection .catalog-grid,
  .catalog-page-content .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 14px;
  }

  .catalog-card h3 {
    min-height: 44px;
    font-size: 1.05rem;
  }

  .card-kicker {
    min-height: 31px;
    font-size: 0.58rem;
  }

  .card-author {
    font-size: 0.72rem;
  }

  .card-summary {
    display: none;
  }

  .card-bottom {
    flex-direction: column;
  }

  .card-cta {
    width: 100%;
    min-height: 40px;
    padding-inline: 8px;
    font-size: 0.62rem;
  }

  .brand-card {
    min-height: 330px;
  }

  .brand-card-visual {
    min-height: 145px;
  }

  .values-section {
    padding-block: 50px;
  }

  .values-grid article {
    grid-template-columns: 30px 1fr;
    gap: 10px 14px;
  }

  .values-grid article p {
    grid-column: 2;
  }

  .catalog-page-main {
    width: 90vw;
    padding-bottom: 72px;
  }

  .catalog-page-hero {
    padding: 44px 0 42px;
  }

  .catalog-page-hero h1 {
    font-size: 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Header de marque, partenaires et couvertures temporaires */
.site-header,
.detail-header.public-header {
  min-height: 82px;
  padding-inline: max(5vw, calc((100vw - 1500px) / 2));
  border-top: 3px solid var(--accent);
  border-bottom-color: color-mix(in srgb, var(--ink) 14%, transparent);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  box-shadow: 0 10px 36px rgba(8, 28, 42, 0.045);
  backdrop-filter: blur(18px);
}

.site-header {
  grid-template-columns: minmax(210px, 1fr) auto minmax(280px, 1fr);
  gap: clamp(22px, 4vw, 64px);
}

.detail-header.public-header {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(280px, 1fr);
  gap: clamp(22px, 4vw, 64px);
}

.brand-lockup {
  min-width: max-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

.brand-lockup .wordmark {
  font-size: clamp(1.32rem, 1.8vw, 1.66rem);
  line-height: 1;
}

.brand-lockup small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.145em;
  line-height: 1;
  text-transform: uppercase;
}

.site-header nav,
.public-header nav {
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
}

.site-header nav a,
.public-header nav a {
  position: relative;
  padding-block: 29px;
  color: var(--ink-soft);
  font-size: 0.71rem;
  font-weight: 800;
}

.site-header nav a::after,
.public-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.public-header nav a:hover::after,
.site-header nav a.is-current::after,
.public-header nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header nav a.nav-nefanda,
.public-header nav a.nav-nefanda {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7d3545;
}

.site-header nav a.nav-nefanda::before,
.public-header nav a.nav-nefanda::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9d4a60;
  box-shadow: 0 0 0 4px rgba(157, 74, 96, 0.1);
}

.header-actions {
  gap: 10px;
}

.header-search {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-search:hover {
  border-color: var(--accent);
  background: var(--white);
}

.header-search svg {
  font-size: 1rem;
}

.header-catalog-cta {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ink);
  color: white;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition: background 180ms ease, transform 180ms ease;
}

.header-catalog-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.header-catalog-cta svg {
  font-size: 0.92rem;
}

.platform-marquee {
  min-height: 108px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(245px, 0.72fr) minmax(0, 3fr);
  overflow: hidden;
  background: var(--white);
}

.platform-marquee-label {
  position: relative;
  z-index: 2;
  padding: 22px max(28px, 5vw);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--paper);
}

.platform-marquee-label span {
  color: var(--accent-dark);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.platform-marquee-label strong {
  max-width: 260px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}

.platform-marquee-window {
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.platform-marquee-track {
  width: max-content;
  display: flex;
  animation: platform-marquee-scroll 18s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.platform-marquee-group {
  padding-right: clamp(42px, 5vw, 84px);
  display: flex;
  align-items: center;
  gap: clamp(42px, 5vw, 84px);
  flex: 0 0 auto;
}

.platform-lockup {
  width: clamp(155px, 15vw, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--ink);
  white-space: nowrap;
}

.platform-lockup img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: opacity(0.82);
}

.platform-apple img {
  width: 34px;
  height: 34px;
}

.platform-fnac img {
  width: 38px;
  height: 38px;
}

.platform-lockup span {
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

@keyframes platform-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.book-cover-placeholder {
  padding: 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 24%, color-mix(in srgb, var(--cover-accent) 72%, white) 0 9%, transparent 9.5%),
    radial-gradient(circle at 26% 78%, color-mix(in srgb, var(--cover-accent) 32%, transparent) 0 22%, transparent 22.5%),
    linear-gradient(145deg, transparent 58%, color-mix(in srgb, var(--cover-accent) 18%, transparent)),
    var(--cover-bg);
}

.book-cover-placeholder::before {
  inset: 6.5%;
  border-color: color-mix(in srgb, var(--cover-accent) 68%, white);
  opacity: 0.56;
}

.cover-abstract-ring {
  position: absolute;
  top: 19%;
  left: 15%;
  width: 70%;
  aspect-ratio: 1;
  border: clamp(1px, 0.5vw, 3px) solid color-mix(in srgb, var(--cover-accent) 76%, white);
  border-radius: 50%;
  opacity: 0.78;
}

.cover-abstract-ring::before,
.cover-abstract-ring::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--cover-accent) 56%, white);
  border-radius: 50%;
}

.cover-abstract-ring::before { inset: 15%; }
.cover-abstract-ring::after { inset: 31%; background: color-mix(in srgb, var(--cover-accent) 28%, transparent); }

.cover-abstract-frame {
  position: absolute;
  inset: 9%;
  border-top: 1px solid color-mix(in srgb, var(--cover-accent) 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--cover-accent) 40%, transparent);
  transform: skewY(-8deg);
}

.cover-abstract-mark {
  position: absolute;
  right: 13%;
  bottom: 10%;
  left: 13%;
  display: grid;
  grid-template-columns: 1fr 1.7fr 0.7fr;
  align-items: end;
  gap: 7%;
}

.cover-abstract-mark i {
  display: block;
  height: 3px;
  background: color-mix(in srgb, var(--cover-accent) 78%, white);
}

.cover-abstract-mark i:nth-child(2) { height: 7px; }
.cover-abstract-mark i:nth-child(3) { height: 2px; opacity: 0.72; }

@media (max-width: 1040px) {
  .site-header,
  .detail-header.public-header {
    grid-template-columns: minmax(205px, 1fr) auto minmax(230px, 1fr);
    gap: 22px;
  }

  .site-header nav,
  .public-header nav {
    gap: 18px;
  }

  .header-search > span:last-child {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 76px;
    grid-template-columns: 1fr auto auto;
    gap: 9px;
  }

  .detail-header.public-header {
    min-height: 76px;
    grid-template-columns: 1fr auto auto;
  }

  .site-header nav,
  .public-header nav {
    display: none;
  }

  .site-header nav.open {
    top: 73px;
    padding: 12px 6vw 16px;
    background: var(--paper);
  }

  .public-header nav.open {
    position: absolute;
    z-index: 80;
    top: 73px;
    right: 0;
    left: 0;
    padding: 12px 6vw 16px;
    display: grid;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(8,28,42,.12);
  }

  .public-header nav.open a {
    padding: 15px 0;
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .public-header nav.open a:nth-child(n) { display: block; }

  .public-header nav.open a:last-child { border-bottom: 0; }

  .site-header nav.open a {
    padding: 15px 0;
  }

  .site-header nav.open a::after {
    display: none;
  }

  .platform-marquee {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header,
  .detail-header.public-header {
    min-height: 70px;
    padding-inline: 4vw;
  }

  .brand-lockup small {
    display: none;
  }

  .brand-lockup .wordmark {
    font-size: 1.2rem;
  }

  .mobile-menu-button,
  .header-search {
    width: 40px;
    min-height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .header-catalog-cta {
    min-height: 40px;
    padding-inline: 12px;
  }

  .header-catalog-cta svg,
  .header-catalog-cta > span:last-child {
    display: none;
  }

  .public-header .public-search-link {
    display: none;
  }

  .site-header nav.open {
    top: 67px;
  }

  .public-header nav.open {
    top: 67px;
  }

  .platform-marquee {
    min-height: 150px;
    grid-template-columns: 1fr;
  }

  .platform-marquee-label {
    min-height: 62px;
    padding: 13px 5vw;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
    text-align: center;
  }

  .platform-marquee-label strong {
    font-size: 0.9rem;
  }

  .platform-marquee-window {
    min-height: 86px;
  }

  .platform-lockup {
    width: 150px;
  }

  .platform-lockup span {
    font-size: 0.73rem;
  }
}

/* CurioVox 1.5.0 — accueil orienté découverte */
.home-v15 {
  --home-content-max: 1600px;
  overflow: hidden;
  background: #fbf9f4;
}

.home-v15 > section:not(.catalogue-scale, .platform-marquee, .promo-banner, .newsletter-section) {
  width: min(var(--home-content-max), calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.home-discovery-hero {
  min-height: 690px;
  padding: clamp(54px, 7vw, 100px) 0 48px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(620px, 1.12fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
}

.home-discovery-copy {
  max-width: 690px;
}

.home-discovery-copy h1 {
  max-width: 670px;
  margin: 15px 0 24px;
  font-size: clamp(3.15rem, 5.2vw, 5.85rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.home-discovery-copy .hero-intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.25vw, 1.23rem);
  line-height: 1.7;
}

.hero-search-block {
  position: relative;
  z-index: 8;
  margin-top: 32px;
}

.hero-search-block > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.hero-search-form {
  max-width: 660px;
  min-height: 62px;
  background: #fff;
  border: 1px solid #cfc7bb;
  box-shadow: 0 14px 34px rgba(15, 46, 57, .08);
}

.hero-search-form input {
  min-width: 0;
  font-size: 1rem;
}

.hero-search-form button {
  min-height: 46px;
  padding: 0 22px;
  background: var(--ink);
  color: #fff;
  border: 0;
  font-weight: 800;
}

.hero-mood-links {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-mood-links a {
  padding: 8px 12px;
  color: var(--ink);
  background: #f2eee6;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: .76rem;
  font-weight: 750;
}

.hero-mood-links a:hover,
.hero-mood-links a:focus-visible {
  color: var(--accent-dark);
  background: #fff;
  border-color: var(--accent);
}

.home-brand-carousel {
  --carousel-accent: #3f8290;
  position: relative;
  min-width: 0;
  padding: 0 6px;
}

.home-brand-carousel.tone-clarior { --carousel-accent: #b18834; }
.home-brand-carousel.tone-nefanda { --carousel-accent: #91425a; }

.home-brand-slides {
  position: relative;
  min-height: 530px;
}

.home-brand-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .45s ease, transform .45s ease;
}

.home-brand-slide[hidden] { display: none; }

.home-brand-slide.is-active {
  opacity: 1;
  transform: none;
}

.home-book-fan {
  position: absolute;
  inset: 0 0 72px;
  display: grid;
  place-items: center;
}

.home-fan-book {
  position: absolute;
  width: clamp(230px, 18.6vw, 300px);
  transform-origin: 50% 92%;
  transition: transform .35s ease, filter .35s ease;
}

.home-fan-book .book-cover {
  box-shadow: 0 28px 45px rgba(13, 34, 41, .25), 0 3px 8px rgba(13, 34, 41, .16);
}

.home-fan-1 {
  z-index: 1;
  transform: translate(-45%, 5%) rotate(-12deg);
}

.home-fan-2 {
  z-index: 3;
  transform: translateY(-4%);
}

.home-fan-3 {
  z-index: 2;
  transform: translate(45%, 5%) rotate(12deg);
}

.home-fan-book:hover,
.home-fan-book:focus-visible {
  z-index: 5;
  filter: brightness(1.03);
}

.home-fan-1:hover,
.home-fan-1:focus-visible { transform: translate(-48%, 0) rotate(-9deg) scale(1.03); }
.home-fan-2:hover,
.home-fan-2:focus-visible { transform: translateY(-8%) scale(1.03); }
.home-fan-3:hover,
.home-fan-3:focus-visible { transform: translate(48%, 0) rotate(9deg) scale(1.03); }

.home-brand-slide-copy {
  position: relative;
  z-index: 7;
  max-width: 510px;
  margin: 0 auto;
  padding: 14px 20px 0;
  text-align: center;
}

.home-brand-slide-copy > span {
  color: var(--carousel-accent);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.home-brand-slide-copy p {
  margin: 6px 0 7px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.home-brand-slide-copy a {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
}

.home-carousel-controls {
  position: relative;
  z-index: 9;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.home-carousel-controls button {
  position: relative;
  min-height: 40px;
  padding: 0 11px;
  background: transparent;
  color: #6d787b;
  border: 0;
  cursor: pointer;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.home-carousel-controls button[aria-selected="true"] { color: var(--ink); }

.home-carousel-controls button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 3px;
  left: 9px;
  height: 2px;
  background: var(--carousel-accent);
}

.home-carousel-controls .home-carousel-toggle {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #c9c1b7;
  border-radius: 50%;
  font-size: .66rem;
  letter-spacing: 0;
}

.home-carousel-controls .home-carousel-toggle::after { display: none; }

.catalogue-scale {
  padding: 27px max(32px, calc((100vw - 1600px) / 2));
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 75px);
  background: var(--ink);
  color: #fff;
}

.catalogue-scale > div {
  display: flex;
  align-items: baseline;
  gap: 13px;
  white-space: nowrap;
}

.catalogue-scale strong {
  font-family: var(--sans);
  font-size: clamp(3.1rem, 5vw, 5rem);
  font-weight: 500;
  line-height: .9;
}

.catalogue-scale span {
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalogue-scale p {
  max-width: 660px;
  margin: 0;
  color: #d4dfe1;
  line-height: 1.6;
}

.catalogue-scale > a {
  padding-bottom: 5px;
  color: #fff;
  border-bottom: 1px solid #769ba2;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.platform-marquee-compact {
  min-height: 112px;
  padding-right: max(32px, calc((100vw - 1600px) / 2));
  padding-left: max(32px, calc((100vw - 1600px) / 2));
}

.platform-marquee-compact .platform-marquee-label { min-width: 300px; }
.platform-marquee-compact .platform-lockup { min-width: 170px; padding: 14px 24px; }
.platform-marquee-compact .platform-lockup img { width: auto; max-width: 128px; max-height: 34px; }

.home-selection-v15,
.reading-paths,
.brands-v15,
.home-journal-v15,
.values-v15 {
  padding-top: clamp(76px, 8vw, 125px);
  padding-bottom: clamp(76px, 8vw, 125px);
}

.home-selection-v15 .shelf-heading > div > p:last-child,
.home-journal-v15 .section-heading > div > p:last-child {
  max-width: 650px;
  margin: 15px 0 0;
  color: var(--muted);
}

.home-six-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(15px, 1.6vw, 26px);
}

.home-six-grid .catalog-card h3 { font-size: clamp(1.08rem, 1.25vw, 1.34rem); }

.reading-paths-heading,
.brands-v15-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .65fr);
  align-items: end;
  gap: 60px;
}

.reading-paths-heading h2,
.brands-v15-heading h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: .96;
}

.reading-paths-heading > p,
.brands-v15-heading > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.65;
}

.reading-path-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.reading-path-card {
  min-height: 315px;
  padding: 36px;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 30px;
  background: #f7f3eb;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reading-path-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.reading-path-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.reading-path-card nav {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reading-path-card nav a {
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(27, 54, 62, .14);
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 750;
}

.reading-path-card nav a:hover,
.reading-path-card nav a:focus-visible { border-color: var(--accent); color: var(--accent-dark); }

.reading-path-art {
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #f8f2e7;
  background: #173e4a;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 14px 30px rgba(16,42,58,.12);
}

.reading-path-art::before,
.reading-path-art::after,
.reading-path-art i {
  display: none;
}

.reading-path-art svg { width: 72%; height: 72%; fill: none; stroke: currentColor; stroke-width: 3; }
.reading-path-art svg .icon-accent { color: #e37958; fill: currentColor; stroke: currentColor; }
.reading-path-history .reading-path-art { background: #76552f; }
.reading-path-history .reading-path-art svg .icon-accent { color: #e0b552; }
.reading-path-fantasy .reading-path-art { background: #356d77; }
.reading-path-fantasy .reading-path-art svg .icon-accent { color: #e0bf61; }
.reading-path-passion .reading-path-art { background: #522031; }
.reading-path-passion .reading-path-art svg .icon-accent { color: #d1839a; }

.reading-path-all {
  width: max-content;
  margin: 34px auto 0;
  padding-bottom: 6px;
  display: block;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent);
  font-weight: 850;
}

.brands-v15 {
  width: 100% !important;
  max-width: none;
  padding-right: max(32px, calc((100vw - 1600px) / 2));
  padding-left: max(32px, calc((100vw - 1600px) / 2));
  background: #f2eee6;
}

.brand-grid-v15 {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.22);
}

.brand-story-card {
  position: relative;
  min-height: 390px;
  padding: 44px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 30px;
  background: #103541;
  color: #fff;
}

.brand-story-nefanda { background: #491d2b; }
.brand-story-card.no-cover-preview { grid-template-columns: minmax(0, 1fr); }
.brand-story-card.no-cover-preview .brand-story-copy p { max-width: 610px; }

.brand-story-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-story-copy small {
  min-height: 28px;
  color: var(--brand-accent);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.brand-story-copy h3 {
  margin: 14px 0 14px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.brand-story-copy p {
  max-width: 470px;
  margin: 0 0 30px;
  color: #d8e2e3;
  line-height: 1.7;
}

.brand-story-cta {
  margin-top: auto;
  padding-bottom: 5px;
  color: var(--brand-accent);
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 850;
}

.brand-story-card {
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 180ms ease, filter 180ms ease;
}

.brand-story-card:hover {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand-accent) 72%, white);
  filter: brightness(1.045);
}

.brand-story-card:hover .brand-story-cta {
  color: #fff;
}

.brand-story-card:focus-visible {
  z-index: 5;
  outline: 3px solid var(--brand-accent);
  outline-offset: -5px;
}

.brand-story-books {
  position: relative;
  align-self: stretch;
  min-height: 280px;
}

.brand-story-books .book-cover {
  position: absolute;
  right: 0;
  top: 46px;
  width: 155px;
  box-shadow: 0 20px 35px rgba(0,0,0,.3);
  transform: rotate(6deg);
}

.brand-story-books .book-cover:first-child {
  z-index: 3;
  right: 96px;
  top: 5px;
  transform: rotate(-8deg);
}

.brand-story-books .book-cover:nth-child(2) {
  z-index: 2;
  right: 45px;
  top: 24px;
  transform: rotate(-1deg);
}

.brand-story-books .book-cover:nth-child(3) {
  z-index: 1;
  right: -5px;
  top: 49px;
  transform: rotate(8deg);
}

.home-journal-v15 .section-heading { align-items: end; }
.home-journal-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.home-journal-grid .journal-card { min-height: 100%; background: #fff; border: 1px solid var(--line); }
.home-journal-grid .journal-card-image { aspect-ratio: 1.7; }
.home-journal-grid .journal-card-copy { padding: 25px; }

.values-v15 { border-top: 1px solid var(--line); }

@media (max-width: 1180px) {
  .home-discovery-hero { grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: 28px; }
  .home-fan-book { width: clamp(205px, 20vw, 255px); }
  .home-six-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 42px; }
  .reading-path-card { grid-template-columns: 115px 1fr; padding: 28px; gap: 22px; }
  .reading-path-art { width: 115px; }
  .brand-story-card { grid-template-columns: minmax(0, 1fr) 145px; padding: 34px; }
  .brand-story-books .book-cover { width: 122px; }
  .brand-story-books .book-cover:first-child { right: 32px; }
}

@media (max-width: 900px) {
  .home-discovery-hero {
    min-height: 0;
    padding-top: 62px;
    grid-template-columns: 1fr;
  }
  .home-discovery-copy { max-width: 760px; }
  .home-discovery-copy h1 { max-width: 760px; }
  .home-brand-carousel { max-width: 650px; width: 100%; margin: 0 auto; }
  .home-brand-slides { min-height: 555px; }
  .home-fan-book { width: clamp(225px, 34vw, 285px); }
  .catalogue-scale { grid-template-columns: 1fr auto; }
  .catalogue-scale p { grid-column: 1 / -1; grid-row: 2; }
  .platform-marquee-compact .platform-marquee-label { min-width: 250px; }
  .reading-paths-heading, .brands-v15-heading { grid-template-columns: 1fr; gap: 18px; }
  .reading-path-grid { grid-template-columns: 1fr; }
  .reading-path-card { grid-template-columns: 145px 1fr; }
  .reading-path-art { width: 132px; }
  .brand-grid-v15 { grid-template-columns: 1fr; }
  .brand-story-card { grid-template-columns: minmax(0, 1fr) 210px; }
  .brand-story-books .book-cover { width: 155px; }
  .home-journal-grid { grid-template-columns: 1fr; }
  .home-journal-grid .journal-card { grid-template-columns: minmax(210px, .6fr) 1fr; display: grid; }
  .home-journal-grid .journal-card-image { height: 100%; aspect-ratio: auto; }
}

/* CurioVox 1.5.4 — sélection d’accueil aux proportions de la maquette */
.home-v15 .home-selection-v15 {
  padding-top: clamp(78px, 6vw, 102px);
  padding-bottom: clamp(52px, 4.5vw, 72px);
}

.home-selection-v15 .section-heading {
  margin-bottom: clamp(38px, 4vw, 56px);
}

.home-selection-v15 .home-six-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  gap: clamp(18px, 1.45vw, 24px);
}

.home-selection-v15 .home-featured-card .card-cover-link {
  padding: 10px 10px 12px;
  display: flex;
  justify-content: center;
}

.home-selection-v15 .home-featured-card .card-cover-link::before {
  width: 145px;
  height: 145px;
}

.home-selection-v15 .home-featured-card .card-cover-link .book-cover {
  width: 100%;
  max-width: 270px;
  margin: 0;
}

.home-selection-v15 .home-featured-card .catalog-card-body {
  padding-top: 15px;
}

.home-selection-v15 .home-featured-card .card-kicker {
  min-height: 34px;
  font-size: .62rem;
}

.home-selection-v15 .home-featured-card h3 {
  min-height: 0;
  margin-top: 3px;
  font-size: clamp(1.18rem, 1.35vw, 1.48rem);
}

.home-selection-v15 .home-featured-card .card-author {
  margin-top: 5px;
  font-size: .75rem;
}

.home-selection-v15 .home-featured-card .card-summary {
  min-height: 64px;
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: .82rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
}

.home-selection-v15 .home-featured-card .card-bottom {
  min-height: 39px;
  padding-top: 11px;
  align-items: center;
}

.home-selection-v15 .home-featured-card .card-cta {
  min-height: 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--accent-dark);
  font-size: .68rem;
  white-space: nowrap;
}

.home-selection-v15 .home-featured-card .catalog-card-link:hover .card-cta {
  border-bottom-color: currentColor;
  background: transparent;
}

.home-selection-v15 + .reading-paths {
  padding-top: clamp(68px, 5.5vw, 92px);
}

@media (max-width: 1180px) {
  .home-selection-v15 .home-featured-card .card-cover-link .book-cover {
    max-width: 300px;
  }
}

@media (max-width: 680px) {
  .home-v15 .home-selection-v15 {
    padding-top: 66px;
    padding-bottom: 48px;
  }

  .home-selection-v15 .section-heading {
    margin-bottom: 32px;
  }

  .home-selection-v15 .home-featured-card .card-cover-link {
    padding: 9px;
  }

  .home-selection-v15 .home-featured-card .card-cover-link .book-cover {
    max-width: none;
  }

  .home-selection-v15 .home-featured-card .card-summary {
    display: -webkit-box;
    min-height: 44px;
    -webkit-line-clamp: 2;
  }

  .home-selection-v15 + .reading-paths {
    padding-top: 58px;
  }
}

/* CurioVox 1.6.3 — catalogue plus dense et sortie de recherche utile. */
.home-selection-v15 .home-ten-grid {
  row-gap: clamp(44px, 4vw, 64px);
}

.catalog-empty-suggestions[hidden] {
  display: none !important;
}

.catalog-empty-suggestions {
  margin-top: clamp(42px, 6vw, 76px);
  padding-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

.catalog-empty-suggestions-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.catalog-empty-suggestions-heading h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.03;
}

.catalog-empty-suggestions-controls {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.catalog-empty-suggestions-controls button {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
}

.catalog-empty-suggestions-controls button:hover,
.catalog-empty-suggestions-controls button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.catalog-empty-suggestions-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--paper);
}

.catalog-empty-suggestions-track .catalog-card {
  flex: 0 0 calc((100% - 96px) / 5);
  min-width: 0;
  scroll-snap-align: start;
}

.catalog-empty-suggestions-track .catalog-card h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
}

@media (max-width: 1100px) {
  .catalog-empty-suggestions-track .catalog-card {
    flex-basis: calc((100% - 48px) / 3);
  }
}

@media (max-width: 767px) {
  .home-selection-v15 .home-ten-grid { row-gap: 0; }

  .catalog-empty-suggestions-heading {
    align-items: flex-start;
  }

  .catalog-empty-suggestions-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .catalog-empty-suggestions-controls button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .catalog-empty-suggestions-track {
    width: calc(100% + 16px);
    margin-right: -16px;
    padding-right: 16px;
    gap: 18px;
    scrollbar-width: none;
  }

  .catalog-empty-suggestions-track::-webkit-scrollbar { display: none; }

  .catalog-empty-suggestions-track .catalog-card {
    flex-basis: min(76vw, 292px);
    min-width: min(76vw, 292px);
  }
}

@media (max-width: 430px) {
  .catalog-empty-suggestions-heading {
    flex-direction: column;
  }

  .catalog-empty-suggestions-controls { align-self: flex-start; }
}

@media (max-width: 680px) {
  .home-v15 > section:not(.catalogue-scale, .platform-marquee, .promo-banner, .newsletter-section) { width: calc(100% - 34px); }
  .home-discovery-hero { padding-top: 40px; padding-bottom: 34px; }
  .home-discovery-copy h1 { font-size: clamp(2.8rem, 14vw, 4.25rem); }
  .hero-search-form { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 8px 9px; }
  .hero-search-form button { grid-column: 1 / -1; width: 100%; margin-top: 5px; }
  .hero-mood-links { flex-wrap: nowrap; margin-right: -17px; padding-right: 17px; overflow-x: auto; scrollbar-width: none; }
  .hero-mood-links a { flex: 0 0 auto; }
  .home-brand-carousel { padding: 0; }
  .home-brand-slides { min-height: 430px; }
  .home-book-fan { bottom: 62px; }
  .home-fan-book { width: clamp(160px, 49vw, 215px); }
  .home-fan-1 { transform: translate(-39%, 5%) rotate(-10deg); }
  .home-fan-3 { transform: translate(39%, 5%) rotate(10deg); }
  .home-brand-slide-copy p { display: none; }
  .home-brand-slide-copy { padding-top: 8px; }
  .home-carousel-controls { gap: 1px; }
  .home-carousel-controls button { padding: 0 8px; font-size: .61rem; }
  .home-carousel-controls .home-carousel-toggle { display: none; }
  .catalogue-scale { padding: 26px 17px; grid-template-columns: 1fr; gap: 17px; }
  .catalogue-scale > div { white-space: normal; }
  .catalogue-scale strong { font-size: 3.6rem; }
  .catalogue-scale > a { width: max-content; }
  .platform-marquee-compact { padding: 18px 0; display: block; }
  .platform-marquee-compact .platform-marquee-label { min-width: 0; margin: 0 17px 14px; }
  .platform-marquee-compact .platform-lockup { min-width: 145px; padding: 11px 18px; }
  .home-selection-v15, .reading-paths, .brands-v15, .home-journal-v15, .values-v15 { padding-top: 72px; padding-bottom: 72px; }
  .home-six-grid { margin-right: -17px; padding-right: 17px; display: flex; gap: 17px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .home-six-grid .catalog-card { flex: 0 0 min(72vw, 265px); scroll-snap-align: start; }
  .reading-paths-heading h2, .brands-v15-heading h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .reading-path-grid { margin-top: 34px; }
  .reading-path-card { min-height: 0; padding: 22px; grid-template-columns: 94px 1fr; align-items: start; gap: 18px; }
  .reading-path-art { width: 94px; }
  .reading-path-card h3 { font-size: 1.45rem; }
  .reading-path-card nav { grid-column: 1 / -1; }
  .brands-v15 { padding-right: 17px; padding-left: 17px; }
  .brand-story-card { min-height: 430px; padding: 28px; grid-template-columns: 1fr; }
  .brand-story-copy { max-width: 100%; }
  .brand-story-books { position: absolute; right: -7px; bottom: -55px; width: 180px; min-height: 220px; opacity: .32; }
  .brand-story-books .book-cover { width: 125px; }
  .home-journal-grid .journal-card { display: block; }
  .home-journal-grid .journal-card-image { aspect-ratio: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  .home-brand-slide,
  .home-fan-book { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .platform-marquee-window {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .platform-marquee-track {
    animation: none;
  }

  .platform-marquee-group:nth-child(2) {
    display: none;
  }
}

/* Univers NEFANDA — parcours adulte séparé */
.brand-grid-general {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nefanda-home-section {
  position: relative;
  padding: 92px max(5vw, calc((100vw - 1500px) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 22%, rgba(157, 74, 96, 0.26), transparent 30%),
    linear-gradient(145deg, #1a1115, #291820 58%, #180f13);
  color: #f5ece7;
}

.nefanda-home-section::before {
  content: "N";
  position: absolute;
  top: -11vw;
  right: -2vw;
  color: rgba(255, 255, 255, 0.022);
  font-family: var(--serif);
  font-size: min(56vw, 760px);
  line-height: 1;
  pointer-events: none;
}

.nefanda-home-copy,
.nefanda-preview-shell {
  position: relative;
  z-index: 1;
}

.nefanda-home-copy .eyebrow,
.nefanda-catalog-hero .eyebrow {
  color: #d7a0ae;
}

.nefanda-home-copy h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.045em;
}

.nefanda-home-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 26px 0 32px;
  color: rgba(245, 236, 231, 0.72);
  font-size: 0.9rem;
  line-height: 1.8;
}

.nefanda-button {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid #bd788c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #7d3545;
  color: white;
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nefanda-button:hover {
  border-color: #e0a8b7;
  background: #963f54;
  transform: translateY(-1px);
}

.nefanda-preview-shell {
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(7, 3, 5, 0.32);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
}

.nefanda-preview-books {
  width: 100%;
  min-height: 500px;
  padding: 64px 7% 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(16px, 3vw, 38px);
  transition: filter 420ms ease, opacity 420ms ease, transform 420ms ease;
}

.is-locked .nefanda-preview-books {
  filter: blur(17px) brightness(0.46) saturate(0.7);
  opacity: 0.78;
  transform: scale(1.035);
  pointer-events: none;
  user-select: none;
}

.nefanda-preview-book {
  display: grid;
  gap: 18px;
  color: #f5ece7;
}

.nefanda-preview-book:nth-child(1) { transform: rotate(-5deg) translateY(16px); }
.nefanda-preview-book:nth-child(2) { transform: translateY(-10px); }
.nefanda-preview-book:nth-child(3) { transform: rotate(5deg) translateY(16px); }

.nefanda-preview-book .book-cover {
  box-shadow: 13px 24px 45px rgba(0, 0, 0, 0.48);
}

.nefanda-preview-book > span {
  display: grid;
  gap: 5px;
  text-align: center;
}

.nefanda-preview-book strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.15;
}

.nefanda-preview-book small {
  color: rgba(245, 236, 231, 0.62);
  font-size: 0.61rem;
}

.nefanda-placeholder-volume {
  width: 100%;
  aspect-ratio: 5 / 8;
  border: 1px solid rgba(214, 151, 169, 0.45);
  display: block;
  background: linear-gradient(145deg, #572534, #231219 68%, #713448);
  box-shadow: 13px 24px 45px rgba(0, 0, 0, 0.48);
}

.nefanda-preview-gate {
  position: absolute;
  z-index: 3;
  width: min(460px, 84%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  background: rgba(24, 13, 18, 0.9);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.4);
  text-align: center;
  backdrop-filter: blur(12px);
}

.adult-gate-seal {
  width: 62px;
  height: 62px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d7a0ae;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.nefanda-preview-gate > strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.nefanda-preview-gate > p {
  max-width: 350px;
  margin: 0 0 7px;
  color: rgba(245, 236, 231, 0.67);
  font-size: 0.7rem;
  line-height: 1.65;
}

.catalog-nefanda-bridge {
  margin-top: 82px;
  padding: clamp(30px, 5vw, 58px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  background: #211419;
  color: #f5ece7;
}

.catalog-nefanda-bridge > span {
  width: 72px;
  height: 72px;
  border: 1px solid #b36e81;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d7a0ae;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.catalog-nefanda-bridge .eyebrow { margin-bottom: 8px; color: #d7a0ae; }
.catalog-nefanda-bridge h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 400; }
.catalog-nefanda-bridge p:last-child { margin: 8px 0 0; color: rgba(245, 236, 231, 0.66); font-size: 0.76rem; line-height: 1.65; }

.adult-gate-page {
  min-height: calc(100vh - 82px);
  padding: 80px 5vw;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(151, 61, 84, 0.28), transparent 32%),
    linear-gradient(145deg, #150d11, #28171f);
  color: #f5ece7;
}

.adult-gate-card {
  width: min(780px, 100%);
  padding: clamp(38px, 7vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(26, 15, 20, 0.88);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.adult-gate-card .eyebrow { margin: 24px 0 14px; color: #d7a0ae; }
.adult-gate-card h1 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.3rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.045em; }
.adult-gate-card > p:not(.eyebrow) { max-width: 620px; margin: 26px 0 0; color: rgba(245, 236, 231, 0.72); font-size: 0.87rem; line-height: 1.8; }
.adult-gate-card .adult-gate-warning { max-width: 580px; margin-top: 16px; color: #e4bec8; font-size: 0.72rem; }
.adult-gate-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.adult-gate-exit { min-height: 50px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #f5ece7; }
.adult-gate-card > small { margin-top: 18px; color: rgba(245, 236, 231, 0.45); font-size: 0.58rem; }

.nefanda-page-shell {
  min-height: 100vh;
  background: #180f13;
}

.nefanda-page-main {
  min-height: 70vh;
  color: #f5ece7;
}

.nefanda-breadcrumb {
  width: min(1380px, 90vw);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  gap: 8px;
  color: rgba(245, 236, 231, 0.48);
}

.nefanda-breadcrumb a { color: #d7a0ae; }

.nefanda-catalog-hero {
  width: min(1380px, 90vw);
  margin: 0 auto;
  padding: 64px 0 74px;
  display: grid;
  grid-template-columns: minmax(430px, 1.1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(48px, 9vw, 130px);
}

.nefanda-catalog-hero h1 {
  margin: 0;
  color: #f8efea;
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 10.5rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.nefanda-signature {
  margin: 28px 0 0;
  color: #d7a0ae;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.2;
}

.nefanda-catalog-hero > p {
  margin: 0;
  padding-left: 26px;
  border-left: 1px solid #784253;
  color: rgba(245, 236, 231, 0.68);
  font-size: 0.85rem;
  line-height: 1.85;
}

.nefanda-catalog-content {
  padding: 58px max(5vw, calc((100vw - 1380px) / 2)) 100px;
  background: #eee6df;
  color: var(--ink);
}

.nefanda-tools {
  min-height: 62px;
  border: 1px solid #cdbfc0;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(190px, 0.7fr) minmax(190px, 0.7fr);
  background: #faf7f4;
}

.nefanda-tools > label {
  min-width: 0;
  border-right: 1px solid #cdbfc0;
}

.nefanda-tools > label:last-child { border-right: 0; }
.nefanda-search { padding: 0 18px; display: flex; align-items: center; gap: 12px; }
.nefanda-search svg { color: #7d3545; font-size: 1.1rem; }
.nefanda-search input,
.nefanda-tools select { width: 100%; height: 60px; padding: 0 17px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.nefanda-search input { padding: 0; }

.nefanda-results-line {
  padding: 24px 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #725f65;
  font-size: 0.66rem;
}

.nefanda-results-line button {
  border: 0;
  background: transparent;
  color: #7d3545;
  font-weight: 850;
  cursor: pointer;
}

.nefanda-grid .catalog-card {
  border-color: #d1c2c3;
  background: #f8f3ef;
}

.nefanda-grid .card-cta {
  border-color: #4a222e;
  background: #4a222e;
}

.nefanda-grid .catalog-card-link:hover .card-cta {
  border-color: #7d3545;
  background: #7d3545;
}

.nefanda-load-more { margin: 42px auto 0; display: flex; }
.nefanda-empty { min-height: 350px; padding: 70px 5vw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.nefanda-empty > span { color: #7d3545; font-family: var(--serif); font-size: 1.4rem; }
.nefanda-empty h2 { max-width: 720px; margin: 15px 0 22px; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; line-height: 1; }
.nefanda-empty p { max-width: 600px; margin: -5px 0 0; color: #725f65; line-height: 1.7; }

.nefanda-product-main .book-detail {
  background: linear-gradient(180deg, #f7f1ec, #fff);
}

.nefanda-product-main .detail-copy .eyebrow,
.nefanda-product-main .breadcrumb a,
.nefanda-product-main .text-link {
  color: #7d3545;
}

.nefanda-product-main .adult-notice {
  border-color: #b77b8c;
  background: #f3e5e9;
}

@media (max-width: 980px) {
  .brand-grid-general {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-grid-general .brand-card:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .brand-grid-general .brand-card:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .nefanda-home-section {
    grid-template-columns: 1fr;
  }

  .nefanda-home-copy {
    max-width: 760px;
  }

  .catalog-nefanda-bridge {
    grid-template-columns: auto 1fr;
  }

  .catalog-nefanda-bridge .nefanda-button {
    grid-column: 2;
    justify-self: start;
  }

  .nefanda-catalog-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .brand-grid-general {
    grid-template-columns: 1fr;
  }

  .brand-grid-general .brand-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .brand-grid-general .brand-card:nth-child(2) {
    border-right: 0;
  }

  .brand-grid-general .brand-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .brand-grid-general .brand-card:last-child {
    border-bottom: 0;
  }

  .nefanda-preview-shell,
  .nefanda-preview-books {
    min-height: 420px;
  }

  .nefanda-preview-books {
    padding-inline: 4%;
    gap: 12px;
  }

  .nefanda-preview-book > span {
    display: none;
  }

  .nefanda-preview-gate {
    padding: 27px 20px;
  }

  .nefanda-tools {
    grid-template-columns: 1fr 1fr;
  }

  .nefanda-tools > label:first-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid #cdbfc0;
  }
}

@media (max-width: 560px) {
  .nefanda-home-section {
    padding: 64px 5vw;
    gap: 38px;
  }

  .nefanda-home-copy h2 {
    font-size: clamp(2.7rem, 13vw, 3.7rem);
  }

  .nefanda-preview-shell,
  .nefanda-preview-books {
    min-height: 350px;
  }

  .nefanda-preview-books {
    padding-block: 45px 30px;
  }

  .nefanda-preview-gate {
    width: 90%;
  }

  .nefanda-preview-gate > strong {
    font-size: 1.35rem;
  }

  .nefanda-preview-gate .nefanda-button,
  .adult-gate-actions,
  .adult-gate-actions .button {
    width: 100%;
  }

  .catalog-nefanda-bridge {
    margin-top: 54px;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .catalog-nefanda-bridge .nefanda-button {
    grid-column: 1;
    justify-self: stretch;
  }

  .adult-gate-page {
    padding: 44px 5vw;
  }

  .adult-gate-card {
    padding: 34px 22px;
  }

  .adult-gate-card h1 {
    font-size: 2.75rem;
  }

  .nefanda-catalog-hero {
    padding: 50px 0 58px;
  }

  .nefanda-catalog-hero h1 {
    font-size: clamp(4.2rem, 23vw, 6.4rem);
  }

  .nefanda-catalog-hero > p {
    padding: 20px 0 0;
    border-top: 1px solid #784253;
    border-left: 0;
  }

  .nefanda-catalog-content {
    padding: 42px 5vw 72px;
  }

  .nefanda-tools {
    grid-template-columns: 1fr;
  }

  .nefanda-tools > label,
  .nefanda-tools > label:first-child {
    grid-column: 1;
    border-right: 0;
    border-bottom: 1px solid #cdbfc0;
  }

  .nefanda-tools > label:last-child {
    border-bottom: 0;
  }
}
/* WordPress compatibility helpers */
[hidden] { display: none !important; }
.cvx-page-hidden { display: none !important; }
.admin-bar .site-header { top: 32px; }
.newsletter-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.generic-page { min-height: 65vh; }
.generic-page .legal-copy { padding: 0; }
.form-status, .newsletter-status, .contact-status { min-height: 1.2em; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Version 1.1 — lisibilité générale et hiérarchie typographique */
body {
  font-size: 16px;
  line-height: 1.6;
}

.site-header nav a,
.public-header nav a {
  font-size: 0.86rem;
  line-height: 1.25;
}

.header-search,
.header-catalog-cta,
.button,
.quick-search-form > button {
  font-size: 0.78rem;
}

.brand-lockup small { font-size: 0.6rem; }
.announcement { font-size: 0.78rem; }
.eyebrow { font-size: 0.72rem; line-height: 1.45; }

.commerce-hero h1 {
  font-size: clamp(3rem, 4.7vw, 4.85rem);
  line-height: 0.98;
}

.quick-search-section h2,
.catalog-page-hero h1 {
  font-size: clamp(2.35rem, 3.5vw, 3.55rem);
  line-height: 1.04;
}

.book-detail h1 {
  font-size: clamp(2.85rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.detail-subtitle { font-size: clamp(1.25rem, 1.7vw, 1.55rem); }
.detail-author { font-size: 0.94rem; }
.detail-trust span,
.detail-price > span,
.merchant-choice-heading span { font-size: 0.76rem; }

.catalog-card h3 { min-height: auto; font-size: clamp(1.25rem, 1.45vw, 1.48rem); }
.card-kicker { min-height: auto; font-size: 0.72rem; }
.card-author { font-size: 0.86rem; }
.card-summary { font-size: 0.92rem; line-height: 1.6; }
.card-cta { font-size: 0.75rem; }
.results-line,
.nefanda-results-line { font-size: 0.76rem; }

.footer-brand p,
.footer-column,
.footer-bottom { font-size: 0.78rem; }
.footer-column strong { font-size: 1.12rem; }

/* Boutons d’accès aux librairies sur l’accueil */
.platform-marquee-window:hover .platform-marquee-track,
.platform-marquee-window:focus-within .platform-marquee-track {
  animation-play-state: paused;
}

.platform-lockup {
  min-height: 76px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  justify-content: flex-start;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.platform-lockup:hover,
.platform-lockup:focus-visible {
  border-color: var(--line);
  background: var(--paper);
  transform: translateY(-2px);
  outline: 0;
}

.platform-lockup > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.platform-lockup > span strong {
  font-size: 0.86rem;
  line-height: 1.2;
}

.platform-lockup > span small {
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.platform-lockup > span b { font-size: 0.72rem; }

/* Catalogue NEFANDA : cartes mieux espacées et texte moins serré */
.nefanda-catalog-content { padding-top: 64px; }
.nefanda-catalog-hero h1 { font-size: clamp(4.8rem, 9vw, 8rem); line-height: 0.86; }
.nefanda-tools input,
.nefanda-tools select { font-size: 0.9rem; }

.nefanda-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 30px;
  align-items: stretch;
}

.nefanda-grid .catalog-card {
  overflow: hidden;
  border: 1px solid #d1c2c3;
  box-shadow: 0 12px 30px rgba(51, 26, 34, 0.06);
}

.nefanda-grid .card-cover-link { padding: 22px 20px 24px; }
.nefanda-grid .catalog-card-body { padding: 22px 20px 20px; }
.nefanda-grid .card-kicker { margin-bottom: 13px; gap: 16px; }
.nefanda-grid .catalog-card h3 { margin: 0 0 8px; line-height: 1.16; }
.nefanda-grid .card-author { margin-bottom: 4px; }
.nefanda-grid .card-summary { min-height: 0; margin: 14px 0 20px; }
.nefanda-grid .card-bottom { gap: 12px; }
.nefanda-grid .price-stack { padding-top: 8px; }

/* Fiche produit : la quatrième de couverture devient le texte principal */
.product-summary-highlight {
  max-width: 800px;
  margin: 28px 0 26px;
  padding: 25px 28px 27px;
  border: 1px solid #ded6ca;
  border-left: 4px solid var(--accent);
  background: #fffefb;
  box-shadow: 0 12px 32px rgba(15, 35, 46, 0.055);
}

.product-summary-highlight .eyebrow { margin: 0 0 11px; }
.product-summary-highlight > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.product-decision { margin-top: 20px; }
.merchant-links-conversion small { font-size: 0.66rem; }
.merchant-links-conversion strong { font-size: 1.05rem; }
.merchant-links-conversion em {
  color: #876f58;
  font-size: 0.58rem;
  font-style: normal;
  line-height: 1.3;
}
.merchant-links-conversion .is-search-link { border-style: dashed; }

.product-howto {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(540px, 1.25fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.product-howto h2 {
  max-width: 620px;
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.4vw, 3.45rem);
  font-weight: 400;
  line-height: 1.02;
}

.product-howto > div:first-child > p:last-child {
  max-width: 600px;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-howto .purchase-steps { margin: 0; }

@media (max-width: 1100px) {
  .nefanda-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-howto { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-header nav.open a,
  .public-header nav.open a { font-size: 1rem; }
  .nefanda-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .product-summary-highlight { padding: 22px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .commerce-hero h1 { font-size: clamp(2.7rem, 13vw, 3.55rem); }
  .book-detail h1 { font-size: clamp(2.55rem, 12vw, 3.35rem); }
  .nefanda-catalog-hero h1 { font-size: clamp(4rem, 21vw, 5.8rem); }
  .nefanda-grid { grid-template-columns: 1fr; gap: 25px; }
  .nefanda-grid .catalog-card-body { padding: 19px 17px; }
  .platform-lockup { min-height: 66px; }
  .product-summary-highlight > p:last-child { font-size: 0.96rem; }
  .merchant-links-conversion { grid-template-columns: 1fr; }
}

/* Version 1.3 — fiche livre orientée découverte et clic libraire */
.site-header nav a,
.public-header nav a {
  font-size: 0.94rem;
}

.header-search,
.header-catalog-cta,
.button,
.quick-search-form > button {
  font-size: 0.875rem;
}

.product-main {
  background: #fffdf9;
}

.product-main .detail-breadcrumb {
  padding-top: 28px;
  color: #52636d;
  font-size: 0.86rem;
}

.product-main .product-hero {
  width: min(1320px, 90vw);
  margin: 0 auto;
  padding: 46px 0 88px;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  gap: clamp(54px, 7vw, 106px);
  align-items: start;
}

.product-main .detail-cover-column {
  top: 112px;
}

.product-main .detail-cover-wrap {
  padding: clamp(15px, 2vw, 22px);
  border-color: #d9d0c3;
  background: linear-gradient(145deg, #eee8dc, #faf7f1);
  box-shadow: 0 26px 64px rgba(16, 35, 46, 0.12);
}

.product-main .detail-cover-wrap .book-cover {
  width: 100%;
  max-width: 368px;
  margin: 0 auto;
  box-shadow: 0 20px 38px rgba(10, 25, 34, 0.2);
}

.cover-format-note {
  margin: 24px 4px 0;
  padding-top: 18px;
  border-top: 1px solid #d9d2c7;
  display: grid;
  gap: 3px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.cover-format-note strong {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 400;
}

.cover-format-note span {
  color: #50606a;
}

.product-main .product-kicker {
  margin-bottom: 18px;
  gap: 9px;
}

.product-main .product-kicker .eyebrow {
  color: var(--accent-dark);
  font-size: 0.8rem;
}

.product-main .product-kicker > span {
  min-height: 28px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
}

.product-main .product-kicker .adult-product-badge {
  background: #5b2633;
  color: #fff9f3;
}

.product-main .book-detail h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(3rem, 4.45vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.product-main .detail-subtitle {
  max-width: 780px;
  margin: 22px 0 0;
  color: #344955;
  font-size: clamp(1.4rem, 2vw, 1.78rem);
  line-height: 1.34;
}

.product-main .detail-author {
  margin: 15px 0 24px;
  color: #4f606a;
  font-size: 1rem;
}

.product-main .detail-author strong {
  color: var(--ink);
  font-weight: 750;
}

.product-main .detail-rating {
  margin: -10px 0 22px;
  font-size: 0.94rem;
}

.product-main .adult-notice {
  max-width: 780px;
  margin: 22px 0;
  padding: 15px 18px;
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-main .product-promo {
  margin: 0 0 18px;
  font-size: 0.75rem;
}

.product-main .product-decision {
  max-width: 850px;
  margin-top: 24px;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid #d6ccbd;
  border-top: 5px solid var(--accent);
  background: #f7f2e9;
  box-shadow: 0 22px 52px rgba(16, 35, 46, 0.08);
}

.product-main .product-price-row {
  align-items: flex-end;
}

.product-main .detail-price {
  margin: 0;
  gap: 12px;
}

.product-main .detail-price > strong {
  font-size: clamp(2.55rem, 3.3vw, 3.15rem);
  line-height: 1;
}

.product-main .detail-price del {
  font-size: 1.05rem;
}

.product-main .detail-price span {
  color: #596972;
  font-size: 0.85rem;
  line-height: 1.3;
}

.product-meta-quick {
  margin: 0 0 2px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  list-style: none;
}

.product-meta-quick li {
  padding: 7px 10px;
  border: 1px solid #d8cfc1;
  background: #fffdf9;
  color: #3e515c;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-main .merchant-choice-heading {
  margin: 28px 0 14px;
  gap: 5px;
}

.product-main .merchant-choice-heading strong {
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  line-height: 1.2;
}

.product-main .merchant-choice-heading span {
  color: #52636c;
  font-size: 0.95rem;
}

.product-main .merchant-links-conversion {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-main .merchant-links-conversion a {
  min-height: 82px;
  padding: 15px 18px;
  border: 2px solid #c9bdad;
  border-radius: 4px;
  flex-direction: row;
  gap: 16px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(15, 33, 43, 0.035);
}

.product-main .merchant-links-conversion a:hover,
.product-main .merchant-links-conversion a:focus-visible {
  border-color: var(--accent-dark);
  background: #fffdf9;
  box-shadow: 0 12px 26px rgba(15, 33, 43, 0.11);
  transform: translateY(-3px);
}

.product-main .merchant-links-conversion a:focus-visible {
  outline: 3px solid rgba(168, 71, 49, 0.28);
  outline-offset: 3px;
}

.product-main .merchant-links-conversion img {
  width: 96px;
  max-height: 34px;
  flex: 0 0 96px;
}

.product-main .merchant-links-conversion a > span {
  gap: 2px;
}

.product-main .merchant-links-conversion small {
  color: #566771;
  font-size: 0.82rem;
  font-weight: 650;
}

.product-main .merchant-links-conversion strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-main .merchant-links-conversion b {
  color: var(--accent-dark);
  font-size: 1.35rem;
  transition: transform 160ms ease;
}

.product-main .merchant-links-conversion a:hover b {
  transform: translateX(4px);
}

.product-main .merchant-links-conversion .is-search-link {
  border-style: solid;
  background: #fffcf5;
}

.merchant-price-note {
  margin: 13px 0 0;
  color: #5c6c74;
  font-size: 0.82rem;
  line-height: 1.5;
}

.product-main .product-benefits {
  margin-top: 18px;
  padding-top: 15px;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 14px 24px;
}

.product-main .product-benefits > span,
.product-main .product-benefits > span:not(:first-child) {
  min-height: 0;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.product-main .product-benefits i {
  color: #327054;
  font-size: 0.94rem;
}

.product-main .product-benefits strong {
  color: #354b57;
  font-size: 0.84rem;
  line-height: 1.35;
}

.product-story-section {
  padding: clamp(72px, 8vw, 110px) max(5vw, calc((100vw - 1200px) / 2));
  border-top: 1px solid #ded7cc;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: start;
  background: var(--paper);
}

.product-story-copy {
  max-width: 760px;
}

.product-story-copy h2,
.product-author-section h2 {
  margin: 9px 0 28px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.4vw, 4.45rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.product-story-text {
  color: #263f4c;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.55vw, 1.28rem);
  line-height: 1.72;
}

.product-story-text p {
  margin: 0 0 1.15em;
}

.product-story-text p:first-child {
  color: var(--ink);
  font-size: 1.08em;
}

.product-facts {
  padding: 30px;
  border: 1px solid #d8cfc1;
  background: #fffdf9;
  box-shadow: 0 18px 42px rgba(15, 33, 43, 0.065);
}

.product-facts .eyebrow {
  margin: 0 0 15px;
}

.product-facts dl {
  margin: 0;
}

.product-facts dl > div {
  padding: 13px 0;
  border-bottom: 1px solid #e0d9cf;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  font-size: 0.94rem;
}

.product-facts dt {
  color: #66747c;
}

.product-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.product-facts-cta {
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  justify-content: center;
  font-size: 0.94rem;
}

.product-author-section {
  padding: clamp(58px, 7vw, 90px) max(5vw, calc((100vw - 1200px) / 2));
  border-top: 1px solid #ded7cc;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(44px, 8vw, 100px);
  background: #fffdf9;
}

.product-author-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 3.5vw, 3.65rem);
}

.product-author-section > div:last-child {
  max-width: 720px;
}

.product-author-section > div:last-child > p {
  margin: 0 0 22px;
  color: #344b57;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.75;
}

.product-main .related-early {
  padding-top: clamp(68px, 8vw, 96px);
  padding-bottom: clamp(72px, 8vw, 102px);
}

.product-main .related-early .section-heading h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.product-main .related-intro {
  font-size: 0.96rem;
}

.product-main .related-grid article > a > span {
  font-size: 0.72rem;
  line-height: 1.4;
}

.product-main .related-grid h3 {
  font-size: 1.42rem;
}

.product-main .related-grid p {
  font-size: 0.86rem;
}

.product-main .related-card-bottom em {
  font-size: 0.78rem;
}

.nefanda-product-main .product-decision {
  border-top-color: #7d3545;
}

.nefanda-product-main .product-story-section {
  background: #f3ebe8;
}

@media (max-width: 1050px) {
  .product-main .product-hero {
    grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
    gap: 46px;
  }

  .product-main .merchant-links-conversion {
    grid-template-columns: 1fr;
  }

  .product-main .product-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .product-main .product-hero {
    width: min(88vw, 680px);
    padding: 38px 0 64px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .product-main .detail-cover-column {
    width: min(420px, 100%);
    max-width: none;
  }

  .product-story-section,
  .product-author-section {
    padding-right: 7vw;
    padding-left: 7vw;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .product-facts {
    max-width: 600px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .product-main {
    padding-bottom: 78px;
  }

  .product-main .detail-breadcrumb {
    padding-top: 18px;
    font-size: 0.8rem;
  }

  .product-main .product-hero {
    width: 90vw;
    padding-top: 30px;
  }

  .product-main .detail-cover-column {
    width: min(88vw, 370px);
  }

  .product-main .book-detail h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .product-main .detail-subtitle {
    font-size: 1.28rem;
  }

  .product-main .detail-author,
  .product-main .adult-notice {
    font-size: 1rem;
  }

  .product-main .product-decision {
    margin-right: -2vw;
    margin-left: -2vw;
    padding: 22px 18px;
  }

  .product-main .product-price-row {
    align-items: flex-start;
  }

  .product-meta-quick {
    justify-content: flex-start;
  }

  .product-main .merchant-choice-heading span {
    font-size: 1rem;
  }

  .product-main .merchant-links-conversion a {
    min-height: 76px;
    padding: 13px 14px;
  }

  .product-main .merchant-links-conversion img {
    width: 82px;
    flex-basis: 82px;
  }

  .product-main .merchant-links-conversion small {
    font-size: 0.82rem;
  }

  .product-main .merchant-links-conversion strong {
    font-size: 1rem;
  }

  .product-story-section,
  .product-author-section {
    padding: 58px 6vw;
  }

  .product-story-copy h2,
  .product-author-section h2 {
    font-size: clamp(2.45rem, 12vw, 3.25rem);
  }

  .product-story-text,
  .product-author-section > div:last-child > p {
    font-size: 1.08rem;
    line-height: 1.7;
  }

  .product-facts {
    padding: 22px;
  }

  .product-main .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-main .related-grid article > a {
    padding: 13px;
  }

  .product-main .related-grid h3 {
    font-size: 1.08rem;
  }

  .product-main .related-card-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .sticky-buy {
    min-height: 74px;
    padding: 10px 5vw;
  }

  .sticky-buy > span strong {
    font-size: 1.35rem;
  }

  .sticky-buy > span small {
    font-size: 0.75rem;
  }

  .sticky-buy .button {
    min-height: 48px;
    font-size: 0.9rem;
  }
}

/* Journal CurioVox — présentation éditoriale 1.4.3 */
.journal-main {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 100px;
}

.journal-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  padding: 58px 0 52px;
  border-bottom: 1px solid var(--line);
}

.journal-landing-hero h1 {
  max-width: 850px;
  margin: 12px 0 20px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.journal-landing-hero > div > p:last-child {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.8;
}

.journal-landing-hero aside {
  padding: 28px;
  background: var(--ink);
  color: var(--white);
}

.journal-landing-hero aside strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.journal-landing-hero aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.75;
}

.journal-theme-nav {
  display: flex;
  gap: 8px;
  padding: 22px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.journal-theme-nav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.67rem;
  font-weight: 780;
}

.journal-theme-nav a:hover,
.journal-theme-nav a.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.journal-feature-section,
.journal-latest-section {
  margin-top: 72px;
}

.journal-section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}

.journal-section-heading p {
  margin: 0 0 7px;
}

.journal-section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
}

.journal-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  min-height: 470px;
  background: var(--white);
  border: 1px solid var(--line);
}

.journal-card-image {
  display: block;
  min-height: 240px;
  overflow: hidden;
  background: var(--paper-deep);
}

.journal-feature-card .journal-card-image {
  min-height: 470px;
}

.journal-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.journal-feature-card:hover .journal-card-image img,
.journal-card:hover .journal-card-image img {
  transform: scale(1.025);
}

.journal-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--ink);
  background: radial-gradient(circle at 70% 25%, rgba(168, 71, 49, 0.16), transparent 32%), linear-gradient(145deg, var(--paper-deep), var(--paper));
}

.journal-card-placeholder strong {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 400;
  line-height: 1;
}

.journal-card-placeholder small {
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journal-card-copy {
  display: flex;
  min-width: 0;
  padding: 30px;
  flex-direction: column;
}

.journal-feature-card .journal-card-copy {
  padding: clamp(34px, 5vw, 64px);
}

.journal-card-meta {
  display: flex;
  gap: 9px 13px;
  flex-wrap: wrap;
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.journal-card-meta span:first-child {
  color: var(--accent-dark);
}

.journal-card h3,
.journal-feature-card h3 {
  margin: 24px 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
}

.journal-card h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.journal-feature-card h3 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.journal-card h3 a,
.journal-feature-card h3 a {
  color: var(--ink);
}

.journal-card-excerpt {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.journal-feature-card .journal-card-excerpt {
  font-size: 0.9rem;
}

.journal-card-cta {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.journal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.journal-card {
  display: flex;
  min-width: 0;
  min-height: 520px;
  flex-direction: column;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journal-card .journal-card-image {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.journal-card .journal-card-copy {
  flex: 1;
}

.journal-subscribe {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  margin-top: 86px;
  padding: 40px;
  color: var(--white);
  background: var(--ink);
}

.journal-subscribe h2 {
  margin: 7px 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
}

.journal-subscribe p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .journal-landing-hero,
  .journal-feature-card {
    grid-template-columns: 1fr;
  }

  .journal-feature-card .journal-card-image {
    min-height: 420px;
  }

  .journal-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .journal-main {
    width: min(100% - 28px, 1280px);
    padding-top: 24px;
  }

  .journal-landing-hero {
    gap: 28px;
    padding: 38px 0;
  }

  .journal-landing-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .journal-theme-nav {
    margin-right: -14px;
  }

  .journal-feature-section,
  .journal-latest-section {
    margin-top: 52px;
  }

  .journal-section-heading {
    display: block;
  }

  .journal-section-heading p {
    margin-bottom: 10px;
  }

  .journal-feature-card .journal-card-image {
    min-height: 290px;
  }

  .journal-feature-card .journal-card-copy,
  .journal-card-copy {
    padding: 24px;
  }

  .journal-card-grid {
    grid-template-columns: 1fr;
  }

  .journal-card {
    min-height: 0;
  }

  .journal-subscribe {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 58px;
    padding: 30px 24px;
  }
}

/* Navigation des marques — version 1.4.4 */
.nav-brands {
  position: relative;
  align-self: stretch;
}

.nav-brands summary {
  position: relative;
  min-height: 100%;
  padding: 29px 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.71rem;
  font-weight: 800;
  list-style: none;
  user-select: none;
}

.nav-brands summary::-webkit-details-marker {
  display: none;
}

.nav-brands summary::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-brands summary > span {
  color: var(--accent-dark);
  font-size: 0.9rem;
  transition: transform 180ms ease;
}

.nav-brands[open] summary::after,
.nav-brands summary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-brands[open] summary > span {
  transform: rotate(180deg);
}

.nav-brands-panel {
  position: absolute;
  z-index: 120;
  top: calc(100% - 8px);
  left: 50%;
  width: min(650px, calc(100vw - 40px));
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(8, 28, 42, 0.2);
  transform: translateX(-50%);
}

.nav-brands-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.nav-brands-heading strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.nav-brands-heading small {
  max-width: 280px;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.5;
  text-align: right;
}

.nav-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.site-header nav .nav-brand-card,
.public-header nav .nav-brand-card {
  min-width: 0;
  padding: 15px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: inherit;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-header nav .nav-brand-card::after,
.public-header nav .nav-brand-card::after,
.site-header nav .nav-brands-footer a::after,
.public-header nav .nav-brands-footer a::after {
  display: none;
}

.site-header nav .nav-brand-card:hover,
.public-header nav .nav-brand-card:hover,
.site-header nav .nav-brand-card:focus-visible,
.public-header nav .nav-brand-card:focus-visible {
  border-color: var(--nav-brand-accent);
  box-shadow: 0 10px 24px rgba(8, 28, 42, 0.08);
  transform: translateY(-2px);
}

.nav-brand-monogram {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--nav-brand-accent);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.88rem;
}

.nav-brand-card > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.nav-brand-card strong {
  font-size: 0.72rem;
}

.nav-brand-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.57rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-brand-card em {
  color: var(--nav-brand-accent);
  font-size: 0.9rem;
  font-style: normal;
}

.nav-brands-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.site-header nav .nav-brands-footer a,
.public-header nav .nav-brands-footer a {
  padding: 0;
  color: var(--accent-dark);
  font-size: 0.66rem;
  font-weight: 850;
}

@media (max-width: 820px) {
  .site-header nav.open .nav-brands,
  .public-header nav.open .nav-brands {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .site-header nav.open .nav-brands summary,
  .public-header nav.open .nav-brands summary {
    min-height: 0;
    padding: 15px 0;
  }

  .site-header nav.open .nav-brands summary::after,
  .public-header nav.open .nav-brands summary::after {
    display: none;
  }

  .nav-brands-panel {
    position: static;
    width: 100%;
    padding: 8px 0 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-brands-heading {
    display: none;
  }

  .site-header nav.open .nav-brand-card,
  .public-header nav.open .nav-brand-card {
    padding: 12px;
    display: grid;
    border: 1px solid var(--line);
  }

  .site-header nav.open .nav-brands-footer a,
  .public-header nav.open .nav-brands-footer a {
    padding: 4px 0;
    border: 0;
  }
}

@media (max-width: 620px) {
  .nav-brands-grid {
    grid-template-columns: 1fr;
  }

  .nav-brands-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* CurioVox 1.5.1 — correctifs de rendu après installation réelle */
.home-v15 .home-discovery-hero {
  min-height: 760px;
  align-items: center;
}

.home-v15 .home-discovery-copy h1 {
  max-width: 700px;
  margin: 15px 0 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.35rem, 4.55vw, 5.35rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: .95;
  text-wrap: balance;
}

.home-v15 .hero-search-block > strong {
  font-family: var(--serif);
  font-weight: 400;
}

.home-v15 .home-brand-slides {
  min-height: 630px;
}

.home-v15 .home-brand-slide {
  grid-template-rows: 520px auto;
  align-content: start;
}

.home-v15 .home-book-fan {
  position: relative;
  inset: auto;
  height: 520px;
}

.home-v15 .home-fan-book {
  width: clamp(250px, 18vw, 340px);
}

.home-v15 .home-brand-slide-copy {
  position: relative;
  z-index: 7;
  grid-row: 2;
  max-width: 520px;
  margin: 0 auto;
  padding: 4px 22px 0;
  background: #fbf9f4;
  text-align: center;
}

.home-v15 .home-brand-slide-copy p {
  margin: 5px 0 7px;
  line-height: 1.5;
}

.home-v15 .home-carousel-controls {
  margin-top: 4px;
}

.home-v15 .catalogue-scale strong {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.04em;
}

.home-v15 .platform-marquee-compact {
  width: 100%;
  min-height: 118px;
  padding: 0;
  grid-template-columns: minmax(410px, calc((100vw - 1600px) / 2 + 390px)) minmax(0, 1fr);
}

.home-v15 .platform-marquee-compact .platform-marquee-label {
  min-width: 0;
  padding: 22px 38px 22px max(32px, calc((100vw - 1600px) / 2));
}

.home-v15 .platform-marquee-compact .platform-marquee-label span {
  line-height: 1.45;
}

.home-v15 .platform-marquee-compact .platform-marquee-label strong {
  max-width: 330px;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.3;
}

.home-v15 .platform-marquee-compact .platform-marquee-group {
  padding-right: 38px;
  gap: 30px;
}

.home-v15 .platform-marquee-compact .platform-lockup {
  width: 205px;
  min-width: 205px;
  min-height: 72px;
  padding: 10px 14px;
  justify-content: center;
  gap: 12px;
}

.home-v15 .platform-marquee-compact .platform-lockup img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
}

.home-v15 .platform-marquee-compact .platform-fnac img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  flex-basis: 40px;
}

.home-v15 .platform-marquee-compact .platform-lockup > span {
  display: block;
  color: var(--ink);
}

.home-v15 .platform-marquee-compact .platform-lockup > span strong {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.2;
}

.home-v15 .section-heading h2,
.home-v15 .values-intro h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
}

.home-v15 .brands-v15 {
  padding-top: clamp(82px, 7vw, 105px);
  color: var(--ink);
}

.home-v15 .brands-v15-heading h2 {
  color: var(--ink);
}

.home-v15 .brands-v15-heading > p {
  color: var(--muted);
}

.home-v15 .brand-story-copy h3 {
  color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.home-v15 .catalog-card-link {
  height: 100%;
}

.home-v15 .catalog-card-body {
  min-width: 0;
}

.home-v15 .catalog-card h3 {
  line-height: 1.13;
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .home-v15 .home-discovery-hero {
    grid-template-columns: minmax(0, .95fr) minmax(500px, 1.05fr);
  }

  .home-v15 .platform-marquee-compact {
    grid-template-columns: 360px minmax(0, 1fr);
  }

  .home-v15 .platform-marquee-compact .platform-marquee-label {
    padding-left: 28px;
  }
}

@media (max-width: 900px) {
  .home-v15 .home-discovery-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .home-v15 .home-discovery-copy h1 {
    max-width: 760px;
    font-size: clamp(3.15rem, 9vw, 5rem);
  }

  .home-v15 .home-brand-slides {
    min-height: 620px;
  }

  .home-v15 .home-brand-slide {
    grid-template-rows: 515px auto;
  }

  .home-v15 .home-book-fan {
    height: 515px;
  }

  .home-v15 .home-fan-book {
    width: clamp(225px, 34vw, 285px);
  }

  .home-v15 .platform-marquee-compact {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .home-v15 .platform-marquee-compact .platform-marquee-label {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 680px) {
  .home-v15 .home-discovery-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: .97;
  }

  .home-v15 .home-brand-slides {
    min-height: 445px;
  }

  .home-v15 .home-brand-slide {
    grid-template-rows: 350px auto;
  }

  .home-v15 .home-book-fan {
    position: relative;
    inset: auto;
    height: 350px;
  }

  .home-v15 .home-fan-book {
    width: clamp(155px, 47vw, 205px);
  }

  .home-v15 .home-brand-slide-copy {
    padding-top: 2px;
  }

  .home-v15 .home-brand-slide-copy p {
    display: none;
  }

  .home-v15 .platform-marquee-compact {
    min-height: 164px;
    grid-template-columns: 1fr;
  }

  .home-v15 .platform-marquee-compact .platform-marquee-label {
    min-height: 72px;
    margin: 0;
    padding: 13px 17px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }

  .home-v15 .platform-marquee-compact .platform-marquee-label strong {
    max-width: none;
    font-size: .92rem;
  }

  .home-v15 .platform-marquee-compact .platform-marquee-window {
    min-height: 91px;
  }

  .home-v15 .platform-marquee-compact .platform-lockup {
    width: 180px;
    min-width: 180px;
  }

  .home-v15 .brands-v15 {
    padding-top: 72px;
  }
}

/* CurioVox 1.5.3 — navigation des marques et largeur éditoriale */
.brand-ribbon {
  position: relative;
  z-index: 44;
  min-height: 42px;
  padding: 0 max(32px, calc((100vw - 1600px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 62px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, .98);
}

.brand-ribbon-label {
  flex: 0 0 auto;
  color: #7c878b;
  font-size: .57rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.brand-ribbon-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
}

.brand-ribbon-link {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--ribbon-accent);
  font-size: .66rem;
}

.brand-ribbon-link i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: currentColor;
}

.brand-ribbon-link strong { font-weight: 850; }
.brand-ribbon-link small { color: #7b8487; font-size: .54rem; }
.brand-ribbon-link:hover strong,
.brand-ribbon-link:focus-visible strong { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1180px) {
  .home-v15 { --home-content-max: 1480px; }
  .home-v15 .home-fan-book { width: clamp(220px, 20vw, 285px); }
  .brand-story-card { grid-template-columns: minmax(0, 1fr) 185px; }
  .brand-story-books .book-cover { width: 130px; }
  .brand-story-books .book-cover:first-child { right: 65px; }
  .brand-story-books .book-cover:nth-child(2) { right: 30px; }
  .brand-story-books .book-cover:nth-child(3) { right: -5px; }
}

@media (max-width: 900px) {
  .brand-ribbon { justify-content: flex-start; }
  .brand-ribbon-links { justify-content: flex-start; }
  .home-v15 .home-fan-book { width: clamp(225px, 34vw, 285px); }
}

@media (max-width: 680px) {
  .brand-ribbon {
    min-height: 40px;
    padding: 0 17px;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .brand-ribbon::-webkit-scrollbar { display: none; }
  .brand-ribbon-label { display: none; }
  .brand-ribbon-links { gap: 24px; }
  .brand-ribbon-link { min-height: 39px; }
  .brand-ribbon-link small { display: none; }
  .home-v15 .home-fan-book { width: clamp(155px, 47vw, 205px); }
  .brand-story-card { grid-template-columns: 1fr; }
  .brand-story-books .book-cover { width: 110px; }
  .brand-story-books .book-cover:first-child { right: 70px; }
  .brand-story-books .book-cover:nth-child(2) { right: 32px; }
  .brand-story-books .book-cover:nth-child(3) { right: -6px; }
}

/* CurioVox 1.5.5 — cinq livres et navigation plus directe. */
.home-selection-v15 .home-six-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 1.8vw, 30px);
}

@media (min-width: 821px) and (max-width: 1180px) {
  .site-header,
  .detail-header.public-header {
    grid-template-columns: minmax(180px, 1fr) auto minmax(205px, 1fr);
    gap: 16px;
  }

  .site-header nav,
  .public-header nav {
    gap: 14px;
  }

  .site-header nav a,
  .public-header nav a {
    font-size: .76rem;
  }

  .home-selection-v15 .home-six-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-selection-v15 .home-six-grid {
    display: flex;
  }
}

/* CurioVox 1.5.6 — le catalogue devient une vraie porte d’entrée. */
.home-selection-v15 .home-selection-heading {
  margin-bottom: clamp(38px, 4vw, 55px);
  align-items: end;
}

.home-selection-v15 .home-selection-heading > div:first-child {
  max-width: 820px;
}

.home-book-tabs {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: #fff;
}

.home-book-tabs button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.home-book-tabs button:last-child { border-right: 0; }

.home-book-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.home-book-tabs button:hover:not([aria-selected="true"]) {
  background: var(--paper);
  color: var(--ink);
}

.home-book-tabs button:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.home-book-panel[hidden] { display: none !important; }

.home-catalogue-gateway {
  min-height: 126px;
  margin-top: clamp(48px, 5vw, 72px);
  padding: 24px clamp(25px, 3vw, 46px);
  display: grid;
  grid-template-columns: minmax(330px, .85fr) minmax(300px, 1.15fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 70px);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.home-catalogue-gateway:hover {
  background: #173d4c;
  transform: translateY(-2px);
}

.home-catalogue-gateway:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.home-catalogue-gateway-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.home-catalogue-gateway-intro small {
  color: #f09b82;
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-catalogue-gateway-intro strong {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.5vw, 3rem);
  font-weight: 400;
  line-height: 1.02;
}

.home-catalogue-gateway-copy {
  max-width: 680px;
  color: #d7e1e4;
  font-size: .92rem;
  line-height: 1.6;
}

.home-catalogue-gateway-action {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.65);
  background: #fff;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .home-selection-v15 .home-selection-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-catalogue-gateway {
    grid-template-columns: auto 1fr;
  }

  .home-catalogue-gateway-action {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .home-book-tabs {
    width: calc(100% + 17px);
    margin-right: -17px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-book-tabs::-webkit-scrollbar { display: none; }
  .home-book-tabs button { flex: 0 0 auto; min-height: 48px; padding-inline: 18px; }

  .home-catalogue-gateway {
    min-height: 0;
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-catalogue-gateway-action {
    grid-column: auto;
    width: 100%;
  }
}
