/* ==========================================================================
   Elaía : feuille de style principale
   Noir, blanc, papier. Une seule touche d'olive.
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--ink: #0E0E0C;
	--paper: #F4F2ED;
	--white: #FFFFFF;
	--sand: #E4E1D9;
	--stone: #BDB9AF;
	--mute: #66655F;
	--mute-light: #9A978E;
	--text-soft: #3A3934;
	--olive: #55622B;
	--line: rgba(14, 14, 12, .18);
	--line-light: rgba(244, 242, 237, .18);
	--serif: "Instrument Serif", "Times New Roman", serif;
	--sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
	--gx: clamp(20px, 3vw, 40px);
	--hh: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--admin: var(--wp-admin--admin-bar--height, 0px);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--olive); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.015em; margin: 0; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; }
.skip-link:focus { top: 12px; }

.mono { font-family: var(--mono); font-size: 12.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.muted { color: var(--mute); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--text-soft); margin: 0; max-width: 30em; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.wrap { max-width: 760px; margin-inline: auto; padding-inline: var(--gx); }
.wrap-x { max-width: 1680px; margin-inline: auto; padding-inline: var(--gx); }
.h-m { font-size: clamp(28px, 2.6vw, 40px); }
.h-l { font-size: clamp(40px, 4.6vw, 72px); line-height: .95; letter-spacing: -.02em; }
.h-xl { font-size: clamp(48px, 6vw, 96px); line-height: .9; letter-spacing: -.025em; }
.h-xxl { font-size: clamp(56px, 7vw, 112px); line-height: .88; letter-spacing: -.03em; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); margin-right: 10px; vertical-align: 1px; }
.dot--blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.empty { font-family: var(--serif); font-size: 32px; padding: 64px 0; }

.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s ease; }
.ulink:hover { background-size: 100% 1px; color: inherit; }

/* Boutons */
.btn, .wp-block-button__link, .wp-element-button, .prose .wp-block-button__link,
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, button.single_add_to_cart_button, .woocommerce-Button {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px;
	background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 0;
	font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .25s ease, transform .25s ease, color .25s ease;
}
.btn:hover, .wp-block-button__link:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, button.single_add_to_cart_button:hover { background: var(--olive); border-color: var(--olive); color: var(--paper); transform: translateY(-2px); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn .icon { width: 14px; height: 14px; }

/* Apparitions (le JS ajoute .js sur <html>) */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js [data-words] .w { opacity: .14; transition: opacity .35s ease; }
.js [data-words] .w.on { opacity: 1; }

/* En-tête ------------------------------------------------------------------ */
.site-header { position: sticky; top: var(--admin); z-index: 50; color: var(--white); mix-blend-mode: difference; pointer-events: none; }
.site-header__in { height: var(--hh); padding-inline: var(--gx); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.site-header a, .site-header button { pointer-events: auto; }
.site-header__logo { display: flex; width: max-content; }
.site-header__logo img { height: 40px; width: auto; display: block; }
.site-nav__list, .overlay__list, .site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list { display: flex; gap: clamp(16px, 1.6vw, 28px); flex-wrap: nowrap; justify-content: center; white-space: nowrap; }
.site-nav a, .site-tools .tool { color: var(--white); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s ease; }
.site-nav a:hover, .site-tools .tool:hover { background-size: 100% 1px; color: var(--white); }
.site-nav .num { opacity: .55; }
.site-tools { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.tool { border: 0; background: none; padding: 12px 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.tool--menu { display: none; }

/* Panneaux plein écran */
.overlay { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: 0 var(--gx) 40px; display: flex; flex-direction: column; overflow-y: auto; }
.overlay[hidden] { display: none; }
.overlay__bar { height: var(--hh); display: flex; justify-content: space-between; align-items: center; color: var(--mute-light); }
.overlay__bar .tool { color: var(--paper); }
.overlay__list { margin-top: 6vh; }
.overlay__list a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font: 400 clamp(44px, 11vw, 88px)/1 var(--serif); text-decoration: none; color: var(--paper); }
.overlay__list .num { font: 12px var(--mono); color: var(--mute-light); }
.overlay__foot { margin-top: auto; padding-top: 32px; }
.overlay__foot a { color: var(--paper); }
.big-search { margin-top: 14vh; display: flex; border-bottom: 1px solid var(--paper); }
.big-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--paper); font: 400 clamp(40px, 7vw, 96px)/1.1 var(--serif); padding: 12px 0; }
.big-search input::placeholder { color: rgba(244, 242, 237, .3); }
.big-search input:focus { outline: none; }
.big-search button { background: none; border: 0; color: var(--paper); cursor: pointer; width: 64px; }
.big-search button svg { width: 40px; height: 40px; }
body.is-locked { overflow: hidden; }

/* En-tête de page */
.page-head { max-width: 1680px; padding: clamp(72px, 11vw, 150px) var(--gx) clamp(40px, 5vw, 72px); }
.page-head--s { padding-bottom: 32px; }
.page-head__kicker { color: var(--mute); margin: 0 0 24px; }
.page-head__title { font-size: clamp(56px, 9vw, 150px); line-height: .88; letter-spacing: -.035em; max-width: 14ch; }
.page-head--s .page-head__title { font-size: clamp(48px, 6vw, 96px); }
.page-head__intro { margin-top: 32px; max-width: 34em; font-size: 19px; line-height: 1.6; color: var(--text-soft); }
.page-head__intro p { margin: 0 0 1em; }
.page-cover { margin: 0 auto 72px; overflow: hidden; }
.page-cover img { width: 100%; height: auto; display: block; filter: grayscale(1); transition: filter .8s ease; }
.page-cover:hover img { filter: none; }

/* Accueil : ouverture ------------------------------------------------------ */
.hero { position: relative; min-height: max(760px, 100vh); margin-top: calc(-1 * var(--hh)); padding: calc(var(--hh) + clamp(48px, 8vw, 110px)) var(--gx) 56px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; background: var(--paper); }
.hero__drop { position: absolute; left: 71.5%; top: 58%; width: clamp(40px, 4.4vw, 64px); aspect-ratio: 64 / 84; z-index: 0; }
.hero__drop::before { content: ""; position: absolute; left: 50%; top: 50%; width: 4600%; height: 4600%; margin: -2300% 0 0 -2300%; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: var(--ink); transform: rotate(18deg) scale(var(--s, .0217)); }
.hero__top, .hero__bottom { position: relative; z-index: 1; color: var(--white); mix-blend-mode: difference; }
.hero__kicker { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin: 0 0 clamp(28px, 4vw, 48px); }
.hero__title { font-size: clamp(64px, 11.5vw, 184px); line-height: .86; letter-spacing: -.035em; }
.hero__line { display: block; }
.hero__line--in { padding-left: 12vw; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 64px; }
.hero__text { max-width: 26em; margin: 0; font-size: 18px; }
.hero__scroll { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.hero__scroll:hover { color: var(--white); }
.hero__scroll svg { animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* Manifeste */
.manifesto { background: var(--ink); color: var(--paper); padding: clamp(96px, 12vw, 160px) 0; position: relative; z-index: 1; }

.manifesto__kicker { color: var(--mute-light); margin: 0 0 48px; }
.manifesto__text { font: 400 clamp(36px, 5.2vw, 80px)/1.08 var(--serif); letter-spacing: -.015em; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; margin: clamp(64px, 9vw, 110px) 0 0; padding-top: 32px; border-top: 1px solid var(--line-light); }
.facts dt { color: var(--mute-light); }
.facts dd { margin: 12px 0 0; font: 400 clamp(30px, 3vw, 40px)/1.1 var(--serif); }
.facts .facts__big { font-size: 64px; line-height: 1; }

/* Étagère */
.shelf { position: relative; padding: clamp(80px, 9vw, 120px) 0; }
.shelf__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 0 var(--gx) 40px; }
.shelf__links { display: flex; align-items: center; gap: 32px; }
.shelf__hint { color: var(--mute); }
.shelf__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gx); scrollbar-width: none; }
.shelf__viewport::-webkit-scrollbar { display: none; }
.shelf__track { list-style: none; margin: 0; padding: 0 var(--gx); display: flex; gap: clamp(24px, 3vw, 44px); width: max-content; }
.shelf__track > li { width: clamp(240px, 24vw, 340px); scroll-snap-align: start; }
.shelf__progress { margin: 48px var(--gx) 0; height: 1px; background: var(--line); }
.shelf__progress span { display: block; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.shelf.is-pinned { padding: 0; }
.shelf.is-pinned .shelf__sticky { position: sticky; top: var(--admin); height: calc(100vh - var(--admin)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--hh); }
.shelf.is-pinned .shelf__viewport { overflow: visible; }
.shelf.is-pinned .shelf__track { will-change: transform; }
.shelf.is-pinned .shelf__track > li { width: clamp(190px, calc((100vh - var(--admin) - 400px) / 1.5), 320px); }
.shelf.is-pinned .shelf__head { padding-bottom: 28px; }
.shelf.is-pinned .book-card__top { margin-bottom: 20px; }

/* Carte livre */
.book-card { list-style: none; }
.book-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.book-card__link:hover { color: var(--ink); }
.book-card__top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
.book-card__cover { position: relative; aspect-ratio: 2 / 3; display: block; overflow: hidden; background: var(--sand); box-shadow: 0 30px 44px -30px rgba(14, 14, 12, .55); border-radius: 1px 3px 3px 1px; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.book-card__cover .cover-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; transition: transform 1.1s var(--ease); }
.book-card__cover .cover-ph { box-shadow: none; }
.book-card__link:hover .book-card__cover { transform: translateY(-12px); box-shadow: 0 44px 54px -30px rgba(14, 14, 12, .6); }
.book-card__link:hover .book-card__cover .cover-img { transform: scale(1.045); }
.cover-img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 26px 26px rgba(14, 14, 12, .3)); }
.book-card__flag { position: absolute; z-index: 1; top: 12px; left: 12px; background: var(--ink); color: var(--paper); padding: 4px 10px; }
.book-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 24px; }
.book-card__title { display: block; font: 400 clamp(24px, 2vw, 28px)/1.05 var(--serif); }
.book-card__author { display: block; color: var(--mute); font-size: 15px; margin-top: 6px; }
.book-card__price { text-align: right; font-weight: 600; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.book-card__amount { display: block; }
.book-card__price del { color: var(--mute); font-weight: 400; }
.book-card__price ins { text-decoration: none; }
.book-card__arrow { transition: transform .4s ease; }
a:hover .book-card__arrow { transform: translateX(8px); }
.cover-ph { width: 100%; height: 100%; background: var(--ink); color: var(--paper); padding: 9% 10%; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 50px -28px rgba(14, 14, 12, .6); border-radius: 1px 4px 4px 1px; transition: transform .7s var(--ease); }
.cover-ph__t { font: 400 clamp(26px, 2.6vw, 38px)/.95 var(--serif); }
.book-grid, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 64px 36px; }
ul.products::before, ul.products::after { display: none; }

/* Collections */
.collections { background: var(--white); border-top: 1px solid var(--ink); }
.collections__in { padding: clamp(96px, 10vw, 140px) var(--gx); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 64px; align-items: start; max-width: 1680px; margin: auto; }
.collections__preview { position: sticky; top: calc(var(--hh) + var(--admin) + 24px); }
.collections__name { font: italic 400 clamp(56px, 6vw, 96px)/.9 var(--serif); letter-spacing: -.02em; margin: 24px 0 0; }
.collections__desc { font-size: 19px; line-height: 1.6; color: var(--text-soft); max-width: 24em; margin: 28px 0 32px; min-height: 5em; }
.collections__preview .row a { color: var(--ink); }
.collections__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.coll { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.coll__name { font: 400 clamp(44px, 5.4vw, 84px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--ink); transition: color .35s ease, transform .5s var(--ease); display: inline-block; }
.coll:hover, .coll:focus-visible { color: var(--ink); }
.coll:hover .coll__name, .coll:focus-visible .coll__name, .coll.is-active .coll__name { color: var(--ink); transform: translateX(28px); }

/* Défilant */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 30px 0; }
.marquee__track { display: flex; width: max-content; gap: 56px; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee__track span { display: flex; align-items: center; gap: 56px; font: italic 400 56px/1 var(--serif); }
@keyframes marquee { to { transform: translateX(-50%); } }
.drop-mini { display: inline-block; width: 14px; height: 18px; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: currentColor; transform: rotate(18deg); }

/* Box */
.boxes { padding-block: clamp(96px, 10vw, 130px) clamp(80px, 9vw, 120px); }
.split-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.split-head--end { display: flex; justify-content: space-between; flex-wrap: wrap; }
.box-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.box-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 340px; height: 100%; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; color: var(--ink); transition: background .35s ease, color .35s ease; }
.box-card:hover { background: var(--ink); color: var(--paper); }
.box-card:hover .muted { color: var(--mute-light); }
.box-card__books { display: flex; gap: 8px; align-items: flex-end; justify-content: center; height: 120px; transition: transform .6s var(--ease); }
.box-card:hover .box-card__books { transform: translateY(-10px) rotate(-3deg); }
.box-card__books i { width: 52px; height: 80px; background: currentColor; border-radius: 1px 3px 3px 1px; }
.box-card__books i + i { height: 100px; background: transparent; border: 1px solid currentColor; }
.box-card__name { display: block; font: 400 32px/1 var(--serif); }
.box-card__price { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-weight: 600; }

/* Journal, listes */
.journal { padding-block: clamp(96px, 10vw, 120px); border-top: 1px solid var(--ink); max-width: none; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row-link { display: grid; grid-template-columns: 120px minmax(0, 1fr) 200px 32px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.row-link:hover { color: var(--ink); }
.row-link__title { font: 400 clamp(26px, 2.6vw, 40px)/1.1 var(--serif); transition: transform .5s var(--ease); }
.row-link:hover .row-link__title { transform: translateX(12px); }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin: 64px 0 0; }
.pagination .page-numbers, .woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.pagination .current, .woocommerce-pagination .page-numbers .current { background: var(--ink); color: var(--paper); }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 64px 0 0; border: 0; }
.woocommerce-pagination li { border: 0 !important; }

/* Catalogue */
.catalog { padding-bottom: clamp(80px, 9vw, 120px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); text-decoration: none; color: var(--ink); transition: background .25s, color .25s; }
.chips a:hover, .chips a[aria-current] { background: var(--ink); color: var(--paper); }
.catalog__tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.catalog__tools .woocommerce-result-count { margin: 0; color: var(--mute); }
.woocommerce-ordering select, .catalog__tools select { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .18em; background: transparent; border: 1px solid var(--ink); border-radius: 0; padding: 0 36px 0 14px; height: 44px; color: var(--ink); }
.woocommerce-ordering { margin: 0; }
.catalog__tools .woocommerce-notices-wrapper { flex-basis: 100%; }

