/* FLEURAC — feuille de style du site.
   Direction « Maison + Transparence » (maquette validée) : clair, pierre, encre, accent cuir, vraies photos des pièces.
   Règles : pas de coins arrondis, pas d'ombre sur l'interface, on n'anime que transform, opacity et clip-path.
   Trois courbes : --ease-out (entrées), --ease-io (rideaux, changements d'état), --ease-expo (tiroirs, menus). */

/* Polices hébergées sur le site (SIL Open Font License 1.1, voir assets/fonts/OFL-*.txt) : aucun appel à Google. */
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/bodoni-moda-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/bodoni-moda-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/bodoni-moda-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/bodoni-moda-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --white: #ffffff;
  --stone: #f4f3f0;
  --stone-2: #eeece8;
  --rule: #e5e3df;
  --rule-2: #d6d3cd;
  --ink: #0b0b0b;
  --ink-2: #2b2925;
  --muted: #66625c;
  --leather: #8a5a33;
  --seal: #2a1a12;        /* brun du sceau FLEURAC */
  --seal-2: #36231a;
  --tan: #c9a27a;         /* cuir clair du sceau */
  --cream: #f3ede4;
  --err: #9a2f1a;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 3.2vw, 48px);
  --gap: clamp(12px, 1.6vw, 24px);
  --topbar-h: 34px;
  --hdr-h: 64px;
  --sec-y: clamp(80px, 9vw, 150px);
  --serif: 'Bodoni Moda', 'Bodoni 72', Didot, 'Bodoni MT', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 24px); }
body {
  background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { display: block; outline: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--seal); color: var(--cream); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; transform: translateY(-200%); transition: transform .4s var(--ease-out); }
.skip:focus { transform: none; }

/* Lenis (repris de lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ------------------------------------------------------------------ typographie */
.cap { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; line-height: 1.4; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; line-height: 1.5; font-weight: 400; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 400; }
.b { font-weight: 600; }
i, em { font-style: italic; }

.h-xl, .h-l, .sh-t, .pg-t, .cover-h, .pdp-t, .sys-t {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.012em;
}
/* Échelle à quatre niveaux (jetons --fs-d1 à --fs-d4, section « direction artistique ») */
.h-xl, .h-l, .sh-t { font-size: var(--fs-d2); line-height: 1; }
.pg-t { font-size: var(--fs-d1); line-height: .9; letter-spacing: -.02em; }
.pg-t--m { font-size: var(--fs-d2); line-height: 1; letter-spacing: -.012em; }
/* Accent cuir réservé à l'italique des H1 ; les titres de section gardent l'encre (le Coffret garde son tan) */
.pg-t i, .cover-h i, .sys-t i { color: var(--leather); }

/* Titres révélés ligne par ligne : chaque ligne est un masque */
.ln { display: block; overflow: clip; padding: .12em .08em .14em 0; margin: -.12em 0 -.14em; }
.ln > span { display: block; }

/* Repère de section : numéro + libellé */
.sh-k { display: flex; align-items: baseline; gap: 14px; }
.sh-k > span:first-child { color: var(--ink); white-space: nowrap; flex: none; }
.sh-k > span:first-child::after { content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 14px; opacity: .5; }

/* Valeurs provisoires bien visibles */
mark.todo { background: #f5ead8; color: #6a431c; font-family: var(--mono); font-size: .84em; letter-spacing: .01em; padding: .06em .32em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ------------------------------------------------------------------ boutons et liens */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 34px; background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  overflow: hidden; isolation: isolate; transition: color .45s var(--ease-io);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--leather); transform: scaleY(0); transform-origin: bottom center; transition: transform .45s var(--ease-io); }
.btn .t { position: relative; display: inline-flex; align-items: center; gap: 10px; }
@media (hover: hover) { .btn:hover::before { transform: scaleY(1); } }
.btn:focus-visible::before { transform: scaleY(1); }
.btn--block { display: flex; width: 100%; min-height: 60px; }
.btn--light { background: var(--cream); color: var(--seal); border-color: var(--cream); }
.btn--light::before { background: var(--tan); }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .t::after { content: ''; width: 14px; height: 1px; background: currentColor; animation: busy 1s var(--ease-io) infinite; transform-origin: left; }
.btn:disabled { cursor: not-allowed; opacity: .55; }
@keyframes busy { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 50.01% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

.arr { width: 22px; height: 10px; display: inline-block; vertical-align: middle; transition: transform .45s var(--ease-out); }
@media (hover: hover) { a:hover .arr { transform: translateX(5px); } }
a:focus-visible .arr { transform: translateX(5px); }

/* Lien souligné : le filet se retire puis se redessine */
.u { position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; }
.u::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left center; }
@media (hover: hover) { .u:hover::after { animation: u-redraw .6s var(--ease-out) both; } }
.u:focus-visible::after { animation: u-redraw .6s var(--ease-out) both; }
@keyframes u-redraw { 0% { transform: scaleX(1); transform-origin: right center; } 45% { transform: scaleX(0); transform-origin: right center; } 45.01% { transform: scaleX(0); transform-origin: left center; } 100% { transform: scaleX(1); transform-origin: left center; } }
/* Lien de menu : filet seulement au survol */
.hl { position: relative; display: inline-block; padding: 6px 0; }
.hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .5s var(--ease-out); }
.hl:hover::after, .hl:focus-visible::after, .hl[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }

/* ------------------------------------------------------------------ bandeau + en-tête */
.topbar { background: var(--seal); color: var(--cream); font-size: 10.5px; }
.topbar-in { min-height: var(--topbar-h); padding: 8px var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; text-align: center; line-height: 1.4; }
.topbar mark.todo { background: rgba(201, 162, 122, .22); color: #f3d9b6; font-size: 1em; white-space: nowrap; }
.topbar .sep { opacity: .5; }

.hdr { position: sticky; top: 0; z-index: 60; background: var(--hdr-bg, var(--white)); transition: transform .45s var(--ease-out), background-color .3s linear, box-shadow .3s linear; }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--rule); }
.hdr.is-hidden { transform: translateY(-101%); }
.is-home .hdr { --hdr-bg: var(--stone-2); }
.is-home .hdr.is-scrolled { --hdr-bg: var(--white); }
.hdr-in { height: var(--hdr-h); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hdr-l { display: flex; align-items: center; gap: 34px; }
.hdr-nav { display: flex; gap: 28px; }
.hdr-r { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.hdr-menu { display: inline-flex; align-items: center; gap: 12px; height: 44px; }
.burger { position: relative; width: 22px; height: 12px; display: inline-block; }
.burger i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease-io); }
.burger i:first-child { top: 2px; } .burger i:last-child { top: 9px; }
@media (hover: hover) { .hdr-menu:hover .burger i:first-child { transform: scaleX(.6); transform-origin: left; } }
.hdr-menu:focus-visible .burger i:first-child { transform: scaleX(.6); transform-origin: left; }
.burger.is-x i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.is-x i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.hdr-logo { font-family: var(--serif); font-weight: 500; font-size: 23px; letter-spacing: .26em; padding-left: .26em; line-height: 1; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js .is-home .hdr:not(.show-logo) .hdr-logo { opacity: 0; transform: translateY(8px); pointer-events: none; }
.js .is-home .hdr:not(.show-logo) .hdr-logo:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.cart-n { display: inline-block; min-width: 2.4ch; }
.cart-n.is-bump { animation: bump .6s var(--ease-out); }
@keyframes bump { 0% { opacity: .2; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ menu plein écran (rideau) */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--seal); color: var(--cream);
  display: grid; grid-template-rows: auto 1fr; overflow: hidden auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .4s var(--ease-io), visibility 0s linear .4s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease-io), visibility 0s; }
.menu :focus-visible { outline-color: var(--cream); }
.menu-bar { height: var(--hdr-h); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(243, 237, 228, .12); }
.menu-x { display: inline-flex; align-items: center; gap: 12px; height: 44px; justify-self: start; }
.menu-logo { font-family: var(--serif); font-weight: 500; font-size: 23px; letter-spacing: .26em; padding-left: .26em; color: var(--tan); }
.menu-cart { justify-self: end; }
.menu-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap); padding: clamp(28px, 5vh, 64px) var(--gutter) clamp(120px, 20vw, 300px); align-items: start; }
.menu-nav ol { counter-reset: m; }
.menu-nav li { overflow: clip; border-bottom: 1px solid rgba(243, 237, 228, .1); }
.menu-nav a { display: grid; grid-template-columns: 54px 1fr; align-items: baseline; padding: .14em 0 .1em; transform: translateY(105%); transition: transform .5s var(--ease-out), opacity .4s var(--ease-out); }
.menu.is-open .menu-nav a { transform: none; transition: transform .8s var(--ease-out) calc(.18s + var(--i, 0) * .05s), opacity .4s var(--ease-out); }
.menu-n { color: var(--tan); }
.menu-t { font-family: var(--serif); font-size: clamp(40px, 6.2vw, 96px); line-height: 1.04; letter-spacing: -.015em; }
@media (hover: hover) {
  .menu-nav ol:hover a { opacity: .38; }
  .menu-nav ol:hover a:hover { opacity: 1; }
  .menu-nav a:hover .menu-t { font-style: italic; }
}
/* Au clavier, même mise en avant qu'au survol (seulement quand le focus est visible, pas après un toucher). */
.menu-nav ol:has(a:focus-visible) a:not(:focus-visible) { opacity: .38; }
.menu-nav a:focus-visible { opacity: 1; }
.menu-nav a:focus-visible .menu-t { font-style: italic; }
.menu-side { display: flex; flex-direction: column; gap: 32px; }
.menu-fig { position: relative; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.menu-fig-v { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease-out); }
.menu-fig-v[data-on] { opacity: 1; }
.menu-small { display: grid; gap: 4px; color: rgba(243, 237, 228, .78); }
.menu-wm { position: absolute; left: 0; right: 0; bottom: -.16em; z-index: 0; text-align: center; font-family: var(--serif); font-weight: 500; font-size: 22.4vw; line-height: 1; letter-spacing: -.01em; color: var(--seal-2); pointer-events: none; user-select: none; white-space: nowrap; }

