@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivoire: #F6F1EA;
  --panel: #F3EBE3;
  --encre: #1C1614;
  --nuit: #12100E;
  --filet: #E6DCD4;
  --sable: #E4DDD2;
  --filet-sable: #D0C9BF; /* même écart que --filet sur --ivoire */
  --footer-muted: #2A2522;
  --laque: #7A2323;
  --laque-deep: #611C1C;
  --laque-pale: #E7B2B0;
  --laque-wash: color-mix(in srgb, var(--laque) 10%, var(--ivoire));
  --papier: #EFE8E0;
  --card: #F9F5F1;
  --field: #F8F4EF;
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-pill: 999px;
  --muted: #2A2522;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", sans-serif;
  --measure: 38rem;
  --gutter: 1.5rem;
  --shell: 80rem;
  /* Échelle typo */
  --text-xs: 0.8125rem;   /* 13px — caps / nav */
  --text-sm: 0.875rem;    /* 14px */
  --text-md: 0.9375rem;   /* 15px — prix cartes */
  --text-base: 1.0625rem; /* 17px */
  --text-lg: 1.25rem;
  --text-xl: 1.7rem;
  /* Espacements */
  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.4rem;
  --space-6: 3.5rem;
  --space-7: 5.5rem;
  --space-8: 6rem;
  --caps-tracking: 0.08em;
  --touch: 2.75rem;
  /* Breakpoints documentés (CSS ne les accepte pas dans @media) :
     mobile ≤799px · desktop ≥800px */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; background: var(--ivoire); }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  color: var(--encre);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.55;
}
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  background-image: url("../img/fond-motif.svg?4");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100vh;
  background-attachment: scroll;
}
body.factory .shell { background-image: none; }
main { flex: 1 0 auto; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--encre);
  color: var(--ivoire);
  padding: 0.5rem 0.8rem;
  z-index: 6;
}
.skip:focus { top: 1rem; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--encre);
  outline-offset: 3px;
}
.wrap {
  width: min(78rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.caps {
  letter-spacing: var(--caps-tracking);
  text-transform: uppercase;
  font-size: var(--text-xs);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem 1.5rem;
  padding: 1.15rem var(--gutter);
  background: transparent;
  border-bottom: 1px solid var(--filet);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.55rem;
  text-decoration: none;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--encre);
}
.site-header .wordmark {
  box-shadow: inset 0 -1.5px 0 var(--laque);
  padding-bottom: 0.12rem;
}
.logo {
  display: block;
  flex: 0 0 auto;
  width: 2.05rem;
  height: 2.1rem;
  object-fit: contain;
}
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.1rem 0;
  box-shadow: none;
}
.nav-cart[aria-current="page"] { box-shadow: none; }
.cart-icon {
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.count {
  position: absolute;
  top: -0.45rem;
  right: -0.7rem;
  display: inline-grid;
  place-items: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.22rem;
  background: var(--laque);
  color: var(--ivoire);
  font-size: 0.6875rem;
  line-height: 1;
}
.site-nav,
.site-tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
.site-nav {
  justify-content: center;
  gap: 0.2rem 1.35rem;
}
.site-tools { justify-content: flex-end; gap: 0.85rem; }
.lang-rule {
  width: 1px;
  height: 1rem;
  background: var(--filet);
}
.site-nav a,
.site-tools a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
  padding: 0.55rem 0.1rem;
  box-shadow: inset 0 -1px 0 transparent;
}
.site-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--laque); }
.site-tools a.lang { letter-spacing: 0.08em; font-size: 0.82rem; }
@media (max-width: 799px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand tools"
      "nav nav";
    gap: 0.35rem 1rem;
    padding: 0.95rem var(--gutter) 0.7rem;
  }
  .wordmark { grid-area: brand; }
  .site-tools { grid-area: tools; gap: 0.7rem; }
  .site-nav {
    grid-area: nav;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.15rem 1rem;
  }
}