/* Page collections */
.coll-page { padding-bottom: 120px; }
.coll-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; padding: 64px 0; border-top: 1px solid var(--ink); align-items: center; }
.coll-block h2 a { text-decoration: none; }
.coll-block .lead { margin: 24px 0 32px; }
.coll-block .lead p { margin: 0 0 1em; }
.coll-block__covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: end; }
.coll-block__cover { display: block; aspect-ratio: 2 / 3; transition: transform .6s var(--ease); }
.coll-block__cover:nth-child(2) { transform: translateY(-24px); }
.coll-block__cover:hover { transform: translateY(-36px) rotate(-1.5deg); }

/* Fiche livre ----------------------------------------------------------------- */
.product-page { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); align-items: start; margin-top: calc(-1 * var(--hh)); }
.product-page__visual { position: sticky; top: var(--admin); height: calc(100vh - var(--admin)); min-height: 640px; background: var(--ink); color: var(--paper); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(var(--hh) + 24px) var(--gx) 96px; }
.product-page__ghost { position: absolute; left: -4%; top: 10%; font: italic 400 clamp(220px, 34vw, 560px)/.8 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(244, 242, 237, .14); white-space: nowrap; pointer-events: none; will-change: transform; }
.product-page__cover { position: relative; width: min(56%, 400px); aspect-ratio: 2 / 3; display: flex; align-items: flex-end; animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
.tilt { width: 100%; height: 100%; display: flex; align-items: flex-end; transition: transform .9s var(--ease); }
.tilt:hover { transform: perspective(1400px) rotateY(-16deg) rotateX(5deg); }
.product-page__cover .cover-img { filter: drop-shadow(0 50px 50px rgba(0, 0, 0, .7)); }
.product-page__cover .cover-ph { background: var(--sand); color: var(--ink); }
.product-page__thumbs { position: absolute; left: var(--gx); right: var(--gx); bottom: 28px; display: flex; gap: 10px; }
.thumb { width: 56px; height: 56px; padding: 0; border: 1px solid rgba(244, 242, 237, .25); background: none; cursor: pointer; overflow: hidden; }
.thumb[aria-pressed="true"] { border-color: var(--paper); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-page__info { padding: calc(var(--hh) + clamp(48px, 6vw, 80px)) clamp(20px, 4vw, 56px) 120px; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--mute); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.product-page__title { font-size: clamp(52px, 6.2vw, 104px); line-height: .9; letter-spacing: -.025em; margin: 40px 0 24px; }
.product-page__author { font-size: 19px; margin: 0; }
.product-page__price { font: 400 48px/1 var(--serif); margin: 48px 0 0; }
.formats { margin-top: 56px; border-top: 1px solid var(--ink); }
.format { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 80px; padding: 12px 4px; border-bottom: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.format:hover { color: var(--ink); background: rgba(14, 14, 12, .04); }
.format__radio { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.format.is-current .format__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.format__name { display: block; font-weight: 600; font-size: 17px; }
.format__price { font: 400 30px/1 var(--serif); text-align: right; }
.format__price del { font-size: 20px; color: var(--mute); }
.format__price ins { text-decoration: none; }
.product-page__buy { margin-top: 24px; }
.product-page__stock { margin: 0 0 24px; color: var(--text-soft); }
.product-page__stock .stock, .product-page__buy p.stock { display: none; }
.product-page__trust { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0; }

form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
form.cart.variations_form { display: block; }
form.cart .quantity { display: flex; }
form.cart .quantity .qty, .woocommerce .quantity .qty { width: 88px; height: 60px; border: 1px solid var(--ink); border-radius: 0; background: transparent; text-align: center; font: 600 17px var(--sans); color: var(--ink); }
button.single_add_to_cart_button { flex: 1 1 240px; min-height: 60px; font-size: 16px; }
button.single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }
.variations { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.variations th, .variations td { display: block; text-align: left; padding: 0; }
.variations th label { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--mute); }
.variations td { padding: 8px 0 16px; }
.variations select { width: 100%; height: 56px; border: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 0 16px; font: 16px var(--sans); color: var(--ink); }
.reset_variations { font: 12px var(--mono); text-transform: uppercase; margin-left: 8px; }
.single_variation_wrap { display: flex; flex-direction: column; gap: 16px; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.woocommerce-variation-price .price { font: 400 40px/1 var(--serif); }

.product-page__desc { margin-top: 110px; }
.product-page__desc > .mono { margin: 0 0 28px; }
.prose--book > :first-child::first-letter { font-family: var(--serif); float: left; font-size: 104px; line-height: .78; padding: 8px 14px 0 0; }
.prose--book > div { margin-bottom: .5em; }
.pullquote { font: 400 clamp(44px, 5vw, 80px)/.98 var(--serif); letter-spacing: -.02em; margin: 64px 0 !important; }
.specs { margin: 96px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); border-top: 1px solid var(--ink); }
.specs dt, .specs dd { padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.specs dt { color: var(--mute); display: flex; align-items: center; }
.related { padding-block: clamp(96px, 10vw, 130px); border-top: 1px solid var(--ink); max-width: none; }

/* Contenu éditorial (pages, articles, blocs) ------------------------------------ */
.prose { padding-bottom: clamp(80px, 10vw, 140px); font-size: 18px; line-height: 1.75; }
.prose > * { margin-block: 0 1.2em; }
.prose h2 { font-size: clamp(36px, 4vw, 56px); margin: 1.6em 0 .6em; }
.prose h3 { font-size: clamp(28px, 3vw, 40px); margin: 1.4em 0 .5em; }
.prose h4, .prose h5, .prose h6 { font: 500 12px/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin: 2em 0 1em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote, .prose .wp-block-quote { margin: 2em 0; padding: 0; border: 0; font: italic 400 clamp(30px, 3vw, 44px)/1.15 var(--serif); }
.prose img { height: auto; }
.prose figure { margin: 2em 0; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--ink); margin: 3em 0; opacity: 1; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; vertical-align: top; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.prose .wp-block-details { border-top: 1px solid var(--ink); padding: 0; margin: 0; }
.prose .wp-block-details:last-of-type { border-bottom: 1px solid var(--ink); margin-bottom: 2em; }
.prose .wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); }
.prose .wp-block-details summary::-webkit-details-marker { display: none; }
.prose .wp-block-details summary::after { content: "+"; font: 300 32px/1 var(--sans); transition: transform .3s ease; flex-shrink: 0; }
.prose .wp-block-details[open] summary::after { transform: rotate(45deg); }
.prose .wp-block-details > :not(summary) { margin: 0 0 1em; }
.prose .wp-block-details[open] { padding-bottom: 16px; }

/* Grilles larges dans les pages : auteurs, presse, plan du salon */
.prose .alignwide, .prose .alignfull, .prose .elaia-authors, .prose .elaia-press-list, .prose > .elaia-plan, .prose .wp-block-html > .elaia-plan {
	width: min(1500px, calc(100vw - 2 * var(--gx))); max-width: none; margin-left: 50%; transform: translateX(-50%);
}
.prose .alignfull { width: 100vw; }
.elaia-authors, .elaia-press-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 72px 40px; margin-block: 56px 0 !important; }
.elaia-author, .elaia-press { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 24px; }
.elaia-author > *, .elaia-press > * { margin: 0 0 .8em; }
.elaia-author figure, .elaia-press figure { margin: 0 0 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.elaia-press figure { aspect-ratio: 4 / 3; }
.elaia-author img, .elaia-press img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transition: filter .8s ease, transform 1.2s var(--ease); }
.elaia-author:hover img, .elaia-press:hover img { filter: none; transform: scale(1.04); }
.elaia-author h3 { font-size: 40px; margin: 0 0 6px; }
.elaia-author h3 + p { font: italic 400 22px/1.2 var(--serif); color: var(--text-soft); }
.elaia-author .wp-block-buttons { margin: .4em 0 1em; }
.elaia-author .wp-block-button__link { min-height: 44px; padding: 0 18px; background: transparent; color: var(--ink); font-size: 14px; }
.elaia-author .wp-block-button__link:hover { background: var(--ink); color: var(--paper); }
.elaia-author p { font-size: 16px; line-height: 1.65; }
.elaia-press h2 { font: 500 12px/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.elaia-press h2 a { color: var(--ink); }
.elaia-press p { font: 400 26px/1.2 var(--serif); }

/* Pages panier, commande, compte */
.flow-content { padding-bottom: 120px; }
.is-shop-flow .wc-block-components-button:not(.is-link), .is-shop-flow .wc-block-cart__submit-button, .is-shop-flow .wc-block-components-checkout-place-order-button { background: var(--ink) !important; color: var(--paper) !important; border-radius: 0 !important; min-height: 56px; }
.is-shop-flow .wc-block-components-text-input input, .is-shop-flow .wc-block-components-combobox .components-combobox-control__input, .is-shop-flow .wc-block-components-select select, .is-shop-flow .wc-block-components-textarea { border-radius: 0 !important; }
.is-shop-flow .wc-block-components-title, .is-shop-flow .wc-block-cart__totals-title { font-family: var(--mono) !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .18em; }
.is-shop-flow .wc-block-components-product-name { font-family: var(--serif); font-size: 24px; text-decoration: none; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 56px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.woocommerce-MyAccount-navigation a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 12px var(--mono); text-transform: uppercase; letter-spacing: .18em; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--olive); }
.woocommerce form .form-row { margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.woocommerce form .form-row label { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--mute); }
.woocommerce form .input-text, .woocommerce form select, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .search-form input[type="search"] {
	width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); font: 16px var(--sans); color: var(--ink);
}
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; margin: 0 0 32px; padding: 18px 22px; border: 1px solid var(--ink); background: var(--white); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.woocommerce-error { border-color: #8A1F1F; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 44px; order: 2; }
.woocommerce-notices-wrapper:empty { display: none; }
.single-product .woocommerce-notices-wrapper { position: fixed; left: var(--gx); right: var(--gx); bottom: 24px; z-index: 60; max-width: 720px; margin-inline: auto; }
.single-product .woocommerce-notices-wrapper .woocommerce-message { box-shadow: 0 24px 50px -20px rgba(14, 14, 12, .5); margin: 0; }

/* Recherche, commentaires, divers */
.search-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.search-form input[type="search"] { flex: 1 1 260px; }
.comments { padding-bottom: 120px; }
.comment-list { list-style: none; padding: 0; margin: 32px 0 56px; }
.comment-list li { border-top: 1px solid var(--line); padding: 24px 0; }
.comment-meta { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--mute); }
.comment-form p { margin: 0 0 18px; }
.comment-form label { display: block; font: 12px var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--mute); margin-bottom: 6px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 64px; }
.post-nav a { text-decoration: none; }

/* Pied de page ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #C9C6BC; padding: clamp(72px, 8vw, 96px) var(--gx) 40px; position: relative; z-index: 1; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.site-footer__lead { font: 400 clamp(32px, 3.4vw, 52px)/1.05 var(--serif); color: var(--paper); margin: 0; max-width: 14em; }
.site-footer__action .btn--light { color: var(--ink); }
.site-footer__action .btn--light:hover { text-decoration: none; color: var(--ink); }
.site-footer__form { min-width: min(100%, 420px); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; padding: 64px 0 80px; }
.site-footer__h { color: var(--mute-light); margin: 0 0 18px; }
.site-footer__list li { margin-bottom: 12px; }
.site-footer__logo { width: 100%; height: auto; display: block; }
.site-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 40px; color: var(--mute-light); }

/* Petits écrans ------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.site-nav { display: none; }
	.tool--menu { display: inline-block; }
	.site-header__in { grid-template-columns: auto 1fr; }
	.row-link { grid-template-columns: 1fr 32px; gap: 8px 16px; }
	.row-link > .mono { grid-column: 1; }
	.row-link > .mono:last-of-type { display: none; }
	.row-link__title { grid-column: 1; }
	.row-link .book-card__arrow { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 820px) {
	:root { --hh: 72px; }
	body { font-size: 16px; }
	.site-header__logo img { height: 32px; }
	.tool--hide-s { display: none; }
	.site-tools { gap: 16px; }
	.hero { min-height: 92vh; }
	.hero__line--in { padding-left: 0; }
	.hero__drop { left: 80%; top: 52%; }
	.hero__art { display: none; }
	.collections__preview { position: static; }
	.collections__desc { min-height: 0; }
	.product-page__visual { position: relative; height: auto; min-height: 0; padding: calc(var(--hh) + 32px) var(--gx) 96px; }
	.product-page__cover { width: min(64%, 320px); }
	.specs { grid-template-columns: 1fr 1.4fr; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 32px; }
	.coll-block__covers { gap: 12px; }
	.marquee__track span { font-size: 40px; gap: 40px; }

}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.js [data-words] .w { opacity: 1; }
}

@media print {
	.site-header, .site-footer, .overlay, .shelf__progress, .marquee { display: none !important; }
	body { background: #fff; }
}

/* ==========================================================================
   v1.1 : composition de l'ouverture, fondateurs, précommande, rencontres, panier
   ========================================================================== */

