/* Template premium Mapinou. Aucune couleur ni police ici : tout vient de tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--brown);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset, dl, dd { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--espresso); }
html:has(dialog[open]) { overflow: hidden; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); line-height: .98; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.12; }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }
p { text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--cream); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--brown); color: var(--paper); font-weight: 600;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep);
}
.lead { font-size: var(--t-lead); color: var(--brown-soft); max-width: 46ch; }
.muted { color: var(--brown-soft); }
.small { font-size: .875rem; }

/* Point de couture : la signature Mapinou */
.stitch-rule {
  height: 2px; border: 0; margin: 0;
  background: radial-gradient(circle, var(--gold) 1px, transparent 1.4px) 0 50% / 10px 2px repeat-x;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  border-radius: var(--r-pill);
  background: var(--brown); color: var(--paper);
  font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background var(--fast) ease, transform var(--fast) ease, box-shadow var(--base) ease;
}
.btn:hover { background: var(--espresso); box-shadow: var(--shadow-m); }
.btn:active { transform: scale(.98); }
.btn svg { transition: transform var(--base) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: var(--paper); color: var(--brown); }
.btn--light:hover { background: var(--ivory); }
.btn--ghost { background: transparent; color: var(--brown); box-shadow: inset 0 0 0 1.5px var(--brown); }
.btn--ghost:hover { background: var(--brown); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--brown); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--beige); color: var(--brown-soft); cursor: not-allowed; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 9px) / 100% 1px no-repeat;
  transition: background-size var(--base) var(--ease);
}
.link-arrow svg { transition: transform var(--base) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background var(--fast) ease;
}
.icon-btn:hover { background: var(--sand); }

/* ---------- Bandeau et en-tête ---------- */
.ribbon { background: var(--brown); color: var(--cream); font-size: .8125rem; letter-spacing: .04em; }
.ribbon ul { display: flex; justify-content: center; gap: 28px; padding: 9px var(--gutter); }
.ribbon li { display: none; align-items: center; gap: 28px; white-space: nowrap; }
.ribbon li:first-child { display: flex; }
.ribbon li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft); }

.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--base) ease, box-shadow var(--base) ease;
}
.top.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px rgb(73 56 49 / 5%); }
.top__in {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 68px; gap: 12px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px; justify-self: center;
  font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: .01em; line-height: 1;
  min-height: 44px;
}
.logo svg { color: var(--gold); margin-top: 2px; }
.nav { display: none; }
.top__tools { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.top__text { display: none; }
.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--gold-deep); color: var(--paper);
  font-size: .75rem; font-weight: 700; line-height: 1;
}
.cart-count[hidden] { display: none; }

/* Méga-menu (ordinateur) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: var(--shadow-m);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--base) ease, transform var(--base) var(--ease), visibility 0s linear var(--base);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.9fr); gap: 40px; padding-block: 40px 44px; }
.mega h3 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.mega li a { display: block; padding: 7px 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; transition: color var(--fast) ease, transform var(--base) var(--ease); }
.mega li a:hover { color: var(--gold-deep); transform: translateX(4px); }
.mega__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mega__pic { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); }
.mega__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.mega__pic:hover img { transform: scale(1.05); }
.mega__pic span {
  position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--paper) 92%, transparent); font-size: .8125rem; font-weight: 600;
}

@media (min-width: 1040px) {
  .ribbon li { display: flex; }
  .top__burger { display: none; }
  .top__in { min-height: 84px; }
  .logo { font-size: 2.15rem; }
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav__link {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
    font-size: .9375rem; font-weight: 500; border-radius: var(--r-pill);
    transition: color var(--fast) ease;
  }
  .nav__link:hover, .nav__item.is-open > .nav__link { color: var(--gold-deep); }
  .nav__link svg { transition: transform var(--base) var(--ease); }
  .nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
}
@media (min-width: 1240px) {
  .top__text { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: .9375rem; font-weight: 500; }
  .top__text:hover { color: var(--gold-deep); }
}

/* ---------- Tiroirs (panier, menu, recherche) ---------- */
dialog { color: inherit; }
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(440px, 100vw); height: 100dvh; max-height: none; max-width: none;
  background: var(--ivory); box-shadow: var(--shadow-m);
}
.drawer--left { inset: 0 auto 0 0; width: min(380px, 92vw); }
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in var(--base) var(--ease); }
.drawer--left[open] { animation-name: drawer-in-left; }
.drawer.is-closing { animation: drawer-out var(--fast) ease-in forwards; }
.drawer--left.is-closing { animation-name: drawer-out-left; }
.drawer::backdrop, .sheet::backdrop { background: rgb(47 35 30 / 42%); animation: fade-in var(--base) ease; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes drawer-in-left { from { transform: translateX(-100%); } }
@keyframes drawer-out-left { to { transform: translateX(-100%); } }
@keyframes fade-in { from { opacity: 0; } }

.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.7rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }

.cart-empty { display: grid; justify-items: center; gap: 16px; padding: 56px 8px; text-align: center; }
.cart-empty svg { color: var(--gold); }
.cart-empty p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 84px; aspect-ratio: 4 / 5; border-radius: 14px; object-fit: cover; background: var(--cream); }
.line__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.line__meta { margin-top: 4px; font-size: .8125rem; line-height: 1.5; color: var(--brown-soft); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.line__price { font-weight: 600; }
.line__remove { min-height: 44px; font-size: .8125rem; color: var(--brown-soft); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--err); }
.total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 600; }
.total strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.drawer__foot .small { margin: 6px 0 14px; color: var(--brown-soft); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--beige); border-radius: var(--r-pill); background: var(--paper); }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { background: var(--sand); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--s button { width: 36px; height: 36px; }

.mnav a, .mnav summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-family: var(--serif); font-size: 1.6rem; border-bottom: 1px solid var(--line); cursor: pointer;
}
.mnav summary { list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary svg { transform: rotate(180deg); }
.mnav summary svg { transition: transform var(--base) var(--ease); }
.mnav details ul { padding: 8px 0 12px 14px; border-bottom: 1px solid var(--line); }
.mnav details ul a { min-height: 44px; font-family: var(--sans); font-size: 1rem; border: 0; }
.mnav__foot { margin-top: 28px; display: grid; gap: 4px; }
.mnav__foot a { min-height: 44px; font-family: var(--sans); font-size: .9375rem; border: 0; color: var(--brown-soft); }

.sheet {
  width: min(680px, calc(100vw - 24px)); max-height: min(640px, 86dvh);
  margin: 6vh auto auto; padding: 0; border: 0; border-radius: var(--r-panel);
  background: var(--ivory); box-shadow: var(--shadow-m);
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in var(--base) var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-12px); } }
.search__bar { display: flex; align-items: center; gap: 8px; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); }
.search__bar input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; font-family: var(--serif); font-size: 1.5rem; outline: none; }
.search__bar input::placeholder { color: var(--taupe); }
.search__list { overflow-y: auto; padding: 8px 14px 14px; }
.search__list a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 14px; }
.search__list a:hover, .search__list a:focus-visible { background: var(--cream); }
.search__list img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.search__list b { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.search__hint { padding: 20px 24px 26px; color: var(--brown-soft); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; translate: -50% 0;
  max-width: calc(100vw - 32px); padding: 14px 22px; border-radius: var(--r-pill);
  background: var(--espresso); color: var(--cream); font-size: .9375rem; box-shadow: var(--shadow-m);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--base) ease, transform var(--base) var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(32px, 5vw, 72px) clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 38%; height: 120%;
  background: radial-gradient(60% 55% at 62% 38%, var(--blush), transparent 70%);
  pointer-events: none;
}
.hero__in { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero__txt { display: grid; gap: 24px; justify-items: start; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }
.proof { display: inline-flex; align-items: center; gap: 12px; font-size: .9375rem; color: var(--brown-soft); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }

.hero__art { position: relative; width: min(100%, 520px); margin-inline: auto; padding: 18px 18px 0; }
.hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-panel) var(--r-panel); background: var(--cream); }
.hero__stitch { position: absolute; inset: 0 0 -16px 0; width: 100%; height: calc(100% + 16px); pointer-events: none; overflow: visible; }
.hero__stitch path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: .1 9; }
.hero__mini {
  position: absolute; left: -4%; bottom: 8%; width: 36%;
  border: 6px solid var(--ivory); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-m);
  rotate: -4deg;
}
.hero__mini img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero__tag {
  position: absolute; right: -2%; top: 16%;
  display: grid; place-items: center; text-align: center;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--paper); box-shadow: var(--shadow-m);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.15; color: var(--brown);
  rotate: 8deg;
}
.hero__tag::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dotted var(--gold); }

@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero__art { margin-inline: auto 3%; }
}