.home-hero {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2.4rem 0 0.4rem;
}
.home-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 4.6vw, 3.7rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.home-hero__title::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--laque);
}
.home-hero__lead {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.25;
}
.home-hero__body {
  margin-top: 0.7rem;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.home-cta {
  margin-top: 1.15rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.home-hero__media {
  position: relative;
  width: 100%;
  height: clamp(12rem, 32vw, 18.5rem);
  background: #C4B2A2;
  overflow: hidden;
}
.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-sections {
  display: grid;
  gap: 1rem;
  padding: 1.6rem 0 0.2rem;
  align-items: stretch;
}
.home-section-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-decoration: none;
  color: inherit;
  background: var(--panel);
}
.home-section-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.35rem 1.4rem 1.25rem;
}
.home-section-card__name {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.025em;
  color: var(--encre);
}
.home-section-card__lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
}
.home-section-card__body {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.home-section-card__link {
  margin-top: auto;
  padding-top: 0.8rem;
  color: var(--laque);
  border-bottom: 1px solid var(--laque);
  padding-bottom: 0.08rem;
}
.home-section-card__media {
  position: relative;
  display: block;
  min-height: 12rem;
  background: #C4B2A2;
  overflow: hidden;
}
.home-hero__media picture,
.home-section-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.home-section-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-selection { padding: 1.8rem 0 0.2rem; }
.home-selection__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.home-selection__head h2 {
  font-size: 1.35rem;
  white-space: nowrap;
}
.home-selection__rule {
  flex: 1;
  height: 1px;
  background: var(--filet);
}
.home-products {
  list-style: none;
  display: grid;
  gap: 1.6rem;
}
.home-product {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.home-product__media {
  display: block;
  overflow: hidden;
  background: var(--papier);
}
.home-product__media picture { display: block; }
.home-product__media img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}
.home-product__name,
.home-product__meta,
.home-product__price { display: block; }
.home-product__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.home-product__meta {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}
.home-product__price {
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.home-atelier { padding: 2rem 0 2.4rem; }
.home-atelier__copy {
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}
.home-atelier__copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.home-atelier__copy p { color: var(--muted); max-width: 34rem; }
.home-text-link {
  justify-self: start;
  color: var(--laque);
  text-decoration: none;
  border-bottom: 1px solid var(--laque);
  padding-bottom: 0.08rem;
}
.piece-sub {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.35rem;
}
.chips,
.home-chips,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
}
.filters { margin: 1.8rem 0 2.8rem; }
.chip,
.home-chips a,
.filters a,
.choice {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  text-decoration: none;
  border: 1px solid var(--filet);
  padding: 0.5rem 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  background: transparent;
  color: inherit;
}
.home-chips a,
.chip--strong {
  border-color: var(--encre);
}
.chip[aria-current="true"],
.chip.is-active,
.home-chips a[aria-current="true"],
.home-chips a:hover,
.home-chips a:focus-visible,
.filters a[aria-current="true"],
.choice[aria-current="true"] {
  background: var(--encre);
  color: var(--ivoire);
  border-color: var(--encre);
}
.section-hero { padding: 4.2rem 0 0; }
.section-lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.32;
  max-width: 24ch;
  margin-top: 1.15rem;
}
.section-hero + .section { padding-top: 2.4rem; }
.section { padding: 5.5rem 0 6rem; }
.kicker {
  color: var(--laque);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.section-head { margin-bottom: 2.8rem; max-width: 46rem; }
.section h2, .page-title, .piece-name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.section h2, .page-title { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.page-title {
  display: inline-block;
  padding-bottom: 0.45rem;
  box-shadow: inset 0 -2px 0 var(--laque);
}

.pieces {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.8rem 2rem;
}
.piece { text-decoration: none; display: block; color: inherit; }
.piece-frame {
  display: block;
  overflow: hidden;
  background: var(--papier);
  border: 1px solid var(--filet);
  padding: 0.55rem;
}
.piece-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.piece:hover .piece-frame img,
.piece:focus-visible .piece-frame img { transform: scale(1.03); }
.piece-meta {
  display: block;
  margin-top: 1.05rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--filet);
}
.piece-name { font-size: 1.7rem; }
.piece-copy .price { margin-top: 0.2rem; font-size: var(--text-md); }
.price { display: block; color: var(--laque); }
.breadcrumb { padding: 0 0 1.4rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--encre); }
.product-cats,
.product-tags { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin: 0 0 0.85rem; }
.product-cats a { text-decoration: none; border-bottom: 1px solid var(--laque); }
.product-tags a {
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--muted);
  border-bottom: 1px solid var(--filet);
}
.section.related { padding-top: 0; }
.section.related h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 2rem;
}

