/* Mpo na Yo : feuille de style unique (design "Modernist" du projet, sans framework) */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #fffffb;
  --color-surface: #fffcf0;
  --color-text: #4a3d35;
  --color-accent: #c4572b;
  --color-divider: color-mix(in srgb, #4a3d35 12%, transparent);
  --color-line: color-mix(in srgb, #4a3d35 45%, transparent);

  --color-neutral-100: #fffef8;
  --color-neutral-200: #fcf8e8;
  --color-neutral-300: #f4edd4;
  --color-neutral-400: #cdc29b;
  --color-neutral-600: #877a6a;
  --color-neutral-700: #675c50;
  --color-neutral-800: #483f37;
  --color-neutral-900: #2f2823;

  --color-accent-100: #fbefe7;
  --color-accent-200: #f5dccc;
  --color-accent-600: #a9481f;
  --color-accent-700: #8c3a17;
  --color-accent-800: #662b12;

  --muted: #6b5e54;
  --ok: #1e6b43;
  --err: #a32a1a;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1280px;
  --pad: clamp(16px, 4vw, 32px);
  --rule: 2px solid var(--color-divider);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; }
h3 { font-size: 20px; }
p { margin: 0 0 12px; text-wrap: pretty; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }
.skip { position: absolute; left: 8px; top: -60px; background: var(--color-accent); color: var(--color-bg); padding: 8px 14px; z-index: 100; font-weight: 800; }
.skip:focus { top: 8px; }

/* ---------- Boutons et champs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent; border-radius: 0;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-line); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-block { width: 100%; justify-content: space-between; }

.field { margin-bottom: 14px; }
.field > label, .field > .label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field .hint { display: block; font-size: 12px; margin-top: 4px; color: var(--muted); }
.input {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px;
  color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 0;
  appearance: none; -webkit-appearance: none;
}
select.input {
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text) 50%), linear-gradient(135deg, var(--color-text) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px;
}
textarea.input { min-height: 88px; resize: vertical; }
.input:hover { border-color: var(--color-text); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
.input[aria-invalid="true"] { border-color: var(--err); background: #fff6f4; }
.error { display: block; margin-top: 5px; font-size: 13px; font-weight: 600; color: var(--err); }
.prefix { display: flex; }
.prefix > span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--color-line); border-right: 0; background: var(--color-neutral-300); font-weight: 800; font-size: 15px; }

.qty { display: inline-flex; border: 1px solid var(--color-line); }
.qty button { width: 48px; min-height: 48px; border: 0; background: var(--color-surface); font-size: 22px; font-weight: 800; color: var(--color-text); cursor: pointer; }
.qty button:hover { background: var(--color-neutral-300); }
.qty output { min-width: 54px; display: grid; place-items: center; font-weight: 800; font-size: 18px; border-inline: 1px solid var(--color-divider); }

/* ---------- Bandeau et en-tête ---------- */
.strip { background: var(--color-surface); border-bottom: 1px solid var(--color-divider); font-size: 13px; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.lang { display: flex; border: 1px solid var(--color-divider); }
.lang button { border: 0; background: transparent; cursor: pointer; padding: 3px 10px; font-size: 12px; font-weight: 800; color: var(--color-text); }
.lang button[aria-pressed="true"] { background: var(--color-accent); color: var(--color-bg); }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--color-bg); border-bottom: var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav a { color: inherit; text-decoration: none; padding: 8px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.nav .btn { min-height: 42px; padding: 8px 18px; font-size: 14px; color: var(--color-bg); border: 1px solid transparent; }
.nav .btn:hover { color: var(--color-bg); border-bottom-color: transparent; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } .brand img { width: 128px; } }

/* ---------- Page produit ---------- */
.hero { border-bottom: var(--rule); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.gallery { padding: 28px 28px 28px 0; align-self: start; position: sticky; top: 74px; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; background: var(--color-surface); border: 1px solid var(--color-divider); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; background: color-mix(in srgb, var(--color-bg) 78%, transparent); color: var(--color-text); cursor: pointer; display: grid; place-items: center; }
.gallery-nav:hover { background: var(--color-bg); }
.gallery-nav.prev { left: 0; } .gallery-nav.next { right: 0; }
.gallery-count { position: absolute; right: 10px; bottom: 10px; font-size: 12px; font-weight: 800; padding: 3px 9px; background: var(--color-bg); }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 1px solid var(--color-divider); background: var(--color-surface); cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 3px solid transparent; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-bottom-color: var(--color-accent); border-color: var(--color-line); }
.gallery-note { font-size: 12px; margin-top: 10px; }

.buy { padding: 28px 0 32px 32px; border-left: var(--rule); }
.buy h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 14px; }
.tag-row { margin: 0 0 12px; }
.tag { display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; background: var(--color-accent-100); color: var(--color-accent-800); border: 1px solid var(--color-accent-200); }
.lede { font-size: 17px; max-width: 46ch; }
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 18px 0 6px; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.free-ship { font-weight: 800; color: var(--ok); }
.points { list-style: none; margin: 16px 0 22px; padding: 0; border-top: 1px solid var(--color-divider); }
.points li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--color-divider); font-size: 15px; }
.points li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; background: var(--color-accent); }