/* ---------- Réassurance ---------- */
.assure { border-block: 1px solid var(--line); background: var(--paper); }
.assure ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-block: 28px; }
.assure li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.assure svg { color: var(--gold-deep); }
.assure b { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.assure span { display: block; font-size: .875rem; color: var(--brown-soft); line-height: 1.4; }
@media (min-width: 900px) { .assure ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- En-têtes de section ---------- */
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.head--center { justify-items: center; text-align: center; }
.head--row { align-items: end; }
.head--row .head { margin-bottom: 0; }
@media (min-width: 760px) { .head--row { grid-template-columns: 1fr auto; } }

/* ---------- Univers ---------- */
.carousel { position: relative; }
.univers {
  display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.univers::-webkit-scrollbar { display: none; }
.univers.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.univers:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.univers__card { scroll-snap-align: start; display: grid; gap: 14px; text-align: center; }
.univers__pic { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r-card) var(--r-card); overflow: hidden; background: var(--cream); }
.univers__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .univers__card:hover img { transform: scale(1.03); } }
.univers h3 { font-size: 1.6rem; }
.univers p { font-size: .875rem; color: var(--brown-soft); line-height: 1.45; max-width: 24ch; margin-inline: auto; }
@media (min-width: 640px) { .univers { grid-auto-columns: 38%; } }
@media (min-width: 1040px) { .univers { grid-auto-columns: calc((100% - 4 * 22px) / 4.4); gap: 22px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.carousel__nav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.carousel.is-static .carousel__nav { display: none; }
.carousel__btn { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--beige); background: var(--paper); color: var(--brown); transition: background var(--fast) ease, opacity var(--fast) ease; }
.carousel__btn:hover:not(:disabled) { background: var(--brown); color: var(--paper); border-color: var(--brown); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__bar { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.carousel__bar i { display: block; height: 100%; width: 30%; background: var(--gold); border-radius: 2px; }

/* ---------- Cartes produit ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; display: grid; gap: 14px; align-content: start; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.badge {
  position: absolute; left: 10px; top: 10px; padding: 6px 12px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--brown);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}
.badge--off { background: var(--brown); color: var(--cream); }
.card__go {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--brown); box-shadow: var(--shadow-s);
  opacity: 0; transform: translateY(8px); transition: opacity var(--base) ease, transform var(--base) var(--ease);
}
.card:hover .card__go, .card:focus-within .card__go { opacity: 1; transform: none; }
.card__type { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.card__title { font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 600; line-height: 1.15; letter-spacing: 0; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__body { display: grid; gap: 5px; }
.card__price { font-size: .9375rem; color: var(--brown-soft); }
.card__price b { font-weight: 600; color: var(--brown); }
.was { color: var(--brown-soft); font-weight: 400; text-decoration-thickness: 1px; }
.price .was { font-size: 1.25rem; font-family: var(--serif); }
.price .was:empty { display: none; }
.qty-note { margin-top: -6px; }

/* ---------- Atelier de broderie ---------- */
.atelier__panel {
  display: grid; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(24px, 5vw, 64px); border-radius: var(--r-panel);
  background: linear-gradient(135deg, var(--cream), var(--blush)); position: relative; overflow: hidden;
}
.atelier__panel::before { content: ""; position: absolute; inset: 12px; border-radius: 20px; border: 1.5px dotted var(--gold); opacity: .55; pointer-events: none; }
.atelier__form { position: relative; display: grid; gap: 20px; justify-items: start; }
.atelier__form .field { width: min(100%, 380px); }
.hoop { position: relative; width: min(100%, 440px); margin-inline: auto; filter: drop-shadow(0 22px 34px rgb(73 56 49 / 18%)); }
.hoop svg { width: 100%; height: auto; }
@media (min-width: 900px) { .atelier__panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* Broderie (SVG) */
.bro-wood { fill: url(#bro-wood); }
.bro-linen { fill: var(--linen); }
.bro-weave { stroke: var(--linen-weave); }
.bro-text { font-family: var(--script); fill: var(--fil-1, var(--fil-dore)); }
.bro-shine { font-family: var(--script); fill: url(#bro-satin); }
.bro-initiale { font-family: var(--serif); font-weight: 600; fill: url(#bro-fleurs); stroke: var(--fil-1, var(--fil-dore)); stroke-width: 1.4; paint-order: stroke; }
.bro-line { fill: none; stroke: var(--fil-1, var(--fil-dore)); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.bro-line-shine { fill: none; stroke: var(--paper); stroke-opacity: .5; stroke-width: 3.4; stroke-linecap: butt; stroke-dasharray: 1 2.2; }
.bro-fill { fill: url(#bro-fleurs); stroke: var(--fil-1, var(--fil-dore)); stroke-width: 1.6; }
.bro-c1 { fill: var(--fil-1, var(--fil-dore)); }
.bro-c2 { fill: var(--fil-2, var(--fil-rose)); }
.bro-c3 { fill: var(--fil-3, var(--fil-sauge)); }
.bro-s1 { stroke: var(--fil-1, var(--fil-dore)); }
.bro-s3 { fill: none; stroke: var(--fil-3, var(--fil-sauge)); }
.bro-ghost { font-family: var(--script); fill: var(--taupe); opacity: .45; }

/* ---------- Champs ---------- */
.field { display: grid; gap: 8px; }
.field label:not(.swatch, .pill, .motif), .legend { font-size: .875rem; font-weight: 600; }
.field .hint, .legend .hint { font-weight: 400; color: var(--brown-soft); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 0 18px;
  border: 1px solid var(--beige); border-radius: var(--r-field); background: var(--paper);
  transition: border-color var(--fast) ease, box-shadow var(--fast) ease;
}
.textarea { padding: 14px 18px; min-height: 104px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--taupe); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent); }
.input::placeholder, .textarea::placeholder { color: var(--taupe); }
.input[aria-invalid="true"] { border-color: var(--err); }
.field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.count { font-size: .8125rem; color: var(--brown-soft); font-variant-numeric: tabular-nums; }
.error { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--err); }
.error[hidden] { display: none; }
.select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--brown) 50%), linear-gradient(135deg, var(--brown) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat;
}

.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.swatch i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(73 56 49 / 14%); transition: transform var(--fast) ease; }
.swatch:hover i { transform: scale(1.08); }
.swatch:has(input:checked)::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1.5px solid var(--brown); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--beige); border-radius: var(--r-pill); background: var(--paper);
  font-size: .9375rem; transition: border-color var(--fast) ease, background var(--fast) ease, color var(--fast) ease;
}
.pill small { font-size: .8125rem; color: var(--brown-soft); }
.pill:hover span { border-color: var(--taupe); }
.pill:has(input:checked) span { border-color: var(--brown); background: var(--brown); color: var(--paper); }
.pill:has(input:checked) small { color: var(--gold-soft); }
.pill:has(input:focus-visible) span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.motifs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 520px) { .motifs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.motif { position: relative; }
.motif input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.motif span {
  display: grid; justify-items: center; gap: 4px; height: 100%; padding: 14px 8px 12px; text-align: center;
  border: 1px solid var(--beige); border-radius: var(--r-field); background: var(--paper);
  font-size: .875rem; font-weight: 500; line-height: 1.25;
  transition: border-color var(--fast) ease, box-shadow var(--fast) ease;
}
.motif svg { width: 44px; height: 44px; color: var(--gold-deep); }
.motif small { font-size: .8125rem; font-weight: 400; color: var(--brown-soft); }
.motif:hover span { border-color: var(--taupe); }
.motif:has(input:checked) span { border-color: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold-deep), var(--shadow-s); }
.motif:has(input:focus-visible) span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.note {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: var(--r-field); background: var(--cream);
  font-size: .875rem; line-height: 1.5; color: var(--brown-soft);
}
.note svg { color: var(--gold-deep); margin-top: 1px; }
.note b { color: var(--brown); font-weight: 600; }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 36px; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 10px; padding-top: 22px; border-top: 2px dotted var(--gold); }
.steps .num { font-family: var(--serif); font-style: italic; font-size: 3.6rem; line-height: .9; color: var(--gold-deep); }
.steps h3 { font-size: 1.75rem; }
.steps p { color: var(--brown-soft); max-width: 32ch; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* ---------- Histoire ---------- */
.story { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
.story__art { position: relative; width: min(100%, 480px); margin-inline: auto; }
.story__art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-panel); }
.story__art::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: var(--r-panel); border: 1.5px dotted var(--gold); }
.story__art img { position: relative; }
.story__txt { display: grid; gap: 22px; }
.story__txt p { color: var(--brown-soft); max-width: 52ch; }
.values { display: grid; gap: 12px; margin-top: 4px; }
.values li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.values svg { color: var(--gold-deep); margin-top: 4px; }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* ---------- Avis ---------- */
.reviews { display: grid; gap: 18px; }
.review { display: grid; gap: 16px; align-content: start; padding: 28px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.32; }
.review footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--brown-soft); }
.review footer b { color: var(--brown); font-weight: 600; }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: .8125rem; font-weight: 600; }
.score { display: flex; align-items: center; gap: 16px; }
.score strong { font-family: var(--serif); font-size: 3.4rem; font-weight: 500; line-height: 1; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Guides ---------- */
.guides { display: grid; gap: 28px; }
.guide { position: relative; display: grid; gap: 16px; align-content: start; }
.guide__pic { aspect-ratio: 3 / 2; border-radius: var(--r-card); overflow: hidden; background: var(--cream); }
.guide__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.guide:hover img { transform: scale(1.05); }
.guide h3 { font-size: 1.5rem; }
.guide h3 a::after { content: ""; position: absolute; inset: 0; }
.guide p { font-size: .9375rem; color: var(--brown-soft); }
@media (min-width: 760px) { .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Pied de page ---------- */
.foot { background: var(--espresso); color: var(--cream); padding-block: clamp(56px, 8vw, 96px) 28px; }
.foot__top { display: grid; gap: 44px; }
.foot .logo { justify-self: start; color: var(--paper); font-size: 2.3rem; }
.foot .logo svg { color: var(--gold-soft); }
.foot__brand { display: grid; gap: 18px; justify-items: start; }
.foot__brand p { color: var(--beige); max-width: 38ch; }
.foot h2 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; line-height: 1.4; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); opacity: .86; transition: opacity var(--fast) ease; }
.foot li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.foot__note { margin-top: 14px; color: var(--beige); font-size: .9375rem; max-width: 26ch; }
.foot__thanks { margin-top: 48px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--gold-soft); }
.foot__bottom--legal { margin-top: 22px; }
.foot-blog { background: var(--cream); padding-block: clamp(40px, 6vw, 64px); }
.foot-blog__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot-blog__title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; color: var(--brown); max-width: 24ch; margin-top: 8px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(247 240 235 / 26%); transition: background var(--fast) ease, color var(--fast) ease; }
.socials a:hover { background: var(--cream); color: var(--espresso); }
.foot__countries { color: var(--beige); font-size: .9375rem; line-height: 1.7; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgb(247 240 235 / 16%); font-size: .8125rem; color: var(--beige); }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay { gap: 6px; }
.pay li { line-height: 0; }
.pay img { width: 38px; height: 24px; display: block; }
@media (min-width: 900px) {
  .foot__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 64px; }
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Page collection ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px 0; font-size: .875rem; color: var(--brown-soft); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--beige); }
.crumbs a:hover { color: var(--brown); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--beige); }
.chead { display: grid; gap: 28px; align-items: center; padding-block: clamp(28px, 4vw, 56px) clamp(36px, 5vw, 64px); }
.chead__txt { display: grid; gap: 18px; }
.chead__desc { color: var(--brown-soft); max-width: 62ch; display: grid; gap: 12px; }
.chead__desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.chead__desc h2, .chead__desc h3 { font-size: 1.4rem; color: var(--brown); margin-top: 8px; }
.chead__desc a { text-decoration: underline; text-underline-offset: 3px; }
.chead__pic { display: none; }
.more { justify-self: start; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
@media (min-width: 900px) {
  .chead { grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 64px; }
  .chead__pic { display: block; aspect-ratio: 1; border-radius: 999px 999px var(--r-panel) var(--r-panel); overflow: hidden; background: var(--cream); }
  .chead__pic img { width: 100%; height: 100%; object-fit: cover; }
}
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 16px; margin-bottom: 36px; border-block: 1px solid var(--line); }
.toolbar .pills { flex: 1 1 320px; }
.toolbar .pill span { min-height: 44px; font-size: .875rem; }
.toolbar__right { display: flex; align-items: center; gap: 16px; }
.toolbar .select { min-height: 44px; width: auto; border-radius: var(--r-pill); font-size: .875rem; background-position: calc(100% - 22px) 19px, calc(100% - 16px) 19px; }
.empty { padding: 72px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.empty p { font-family: var(--serif); font-size: 1.7rem; }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; gap: 32px; padding-block: 22px var(--section); }
.gal { display: grid; gap: 12px; align-content: start; }
.gal__stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-panel); overflow: hidden; background: var(--cream); }
.gal__stage > img { width: 100%; height: 100%; object-fit: cover; }
.gal__stage .hoop { position: absolute; inset: 0; margin: auto; width: 84%; height: fit-content; }
.gal__stage.is-preview { background: linear-gradient(145deg, var(--cream), var(--blush)); }
.gal__stage.is-preview > img { display: none; }
.gal__stage:not(.is-preview) .hoop { display: none; }
.gal__cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: .8125rem; color: var(--brown-soft); }
.gal__stage:not(.is-preview) .gal__cap { display: none; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 auto; width: 72px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--cream); opacity: .72; transition: opacity var(--fast) ease, box-shadow var(--fast) ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--gold-deep); }
.thumb--hoop { display: grid; place-items: center; gap: 2px; align-content: center; background: linear-gradient(145deg, var(--cream), var(--blush)); color: var(--gold-deep); font-size: .75rem; font-weight: 600; line-height: 1.1; }