.product {
  display: grid;
  grid-template-areas:
    "crumbs"
    "stage"
    "buy";
  gap: 2rem;
  padding-top: 1.6rem;
  padding-bottom: 4rem;
}
.product .breadcrumb { grid-area: crumbs; }
.stage-col { grid-area: stage; display: grid; gap: 0.75rem; align-content: start; }
.stage-col .spec-cards { grid-column: 1 / -1; margin-top: 0.7rem; }
.buy { grid-area: buy; }
body.factory .product { --filet: var(--filet-sable); }
.thumbs { display: flex; gap: 0.55rem; margin: 0; list-style: none; }
.thumbs a {
  display: block;
  width: 4.4rem;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  position: relative;
}
.thumbs img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
}
.thumbs a.is-video { background: var(--nuit); }
.thumbs a.is-video img { object-fit: contain; background: var(--nuit); }
.thumbs a.is-video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 0.42rem 0 0.42rem 0.7rem;
  border-color: transparent transparent transparent var(--ivoire);
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}
.thumbs a[aria-current="true"] { border-color: var(--laque); border-width: 2px; }
.stage {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--papier);
}
.stage picture, .piece-frame picture { display: block; }
.stage img,
.stage video {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--papier);
}
.stage video { margin: 0; background: var(--nuit); }
.buy .kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.45rem;
}
.buy .kicker::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--laque);
}
.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.85rem;
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
}
.product-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--filet);
}
.buy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.buy .product-lead {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.45;
  white-space: pre-line;
}
.buy .price {
  margin: 0.45rem 0 0;
  color: var(--encre);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
}
.buy .price .note { display: inline; margin-left: 0.55rem; font-family: var(--sans); font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.configure {
  --config-ink: #922B2D;
  --config-fill: #FBF9F6;
  --config-line: #D9CEC2;
  --config-panel: #EFE7DF;
  margin-top: 1.35rem;
}
.configure-head,
.configure-axis__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.configure-head {
  padding-bottom: 0.15rem;
}
.configure-head h2,
.configure-axis__name,
.configure-axis__hint,
.configure-head p { margin: 0; }
.configure-head h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.configure-head p,
.configure-axis__hint {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: end;
}
.configure-axis {
  padding: 0.85rem 0;
}
.configure-axis + .configure-axis {
  border-top: 1px solid var(--config-line);
}
.configure-axis__head { margin-bottom: 0.7rem; }
.configure-axis__name { font-size: 0.95rem; font-weight: 500; }
.configure-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr));
  gap: 0.55rem;
  align-items: stretch;
}
.option-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  min-height: 2.75rem;
  height: 100%;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--config-line);
  border-radius: var(--radius-sm);
  background: var(--config-fill);
  color: var(--encre);
  text-align: center;
  text-decoration: none;
  font-size: 0.92rem;
}
.option-chip__label { min-width: 0; }
.option-chip[aria-current="true"] {
  border-color: var(--config-ink);
  box-shadow: inset 0 0 0 1px var(--config-ink);
}
.option-chip.is-sold-out { opacity: 0.5; }
.option-chip.is-sold-out .option-chip__label { text-decoration: line-through; }
.option-chip__extra { color: var(--muted); font-size: 0.82rem; }
.option-chip__mark {
  width: 0.55rem;
  height: 0.32rem;
  margin-left: 0.1rem;
  border-left: 1.5px solid var(--config-ink);
  border-bottom: 1.5px solid var(--config-ink);
  transform: rotate(-45deg) translateY(-1px);
}
.configure-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 0.95rem;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--config-panel);
}
.configure-summary__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
}
.configure-summary__choices { margin: 0.3rem 0 0; font-size: 0.92rem; }
.configure-summary__choices span:not(:last-child)::after { content: " · "; }
.configure-summary__note { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.9rem; }
.configure-summary__price {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  white-space: nowrap;
}
.configure-summary__price .note {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: end;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.buy-row {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: stretch;
  margin-top: 0.9rem;
}
.qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  border: 1px solid #D9CEC2;
  border-radius: var(--radius-sm);
  background: #FBF9F6;
}
.qty button {
  width: 2.2rem;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.15rem;
}
.qty input {
  width: 2rem;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .button { width: 100%; border-radius: var(--radius-sm); background: #922B2D; }
.buy-row .button:hover { background: #7A2323; }
.reassure {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: none;
}
.reassure strong { display: block; color: var(--encre); font-weight: 500; }
.buy .prose {
  max-width: none;
  margin-top: 1.2rem;
  padding-top: 0;
  border-top: 0;
}
.buy .prose p { font-size: 1rem; line-height: 1.5; }
.spec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.spec-card {
  margin: 0;
  padding: 0.9rem 1rem 0.2rem;
  border-radius: var(--radius-md);
  background: var(--panel);
}
.spec-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.15;
}
.spec-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid color-mix(in srgb, var(--encre) 12%, var(--panel));
  font-size: 0.92rem;
}
.spec-card__value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  text-align: end;
}
.product-folds { margin-top: 1.15rem; border-top: 1px solid var(--filet); }
.product-fold { border-bottom: 1px solid var(--filet); }
.product-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
}
.product-fold summary::-webkit-details-marker { display: none; }
.product-fold summary::marker { content: ""; }
.product-fold summary::after {
  content: "+";
  color: var(--laque);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1;
}
.product-fold[open] summary::after { content: "–"; }
.product-fold .cotes,
.product-fold .materials,
.product-fold p { margin: 0 0 0.85rem; }
.product-fold > p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.product-fold .prose {
  max-width: none;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
}
.product-fold .cotes dt { font-size: 0.68rem; }
.product-fold .cotes dd,
.product-fold .materials li { font-size: 1.05rem; }
.note { color: var(--muted); font-size: 0.95rem; }
.sold-out {
  margin: 1.5rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--laque);
  color: var(--laque);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.sold-out-hint {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: var(--measure);
}
.choice.is-sold-out { opacity: 0.55; text-decoration: line-through; }
.choice.is-sold-out[aria-current="true"] { opacity: 0.82; }
.prose { max-width: var(--measure); margin-top: 0; padding-top: 1.5rem; border-top: 1px solid var(--filet); }
.prose h1, .prose h2, .prose h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.prose h1, .prose h2 { font-size: 1.7rem; margin: 1.4rem 0 0.6rem; }
.prose h3 { font-size: 1.35rem; margin: 1.2rem 0 0.5rem; }
.prose h1:first-child, .prose h2:first-child, .prose h3:first-child,
.prose p:first-child { margin-top: 0; }
.prose p { margin: 0.75rem 0 0; }
.prose ul, .prose ol { margin: 0.75rem 0 0; padding-left: 1.2rem; }
.prose li + li { margin-top: 0.25rem; }
.prose blockquote {
  margin: 0.9rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--laque);
  color: var(--muted);
}
.prose a { text-decoration: underline; text-underline-offset: 0.15em; }
.prose strong { font-weight: 500; }
.legal .page-title {
  display: inline-block;
}
.legal-body {
  margin-top: 1.7rem;
}
.legal-body h2 {
  margin-top: 2rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--encre);
}
.legal-body h2:first-of-type { margin-top: 0; }
.cotes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.8rem;
  margin: 0;
}
.materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.6rem;
  margin: 0;
  list-style: none;
}
.materials li {
  font-family: var(--serif);
  font-size: 1.4rem;
}
.cotes div { min-width: 5.5rem; }
.cotes dt {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--muted);
}
.cotes dd { margin: 0.2rem 0 0; font-family: var(--serif); font-size: 1.4rem; }
video { width: 100%; background: var(--nuit); margin-top: 1rem; }

