/* Site de vente. Minimalisme éditorial, comme l'application (style.css) : monochrome chaud (fond #fbfbfa, encre #111),
   boutons noirs. Polices : Geist (texte), Newsreader (titres et textes d'histoires), Geist Mono (petits libellés).
   Formes : 6 px pour les boutons et commandes, 12 px pour les blocs et photos. Une seule ombre, très légère.
   Mouvement : apparitions douces au défilement, coupées si l'appareil demande moins d'animations.
   Les règles plus bas, plus récentes, l'emportent sur les premières (même spécificité). */

body.site { background: var(--canvas); font-size: 18px; line-height: 1.55; }
.site-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.site h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -0.03em; }
.site h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
.site img { display: block; width: 100%; height: auto; }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.btn { transition: background-color 0.15s ease, transform 0.1s ease-out, border-color 0.15s ease; }
.btn:active { transform: scale(0.97); }
.btn-quiet { background: var(--canvas); color: var(--ink); border-color: var(--hairline); }
.btn-quiet:hover { background: var(--surface-soft); border-color: var(--muted); }

/* ---------- Menu : couche translucide, le contenu défile dessous ---------- */
.top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.site-top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--canvas) 78%, transparent); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); transition: box-shadow 0.2s ease; }
.site-top.scrolled { box-shadow: 0 1px 0 var(--hairline-soft), 0 6px 18px rgba(64, 32, 16, 0.06); }
@media (prefers-reduced-transparency: reduce) { .site-top { background: var(--canvas); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.site-bar { height: 68px; display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a { padding: 9px 12px; border-radius: var(--r-btn); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { background: var(--surface-soft); }
.site-nav a[aria-current="page"], .site-sheet a[aria-current="page"] { background: var(--surface-soft); }
.site-nav a:active, .site-sheet a:active, .faq-nav a:active { background: var(--surface-strong); }
.foot-cols a:not(.logo):active, .foot-legal nav a:active { opacity: 0.6; }
.site-actions { display: flex; align-items: center; gap: 8px; }
.site-burger { display: none; }
.site-sheet { position: absolute; right: 16px; top: 62px; min-width: 240px; background: var(--canvas); border-radius: 20px; box-shadow: var(--shadow); padding: 8px; display: grid; transform-origin: top right; }
.site-sheet a { padding: 13px 14px; border-radius: var(--r-btn); text-decoration: none; color: var(--ink); font-weight: 600; }
.site-sheet a:hover { background: var(--surface-soft); }

/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
  html.js .reveal.in { opacity: 1; transform: none; }
  .hero-text > * { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.06s; }
  .hero-text > :nth-child(3) { animation-delay: 0.12s; }
  .hero-text > :nth-child(4) { animation-delay: 0.18s; }
  .hero-photo { animation: settle 1.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.03); } }

/* ---------- Haut de l'accueil ---------- */
.hero { padding: 40px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.04em; }
.hero-sub { font-size: 1.25rem; line-height: 1.5; color: var(--body); margin-top: 22px; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-photo img, .page-hero-photo img { border-radius: 24px; object-fit: cover; }
.hero-photo img { max-height: calc(100dvh - 150px); }

/* ---------- Histoire d'exemple : le vrai rendu du texte ---------- */
.story-band { padding: 96px 0; background: var(--surface-soft); }
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.story-intro p { color: var(--body); margin-top: 18px; max-width: 40ch; }
.story { margin: 0; background: var(--canvas); border-radius: 20px; box-shadow: var(--shadow); padding: 36px 44px 30px; }
.story-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-full); background: var(--surface-strong); margin-bottom: 28px; flex-wrap: wrap; }
.story-tabs button { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: transparent; color: var(--body); padding: 8px 14px; border-radius: var(--r-full); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.story-tabs button[aria-selected="true"] { background: var(--canvas); color: var(--ink); box-shadow: 0 1px 3px rgba(64, 32, 16, 0.12); }
.story-q { font-size: 15px; color: var(--muted); }
.story-title { font-family: var(--read); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.01em; margin: 8px 0 18px; }
.story-text { margin: 0; font-family: var(--read); font-size: 1.2rem; line-height: 1.75; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .story-text:not([hidden]) { animation: fade 0.35s ease; } }
@keyframes fade { from { opacity: 0; } }
.story figcaption { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* ---------- Haut de page : les quatre assurances ---------- */
.hero-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.hero-checks li { display: flex; gap: 10px; align-items: center; color: var(--body); font-size: 1rem; }
.hero-checks .ph { color: var(--ink); font-size: 18px; flex: none; }

/* ---------- Le principe ---------- */
.what { padding: 88px 0; border-top: 1px solid var(--hairline-soft); }
.what-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } /* texte à gauche, photo du chapitre à droite */
.what-text > p:last-child { color: var(--body); font-size: 1.15rem; margin-top: 20px; max-width: 46ch; }
.what-photo img { border-radius: 12px; width: 100%; height: auto; display: block; }

/* ---------- Comment ça marche : quatre étapes ---------- */
.steps-band { padding: 96px 0; background: var(--surface-soft); scroll-margin-top: 68px; }
.steps2 { list-style: none; padding: 0; margin: 56px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.steps2 li { background: var(--canvas); border-radius: 20px; padding: 32px; }
.step-label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.steps2 h3 { font-size: 1.35rem; }
.steps2 p { color: var(--body); margin-top: 10px; }

/* ---------- Notre histoire ---------- */
.founder { padding: 96px 0; }
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.founder-photo img { border-radius: 24px; }
.founder p { color: var(--body); margin-top: 16px; font-size: 1.1rem; }
.founder-sign { color: var(--ink) !important; }

/* ---------- La fiche du livre : galerie et offre ---------- */
.product { padding: 104px 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.gallery { position: sticky; top: 92px; display: grid; grid-template-columns: 88px 1fr; gap: 14px; }
.gallery-main { grid-column: 2; grid-row: 1; }
.gallery-main img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; }
.gallery-thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 10px; align-content: start; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: none; transition: border-color 0.15s ease; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; }
.product-info h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.product-sub { color: var(--body); margin-top: 14px; font-size: 1.1rem; }
.benefits { margin-top: 28px; display: grid; gap: 18px; }
.benefits h3 { font-size: 1.1rem; }
.benefits p { color: var(--body); margin-top: 2px; font-size: 1rem; }
.included { list-style: none; padding: 24px 0 0; margin: 28px 0 0; border-top: 1px solid var(--hairline-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.included li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: 0.98rem; align-items: start; color: var(--body); }
.included .ph { font-size: 22px; color: var(--accent-text); }
.product-buy { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.price { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.guarantee { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink); font-weight: 600; font-size: 15px; }
.guarantee .ph { font-size: 20px; }

/* ---------- Les histoires vous appartiennent ---------- */
.own { padding: 104px 0; background: var(--surface-soft); }
.own-head { max-width: 760px; }
.own-head p { color: var(--body); margin-top: 18px; font-size: 1.12rem; }
.own-cols { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.own-cols .ph { font-size: 30px; color: var(--accent-text); }
.own-cols h3 { margin-top: 12px; }
.own-cols p { color: var(--body); margin-top: 6px; font-size: 1rem; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-full); background: var(--surface-strong); color: var(--muted); font-size: 12px; font-weight: 700; vertical-align: middle; }
.own-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.own-cta ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--body); font-size: 15px; }
.own-cta li { display: inline-flex; gap: 6px; align-items: center; }
.own-cta .ph { color: var(--ink); }

/* ---------- Pensé pour les grands-parents ---------- */
.simple { padding: 104px 0; }
.simple-inner { text-align: center; display: grid; justify-items: center; gap: 18px; }
.simple-big { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; color: var(--accent-text); }
.simple-inner > p:last-child { color: var(--body); max-width: 52ch; }

/* ---------- L'intérieur du livre ---------- */
.inside { padding: 104px 0; background: var(--surface-soft); }
.inside-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.inside-photo img { border-radius: 24px; }
.inside-grid p { color: var(--body); margin: 18px 0 26px; }
.story-intro .btn { margin-top: 24px; }

/* ---------- Comparaison avec un carnet à remplir ---------- */
.compare { padding: 104px 0; }
.compare-sub { margin: 16px auto 40px; max-width: 54ch; }
.compare-table { border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; }
.compare-table [role="row"] { display: grid; grid-template-columns: 0.9fr 1fr 1fr; }
.compare-table [role="row"] + [role="row"] { border-top: 1px solid var(--hairline-soft); }
.compare-table span { padding: 16px 20px; font-size: 1rem; }
.compare-table [role="rowheader"] { font-weight: 600; }
.compare-table [role="row"]:not(.compare-head) span:nth-child(2) { color: var(--muted); }
.compare-table [role="row"]:not(.compare-head) span:nth-child(3) { background: var(--accent-soft); font-weight: 600; }
.compare-head span { font-weight: 700; font-size: 0.95rem; background: var(--surface-soft); }
.compare-head span:last-child { background: var(--accent); color: #fff; }

/* ---------- Le cadeau ---------- */
.gift-home { padding: 104px 0; }
.gift-home-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }
.gift-home-photo img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; }
.gift-home-grid p { color: var(--body); margin: 18px 0 26px; max-width: 52ch; }

/* ---------- Questions fréquentes ---------- */
.faq-band { padding: 96px 0; }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; }
.faq-grid > div:first-child { position: sticky; top: 100px; align-self: start; }
.faq-grid > div:first-child p { margin-top: 14px; }
.faq { border-bottom: 1px solid var(--hairline-soft); }
.faq:first-child { border-top: 1px solid var(--hairline-soft); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.1rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { color: var(--muted); flex: none; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.faq p { padding: 0 0 22px; color: var(--body); max-width: 64ch; }

/* ---------- Appel final ---------- */
.final { padding: 104px 0; background: var(--accent-soft); }
.final-inner { display: grid; justify-items: center; text-align: center; gap: 16px; }
.final p { color: var(--body); max-width: 46ch; }
.final .btn { margin-top: 12px; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: 40px 0 88px; }
.page-hero.plain { padding-bottom: 32px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.04em; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.timeline-band { padding: 24px 0 96px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--hairline-soft); }
.tl-num { width: 48px; height: 48px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center; }
.timeline h2 { font-size: 1.5rem; }
.timeline p { color: var(--body); margin-top: 8px; }
.gift-band { padding: 96px 0; background: var(--surface-soft); }
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gift-item { background: var(--canvas); border-radius: 20px; padding: 36px; }
.gift-item.wide { grid-column: span 2; }
.gift-item h2 { font-size: 1.5rem; margin-top: 18px; }
.gift-item p { color: var(--body); margin-top: 10px; max-width: 60ch; }
.gift-icon { width: 52px; height: 52px; border-radius: 30%; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; }
.after-band { padding: 96px 0; }
.after-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.after-photo img { border-radius: 20px; }
.after-grid p { color: var(--body); margin-top: 18px; }
.specs-band { padding: 24px 0 96px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec { background: var(--surface-soft); border-radius: 20px; padding: 32px; }
.spec h2 { font-size: 1.6rem; }
.spec p { color: var(--body); margin-top: 8px; }
.options-band { padding: 96px 0; }
.options { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.options > div { border: 1px solid var(--hairline); border-radius: 20px; padding: 32px; }
.opt-price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 8px; }
.options p + p { color: var(--body); }
.faq-page { padding: 16px 0 96px; }
.faq-page-grid { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }
.faq-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; }
.faq-nav a { padding: 9px 12px; border-radius: var(--r-btn); color: var(--body); text-decoration: none; font-weight: 600; }
.faq-nav a:hover { background: var(--surface-soft); color: var(--ink); }
.faq-group { margin-bottom: 56px; scroll-margin-top: 96px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 12px; }

/* ---------- Page d'achat ---------- */
.buy-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.buy-photo { position: sticky; top: 96px; align-self: start; }
.buy-photo img { border-radius: var(--r-card); aspect-ratio: 4 / 5; object-fit: cover; }
.buy-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.buy-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--body); }
.buy-list .ph { color: var(--accent-text); font-size: 22px; }
.buy-form { background: var(--surface-soft); border-radius: 20px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.buy-form .field label { font-size: 15px; }
.small { font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; }
.pills span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--hairline); border-radius: var(--r-btn); background: var(--canvas); font-weight: 600; font-size: 16px; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.pills label:hover span { border-color: var(--muted); }
.pills input:checked + span { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.pills input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 2px; }