.buy { display: grid; gap: 26px; align-content: start; }
.buy__form { display: grid; gap: 26px; }
.buy__head { display: grid; gap: 12px; justify-items: start; }
a.proof:hover span { text-decoration: underline; text-underline-offset: 3px; }
.buy__head h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.02; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.price strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.price span { font-size: .875rem; color: var(--brown-soft); }
.perso { display: grid; gap: 24px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-panel); background: var(--paper); border: 1px solid var(--line); }
.perso__title { display: grid; gap: 4px; }
.perso__title h2 { font-size: 1.9rem; }
.perso .hoop { width: min(74%, 300px); }
.fils { display: grid; gap: 10px; }
.fils__row { display: grid; align-items: center; gap: 2px 8px; }
.fils .swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 44px)); gap: 0; }
.fils .swatch { width: auto; }
@media (min-width: 520px) { .fils__row { grid-template-columns: 92px 1fr; } .fils .swatches { gap: 4px; } }
.fils__row > span { font-size: .875rem; color: var(--brown-soft); }
.buy__cta { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.facts { display: grid; gap: 10px; font-size: .9375rem; }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.facts svg { color: var(--gold-deep); margin-top: 3px; }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { flex: none; color: var(--gold-deep); transition: transform var(--base) var(--ease); }
.acc details[open] summary svg { transform: rotate(45deg); }
.acc__body { display: grid; gap: 12px; padding: 0 0 24px; color: var(--brown-soft); }
.acc__body ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.acc__body ul li::marker { color: var(--gold); }
.acc__body strong { color: var(--brown); font-weight: 600; }
.acc__body a { text-decoration: underline; text-underline-offset: 3px; }
.ship { width: 100%; border-collapse: collapse; font-size: .875rem; }
.ship th, .ship td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ship th { font-weight: 600; color: var(--brown); white-space: nowrap; }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform var(--base) var(--ease);
}
.buybar.is-on { transform: none; }
.buybar b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.buybar span { font-size: .875rem; color: var(--brown-soft); }
.buybar .btn { min-height: 48px; padding: 0 22px; }