.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  background: var(--laque);
  color: var(--ivoire);
  border: 0;
  border-radius: 0;
  padding: 1rem 1.45rem;
  letter-spacing: var(--caps-tracking);
  text-transform: uppercase;
  font-size: var(--text-xs);
  text-decoration: none;
  cursor: pointer;
}
.button:hover, button.button:hover { background: var(--laque-deep); }
.quiet {
  background: transparent;
  color: var(--encre);
  border: 0;
  border-bottom: 1px solid var(--encre);
  border-radius: 0;
  padding: 0.35rem 0;
  min-height: auto;
  cursor: pointer;
}

label { display: block; margin-top: 1.25rem; }
input, select, textarea {
  display: block;
  width: 100%;
  max-width: 36rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--encre);
  border-radius: 0;
  padding: 0.55rem 0;
}
textarea { min-height: 8rem; border: 1px solid var(--filet); padding: 0.7rem; }
.form-actions { margin-top: 1.7rem; }
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  list-style: none;
  margin: 0 0 1.7rem;
  padding: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.checkout-steps li[aria-current="step"] {
  color: var(--encre);
  font-weight: 500;
}
.checkout-address {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.checkout-lines { margin-top: 1.7rem; }
.pay-note { margin-top: 1.7rem; max-width: var(--measure); }
.check.cgv-accept {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.5rem;
  max-width: 36rem;
  cursor: pointer;
}
.check.cgv-accept input {
  width: auto;
  max-width: none;
  margin: 0.35rem 0 0;
  accent-color: var(--laque);
}
.check.cgv-accept a {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
.pay-obligation {
  margin-top: 0.85rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.payment-element {
  margin-top: 1.2rem;
  max-width: 36rem;
  padding: 0.2rem 0 0.4rem;
}
.alert { padding: 0.9rem 0; max-width: var(--measure); }
.alert.error { color: var(--laque); }
.alert.ok { color: var(--encre); }
.alert a { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.shipping-note {
  margin-top: 1.15rem;
  max-width: 36rem;
  padding: 0.95rem 1.15rem;
  background: var(--laque-wash);
  border-left: 2px solid var(--laque);
  line-height: 1.5;
}
.shipping-note a {
  color: var(--laque-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.contact-note { margin-top: 0.85rem; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.contact {
  padding: 2.4rem 0 4rem;
}
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.contact__title::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--laque);
}
.contact__lead {
  margin-top: 0.85rem;
  max-width: 28rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.25;
}
.contact__card {
  margin-top: 1.6rem;
  max-width: 36rem;
  padding: 1.35rem 1.4rem 1.3rem;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(28, 22, 20, 0.05);
}
.contact__card .field { margin: 0 0 0.85rem; }
.field__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
}
.field .req { color: var(--laque); text-decoration: none; }
.field input,
.field textarea,
.field select {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--filet);
  border-radius: var(--radius-sm);
  background: var(--field);
}
.field select {
  appearance: none;
  padding-right: 2.1rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--encre) 50%),
    linear-gradient(135deg, var(--encre) 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 55%, calc(100% - 0.7rem) 55%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:disabled { color: var(--encre); opacity: 1; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--laque);
}
.field input:focus,
.field textarea:focus { background: var(--card); }
.contact__card altcha-widget { display: block; margin-top: 1rem; }
.contact__card .form-actions { margin-top: 1.15rem; }
.contact__card .button { border-radius: var(--radius-sm); }

main:has(.login) { display: flex; flex-direction: column; }
.login {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(28rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: 2.5rem 0 3.5rem;
  text-align: center;
}
.login__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.login__title::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin: 0.7rem auto 0;
  background: var(--laque);
}
.login__lead {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.25;
}
.login .alert { max-width: none; margin-top: 1rem; padding: 0; text-align: start; }
.login__card {
  margin-top: 1.4rem;
  padding: 1.35rem 1.4rem 1.2rem;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(28, 22, 20, 0.05);
  text-align: start;
}
.login__card .field { margin: 0 0 0.85rem; }
.login__card .form-actions { margin-top: 1.15rem; }
.login__card .button { width: 100%; border-radius: var(--radius-sm); }
.login .form-links { justify-content: center; max-width: none; margin-top: 1rem; }

.catalog { padding: 2.2rem 0 0; }
.catalog__intro {
  display: grid;
  gap: 1.1rem;
  align-items: end;
}
.catalog__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.catalog__title::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--laque);
}
.catalog__lead {
  margin-top: 0.85rem;
  max-width: 22rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.25;
}
.catalog__aside {
  max-width: 18rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.catalog .filters {
  margin: 1.6rem 0 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
  gap: 0.45rem;
}
.catalog .filters a {
  min-height: 2rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--filet);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--encre);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
}
.catalog .filters a[aria-current="true"] {
  background: var(--laque);
  border-color: var(--laque);
  color: #fff;
}
body.factory .catalog .filters {
  border-top-color: var(--filet-sable);
  border-bottom-color: var(--filet-sable);
}
body.factory .catalog .filters a { border-color: var(--filet-sable); }
body.factory .catalog .filters a[aria-current="true"] { border-color: var(--laque); }
.catalog__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.catalog__grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem 1.5rem;
  margin-top: 1.15rem;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.catalog-card:focus-visible {
  outline: 1px solid var(--laque);
  outline-offset: 4px;
}
.catalog-card__media {
  display: block;
  overflow: hidden;
  background: var(--papier);
}
.catalog-card__media picture { display: block; }
.catalog-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.catalog-card:hover .catalog-card__media img,
.catalog-card:focus-visible .catalog-card__media img { transform: scale(1.03); }
.catalog-card__top,
.catalog-card__row,
.catalog-card__link {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.catalog-card__top {
  align-items: center;
  margin-top: 0.7rem;
}
.catalog-card__index {
  color: var(--laque);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.catalog-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border: 1px solid var(--filet);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
  white-space: nowrap;
}
.catalog-card__row {
  align-items: baseline;
  margin-top: 0.35rem;
}
.catalog-card__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.catalog-card__price {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  text-align: right;
}
.catalog-card__meta {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.catalog-card__link {
  align-items: baseline;
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--filet);
  font-size: 0.92rem;
}
.catalog__empty { margin-top: 1.6rem; }
.catalog__band {
  margin-top: 3.5rem;
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--filet);
  text-align: center;
}
.catalog__band-kicker {
  color: var(--laque);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.catalog__band-title {
  margin: 0.7rem auto 0;
  max-width: 22rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.catalog__band-body {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.catalog__band .home-text-link {
  display: inline-block;
  margin-top: 1.15rem;
}
@media (min-width: 700px) {
  .catalog__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 800px) {
  .catalog__intro {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem);
    justify-content: space-between;
  }
  .catalog__aside { justify-self: end; }
}
@media (min-width: 1000px) {
  .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.contact-note a,
.form-links a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.form-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.5rem;
  row-gap: 0.45rem;
  margin-top: 1.15rem;
  max-width: 36rem;
  color: var(--muted);
}
altcha-widget { display: block; margin-top: 1.5rem; max-width: 36rem; }
.account-orders {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 40rem;
}
.account-orders li {
  display: grid;
  grid-template-columns: 1.2fr auto auto auto auto auto;
  gap: 0.85rem 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--filet);
}
@media (max-width: 640px) {
  .account-orders li {
    grid-template-columns: 1fr 1fr;
  }
}

.totals {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1.15rem;
  align-items: center;
  border-bottom: 1px solid var(--filet);
  padding: 1.35rem 0;
}
.cart-line { align-items: start; }
.cart-line img { width: 8rem; height: 8rem; object-fit: cover; border: 1px solid var(--filet); }
.cart-line h2 { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; }
.cart-line h2 a { text-decoration: none; }
.cart-line .price .note { margin-left: 0.45rem; font-size: 0.82rem; }
.cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--encre);
  cursor: pointer;
}
.cart-remove svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.cart-remove:hover { color: var(--laque); }
.cart-line input { max-width: 5rem; }
.totals { grid-template-columns: 1fr auto; max-width: 36rem; }
.totals span:nth-last-child(-n+2),
.vat-note {
  font-family: var(--sans);
  font-size: var(--text-base);
  font-weight: 400;
  font-style: normal;
  color: var(--encre);
  letter-spacing: normal;
  line-height: 1.55;
}
.totals span:nth-last-child(-n+2) { padding-top: 0.45rem; }
.cart-shipping-note {
  max-width: 36rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}