/* ---------- Pied de page ---------- */
.site-foot { padding: 64px 0 28px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 34ch; color: var(--muted); font-size: 15px; }
.foot-cols h3, .foot-cols .foot-title { font-size: 14px; margin-bottom: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.foot-cols a:not(.logo) { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.foot-cols a:not(.logo):hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--hairline-soft); color: var(--muted); font-size: 13px; }

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .site-actions { margin-left: auto; }
  .site-burger { display: block; }
}
@media (max-width: 960px) {
  .hero-grid, .what-grid, .product-grid, .founder-grid, .inside-grid, .story-grid, .gift-home-grid, .faq-grid, .page-hero-grid, .after-grid, .buy-grid, .faq-page-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-photo img { max-height: none; aspect-ratio: 4 / 3; }
  .faq-grid > div:first-child, .faq-nav { position: static; }
  .faq-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .faq-nav a { border: 1px solid var(--hairline); border-radius: var(--r-full); }
  .gallery { position: static; }
  .own-cols { grid-template-columns: 1fr; gap: 24px; }
  .buy-photo { display: none; }
}

/* ---------- Téléphone : une seule colonne ---------- */
@media (max-width: 640px) {
  body.site { font-size: 17px; }
  .site-wrap { padding: 0 16px; }
  .site-bar { height: 60px; gap: 12px; }
  .site-actions .btn-sm { padding: 0 12px; }
  .hero { padding: 24px 0 64px; }
  .hero-sub { font-size: 1.1rem; }
  .hero-cta .btn { width: 100%; }
  .what, .steps-band, .founder, .product, .own, .simple, .inside, .compare, .story-band, .gift-home, .faq-band, .gift-band, .after-band, .options-band { padding: 64px 0; }
  .final { padding: 72px 0; }
  .story { padding: 24px 20px; }
  .story-title { font-size: 1.5rem; }
  .story-text { font-size: 1.08rem; }
  .steps2, .included { grid-template-columns: 1fr; }
  .steps2 li { padding: 24px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main, .gallery-thumbs { grid-column: 1; }
  .gallery-thumbs { grid-row: 2; grid-template-columns: repeat(4, 1fr); }
  .compare-table [role="row"] { grid-template-columns: 0.8fr 1fr 1fr; }
  .compare-table span { padding: 12px 10px; font-size: 0.88rem; }
  .price { font-size: 2.8rem; }
  .gift-grid, .specs, .options { grid-template-columns: 1fr; }
  .gift-item.wide { grid-column: auto; }
  .gift-item, .spec { padding: 26px; }
  .timeline li { grid-template-columns: 48px 1fr; gap: 16px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}

/* =====================================================================
   Passe « minimalisme éditorial » (skill minimalist-ui), dans le cadre de la marque :
   l'orange brûlé reste la seule couleur, réservée aux boutons d'achat ; Figtree pour le texte,
   Literata (déjà notre police de livre) pour les grands titres. Blanc cassé chaud, filets de 1 px,
   angles nets (12 px maximum, 6 px pour les boutons), ombres presque invisibles.
   ===================================================================== */
body.site {
  --canvas: #ffffff;
  --page: #fbfbfa;
  --surface-soft: #f7f6f3;
  --surface-strong: #efede8;
  --ink: #111111;
  --body: #2f3437;
  --muted: #6b6a66;
  --hairline: #eaeaea;
  --hairline-soft: #eaeaea;
  --accent-soft: #f7f6f3;
  --shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  background: var(--page);
  line-height: 1.6;
}

/* Titres : Literata, serrés, comme une page de livre */
.site h1, .site h2, .price, .simple-big, .tile-figure, .opt-price {
  font-family: var(--read); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
}
.site h1 { font-weight: 600; }
.hero h1 { font-size: clamp(2.1rem, 3.2vw, 2.9rem); letter-spacing: -0.03em; }
.site h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }
.simple-big { color: var(--ink); font-weight: 500; }

/* Petits libellés en police à chasse fixe */
.eyebrow, .step-label { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.tag { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em; font-size: 10px; background: var(--tag-bg); color: var(--tag-text); }

/* Boutons : angles légers, pas d'ombre */
.site .btn { border-radius: 6px; box-shadow: none; }
.site .btn-quiet { background: transparent; border-color: var(--hairline); }
.site .btn-quiet:hover { background: var(--surface-soft); border-color: #d4d2cd; }
.site .btn:active { transform: scale(0.98); }

/* Blocs : filet de 1 px, angles 12 px, aucune ombre lourde */
.steps2 li, .story, .gift-item, .spec, .options > div, .compare-table, .site-sheet, .buy-form, .founder-photo img {
  border: 1px solid var(--hairline); border-radius: 12px; box-shadow: none;
}
.steps2 li, .gift-item, .spec { transition: box-shadow 0.2s ease; }
.steps2 li:hover, .gift-item:hover, .spec:hover { box-shadow: 0 2px 8px rgba(17, 17, 17, 0.04); }
.site-sheet { box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05); }
.hero-photo img, .page-hero-photo img, .inside-photo img, .gallery-main img, .gift-home-photo img, .own-photo img,
.after-photo img, .buy-photo img, .how-photo img, .steps4 img { border-radius: 12px; }
.gallery-thumbs button { border-radius: var(--r-btn); border-width: 1px; border-color: var(--hairline); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.story-tabs { background: var(--surface-soft); border: 1px solid var(--hairline); }
.story-tabs button[aria-selected="true"] { box-shadow: none; border: 1px solid var(--hairline); }

/* Photos : légèrement désaturées et réchauffées, pour rester dans le ton */
.site main img { filter: saturate(0.84) sepia(0.05) contrast(0.98); }
.site main img[src^="/images/"] { filter: none; } /* notre livre garde ses vraies couleurs */

/* Grands blancs entre les parties, et un léger halo chaud pour donner de la profondeur */
.what, .steps-band, .product, .own, .simple, .inside, .story-band, .compare, .gift-home, .faq-band,
.timeline-band, .gift-band, .after-band, .specs-band, .options-band, .faq-page { padding-top: 128px; padding-bottom: 128px; }
.what { padding-top: 112px; }
.hero { padding-bottom: 112px; background: radial-gradient(60% 50% at 85% 20%, rgba(149, 100, 0, 0.035), transparent 70%); }
.simple { background: radial-gradient(50% 60% at 50% 40%, rgba(149, 100, 0, 0.03), transparent 70%); }
.final { background: var(--surface-soft); border-top: 1px solid var(--hairline); }
.story-intro, .own-head { max-width: 64rem; }
.what-grid > p { max-width: 62ch; }
.timeline p { max-width: 62ch; }

/* Menu : flou léger seulement, filet de 1 px */
.site-top { background: color-mix(in srgb, var(--page) 82%, transparent); }
.site-top.scrolled { box-shadow: 0 1px 0 var(--hairline); }

/* Comparatif : sobre, l'orange seulement dans l'en-tête de notre colonne */
.compare-table [role="row"]:not(.compare-head) span:nth-child(3) { background: transparent; color: var(--ink); }
.compare-head span { background: var(--surface-soft); }
.compare-head span:last-child { background: var(--ink); color: var(--canvas); }

/* Icônes discrètes dans des pastilles pastel */
/* Numéros d'étapes et icônes : en noir sur blanc avec un filet, comme sur l'accueil (plus de pastille jaune). */
.gift-icon, .tl-num { background: #fff; color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--r-btn); }
.tl-num { font-family: var(--mono); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.04em; }
.step-n { border-radius: 6px; background: var(--ink); }

/* Questions fréquentes : rien que des filets, + pour ouvrir, − pour fermer */
.faq-sign { display: inline-flex; flex: none; }
.faq-sign .ph { color: var(--ink); font-size: 18px; transition: none; }
.faq-sign .ph-minus, .faq[open] .faq-sign .ph-plus { display: none; }
.faq[open] .faq-sign .ph-minus { display: inline-block; }
.faq, .faq:first-child { border-color: var(--hairline); }

/* Apparitions discrètes, en cascade */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { transform: translateY(12px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  html.js .reveal .steps2 > li, html.js .reveal .own-cols > div, html.js .reveal .included > li, html.js .reveal .gift-item, html.js .reveal .spec,
  html.js .reveal .cards3 > li, html.js .reveal .what-questions > li, html.js .reveal .ways-grid > *, html.js .reveal .temoignages-grid > * {
    opacity: 0; transform: translateY(12px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.js .reveal.in .steps2 > li, html.js .reveal.in .own-cols > div, html.js .reveal.in .included > li, html.js .reveal.in .gift-item, html.js .reveal.in .spec,
  html.js .reveal.in .cards3 > li, html.js .reveal.in .what-questions > li, html.js .reveal.in .ways-grid > *, html.js .reveal.in .temoignages-grid > * { opacity: 1; transform: none; }
  html.js .reveal :is(.steps2, .own-cols, .included, .gift-grid, .specs, .cards3, .what-questions, .ways-grid, .temoignages-grid) > :nth-child(2) { transition-delay: 80ms; }
  html.js .reveal :is(.steps2, .own-cols, .included, .gift-grid, .specs, .cards3, .what-questions, .ways-grid, .temoignages-grid) > :nth-child(3) { transition-delay: 160ms; }
  html.js .reveal :is(.steps2, .own-cols, .included, .gift-grid, .specs, .cards3, .what-questions, .ways-grid, .temoignages-grid) > :nth-child(4) { transition-delay: 240ms; }
  html.js .reveal :is(.steps2, .own-cols, .included, .gift-grid, .specs, .cards3, .what-questions, .ways-grid, .temoignages-grid) > :nth-child(5) { transition-delay: 320ms; }
  html.js .reveal :is(.steps2, .own-cols, .included, .gift-grid, .specs, .cards3, .what-questions, .ways-grid, .temoignages-grid) > :nth-child(6) { transition-delay: 400ms; }
}

@media (max-width: 640px) {
  .what, .steps-band, .product, .own, .simple, .inside, .story-band, .compare, .gift-home, .faq-band,
  .timeline-band, .gift-band, .after-band, .specs-band, .options-band, .faq-page { padding-top: 80px; padding-bottom: 80px; }
}

/* Essai : boutons principaux en noir (skill minimalist-ui). Pour revenir à l'orange, supprimer ce bloc. */
.site .btn:not(.btn-quiet):not(.btn-ghost) { background: #111111; color: #ffffff; }
.site .btn:not(.btn-quiet):not(.btn-ghost):hover { background: #333333; }

/* Polices du skill minimalist-ui (choix de Noé le 10/10/2026), hébergées ici :
   Geist pour le texte et les boutons, Newsreader pour les titres et les textes d'histoires, Geist Mono pour les petits libellés. */
body.site {
  --sans: "Geist Variable", "Helvetica Neue", system-ui, sans-serif;
  --read: "Newsreader Variable", Georgia, serif;
  --mono: "Geist Mono Variable", ui-monospace, "SF Mono", Menlo, monospace;
  font-family: var(--sans);
}
.site h1, .site h2, .price, .simple-big, .opt-price { font-weight: 500; letter-spacing: -0.025em; }
.story-title { font-weight: 500; }
.story-text { font-size: 1.28rem; }

/* =====================================================================
   Passe apple-design : réponse immédiate, gestes natifs, matières translucides,
   trajets symétriques, typographie selon la taille, réglages d'accessibilité.
   Courbe commune : cubic-bezier(0.32, 0.72, 0, 1), proche d'un ressort amorti sans rebond.
   ===================================================================== */
html { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.site a, .site button, .site summary, .site label { touch-action: manipulation; }

/* Réponse au toucher : dès l'appui, en 100 ms */
.site .btn, .gallery-thumbs button, .story-tabs button, .site-burger, .faq summary { transition: transform 100ms ease-out, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.site .btn:active, .site-burger:active { transform: scale(0.97); }
.gallery-thumbs button:active { transform: scale(0.95); }
.faq summary:active { opacity: 0.7; }

/* Typographie selon la taille : serré en grand, légèrement aéré en petit */
.site h1, .site h2 { font-optical-sizing: auto; }
.site h1 { letter-spacing: -0.03em; }
.site h2 { letter-spacing: -0.022em; }
.site h3 { letter-spacing: -0.008em; }
.small, .muted.small, .foot-legal, .foot-cols a, .gallery-thumbs, .tag, .price-note, .guarantee, .hero-checks li, .own-cta ul { letter-spacing: 0.006em; }

/* Barre du haut : matière translucide, et un fondu plutôt qu'un trait quand le contenu passe dessous */
.site-top.scrolled { box-shadow: none; }
.site-top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none; background: linear-gradient(color-mix(in srgb, var(--page) 90%, transparent), transparent); opacity: 0; transition: opacity 0.25s ease; }
.site-top.scrolled::after { opacity: 1; }

/* Bouton du menu (téléphone) */
.site-burger { width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1024px) { .site-burger { display: inline-flex; } }
.site-burger:hover { background: var(--surface-soft); }

/* Menu : sort du bouton (en haut à droite) et y retourne par le même chemin ; matière qui « se pose » */
.site-sheet {
  background: color-mix(in srgb, var(--canvas) 84%, transparent);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--hairline); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
  opacity: 0; visibility: hidden; transform: scale(0.94) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.32s;
}
.site-sheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s ease, transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s; }
.site-sheet a { font-size: 17px; }

/* Sélecteur de version : un indicateur qui glisse sous l'option choisie */
.story-tabs { position: relative; isolation: isolate; }
.story-ind { position: absolute; left: 0; top: 0; height: 0; width: 0; border-radius: var(--r-full); background: var(--canvas); border: 1px solid var(--hairline); z-index: -1; transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), width 0.35s cubic-bezier(0.32, 0.72, 0, 1); }
.story-tabs button[aria-selected="true"] { background: transparent; border-color: transparent; box-shadow: none; }
.story-tabs button { border: 1px solid transparent; }
@media (prefers-reduced-motion: no-preference) { .story-text:not([hidden]) { animation: fade 0.3s ease; } }

/* Galerie : défilement à aimants, avec l'élan et le rebond natifs du système */
.gallery-main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 12px; outline-offset: 4px; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { scroll-snap-align: center; scroll-snap-stop: always; }
.gallery-main img { border-radius: 0; }

/* Questions fréquentes : la réponse se déplie en douceur (navigateurs récents ; ailleurs, ouverture directe) */
:root { interpolate-size: allow-keywords; }
@media (prefers-reduced-motion: no-preference) {
  .faq::details-content { block-size: 0; overflow: hidden; transition: block-size 0.35s cubic-bezier(0.32, 0.72, 0, 1), content-visibility 0.35s allow-discrete; }
  .faq[open]::details-content { block-size: auto; }
}

/* Barre « Offrir le livre » en bas de l'écran du téléphone, une fois le haut de page dépassé */
.buy-bar { display: none; }
@media (max-width: 960px) {
  .buy-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
    background: color-mix(in srgb, var(--canvas) 82%, transparent);
    backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--hairline); border-radius: 12px; box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
    transform: translateY(calc(100% + 24px)); opacity: 0;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease;
  }
  .buy-bar.show { transform: none; opacity: 1; }
  .buy-bar strong { display: block; font-family: var(--read); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.1; }
  .buy-bar span { display: block; font-size: 13px; color: var(--muted); letter-spacing: 0.006em; }
  .buy-bar .btn { min-height: 46px; }
  .site-foot { padding-bottom: 96px; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { .buy-bar { transform: none; } }

/* Paiement en cours : retour immédiat */
.btn.busy { opacity: 0.85; cursor: progress; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* Réglages d'accessibilité de l'appareil */
@media (prefers-reduced-transparency: reduce) {
  .site-sheet, .buy-bar { background: var(--canvas); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .site-top, .site-sheet, .buy-bar { background: var(--canvas); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-sheet, .buy-bar, .steps2 li, .story, .compare-table, .faq { border-color: var(--ink); }
  .muted, .hero-sub, .price-note { color: var(--body); }
}
@media (prefers-reduced-motion: reduce) {
  .site-sheet { transform: none; filter: none; }
  .story-ind { transition: none; }
}

/* =====================================================================
   Livre en 3D (3D CSS, piloté par GSAP) et ouverture au défilement.
   Proportions du vrai livre : 18,9 × 24,6 cm. Couverture terre cuite (couleur par défaut du livre).
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.words .w > span { display: inline-block; will-change: transform; }

/* Haut de page : le livre fermé, posé sur un halo */
.hero-book { display: flex; justify-content: center; align-items: center; min-height: 520px; }

/* Comment ça marche : le livre s'ouvre et se feuillette pendant que la section reste en place */
.how3d { padding: 112px 0; background: var(--surface-soft); scroll-margin-top: 68px; }
.how3d-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.how3d-stage { display: flex; justify-content: center; align-items: center; min-height: 560px; }
.how3d-text h2 { margin-top: 4px; }
.how3d-steps { list-style: none; padding: 0; margin: 32px 0 28px; display: grid; gap: 4px; }
.how3d-steps li { padding: 16px 0 16px 20px; border-left: 2px solid var(--hairline); transition: opacity 0.3s ease, border-color 0.3s ease; }
.how3d-steps li p { color: var(--body); margin-top: 4px; font-size: 1rem; }
.how3d-steps .step-label { margin-bottom: 6px; }
.how3d.is-pinned .how3d-steps li { opacity: 0.38; }
.how3d.is-pinned .how3d-steps li.on { opacity: 1; border-left-color: var(--ink); }

@media (max-width: 960px) {
  .how3d-grid { grid-template-columns: 1fr; gap: 32px; }
  .how3d-stage { min-height: 0; padding: 24px 0 8px; }
  .hero-book { min-height: 420px; }
}
@media (max-width: 640px) {
  .hero-book { min-height: 360px; }
  .how3d { padding: 80px 0; }
}
.how3d.is-pinned { min-height: 100vh; display: flex; align-items: center; padding: 72px 0; }
.how3d.is-pinned > .site-wrap { width: 100%; }
/* Section figée : les 4 titres, et une seule description (celle de l'étape en cours) */
.how3d-desc { display: none; }
.how3d.is-pinned { padding: 96px 0 56px; }
.how3d.is-pinned .how3d-steps { margin: 24px 0 20px; gap: 0; }
.how3d.is-pinned .how3d-steps li { padding: 10px 0 10px 18px; }
.how3d.is-pinned .how3d-steps li p { display: none; }
.how3d.is-pinned .how3d-steps .step-label { margin-bottom: 2px; }
.how3d.is-pinned .how3d-desc { display: block; min-height: 5.2em; color: var(--body); margin: 0 0 24px; max-width: 46ch; }
.how3d.is-pinned h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }


/* =====================================================================
   LE LIVRE. Pages mises en page au millimètre, à l'échelle du livre imprimé (18,9 × 24,6 cm) :
   --mm vaut 1 mm du vrai livre, quelle que soit la taille d'affichage (unités de conteneur).
   Typographie de livre : Newsreader 10,5 pt, interligne 1,5, texte justifié avec césure, alinéas de 5 mm,
   marges 20 mm en petit fond, 17 mm en grand fond, 20 mm en tête, 24 mm en pied.
   ===================================================================== */
.pg { --mm: calc(100cqw / 189); position: absolute; inset: 0; padding: calc(var(--mm) * 20) calc(var(--mm) * 17) calc(var(--mm) * 24) calc(var(--mm) * 20);
  font-family: var(--read); font-optical-sizing: auto; font-size: calc(var(--mm) * 3.7); line-height: 1.5; color: #262220; display: flex; flex-direction: column; }
.face.back .pg, .spread-page.left .pg { padding-left: calc(var(--mm) * 17); padding-right: calc(var(--mm) * 20); }
.pg h4 { font-family: var(--read); font-weight: 400; font-size: calc(var(--mm) * 7.2); line-height: 1.22; letter-spacing: -0.01em; text-align: center; margin: 0 auto calc(var(--mm) * 4.5); max-width: 82%; text-wrap: balance; }
.pg-rule { display: block; flex: none; width: calc(var(--mm) * 16); height: max(1px, calc(var(--mm) * 0.25)); background: #bdb3a4; margin: 0 auto calc(var(--mm) * 8); }
.pg-body { text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; }
.pg-body p { margin: 0; }
.pg-body p + p, .pg-text .pg-body p { text-indent: calc(var(--mm) * 5); }
.pg-num { position: absolute; left: 0; right: 0; bottom: calc(var(--mm) * 11); text-align: center; font-size: calc(var(--mm) * 3); color: #8a7f74; font-variant-numeric: oldstyle-nums; }
.pg-opener { padding-top: calc(var(--mm) * 26); }
.pg-qr { flex: none; width: calc(var(--mm) * 15); height: calc(var(--mm) * 15); margin: 0 auto calc(var(--mm) * 2); }
.pg-qr-date { flex: none; margin: 0 0 calc(var(--mm) * 6); text-align: center; font-family: var(--mono); font-size: calc(var(--mm) * 2.1); letter-spacing: 0.04em; color: #8a7f76; }
.pg-qr svg { display: block; width: 100%; height: 100%; }
.pg-fig { margin: 0 0 calc(var(--mm) * 7); flex: none; }
.pg-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: none; }
.pg-fig figcaption { margin-top: calc(var(--mm) * 2.2); font-size: calc(var(--mm) * 2.9); font-style: italic; color: #6f655c; text-align: center; }
.pg-title { justify-content: center; align-items: center; text-align: center; }
.pg-title h4 { font-size: calc(var(--mm) * 9.5); margin-bottom: calc(var(--mm) * 6); }
.pg-title .pg-rule { margin-bottom: calc(var(--mm) * 6); }
.pg-title p { font-style: italic; color: #6f655c; font-size: calc(var(--mm) * 4.2); }
.pg-dedication { justify-content: center; align-items: flex-end; text-align: right; font-style: italic; color: #5f564e; font-size: calc(var(--mm) * 4.2); padding-bottom: calc(var(--mm) * 90); }
.pg-toc { padding-top: calc(var(--mm) * 34); }
.pg-toc h5 { font-family: var(--read); font-weight: 400; font-size: calc(var(--mm) * 6.5); text-align: center; margin: 0 0 calc(var(--mm) * 12); letter-spacing: -0.01em; }
.pg-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: calc(var(--mm) * 4.5); }
.pg-toc li { display: flex; align-items: baseline; gap: calc(var(--mm) * 2); }
.pg-toc li span { flex: none; }
.pg-toc li::after { content: ""; order: 1; flex: 1; border-bottom: max(1px, calc(var(--mm) * 0.25)) dotted #b9af9f; transform: translateY(calc(var(--mm) * -0.8)); }
.pg-toc li b { order: 2; font-weight: 400; color: #6f655c; font-variant-numeric: oldstyle-nums; }

/* Papier : blanc cassé, ombre du pli côté reliure, et quelques feuilles visibles sur la tranche */
.b3d-leaf .face, .spread-page { background: #fbf8f2; container-type: inline-size; }
.b3d-leaf .face.front, .spread-page.right { background-image: linear-gradient(90deg, rgba(60, 40, 20, 0.16), rgba(60, 40, 20, 0.04) 6%, transparent 14%); }
.b3d-leaf .face.back, .spread-page.left { background-image: linear-gradient(270deg, rgba(60, 40, 20, 0.16), rgba(60, 40, 20, 0.04) 6%, transparent 14%); }
.b3d .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 20, 10, 0.18), rgba(30, 20, 10, 0.05)); opacity: 0; pointer-events: none; }

/* ---------- Le volume ---------- */
.b3d {
  --bw: 340px; --bh: calc(var(--bw) * 246 / 189); --bd: calc(var(--bw) * 0.085); --bt: calc(var(--bw) * 0.012);
  --ov: calc(var(--bw) * 3 / 189); --gap: calc(var(--bw) * 0.0045);
  --cover: #23304a; --cover-dark: #172036; --cover-light: #314064;
  position: relative; width: var(--bw); height: var(--bh); perspective: 2200px; perspective-origin: 50% 35%;
}
.b3d-book { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(7deg); }
.b3d-book > * { position: absolute; transform-style: preserve-3d; }
.b3d .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.b3d .face.back { transform: rotateY(180deg); }

/* Plats cartonnés : un peu plus grands que le bloc de pages, avec leur épaisseur */
.b3d-board { left: 0; top: 0; width: 100%; height: 100%; }
.b3d-cover { transform-origin: 0 50%; transform: translateZ(calc(var(--bd) / 2)); }
.b3d-back { transform: translateZ(calc(var(--bd) / -2)) rotateY(180deg); background: var(--cover-dark); border-radius: calc(var(--bw) * 0.014) calc(var(--bw) * 0.004) calc(var(--bw) * 0.004) calc(var(--bw) * 0.014); }
.b3d-board-edge { position: absolute; top: 0; left: 100%; width: var(--bt); height: 100%; transform-origin: 0 50%; transform: rotateY(90deg); background: linear-gradient(90deg, var(--cover-dark), var(--cover)); }
.b3d-back .b3d-board-edge { left: auto; right: 100%; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.c-front {
  border-radius: calc(var(--bw) * 0.004) calc(var(--bw) * 0.014) calc(var(--bw) * 0.014) calc(var(--bw) * 0.004);
  container-type: inline-size; color: #efe9de;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0, rgba(0, 0, 0, 0.12) 2.2%, rgba(255, 255, 255, 0.07) 3%, rgba(0, 0, 0, 0.1) 4.4%, transparent 7%),
    linear-gradient(175deg, rgba(255, 255, 255, 0.06), transparent 40%, rgba(0, 0, 0, 0.16)),
    linear-gradient(118deg, transparent 22%, rgba(255, 255, 255, 0.09) 34%, rgba(255, 255, 255, 0.02) 44%, transparent 52%), /* reflet du pelliculage brillant */
    var(--cover);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.c-in { --mm: calc(100cqw / 189); position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--mm) * 34) calc(var(--mm) * 20) calc(var(--mm) * 20); }
.c-sheen { position: absolute; left: -40%; top: -40%; width: 180%; height: 180%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent 70%); mix-blend-mode: soft-light; pointer-events: none; transform: translate(-12%, -8%); }
.c-rule { position: relative; display: block; flex: none; width: calc(var(--mm) * 22); height: max(1px, calc(var(--mm) * 0.3)); background: rgba(239, 233, 222, 0.7); }
.c-title { position: relative; font-family: var(--read); font-weight: 400; font-size: calc(var(--mm) * 9.2); line-height: 1.18; letter-spacing: -0.005em; margin: calc(var(--mm) * 8) 0; max-width: 88%; text-wrap: balance; }
.c-photo { position: relative; flex: none; width: calc(var(--mm) * 108); margin-top: calc(var(--mm) * 15); box-shadow: 0 calc(var(--mm) * 0.8) calc(var(--mm) * 2.5) rgba(0, 0, 0, 0.45); }
.c-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: none; }
.c-by { position: relative; margin-top: auto; font-family: var(--read); font-size: calc(var(--mm) * 4.6); letter-spacing: 0.01em; }
.c-inside { background: #e8e0d2; }

/* Dos arrondi */
.b3d-spine { left: calc(var(--bd) / -2); top: 0; width: var(--bd); height: 100%; transform: rotateY(-90deg); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, var(--cover-dark) 0%, var(--cover) 22%, var(--cover-light) 48%, var(--cover) 74%, var(--cover-dark) 100%); border-radius: 2px; }
.b3d-spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--read); font-size: calc(var(--bw) * 0.032); color: #efe9de; opacity: 0.9; white-space: nowrap; }

/* Bloc de pages : tranches de gouttière, de tête et de pied, en retrait des plats */
.b3d-block { background: repeating-linear-gradient(90deg, #f5f0e6 0 1px, #e4dccd 1px 1.6px, #f7f3ea 1.6px 2.4px); }
.b3d-block-side { left: calc(100% - var(--ov) - (var(--bd) - 2 * var(--bt)) / 2); top: var(--ov); width: calc(var(--bd) - 2 * var(--bt)); height: calc(100% - 2 * var(--ov)); transform: rotateY(90deg); }
.b3d-block-top, .b3d-block-bottom { left: 0; width: calc(100% - var(--ov)); height: calc(var(--bd) - 2 * var(--bt)); background: repeating-linear-gradient(0deg, #f5f0e6 0 1px, #e4dccd 1px 1.6px, #f7f3ea 1.6px 2.4px); }
.b3d-block-top { top: calc(var(--ov) - (var(--bd) - 2 * var(--bt)) / 2); transform: rotateX(90deg); }
.b3d-block-bottom { bottom: calc(var(--ov) - (var(--bd) - 2 * var(--bt)) / 2); transform: rotateX(-90deg); }

/* Feuillets */
.b3d-leaf { left: 0; top: var(--ov); width: calc(100% - var(--ov)); height: calc(100% - 2 * var(--ov)); transform-origin: 0 50%; transform: translateZ(calc(var(--bd) / 2 - var(--bt) - var(--i) * var(--gap))); }
.b3d-last .face.front { box-shadow: 1px 0 0 #e6dfd2, 2px 0 0 #faf7f0, 3px 0 0 #e1d9cb; }

/* Ombre au sol, qui suit l'inclinaison */
.b3d-shadow { position: absolute; left: 4%; right: -6%; bottom: -5%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 18, 8, 0.32), rgba(28, 18, 8, 0.1) 60%, transparent); filter: blur(calc(var(--bw) * 0.02)); }
.b3d::after { content: ""; position: absolute; left: 10%; right: 0; bottom: -1.2%; height: 2.4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 12, 6, 0.35), transparent); filter: blur(3px); pointer-events: none; }

.b3d-hero { --bw: clamp(260px, 25vw, 360px); }
.b3d-story { --bw: clamp(230px, 20vw, 300px); }
.hero-book { min-height: 560px; padding-right: 4%; }

/* ---------- La double page, à plat, en grand ---------- */
.inside-grid { grid-template-columns: 1fr; gap: 40px; justify-items: center; text-align: center; }
.inside-grid > div:last-child { max-width: 56ch; order: -1; }
.inside-spread { width: 100%; max-width: 980px; }
.spread { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 378 / 246; border-radius: 4px; overflow: hidden; background: #fbf8f2;
  box-shadow: 0 1px 0 #e7dfd2, 0 2px 0 #f7f3ea, 0 3px 0 #e2d9cb, 0 40px 60px -30px rgba(40, 24, 12, 0.35), 0 16px 24px -16px rgba(40, 24, 12, 0.2); text-align: left; }
.spread-page { position: relative; }

@media (max-width: 960px) {
  .b3d-hero { --bw: min(62vw, 300px); }
  .b3d-story { --bw: min(42vw, 230px); }
  .hero-book { min-height: 460px; padding-right: 0; }
}
@media (max-width: 640px) {
  .b3d-hero { --bw: 230px; }
  .hero-book { min-height: 400px; }
  .spread { grid-template-columns: 1fr; aspect-ratio: 189 / 246; }
  .spread-page.right { display: none; }
}

/* ---------- Marges de beau livre et pages pleines ---------- */
/* 26 mm côté reliure, 28 mm côté extérieur, 25 mm en tête, 30 mm en pied : une colonne de 135 mm. */
.pg { padding: calc(var(--mm) * 25) calc(var(--mm) * 28) calc(var(--mm) * 30) calc(var(--mm) * 26); }
.face.back .pg, .spread-page.left .pg { padding-left: calc(var(--mm) * 28); padding-right: calc(var(--mm) * 26); }
.pg-opener { padding-top: calc(var(--mm) * 34); }
.pg-num { bottom: calc(var(--mm) * 15); }
.pg-body { flex: 1; min-height: 0; overflow: hidden; }
.pg-body p.cont { text-indent: 0 !important; }
.pg-body p.split { text-align-last: justify; }
.pg-fig { margin-bottom: calc(var(--mm) * 8); }
.pg-toc { padding-top: calc(var(--mm) * 30); font-size: calc(var(--mm) * 3.45); }
.pg-toc h5 { margin-bottom: calc(var(--mm) * 10); }
.pg-toc ol { gap: calc(var(--mm) * 3.1); }
.pg-dedication { padding-bottom: calc(var(--mm) * 95); }

/* ---------- Toile, tranches et arêtes plus réalistes ---------- */
.c-cloth { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); background-size: 180px 180px; }
.c-front { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset -1px 0 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.25); }
.c-in { z-index: 1; }
.b3d-back { overflow: hidden; }
.b3d-spine { overflow: hidden; }
.b3d-spine span { writing-mode: initial; transform: none; }
.b3d-spine .b3d-spine-title { position: relative; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--read); font-size: calc(var(--bw) * 0.03); color: #efe9de; opacity: 0.9; white-space: nowrap; }
.b3d-block, .b3d-block-top, .b3d-block-bottom { background-color: #f3eee4; }
.b3d-block-side { background-image: repeating-linear-gradient(90deg, rgba(120, 100, 80, 0.16) 0 0.5px, transparent 0.5px 1.4px), linear-gradient(90deg, rgba(0, 0, 0, 0.06), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.08)); }
.b3d-block-top, .b3d-block-bottom { background-image: repeating-linear-gradient(0deg, rgba(120, 100, 80, 0.16) 0 0.5px, transparent 0.5px 1.4px), linear-gradient(0deg, rgba(0, 0, 0, 0.06), transparent 40%); }
.b3d-board-edge { background: linear-gradient(90deg, #121a2c, var(--cover) 60%, var(--cover-light)); }

/* ---------- Livre en vraie 3D (Three.js) : remplace le livre en 3D CSS dès qu'il est prêt ---------- */
.hero-book, .how3d-stage, .card-book { position: relative; }
.webgl-book { position: absolute; inset: -12% -18% -14%; opacity: 0; transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1); pointer-events: none; }
.how3d-stage .webgl-book { inset: -12% -6% -12% -14%; }
.webgl-book canvas { display: block; width: 100% !important; height: 100% !important; }
.has-webgl .webgl-book { opacity: 1; }
.has-webgl > .b3d { opacity: 0; visibility: hidden; transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s 0.7s; }

/* ---------- Comment ça marche : quatre cartes illustrées ---------- */
.steps-cards { padding: 128px 0; scroll-margin-top: 68px; }
.steps-cards h2 { margin-top: 4px; }
.cards4 { list-style: none; padding: 0; margin: 56px 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cards4 li { display: flex; flex-direction: column; }
.card-visual { position: relative; aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden; background: var(--surface-soft); margin-bottom: 22px; }
.card-visual > img { width: 100%; height: 100%; object-fit: cover; }
.cards4 .step-label { margin-bottom: 12px; }
.cards4 h3 { font-family: var(--read); font-weight: 400; font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.cards4 p { color: var(--body); margin-top: 12px; font-size: 1rem; }
.q-chip { position: absolute; right: 8%; top: 12%; width: 58%; padding: 12px 14px; border-radius: var(--r-btn); background: color-mix(in srgb, var(--canvas) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 8px 24px rgba(17, 17, 17, 0.12); }
.q-chip span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.q-chip p { margin: 4px 0 0 !important; font-size: 13px !important; line-height: 1.35; color: var(--ink) !important; }
.card-book { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #e9e4da, #d9d1c3); }
.card-book .b3d { --bw: 118px; }
.card-book .webgl-book { inset: 0; }
.cards4.cards3 { grid-template-columns: repeat(3, 1fr); gap: 36px; }
.hero-price { margin-top: 18px; color: var(--body); font-size: 0.98rem; }
.hero-price strong { color: var(--ink); font-weight: 600; }
.hero-price span { color: var(--muted); font-size: 0.9rem; }
.buy-next { margin: 22px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--body); font-size: 0.95rem; }
.buy-next strong { color: var(--ink); font-weight: 600; }
.gift-title { margin-bottom: 8px; }
.options-note { margin-top: 24px; }
.what-questions { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.what-questions li { font-family: var(--read); font-size: 1.3rem; line-height: 1.35; color: var(--ink); padding-left: 16px; border-left: 2px solid var(--hairline); }
.why-two { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-col { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 28px; display: grid; gap: 22px; align-content: start; }
.why-col > div .ph { font-size: 26px; color: var(--accent-text); }
.why-col h3 { margin-top: 8px; }
.why-col > div p { color: var(--body); margin-top: 4px; font-size: 1rem; }
.why-copy { margin-top: 28px; display: flex; gap: 10px; align-items: center; color: var(--body); }
.why-copy .ph { font-size: 20px; color: var(--ink); }
@media (max-width: 760px) { .why-two { grid-template-columns: 1fr; } }
.how3d-specs { margin-top: 10px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
@media (max-width: 960px) { .cards4, .cards4.cards3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards4, .cards4.cards3 { grid-template-columns: 1fr; gap: 40px; } .steps-cards { padding: 80px 0; } }

/* Texte du livre : encre foncée, paragraphes séparés par un demi-interligne (plus d'alinéa) */
.pg, .pg .pg-body p { color: #17130f; font-weight: 450; }
.pg-body p + p, .pg-text .pg-body p { text-indent: 0; margin-top: 0.55lh; }
.pg-body p:first-child { margin-top: 0; }

/* Rien ne dépasse sur les côtés (le livre 3D déborde volontairement de sa colonne) */
html:has(body.site), body.site { overflow-x: clip; }

/* Livre fermé en image fixe (haut de l'accueil et étape 3) */
.hero-book-img { width: clamp(230px, 24vw, 340px); height: auto; animation: book-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s; }
.card-book-img { width: 40%; height: auto; }
@keyframes book-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
@media (prefers-reduced-motion: reduce) { .hero-book-img { animation: none; } }

/* « Pourquoi j'ai créé ce livre » sans photo : une lettre, en une colonne */
.founder-letter { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
.founder-letter h2 { margin-top: 4px; }
.founder-letter p:not(.eyebrow):not(.founder-sign) { font-family: var(--read); font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.founder-letter .founder-sign { margin-top: 28px; }
@media (max-width: 380px) { .buy-form { padding: 20px 16px; } }

/* Compte : petite icône ronde dans l'en-tête */
.site-account { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); font-size: 24px; text-decoration: none; transition: background 0.15s ease; }
.site-account:hover { background: var(--surface-soft); }
.site-account:active { transform: scale(0.96); }

/* Tablette et téléphone : le compte est dans le menu, pas en plus dans l'en-tête */
@media (max-width: 1024px) { .site-account { display: none; } }

/* ---------- Pages légales ---------- */
.legal { padding: 64px 0 96px; }
.legal .narrow { max-width: 720px; }
.legal h1 { font-family: var(--read); font-weight: 400; font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.02em; }
.legal-date { color: var(--muted); margin-top: 8px; font-size: 15px; }
.legal-draft { margin-top: 20px; padding: 12px 16px; border-radius: 12px; background: #fbf3db; color: #956400; font-size: 15px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--body); line-height: 1.65; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal-todo { background: #fbf3db; color: #956400; padding: 0 4px; border-radius: 4px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-legal nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-legal nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.buy-terms { margin-top: 10px; }
.buy-terms a { color: inherit; }

/* Corrections de la revue du 10/10 : cibles d'au moins 44 px au doigt, menu du téléphone qui sort de son bouton */
.buy-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.buy-form legend { font-size: 15px; font-weight: 600; color: var(--body); padding: 0; margin-bottom: 6px; }
.site-sheet { right: 32px; top: calc(100% - 2px); border-radius: var(--r-card); }
@media (max-width: 640px) {
  .site-sheet { right: 16px; }
  .site-actions .btn-sm, .story-tabs button { min-height: 44px; }
  .foot-cols a:not(.logo) { padding: 10px 0; }
  .foot-legal nav a { display: inline-block; padding: 11px 0; }
}

/* ============ Harmonisation de toutes les pages sur l'accueil (12/10/2026) ============
   Règle du design : angles de 12 px pour les blocs et les photos, 6 px pour les petits éléments,
   cartes blanches avec un filet de 1 px, pas d'ombre, titres de page à la même taille que l'accueil. */
.hero-photo img, .page-hero-photo img, .founder-photo img, .gallery-main img, .inside-photo img,
.gift-home-photo img, .after-photo img, .what-photo img, .buy-photo img { border-radius: var(--r-card); }
.story, .gift-item, .spec, .options > div, .buy-form, .compare-table, .steps2 li, .site-sheet { border-radius: var(--r-card); }
.story { box-shadow: none; border: 1px solid var(--hairline); }
.gift-item, .spec, .options > div, .buy-form { background: var(--canvas); border: 1px solid var(--hairline); box-shadow: none; }
.page-hero h1 { font-size: clamp(2.1rem, 3.2vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.08; }
.opt-price, .price { font-weight: 500; }

/* Le regret de ne pas avoir demandé, dit avec douceur (12/10/2026). */
.regret { padding: 112px 0; border-top: 1px solid var(--hairline); }
.regret-inner { max-width: 46rem; }
.regret-inner > p { color: var(--body); font-size: 1.15rem; margin-top: 18px; }
.regret-inner p.regret-quote { font-family: var(--read); font-style: italic; font-size: 1.5rem; line-height: 1.35; color: var(--ink); margin-top: 28px; }
.regret-founder { margin: 36px 0 0; padding: 24px 28px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--canvas); }
.regret-founder blockquote { margin: 0; font-family: var(--read); font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.regret-founder figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.regret-founder a { color: var(--ink); text-underline-offset: 3px; }
/* Témoignages : affichés seulement quand il y en a de vrais. */
.temoignages { padding: 104px 0; }
.temoignages-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.temoignage { margin: 0; padding: 28px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--canvas); }
.temoignage blockquote { margin: 0; font-family: var(--read); font-size: 1.15rem; line-height: 1.5; }
.temoignage figcaption { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.product-buy .price-note { flex-basis: 100%; order: 3; margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 640px) { .regret { padding: 72px 0; } }

/* Liste gratuite de questions (12/10/2026). */
.free-form { margin-top: 28px; }
.free-form .check-inline { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--body); cursor: pointer; }
.free-form .check-inline input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.free-form .field-error { color: #9f2f2d; font-size: 15px; margin: 6px 0 0; }
.free-preview { padding: 28px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--canvas); }
.free-list { padding: 24px 0 96px; }
.free-theme { margin-bottom: 40px; break-inside: avoid; }
.free-theme h2 { font-size: 1.4rem; margin-bottom: 12px; }
.free-theme ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--ink); font-size: 1.08rem; line-height: 1.5; }
@media print {
  .site-top, .site-foot, footer, .buy-bar, .no-print { display: none !important; }
  .free-list { padding: 0; }
  body { background: #fff; }
}
.free-band { padding: 72px 0; border-top: 1px solid var(--hairline); }
.free-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.free-band-inner h2 { font-size: 1.6rem; }
.free-band-inner p { color: var(--body); margin-top: 8px; }
/* Idée cadeau : les deux sens (12/10/2026). */
.ways { padding: 104px 0; border-top: 1px solid var(--hairline); }
.ways-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.way { padding: 32px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--canvas); display: grid; gap: 12px; align-content: start; }
.way .eyebrow { margin-bottom: 0; }
.way h3 { font-family: var(--read); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.way p:not(.eyebrow) { color: var(--body); }
.way .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 760px) { .ways-grid { grid-template-columns: 1fr; } .ways { padding: 72px 0; } }
/* Le livre : le tour du livre et des options sans ambiguïté (12/10/2026). */
.tour { padding: 104px 0; border-top: 1px solid var(--hairline); }
.tour-specs { margin-top: 12px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.tour-row { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tour-row.flip .tour-img { order: 2; }
.tour-img img { width: 100%; height: auto; display: block; border-radius: var(--r-card); }
.tour-text h3 { font-family: var(--read); font-weight: 500; font-size: 1.8rem; line-height: 1.2; margin-top: 8px; }
.tour-text p { color: var(--body); margin-top: 12px; font-size: 1.1rem; max-width: 46ch; }
.opt-included { margin-top: 40px; padding: 28px 32px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--canvas); }
.opt-included .eyebrow { margin-bottom: 8px; }
.opt-included p:not(.eyebrow) { color: var(--body); }
.opt-included strong { color: var(--ink); }
.options { margin-top: 16px; }
.options p + p { margin-top: 6px; }
.opt-examples { margin-top: 32px; }
.opt-examples dl { margin: 12px 0 0; display: grid; }
.opt-examples dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.opt-examples dt { color: var(--body); }
.opt-examples dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
  .tour { padding: 72px 0; }
  .tour-row { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .tour-row.flip .tour-img { order: 0; }
  .opt-examples dl > div { flex-direction: column; gap: 4px; }
  .opt-examples dd { text-align: left; white-space: normal; }
}
.opt-extra { margin-top: 16px; padding: 28px 32px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--canvas); display: flex; gap: 28px; align-items: center; }
.opt-extra .opt-price { margin: 0; flex: none; }
.opt-extra p + p { color: var(--body); margin-top: 6px; }
@media (max-width: 640px) { .opt-extra { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* Vidéo « comment ça marche » : verticale, comme un écran de téléphone ; gros bouton de lecture avant le premier clic */
.page-hero-video { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 9 / 16; border-radius: var(--r-card); overflow: hidden; background: #111; box-shadow: 0 2px 8px rgba(17, 17, 17, 0.06), 0 24px 48px -24px rgba(17, 17, 17, 0.25); }
.how-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: var(--r-btn); background: rgba(251, 251, 250, 0.94); color: #111; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; transition: transform 0.1s ease, background-color 0.15s ease; }
.video-play .ph-fill { font-size: 20px; }
.video-play:hover { background: #fff; }
.video-play:active { transform: translateX(-50%) scale(0.97); }
.video-play { transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms ease-out, background-color 0.15s ease; }
.page-hero-video.playing .video-play { opacity: 0; transform: translateX(-50%) scale(0.97); pointer-events: none; visibility: hidden; transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 200ms; } /* invisible aussi au clavier une fois la vidéo lancée */
@media (max-width: 960px) { .page-hero-video { width: min(100%, 320px); } }

/* ---------- Téléphone, revu le 20/10/2026 (demande de Noé) ----------
   Le livre en photo dès le haut de page (posé sur la table ; la couverture seule reste sur ordinateur),
   haut de page allégé, en-tête réduit au logo et au menu (la barre du bas porte l'achat), barre du bas compacte,
   sections moins espacées. */
@media (max-width: 960px) {
  .hero-grid { gap: 24px; }
  .hero-book-home { order: -1; min-height: 0; padding: 0; }
  .hero-book-home img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 72%; border-radius: 12px; animation: none; }
  .site-actions > .btn-sm { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 12px 0 48px; }
  .hero h1 { font-size: 2.15rem; }
  .hero-sub { font-size: 1.05rem; margin-top: 14px; }
  .hero-cta { margin-top: 22px; gap: 2px; }
  .hero-cta .btn-quiet { background: none; border: 0; box-shadow: none; min-height: 44px; font-size: 1rem; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
  .hero-price { margin-top: 8px; text-align: center; }
  .hero-checks { display: none; }
  .what, .steps-band, .founder, .product, .own, .simple, .inside, .story-band, .compare, .gift-home, .faq-band,
  .timeline-band, .gift-band, .after-band, .specs-band, .options-band, .faq-page, .how3d { padding-top: 56px; padding-bottom: 56px; }
  .final { padding: 56px 0; }
  .buy-bar { padding: 8px 8px 8px 16px; }
  .buy-bar span { display: none; }
  .buy-bar .btn { min-height: 44px; }
}