@media (min-width: 960px) {
  .pdp { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(40px, 5vw, 80px); }
  .gal { position: sticky; top: 108px; align-self: start; }
  .gal__stage { max-height: max(420px, calc(100dvh - 236px)); }
  .perso .hoop { display: none; }
  .buybar { display: none; }
}
@media (max-width: 959px) {
  .thumb--hoop { display: none; }
}

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__stitch path { stroke-dashoffset: 0; }
.js .hero__img { animation: hero-in 1.1s var(--ease) both; }
.js .hero__mini, .js .hero__tag { animation: pop-in .8s var(--ease) .45s both; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.04) translateY(14px); } }
@keyframes pop-in { from { opacity: 0; scale: .86; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Pages de contenu et guides ---------- */
.prose-page { padding-block: 8px var(--section); }
.prose-page__head { display: grid; gap: 14px; padding-block: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 36px); max-width: 760px; }
.prose-page__head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.prose-page__meta { color: var(--brown-soft); font-size: .9375rem; }
.prose-page__cover { margin: 0 0 clamp(28px, 4vw, 44px); border-radius: var(--r-panel); overflow: hidden; max-width: 960px; aspect-ratio: 16 / 9; background: var(--cream); }
.prose-page__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 720px; font-size: 1.0625rem; line-height: 1.75; color: var(--brown); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.8em; line-height: 1.15; }
.prose h3 { font-size: 1.45rem; margin-top: 1.5em; line-height: 1.2; }
.prose ul, .prose ol { padding-left: 1.3em; list-style: revert; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--gold); }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-deep); }
.prose img { border-radius: var(--r-card); margin-block: 1.4em; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 2px dotted var(--gold); font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.prose details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.prose summary { cursor: pointer; font-weight: 600; }
.blog-list { display: grid; gap: 40px 24px; padding-bottom: var(--section); }
@media (min-width: 760px) { .blog-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Avis sur la fiche produit ---------- */
.rev-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.rev-photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.reviews--list { grid-template-columns: 1fr; max-width: 820px; }
@media (min-width: 900px) { .reviews--list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
.more-reviews { justify-self: start; }

/* ---------- Nuancier ---------- */
.nuancier { width: min(960px, calc(100vw - 24px)); max-height: 92dvh; margin: auto; padding: 0; border: 0; border-radius: var(--r-panel); background: var(--ivory); box-shadow: var(--shadow-m); }
.nuancier[open] { display: flex; flex-direction: column; animation: sheet-in var(--base) var(--ease); }
.nuancier::backdrop { background: rgb(47 35 30 / 50%); }
.nuancier__body { overflow-y: auto; padding: 0 20px 20px; display: grid; gap: 16px; }
.nuancier__body img { width: 100%; height: auto; border-radius: var(--r-card); }
.link-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }

/* ---------- Options Globo ---------- */
.gpo-text { font-size: .9375rem; color: var(--brown-soft); line-height: 1.6; }
.gpo-text p + p { margin-top: .6em; }
.gpo-group { display: grid; gap: 22px; }
.checks { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--beige); border-radius: var(--r-field); background: var(--paper); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--brown); margin: 0; }
.check small { margin-left: auto; color: var(--brown-soft); }
.check:has(input:checked) { border-color: var(--brown); }
.motif img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }

/* ---------- Atelier : l'étole de baptême ---------- */
.etole { position: relative; margin: 0; display: grid; justify-items: center; gap: 10px; }
.etole svg { width: min(100%, 440px); height: auto; overflow: visible; }
.etole figcaption { font-size: .8125rem; color: var(--brown-soft); }
.atelier__row { display: grid; gap: 14px; width: min(100%, 520px); }
@media (min-width: 560px) { .atelier__row { grid-template-columns: 1.2fr 1fr; } }
.atelier__form .field { width: min(100%, 520px); }
.atelier__row .field { width: auto; }
.motifs--mini { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.motifs--mini .motif span { padding: 8px 4px; font-size: .75rem; gap: 2px; }
.motifs--mini .motif svg { width: 30px; height: 30px; }
@media (max-width: 520px) { .motifs--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gal__stage .etole { position: absolute; inset: 0; margin: auto; width: 86%; height: fit-content; }
.gal__stage:not(.is-preview) .etole { display: none; }
.perso .etole svg { width: min(78%, 320px); }
@media (min-width: 960px) { .perso .etole { display: none; } }

/* ---------- Sélecteur de langue en drapeaux ---------- */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 8px; border-radius: var(--r-pill); color: var(--brown-soft); }
.lang__btn:hover { background: var(--sand); }
.flag { display: block; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgb(73 56 49 / 14%); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 180px; padding: 6px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-m); border: 1px solid var(--line); }
.lang__menu[hidden] { display: none; }
.lang__menu a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: .9375rem; }
.lang__menu a:hover, .lang__menu a[aria-current] { background: var(--cream); }
.lang__menu a[aria-current] { font-weight: 600; }