.order-lines {
  list-style: none;
  max-width: 36rem;
  margin: 1.5rem 0 0;
}
.order-lines li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--filet);
}
.vat-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 36rem;
  margin: 0.2rem 0 0;
  line-height: 1.2;
}
.atelier-hero {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  padding: 2.4rem 0 0.4rem;
}
.atelier-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 4.6vw, 3.7rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.atelier-hero__title::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--laque);
}
.atelier-hero__lead {
  margin-top: 0.85rem;
  max-width: 28rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.25;
}
.atelier-hero__body {
  margin-top: 0.75rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.5;
}
.atelier-hero__visual {
  background: var(--panel);
  overflow: hidden;
}
.atelier-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}
.atelier-points {
  display: grid;
  gap: 1.5rem;
  padding: 2.6rem 0 0;
}
.atelier-points h2,
.atelier-paths h2,
.atelier-write h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.atelier-points p,
.atelier-paths__lead,
.atelier-write p {
  margin-top: 0.55rem;
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.5;
}
.atelier-paths { padding-top: 2.8rem; }
.atelier-doors {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.atelier-doors a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-height: 100%;
  padding: 1.35rem 1.4rem 1.25rem;
  background: var(--panel);
  text-decoration: none;
}
.atelier-doors__name {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.025em;
}
.atelier-doors__lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
}
.atelier-doors__body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.atelier-doors__link {
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--laque);
  border-bottom: 1px solid var(--laque);
  padding-bottom: 0.08rem;
}
.atelier-write { padding: 2.6rem 0 4rem; }
.atelier-write .button {
  margin-top: 1.15rem;
  border-radius: var(--radius-sm);
}