.order { border: 2px solid var(--color-text); background: var(--color-surface); padding: 22px; scroll-margin-top: 90px; }
.order h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 4px; }
.order > p.muted { font-size: 14px; margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.recap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; margin: 4px 0 14px; border-top: var(--rule); border-bottom: var(--rule); }
.recap strong { font-size: 28px; letter-spacing: -0.02em; }
.recap small { display: block; font-size: 13px; color: var(--muted); }
.form-error { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--err); background: #fff6f4; color: var(--err); font-weight: 600; font-size: 14px; }
.fine { font-size: 12px; margin: 12px 0 0; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Sections ---------- */
section.block { padding-block: clamp(40px, 6vw, 72px); border-bottom: var(--rule); }
section.tint { background: var(--color-surface); }
.block-head { max-width: 62ch; margin-bottom: 28px; }
.contents { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.contents figure { border: 1px solid var(--color-divider); background: var(--color-surface); }
.contents figcaption { padding: 10px 12px; font-size: 12px; color: var(--muted); }
table.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
table.specs caption { text-align: left; font-size: 12px; padding-bottom: 8px; color: var(--muted); }
table.specs th { text-align: left; font-size: 12px; font-weight: 600; padding: 8px 8px 8px 0; border-bottom: var(--rule); color: var(--muted); }
table.specs td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--color-divider); vertical-align: top; }
table.specs td:first-child { font-weight: 800; }
table.specs td.num, table.specs th.num { text-align: right; padding-right: 0; white-space: nowrap; }
.swatch { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border: 1px solid var(--color-line); vertical-align: -1px; }
.sw-gold { background: linear-gradient(135deg, #f3d37a, #c9962b); } .sw-brown { background: #6b3a1e; } .sw-ivory { background: #f1e3c0; } .sw-black { background: #15110f; }
.scroll-x { overflow-x: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--rule); }
.steps > div { padding: 26px 24px 26px 0; border-right: 1px solid var(--color-divider); }
.steps > div:last-child { border-right: 0; }
.steps > div + div { padding-left: 24px; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 15px; margin: 0; max-width: 34ch; }
.step-n { display: block; font-size: 14px; font-weight: 800; color: var(--color-accent); margin-bottom: 14px; }

.size-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: var(--rule); }
.size-grid > div { padding: 22px 24px 22px 0; }
.size-grid > div + div { padding-left: 24px; border-left: 1px solid var(--color-divider); }
.size-grid p { font-size: 15px; }

.faq { max-width: 820px; border-top: var(--rule); }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 800; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; font-weight: 600; color: var(--color-accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 18px; max-width: 64ch; }

.final { text-align: left; }
.final .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final h2 { margin: 0; max-width: 18ch; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--color-surface); border-top: var(--rule); margin-top: auto; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-block: 40px; }
.site-footer img { width: 170px; margin-bottom: 12px; }
.site-footer h3 { font-size: 14px; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--color-accent); }
.legal { border-top: 1px solid var(--color-divider); padding-block: 14px; font-size: 12px; }

/* ---------- Barre fixe mobile ---------- */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--color-bg); border-top: var(--rule); box-shadow: 0 -6px 18px color-mix(in srgb, #2f2823 12%, transparent); }
.sticky-cta .p { font-weight: 800; font-size: 20px; line-height: 1.1; }
.sticky-cta .p small { display: block; font-size: 12px; font-weight: 600; color: var(--color-neutral-700); }

/* ---------- Pages secondaires ---------- */
.page { padding-block: clamp(32px, 6vw, 64px); flex: 1; }
.page h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; }
.narrow { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 40px; letter-spacing: -0.02em; scroll-margin-top: 90px; }
.prose ul { padding-left: 20px; } .prose li { margin-bottom: 6px; }
.callout { border: 2px solid var(--color-text); background: var(--color-surface); padding: 22px; margin: 22px 0; }
.ordno { font-size: clamp(30px, 6vw, 48px); font-weight: 800; letter-spacing: 0.02em; margin: 6px 0 14px; word-break: break-all; }
.timeline { list-style: none; margin: 22px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--color-neutral-400); background: transparent; }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--color-neutral-300); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { border-color: var(--color-accent); background: var(--color-accent-200); }
.timeline li.done::after { background: var(--color-accent); }
.timeline li.current::before { border-color: var(--color-accent); background: var(--color-accent); }
.timeline li.todo { color: var(--color-neutral-600); }
.timeline strong { display: block; }
.timeline span { font-size: 14px; }

/* ---------- Adaptation mobile ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .gallery { padding: 20px 0 8px; border-right: 0; position: static; }
  .buy { padding: 20px 0 32px; border-left: 0; }
  .contents { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .steps, .size-grid { grid-template-columns: 1fr; }
  .steps > div, .steps > div + div { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--color-divider); }
  .size-grid > div, .size-grid > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--color-divider); }
  .row2 { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .sticky-cta.on { display: flex; }
  body.has-sticky { padding-bottom: 76px; }
  .order { padding: 18px; }
  .price { font-size: 36px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