/* ---------- Héros photo (photo du baptême reprise de mapinou.fr) ---------- */
.hero--photo { padding: 0; min-height: clamp(270px, 18vw, 380px); display: grid; align-items: center; color: #fff; background: #2b211b; }
.hero--photo::before { display: none; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; filter: brightness(1.12) contrast(1.06) saturate(1.06); image-rendering: auto; }
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(30 22 17 / 66%) 0%, rgb(30 22 17 / 34%) 34%, rgb(30 22 17 / 0%) 58%); }
.hero--photo .hero__in { z-index: 1; padding-block: clamp(22px, 2.6vw, 44px); grid-template-columns: minmax(0, 560px); }
.hero--photo .hero__txt { gap: 14px; }
.hero--photo .hero__cta { margin-top: 4px; }
.hero--photo .eyebrow { color: #f3e6cf; }
.hero--photo h1 { color: #fff; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.75rem, 2.6vw, 2.7rem); line-height: 1; text-shadow: 0 1px 18px rgb(0 0 0 / 25%); }
.hero--photo .hero__txt { text-shadow: 0 1px 12px rgb(0 0 0 / 22%); }
.hero--photo h1 em { display: block; text-transform: none; color: #fff; }
.hero--photo .lead { color: rgb(255 255 255 / 90%); max-width: 34ch; }
.hero--photo .proof, .hero--photo .proof b { color: #fff; }
.hero--photo .btn--light { background: #fff; color: var(--brown); border-color: #fff; }
.hero--photo .btn--light:hover { background: var(--cream); border-color: var(--cream); }
.hero__try { color: #fff; text-underline-offset: 4px; }
@media (max-width: 700px) {
  /* Mobile : bandeau compact comme sur mapinou.fr, texte en haut à gauche sur la photo. */
  .hero--photo { min-height: 0; align-items: start; }
  .hero__photo { object-position: 72% 35%; }
  .hero--photo::after { background: linear-gradient(90deg, rgb(30 22 17 / 72%) 0%, rgb(30 22 17 / 45%) 55%, rgb(30 22 17 / 15%) 100%); }
  .hero--photo .hero__in { padding-block: 22px 24px; }
  .hero--photo .hero__txt { gap: 8px; }
  .hero--photo .eyebrow { font-size: .625rem; letter-spacing: .16em; }
  .hero--photo h1 { font-size: 1.75rem; }
  .hero--photo .lead { font-size: .8125rem; line-height: 1.45; max-width: 30ch; }
  .hero--photo .hero__cta { margin-top: 6px; }
  .hero--photo .hero__cta .btn { min-height: 38px; padding: 8px 16px; font-size: .75rem; }
  .hero--photo .hero__try, .hero--photo .proof { display: none; }
}

/* ---------- Quelles couleurs pour votre broderie ? ---------- */
.couleurs__in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.couleurs .head { display: grid; gap: 16px; justify-items: start; }
.couleurs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 18px); }
.couleurs__item { display: grid; gap: 10px; text-decoration: none; color: var(--brown); }
.couleurs__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-card, 14px); transition: transform var(--base) var(--ease); }
.couleurs__item:hover img { transform: translateY(-4px); }
.couleurs__item span { font-size: .875rem; text-align: center; color: var(--brown-soft); }
@media (min-width: 900px) { .couleurs__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

/* ---------- Nos réalisations : photos et codes de fils (repris de mapinou.fr) ---------- */
.realisations { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 10px; }
.realisations h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.realisations__grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: clamp(12px, 1.8vw, 22px); }
.realisation { margin: 0; display: grid; gap: 10px; }
.realisation__btn { display: block; padding: 0; border: 0; background: var(--cream); border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.realisation__btn img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.realisation__btn:hover img { transform: scale(1.04); }
.realisation__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.realisation figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .875rem; color: var(--brown-soft); }
.realisation figcaption strong { font-weight: 600; color: var(--brown); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
#real-zoom .nuancier__body { display: grid; place-items: center; }
#real-zoom img { max-width: 100%; max-height: 78vh; border-radius: 12px; }

/* ---------- Une collection à part : Médaillons ---------- */
.medaillons__in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.medaillons__txt { display: grid; gap: 14px; justify-items: start; }
.medaillons__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.medaillon { display: grid; gap: 10px; text-decoration: none; color: var(--brown); text-align: center; }
.medaillon img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px 18px 18px; background: var(--cream); transition: transform var(--base) var(--ease); }
.medaillon:hover img { transform: translateY(-4px); }
.medaillon span { font-family: var(--serif); font-size: 1.15rem; }
@media (min-width: 900px) { .medaillons__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); } }

/* ---------- Texte de présentation (accueil) ---------- */
.presentation__in { max-width: 860px; display: grid; gap: 16px; }
.presentation h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.presentation .prose { color: var(--brown-soft); }

/* ---------- Suivi de commande ---------- */
.suivi { max-width: 760px; padding-block: clamp(32px, 6vw, 72px); display: grid; gap: 28px; }
.suivi__head { display: grid; gap: 12px; }
.suivi__head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.suivi__form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); background: var(--paper, #fff); border: 1px solid var(--line, #eadfd4); border-radius: 18px; }
@media (min-width: 640px) { .suivi__form { grid-template-columns: 1fr 1.4fr auto; align-items: end; } .suivi__form .error { grid-column: 1 / -1; } }
.suivi__card { display: grid; gap: 20px; padding: clamp(20px, 3vw, 32px); background: var(--paper, #fff); border: 1px solid var(--line, #eadfd4); border-radius: 18px; }
.suivi__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.suivi__top h2 { font-size: 1.8rem; }
.suivi__steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0; counter-reset: s; }
.suivi__steps li { position: relative; padding-top: 22px; font-size: .875rem; color: var(--brown-soft); }
.suivi__steps li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--cream); }
.suivi__steps li::after { content: ""; position: absolute; top: 1px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--cream); border: 2px solid var(--paper, #fff); }
.suivi__steps .is-done::before, .suivi__steps .is-on::before { background: var(--gold); }
.suivi__steps .is-done::after, .suivi__steps .is-on::after { background: var(--gold-deep); }
.suivi__steps .is-on { color: var(--brown); font-weight: 600; }
.suivi__ship { display: flex; gap: 10px; align-items: flex-start; }
.suivi__ship svg { flex: none; margin-top: 2px; color: var(--gold-deep); }
.suivi__events { list-style: none; padding: 0; display: grid; gap: 8px; border-left: 2px solid var(--cream); padding-left: 14px; }
.suivi__events li { display: grid; gap: 2px; font-size: .9375rem; }
.suivi__events time { font-size: .8125rem; color: var(--brown-soft); }
.suivi__items { display: grid; gap: 10px; }
.suivi__items > div { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.suivi__items img { border-radius: 10px; object-fit: cover; }
.suivi__items small { display: block; color: var(--brown-soft); }
@media (max-width: 560px) { .suivi__steps { grid-template-columns: 1fr 1fr; row-gap: 14px; } }

/* ---------- Nos univers : cases fixes (comme mapinou.fr) ---------- */
.titre-fleur { display: grid; justify-items: center; gap: 8px; text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.titre-fleur h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.titre-fleur p { color: var(--brown-soft); font-size: .9375rem; }
.titre-fleur__orn { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: .95rem; line-height: 1; }
.titre-fleur__orn i { width: 46px; height: 1px; background: currentColor; opacity: .55; }
.univers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
@media (min-width: 1040px) { .univers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .univers-grid { gap: 10px; } }
.univers-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--brown);
  box-shadow: 0 1px 0 rgb(80 55 40 / 6%), 0 10px 30px -18px rgb(80 55 40 / 35%); outline: 1px solid rgb(173 132 71 / 16%); outline-offset: -1px;
  transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease); }