.site-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 1.2rem 0 1.6rem;
  background: transparent;
  color: var(--encre);
  border-top: 1px solid var(--filet);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 1.5rem;
}
.site-footer .wordmark { font-size: 1.4rem; font-weight: 500; }
.footer-brand { gap: 0.55rem; }
.footer-brand .logo { width: 1.7rem; height: 1.75rem; }
.site-footer a { color: var(--encre); text-decoration: none; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.2rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.footer-legal a { color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  font-size: 0.9rem;
}
.footer-nav a + a {
  border-inline-start: 1px solid color-mix(in srgb, var(--encre) 22%, transparent);
  margin-inline-start: 0.7rem;
  padding-inline-start: 0.7rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 799px) {
  .thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .thumbs li {
    flex: 0 0 4.4rem;
    scroll-snap-align: start;
  }
  .thumbs.is-scrollable { padding-bottom: 0.35rem; }
}

@media (min-width: 800px) {
  :root { --gutter: 3rem; }
  .pieces { grid-template-columns: 1fr 1fr; }
  .home-hero { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 2.5rem; padding-top: 2.8rem; }
  .atelier-hero { grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.85fr); gap: 3rem; padding-top: 2.8rem; }
  .atelier-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .atelier-doors { grid-template-columns: 1fr 1fr; }
  .home-sections { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .home-section-card:has(.home-section-card__media) { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .home-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.75rem; }
  .stage-col:has(.thumbs) {
    grid-template-columns: 4.6rem minmax(0, 1fr);
    align-items: start;
  }
  .stage-col:has(.thumbs) .thumbs {
    order: -1;
    flex-direction: column;
    max-height: 36rem;
    overflow-y: auto;
  }
  .reassure { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .reassure li { padding: 0 0.7rem; border-inline-start: 1px solid var(--filet); }
  .reassure li:first-child { padding-left: 0; border-inline-start: 0; }
  .product {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-areas:
      "crumbs crumbs"
      "stage buy";
    align-items: start;
    gap: 2rem 3rem;
  }
}
body.factory { background: var(--sable); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .piece:hover .piece-frame img, .piece:focus-visible .piece-frame img,
  .catalog-card:hover .catalog-card__media img,
  .catalog-card:focus-visible .catalog-card__media img { transform: none; }
}

.tunnel { padding: 2.2rem 0 4rem; }
.tunnel-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.tunnel-head h1::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--laque);
}
.tunnel-eyebrow,
.tunnel-kicker,
.tunnel-block h2,
.panel-head h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: var(--caps-tracking);
  text-transform: uppercase;
}
.tunnel-eyebrow { margin: 0 0 0.45rem; color: var(--muted); }
.tunnel-lead {
  margin-top: 0.85rem;
  max-width: 34rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.25;
}
.tunnel-empty { margin-top: 1.4rem; }
.tunnel-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
  align-items: start;
}
.tunnel-panel {
  min-width: 0;
  padding: 1.2rem 1.25rem 1.15rem;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(28, 22, 20, 0.05);
}
.tunnel-kicker {
  margin: 0 0 0.35rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--filet);
  color: var(--muted);
}
.tunnel-block + .tunnel-block {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--filet);
}
.tunnel-block h2 { margin: 0 0 0.85rem; }
.tunnel .field { margin: 0 0 0.85rem; }
.tunnel .field > label { margin-top: 0; }
.field-pair {
  display: grid;
  gap: 0.85rem;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--filet);
}
.panel-head h2 { margin: 0; color: var(--muted); }
.panel-aside { margin: 0; color: var(--muted); font-size: 0.9rem; }
.review-stack { display: grid; gap: 0.9rem; }
.review-data { margin: 0; line-height: 1.5; }
button.edit {
  border: 0;
  background: none;
  padding: 0;
  color: var(--laque);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.basket-item,
.order-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  padding: 0.8rem 0;
}
.basket-item { grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 1rem; }
.basket-item + .basket-item,
.order-item + .order-item { border-top: 1px solid var(--filet); }
.basket-item img,
.basket-item .order-ph,
.order-item img,
.order-item .order-ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--field);
}
.basket-item h3,
.order-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.15;
}
.order-item h3 { font-size: 1.05rem; }
.basket-item h3 a,
.order-item h3 a { text-decoration: none; }
.basket-item p,
.order-item p { margin-top: 0.2rem; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.order-price {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--encre);
}
.basket-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 0.65rem; }
.qty-step {
  display: inline-flex;
  align-items: center;
  border: 1px solid #D9CEC2;
  background: #FBF9F6;
}
.qty-step button {
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.qty-step button:disabled { color: var(--muted); cursor: default; }
.qty-step span { min-width: 1.4rem; text-align: center; }
.text-remove {
  border: 0;
  background: none;
  padding: 0;
  color: var(--encre);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.45rem;
  font-size: 0.95rem;
}
.sum strong {
  font-family: var(--sans);
  font-weight: 400;
  font-size: inherit;
}
.sum--total,
.sum--total strong,
.sum--vat {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--encre);
}
.sum--total {
  margin-top: 0.65rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--filet);
}
.order-trust {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--filet);
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.tunnel-note { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.guest-note { margin: 0 0 0.9rem; font-size: 0.95rem; line-height: 1.45; }
.guest-note a { color: var(--laque); font-weight: 500; }
.review-data + .guest-note { margin: 0.75rem 0 0; }
.account-choice { margin-top: 1.4rem; margin-bottom: 2.4rem; max-width: 36rem; }
.account-choice h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.account-choice .button { margin-top: 0.15rem; border-radius: var(--radius-sm); }
.tunnel-panel > .button {
  width: 100%;
  margin-top: 0.95rem;
  border-radius: var(--radius-sm);
}
.tunnel .button { border-radius: var(--radius-sm); }
.tunnel-panel .form-actions { margin-top: 1rem; }
.tunnel-panel .form-actions .button { width: 100%; }
.tunnel .pay-note,
.tunnel .pay-obligation { max-width: none; }
.tunnel .pay-note { margin: 0 0 0.75rem; }
.tunnel .payment-element { margin-top: 0.2rem; }
.tunnel .check.cgv-accept { max-width: none; }
.tunnel-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.35rem;
}
.tunnel-back {
  justify-self: start;
  border: 0;
  background: none;
  padding: 0;
  color: var(--encre);
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.tunnel-back:hover,
button.edit:hover,
.text-remove:hover { color: var(--laque); }
.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.steps li.is-current,
.steps li.is-done { color: var(--encre); }
.steps__mark {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--filet-sable);
  border-radius: 50%;
  font-size: 0.78rem;
}
.steps__mark svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps li.is-current .steps__mark {
  background: var(--laque);
  border-color: var(--laque);
  color: var(--ivoire);
}
.steps li.is-done .steps__mark {
  background: transparent;
  border-color: var(--laque);
  color: var(--laque);
}
.steps li:not(:last-child)::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  margin-left: 0.35rem;
  background: var(--filet-sable);
}
.steps li.is-current::after,
.steps li.is-done::after { background: var(--laque); }
.trustbar {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--filet);
}
.trustbar strong { display: block; font-weight: 500; }
.trustbar span { color: var(--muted); font-size: 0.9rem; }