/* Panier dans l'en-tête */
.tool--cart { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; background: none !important; }
.tool--cart .icon { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.tool--cart:hover .icon { transform: translateY(-2px) rotate(-6deg); }
.elaia-cart-count { font: 500 12px/1 var(--mono); letter-spacing: .04em; min-width: 20px; height: 20px; padding: 0 6px; border: 1px solid currentColor; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.tool--cart.is-bump .icon { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } }

/* Ouverture : composition à droite */
.hero__art { position: absolute; right: max(2.5vw, 16px); top: calc(var(--hh) + clamp(120px, 14vh, 190px)); width: min(40vw, 700px); aspect-ratio: 1; z-index: 0; pointer-events: none; }
.hero__art svg { width: 100%; height: 100%; overflow: visible; }
.art-layer { transition: transform 1.2s var(--ease); }
.art-line { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.art-dash { stroke-dasharray: 2 7; opacity: .55; }
.art-fill { fill: var(--ink); }
.art-ring-text { font: 400 13px var(--mono); letter-spacing: .42em; fill: var(--ink); text-transform: uppercase; }
.art-spin, .art-orbit, .art-breathe, .art-leaf, .art-olive { transform-box: fill-box; }
.art-spin { transform-origin: 300px 300px; transform-box: view-box; animation: spin 90s linear infinite; }
.art-orbit { transform-origin: 300px 300px; transform-box: view-box; animation: spin 26s linear infinite; }
.art-orbit--slow { animation-duration: 48s; animation-direction: reverse; }
.art-breathe { transform-origin: center; animation: breathe 9s ease-in-out infinite; }
.art-leaf { transform-origin: left center; animation: sway 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.art-leaf--fill { fill: var(--ink); }
.art-leaf.art-line { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s var(--ease) forwards, sway 6s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 1.6s); }
.art-draw { stroke-dasharray: 720; stroke-dashoffset: 720; animation: draw 2.4s var(--ease) .2s forwards; }
.art-olive { transform-origin: center; animation: olive 7s ease-in-out infinite; }
.art-olive--b { animation-delay: -3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: rotate(18deg) scale(1.06); } 0%, 100% { transform: rotate(18deg) scale(1); } }
@keyframes sway { 50% { transform: rotate(7deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes olive { 50% { transform: rotate(18deg) translateY(5px); } 0%, 100% { transform: rotate(18deg) translateY(0); } }
.art-breathe { transform: rotate(18deg); }

/* Bandeau noir : texte et fondateurs côte à côte */
.manifesto__in { max-width: 1500px; margin: 0 auto; padding: 0 var(--gx); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.manifesto .manifesto__text { font-size: clamp(34px, 3.7vw, 64px); line-height: 1.1; }
.manifesto__fact { display: flex; align-items: baseline; gap: 16px; margin: clamp(48px, 6vw, 80px) 0 0; padding-top: 28px; border-top: 1px solid var(--line-light); }
.manifesto__num { font: 400 clamp(64px, 6vw, 96px)/.85 var(--serif); }
.manifesto__fact .mono { color: var(--mute-light); }
.founders { margin: 0; position: relative; --p: 0; }
.founders__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.founders__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 14, 12, .85), rgba(14, 14, 12, 0) 45%); pointer-events: none; }
.founders__photo { position: absolute; inset: -8% 0; }
.founders__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(calc(1 - var(--p))) contrast(1.04); transition: filter .3s linear; }
.founders::before { content: ""; position: absolute; top: -18px; left: -18px; width: 60%; height: 60%; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); pointer-events: none; }
.founders figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.founders__name { font: italic 400 clamp(40px, 3.8vw, 60px)/.95 var(--serif); }
.founders__role { color: #C9C6BC; }

/* Précommande : fumée et étincelles */
.preorder { position: relative; overflow: hidden; background: #0A0A09; color: var(--paper); padding: clamp(80px, 9vw, 120px) 0 clamp(96px, 10vw, 140px); isolation: isolate; }
.preorder__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.preorder__glow { position: absolute; left: 10%; right: 40%; bottom: -30%; height: 70%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 120, 40, .22), rgba(255, 80, 20, .06) 60%, transparent); animation: glow 5s ease-in-out infinite; pointer-events: none; }
@keyframes glow { 50% { opacity: .55; transform: scale(1.06); } }
.preorder__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin: 0; max-width: none; color: #C9C6BC; }
.preorder__bar .dot { background: #FF8A3D; box-shadow: 0 0 12px #FF8A3D; }
.preorder__count { font: 400 clamp(96px, 22vw, 360px)/.82 var(--serif); letter-spacing: -.04em; white-space: nowrap; margin: 36px 0 0; padding-left: var(--gx); font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1px rgba(244, 242, 237, .55); will-change: transform; }
.preorder__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: none; margin-top: clamp(-160px, -9vw, -40px); position: relative; }
.preorder__cover { display: block; position: relative; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.preorder__cover img { width: 100%; height: auto; display: block; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .75)) drop-shadow(0 0 50px rgba(255, 130, 50, .18)); animation: floaty 8s ease-in-out infinite; }
.preorder__units { color: var(--mute-light); margin: 0 0 20px; }
.preorder__author { font-size: 19px; margin: 18px 0 28px; color: #E4E1D9; }
.preorder__text .lead { color: #C9C6BC; margin-bottom: 32px; }
.preorder__meta { color: var(--mute-light); }
.preorder .btn--light:hover { background: #FF8A3D; border-color: #FF8A3D; color: var(--ink); }

/* Rencontres et dédicaces */
.shelf--events { border-top: 1px solid var(--ink); }
.shelf__lead { margin-top: 20px; }
.event-card { width: clamp(250px, 22vw, 320px); list-style: none; flex-shrink: 0; scroll-snap-align: start; }
.shelf.is-pinned .shelf__track > li.event-card { width: clamp(240px, 22vw, 310px); }
.event-card__in { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); height: 100%; }
a.event-card__in:hover { color: var(--ink); }
.event-card__photo { position: relative; width: 78%; height: auto; aspect-ratio: 1 / 1; margin: 8px auto 28px; display: block; flex-shrink: 0; }
.event-card__photo img, .event-card__initials { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: center 30%; display: flex; align-items: center; justify-content: center; transition: transform 1s var(--ease); }
.event-card__date { z-index: 5; }
.event-card__photo.is-group::after { inset: -14px; }
.event-card__photo.is-group .face { position: absolute; display: block; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px var(--paper); transition: transform .8s var(--ease); }
.event-card__photo.is-group .face img, .event-card__photo.is-group .face .event-card__initials { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border-radius: 50%; }
.event-card__photo.is-group .event-card__initials { font-size: 64px; }
.is-group.n2 .face--1 { width: 64%; left: -2%; top: 2%; z-index: 1; }
.is-group.n2 .face--2 { width: 64%; right: -2%; bottom: 2%; }
.is-group.n3 .face--1 { width: 52%; left: 0; top: 6%; z-index: 2; }
.is-group.n3 .face--2 { width: 50%; right: 2%; top: 0; z-index: 1; }
.is-group.n3 .face--3 { width: 50%; left: 16%; bottom: -2%; z-index: 3; }
.event-card:hover .is-group.n2 .face--1, .event-card:hover .is-group.n3 .face--1 { transform: translate(-6px, -6px); }
.event-card:hover .is-group.n2 .face--2, .event-card:hover .is-group.n3 .face--2 { transform: translate(6px, 4px); }
.event-card:hover .is-group.n3 .face--3 { transform: translateY(6px); }
.event-card:hover .is-group .face img { filter: none; }
.event-card__name--multi { display: flex; flex-direction: column; gap: 2px; font-size: clamp(24px, 2vw, 30px); line-height: 1.05; }
.event-card__name--multi em { font-style: italic; color: var(--mute); }
.event-card__date.is-multi { width: 112px; height: 112px; right: -9%; }
.event-card__date.is-multi .event-card__day { font-size: 34px; letter-spacing: -.02em; }
.event-card__initials { background: var(--ink); color: var(--paper); font: italic 400 96px/1 var(--serif); filter: none; }
.event-card:hover .event-card__photo img { filter: none; transform: scale(1.03); }
.event-card__photo::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(14, 14, 12, .35); animation: spin 40s linear infinite; }
.event-card__date { position: absolute; right: -6%; bottom: 2%; width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: 0 16px 30px -12px rgba(14, 14, 12, .5); }
.event-card__day { font: 400 44px/.9 var(--serif); }
.event-card__date .mono { font-size: 10px; letter-spacing: .14em; }
.event-card__name { font: 400 clamp(28px, 2.4vw, 36px)/1 var(--serif); margin-bottom: 18px; }
.event-card__rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.event-card__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.event-card__row .mono { font-size: 11px; padding-top: 2px; }

/* Devenir auteur */
.author-band { background: var(--ink); color: var(--paper); }
.author-band__in { padding-block: clamp(96px, 11vw, 150px); display: flex; flex-direction: column; gap: 40px; max-width: none; }
.author-band .mono { color: var(--mute-light); margin: 0; }
.author-band h2 { max-width: 15ch; font-size: clamp(64px, 8.6vw, 150px); }
.author-band__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.author-band .lead { color: #C9C6BC; }

/* Panneau panier */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(14, 14, 12, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .45s ease; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--paper); color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .6s var(--ease); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 0 28px; height: var(--hh); border-bottom: 1px solid var(--ink); flex-shrink: 0; }
.drawer__h { font: 400 34px/1 var(--serif); margin: 0; }
.elaia-drawer-body { flex: 1; display: flex; flex-direction: column; min-height: 0; transition: opacity .25s ease; }
.elaia-drawer-body.is-busy { opacity: .45; pointer-events: none; }
.drawer__items { list-style: none; margin: 0; padding: 0 28px; overflow-y: auto; flex: 1; }
.drawer__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; animation: itemIn .5s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateX(20px); } }
.drawer__thumb { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--sand); }
.drawer__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drawer__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.drawer__title { font: 400 22px/1.1 var(--serif); text-decoration: none; }
.drawer__info .mono { font-size: 11px; }
.drawer__qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); width: max-content; margin-top: 8px; }
.drawer__qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.drawer__qty button:disabled { opacity: .3; cursor: default; }
.drawer__qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.drawer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.drawer__price { font-weight: 600; white-space: nowrap; }
.drawer__remove { border: 0; background: none; padding: 4px 0; cursor: pointer; color: var(--mute); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.drawer__remove:hover { color: var(--ink); }
.drawer__foot { padding: 24px 28px 28px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; background: var(--paper); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font: 400 30px/1 var(--serif); }
.drawer__note { margin: 0 0 10px; font-size: 11px; }
.drawer__cta { width: 100%; }
.drawer__empty { padding: 48px 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.drawer__empty-t { font: 400 44px/1 var(--serif); margin: 0; }

@media (max-width: 1080px) {
	.preorder__body { grid-template-columns: 1fr; margin-top: 24px; }
	.preorder__cover { max-width: 560px; }
}
@media (max-width: 820px) {
	.manifesto__in { grid-template-columns: 1fr; }
	.founders { max-width: 480px; }
	.founders::before { top: -10px; left: -10px; }
	.preorder__count { font-size: 21vw; }
	.drawer__item { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; }
	.drawer__head, .drawer__items, .drawer__foot { padding-left: 20px; padding-right: 20px; }
}

/* ==========================================================================
   Paiement
   ========================================================================== */
.site-nav--co { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 0; color: var(--white); }
.site-nav--co .icon { width: 16px; height: 16px; }
.site-footer--co { padding: 32px var(--gx); }
.site-footer--co .site-footer__legal { padding-top: 0; }
.woocommerce-checkout .flow-content { max-width: 1440px; }

.co-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); }
.co-head__kicker { display: flex; align-items: center; gap: 10px; color: var(--mute); margin: 0 0 20px; }
.co-head__kicker .icon { width: 16px; height: 16px; }
.co-head__title { font-size: clamp(52px, 7vw, 112px); line-height: .9; letter-spacing: -.03em; }
.co-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 36px 0 0; padding: 0; color: var(--mute); }
.co-steps li { display: flex; align-items: center; }
.co-steps li + li::before { content: ""; width: clamp(24px, 5vw, 72px); height: 1px; background: var(--line); margin: 0 16px; }
.co-steps .is-done a { color: var(--mute); text-decoration: line-through; text-decoration-thickness: 1px; }
.co-steps .is-current { color: var(--ink); }

/* Code promo, connexion */
.co-pre .woocommerce-form-coupon-toggle .woocommerce-info, .co-pre .woocommerce-form-login-toggle .woocommerce-info { border: 0; background: none; padding: 0 0 12px; margin: 0; display: block; font-size: 15px; color: var(--text-soft); }
.co-pre .woocommerce-info a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.co-pre form.checkout_coupon, .co-pre form.woocommerce-form-login { border: 1px solid var(--ink); background: var(--white); padding: 24px; margin: 8px 0 24px; max-width: 640px; }
.co-pre form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.co-pre form.checkout_coupon > p:first-child { flex-basis: 100%; margin: 0; color: var(--mute); font-size: 15px; }
.co-pre form.checkout_coupon .form-row { flex: 1 1 220px; margin: 0; }
.co-pre form.checkout_coupon .form-row-last { flex: 0 0 auto; }
.co-pre .clear { display: none; }

/* Mise en page */
form.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: clamp(40px, 6vw, 96px); align-items: start; padding-bottom: 80px; }
.co > .woocommerce-NoticeGroup, .co > .woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; }
.co__main { min-width: 0; }
.co-step { border-top: 1px solid var(--ink); padding: 36px 0 48px; }
.co-step__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.co-step__num { font: 400 13px var(--mono); letter-spacing: .2em; color: var(--mute); }
.co-step__title { font-size: clamp(32px, 3vw, 44px); }
.co-step h3 { font: 400 12.5px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin: 32px 0 16px; }
.woocommerce-billing-fields > h3 { display: none; }