.univers-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgb(80 55 40 / 6%), 0 18px 40px -20px rgb(80 55 40 / 45%); }
.univers-card:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.univers-card__pic { margin: 10px 10px 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); }
.univers-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.univers-card:hover .univers-card__pic img { transform: scale(1.04); }
.univers-card__txt { display: grid; align-content: start; justify-items: center; gap: 6px; padding: 16px 14px 20px; text-align: center; }
.univers-card h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.1; }
.univers-card p { font-size: .875rem; line-height: 1.45; color: var(--brown-soft); max-width: 30ch; }
.univers-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.univers-card:hover .univers-card__cta svg { transform: translateX(3px); }
.univers-card__cta svg { transition: transform var(--base) var(--ease); }
@media (max-width: 640px) { .univers-card { border-radius: 16px; } .univers-card__pic { margin: 6px 6px 0; border-radius: 12px; } .univers-card__txt { padding: 10px 8px 14px; } .univers-card p { display: none; } .univers-card__cta { letter-spacing: .06em; font-size: .6875rem; } }

/* ---------- Ruban défilant (clin d'œil Merveilles & Co.) ---------- */
.ruban { overflow: hidden; background: var(--cream); border-block: 1px solid rgb(173 132 71 / 18%); padding-block: 12px; }
.ruban__track { display: flex; width: max-content; gap: 22px; align-items: center; animation: ruban 38s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--brown); white-space: nowrap; }
.ruban__track i { font-style: normal; color: var(--gold); font-size: .9em; }
.ruban:hover .ruban__track { animation-play-state: paused; }
@keyframes ruban { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ruban__track { animation: none; } }

/* ---------- Mon compte ---------- */
.compte { padding-block: clamp(32px, 6vw, 72px); }
.compte__login { max-width: 520px; margin-inline: auto; display: grid; gap: 18px; }
.compte__login h1, .compte__head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.compte__form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); background: var(--paper, #fff); border: 1px solid var(--line, #eadfd4); border-radius: 18px; }
.compte__code { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.link { background: none; border: 0; padding: 0; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.compte__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: clamp(24px, 4vw, 40px); }
.compte__grid { display: grid; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (min-width: 960px) { .compte__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.compte__orders { display: grid; gap: 16px; }
.compte__orders > h2, .compte__card h2 { font-size: 1.7rem; }
.compte__order, .compte__card, .compte__empty { display: grid; gap: 14px; padding: clamp(18px, 2.6vw, 24px); background: var(--paper, #fff); border: 1px solid var(--line, #eadfd4); border-radius: 18px; }
.compte__empty { justify-items: start; }
.compte__order-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 8px 12px; }
.compte__order h3 { font-size: 1.35rem; }
.compte__st { flex: none; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--cream); color: var(--brown); }
.st-work { background: #f6ead6; color: #84612c; } .st-ship { background: #e6eef8; color: #355c8c; } .st-done { background: #dcf2e3; color: #2f7a4a; } .st-wait, .st-off { background: #f1ebe6; color: #8a7b70; }
.compte__items { display: grid; gap: 10px; }
.compte__items > div { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.compte__items img { border-radius: 10px; object-fit: cover; }
.compte__items small { display: block; color: var(--brown-soft); font-size: .8125rem; }
.compte__order .btn--sm { justify-self: start; min-height: 38px; padding: 8px 16px; font-size: .8125rem; }
.compte__track { display: grid; gap: 14px; padding-top: 6px; border-top: 1px dashed var(--line, #eadfd4); }
.compte__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.compte__side { display: grid; gap: 10px; }
@media (min-width: 960px) { .compte__side { position: sticky; top: 96px; } }

/* En-tête mobile : place pour recherche, compte et panier. */
@media (max-width: 560px) {
  .top__in { grid-template-columns: auto 1fr auto; gap: 4px; }
  .top .logo { justify-self: start; font-size: 1.65rem; gap: 5px; }
  .top .logo svg { width: 16px; height: 16px; }
  .top__tools .icon-btn { width: 38px; height: 38px; }
}

/* ---------- Finitions premium (28/11/2026) ---------- */
/* Univers : la 7e case ne reste plus seule à gauche. */
.univers-grid > :last-child:nth-child(2n+1) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(12px, 2vw, 26px) / 2); }
@media (min-width: 1040px) {
  .univers-grid > :last-child:nth-child(2n+1) { grid-column: auto; width: auto; }
  .univers-grid > :last-child:nth-child(3n+1) { grid-column: 2; }
}
.univers-card { box-shadow: 0 1px 0 rgb(80 55 40 / 5%), 0 10px 30px -22px rgb(80 55 40 / 40%); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }

/* Guides sans photo : cartes éditoriales. */
.guide--txt { padding: 30px 28px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color var(--base) var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.guide--txt::before { content: ""; position: absolute; inset: 7px; border: 1.5px dotted var(--gold); border-radius: calc(var(--r-card) - 5px); opacity: 0; transition: opacity var(--base) var(--ease); pointer-events: none; }
.guide--txt:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgb(80 55 40 / 45%); }
.guide--txt:hover::before { opacity: .7; }
.guide__num { font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--gold-deep); }
.guide--txt h3 { font-size: 1.45rem; line-height: 1.2; }
.guide--txt p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.guide__more { margin-top: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.guide__more::after { content: " →"; }

/* Consignes Globo repliées sur la fiche produit. */
.gpo-note { padding: 0 18px; background: var(--cream); border: 1.5px dashed var(--gold); border-radius: 16px; font-size: .875rem; line-height: 1.6; color: var(--brown-soft); }
.gpo-note summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.1rem; color: var(--brown); }
.gpo-note summary::-webkit-details-marker { display: none; }
.gpo-note summary::after { content: "+"; font-family: var(--sans); font-size: 1.25rem; color: var(--gold-deep); transition: transform var(--base) var(--ease); }
.gpo-note[open] summary::after { transform: rotate(45deg); }
.gpo-note > div { padding-bottom: 16px; }

/* Engagements sur mobile : moins serrés. */
@media (max-width: 560px) {
  .assure ul { gap: 18px 12px; padding-block: 22px; }
  .assure li { gap: 10px; align-items: start; }
  .assure b { font-size: .6875rem; letter-spacing: .06em; }
  .assure span { font-size: .8125rem; }
}

/* Détails de luxe : chiffres alignés, images plus nettes au survol, rythme des sections. */
.price, .product-card__price, .buybar b { font-variant-numeric: tabular-nums lining-nums; }
@media (prefers-reduced-motion: reduce) { .univers-card, .guide--txt { transition: none; } }
.gpo-text ol, .gpo-text ul { margin: 8px 0 10px; padding-left: 1.4em; }
.gpo-text ol { list-style: decimal; }
.gpo-text ul { list-style: disc; }
.gpo-text li + li { margin-top: 4px; }
.gpo-text li::marker { color: var(--gold-deep); font-weight: 600; }
.gpo-text p + p { margin-top: 8px; }

/* ---------- Menu burger premium (28/11/2026) ---------- */
#menu { background: var(--ivory); }
#menu .drawer__head { border-bottom: 0; padding-bottom: 6px; }
.mnav__logo { display: inline-flex; align-items: center; gap: 6px; font-size: 1.75rem; }
.mnav__logo svg { color: var(--gold); }
.mnav__search { position: relative; margin: 6px 24px 8px; }
.mnav__search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--gold-deep); pointer-events: none; }
.mnav__search input { width: 100%; min-height: 50px; padding: 0 18px 0 46px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font: inherit; font-size: 1rem; color: var(--brown); transition: border-color var(--base) var(--ease), box-shadow var(--base) var(--ease); }
.mnav__search input::placeholder { color: var(--taupe); }
.mnav__search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(173 132 71 / 14%); }
.mnav__results { flex: 1; overflow-y: auto; padding: 4px 24px 24px; }
.mnav[hidden], .mnav__results[hidden] { display: none; }
.mnav { padding-top: 4px; }
.mnav > a, .mnav summary { min-height: 58px; font-size: 1.45rem; letter-spacing: .005em; border-bottom: 1px dotted var(--beige); transition: color var(--base) var(--ease), padding var(--base) var(--ease); }
.mnav > a svg { color: var(--gold); opacity: .55; transition: transform var(--base) var(--ease), opacity var(--base) var(--ease); }
.mnav summary svg { color: var(--gold-deep); }
@media (hover: hover) {
  .mnav > a:hover, .mnav summary:hover { color: var(--gold-deep); }
  .mnav > a:hover svg { opacity: 1; transform: translateX(4px); }
}
.mnav details ul { padding: 6px 0 14px 4px; border-bottom: 1px dotted var(--beige); }
.mnav details ul a { gap: 12px; justify-content: flex-start; min-height: 44px; font-size: .9875rem; color: var(--brown-soft); }
.mnav details ul a::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); }
.mnav details ul a:hover { color: var(--brown); }
.mnav__foot { position: relative; margin-top: 30px; padding: 18px 20px; grid-template-columns: 1fr 1fr; gap: 0 12px; background: var(--cream); border-radius: var(--r-card); }
.mnav__foot::before { content: ""; position: absolute; inset: 6px; border: 1.5px dotted var(--gold); border-radius: calc(var(--r-card) - 4px); opacity: .6; pointer-events: none; }
.mnav__foot a { position: relative; min-height: 44px; font-size: .875rem; }
.mnav__search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; cursor: pointer; background: linear-gradient(45deg, transparent 45%, var(--gold-deep) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--gold-deep) 45% 55%, transparent 55%); }