/* ------------------------------------------------------------------ images produit */
/* Conteneurs révélés en rideau : l'intérieur, agrandi avant la révélation, ne doit jamais élargir la page. */
.rv-clip { overflow: clip; }
.media { display: block; width: 100%; height: 100%; }
.media.is-photo { object-fit: cover; }
/* Vignette « Bientôt » d'une pièce sans photo : typographique, sur le fond pierre. Tailles en cqw : la vignette
   garde ses proportions dans une carte, une galerie ou une liste. */
.media.is-soon { position: relative; container-type: inline-size; background: var(--stone); color: var(--ink); }
.soon-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8cqw; text-align: center; }
.soon-seal { flex: none; width: 30cqw; height: 30cqw; margin-bottom: 7cqw; color: var(--rule-2); font-family: var(--serif); }
.soon-k { font-size: clamp(10px, 2.9cqw, 13px); letter-spacing: .24em; color: var(--muted); }
.soon-n { margin-top: clamp(6px, 2.4cqw, 16px); font-size: clamp(18px, 8.4cqw, 44px); line-height: 1.05; text-wrap: balance; }

/* ------------------------------------------------------------------ accueil : couverture */
.cover { position: relative; background: var(--stone-2); padding: 0 var(--gutter) clamp(40px, 5vw, 80px); container-type: inline-size; overflow: clip; }
.cover-top { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; }
.wm { display: flex; justify-content: space-between; font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; font-size: calc(100cqw / 4.64); line-height: .8; margin: .07em -.044em 0 -.012em; white-space: nowrap; user-select: none; letter-spacing: 0; }
.wm .ch { display: inline-block; overflow: clip; padding: .08em 0 .02em; margin: -.08em 0 -.02em; }
.wm .ch > span { display: inline-block; }
.cover-stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(16px, 1.6vw, 28px); align-items: center; }
.cover-t { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 18px; padding-top: 0; }
.cover-h { font-size: var(--fs-d2); line-height: 1; }
.cover-p { max-width: 38em; font-size: 16px; }
.cover-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 0; }
.cover-art { grid-column: 7 / 13; margin-right: calc(var(--gutter) * -0.5); }
/* Photo d'atelier du hero (la presse, juste avant le marquage), 3:2, sans renvoi ni légende. */
.cover-fig { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.cover-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }


/* ------------------------------------------------------------------ sections */
.sec { padding: var(--sec-y) var(--gutter); }
.sh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 22px; margin-bottom: clamp(44px, 6vw, 96px); align-items: end; }
.sh-k { grid-column: 1 / -1; }
.sh .sh-t { grid-column: 1 / 9; }
.sh-a { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: .5em; }
.sh-a p { max-width: 36ch; }
.sh--row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* Cartes produit */
.card { display: block; position: relative; }
.card-img { position: relative; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.card-img .rv-in { position: absolute; inset: 0; }
.card .view { position: absolute; inset: 0; }
.card .media { transition: transform 1.4s var(--ease-out); }
.card .view-b { opacity: 0; transition: opacity .5s var(--ease-out); }
.card .view-b .media { transform: scale(1.04); }
.card-flag { position: absolute; left: 16px; top: 14px; z-index: 2; background: var(--white); padding: 4px 9px; }
.card-cta { position: absolute; left: 18px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease-out), transform .45s var(--ease-out); }
.card-cta i { display: inline-block; width: 26px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out) .1s; }
@media (hover: hover) {
  .card:hover .view-a .media { transform: scale(1.035); }
  .card:hover .view-b, .card:focus-visible .view-b { opacity: 1; }
  .card:hover .view-b .media, .card:focus-visible .view-b .media { transform: scale(1); }
  .card:hover .card-cta, .card:focus-visible .card-cta { opacity: 1; transform: none; }
  .card:hover .card-cta i, .card:focus-visible .card-cta i { transform: scaleX(1); }
}
.card-meta { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "ref ref" "name price"; gap: 6px 16px; padding: 18px 0 6px; align-items: baseline; }
.card-ref { grid-area: ref; }
.card-name { grid-area: name; font-family: var(--serif); font-weight: 400; font-size: var(--fs-d4); line-height: 1.1; }
.card-price { grid-area: price; font-size: 15px; white-space: nowrap; }
.card-sub { font-size: 14px; max-width: 46ch; }
.card--l .card-name { font-size: var(--fs-d3); }
.pr-old { color: var(--muted); margin-left: 6px; font-size: .92em; }

/* Sélection : grille asymétrique */
.sel-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 6vw, 96px); }
.sel-a { grid-column: 1 / 8; }
.sel-b { grid-column: 9 / 13; margin-top: clamp(100px, 16vw, 260px); }
.sel-c { grid-column: 3 / 8; grid-row: 2; }
.sel-note { grid-column: 9 / 13; grid-row: 2; align-self: end; display: grid; gap: 10px; border-top: 1px solid var(--ink); padding-top: 16px; }

/* Ce qu'il y a dedans */
.inside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.inside-l { padding: var(--sec-y) clamp(32px, 6vw, 96px) var(--sec-y) var(--gutter); border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 26px; }
.inside-l .h-xl, .inside-l .h-l { margin: 4px 0 6px; }
.inside-p { max-width: 40ch; }
.inside-more { align-self: flex-start; margin-top: 8px; }
.inside-r { background: var(--stone); display: flex; flex-direction: column; min-height: 600px; position: relative; }
/* Colonne de droite en photo pleine (gros plan du cuir sur l'accueil, portefeuille ouvert sur sa fiche). */
.inside-r--photo { overflow: hidden; }
.inside-r--photo .rv-in { position: absolute; inset: 0; }
.inside-r--photo img { width: 100%; height: 100%; object-fit: cover; }
.inside-r--cuir img { object-position: 100% 100%; }
/* Fiche d'une pièce sans photo : la fiche seule, sur toute la largeur. */
.inside--seule { grid-template-columns: minmax(0, 1fr); }
.inside--seule .inside-l { border-right: 0; }
.inside--seule .spec { max-width: 760px; }

.spec { --spec-pad: 14px; position: relative; margin: 8px 0; }
.spec .row { position: relative; display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 14px; padding: var(--spec-pad) 0; container-type: inline-size; }
.spec dt { position: relative; }
.spec dd { font-size: 15px; }
/* Le filet est dans le terme : celui-ci lui sert de repère (même quand l'animation le déplace), et le filet
   reprend le haut et la largeur de la ligne entière (100cqi = largeur de .row). */
.spec .rule { position: absolute; left: 0; right: 0; top: calc(-1 * var(--spec-pad)); width: 100cqi; height: 1px; background: var(--rule-2); transform-origin: left center; }
.spec::after { content: ''; display: block; height: 1px; background: var(--rule-2); }
.spec--tight { --spec-pad: 10px; }

/* Origine */
.route { padding: var(--sec-y) var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(36px, 5vw, 72px); }
.route-hd { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 18px; }
.route-g { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--gap); align-items: center; }
.route-pt { display: flex; flex-direction: column; gap: 12px; }
.route-pt:last-child { text-align: right; align-items: flex-end; }
.route-city { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.6vw, 112px); line-height: .95; letter-spacing: -.02em; }
.route-pt p { max-width: 32ch; }
.route-line { position: relative; height: 20px; }
.route-line svg { width: 100%; height: 100%; overflow: visible; }
.route-l { stroke: var(--leather); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.route-dot { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--leather); }
.route-dot--a { left: -4px; }
.route-dot--b { right: -4px; }

/* Personnalisation */
.perso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.perso-l { position: relative; background: var(--stone-2); display: flex; align-items: center; justify-content: center; overflow: hidden; container-type: inline-size; }
.mf { font-family: var(--font-initiales, var(--serif)); font-weight: 400; font-size: clamp(110px, 24cqw, 300px); letter-spacing: .06em; line-height: 1; white-space: nowrap; color: var(--ink); }
.mf.is-mot { font-family: var(--font-mot, var(--serif)); font-style: var(--style-mot, italic); letter-spacing: 0; }
.mf .ch { display: inline-block; overflow: clip; padding: .06em 0; vertical-align: top; }
.mf .ch > span { display: inline-block; }
.mf .ch.is-new > span { animation: ch-in .3s var(--ease-out) both; }
@keyframes ch-in { from { opacity: 0; } to { opacity: 1; } }
.perso-cap { position: absolute; left: 24px; bottom: 20px; }
.perso-r { padding: var(--sec-y) clamp(28px, 6vw, 110px); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.perso-r > p { max-width: 46ch; }
.try { display: grid; gap: 10px; max-width: 460px; margin-top: 6px; }
.try-row { display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--ink); }
.try-row input { min-width: 0; border: 0; background: transparent; padding: 0 18px; height: 56px; font-family: var(--font-initiales, var(--serif)); font-size: 24px; letter-spacing: .14em; text-transform: uppercase; }
.try-row input:focus { outline: none; }
.try-row input::placeholder, .f input::placeholder, .f textarea::placeholder { color: #8c867e; opacity: 1; }
.try-row:focus-within { outline: 1px solid var(--ink); outline-offset: 3px; }
.try-row .btn { min-height: 56px; border-width: 0 0 0 1px; }
.steps { margin-top: 8px; }
.steps li { position: relative; display: grid; grid-template-columns: 60px 1fr; padding: 15px 0; font-size: 15px; }
.steps .rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-2); transform-origin: left; }
.steps .rule.end { top: auto; bottom: 0; }

/* Coffret, aux couleurs du sceau */
/* Bandeau d'atelier (photos du marquage à chaud), entre « Personnalisation » et les coffrets. Images 3:2.
   Deux photos côte à côte (la presse est en tête de page). Trois photos : la première sur deux colonnes et deux
   rangées, les deux autres empilées à droite. */
