@import url("fonts/faces.css");

:root {
  --desk: #f3eee4;
  --sheet: #fffcf8;
  --ink: #2c2824;
  --muted: #6b645c;
  --oxide: #8a5a3a;
  --line: rgba(44, 40, 36, 0.14);
  --field: #fff;
  --heading: "Manrope", "Segoe UI", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --mono: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

@view-transition { navigation: none; }

html {
  overflow-x: clip;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  overflow-anchor: none;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; }

img { max-width: 100%; height: auto; display: block; border-radius: 14px; }

main { flex: 1 0 auto; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--sheet);
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.sheet {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
}

.cartouche {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 3;
}

.mark, .menu-btn {
  min-height: 48px;
}

.mark {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  text-decoration: none;
  flex: 0 0 auto;
}

.mark img {
  width: 28px;
  height: 28px;
  border-radius: 0;
}

.mark-text { display: flex; flex-direction: column; line-height: 1.1; }

.mark-text strong {
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mark-text small {
  color: var(--muted);
  letter-spacing: 0.04em;
}

.cartouche nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.cartouche nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cartouche nav a.is-current {
  box-shadow: inset 0 -2px 0 var(--oxide);
}

.cart-link { gap: 8px; }

.cart-icon { display: block; flex: 0 0 auto; }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 5px;
  border-radius: 999px;
  background: #2c2824;
  color: #fffcf8;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.cart-count[hidden] { display: none; }

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.cart-line img { width: 96px; height: 72px; object-fit: cover; }

.cart-line h2 { font-size: 1.25rem; margin: 0 0 4px; }

.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }

.cart-qty button, .cart-remove {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.cart-sum { margin: 8px 0 0; font-family: var(--heading); font-size: 1.45rem; }

.cart-board, .cart-actions { padding: 0 28px 28px; }

.cart-empty {
  margin: 8px 28px 36px;
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffdf9;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.cart-empty p { margin: 0; }

.cart-actions { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }

.cart-empty[hidden], .cart-actions[hidden] { display: none; }

.menu-btn {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-left: 1px solid var(--ink);
  font-family: var(--heading);
  font-size: 1rem;
  min-width: 76px;
  padding: 0 14px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: #8a5a3a;
  color: #fffcf8;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { background: #6e452c; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.cartouche-cta { margin-left: 8px; padding: 0 22px; }

#method, #products { scroll-margin-top: 88px; }

.hero-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.uses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.uses a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.uses a:last-child { border-right: 0; }

.uses span { color: var(--muted); font-size: 0.92rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  display: grid;
  gap: 8px;
  text-decoration: none;
  align-content: start;
}

.card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--desk);
}

.card .index-name { font-family: var(--heading); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.price { margin: 0 0 12px; font-family: var(--heading); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; }
.price span, .card .price { font-family: var(--body); font-size: 0.95rem; color: var(--muted); }
.card .price { margin: 0; font-size: 1.15rem; color: var(--ink); }
.emails { display: grid; gap: 6px; margin: 0; }
.emails a { color: #fffcf8; }

.hero-copy, .legend, .page-head, .prose, .band, .demande {
  padding: 28px;
}

.hero-copy { padding-bottom: 32px; }

.kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--oxide);
}

h1, h2 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h1, .dek, .prose, .legend, .hero-copy { overflow-wrap: break-word; }

.sheet, .cartouche, .hero, .hero-copy, .hero-stage, .split, .dossier, .plate, .gallery, .cards, .card, .families, .family, .note, .facts, .uses, .steps { min-width: 0; }

.dek { max-width: 62ch; margin: 0 0 18px; }

.legend {
  list-style: none;
  margin: 0;
  border-left: 1px solid var(--ink);
  padding-top: 22px;
}

.legend li { border-bottom: 1px solid var(--line); }

.legend a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
}

.legend strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.band { padding-top: 8px; }

.band h2 { padding-bottom: 8px; }

.index a {
  display: grid;
  grid-template-columns: 7.2rem 1.2fr 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.index a:hover { box-shadow: inset 4px 0 0 var(--oxide); }

.watt {
  font-family: var(--mono);
  color: var(--oxide);
}

.index-role { color: var(--muted); }

.prose-band p { max-width: 68ch; }

.crumbs {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.crumbs a { text-underline-offset: 3px; }

.page-head { padding-bottom: 8px; }

.prose { max-width: 74ch; padding-top: 0; }

.prose h2 { margin-top: 28px; }

.dossier {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 8px;
  align-items: start;
}

.plate { padding: 28px 28px 0; }

.plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.plate-cap {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.dossier .prose { padding-top: 28px; }

.demande {
  max-width: 760px;
  margin: 8px 28px 36px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.product-actions { display: grid; gap: 10px; margin-top: 8px; }

.product-actions .btn { width: 100%; min-height: 52px; }

.btn-quote { background: #1f4e4a; color: #fffcf8; }

.btn-quote:hover { background: #163835; }

.demande .btn { width: 100%; min-height: 52px; }

fieldset {
  margin: 0;
  padding: 8px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.pick {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f4ee;
  padding: 0;
}

.pick summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  list-style: none;
}

.pick summary::-webkit-details-marker { display: none; }

.pick summary::marker { content: ""; }

.pick summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #8a847c;
  border-bottom: 2px solid #8a847c;
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-right: 4px;
}

.pick[open] summary::after { transform: rotate(-135deg); }

.pick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  padding: 0 16px 14px;
}

.note-list { display: grid; gap: 28px; padding: 8px 28px 40px; }

.note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.note:nth-child(even) img { order: 2; }

.note img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.note h2 { margin-top: 0; }

.note p { margin: 0; max-width: 62ch; }

.field, .check { display: grid; gap: 6px; }

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin: 8px 0;
}

input[type="text"], input[type="email"], textarea, select {
  width: 100%;
  border: 1px solid rgba(44, 40, 36, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

input[type="checkbox"] {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  border: 1.5px solid #2c2824;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-content: center;
}

input[type="checkbox"]:checked {
  background: #2c2824;
  box-shadow: inset 0 0 0 3px #fff;
}

input[type="checkbox"]:disabled { opacity: 0.55; }

.err { color: #8d3b32; margin: 0; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.colophon {
  background: var(--oxide);
  color: #fffcf8;
  padding: 48px 28px 36px;
  margin-top: auto;
  font-weight: 400;
}

.colophon-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr 0.8fr;
  gap: 32px 28px;
}

.colophon-brand {
  display: block;
  margin: 0 0 10px;
  font-family: var(--heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.colophon-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.colophon p { margin: 0 0 12px; max-width: 36ch; font-size: 0.92rem; font-weight: 400; line-height: 1.55; }

.colophon nav { display: grid; gap: 8px; }

.colophon-meta { max-width: 1180px; margin: 28px auto 0; }

.lang-pick { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.lang-pick span { text-decoration: none; }
.lang-pick select {
  width: auto;
  color: var(--ink);
  background: #fffcf8;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 400;
  padding: 6px 10px;
}

.colophon a, .colophon button {
  color: #fffcf8;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.colophon a:hover, .colophon button:hover { text-decoration: underline; text-underline-offset: 3px; }

body.has-cookie .colophon { padding-bottom: 132px; }

.cookie[hidden], #cookie-form[hidden], .err[hidden] { display: none; }

body { padding-bottom: 0; }

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  margin: 0;
  max-width: none;
  background: var(--sheet);
  border-top: 1px solid var(--ink);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.cookie p { margin: 0; flex: 1 1 280px; }

.cookie-actions, #cookie-form { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }

#cookie-form label { display: flex; gap: 8px; align-items: center; }

:focus-visible { outline: 2px solid var(--oxide); outline-offset: 2px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 48px 28px 20px;
}

.hero h1 { font-size: clamp(2.4rem, 3.2vw, 3.4rem); line-height: 1.08; max-width: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-stage { display: grid; gap: 12px; align-content: start; min-width: 0; width: 100%; contain: inline-size; }

.hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 18px;
  background: #f3eee4;
}

.hero-stage-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
}

.hero-thumbs { flex-wrap: nowrap; min-width: 0; width: 100%; }
.hero-thumbs button {
  width: 72px;
  height: 54px;
  min-width: 0;
  flex: 0 0 72px;
  overflow: hidden;
  border-radius: 12px;
}
.hero-thumbs img {
  width: 72px;
  height: 54px;
  max-width: 72px;
  object-fit: cover;
  border-radius: 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
}

.facts article { padding: 22px 20px; border-right: 1px solid var(--line); }
.facts article:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--heading); font-size: 1.45rem; line-height: 1.15; margin-bottom: 8px; }
.facts p, .step p, .faq p { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px; align-items: center; }
.split img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.steps, .families { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { background: var(--desk); padding: 18px; border-radius: 16px; }
.step em { font-style: normal; letter-spacing: 0.08em; color: var(--oxide); }
.step h3 { font-family: var(--heading); font-size: 1.35rem; margin: 8px 0; }

.family { display: grid; gap: 8px; text-decoration: none; }
.family img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.family strong { font-family: var(--heading); font-size: 1.35rem; }

.gallery { min-width: 0; width: 100%; contain: inline-size; }
.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #f3eee4;
}
.gallery-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
}
.thumbs { display: flex; gap: 8px; margin-top: 8px; min-width: 0; width: 100%; }
.thumbs button { width: 96px; height: 72px; min-width: 0; flex: 0 0 96px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; overflow: hidden; border-radius: 12px; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 96px; height: 72px; max-width: 96px; object-fit: cover; display: block; border-radius: 0; }
.hero-thumbs { height: 54px; overflow: hidden; }
.hero-thumbs button { width: 72px; height: 54px; flex: 0 0 72px; }
.hero-thumbs img { width: 72px; height: 54px; max-width: 72px; }

.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-family: var(--heading); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.faq details p { margin-top: 8px; max-width: 68ch; }

@media (max-width: 800px) {
  .sheet { width: 100%; margin: 0; }
  .cartouche { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .mark { flex: 1 1 0; min-width: 0; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--oxide); color: #fffcf8; border-left: 0; border-radius: 999px; min-height: 40px; }
  .hero-copy, .legend, .page-head, .prose, .band, .demande { padding: 20px 16px; }
  .cartouche nav, .cartouche-cta { display: none; }
  .cartouche.is-open nav, .cartouche.is-open .cartouche-cta {
    display: flex;
    width: 100%;
  }
  .cartouche.is-open nav { flex-direction: column; align-items: flex-start; gap: 4px; margin-left: 0; }
  .cartouche.is-open .cartouche-cta { margin-left: 0; justify-content: center; }
  .hero, .dossier, .split, .facts, .steps, .families, .form-row, .colophon-grid { grid-template-columns: 1fr; }
  .demande { margin-left: 16px; margin-right: 16px; }
  .pick-grid, .note { grid-template-columns: 1fr; }
  .note:nth-child(even) img { order: 0; }
  .note-list { padding-left: 16px; padding-right: 16px; }
  .hero { gap: 22px; padding-top: 28px; }
  .hero h1 { max-width: none; }
  .facts article { border-right: 0; border-bottom: 1px solid var(--line); }
  .uses, .cards { grid-template-columns: 1fr; }
  .uses a { border-right: 0; border-bottom: 1px solid var(--line); }
  .plate { padding: 16px 16px 0; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line .cart-remove { grid-column: 2; justify-self: start; }
  .cart-board, .cart-actions { padding-left: 16px; padding-right: 16px; }
  .cart-empty { margin-left: 16px; margin-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  @view-transition { navigation: none; }
}