/* Champs */
.co .woocommerce-billing-fields__field-wrapper, .co .woocommerce-shipping-fields__field-wrapper, .co .woocommerce-additional-fields__field-wrapper, .co .woocommerce-account-fields .create-account + div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.co .form-row { margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; grid-column: 1 / -1; }
.co .form-row-first { grid-column: 1; }
.co .form-row-last { grid-column: 2; }
.co .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { font: 400 12px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.co .form-row .required { color: var(--olive); text-decoration: none; border: 0; }
.co .form-row .optional { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.co .input-text, .co select, .co textarea, .co .select2-container .select2-selection--single {
	width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid rgba(14, 14, 12, .3); border-radius: 0; background: var(--white); font: 16px var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.co textarea { min-height: 110px; resize: vertical; }
.co .input-text:focus, .co select:focus, .co textarea:focus, .co .select2-container--focus .select2-selection--single, .co .select2-container--open .select2-selection--single { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(85, 98, 43, .18); }
.co .select2-container .select2-selection--single { display: flex; align-items: center; height: 56px; }
.co .select2-container .select2-selection__rendered { padding: 0 !important; line-height: 1.4 !important; color: var(--ink) !important; }
.co .select2-container .select2-selection__arrow { height: 54px !important; right: 10px !important; }
.select2-dropdown { border-radius: 0 !important; border-color: var(--ink) !important; font-family: var(--sans); }
.select2-results__option--highlighted { background: var(--ink) !important; }
.co .woocommerce-invalid .input-text, .co .woocommerce-invalid select, .co .woocommerce-invalid .select2-selection { border-color: #8A1F1F; }
.co .description { font-size: 13px; color: var(--mute); }
.co input[type="checkbox"], .co input[type="radio"] { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.co label.checkbox, .co .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 12px; font: 400 16px var(--sans); color: var(--ink); text-transform: none; letter-spacing: 0; cursor: pointer; }
.co #ship-to-different-address { margin: 8px 0 20px; font: inherit; }
.co #ship-to-different-address label { font-size: 16px; }
.co .woocommerce-additional-fields > h3 { margin-top: 24px; }

/* Livraison */
.elaia-ship { margin-bottom: 8px; }
.elaia-ship__table { width: 100%; border-collapse: collapse; }
.elaia-ship__table th { display: none; }
.elaia-ship__table td { padding: 0; display: block; }
.elaia-ship #shipping_method { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.elaia-ship #shipping_method li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid rgba(14, 14, 12, .25); background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s; flex-wrap: wrap; }
.elaia-ship #shipping_method li:has(input:checked), .elaia-ship #shipping_method li:only-child { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.elaia-ship #shipping_method li label { flex: 1; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; cursor: pointer; }
.elaia-ship #shipping_method li label .amount { font-weight: 600; }
.elaia-ship .woocommerce-shipping-destination, .elaia-ship .woocommerce-shipping-contents { font-size: 14px; color: var(--mute); margin: 8px 0 0; }
.elaia-ship__wait { margin: 0 0 12px; font-size: 15px; }

/* Paiement */
.co-pay { background: none; border-radius: 0; }
.co-methods { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.co-methods > li.wc_payment_method { border: 1px solid rgba(14, 14, 12, .25); background: var(--white); padding: 18px 20px; transition: border-color .2s, box-shadow .2s; }
.co-methods > li.wc_payment_method:has(> input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.co-methods > li > input { vertical-align: middle; margin-right: 12px !important; }
.co-methods > li > label { font-weight: 600; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.co-methods > li > label img { max-height: 24px; width: auto; margin: 0 !important; }
.co-methods .payment_box { margin: 16px 0 0; padding: 18px; background: var(--paper); font-size: 15px; color: var(--text-soft); }
.co-methods .payment_box::before { display: none; }
.co-methods .payment_box p:last-child { margin-bottom: 0; }
.co-methods .payment_box fieldset { border: 0; padding: 0; margin: 0; }
.co-place { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.co-place .woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--mute); }
.co-place .woocommerce-privacy-policy-text p { margin: 0 0 12px; }
.co-place .woocommerce-terms-and-conditions-wrapper a { color: var(--ink); }
.co-place .validate-required label { font-size: 15px; }
button.co-submit, .co #place_order { width: 100%; min-height: 66px; padding: 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--ink); color: var(--paper); border: 0; font: 600 17px var(--sans); cursor: pointer; transition: background .25s ease, transform .25s ease; }
.co #place_order:hover { background: var(--olive); transform: translateY(-2px); }
.co-submit__total { font: 400 26px/1 var(--serif); }
.co #place_order:only-child, .co #place_order:not(:has(span)) { justify-content: center; }

/* Récapitulatif */
.co__side { position: sticky; top: calc(var(--hh) + var(--admin) + 16px); }
.co-summary { background: var(--white); border: 1px solid var(--ink); padding: clamp(24px, 2.4vw, 36px); }
.co-summary__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.co-summary__title { font-size: 36px; }
.co-review { width: auto; border: 0; margin: 0; }
.co-items { list-style: none; margin: 0; padding: 8px 0; max-height: 46vh; overflow-y: auto; }
.co-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.co-item__thumb { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--sand); }
.co-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-item__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 11px/22px var(--mono); text-align: center; letter-spacing: 0; }
.co-item__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.co-item__name { font: 400 20px/1.1 var(--serif); }
.co-item__info .mono { font-size: 10.5px; }
.co-item__info dl.variation { margin: 0; font-size: 13px; color: var(--mute); }
.co-item__price { font-weight: 600; white-space: nowrap; }
.co-totals { margin: 0; padding-top: 12px; }
.co-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; font-size: 15px; }
.co-row dt { color: var(--text-soft); }
.co-row dd { margin: 0; text-align: right; }
.co-row .woocommerce-remove-coupon { font-size: 12px; margin-left: 6px; color: var(--mute); }
.co-row--total { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--ink); }
.co-row--total dt { font: 400 12.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.co-row--total dd { font: 400 40px/1 var(--serif); }
.co-row--total .includes_tax { display: block; font: 12px var(--sans); color: var(--mute); margin-top: 6px; }
.co-trust { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 11px; color: var(--mute); }
.co-trust li { display: flex; align-items: center; gap: 10px; }
.co-trust .icon { width: 16px; height: 16px; color: var(--olive); }
.co .blockUI.blockOverlay { background: rgba(255, 255, 255, .7) !important; }

/* Confirmation */
.thanks { padding: clamp(40px, 6vw, 80px) 0 120px; max-width: 980px; }
.thanks__title { font-size: clamp(64px, 10vw, 160px); line-height: .88; letter-spacing: -.035em; margin: 16px 0 28px; }
.thanks__head .lead { font-size: 20px; max-width: 32em; }
.thanks__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin: 56px 0; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.thanks__facts dt { color: var(--mute); }
.thanks__facts dd { margin: 10px 0 0; font: 400 30px/1.1 var(--serif); }
.thanks__next { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.thanks__next li { display: flex; flex-direction: column; gap: 10px; font: 400 24px/1.2 var(--serif); }
.thanks__next .mono { color: var(--olive); font-size: 12.5px; }
.thanks__details .woocommerce-order-details__title, .thanks__details .woocommerce-column__title { font-size: 36px; margin: 40px 0 16px; }
.thanks__details table { width: 100%; border-collapse: collapse; }
.thanks__details th, .thanks__details td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.thanks__details tfoot th { color: var(--mute); }
.thanks__details address { font-style: normal; line-height: 1.7; border: 1px solid var(--line); padding: 20px; }
.thanks__details .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.thanks__details .woocommerce-bacs-bank-details, .thanks__details section { margin-bottom: 24px; }
.thanks__cta { margin-top: 56px; }

@media (max-width: 1080px) {
	.site-nav--co { display: none; }
}
@media (max-width: 960px) {
	form.co { grid-template-columns: 1fr; }
	.co__side { position: static; order: -1; }
	.co-items { max-height: none; }
}
@media (max-width: 560px) {
	.co .woocommerce-billing-fields__field-wrapper, .co .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.co .form-row-first, .co .form-row-last { grid-column: 1; }
	.co-steps li + li::before { width: 16px; margin: 0 10px; }
}

/* ==========================================================================
   Pied de page classique + newsletter
   ========================================================================== */
.site-footer { padding: clamp(64px, 7vw, 88px) var(--gx) 32px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.site-footer__lead { font-size: clamp(30px, 3vw, 46px); max-width: 15em; }
.site-footer__subscribe { display: flex; align-items: flex-start; gap: 16px; justify-content: flex-end; }
.site-footer__insta { flex-shrink: 0; width: 56px; height: 56px; border: 1px solid rgba(244, 242, 237, .35); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--paper); transition: background .3s, color .3s, transform .4s var(--ease); }
.site-footer__insta:hover { background: var(--paper); color: var(--ink) !important; transform: rotate(-8deg); text-decoration: none !important; }
.nl { flex: 1; max-width: 520px; }
.nl__row { display: flex; border: 1px solid rgba(244, 242, 237, .35); transition: border-color .3s; }
.nl__row:focus-within { border-color: var(--paper); }
.nl input[type="email"] { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 0; background: transparent; color: var(--paper); font: 16px var(--sans); }
.nl input[type="email"]::placeholder { color: rgba(244, 242, 237, .45); }
.nl input[type="email"]:focus { outline: none; }
.nl__btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; border: 0; background: var(--paper); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; transition: background .25s; }
.nl__btn:hover { background: var(--white); }
.nl__btn .icon { width: 16px; height: 16px; transition: transform .3s; }
.nl__btn:hover .icon { transform: translateX(4px); }
.nl__note { margin: 10px 0 0; font-size: 13px; color: var(--mute-light); min-height: 1.4em; }
.nl.is-ok .nl__note { color: #C9D69A; }
.nl.is-error .nl__note { color: #E9A99A; }
.nl.is-busy .nl__btn { opacity: .6; pointer-events: none; }
.nl__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-footer__cols { grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)); padding: 56px 0 64px; }
.site-footer__brand img { height: 56px; width: auto; display: block; margin-bottom: 20px; }
.site-footer__brand p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #A9A69C; }
.site-footer__social { display: flex; gap: 18px; }
.site-footer__logo { display: none; }
.site-footer__legal { border-top: 1px solid var(--line-light); padding-top: 28px; }
@media (max-width: 960px) {
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__subscribe { justify-content: flex-start; }
	.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Pages secondaires : FAQ, CGV, confidentialité, auteurs…
   ========================================================================== */
.sec { position: relative; }
.sec__bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sec__bg-a, .sec__bg-b { position: absolute; width: min(70vw, 900px); opacity: .07; will-change: transform; }
.sec__bg-a { left: -14vw; bottom: -18vh; }
.sec__bg-b { right: -16vw; top: 8vh; transform: scaleX(-1); }
.sec__bg-b .branch { transform: rotate(160deg); }
.sec > :not(.sec__bg) { position: relative; z-index: 1; }

.branch { width: 100%; height: auto; overflow: visible; display: block; }
.branch__stem, .branch__leaf { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.branch__leaf { transform-box: fill-box; transform-origin: left center; animation: sway 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.branch__leaf.is-fill { fill: var(--ink); }
.branch__olive { fill: var(--ink); transform-box: fill-box; transform-origin: center; animation: olive 7s ease-in-out infinite; }
.branch__olive.is-b { animation-delay: -3s; }
.branch--bg .branch__leaf { animation-duration: 12s; }
.branch--bg { animation: bgsway 26s ease-in-out infinite; transform-origin: 10% 90%; }
@keyframes bgsway { 50% { transform: rotate(3deg); } }
.branch--head .branch__stem { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s var(--ease) .2s forwards; }
.branch--head .branch__leaf:not(.is-fill) { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.4s var(--ease) forwards, sway 7s ease-in-out infinite; animation-delay: calc(.6s + var(--d)), calc(2s + var(--d)); }
.branch--head .branch__leaf.is-fill, .branch--head .branch__olive { opacity: 0; animation: fadein 1s ease forwards, sway 7s ease-in-out infinite; animation-delay: calc(1.4s + var(--d)), calc(2.4s + var(--d)); }
.branch--head .branch__olive { animation: fadein 1s ease 2.2s forwards, olive 7s ease-in-out 3s infinite; }
@keyframes fadein { to { opacity: 1; } }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(56px, 7vw, 96px); max-width: 1500px; }
.sec-head__kicker { display: flex; align-items: center; color: var(--mute); margin: 0 0 28px; }
.sec-head__title { font-size: clamp(64px, 10vw, 168px); line-height: .86; letter-spacing: -.04em; }
.sec-head__sub { font: italic 400 clamp(24px, 2.4vw, 34px)/1.15 var(--serif); margin: 24px 0 0; color: var(--text-soft); max-width: 22em; }
.sec-head__intro { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--text-soft); margin: 28px 0 0; max-width: 34em; padding-left: 20px; border-left: 1px solid var(--ink); }
.sec-head__art { width: min(100%, 440px); justify-self: end; }

.sec-body { max-width: 1500px; display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 72px; padding-bottom: 40px; }
.sec-body.has-toc { grid-template-columns: 260px minmax(0, 760px); justify-content: start; padding-left: max(var(--gx), calc((100% - 1100px) / 2)); }
.sec-toc { position: sticky; top: calc(var(--hh) + var(--admin) + 24px); align-self: start; max-height: calc(100vh - var(--hh) - 48px); overflow-y: auto; padding-right: 8px; }
.sec-toc .mono { color: var(--mute); margin: 0 0 16px; }
.sec-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.sec-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; line-height: 1.35; color: var(--mute); text-decoration: none; transition: color .2s, border-color .2s; }
.sec-toc a:hover { color: var(--ink); }
.sec-toc a.is-active { color: var(--ink); border-left-color: var(--ink); }
.sec-prose { padding: 0; font-size: 17.5px; line-height: 1.8; }
.sec-prose > *:first-child { margin-top: 0; }
.sec-prose h2 { font-size: clamp(30px, 3vw, 44px); margin: 72px 0 20px; padding-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 24px); }
.sec-prose h2:first-child { padding-top: 0; border-top: 0; }
.sec-prose h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 40px 0 12px; }
.sec-prose p strong:only-child { font-weight: 600; }
.sec-prose a { text-decoration-color: rgba(14, 14, 12, .3); }
.sec-prose a:hover { text-decoration-color: currentColor; }
.has-toc .sec-prose .elaia-authors, .has-toc .sec-prose .elaia-press-list { width: auto; margin-left: 0; transform: none; }

/* Questions fréquentes */
.sec-prose .wp-block-details { border-top: 1px solid var(--ink); }
.sec-prose .wp-block-details summary { padding: 26px 0; font-size: clamp(22px, 2vw, 28px); transition: padding .4s var(--ease); }
.sec-prose .wp-block-details summary:hover { padding-left: 10px; }
.sec-prose .wp-block-details summary::after { content: ""; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 12px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.sec-prose .wp-block-details[open] summary::after { transform: rotate(135deg); background-color: var(--ink); background-image: linear-gradient(var(--paper), var(--paper)), linear-gradient(var(--paper), var(--paper)); }
.sec-prose .wp-block-details .details__body { overflow: hidden; }
.sec-prose ol, .sec-prose ul { padding-left: 1.8em; }

.sec-foot { max-width: 1100px; margin: 0 auto; padding-top: 80px; padding-bottom: clamp(80px, 9vw, 120px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--ink); margin-top: 96px; }
.sec-foot__t { font: 400 clamp(32px, 3.4vw, 52px)/1 var(--serif); margin: 0; }
.sec-foot .row { align-items: center; }
.sec-foot__top { color: var(--mute); }

@media (max-width: 1080px) {
	.sec-body.has-toc { grid-template-columns: minmax(0, 760px); justify-content: center; padding-left: var(--gx); }
	.sec-toc { display: none; }
}
@media (max-width: 820px) {
	.sec-head { grid-template-columns: 1fr; }
	.sec-head__art { width: 56%; justify-self: end; margin-top: -40px; order: -1; }
	.sec__bg-a, .sec__bg-b { width: 120vw; }
}

/* ==========================================================================
   Vitrine de l'ouverture (par-dessus l'olive)
   ========================================================================== */
.hero.has-showcase .hero__title { font-size: clamp(60px, 9.2vw, 160px); }
.hero.has-showcase .hero__art { width: min(37vw, 620px); top: calc(var(--hh) + clamp(70px, 8vh, 130px)); }
.hero.has-showcase .art-branch, .hero.has-showcase .art-orbit--slow { display: none; }
.hero.has-showcase .art-breathe { opacity: .55; }
.showcase { position: absolute; z-index: 0; right: max(2.5vw, 16px); top: calc(var(--hh) + clamp(96px, 11vh, 160px)); width: min(37vw, 620px); display: flex; flex-direction: column; align-items: center; }
.showcase__stage { position: relative; width: 100%; height: clamp(250px, 38vh, 390px); margin-top: 5%; }
.showcase__img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateX(48px) rotate(5deg) scale(.94); transition: opacity .9s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.showcase__img.is-active { opacity: 1; transform: none; pointer-events: auto; }
.showcase__img.is-leaving { opacity: 0; transform: translateX(-48px) rotate(-5deg) scale(.94); }
.showcase__img img { max-width: 92%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 34px 34px rgba(14, 14, 12, .32)); }
.showcase__img.is-cover img { height: 92%; max-width: 60%; object-fit: cover; aspect-ratio: 2 / 3; transform: rotate(-4deg); border-radius: 1px 4px 4px 1px; box-shadow: 0 40px 50px -26px rgba(14, 14, 12, .55); filter: none; }
.showcase__img.is-active img { animation: floaty 7s ease-in-out infinite; }
.showcase__img.is-cover.is-active img { animation: floatyTilt 7s ease-in-out infinite; }
@keyframes floatyTilt { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.showcase__img:hover img { filter: drop-shadow(0 44px 40px rgba(14, 14, 12, .4)); }
.showcase__panel { position: relative; width: 86%; margin-top: -2%; background: var(--paper); border-top: 1px solid var(--ink); padding: 20px 4px 0; display: grid; }
.showcase__text { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .8s var(--ease); pointer-events: none; }
.showcase__text.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .2s; }
.showcase__label { color: var(--mute); margin: 0 0 10px; font-size: 11px; }
.showcase__title { font: 400 clamp(26px, 2.4vw, 38px)/1 var(--serif); margin: 0; }
.showcase__author { margin: 6px 0 0; font-size: 15px; color: var(--text-soft); }
.showcase__sum { margin: 10px 0 14px; font-size: 15px; line-height: 1.5; color: var(--text-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.showcase__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--ink); }
.showcase__cta:hover { color: var(--olive); border-color: var(--olive); }
.showcase__cta .icon { width: 16px; height: 16px; transition: transform .3s; }
.showcase__cta:hover .icon { transform: translateX(5px); }
.showcase__price { font-weight: 400; color: var(--mute); }
.showcase__price del { opacity: .6; }
.showcase__price ins { text-decoration: none; }
.showcase__nav { grid-row: 2; display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.hero.has-showcase .hero__scroll { display: none; }
.showcase__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s; }
.showcase__btn:hover { background: var(--ink); color: var(--paper); }
.showcase__count { font-size: 11px; color: var(--mute); }
.showcase__bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.showcase__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.showcase__bar i.is-run { animation: barRun var(--dur, 6s) linear forwards; }
.showcase.is-paused .showcase__bar i.is-run { animation-play-state: paused; }
@keyframes barRun { to { transform: scaleX(1); } }

@media (max-width: 820px) {
	.hero.has-showcase { min-height: 0; }
	.hero.has-showcase .hero__top { order: 1; }
	.showcase { position: relative; order: 2; right: auto; top: auto; width: 100%; margin: 40px 0 0; }
	.showcase__stage { height: 340px; margin-top: 0; }
	.hero.has-showcase .hero__scroll { display: flex; }
	.showcase__panel { width: 100%; }
	.hero.has-showcase .hero__bottom { order: 3; margin-top: 48px; }
}

/* Box : visuels des produits */
.box-card { min-height: 0; }
.box-card__img { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--sand); margin: 4px 0 0; }
.box-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.box-card:hover .box-card__img img { transform: scale(1.05); }
.box-card:hover .box-card__price .amount { color: inherit; }