/* ---------- Corrections audit (28/11/2026) ---------- */
/* Fil d'Ariane : la dernière étape tient sur une ligne. */
.crumbs { flex-wrap: nowrap; min-width: 0; }
.crumbs li { flex: none; white-space: nowrap; }
.crumbs li:last-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Filtres de collection : une ligne qui défile sur mobile au lieu de 5 lignes. */
@media (max-width: 760px) {
  #c-types { min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
  #c-types::-webkit-scrollbar { display: none; }
  #c-types .pill { flex: none; }
}

/* Textes jamais sous 12 px (règle d'accessibilité du projet). */
.eyebrow, .univers-card__cta, .assure b { font-size: max(12px, .75rem); }
.field small, .swatch small, .motif small { font-size: 12px; }

/* Menu burger : réseaux sociaux et liens externes */
.mnav__social { margin-top: 22px; display: grid; gap: 12px; }
.mnav__social p { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown-soft); }
.mnav__social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mnav .mnav__ext, .mnav .mnav__mail { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font-family: var(--sans); font-size: .9375rem; color: var(--brown);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s var(--ease); }
.mnav .mnav__ext svg, .mnav .mnav__mail svg { flex: none; color: var(--gold-deep); opacity: 1; }
.mnav .mnav__ext::after { content: "↗"; margin-left: auto; font-size: .8rem; color: var(--taupe); }
.mnav .mnav__mail { justify-content: center; }
@media (hover: hover) { .mnav .mnav__ext:hover, .mnav .mnav__mail:hover { background: var(--cream); border-color: var(--gold); transform: translateY(-1px); } }
/* Réseaux : cases à logo seul */
.mnav__social-row { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mnav .mnav__ext { justify-content: center; padding: 0; aspect-ratio: 1; min-height: 0; border-radius: 16px; }
.mnav .mnav__ext::after { content: none; }
.mnav .mnav__ext svg { width: 22px; height: 22px; }

/* ---------- Choisir mes couleurs : galerie compacte et filtre par code (28/11) ---------- */
.prose-page:has(.realisations) { display: flex; flex-direction: column; }
.prose-page:has(.realisations) > .prose { order: 5; margin-top: 40px; }
.realisations { margin-top: 12px; }
.real-filter { position: sticky; top: 76px; z-index: 5; display: grid; gap: 10px; margin-top: 6px; padding: 10px 0; background: linear-gradient(var(--ivory) 80%, transparent); }
.real-filter input { width: 100%; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font: inherit; color: var(--brown); }
.real-filter input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(173 132 71 / 14%); }
.real-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.real-chips::-webkit-scrollbar { display: none; }
.real-chips button { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font: inherit; font-size: .8125rem; color: var(--brown); cursor: pointer; }
.real-chips button[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: var(--paper); }
.real-count { font-size: .8125rem; color: var(--brown-soft); }
.realisation[hidden] { display: none; }
@media (max-width: 640px) {
  .realisations__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
  .realisation { gap: 4px; }
  .realisation__btn { border-width: 3px !important; border-radius: 12px; }
  .realisation__btn img { aspect-ratio: 3 / 4; }
  .realisation figcaption { justify-content: center; font-size: 12px; }
  .realisation figcaption span { display: none; }
  .realisation figcaption strong { font-size: 12px; text-align: center; line-height: 1.25; }
}
.real-filter { background: rgb(255 255 255 / 55%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); margin-inline: -10px; padding: 10px; border-radius: 22px; }