.atelier { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); }
.atelier-f { position: relative; margin: 0; aspect-ratio: 3 / 2; background: var(--stone-2); overflow: hidden; }
.atelier-f img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.atelier--3 .atelier-f:first-child { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
.atelier--1 { grid-template-columns: minmax(0, 1fr); }
.atelier--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .atelier, .atelier--2 { grid-template-columns: minmax(0, 1fr); }
  .atelier--3 .atelier-f:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
}
.gift { background: var(--seal); color: var(--cream); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding: var(--sec-y) var(--gutter); }
/* Photo des pièces du coffret : entière (contain) sur le fond pierre, qui est aussi le fond studio de la prise. */
.gift-art { position: relative; aspect-ratio: 1 / 1; background: var(--stone); }
.gift-art .rv-in { position: absolute; inset: 0; }
.gift-art .media { object-fit: contain; }
.gift-t { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.gift-t > p { max-width: 42ch; color: rgba(243, 237, 228, .82); }
.gift .sh-k { color: var(--tan); }
.gift .sh-k > span:first-child { color: var(--tan); }
.gift .h-xl i { color: var(--tan); }
.gift-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.gift-price .pr { font-family: var(--serif); font-size: 34px; color: var(--cream); }
.gift-price .pr-old { color: rgba(243, 237, 228, .6); }
.gift-price .mono { color: rgba(243, 237, 228, .7); }
.gift-dl { width: 100%; max-width: 480px; margin-top: 10px; border-top: 1px solid rgba(243, 237, 228, .18); }
.gift-dl div { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(243, 237, 228, .18); }
.gift-dl dt { color: var(--tan); }
.gift-dl mark.todo { background: rgba(201, 162, 122, .2); color: #f3d9b6; }
.gift :focus-visible { outline-color: var(--cream); }

/* Entreprises (accueil) */
.pro-teaser-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.pro-teaser-g > div { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.pro-teaser-g p { max-width: 40ch; }
.grid-t { width: 100%; }
.grid-t caption { text-align: left; padding-bottom: 14px; }
.grid-t th { text-align: left; font-weight: 400; color: var(--muted); padding: 0 0 12px; border-bottom: 1px solid var(--ink); }
.grid-t td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--rule-2); font-size: 15px; vertical-align: baseline; }
.grid-t td.serif { font-size: 30px; text-align: right; padding-right: 0; }
.grid-t th:last-child { text-align: right; }

/* ------------------------------------------------------------------ pied de page */
.foot { border-top: 1px solid var(--rule); padding: clamp(56px, 7vw, 96px) var(--gutter) 22px; overflow: clip; container-type: inline-size; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px var(--gap); }
.foot-brand { display: flex; flex-direction: column; gap: 18px; max-width: 40ch; }
.foot-seal { width: 72px; height: 72px; color: var(--ink); }
.foot-seal text { font-family: var(--serif); font-weight: 500; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.foot-h { margin-bottom: 10px; }
.foot-wm { margin: clamp(48px, 7vw, 110px) 0 0; line-height: .74; overflow: clip; }
.foot-wm > span { display: flex; justify-content: space-between; margin-right: -.043em; margin-left: -.012em; font-family: var(--serif); font-weight: 500; font-size: calc(100cqw / 4.64); line-height: .8; user-select: none; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 10.5px; }

/* ------------------------------------------------------------------ en-têtes de page */
.pg-hd { padding: clamp(48px, 7vw, 120px) var(--gutter) clamp(40px, 5vw, 80px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; align-items: end; }
.pg-hd > .sh-k { grid-column: 1 / -1; }
.pg-hd > .pg-t { grid-column: 1 / 9; }
.pg-aside { grid-column: 9 / 13; display: grid; gap: 14px; padding-bottom: .8em; }
.pro-lead { max-width: 44ch; font-size: 17px; }
.crumb { padding: 18px var(--gutter); display: flex; gap: 12px; align-items: center; color: var(--muted); }
.crumb [aria-current] { color: var(--ink); }

/* Boutique */
.shop { padding-top: 0; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 5vw, 80px); }
.shop-grid > :nth-child(3n + 2) { margin-top: clamp(40px, 6vw, 110px); }
.band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.band-i { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: clamp(36px, 4vw, 64px) var(--gutter); border-right: 1px solid var(--rule); }
.band-i:last-child { border-right: 0; }
.band-i .serif { font-size: var(--fs-d3); line-height: 1.1; }

/* ------------------------------------------------------------------ fiche produit */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); padding: 0 var(--gutter) clamp(72px, 8vw, 130px); align-items: start; }
.pdp-gal { position: sticky; top: calc(var(--hdr-h) + 12px); }
.gal { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; }
.gal-th { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.gal-th-b { position: relative; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.gal-th-b::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--ink); opacity: 0; transition: opacity .3s var(--ease-out); }
.gal-th-b[aria-pressed="true"]::after { opacity: 1; }
@media (hover: hover) { .gal-th-b:hover::after { opacity: .35; } .gal-th-b[aria-pressed="true"]:hover::after { opacity: 1; } }
.gal-main { grid-column: 2; position: relative; aspect-ratio: 4 / 5; width: min(100%, calc((100svh - var(--hdr-h) - 36px) * .8)); background: var(--stone); overflow: hidden; }
.gal-main > .rv-in { position: absolute; inset: 0; }
.gal-view { position: absolute; inset: 0; visibility: hidden; container-type: inline-size; }
.gal-view.is-on { visibility: visible; }
.gal-view.is-in { visibility: visible; z-index: 2; animation: gal-in .8s var(--ease-io) both; }
.gal-view.is-in > .media { animation: gal-zoom 1.2s var(--ease-out) both; }
@keyframes gal-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes gal-zoom { from { transform: scale(1.05); } to { transform: none; } }
.gal-badge { position: absolute; z-index: 3; left: 8px; top: 10px; padding: 4px 8px; background: rgba(255, 255, 255, .88); transition: opacity .3s var(--ease-out); }
.gal-count { position: absolute; z-index: 3; right: 8px; top: 10px; padding: 4px 8px; background: rgba(255, 255, 255, .88); }
.gal-nav { display: none; }
/* Une seule vue : pas de colonne de vignettes. */
.gal--solo { grid-template-columns: minmax(0, 1fr); }
.gal--solo .gal-main { grid-column: 1; }

/* Calque d'aperçu : initiales et sceau posés sur l'image (SVG ou photo), positions en % du cadre 4:5 */
.ov { position: absolute; inset: 0; pointer-events: none; container-type: inline-size; }
.ov-slot {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translate(-50%, -50%) rotate(var(--r));
  display: flex; justify-content: center; align-items: center; white-space: nowrap; line-height: 1;
  font-family: var(--font-empreinte, var(--serif)); font-style: normal; font-size: calc(var(--fs) * var(--k, 1) * 1cqw); letter-spacing: var(--ls);
}
.ov-txt { display: inline-block; color: rgba(22, 10, 3, .66); text-shadow: 0 .05em 0 rgba(255, 255, 255, .17), 0 0 .07em rgba(42, 18, 6, .55); padding-left: var(--ls); }
.ov-txt.is-press { animation: press .7s var(--ease-out); }
@keyframes press { from { opacity: .25; transform: scale(1.04); } to { opacity: 1; transform: none; } }
/* Empreinte en SVG (initiales, mot, sceau) : cadre de 8,33 × 2 corps centré sur l'emplacement, dans l'écriture cursive de
   l'aperçu (--font-empreinte, src/config.json). Couleur : variables posées sur le calque selon la teinte de la pièce
   (config.apercu.teinte) : --ov-fond, couleur unie sans JS ; --ov-fill et --ov-filtre, dégradé et relief en creux quand
   fleurac.js les a ajoutés (html.has-empreinte). Aucune couleur d'empreinte n'est écrite ici. Le mot gagne un peu d'air :
   les lettres en laiton sont des pièces séparées, posées côte à côte. */
.ov-creux { display: block; flex: none; width: 8.3333em; height: 2em; padding: 0; text-shadow: none; }
.ov-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ov-svg text { --lsp: var(--ls); letter-spacing: var(--lsp); transform: translateX(calc(var(--lsp) / 2)); fill: var(--ov-fond, currentColor); font-optical-sizing: none; font-kerning: normal; }
.ov-slot.is-mot .ov-svg text { --lsp: .09em; }
.ov-seal-g { fill: var(--ov-fond, currentColor); stroke: var(--ov-fond, currentColor); }
.has-empreinte .ov-svg text { fill: var(--ov-fill, var(--ov-fond, currentColor)); filter: var(--ov-filtre, none); }
.has-empreinte .ov-seal-g { fill: var(--ov-fill, var(--ov-fond, currentColor)); stroke: var(--ov-fill, var(--ov-fond, currentColor)); filter: var(--ov-filtre, none); }
.ov-creux.is-ghost text { fill: none; stroke: rgba(255, 236, 214, .45); stroke-width: 1px; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; filter: none; }
.ov-svg .c.is-new { animation: ov-c-in .25s var(--ease-out) both; }
@keyframes ov-c-in { from { fill-opacity: 0; } to { fill-opacity: 1; } }
.ov-seal { position: absolute; left: var(--x); top: var(--y); width: calc(var(--d) * 1.077); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--r)); transition: opacity .3s var(--ease-out); }
.ov-seal svg { width: 100%; height: 100%; overflow: visible; }
.ov-seal text { stroke: none; font-optical-sizing: none; }
.ov-seal .s-serif { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
.ov-seal .s-sans { font-family: var(--sans); font-weight: 500; }
.ov-seal .s-f { stroke: inherit; paint-order: stroke; }
.ov-seal.is-off { opacity: 0; }

.pdp-info { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; min-width: 0; }
.pdp-t { font-size: clamp(42px, 4.4vw, 68px); line-height: 1; letter-spacing: -.015em; font-variation-settings: 'opsz' 48; margin-top: 4px; }
.pdp-sub { font-size: 16px; color: var(--ink-2); max-width: 44ch; }
.pdp-price { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 6px; }
.pdp-price .pr { font-family: var(--serif); font-size: 30px; }

.cfg { display: flex; flex-direction: column; margin-top: 4px; border-bottom: 1px solid var(--rule); }
.cfg > .btn { margin: 22px 0 0; }
.step { border: 0; margin: 0; padding: 18px 0 20px; min-width: 0; border-top: 1px solid var(--rule); }
.step-lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; padding: 0; width: 100%; float: left; }
.step-lab + * { clear: both; }
.step-lab label, .step-lab > span:first-child { display: inline-flex; align-items: baseline; gap: 12px; }
legend.step-lab { display: flex; gap: 12px; justify-content: flex-start; }
.step--row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.step--row .step-lab { margin: 0; width: auto; float: none; }