/* ==========================================================================
   Page Auteurs
   ========================================================================== */
.authors { list-style: none; margin: 0 auto; padding-top: 24px; padding-bottom: 40px; max-width: 1500px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 64px 28px; align-items: start; }
.author { min-width: 0; transition-delay: calc(var(--i, 0) * 70ms); }
.author__open { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; font: inherit; }
.author__photo { position: relative; width: min(100%, 176px); aspect-ratio: 1 / 1; display: block; margin-bottom: 22px; }
.author__photo::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed rgba(14, 14, 12, .35); opacity: 0; transform: scale(.94) rotate(0); transition: opacity .5s ease, transform .8s var(--ease); }
.author__photo img, .author__initial { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border-radius: 50%; object-fit: cover; object-position: center 30%; display: flex; align-items: center; justify-content: center; transition: transform .8s var(--ease), box-shadow .6s ease; box-shadow: 0 18px 30px -18px rgba(14, 14, 12, .45); }
.author__initial { background: var(--ink); color: var(--paper); font: italic 400 64px/1 var(--serif); }
.author__open:hover .author__photo img, .author__open:focus-visible .author__photo img { transform: scale(1.05) translateY(-4px); box-shadow: 0 28px 36px -18px rgba(14, 14, 12, .5); }
.author__open:hover .author__photo::after, .author__open:focus-visible .author__photo::after { opacity: 1; transform: scale(1) rotate(25deg); animation: spin 30s linear infinite; }
.author__name { font: 400 clamp(22px, 1.7vw, 26px)/1.1 var(--serif); }
.author__book { margin-top: 6px; font: italic 400 16px/1.3 var(--serif); color: var(--text-soft); }
.author__more { margin-top: 14px; font-size: 10.5px; color: var(--mute); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.author__open:hover .author__more { color: var(--ink); border-color: var(--ink); }

.author-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); overflow: auto; }
.author-dialog::backdrop { background: rgba(14, 14, 12, .6); backdrop-filter: blur(3px); }
.author-dialog[open] { animation: dlgIn .5s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px); } }
.author-dialog__close { position: absolute; top: 16px; right: 22px; color: var(--ink); z-index: 1; }
.author-dialog__in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding: clamp(32px, 4vw, 56px); }
.author-dialog__photo { position: relative; width: 240px; aspect-ratio: 1 / 1; }
.author-dialog__photo img, .author-dialog__photo .author__initial { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.author-dialog__name { font-size: clamp(40px, 4vw, 60px); margin: 10px 0 20px; }
.author-dialog__bio { font-size: 16.5px; line-height: 1.75; color: var(--text-soft); }
.author-dialog__bio p { margin: 0 0 1em; }
.author-dialog__h { margin: 28px 0 12px; }
.author-dialog__books { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.author-dialog__books a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.author-dialog__books a:hover .icon { transform: translateX(6px); }
.author-dialog__books .icon { transition: transform .3s; }
.author-dialog__cover { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--sand); }
.author-dialog__cover img, .author-dialog__cover .cover-ph { width: 100%; height: 100%; object-fit: cover; display: block; filter: none; padding: 0; }
.author-dialog__cover .cover-ph > * { display: none; }
.author-dialog__btitle { display: block; font: 400 21px/1.15 var(--serif); }

@media (max-width: 1280px) { .authors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .authors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 20px; } }
@media (max-width: 600px) {
	.authors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.author-dialog__in { grid-template-columns: 1fr; gap: 24px; }
	.author-dialog__photo { width: 140px; }
}
.hero.has-showcase .hero__top, .hero.has-showcase .hero__bottom { pointer-events: none; }
.hero.has-showcase .hero__bottom a { pointer-events: auto; }
.box-card { justify-content: flex-start; gap: 18px; }
.box-card > span:last-child { margin-top: auto; display: flex; flex-direction: column; gap: 12px; flex: 1; justify-content: space-between; }
.box-card__price { margin-top: 0; }

/* ==========================================================================
   v1.6 : La pause café
   Tasse fumante, livre qui s'ouvre au défilement, presse en cartes,
   petits mots en cartes postales flottantes, brise douce en fond.
   ========================================================================== */
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

body.is-cafe {
	--latte: #E9DCC8; --crema: #F6EFE3; --cream: #FFFDF8; --coffee: #6E4B33; --coffee-soft: #A27B5C; --ink-warm: #35271D;
	--hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
	background: #F5F1E9; transition: background-color 1.6s ease;
}
body.is-cafe.is-cozy { background: var(--latte); }
.cafe { position: relative; }
.cafe-hero, .cafe-press, .cafe-letters { position: relative; z-index: 1; }
.cafe-kicker { color: var(--mute); margin: 0 0 22px; }

/* Héros ------------------------------------------------------------------ */
.cafe-hero { height: 215vh; margin-top: calc(var(--hh) * -1); }
.cafe-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 100vh; background: radial-gradient(42% 50% at 72% 52%, rgba(214, 178, 136, .32), transparent 70%), radial-gradient(30% 36% at 12% 80%, rgba(85, 98, 43, .08), transparent 70%); pointer-events: none; }
.cafe-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cafe-bean { position: absolute; width: 42px; color: var(--coffee); opacity: .38; }
.cafe-bean .bean { display: block; stroke: currentColor; stroke-width: 1.3; vector-effect: non-scaling-stroke; animation: beanspin 16s ease-in-out infinite alternate; }
.cafe-bean.b1 { left: 5%; top: 24vh; }
.cafe-bean.b2 { left: 40%; top: 86vh; width: 30px; }
.cafe-bean.b2 .bean { animation-delay: -5s; }
.cafe-bean.b3 { right: 7%; top: 16vh; width: 34px; }
.cafe-bean.b3 .bean { animation-delay: -9s; }
.cafe-bean.b4 { right: 36%; top: 128vh; width: 26px; }
@keyframes beanspin { from { transform: rotate(-18deg) translateY(-6px); } to { transform: rotate(22deg) translateY(8px); } }
.cafe-hero__branch { position: absolute; right: -10%; top: 160vh; width: min(40vw, 560px); opacity: .45; }

.cafe-hero__stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: var(--hh); overflow: hidden; }
.cafe-hero__inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 72px); align-items: center; width: 100%; }
.cafe-hero__text { max-width: 620px; transform: translateY(calc(var(--p, 0) * -24px)); }
.cafe-hero__title { font-size: clamp(64px, 8.6vw, 148px); line-height: .86; letter-spacing: -.035em; }
.cafe-hero__title em { color: var(--coffee); }
.cafe-hero__sub { font: italic 400 clamp(24px, 2.2vw, 34px)/1.1 var(--serif); margin: 22px 0 0; color: var(--ink-warm); }
.cafe-hero__intro { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; color: var(--text-soft); max-width: 32em; margin: 18px 0 0; }
.cafe-hero__intro a { color: var(--coffee); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cafe-hero__cta { margin-top: 36px; }
.cafe-hero__cta .btn { border-radius: 99px; }
.cafe-hero__hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 10px; color: var(--mute); opacity: calc(1 - var(--p, 0) * 4); font-size: 11px; }
.cafe-hero__hint .icon { width: 14px; height: 14px; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(5px); } }