.product-reviews { padding: 2.2rem 0 3.5rem; }
.product-reviews h1,
.product-reviews h2,
.product-reviews h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.product-reviews h1 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.05; }
.product-reviews h2 { font-size: 1.6rem; }
.product-reviews h3 { margin: 0.35rem 0 0; font-size: 1.25rem; }
.product-reviews__lead { margin-top: 0.4rem; color: var(--muted); }
.product-reviews__summary { margin-top: 1.2rem; }
.product-reviews__score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.8rem;
  margin-top: 0.6rem;
}
.product-reviews__average {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}
.product-reviews__stars { letter-spacing: 0.08em; font-size: 0.95rem; }
.product-reviews__stars .is-on { color: var(--laque); }
.product-reviews__stars .is-off { color: var(--filet); }
.product-reviews__bars {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  max-width: 22rem;
}
.product-reviews__bars li {
  display: grid;
  grid-template-columns: 1rem 1fr 2rem;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.3rem;
  font-size: 0.85rem;
}
.product-reviews__track {
  display: block;
  height: 0.35rem;
  background: var(--panel);
}
.product-reviews__bar { display: block; height: 100%; background: var(--laque); }
.product-reviews__bar.is-0 { width: 0; }
.product-reviews__bar.is-10 { width: 10%; }
.product-reviews__bar.is-20 { width: 20%; }
.product-reviews__bar.is-30 { width: 30%; }
.product-reviews__bar.is-40 { width: 40%; }
.product-reviews__bar.is-50 { width: 50%; }
.product-reviews__bar.is-60 { width: 60%; }
.product-reviews__bar.is-70 { width: 70%; }
.product-reviews__bar.is-80 { width: 80%; }
.product-reviews__bar.is-90 { width: 90%; }
.product-reviews__bar.is-100 { width: 100%; }
.product-reviews__sort,
.product-reviews__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1.2rem;
}
.product-reviews__sort a[aria-current="true"],
.product-reviews__pager a[aria-current="page"] { color: var(--laque); }
.product-reviews__list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}
.product-reviews__list > li {
  padding: 1rem 0;
  border-top: 1px solid var(--filet);
}
.product-reviews__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  align-items: baseline;
}
.product-reviews__badge {
  color: var(--laque);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-reviews__text { margin-top: 0.45rem; max-width: 40rem; }
.product-reviews__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}
.product-reviews__photos img {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
}
.product-reviews blockquote {
  margin: 0.8rem 0 0;
  padding-left: 0.8rem;
  border-left: 2px solid var(--laque);
  color: var(--muted);
}
.product-reviews__rate {
  border: 0;
  margin: 1rem 0 0;
  padding: 0;
}
.product-reviews__rate label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
}
.product-reviews__rate input { width: auto; }
.product-reviews form { max-width: 36rem; margin-top: 1rem; }

@media (min-width: 800px) {
  .tunnel-grid { grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.85fr); gap: 1.75rem; }
  .field-pair { grid-template-columns: 0.7fr 1.3fr; }
  .tunnel-actions { grid-template-columns: 1fr auto 1fr; }
  .tunnel-actions .button { grid-column: 2; }
  .trustbar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