.seg { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border: 1px solid var(--ink); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { position: relative; z-index: 1; padding: 16px 10px; text-align: center; cursor: pointer; transition: color .4s var(--ease-io); }
.seg input:checked + label { color: #fff; }
.seg input:focus-visible + label { outline: 1px solid currentColor; outline-offset: -7px; }
.seg-ink { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: calc(100% / var(--n)); background: var(--ink); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .45s var(--ease-io); }

.field { position: relative; display: flex; align-items: center; border: 1px solid #a9a49c; transition: border-color .3s var(--ease-out); }
.field:focus-within { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: 2px; }
.field input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 15px 18px; font-family: var(--font-initiales, var(--serif)); font-size: 24px; letter-spacing: .14em; }
.field.is-mot input { font-family: var(--font-mot, var(--serif)); font-style: var(--style-mot, italic); letter-spacing: .02em; }
.field input::placeholder { color: #8c867e; opacity: 1; }
.field--carte textarea { flex: 1; width: 100%; min-height: 96px; border: 0; background: transparent; padding: 14px 18px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.45; resize: vertical; outline: none; }
.field--carte textarea::placeholder { color: var(--placeholder, #716b64); opacity: 1; }
.field--carte:has([aria-invalid="true"]) { border-color: var(--err); }
.field input:focus { outline: none; }
.field-hint { padding-right: 18px; white-space: nowrap; }
.field.is-err { border-color: var(--err); }
.help { font-size: 13px; margin-top: 10px; }
.err { color: var(--err); font-size: 13.5px; margin-top: 8px; }
.err:empty { display: none; }

.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.switch .track { width: 46px; height: 24px; border: 1px solid var(--ink); position: relative; display: inline-block; transition: background-color .35s var(--ease-io); }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--ink); transition: transform .4s var(--ease-io), background-color .35s var(--ease-io); }
.switch[aria-checked="true"] .track { background: var(--ink); }
.switch[aria-checked="true"] .knob { transform: translateX(22px); background: #fff; }

.cfg-note { padding: 0 0 18px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.cfg-note .mono { color: var(--leather); margin-right: 6px; }
.macro-w { padding-bottom: 16px; }
html:not(.js) .macro-w { display: none; }
.macro { position: relative; aspect-ratio: 16 / 7; background: var(--stone); overflow: hidden; }
.macro .gal-view { visibility: visible; width: 100%; height: auto; aspect-ratio: 4 / 5; inset: auto; left: 0; top: 0; transform-origin: 0 0; transition: transform .8s var(--ease-io); }
.legal-perso { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--rule-2); border-left: 2px solid var(--leather); font-size: 13.5px; display: grid; gap: 4px; }
.legal-perso .mono { color: var(--leather); }
.soon { border-top: 1px solid var(--rule); padding: 22px 0 0; display: grid; gap: 12px; justify-items: start; }

.pdp-checks { display: grid; gap: 8px; color: var(--ink-2); font-size: 11px; }
.pdp-checks li { display: grid; grid-template-columns: 22px 1fr; }
.pdp-checks li::before { content: ''; width: 12px; height: 1px; background: var(--leather); margin-top: .75em; }

.acc { border-top: 1px solid var(--rule); margin-top: 6px; }
.acc-i { border-bottom: 1px solid var(--rule); }
.acc-i summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; }
.acc-i summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 12px; height: 12px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease-io); }
.pm::after { transform: rotate(90deg); }
details[open] > summary .pm::after { transform: rotate(0deg); }
.acc-b { padding: 0 0 22px; font-size: 15px; }
.acc-b .spec { margin: 0; }
.acc-b .spec .row { grid-template-columns: minmax(110px, 38%) 1fr; padding: 11px 0; }
.acc-b .spec dd { font-size: 14px; }

.pdp-inside .inside-r--fig { min-height: 0; justify-content: center; }
.inside-r--fig > .rv-clip { position: relative; flex: 1; display: flex; }
.inside-r--fig .rv-in { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 2.4vw, 36px); }
.fiche-fig { width: min(100%, 440px); aspect-ratio: 4 / 5; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.more .sh { margin-bottom: clamp(32px, 4vw, 56px); }

/* ------------------------------------------------------------------ fiche produit : compléments */
.help-gift { display: block; margin-top: 2px; }
.notice { font-size: 13px; color: var(--ink-2); }
.notice:empty { display: none; }
/* Lettre accentuée : écriture sans accent proposée, appliquée seulement si la personne l'accepte (configurateur.js). */
.accent { font-size: 13px; color: var(--ink); }
.accent[hidden] { display: none; }
.accent::before { content: ''; display: inline-block; width: 12px; height: 1px; background: var(--leather); vertical-align: middle; margin-right: 10px; }
.accent .u { display: inline; padding-bottom: 0; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; }
.accent .u::after { content: none; }
.notice::before { content: ''; display: inline-block; width: 12px; height: 1px; background: var(--leather); vertical-align: middle; margin-right: 10px; }
.pdp-delai { display: grid; grid-template-columns: 72px 1fr; gap: 10px 12px; align-items: baseline; margin: 16px 0 24px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.pdp-delai dt { color: var(--leather); }
.cfg > .add-err { margin-top: 10px; }
.pdp-bundle { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; padding: 18px 0 20px; border-bottom: 1px solid var(--rule); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.pdp-bundle .mono { color: var(--leather); }
.pdp-bundle .u { margin-left: 4px; color: var(--ink); white-space: nowrap; }
.pdp-share { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-top: 16px; }
.pdp-share .cap { font-size: 11px; }
.legal-perso p { display: grid; gap: 2px; }
.legal-perso .legal-recap { color: var(--ink); padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--rule); }
.macro-note { margin-top: 8px; font-size: 11px; }
.step .airtag-note { padding: 0; margin-top: 12px; color: var(--ink); }
.airtag-note::before { content: ''; display: inline-block; width: 12px; height: 1px; background: var(--leather); vertical-align: middle; margin-right: 10px; }
.seal-l { display: grid; gap: 6px; min-width: 0; }
.seal-l .step-lab { margin: 0; width: auto; float: none; justify-content: flex-start; }
.seal-help { margin-top: 0; }
@keyframes gal-in-back { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.gal-view.is-in.is-back { animation-name: gal-in-back; }
@media (max-width: 960px) { .gal-main { touch-action: pan-y pinch-zoom; } }
.buybar { display: none; }
@media (max-width: 960px) {
  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center;
    background: var(--white); border-top: 1px solid var(--rule); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    transform: translateY(100%); visibility: hidden; transition: transform .4s var(--ease-out), visibility 0s linear .4s;
  }
  .buybar.is-on { transform: none; visibility: visible; transition: transform .4s var(--ease-out), visibility 0s; }
  .buybar .btn { min-height: 48px; padding: 0 22px; }
  .buybar-t { display: grid; gap: 2px; min-width: 0; }
  .buybar-n { font-size: 18px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar-p { font-size: 15px; }
  .buybar-legal { grid-column: 1 / -1; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .buybar, .buybar.is-on { transition: none; } }
@media (max-width: 960px) {
  .macro { aspect-ratio: 16 / 6; }
  .macro-w { padding-bottom: 12px; }
}

/* ------------------------------------------------------------------ pages éditoriales */
.ed-hd { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(28px, 3vw, 48px); }
.ed-hd .pg-t { grid-column: 1 / -1; }
.ed-hd--fig { align-items: center; }
.ed-hd-t { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 26px; }
.ed-fig { grid-column: 8 / 13; position: relative; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.ed-fig .rv-in { position: absolute; inset: 0; }
.ed-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.ed-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(24px, 3vw, 48px) var(--gutter) var(--sec-y); border-top: 1px solid var(--rule); }
.ed-toc, .ed-toc-empty { grid-column: 1 / 4; }
.ed-toc { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; display: grid; gap: 14px; padding-top: 34px; }
.ed-toc ol { display: grid; gap: 2px; }
.ed-toc li { display: grid; grid-template-columns: 34px 1fr; font-size: 14px; line-height: 1.4; }
.ed-toc li::before { content: attr(data-n); font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 8px; }
.ed-prose { grid-column: 5 / 11; }
.inside--solo .inside-r--cta { justify-content: center; align-items: flex-start; gap: 24px; padding: var(--sec-y) clamp(28px, 6vw, 96px); min-height: 0; }
.inside--solo .inside-r--cta .serif { font-size: var(--fs-d3); line-height: 1.08; max-width: 14ch; }
.enbref { margin: 34px 0 10px; padding: 22px 24px 8px; background: var(--stone); }
.enbref .mono { margin-bottom: 6px; }

.prose { font-size: 16.5px; line-height: 1.72; color: var(--ink-2); }
.prose > :first-child, .prose section:first-child > :first-child { margin-top: 0; }
.prose section + section { margin-top: 12px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-d3); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); margin: 64px 0 22px; padding-top: 30px; border-top: 1px solid var(--rule); }
.prose h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 34px 0 10px; }
.prose p, .prose ul, .prose ol, .prose table, .prose dl, .prose blockquote { margin: 0 0 16px; }
.prose ul > li, .prose ol > li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.prose ul > li::before { content: ''; position: absolute; left: 4px; top: .85em; width: 12px; height: 1px; background: var(--leather); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .2em; font-family: var(--mono); font-size: 11px; color: var(--leather); }
.prose a:not(.u):not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--leather); transition: text-decoration-color .3s; }
.prose a:not(.u):not(.btn):hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose table { width: 100%; font-size: 14.5px; }
.prose .tbl { overflow-x: auto; margin: 0 0 16px; }
.prose .tbl > table { margin: 0; }
.prose .tbl:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.prose th, .prose td { text-align: left; padding: 12px 18px 12px 0; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.prose blockquote { border-left: 2px solid var(--leather); padding-left: 18px; font-family: var(--serif); font-size: 20px; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.prose details { border-bottom: 1px solid var(--rule); }
.prose details:first-of-type { border-top: 1px solid var(--rule); }
.prose details > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; cursor: pointer; font-weight: 600; color: var(--ink); line-height: 1.4; }
.prose details > summary::-webkit-details-marker { display: none; }
.prose details > summary .pm { flex: none; }
.prose details > .faq-a { padding: 0 0 18px; }
.prose details > .faq-a > :last-child { margin-bottom: 0; }

.pending { border: 1px dashed var(--rule-2); background: var(--stone); padding: 28px; display: grid; gap: 8px; }
.pending .mono { color: var(--leather); }

/* ------------------------------------------------------------------ cadeaux d'entreprise */
.pro-hd { align-items: center; }
.pro-hd-t { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 26px; }
.pro-hd .pg-t { font-size: var(--fs-d2); line-height: 1; letter-spacing: -.012em; }
.pro-fig { grid-column: 8 / 13; position: relative; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.pro-fig .rv-in { position: absolute; inset: 0; container-type: inline-size; }
.pro-steps { padding-top: 0; }
.pro-steps-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.pro-steps-g li { display: grid; gap: 10px; align-content: start; padding: 24px clamp(16px, 2vw, 32px) 0 0; }
.pro-steps-g .serif { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.pro-arg, .pro-grid, .pro-form { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 36px; border-top: 1px solid var(--rule); }
.pro-arg-hd, .pro-grid-hd, .pro-form-hd { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 20px; align-self: start; }
.pro-arg .prose, .pro-grid-t, .pro-form-b { grid-column: 6 / 12; }
.pro-grid-t { display: grid; gap: 18px; }
.grid-t--l td.serif { font-size: clamp(32px, 3vw, 44px); }

.devis { display: grid; gap: 28px; }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px var(--gap); }
.f { display: grid; gap: 8px; align-content: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f label, .f legend { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; padding: 0; }
.f input, .f select, .f textarea { width: 100%; border: 0; border-bottom: 1px solid #a9a49c; background: transparent; padding: 10px 0 12px; font-size: 17px; transition: border-color .3s var(--ease-out); }
.f textarea { border: 1px solid #a9a49c; padding: 14px; resize: vertical; min-height: 140px; line-height: 1.5; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.f textarea:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.f [aria-invalid="true"] { border-color: var(--err); }
.f-help { font-size: 13px; }
.f-err { color: var(--err); font-size: 13px; min-height: 0; }
.f-err:empty { display: none; }
.sel-w { position: relative; }
.sel-w::after { content: ''; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.sel-w select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; }
.radios { display: flex; gap: 28px; padding: 10px 0; }
.radios label { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 400; cursor: pointer; }
.radios input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 50%; margin: 0; display: grid; place-items: center; padding: 0; }
.radios input::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease-out); }
.radios input:checked::after { transform: scale(1); }
.radios input:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-legal { font-size: 13px; }
.f-status { color: var(--err); font-size: 14px; }
.f-status:empty { display: none; }
.devis-ok { display: grid; gap: 14px; justify-items: start; padding: 32px 0; border-top: 1px solid var(--ink); outline: none; }
.devis-ok .serif { font-size: var(--fs-d3); line-height: 1.08; }

/* ------------------------------------------------------------------ coffrets de Noël */
.topbar-a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; margin-left: 6px; white-space: nowrap; }
.foot-sign { font-size: 19px; line-height: 1.2; margin-top: 14px; }
.cof-list { display: grid; gap: clamp(64px, 8vw, 140px); padding-top: clamp(24px, 3vw, 48px); }
.cof { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: center; }
.cof-fig { grid-column: 1 / 7; position: relative; display: block; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.cof-fig .rv-in { position: absolute; inset: 0; }
.cof-fig .media { width: 100%; height: 100%; object-fit: cover; }
.cof-t { grid-column: 8 / 13; display: grid; gap: 18px; align-content: center; justify-items: start; }
.cof--r .cof-fig { grid-column: 7 / 13; order: 2; }
.cof--r .cof-t { grid-column: 1 / 6; order: 1; }
.cof-parts { width: 100%; border-top: 1px solid var(--ink); }
.cof-parts li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
.cof-parts .u { justify-self: start; }
.cof-pp { font-family: var(--serif); font-size: 18px; min-width: 4ch; text-align: right; }
.cof-calc { display: grid; gap: 6px; }
.cof-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.cof-price .pr { font-size: 40px; line-height: 1; }
.cof-gain { color: var(--leather); }
.cof-soon { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.cof-box .band-i { gap: 10px; }
.cof-box .band-i > .muted:last-child { max-width: 36ch; }
.cof-noel { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.cof-more { border-top: 1px solid var(--rule); }
.cof-more-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; }
.cof-more-g > :first-child { grid-column: 1 / 5; }
.cof-more-g > .prose { grid-column: 6 / 12; }
@media (max-width: 960px) {
  .cof-fig, .cof-t, .cof--r .cof-fig, .cof--r .cof-t, .cof-more-g > :first-child, .cof-more-g > .prose { grid-column: 1 / -1; order: 0; }
  .cof-noel { grid-template-columns: minmax(0, 1fr); }
  .cof-price .pr { font-size: 34px; }
}

/* ------------------------------------------------------------------ entreprises (/entreprises) */
.b2b-s { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; border-top: 1px solid var(--rule); }
.b2b-s-hd { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 18px; align-self: start; }
.b2b-s > .prose, .b2b-grille-t { grid-column: 6 / 13; }
.b2b-s .prose > :first-child { margin-top: 0; }
.b2b-qui .prose ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.b2b-qui .prose ul > li { padding: 16px 0 16px 28px; border-top: 1px solid var(--rule); margin: 0; }
.b2b-qui .prose ul > li::before { top: 1.6em; }
.b2b-grille-t { display: grid; gap: 18px; justify-items: start; }
.b2b-grille-t .tbl { width: 100%; overflow-x: auto; }
.grid-b2b th[scope="row"] { text-align: left; font-weight: 400; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule-2); display: table-cell; }
.grid-b2b th[scope="row"] .grid-n { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.15; color: var(--ink); }
.grid-b2b th[scope="row"] .mono { display: block; margin-top: 4px; }
.grid-b2b thead th { text-align: right; padding-left: 12px; }
.grid-b2b thead th:first-child { text-align: left; padding-left: 0; }
.grid-b2b td.serif { font-size: clamp(24px, 2.2vw, 32px); white-space: nowrap; padding-left: 12px; }
.b2b-opts { display: grid; gap: 8px; width: 100%; }
.b2b-opts li { position: relative; padding-left: 28px; font-size: 15px; }
.b2b-opts li::before { content: ''; position: absolute; left: 4px; top: .8em; width: 12px; height: 1px; background: var(--leather); }
.b2b-coffret { align-items: center; }
.b2b-coffret-fig { grid-column: 1 / 6; position: relative; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.b2b-coffret-fig .rv-in { position: absolute; inset: 0; }
.b2b-coffret-fig .media { width: 100%; height: 100%; object-fit: cover; }
.b2b-coffret-t { grid-column: 7 / 13; display: grid; gap: 20px; justify-items: start; }
.b2b-coffret-dl { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.b2b-coffret-dl div { display: grid; gap: 6px; padding: 16px 12px 0 0; }
.b2b-coffret-dl dd { font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.b2b-deroule .prose ol > li { padding-top: 2px; margin-bottom: 14px; }
.chks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px var(--gap); padding-top: 6px; }
.chk, .f .chk { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; cursor: pointer; }
.chk input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid var(--ink); display: grid; place-items: center; }
.chk input::after { content: ''; width: 9px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease-out); }
.chk input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.chk input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.f input[type="file"] { border: 1px dashed var(--field, #857f77); padding: 14px; font-size: 14px; cursor: pointer; }
.f--chk legend { margin-bottom: 4px; }
.gift-list { width: 100%; max-width: 480px; border-top: 1px solid rgba(243, 237, 228, .18); }
.gift-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(243, 237, 228, .18); }
.gift-list .serif { font-size: 22px; color: var(--cream); }
.gift-list .mono { color: rgba(243, 237, 228, .78); text-align: right; }
@media (hover: hover) { .gift-list a:hover .serif { color: var(--tan); } }
.pdp-bundle ul { display: grid; gap: 6px; margin: 6px 0 10px; }
.pdp-bundle li { position: relative; padding-left: 18px; }
.pdp-bundle li::before { content: ''; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--leather); }
.pdp-bundle .u { margin-left: 0; }
.card-ref { display: block; }
@media (max-width: 960px) {
  .b2b-s-hd, .b2b-s > .prose, .b2b-grille-t, .b2b-coffret-fig, .b2b-coffret-t { grid-column: 1 / -1; }
  .b2b-qui .prose ul, .chks { grid-template-columns: minmax(0, 1fr); }
  .b2b-coffret-dl dd { font-size: 28px; }
}

/* ------------------------------------------------------------------ pages système */
.sys { min-height: 64vh; padding: clamp(64px, 10vw, 160px) var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-content: center; }
.sys > * { grid-column: 1 / 9; }
.sys-t { font-size: clamp(64px, 9vw, 150px); line-height: .9; letter-spacing: -.025em; }
.sys-b { grid-column: 1 / 8; display: grid; gap: 18px; }
.sys-fig { grid-column: 10 / 13 !important; grid-row: 1 / span 3; align-self: center; justify-self: end; width: min(100%, 260px); }
.sys-fig img { width: 100%; height: auto; }
.sys-lead { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.sys-b > p { max-width: 52ch; }

/* ------------------------------------------------------------------ panier (tiroir) */
.scrim { position: fixed; inset: 0; z-index: 95; background: rgba(42, 26, 18, .38); opacity: 0; visibility: hidden; transition: opacity .3s linear, visibility 0s linear .3s; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .3s linear, visibility 0s; }
.drawer { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .38s var(--ease-io), visibility 0s linear .38s; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease-expo), visibility 0s; }
.drawer-hd { display: flex; justify-content: space-between; align-items: center; padding: 0 28px; height: var(--hdr-h); border-bottom: 1px solid var(--rule); flex: none; }
.drawer-x { width: 44px; height: 44px; margin-right: -12px; position: relative; }
.drawer-x i { position: absolute; left: 13px; right: 13px; top: 21px; height: 1px; background: var(--ink); transition: transform .5s var(--ease-io); }
.drawer-x i:first-child { transform: rotate(45deg); } .drawer-x i:last-child { transform: rotate(-45deg); }
@media (hover: hover) { .drawer-x:hover i:first-child { transform: rotate(135deg); } .drawer-x:hover i:last-child { transform: rotate(45deg); } }
.drawer-ship { padding: 14px 28px 16px; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; flex: none; }
.ship-bar { height: 1px; background: var(--rule-2); overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--leather); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease-out); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 28px; overscroll-behavior: contain; }
.drawer-empty { padding: 48px 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.drawer-empty .serif { font-size: 32px; line-height: 1.1; }
.line { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.line.is-new { animation: line-in .45s var(--ease-out) both; }
@keyframes line-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.line-th { position: relative; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; container-type: inline-size; display: block; }
.line-th .gal-view { visibility: visible; }
.line-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.line-name { font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.line-price { white-space: nowrap; font-size: 15px; }
.line-detail { font-size: 13px; margin-top: 6px; line-height: 1.5; color: var(--muted); }
.line-tag { display: inline-block; margin-top: 8px; color: var(--leather); font-size: 10.5px; }
.line-ctl { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.qty { display: inline-grid; grid-template-columns: 38px 34px 38px; border: 1px solid var(--rule-2); align-items: center; text-align: center; }
.qty button { height: 36px; font-size: 16px; }
.qty button:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .qty button:not(:disabled):hover { background: var(--stone); } }
.qty output { font-size: 14px; }
.line-rm { font-size: 11px; color: var(--muted); }
.drawer-ft { border-top: 1px solid var(--rule); padding: 20px 28px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; flex: none; }
.tot { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.tot-v { font-family: var(--serif); font-size: 28px; }
.drawer-line { font-size: 12.5px; line-height: 1.5; }
.drawer-note { color: var(--muted); }
.drawer-note.is-perso { color: var(--leather); }
.drawer-ft .btn { margin-top: 10px; }
.drawer-err { color: var(--err); font-size: 13.5px; }
.drawer-err:empty { display: none; }

/* ------------------------------------------------------------------ panier et service : compléments */
/* Tiroir : texte marqué en grand, statut de chaque ligne, informations avant paiement dans le corps défilant */
.line-mark { font-family: var(--font-initiales, var(--serif)); font-size: 18px; line-height: 1.2; letter-spacing: .08em; margin-top: 8px; overflow-wrap: anywhere; }
.line-mark.is-mot { font-family: var(--font-mot, var(--serif)); font-style: var(--style-mot, italic); letter-spacing: .02em; }
.line-mark + .line-detail { margin-top: 4px; }
.line-tag--ok { color: var(--muted); }
.line-acts { display: flex; align-items: center; gap: 18px; }
.drawer-notes { display: grid; gap: 8px; padding: 18px 0 28px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.drawer-notes .u { display: inline; padding-bottom: 0; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-2); transition: text-decoration-color .3s; }
.drawer-notes .u::after { content: none; }
@media (hover: hover) { .drawer-notes .u:hover { text-decoration-color: currentColor; } }
.drawer-hd [data-cart-count].is-bump { display: inline-block; animation: bump .6s var(--ease-out); }
.btn[aria-disabled="true"] { cursor: progress; }
.drawer.is-open .line.is-new { animation-delay: .2s; }
.line.is-out { animation: line-out .28s var(--ease-io) both; }
@keyframes line-out { to { opacity: 0; transform: translateX(14px); } }

/* Contact du vendeur, visible partout (même provisoire) */
.foot-contact { margin-top: 18px; font-size: 13px; line-height: 1.6; letter-spacing: normal; text-transform: none; font-weight: 400; }
.foot-contact .foot-h { display: block; }
.foot-contact .hl { padding: 2px 0; }
.retract-alt { margin-top: 18px; }

/* Page merci : une seule mesure pour le texte et les étapes, sceau calé sur le titre */
.sys--merci .sys-b > * { max-width: 620px; }
.sys--merci .sys-fig { align-self: start; }
.merci-steps { margin-top: 6px; }
.merci-steps li { grid-template-columns: 48px 1fr; }
.merci-steps .mono { padding-top: .2em; }
.sys--merci .merci-ref { border-bottom: 0; padding-bottom: 0; }
.merci-steps mark.todo, .drawer-notes mark.todo { white-space: nowrap; }
/* Pièce suggérée pour atteindre la livraison offerte : rangées compactes, sans mot d'urgence */
.cart-sugg { padding: 20px 0 18px; border-bottom: 1px solid var(--rule); display: grid; gap: 12px; }
.sugg { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.sugg-name { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.sugg-i { display: grid; gap: 6px; justify-items: start; }
.sugg-i .line-top { width: 100%; }
.sugg-add { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.cart-sugg-n { font-size: 12.5px; }
/* Avis en tête du panier : ligne adaptée ou retirée après un changement des règles de marquage (fleurac.js, renderAvis). */
.cart-avis { display: grid; gap: 8px; padding: 16px 0 18px; border-bottom: 1px solid var(--rule); font-size: 13px; line-height: 1.55; color: var(--ink); }
.cart-avis-k { color: var(--leather); }
.cart-coffret { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 13px; line-height: 1.55; }
.cart-coffret .u { display: inline; padding-bottom: 0; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-2); white-space: nowrap; }
.cart-coffret .u::after { content: none; }
.retract-req { margin-bottom: 4px; }
@media (hover: none) {
  /* Écrans tactiles : cibles de 44 px pour les quantités et les actions de ligne */
  .qty { grid-template-columns: 44px 36px 44px; }
  .qty button { height: 44px; }
  .line-rm { min-height: 44px; display: inline-flex; align-items: center; padding-bottom: 0; }
  .line-rm::after { bottom: 10px; }
}
@media (max-width: 600px) {
  .drawer-ship { padding: 10px 20px 12px; }
  /* Pied fixe du tiroir compact sur téléphone : les lignes restent visibles au-dessus */
  .drawer-ft { padding-top: 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); gap: 6px; }
  .drawer-ft .tot { margin-bottom: 0; }
  .drawer-ft .tot-v { font-size: 24px; line-height: 1.2; }
  .drawer-ft .drawer-line { font-size: 11.5px; line-height: 1.45; }
  .drawer-ft .btn { margin-top: 6px; min-height: 52px; }
}

/* Prix du coffret : total des pièces séparées, sans présentation de remise */
.pr-sep { display: block; margin-top: 6px; }
.pdp-price { flex-wrap: wrap; }
.pr-w { display: inline-grid; gap: 4px; }
.pr-w .pr-sep { margin-top: 0; }
.gift-price .pr-sep { color: rgba(243, 237, 228, .7); }

/* Pied de page : lien de rétractation, visible sur toutes les pages */
.foot-retract { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--ink); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; transition: background-color .3s var(--ease-out), color .3s var(--ease-out); }
@media (hover: hover) { .foot-retract:hover { background: var(--ink); color: #fff; } }

/* Rétractation */
.retract { row-gap: 40px; }
.retract-info { grid-column: 1 / 6; padding-top: 34px; }
.retract-form { grid-column: 7 / 12; padding-top: 34px; }
.f-grid--1 { grid-template-columns: minmax(0, 1fr); }
.merci-ref { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.merci-ref strong { font-family: var(--mono); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .08em; }

/* CGV : encadré légal et formulaire type (textes officiels, inchangés) */
.prose #encadre-garanties-legales { margin: 30px 0 10px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--ink); background: var(--stone); }
.prose #encadre-garanties-legales h3 { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: var(--fs-d4); }
.prose #encadre-garanties-legales p { font-size: 15px; }
.legal-box-k { color: var(--leather); margin: 0 0 4px !important; }
.form-type { margin-top: 26px; padding: clamp(22px, 3.4vw, 44px); background: var(--white); border: 1px solid var(--rule-2); box-shadow: 8px 8px 0 var(--stone-2); max-width: 64ch; font-size: 15px; }
.form-type h3 { margin-top: 0 !important; font-family: var(--serif); font-weight: 400; font-size: var(--fs-d4); }
.form-type p.fill::after { content: ''; display: block; height: 1.9em; border-bottom: 1px dotted #8f8a82; }

/* FAQ en volets */
.prose details.faq-i > summary { font-family: var(--serif); font-weight: 400; font-size: var(--fs-d4); line-height: 1.25; }
.prose details.faq-i[open] > summary { color: var(--leather); }

@media (max-width: 960px) {
  .retract-info, .retract-form { grid-column: 1 / -1; }
  .retract-form { padding-top: 0; }
}


/* Entreprises : bandeau des prix indicatifs */
.pro-prices { padding: 0 var(--gutter) var(--sec-y); }
.pro-prices-k { padding: 16px 0; border-top: 1px solid var(--ink); }
.pro-prices-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pro-prices-g li { display: grid; gap: 12px; align-content: start; padding-top: 18px; }
.pro-price { font-size: var(--fs-d3); line-height: 1; letter-spacing: -.01em; }
.pro-price-l { font-size: 15px; line-height: 1.5; }
.pro-price-note { align-content: end !important; gap: 18px !important; font-size: 14px; }
.pro-price-note .u { justify-self: start; }
.pro-arg-hd { position: sticky; top: calc(var(--hdr-h) + 32px); }
@media (max-width: 960px) {
  .pro-prices-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-price-note { grid-column: 1 / -1; }
  .pro-arg-hd { position: static; }
}

/* ------------------------------------------------------------------ direction artistique : échelle et compléments */
/* Quatre tailles de titre, partout : D1 titre de page, D2 titre de section, D3 sous-titre, D4 nom de pièce.
   Exceptions voulues : les logotypes (.wm, .foot-wm), les villes de l'origine et le menu. */
:root {
  --fs-d1: clamp(56px, 7.2vw, 120px);
  --fs-d2: clamp(40px, 4.4vw, 68px);
  --fs-d3: clamp(28px, 2.6vw, 40px);
  --fs-d4: clamp(20px, 1.7vw, 26px);
}

/* Accueil : la photo du hero (3:2) tient dans le premier écran, sous le logotype entier. */
@media (min-width: 961px) {
  .cover-fig { width: min(100%, calc((100svh - var(--topbar-h) - var(--hdr-h) - (100vw - 2 * var(--gutter)) / 4.64 * .87 - 70px) * 1.5)); margin-left: auto; }
}

/* Titres équilibrés, pas de mot seul en dernière ligne */
.sh-t, .pg-t, .h-xl, .h-l, .band-i .serif, .card-name, .prose h2, .inside--solo .inside-r--cta .serif { text-wrap: balance; }
.prose p, .prose li, .card-sub, .pro-lead, .cover-p, .gift-t > p, .perso-r > p, .sh-a p, .inside-p { text-wrap: pretty; }

/* /le-cuir : gros plan du sceau au-dessus de l'appel vers la boutique */
.inside--solo .inside-r--cta .fiche-fig { width: min(100%, 360px); }
@media (max-width: 960px) { .inside--solo .inside-r--cta { padding: 72px var(--gutter); } }

/* Fiche technique dans l'accordéon de la fiche produit : même valeur que le padding de .acc-b .spec .row,
   pour que le filet (placé depuis le terme) tombe sur le haut de la ligne. */
.acc-b .spec { --spec-pad: 11px; }

/* Cartes : type de personnalisation, toujours visible */
.card-tag { grid-column: 1 / -1; font-size: 11px; }
.card-name .nw { white-space: nowrap; }

/* Pages éditoriales : sommaire replié en tête d'article sur téléphone (le sommaire collant y est masqué) */
.ed-toc-m { display: none; }
@media (max-width: 960px) {
  .prose details.ed-toc-m { display: block; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
  .prose .ed-toc-m > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 0; list-style: none; cursor: pointer; }
  .ed-toc-m summary .mono { margin-left: auto; }
  .ed-body.has-toc { border-top: 0; }
  .ed-toc-m summary::-webkit-details-marker { display: none; }
  .prose .ed-toc-m ol { margin: 0 0 14px; }
  .prose .ed-toc-m li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 0; margin: 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.4; }
  .prose .ed-toc-m li::before { content: attr(data-n); position: static; font-family: var(--mono); font-size: 11px; color: var(--muted); }
  .prose .ed-toc-m a.hl { display: block; padding: 11px 0; text-decoration: none; }
}

/* ------------------------------------------------------------------ états de départ des animations
   Seulement quand html.js-anim est posé (JS chargé, mouvement autorisé). Sans JS ou en mouvement réduit,
   tout est visible d'emblée. */
.js-anim [data-lines] .ln > span { transform: translateY(112%); }
.js-anim .wm .ch > span { transform: translateY(104%); }
.js-anim .rv-clip { clip-path: inset(100% 0 0 0); }
.js-anim .rv-fade, .js-anim [data-intro-fade] { opacity: 0; }
.js-anim .spec .rule, .js-anim .steps .rule { transform: scaleX(0); }
.js-anim .spec dt, .js-anim .spec dd, .js-anim .steps li > span { opacity: 0; }
.js-anim .route-l { stroke-dashoffset: 1; }
.js-anim .route-dot { opacity: 0; }
.js-anim .acc-b .spec .rule { transform: none; }
.js-anim .acc-b .spec dt, .js-anim .acc-b .spec dd { opacity: 1; }

/* ------------------------------------------------------------------ mouvement : compléments */
/* Premier écran : l'image principale est visible dès le premier rendu (jamais masquée en attendant GSAP).
   Elle se pose seulement, d'une échelle de 1,04 à 1, en CSS, sans attendre le script. */
@keyframes settle { from { transform: scale(1.04); } }
.js-anim .gal-main > .rv-in, .js-anim .cover-fig img, .js-anim .rv-clip[data-above] > .rv-in { animation: settle 1.6s var(--ease-out) backwards; }
.js-anim .gal-main, .js-anim .rv-clip[data-above] { clip-path: none; }

/* Entre les pages : navigation native, simple fondu (View Transitions entre documents, Chrome 126+ et Safari 18.2+).
   Ailleurs (Firefox…), navigation classique. La requête part dès le clic : plus aucun rideau ni délai. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) .08s both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* Cibles d'ancre rendues focalisables (lien d'évitement, sommaire) : le focus est déplacé, sans anneau. */
[tabindex="-1"]:focus { outline: none; }
/* Retour arrière (bfcache) : menu et panier se referment sans animation. */
.no-trans *, .no-trans *::before, .no-trans *::after { transition: none !important; }

/* Pages légales et système (html.css-intro, sans GSAP) : le titre monte ligne par ligne, puis le texte apparaît.
   Remplissage « backwards » : rien ne reste appliqué une fois l'animation finie. */
.css-intro [data-lines="intro"] .ln > span { animation: ln-up 1s var(--ease-out) calc(.1s + var(--i, 0) * .08s) backwards; }
.css-intro [data-intro-fade] { animation: fade-up .8s var(--ease-out) .3s backwards; }
@keyframes ln-up { from { transform: translateY(112%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }

/* Volets (fiche produit, FAQ) : ouverture et fermeture en douceur là où la hauteur auto s'anime (Chrome 131+).
   Ailleurs, ouverture instantanée. Le reset global (*, ::before, ::after) n'atteint pas ::details-content :
   mouvement réduit et capture sont donc coupés ici, dans des règles à part. */
@supports (interpolate-size: allow-keywords) {
  .acc-i, .prose details { interpolate-size: allow-keywords; }
  .acc-i::details-content, .prose details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-io), content-visibility .45s allow-discrete; }
  .acc-i[open]::details-content, .prose details[open]::details-content { block-size: auto; }
  .capture .acc-i::details-content, .capture .prose details::details-content { transition: none; }
  @media (prefers-reduced-motion: reduce) {
    .acc-i::details-content, .prose details::details-content { transition: none; }
  }
}

/* De la carte à la fiche : l'image de la carte devient l'image principale de la fiche (View Transitions, CSS seul).
   Un nom par pièce, un seul exemplaire par page. Sur une fiche, les cartes « Avec cette pièce » ne portent pas de nom :
   sinon toutes les cartes communes aux deux pages traverseraient l'écran, et pas seulement celle qu'on a choisie. */
.card[href="/produits/portefeuille"] .card-img, .pdp[data-product="portefeuille"] .gal-main { view-transition-name: v-portefeuille; }
.card[href="/produits/porte-airtag"] .card-img, .pdp[data-product="porte-airtag"] .gal-main { view-transition-name: v-porte-airtag; }
.card[href="/produits/coffret"] .card-img, .pdp[data-product="coffret"] .gal-main { view-transition-name: v-coffret; }
.card[href="/produits/etui-cles"] .card-img, .pdp[data-product="etui-cles"] .gal-main { view-transition-name: v-etui-cles; }
.card[href="/produits/porte-cles-carnet"] .card-img, .pdp[data-product="porte-cles-carnet"] .gal-main { view-transition-name: v-porte-cles-carnet; }
.card[href="/produits/vide-poche"] .card-img, .pdp[data-product="vide-poche"] .gal-main { view-transition-name: v-vide-poche; }
[data-page="product"] .card[href] .card-img { view-transition-name: none; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease-io); }
/* Image sans équivalent sur l'autre page (les autres cartes de la boutique…) : elle suit le fondu de la page. */
::view-transition-old(*):only-child { animation: vt-out .25s var(--ease-io) both; }
::view-transition-new(*):only-child { animation: vt-in .45s var(--ease-out) .08s both; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .cover-t { grid-column: 1 / 6; }
  .cover-art { grid-column: 6 / 13; }
  .sh .sh-t { grid-column: 1 / 10; }
  .sh-a { grid-column: 1 / 10; }
  .menu-in { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
}
@media (max-width: 960px) {
  :root { --hdr-h: 58px; }
  .hdr-nav, .hdr-cuir { display: none; }
  .hdr-menu .cap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; text-transform: none; }
  .hdr-menu { width: 44px; justify-content: flex-start; }
  .hdr-logo { font-size: 21px; }
  .cover-stage { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .cover-art { margin: 0 calc(var(--gutter) * -0.5); }
  .cover-top > :nth-child(2) { display: none; }
  .sel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .sel-a { grid-column: 1 / -1; }
  .sel-b { grid-column: 1; margin-top: 0; }
  .sel-c { grid-column: 2; grid-row: auto; margin-top: 64px; }
  .sel-note { grid-column: 1 / -1; grid-row: auto; max-width: none; }
  .inside, .perso, .gift, .pro-teaser-g { grid-template-columns: minmax(0, 1fr); }
  .inside-l { border-right: 0; padding: 72px var(--gutter); }
  .inside-r { min-height: 0; }
  .inside-r--photo { aspect-ratio: 5 / 4; max-height: 560px; }
  .route-g { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .route-pt:last-child { text-align: left; align-items: flex-start; }
  .route-line { height: 56px; width: 20px; margin-left: 4px; }
  .route-line svg { display: none; }
  .route-line::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--leather); }
  .route-dot--a { left: 50%; top: 0; margin: 0 0 0 -4.5px; }
  .route-dot--b { right: auto; left: 50%; top: auto; bottom: 0; margin: 0 0 0 -4.5px; }
  /* Personnalisation : titre et texte, puis l'aperçu juste au-dessus du champ (visible pendant la frappe) */
  .perso { min-height: 0; display: flex; flex-direction: column; }
  .perso-r { display: contents; }
  .perso-r > * { margin-left: var(--gutter); margin-right: var(--gutter); }
  .perso-r > .sh-k { order: 1; margin-top: 64px; }
  .perso-r > .h-xl { order: 2; margin-top: 22px; }
  .perso-r > .h-xl + p { order: 3; margin-top: 22px; }
  .perso-l { order: 4; margin-top: 32px; height: 56vw; max-height: 320px; }
  .perso-cap { left: var(--gutter); bottom: 16px; }
  .perso-r > .try { order: 5; margin-top: 20px; }
  .perso-r > .steps { order: 6; margin-top: 32px; margin-bottom: 72px; }
  .gift { padding: 0 0 72px; gap: 40px; }
  .gift-art { max-height: 620px; }
  .gift-t { padding: 0 var(--gutter); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .pg-hd > .pg-t, .pg-aside { grid-column: 1 / -1; }
  .pg-aside { padding-bottom: 0; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid > :nth-child(3n + 2) { margin-top: 0; }
  .shop-grid > :nth-child(2n) { margin-top: 56px; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band-i { border-right: 0; border-bottom: 1px solid var(--rule); }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0 0 72px; }
  .pdp-info { padding: 0 var(--gutter); }
  .pdp-gal { position: relative; top: 0; }
  .gal { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gal-main { grid-column: 1; width: 100%; }
  .gal-th { grid-row: 2; flex-direction: row; gap: 8px; padding: 0 var(--gutter); }
  .gal-th-b { flex: 0 1 64px; min-width: 0; }
  .gal-nav { position: absolute; z-index: 3; right: 10px; bottom: 10px; display: flex; gap: 6px; }
  .gal-arr { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255, 255, 255, .78); }
  .gal-arr svg { width: 20px; height: 20px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 > :nth-child(3) { display: none; }
  .ed-hd-t, .ed-fig, .pro-hd-t, .pro-fig { grid-column: 1 / -1; }
  .ed-fig, .pro-fig { margin-top: 12px; }
  .ed-fig { aspect-ratio: 4 / 3; }
  .ed-toc, .ed-toc-empty { display: none; }
  .ed-prose { grid-column: 1 / -1; }
  .pro-steps-g { grid-template-columns: minmax(0, 1fr); }
  .pro-steps-g li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
  .pro-arg-hd, .pro-grid-hd, .pro-form-hd, .pro-arg .prose, .pro-grid-t, .pro-form-b { grid-column: 1 / -1; }
  .sys > *, .sys-b { grid-column: 1 / -1; }
  .sys-fig { display: none; }
  .menu-in { grid-template-columns: minmax(0, 1fr); padding-bottom: 46vw; }
  .menu-fig { display: none; }
  .menu-nav a { grid-template-columns: 40px 1fr; }
}
@media (max-width: 600px) {
  :root { --topbar-h: 30px; }
  .topbar { font-size: 11px; }
  .topbar .sep { display: none; }
  .topbar-in { flex-direction: column; gap: 2px; padding: 7px var(--gutter); }
  .topbar-x { display: none; }
  .cap { letter-spacing: .16em; }
  .hdr-r { gap: 16px; }
  .cover { padding-top: 12px; }
  .cover-top { display: none; }
  .cover-stage { margin-top: 16px; gap: 16px; }
  .cover-t { gap: 14px; }
  .sh { margin-bottom: 40px; }
  .sh .sh-t { grid-column: 1 / -1; }
  .sh-a { grid-column: 1 / -1; }
  .card-meta { grid-template-columns: 1fr; grid-template-areas: "ref" "name" "price"; gap: 4px; padding-top: 14px; }
  .sel-b .card-sub, .sel-c .card-sub, .shop-grid .card-sub, .grid3 .card-sub { display: none; }
  .spec .row { grid-template-columns: 136px 1fr; gap: 10px; }
  .spec dt { overflow-wrap: anywhere; }
  .spec dd { font-size: 14px; }
  .route-city { font-size: 54px; }
  .try-row { grid-template-columns: 1fr; }
  .try-row .btn { border-width: 1px 0 0; }
  .gift-dl div { grid-template-columns: 1fr; gap: 4px; }
  .grid-t td.serif { font-size: 24px; }
  .grid-t td, .grid-t th { font-size: 13px; }
  .pdp-t { font-size: clamp(38px, 10.6vw, 48px); }
  .seg label { padding: 15px 6px; letter-spacing: .14em; }
  .field input { font-size: 22px; padding: 14px; }
  .f-grid { grid-template-columns: minmax(0, 1fr); }
  .drawer-hd, .drawer-body, .drawer-ft, .drawer-ship { padding-left: 20px; padding-right: 20px; }
  .line { grid-template-columns: 76px 1fr; gap: 14px; }
  .foot-legal { flex-direction: column; }
  .prose { font-size: 16px; }
  .prose h2 { margin-top: 48px; }
}

/* Mode capture (?capture=1) : les transitions CSS sautent directement à leur état final */
.capture *, .capture *::before, .capture *::after { transition: none !important; animation-duration: 0s !important; animation-delay: 0s !important; }

/* ------------------------------------------------------------------ mouvement réduit : rien ne bouge */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .card:hover .view-a .media { transform: none; }
}

/* ------------------------------------------------------------------ accessibilité et impression
   Surcharges placées en fin de cascade : contrastes des champs, cibles tactiles, petits textes, impression.
   Les états :focus, .is-err et [aria-invalid] gardent la priorité par leur spécificité plus forte. */
:root {
  --field: #857f77;        /* filet des champs : 3,9:1 sur blanc, 3,6:1 sur pierre (WCAG 1.4.11 : 3:1) */
  --placeholder: #716b64;  /* texte indicatif : 5,3:1 sur blanc, 4,7:1 sur pierre (WCAG 1.4.3 : 4,5:1) */
}
.field { border-color: var(--field); }
.f input, .f select { border-bottom-color: var(--field); }
.f textarea { border-color: var(--field); }
.field input::placeholder, .try-row input::placeholder, .f input::placeholder, .f textarea::placeholder { color: var(--placeholder); }
.seg input:focus-visible + label { outline-width: 2px; outline-offset: -6px; }
.radios input:focus-visible { outline-width: 2px; }

/* Cibles tactiles de 44 px sur écran tactile.
   Listes empilées (pied, petits liens du menu) : de vraies lignes de 44 px, chaque lien garde sa propre bande,
   aucune zone ne déborde sur la voisine. Seuls les liens directs des colonnes sont visés (pas un lien glissé
   dans un paragraphe de colonne). Le filet de survol reste à 4 px sous le texte.
   Liens isolés (panier, fil d'Ariane, liens soulignés en capitales .u.cap) : zone invisible de 44 px, sans
   changer la mise en page, posée dans le vide qui les entoure. Un lien .u sans .cap est pris dans une phrase :
   jamais de zone, pour qu'un toucher sur le texte voisin n'ouvre pas le lien. */
@media (hover: none) {
  .foot-col, .menu-small { gap: 0; }
  .foot-col > .hl, .menu-small .hl { padding-block: 14px; padding-block: calc((44px - 1lh) / 2); }
  .foot-col > .hl::after, .menu-small .hl::after { bottom: 10px; bottom: calc((44px - 1lh) / 2 - 4px); }
  .hdr-r [data-cart-open]::before, .menu-cart::before, .crumb .hl::before {
    content: ''; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%);
  }
  .u.cap::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; bottom: -16px; }
  .radios label { min-height: 44px; }
}

/* Lien du bandeau (fond brun) : contour de focus clair, zone tactile de 44 px sans changer la hauteur du bandeau. */
.topbar :focus-visible { outline-color: var(--cream); }
.topbar-a { position: relative; }
@media (hover: none) { .topbar-a::before { content: ''; position: absolute; left: -8px; right: -8px; top: 50%; height: 44px; transform: translateY(-50%); } }

/* Petits textes : 11 px au moins (hors logotype et bandeau). */
.skip { font-size: 12px; }
@media (max-width: 600px) {
  .foot-legal, .line-tag { font-size: 11px; }
  .pdp-checks, .foot-retract { font-size: 11.5px; }
}

/* Impression (CGV, mentions, fiches) : le texte seul, sans bandeau, en-tête, menu ni tiroir ; tout ce que les
   animations d'entrée gardent masqué devient visible ; l'adresse des liens du texte est imprimée. */
@media print {
  .topbar, .hdr, .menu, .drawer, .scrim, .skip, .foot-wm, .ed-toc, .ed-toc-m, .ed-toc-empty, .buybar, .foot-top nav, .gal-nav, .foot-retract { display: none !important; }
  .ln > span, [data-lines] span, .wm .ch > span, [data-intro-fade], .rv-fade, .rv-clip, .rv-in,
  .spec .rule, .steps .rule, .spec dt, .spec dd, .steps li > span, .route-dot {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .route-l { stroke-dashoffset: 0 !important; }
  body { background: #fff; color: #000; }
  .prose { color: #000; font-size: 11pt; line-height: 1.55; }
  .pg-hd { padding: 0 0 12pt; }
  .pg-hd .pg-t, .pg-t { font-size: 30pt; line-height: 1.05; }
  .ed-body { display: block; padding: 12pt 0 0; border-top: 0; }
  .prose p, .prose ul, .prose ol, .prose table, .prose dl, .prose blockquote { max-width: none; }
  .prose h2 { margin-top: 24pt; padding-top: 12pt; font-size: 18pt; }
  .prose h2, .prose h3 { break-after: avoid; }
  .prose tr, .form-type { break-inside: avoid; }
  .prose a[href]::after { content: ' (' attr(href) ')'; font-size: .8em; }
  .prose a[href^="#"]::after { content: none; }
}

/* Écrans tactiles : un retour au toucher propre au site remplace le voile gris du navigateur.
   Encoche en paysage (viewport-fit=cover) : la gouttière ne descend jamais sous la zone sûre. */
html { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active::before { transform: scaleY(1); transition-duration: .2s; }
  .card:active .card-img { opacity: .92; }
  .gal-th-b:active::after { opacity: .35; }
}
:root { --gutter: max(clamp(20px, 3.2vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