/* Scène : tasse + livre */
.cafe-scene { --bw: clamp(120px, 14.5vw, 250px); --bh: calc(var(--bw) * 1.42); position: relative; height: min(72vh, 640px); }
.cafe-scene__cup { position: absolute; left: 0; bottom: 3%; width: 39%; z-index: 3; transform: translate3d(calc(var(--p, 0) * -10px), calc(var(--p, 0) * 8px), 0); }
.cup { display: block; width: 100%; overflow: visible; }
.cup__line { stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.cup__line--soft { stroke: rgba(14, 14, 12, .3); }
.cup__handle { stroke: var(--ink); stroke-width: 15px; stroke-linecap: round; }
.cup__handle-in { stroke: #F4EDE1; stroke-width: 12.4px; stroke-linecap: round; }
.cup__heart { transform-box: fill-box; transform-origin: center; animation: heart 6s ease-in-out infinite; }
@keyframes heart { 50% { transform: scale(1.06) rotate(-3deg); } }
.cup__steam { animation: sway-steam 7s ease-in-out infinite alternate; transform-origin: 50% 100%; transform-box: fill-box; }
.cup__steam path { stroke: #7D6A57; stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 190 400; stroke-dashoffset: 190; opacity: 0; animation: steam 5.4s cubic-bezier(.4, 0, .4, 1) infinite; }
.cup__steam path:nth-child(2) { animation-delay: -1.8s; animation-duration: 6s; }
.cup__steam path:nth-child(3) { animation-delay: -3.6s; animation-duration: 5.8s; }
@keyframes steam { 0% { stroke-dashoffset: 190; opacity: 0; transform: translateY(12px); } 25% { opacity: .85; } 70% { opacity: .55; } 100% { stroke-dashoffset: -300; opacity: 0; transform: translateY(-26px); } }
@keyframes sway-steam { from { transform: skewX(-4deg) translateX(-4px); } to { transform: skewX(5deg) translateX(5px); } }

.book-stage { position: absolute; right: 0; top: 50%; width: calc(var(--bw) * 2); height: var(--bh); margin-top: calc(var(--bh) / -2 - 10px); perspective: 2200px; perspective-origin: 50% 20%; }
.book { position: absolute; inset: 0; font-size: calc(var(--bw) / 14); transform-style: preserve-3d; transform: rotateX(24deg) rotateZ(-4deg) translateX(calc(var(--c, 1) * -25%)); }
.book__base, .book__leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; }
.book__base { transform: translateZ(0); border-radius: 0 3px 3px 0; box-shadow: 1px 1px 0 #EFE6D6, 2px 2px 0 #E2D7C4, 3px 3px 0 #EFE6D6, 4px 4px 0 #DBCFBB, 5px 5px 0 #EDE3D2, 0 30px 50px -18px rgba(60, 38, 20, .35); }
.book__leaf { transform-origin: 0 50%; transform-style: preserve-3d; transform: rotateY(calc(var(--f, 0) * -180deg)) translateZ(calc(var(--z) * 1.2px)); }
.book__leaf--cover { top: -6px; height: calc(100% + 12px); width: calc(50% + 7px); }
.book__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.book__face--back { transform: rotateY(180deg); }
.book__face--front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60, 38, 20, .28), transparent 70%); opacity: calc(var(--f, 0) * 1.4); pointer-events: none; }
.book__page { position: absolute; inset: 0; padding: 1.6em 1.5em; color: var(--ink-warm); background: linear-gradient(90deg, rgba(110, 75, 51, .16), rgba(110, 75, 51, 0) 14%), #FFFCF5; border-radius: 0 3px 3px 0; }
.book__face--back.book__page, .book__page--l { background: linear-gradient(270deg, rgba(110, 75, 51, .16), rgba(110, 75, 51, 0) 14%), #FFFCF5; border-radius: 3px 0 0 3px; }
.book__lines { position: absolute; inset: 16% 14% 18%; background: repeating-linear-gradient(transparent 0 1.25em, rgba(110, 75, 51, .12) 1.25em calc(1.25em + 1px)); }
.book__num { position: absolute; bottom: 1.1em; left: 50%; transform: translateX(-50%); font: .75em var(--serif); color: var(--mute); }
.book__hand { font: 500 1.75em/1.02 var(--hand); color: var(--coffee); margin: .6em 0 .5em; }
.book__line { font: 400 .92em/1.4 var(--serif); margin: 0; color: var(--text-soft); }
.book__sign { font: 500 1.4em/1 var(--hand); color: var(--ink-warm); margin: 1em 0 0; text-align: right; }
.book__kick { font-size: .58em !important; letter-spacing: .2em; color: var(--mute); margin: .9em 0 1.4em; }
.book__menu { list-style: none; padding: 0; margin: 0; }
.book__menu li { display: flex; align-items: baseline; font: 400 1.18em/1 var(--serif); margin: 0 0 .85em; }
.book__menu i { flex: 1; border-bottom: 1px dotted rgba(110, 75, 51, .45); margin: 0 .35em; }
.book__menu b { font-weight: 400; font-style: italic; color: var(--coffee); }
.book__cover { display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6em 1.4em; color: #F4EDE1; border-radius: 2px 6px 6px 2px; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 9%, rgba(255, 255, 255, .06) 10%, rgba(0, 0, 0, 0) 12%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .03) 0 1px, transparent 1px 3px), #55622B; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.book__cover-frame { position: absolute; inset: .9em .9em .9em 1.3em; border: 1px solid rgba(244, 237, 225, .35); border-radius: 2px; }
.book__cover .branch--cover { position: absolute; width: 92%; right: -6%; top: 4%; opacity: .9; }
.book__cover .branch__stem, .book__cover .branch__leaf { stroke: #EADFC8; }
.book__cover .branch__leaf.is-fill, .book__cover .branch__olive { fill: #EADFC8; }
.book__cover-t { position: relative; font: 400 2.2em/.9 var(--serif); letter-spacing: -.02em; }
.book__cover-m { position: relative; font-size: .52em !important; margin-top: 1em; opacity: .75; }
.book__endpaper { border-radius: 6px 2px 2px 6px; background: radial-gradient(circle at 30% 30%, rgba(85, 98, 43, .22) 1.4px, transparent 1.8px) 0 0 / 11px 11px, radial-gradient(circle at 80% 80%, rgba(110, 75, 51, .16) 1.2px, transparent 1.6px) 0 0 / 11px 11px, #ECE3D1; }
.book-stage__shadow { position: absolute; left: 4%; right: 4%; bottom: -14%; height: 34px; background: radial-gradient(50% 50% at 50% 50%, rgba(60, 38, 20, .22), transparent 70%); transform: scaleX(calc(.55 + var(--o, 0) * .45)) translateX(calc((1 - var(--o, 0)) * 22%)); filter: blur(4px); }

/* Presse ----------------------------------------------------------------- */
.cafe-press { padding-block: clamp(40px, 6vw, 80px) clamp(100px, 10vw, 160px); }
.cafe-press__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px 40px; }
.cafe-press__head .h-l em { color: var(--coffee); }
.cafe-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cafe-chip { border: 1px solid rgba(110, 75, 51, .22); background: rgba(255, 253, 248, .7); border-radius: 99px; padding: 12px 18px; font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; color: var(--ink); transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease); }
.cafe-chip:hover { transform: translateY(-2px); border-color: var(--ink); }
.cafe-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cafe-chip sup { font-size: 9px; margin-left: 3px; opacity: .6; vertical-align: 4px; }

.cafe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); grid-auto-flow: dense; margin-top: clamp(40px, 5vw, 64px); }
.cafe .pcard, .js .cafe .pcard.reveal, .js .cafe .pcard.reveal.is-in { transform: perspective(1000px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(var(--ty, 0px)); }
.pcard { position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: 26px; background: var(--cream); box-shadow: 0 0 0 1px rgba(110, 75, 51, .07), 0 30px 60px -38px rgba(80, 50, 25, .45); transition: opacity .9s var(--ease), translate 1.1s var(--ease), transform .5s var(--ease), box-shadow .5s ease; }
.js .cafe .pcard.reveal { translate: 0 60px; transition-delay: calc(var(--i, 0) * .1s), calc(var(--i, 0) * .1s), 0s, 0s; }
.js .cafe .pcard.reveal.is-in { translate: 0 0; }
.pcard:hover { --ty: -6px; box-shadow: 0 0 0 1px rgba(110, 75, 51, .1), 0 40px 70px -34px rgba(80, 50, 25, .55); }
.pcard__img { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #EADFCE, #D7C3A8); isolation: isolate; }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--coffee); }
.pcard__ph .bean { width: 46px; stroke: currentColor; stroke-width: 1.3; opacity: .5; }
.pcard__tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 8px 12px 7px; border-radius: 99px; font-size: 10.5px !important; color: var(--ink); background: rgba(255, 253, 248, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pcard__play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255, 253, 248, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .5s var(--ease); }
.pcard__play .icon { width: 20px; height: 20px; margin-left: 3px; }
.pcard:hover .pcard__play { transform: scale(1.1); }
.pcard__body { flex: 1; display: flex; flex-direction: column; padding: 22px 14px 8px; }
.pcard__desc { font: 400 clamp(21px, 1.6vw, 25px)/1.16 var(--serif); margin: 0 0 24px; text-wrap: pretty; }
.pcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(110, 75, 51, .25); }
.pcard__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; font: 600 14.5px/1.2 var(--sans); color: var(--ink); }
.pcard__link::after { content: ""; position: absolute; inset: 0; border-radius: 26px; }
.pcard__link:hover { color: var(--ink); }
.pcard__go { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: transform .5s var(--ease), background .3s ease; }
.pcard__go .icon { width: 16px; height: 16px; }
.pcard:hover .pcard__go { transform: rotate(-45deg); background: var(--olive); }
.pcard__print { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--mute); font-size: 11px !important; }

.pcard--feature { grid-column: 1 / -1; flex-direction: row; gap: 10px; padding: 12px; border-radius: 32px; }
.pcard--feature .pcard__img { flex: 1.3 1 0; aspect-ratio: 16 / 10; border-radius: 22px; }
.pcard--feature .pcard__body { flex: 1 1 0; justify-content: center; padding: clamp(24px, 3.4vw, 56px); }
.pcard--feature .pcard__body::before { content: "À la une"; font: 500 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--coffee); margin-bottom: 22px; }
.pcard--feature .pcard__desc { font-size: clamp(30px, 3.1vw, 52px); line-height: 1.02; letter-spacing: -.015em; margin-bottom: 40px; }
.pcard--feature .pcard__foot { margin-top: 0; }
.pcard--feature .pcard__link::after { border-radius: 32px; }
.pcard--wide { grid-column: span 2; flex-direction: row; gap: 10px; }
.pcard--wide .pcard__img { flex: 1.15 1 0; aspect-ratio: auto; min-height: 300px; }
.pcard--wide .pcard__body { flex: 1 1 0; padding: 26px 22px 12px; }
.pcard--wide .pcard__desc { font-size: clamp(26px, 2.2vw, 36px); line-height: 1.06; }
.cafe-grid.is-filtered .pcard--wide, .cafe-grid.is-filtered .pcard--feature { grid-column: auto; flex-direction: column; }
.cafe-grid.is-filtered .pcard--feature .pcard__img, .cafe-grid.is-filtered .pcard--wide .pcard__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
.cafe-grid.is-filtered .pcard--feature .pcard__body, .cafe-grid.is-filtered .pcard--wide .pcard__body { padding: 22px 14px 8px; }
.cafe-grid.is-filtered .pcard--feature .pcard__desc, .cafe-grid.is-filtered .pcard--wide .pcard__desc { font-size: clamp(21px, 1.6vw, 25px); line-height: 1.16; }
.cafe-grid.is-filtered .pcard--feature .pcard__body::before { display: none; }
.pcard.is-out { display: none; }
.pcard.is-pop { animation: pop .7s var(--ease) both; animation-delay: calc(var(--n, 0) * 50ms); }
@keyframes pop { from { opacity: 0; translate: 0 24px; } }

/* Ambiance : lueur et brise --------------------------------------------- */
.cafe-ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.8s ease; }
body.is-cozy .cafe-ambient { opacity: 1; }
body:not(.is-cozy) .cafe-ambient, body:not(.is-cozy) .cafe-ambient * { animation-play-state: paused !important; }
.cafe-ambient__glow { position: absolute; inset: -15%; background: radial-gradient(34% 30% at 20% 24%, rgba(255, 240, 214, .95), transparent 70%), radial-gradient(40% 38% at 84% 74%, rgba(214, 178, 136, .5), transparent 70%), radial-gradient(28% 26% at 74% 14%, rgba(186, 196, 150, .4), transparent 70%), radial-gradient(30% 30% at 30% 90%, rgba(244, 222, 196, .7), transparent 70%); animation: glow 22s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
.cafe-ambient__wind { position: absolute; inset: 0; width: 100%; height: 100%; }
.cafe-ambient__wind path { stroke: rgba(110, 75, 51, .3); stroke-width: 1.3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 160 1100; stroke-dashoffset: 160; animation: wind var(--d, 10s) cubic-bezier(.45, 0, .55, 1) var(--w, 0s) infinite; }
.cafe-ambient__wind path:nth-child(even) { stroke: rgba(255, 255, 255, .8); stroke-width: 1.8; }
@keyframes wind { 0% { stroke-dashoffset: 160; opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
.drifter { position: absolute; left: 0; top: var(--y); animation: drift var(--d) linear var(--w) infinite; will-change: transform; }
.drifter i { display: block; width: 20px; height: 9px; border-radius: 0 100% 0 100%; background: #55622B; opacity: .6; animation: flutter 3.4s ease-in-out infinite alternate; }
.drifter.is-light i { background: #8E9B5E; width: 15px; height: 7px; animation-duration: 2.8s; }
.drifter.petal i { width: 10px; height: 10px; border-radius: 70% 0 70% 0; background: #E3C7A6; opacity: .85; animation-duration: 2.4s; }
@keyframes drift { from { transform: translate3d(-6vw, 0, 0); } to { transform: translate3d(106vw, 16vh, 0); } }
@keyframes flutter { from { transform: translateY(-16px) rotate(-30deg) rotateX(0deg); } to { transform: translateY(16px) rotate(170deg) rotateX(65deg); } }

/* Petits mots : cartes postales ------------------------------------------ */
.cafe-letters { padding: clamp(90px, 11vw, 170px) 0 clamp(100px, 10vw, 160px); }
.cafe-letters__head { text-align: center; }
.cafe-letters__head .cafe-kicker { justify-content: center; }
.cafe-letters__head .h-xl em { color: var(--coffee); }
.cafe-letters__hand { font: 500 clamp(24px, 2.2vw, 32px)/1.1 var(--hand); color: var(--coffee); margin: 18px 0 0; transform: rotate(-2deg); }
.letters { max-width: 1240px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 72px; margin-top: clamp(56px, 7vw, 96px); }
.letters .postcard:nth-child(even) { margin-top: 110px; }
.letters .postcard:nth-child(odd):not(:first-child) { margin-top: -40px; }
.postcard { position: relative; scroll-margin-top: 140px; }
.js .cafe .postcard.reveal { opacity: 0; transform: translate3d(0, 120px, 0) rotate(calc(var(--r, 0deg) * -3)); transition: opacity 1.2s var(--ease), transform 1.6s cubic-bezier(.16, .8, .2, 1); transition-delay: calc(var(--i, 0) * .14s); }
.js .cafe .postcard.reveal.is-in { opacity: 1; transform: none; }
.postcard__float { animation: cardfloat var(--fd, 7s) ease-in-out var(--fw, 0s) infinite; }
@keyframes cardfloat { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -12px, 0) rotate(.7deg); } }
.postcard__card, .letter-write__card {
	position: relative; color: #3A2A1E; border-radius: 6px;
	background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%), radial-gradient(100% 100% at 100% 100%, rgba(214, 186, 150, .3), rgba(214, 186, 150, 0) 70%), #FBF5EA;
	box-shadow: 0 1px 1px rgba(60, 40, 20, .08), 0 18px 30px -18px rgba(60, 40, 20, .35), 0 60px 90px -50px rgba(60, 40, 20, .4);
}
.postcard__card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); min-height: 300px; padding: 30px; transform: rotate(var(--r, 0deg)); transition: transform .8s var(--ease), box-shadow .8s ease; }
.postcard:hover .postcard__card { transform: rotate(0deg) translateY(-6px) scale(1.015); box-shadow: 0 1px 1px rgba(60, 40, 20, .08), 0 30px 50px -24px rgba(60, 40, 20, .4), 0 80px 110px -50px rgba(60, 40, 20, .45); }
.postcard:nth-child(3n+2) .postcard__card, .letter-write__card { border: 9px solid transparent; background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%) padding-box, radial-gradient(100% 100% at 100% 100%, rgba(214, 186, 150, .3), rgba(214, 186, 150, 0) 70%) padding-box, linear-gradient(#FBF5EA, #FBF5EA) padding-box, repeating-linear-gradient(-45deg, #55622B 0 14px, #FBF5EA 14px 24px, #A27B5C 24px 38px, #FBF5EA 38px 48px) border-box; }
.postcard__msg { padding-right: 28px; border-right: 1px solid rgba(110, 75, 51, .22); display: flex; flex-direction: column; }
.postcard__text { font: 500 clamp(21px, 1.6vw, 25px)/1.22 var(--hand); }
.postcard__text p { margin: 0 0 .5em; }
.postcard__sign { margin: auto 0 0; padding-top: 10px; text-align: right; font: 500 28px/1 var(--hand); color: var(--coffee); }
.postcard__sign::before { content: "~ "; opacity: .6; }
.postcard__side { position: relative; display: flex; flex-direction: column; padding-left: 26px; min-width: 0; }
.stamp { --h: 3.2px; align-self: flex-end; width: 82px; height: 98px; padding: 6px; background: #fff; transform: rotate(4deg); filter: drop-shadow(0 2px 3px rgba(60, 40, 20, .2));
	-webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle at center, transparent var(--h), #000 calc(var(--h) + .4px)) -4px -4px / 8px 8px round border-box;
	mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle at center, transparent var(--h), #000 calc(var(--h) + .4px)) -4px -4px / 8px 8px round border-box; }
.stamp__art { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(160deg, #F1E7D3, #E2D2B8); outline: 1px solid rgba(110, 75, 51, .25); outline-offset: -4px; }
.stamp__art svg { width: 30px; height: auto; }
.stamp__art .bean { width: 26px; stroke: var(--coffee); stroke-width: 1.4; fill: rgba(110, 75, 51, .12); }
.stamp__art b { font: 500 8px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--coffee); }
.postmark { position: absolute; top: 30px; right: 74px; width: 92px; transform: rotate(-16deg); opacity: .5; color: var(--coffee); pointer-events: none; }
.postmark svg { display: block; width: 100%; overflow: visible; }
.postmark circle { fill: none; stroke: currentColor; stroke-width: 1.4; }
.postmark text { font: 500 8.5px var(--mono); letter-spacing: 1.6px; fill: currentColor; }
.postmark .postmark__d { font-size: 14px; letter-spacing: 1px; }
.postmark::after { content: ""; position: absolute; left: 70%; top: 34%; width: 110px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 30' fill='none' stroke='%236E4B33' stroke-width='1.4'%3E%3Cpath d='M0 5c9-5 18 5 27 0s18-5 27 0 18 5 27 0 18-5 29 0'/%3E%3Cpath d='M0 15c9-5 18 5 27 0s18-5 27 0 18 5 27 0 18-5 29 0'/%3E%3Cpath d='M0 25c9-5 18 5 27 0s18-5 27 0 18 5 27 0 18-5 29 0'/%3E%3C/svg%3E") no-repeat; }
.postcard__to { margin: auto 0 0; padding-top: 28px; }
.postcard__to span { display: block; font: 500 22px/1.1 var(--hand); padding: 8px 0 3px; border-bottom: 1px solid rgba(110, 75, 51, .28); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.postcard__to .mono { font: 400 10px/1.6 var(--mono); letter-spacing: .18em; color: var(--mute); padding-top: 12px; }
.postcard.is-pending .postcard__card { opacity: .8; }
.postcard__pending { position: absolute; left: 24px; bottom: -14px; margin: 0; padding: 7px 14px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 10px !important; }
.postcard__reply { position: relative; width: 74%; margin: -14px 18px 0 auto; padding: 26px 22px 18px; background: #F2E8C9; color: #3A2A1E; transform: rotate(calc(var(--r, 0deg) * -1 + 1.5deg)); box-shadow: 0 16px 30px -20px rgba(60, 40, 20, .45); font: 500 21px/1.2 var(--hand); }
.postcard__reply::before { content: ""; position: absolute; left: 50%; top: -12px; width: 90px; height: 24px; margin-left: -45px; background: rgba(255, 255, 255, .55); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.postcard__reply .mono { font-size: 10px !important; color: var(--coffee); margin: 0 0 8px; }
.postcard__reply p { margin: 0 0 .4em; }

/* Écrire une carte */
.letter-write { max-width: 1040px; margin-top: clamp(90px, 10vw, 140px); }
.letter-write__card { padding: clamp(26px, 4vw, 52px); transform: rotate(-.6deg); transition: transform .8s var(--ease); }
.letter-write__card:focus-within { transform: rotate(0deg); }
.stamp--write { position: absolute; top: clamp(22px, 3vw, 40px); right: clamp(22px, 3vw, 40px); margin: 0; }
.letter-write #respond { position: relative; }
.letter-write .comment-reply-title { font: 400 clamp(36px, 3.6vw, 56px)/1 var(--serif); letter-spacing: -.02em; margin: 0 110px 8px 0; }
.letter-write .comment-reply-title small { display: block; margin-top: 8px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.letter-form { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 44px; align-content: start; margin-top: 30px; }
.letter-form > p { grid-column: 2; margin: 0 0 18px; }
.letter-form .comment-notes, .letter-form .logged-in-as { font-size: 10.5px !important; line-height: 1.7; color: var(--mute); margin-right: 100px; }
.letter-form .logged-in-as a { color: var(--ink); }
.letter-form .comment-form-comment { grid-column: 1; grid-row: 1 / span 8; margin: 0; padding-right: 44px; border-right: 1px solid rgba(110, 75, 51, .22); }
.letter-form textarea { display: block; width: 100%; min-height: 300px; padding: 0; border: 0; border-radius: 0; resize: vertical; background: repeating-linear-gradient(transparent 0 39px, rgba(110, 75, 51, .24) 39px 40px); background-attachment: local; font: 500 27px/40px var(--hand); color: #3A2A1E; }
.letter-form textarea::placeholder { color: rgba(110, 75, 51, .5); }
.letter-form textarea:focus { outline: none; box-shadow: none; }
.letter-form label { display: block; margin: 0 0 2px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.letter-form input[type="text"], .letter-form input[type="email"] { width: 100%; padding: 4px 0 6px; border: 0; border-bottom: 1px solid rgba(110, 75, 51, .35); border-radius: 0; background: transparent; font: 500 25px/1.2 var(--hand); color: #3A2A1E; box-shadow: none; }
.letter-form input[type="text"]:focus, .letter-form input[type="email"]:focus { outline: none; border-bottom-color: var(--ink); }
.letter-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.letter-form .comment-form-cookies-consent input { margin-top: 3px; accent-color: var(--olive); }
.letter-form .comment-form-cookies-consent label { margin: 0; letter-spacing: 0; text-transform: none; font-family: var(--sans); font-size: 13px; }
.letter-form .form-submit { margin: 8px 0 0; }
.letter-form__send { border-radius: 99px; width: 100%; }
.letter-form__send .icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.letter-form__send:hover .icon { transform: translate(4px, -4px) rotate(8deg); }
.letter-write__card.is-sending { animation: flyaway 1s cubic-bezier(.6, 0, .4, 1) forwards; }
@keyframes flyaway { 25% { transform: translateY(14px) rotate(-2deg) scale(.97); } 100% { transform: translate(38vw, -70vh) rotate(16deg) scale(.35); opacity: 0; } }

/* Pause café : écrans moyens et petits */
@media (max-width: 1080px) {
	.cafe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.letters { gap: 56px 40px; }
	.postcard__card { grid-template-columns: 1fr; }
	.postcard__msg { padding: 0 0 22px; border-right: 0; border-bottom: 1px dashed rgba(110, 75, 51, .25); }
	.postcard__side { padding: 20px 0 0; flex-direction: row-reverse; align-items: flex-end; justify-content: space-between; gap: 20px; }
	.postcard__to { flex: 1; padding: 0; margin: 0; }
	.postmark { top: auto; bottom: 46px; right: 80px; width: 74px; }
	.postcard__msg .postcard__text { padding-right: 0; }
}
@media (max-width: 900px) {
	.cafe-hero { height: auto; }
	.cafe-hero__stick { position: relative; height: auto; min-height: 0; padding: calc(var(--hh) + 28px) 0 60px; display: block; overflow: visible; }
	.cafe-hero__inner { grid-template-columns: 1fr; gap: 28px; }
	.cafe-hero__text { transform: none; }
	.cafe-scene { --bw: min(31vw, 180px); height: calc(var(--bh) + 120px); }
	.cafe-scene__cup { width: 34%; max-width: 200px; bottom: 0; }
	.book-stage { right: 0; }
	.cafe-hero__hint { display: none; }
	.cafe-bean.b4, .cafe-hero__branch { display: none; }
	.cafe-bean.b2 { top: auto; bottom: 8%; }
}
@media (max-width: 820px) {
	.pcard--feature { flex-direction: column; }
	.pcard--feature .pcard__img { flex: none; aspect-ratio: 4 / 3; }
	.pcard--feature .pcard__body { padding: 24px 16px 10px; }
	.pcard--feature .pcard__desc { font-size: 32px; margin-bottom: 26px; }
	.pcard--wide { flex-direction: column; }
	.pcard--wide .pcard__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
	.pcard--wide .pcard__body { padding: 22px 14px 8px; }
	.letters { grid-template-columns: 1fr; max-width: 560px; }
	.letters .postcard:nth-child(n) { margin-top: 0; }
	.letter-form { grid-template-columns: 1fr; }
	.letter-form > p { grid-column: 1; }
	.letter-form .comment-form-comment { grid-row: auto; padding: 0 0 8px; border: 0; margin-bottom: 22px; }
	.letter-form .comment-notes, .letter-form .logged-in-as { margin-right: 0; }
	.letter-form textarea { min-height: 240px; }
	.letter-write .comment-reply-title { margin-right: 96px; }
	.stamp--write { width: 66px; height: 80px; }
}
@media (max-width: 620px) {
	.cafe-grid { grid-template-columns: 1fr; }
	.pcard--wide { grid-column: auto; }
	.cafe-hero__title { font-size: 66px; }
	.postcard__card { padding: 22px; }
	.postcard:nth-child(3n+2) .postcard__card { border-width: 7px; }
	.stamp { width: 64px; height: 78px; }
	.postmark { right: 60px; width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
	.postcard__float, .cafe-ambient *, .cup__steam, .cup__heart, .cafe-bean .bean, .cafe-hero__hint .icon { animation: none !important; }
	.cup__steam path { animation: none; opacity: .5; stroke-dasharray: none; }
	.cafe-hero { height: auto; }
	.cafe-hero__stick { position: relative; }
	.drifter { display: none; }
}

/* v1.7 : maison du bandeau « Devenir auteur » */
.author-band__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.author-band__cta { display: flex; flex-direction: column; align-items: center; gap: 22px; justify-self: center; margin-top: clamp(-260px, -14vw, -120px); }
.house { width: clamp(260px, 25vw, 400px); height: auto; overflow: visible; color: var(--paper); }
.js .house.reveal { opacity: 1; transform: none; }
.house__l { stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .house__l { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .house.is-in .house__l { stroke-dashoffset: 0; }
.house__leaf { fill: currentColor; opacity: .85; transform-box: fill-box; transform-origin: 0 100%; animation: sway 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.js .house__leaf { opacity: 0; transition: opacity 1s ease; transition-delay: var(--d, 0s); }
.js .house.is-in .house__leaf { opacity: .85; }
.house__knob { fill: currentColor; }
.house__glow { fill: #F6E7C8; opacity: .12; animation: glow-win 5s ease-in-out infinite; }
.house__glow.is-b { animation-delay: -2.2s; }
@keyframes glow-win { 0%, 100% { opacity: .1; } 40% { opacity: .24; } 60% { opacity: .17; } }
.house__smoke { animation: sway-steam 8s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.house__smoke path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 150 400; stroke-dashoffset: 150; opacity: 0; animation: smoke 6.5s cubic-bezier(.4, 0, .4, 1) infinite; }
.house__smoke path:nth-child(2) { animation-delay: -2.2s; animation-duration: 7.2s; }
.house__smoke path:nth-child(3) { animation-delay: -4.4s; animation-duration: 6.8s; }
@keyframes smoke { 0% { stroke-dashoffset: 150; opacity: 0; transform: translateY(6px); } 25% { opacity: .8; } 70% { opacity: .45; } 100% { stroke-dashoffset: -300; opacity: 0; transform: translateY(-18px); } }
@media (max-width: 820px) { .author-band__foot { grid-template-columns: 1fr; } .author-band__cta { justify-self: start; align-items: flex-start; margin-top: 8px; } .house { width: min(80vw, 300px); } }
@media (prefers-reduced-motion: reduce) { .house__smoke, .house__smoke path, .house__glow, .house__leaf { animation: none !important; } .house__smoke path { opacity: .4; stroke-dasharray: none; } }

/* v1.8 : les chats de la maison (pause café) */
.cafe-cats { position: relative; z-index: 1; height: clamp(320px, 52vh, 480px); overflow: clip; }
.cafe-cats__paws { position: absolute; inset: 0; pointer-events: none; }
.paw { position: absolute; left: var(--x); top: calc(50% + var(--y)); width: 22px; height: 22px; margin: -11px 0 0 -11px; color: var(--coffee, #6E4B33); opacity: 0; transform: rotate(90deg) scale(.6); transition: opacity .5s ease, transform .5s var(--ease); }
.paw svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.paw.is-on { transform: rotate(90deg) scale(1); }
.cats-card { position: absolute; left: 50%; top: 50%; margin: 0; z-index: 2; transform: translate3d(calc(-50% + var(--cx, 0px)), -50%, 0) rotate(var(--tilt, 0deg)); will-change: transform; }
.cats-card__float { display: flex; align-items: center; gap: 20px; padding: 12px 30px 12px 12px; border-radius: 999px; background: var(--cream, #FFFDF8); box-shadow: 0 0 0 1px rgba(110, 75, 51, .08), 0 30px 60px -30px rgba(80, 50, 25, .5); animation: catfloat 5.5s ease-in-out infinite; white-space: nowrap; }
@keyframes catfloat { 50% { transform: translateY(-10px) rotate(-1deg); } }
.cats-card__photos { display: flex; flex: 0 0 auto; }
.cats-card__photos img { width: clamp(68px, 7vw, 96px); height: clamp(68px, 7vw, 96px); border-radius: 50%; object-fit: cover; border: 4px solid var(--cream, #FFFDF8); box-shadow: 0 8px 18px -10px rgba(60, 40, 20, .5); }
.cats-card__photos img + img { margin-left: -22px; transform: rotate(6deg); }
.cats-card__photos img:first-child { transform: rotate(-5deg); }
.cats-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.cats-card .mono { font-size: 10.5px; color: var(--coffee, #6E4B33); }
.cats-card b { font: 400 clamp(26px, 2.4vw, 36px)/1 var(--serif); letter-spacing: -.01em; }
.cats-card small { font: 500 19px/1.1 var(--hand, cursive); color: var(--mute); }
@media (max-width: 620px) {
	.cats-card__float { gap: 14px; padding-right: 22px; white-space: normal; width: min(86vw, 360px); }
	.cats-card small { font-size: 17px; }
	.paw { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
}
@media (prefers-reduced-motion: reduce) { .cats-card__float { animation: none; } .paw { display: none; } }

/* v1.8 : en-tête, lien manuscrit et recherche en icône */
.site-header__in { grid-template-columns: auto minmax(0, 1fr) auto; }
.site-nav__list { gap: clamp(14px, 1.5vw, 28px); }
.tool--search { display: inline-flex; align-items: center; padding: 10px 0; }
.tool--search .icon { width: 20px; height: 20px; }
.site-tools .tool--manuscrit { padding: 10px 16px 9px; border: 1px solid currentColor; border-radius: 99px; background: none; font-size: 11px; letter-spacing: .16em; transition: background .3s ease, color .3s ease; }
.site-tools .tool--manuscrit:hover { background: var(--white); color: var(--ink); }
@media (max-width: 1380px) { .tool__lg { display: none; } }
@media (max-width: 1180px) { .site-nav { display: none; } .tool--menu { display: inline-block; } }
@media (max-width: 560px) { .site-tools .tool--manuscrit { display: none; } }

/* v1.8.1 : les chats dans la présentation d'Emma et Luca (fond noir) */
.manifesto .cafe-cats { height: clamp(220px, 30vh, 320px); margin: clamp(16px, 3vw, 40px) 0 clamp(-90px, -6vw, -40px); color: var(--ink); }
.manifesto .paw { color: var(--paper); }
.manifesto .cats-card__float { background: #FBF7EF; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.manifesto .cats-card__photos img { border-color: #FBF7EF; }
.manifesto .cats-card .mono { color: var(--olive); }
.manifesto .cats-card small { font-family: "Caveat", cursive; color: var(--mute); }

/* v1.8.2 : pastille des chats plus grande sur ordinateur */
@media (min-width: 900px) {
	.manifesto .cafe-cats { height: clamp(300px, 36vh, 400px); }
	.manifesto .cats-card__float { gap: 28px; padding: 16px 44px 16px 16px; }
	.manifesto .cats-card__photos img { width: clamp(110px, 9vw, 140px); height: clamp(110px, 9vw, 140px); border-width: 5px; }
	.manifesto .cats-card__photos img + img { margin-left: -30px; }
	.manifesto .cats-card .mono { font-size: 12px; }
	.manifesto .cats-card b { font-size: clamp(38px, 3.2vw, 50px); }
	.manifesto .cats-card small { font-size: 24px; }
}

/* v1.8.4 : rencontres à plusieurs, visages dégagés ; séparateur animé */
.event-card__photo.is-group .event-card__date { right: auto; left: 50%; bottom: -5%; transform: translateX(-50%); width: 88px; height: 88px; }
.event-card__photo.is-group .event-card__date.is-multi { width: 100px; height: 100px; bottom: -8%; }
.event-card__photo.is-group .event-card__date .event-card__day { font-size: 30px; }
.is-group.n2 .face--1 { width: 56%; left: -1%; top: 4%; bottom: auto; right: auto; z-index: 2; }
.is-group.n2 .face--2 { width: 56%; right: -1%; top: 4%; bottom: auto; left: auto; z-index: 1; }
.is-group.n3 .face--1 { width: 43%; left: -3%; top: 12%; bottom: auto; right: auto; z-index: 3; }
.is-group.n3 .face--2 { width: 43%; left: 28.5%; top: 2%; bottom: auto; right: auto; z-index: 2; }
.is-group.n3 .face--3 { width: 43%; left: 60%; top: 12%; bottom: auto; right: auto; z-index: 1; }
.event-card:hover .is-group.n2 .face--1 { transform: translateX(-6px) rotate(-2deg); }
.event-card:hover .is-group.n2 .face--2 { transform: translateX(6px) rotate(2deg); }
.event-card:hover .is-group.n3 .face--1 { transform: translateX(-6px); }
.event-card:hover .is-group.n3 .face--2 { transform: translateY(-6px); }
.event-card:hover .is-group.n3 .face--3 { transform: translateX(6px); }

.divider { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); padding: clamp(56px, 7vw, 96px) var(--gx); max-width: 1100px; margin: 0 auto; }
.js .divider.reveal { opacity: 1; transform: none; }
.divider__line { flex: 1; height: 1px; background: var(--ink); opacity: .35; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.divider__line:first-child { transform-origin: right center; }
.divider__line:last-child { transform-origin: left center; }
.divider.is-in .divider__line, html:not(.js) .divider__line { transform: scaleX(1); }
.divider__sprig { width: clamp(90px, 9vw, 130px); height: auto; overflow: visible; flex: 0 0 auto; animation: sprig 7s ease-in-out infinite; transform-origin: 10% 70%; }
@keyframes sprig { 50% { transform: rotate(-4deg) translateY(-2px); } }
.divider__stem { stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.divider.is-in .divider__stem, html:not(.js) .divider__stem { stroke-dashoffset: 0; }
.divider__leaf { fill: var(--ink); opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: 0 100%; transition: opacity .8s ease, transform 1s var(--ease); transition-delay: var(--d); }
.divider__leaf:nth-of-type(odd) { fill: none; stroke: var(--ink); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.divider.is-in .divider__leaf, html:not(.js) .divider__leaf { opacity: 1; transform: none; }
.divider__olive { fill: var(--olive); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .8s ease 1.2s; animation: olive 6s ease-in-out infinite; }
.divider.is-in .divider__olive, html:not(.js) .divider__olive { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .divider__sprig, .divider__olive { animation: none; } }
.divider { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 6vw, 88px); background: var(--white); box-shadow: 0 0 0 100vmax var(--white); clip-path: inset(0 -100vmax); }

/* v1.9 : contact */
.site-footer__contact { margin: 18px 0 0; }
.site-footer .site-footer__mail { font: 400 22px/1.2 var(--serif); color: var(--paper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-footer__cta { margin-top: 22px; min-height: 48px; padding: 0 22px; font-size: 14px; }
.site-footer .site-footer__cta, .site-footer .site-footer__cta:hover { color: var(--ink); text-decoration: none; }
.site-footer .site-footer__cta:hover { background: var(--white); }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(40px, 6vw, 110px); padding-bottom: clamp(100px, 10vw, 160px); position: relative; z-index: 1; }
.contact__aside { display: flex; flex-direction: column; gap: 30px; padding-top: 30px; border-top: 1px solid var(--ink); align-self: start; position: sticky; top: calc(var(--hh) + 24px); }
.contact__block .mono { color: var(--mute); margin: 0 0 8px; }
.contact__block p { margin: 0; }
.contact__mail { font: 400 clamp(24px, 2vw, 30px)/1.15 var(--serif); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; word-break: break-word; }
.contact__links { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact__prose { margin-bottom: 40px; }
.contact-form { padding: clamp(28px, 4vw, 52px); background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 80px -60px rgba(14, 14, 12, .35); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.contact-field { margin: 0 0 26px; }
.contact-field label { display: block; margin-bottom: 8px; font: 500 11px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.contact-field__opt { text-transform: none; letter-spacing: .04em; opacity: .7; }
.contact-field input, .contact-field textarea { width: 100%; padding: 14px 0 12px; border: 0; border-bottom: 1px solid rgba(14, 14, 12, .3); border-radius: 0; background: transparent; font: 400 18px/1.4 var(--sans); color: var(--ink); transition: border-color .3s ease; }
.contact-field textarea { resize: vertical; min-height: 180px; padding: 14px 16px; border: 1px solid rgba(14, 14, 12, .3); }
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-color: var(--ink); }
.contact-field.is-invalid input, .contact-field.is-invalid textarea { border-color: #A3402F; }
.contact-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.contact-form__legal { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--mute); }
.contact-form__send .icon { width: 14px; height: 14px; }
.contact-form.is-busy .contact-form__send { opacity: .6; pointer-events: none; }
.contact-form__note { margin: 18px 0 0; font: 400 20px/1.3 var(--serif); }
.contact-form.is-ok .contact-form__note { color: var(--olive); }
.contact-form.is-error .contact-form__note { color: #A3402F; }
.contact-form.is-ok .contact-field, .contact-form.is-ok .contact-form__row, .contact-form.is-ok .contact-form__foot { display: none; }
.contact-form.is-ok .contact-form__note { font-size: clamp(26px, 2.4vw, 34px); margin: 0; }
@media (max-width: 900px) {
	.contact { grid-template-columns: 1fr; }
	.contact__aside { position: static; order: 2; }
	.contact-form__row { grid-template-columns: 1fr; }
}
.site-nav .num { display: none; }
.site-footer__brand .site-footer__social { margin-top: 26px; }

.contact__addr { font-style: normal; line-height: 1.6; }

/* v1.10 : avis clients ----------------------------------------------------- */
.stars { position: relative; display: inline-flex; vertical-align: middle; line-height: 0; --sz: 16px; --on: var(--ink); --off: rgba(14, 14, 12, .16); }
.stars__bg, .stars__fg { display: inline-flex; gap: 2px; white-space: nowrap; }
.stars__fg { position: absolute; left: 0; top: 0; overflow: hidden; }
.stars svg { width: var(--sz); height: var(--sz); flex: 0 0 auto; }
.stars__bg svg { fill: var(--off); }
.stars__fg svg { fill: var(--on); }
.stars--s { --sz: 12px; }
.stars--l { --sz: 26px; }
.stars__bg, .stars__fg { gap: calc(var(--sz) * .14); }

.book-card__rating { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.book-card__rcount { font: 400 12px/1 var(--mono); letter-spacing: .08em; color: var(--mute); }

.product-rating { display: inline-flex; align-items: center; gap: 12px; margin: 14px 0 0; text-decoration: none; color: var(--ink); }
.product-rating span { font-size: 14.5px; color: var(--mute); }
.product-rating b { color: var(--ink); font-weight: 600; }
.product-rating:hover span { color: var(--ink); }

.reviews { padding-block: clamp(90px, 10vw, 140px); border-top: 1px solid var(--ink); max-width: none; scroll-margin-top: 60px; }
.reviews__head { margin-bottom: clamp(40px, 5vw, 72px); }
.reviews__kicker { color: var(--mute); margin: 0 0 18px; }
.reviews__head .h-l em { color: var(--olive); }
.reviews__grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2.6fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.reviews__summary { position: sticky; top: calc(var(--hh) + 24px); padding-top: 26px; border-top: 1px solid var(--ink); }
.reviews__score { font: 400 clamp(84px, 8vw, 128px)/.85 var(--serif); letter-spacing: -.04em; margin: 0 0 16px; }
.reviews__score small { font-size: .32em; letter-spacing: 0; color: var(--mute); margin-left: 6px; }
.reviews__count { color: var(--mute); margin: 14px 0 28px; }
.reviews__bars { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 10px; }
.reviews__bars li { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 12px; }
.reviews__bars .mono { font-size: 11px; color: var(--mute); }
.reviews__n { text-align: right; }
.reviews__bar { height: 4px; background: rgba(14, 14, 12, .1); border-radius: 4px; overflow: hidden; }
.reviews__bar i { display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: 4px; transform-origin: left; transition: transform 1.4s var(--ease); }
.js .reviews__bars.reveal { opacity: 1; transform: none; }
.js .reviews__bars.reveal .reviews__bar i { transform: scaleX(0); }
.js .reviews__bars.reveal.is-in .reviews__bar i { transform: scaleX(1); }
.reviews__bars li:nth-child(2) i { transition-delay: .08s; }
.reviews__bars li:nth-child(3) i { transition-delay: .16s; }
.reviews__bars li:nth-child(4) i { transition-delay: .24s; }
.reviews__bars li:nth-child(5) i { transition-delay: .32s; }
.reviews__empty { font: 400 22px/1.3 var(--serif); margin: 0 0 28px; }
.reviews__write { width: 100%; }
.reviews__write .icon { width: 14px; height: 14px; }

.review-cards { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.review-card { position: relative; break-inside: avoid; margin: 0 0 28px; padding: 34px 32px 26px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -50px rgba(14, 14, 12, .45); transition: transform .5s var(--ease), box-shadow .5s ease; }
.js .review-card.reveal { transition: opacity 1s var(--ease) calc(var(--i) * .1s), transform 1s var(--ease) calc(var(--i) * .1s), box-shadow .5s ease; }
.review-card:hover { box-shadow: 0 40px 70px -46px rgba(14, 14, 12, .55); }
.review-card__q { position: absolute; right: 22px; top: -6px; font: italic 400 110px/1 var(--serif); color: rgba(14, 14, 12, .08); pointer-events: none; }
.review-card__text { margin-top: 18px; font: 400 clamp(19px, 1.4vw, 22px)/1.42 var(--serif); color: var(--text-soft); }
.review-card__text p { margin: 0 0 .7em; }
.review-card__text p:last-child { margin-bottom: 0; }
.review-card.is-long:not(.is-open) .review-card__text { max-height: 13.4em; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.review-card__more { margin-top: 12px; border: 0; background-color: transparent; padding: 0; cursor: pointer; font-size: 11px; }
.review-card__foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-card__avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font: italic 400 20px/1 var(--serif); }
.review-card__foot b { display: block; font-weight: 600; font-size: 15px; }
.review-card__foot .mono { font-size: 10.5px; color: var(--mute); letter-spacing: .14em; }
.review-card__reply { margin-top: 18px; padding: 16px 18px; background: var(--paper); border-left: 2px solid var(--olive); font-size: 15px; }
.review-card__reply .mono { font-size: 10px; color: var(--olive); margin: 0 0 6px; }
.review-card__reply p { margin: 0; }
.reviews__all { margin: 8px 0 0; text-align: center; }

.review-write { margin-bottom: 36px; padding: clamp(26px, 3vw, 40px); background: var(--white); border: 1px solid var(--ink); }
.review-write .comment-reply-title { font: 400 clamp(28px, 2.4vw, 36px)/1.05 var(--serif); margin: 0 0 8px; }
.review-write .comment-reply-title small { display: block; margin-top: 8px; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.review-form .comment-notes { font-size: 10.5px !important; color: var(--mute); margin: 0 0 26px; }
.rate { border: 0; padding: 0; margin: 0 0 24px; }
.rate legend { padding: 0; margin-bottom: 10px; font-size: 11px; color: var(--mute); }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { cursor: pointer; line-height: 0; transition: transform .25s var(--ease); }
.rate__stars svg { width: 34px; height: 34px; fill: rgba(14, 14, 12, .14); transition: fill .2s ease; }
.rate__stars label:hover { transform: scale(1.12); }
.rate__stars label:hover svg, .rate__stars label:hover ~ label svg, .rate__stars input:checked ~ label svg { fill: var(--ink); }
.rate__stars input:focus-visible + label { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
.review-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.review-form > * { grid-column: 1 / -1; }
.review-form .comment-form-author { grid-column: 1; }
.review-form .comment-form-email { grid-column: 2; }
.review-field { margin: 0 0 20px; }
.review-field label { display: block; margin-bottom: 8px; font: 500 11px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.review-form .review-field input, .review-form .review-field textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(14, 14, 12, .3); border-radius: 0; background: var(--paper); font: 400 17px/1.5 var(--sans); }
.review-form .review-field input:focus, .review-form .review-field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.review-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mute); }
.review-form .comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; font: inherit; }
.review-form .form-submit { margin: 4px 0 0; }

@media (max-width: 1080px) {
	.reviews__grid { grid-template-columns: 1fr; }
	.reviews__summary { position: static; display: grid; grid-template-columns: auto 1fr; gap: 0 32px; align-items: center; }
	.reviews__summary > .reviews__score, .reviews__summary > .stars, .reviews__summary > .reviews__count { grid-column: 1; }
	.reviews__bars { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
	.reviews__write { grid-column: 1 / -1; margin-top: 24px; }
}
@media (max-width: 760px) {
	.review-cards { columns: 1; }
	.reviews__summary { grid-template-columns: 1fr; }
	.reviews__bars { grid-column: 1; grid-row: auto; margin-top: 20px; }
	.review-form { grid-template-columns: 1fr; }
	.review-form .comment-form-author, .review-form .comment-form-email { grid-column: 1; }
	.review-card { padding: 28px 22px 22px; }
}
