/* PM Emballage · démo OREN */
:root {
  --ink: #0c2724;
  --ink-2: #123631;
  --ink-3: #1b4a43;
  --mint: #2ad3aa;
  --mint-2: #9ff0d9;
  --mint-ink: #04342a;
  --paper: #f4f1ea;
  --paper-2: #ebe5d9;
  --kraft: #b98a5c;
  --white: #fff;
  --text: #132522;
  --muted: #5d6c69;
  --line: rgba(12, 39, 36, .12);
  --line-l: rgba(255, 255, 255, .14);
  --r: 14px;
  --r-lg: 22px;
  --head: "Archivo", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(12, 39, 36, .06), 0 12px 32px -12px rgba(12, 39, 36, .22);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--head); font-stretch: 112%; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(1.75rem, 5.4vw, 3rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--mint); color: var(--mint-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--mint-2); opacity: .75; }
.hide-sm { display: none; }

.eyebrow { font: 700 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: #138a6e; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 700 .95rem/1 var(--body); text-decoration: none; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.98); }
.btn--mint { background: var(--mint); color: var(--mint-ink); }
.btn--mint:hover { background: var(--mint-2); }
.btn--line { border-color: var(--line-l); color: var(--white); }
.btn--line:hover { border-color: var(--mint); color: var(--mint-2); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.pill { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; }
.pill:hover, .pill[aria-pressed="true"] { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }

/* Bandeau promo */
.promo { background: var(--mint); color: var(--mint-ink); font-size: .8rem; font-weight: 700; overflow: hidden; white-space: nowrap; }
.promo__track { display: flex; gap: 18px; justify-content: center; padding: 9px 0; }
.promo__track p:nth-child(n+5), .promo__track span:nth-child(n+4) { display: none; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); --logo-box: var(--mint); --logo-dot: var(--mint); }
.brand__mark { width: 44px; height: 36px; }
.brand__word { font: 700 .78rem/1 var(--body); letter-spacing: .32em; text-transform: uppercase; padding-top: 2px; }
.brand--light { color: var(--white); }
.nav { display: none; gap: 24px; white-space: nowrap; font-weight: 600; font-size: .92rem; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 0; }
.nav a:hover { color: var(--ink); }
.header__actions { white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.quote-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font-weight: 700; font-size: .9rem; justify-content: center; }
.quote-btn svg { width: 20px; height: 20px; }
.quote-btn__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--mint); color: var(--mint-ink); font-size: .72rem; display: grid; place-items: center; }

/* Hero */
.hero { background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 30%, rgba(42,211,170,.16), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 22px; padding-top: 22px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(2.3rem, 10vw, 5rem); font-weight: 800; font-stretch: 118%; line-height: .98; letter-spacing: -.035em; }
.hero h1 em { font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; font-stretch: normal; color: var(--mint); letter-spacing: -.01em; }
.hero__lead { margin-top: 16px; color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--line-l); padding-top: 20px; }
.hero__facts strong { display: block; font: 800 1.5rem/1 var(--head); font-stretch: 115%; color: var(--mint-2); }
.hero__facts span { display: block; font-size: .78rem; color: rgba(255,255,255,.62); margin-top: 6px; line-height: 1.35; }
.hero__visual { position: relative; min-height: 250px; order: -1; }
.hero__photo { position: absolute; left: 0; top: 0; width: 58%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transform: rotate(-3deg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 10px; bottom: 10px; background: rgba(12,39,36,.82); color: var(--white); font-size: .74rem; font-weight: 600; padding: 7px 11px; border-radius: 99px; backdrop-filter: blur(6px); }
.stage--hero { position: absolute; right: -4%; bottom: 4%; width: 70%; height: 220px; }
.stage--hero .box3d { --s: .78; }

/* Boîte 3D */
.stage { perspective: 1100px; perspective-origin: 50% 30%; display: grid; place-items: center; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.box3d { --w: 230px; --d: 170px; --h: 64px; --ry: -32deg; --rx: -26deg; --open: 0deg; --c: #f2a7bd; --ci: #fbfaf7; --s: 1;
  position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: scale(var(--s)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.box3d.is-drag { transition: none; }
.stage.is-open .box3d { top: calc(var(--d) * .32 * var(--s)); }
.box3d { top: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1), top .6s cubic-bezier(.2,.7,.2,1); }
.box3d.is-spin { animation: spin 18s linear infinite; }
@keyframes spin { from { transform: scale(var(--s)) rotateX(var(--rx)) rotateY(-32deg); } to { transform: scale(var(--s)) rotateX(var(--rx)) rotateY(328deg); } }
.f { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.f > i { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: block; }
.f > .o { background: var(--c); }
.f > .in { background: var(--ci); transform: rotateY(180deg); }
.f > .o::after { content: ""; position: absolute; inset: 0; background: var(--tone, transparent); }
.f > .in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,0) 60%); }
.f--front, .f--back { width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); }
.f--left, .f--right { width: var(--d); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2); }
.f--bottom { width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2); }
.f--front { transform: translateZ(calc(var(--d) / 2)); --tone: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.08)); }
.f--back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); --tone: rgba(0,0,0,.12); }
.f--right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); --tone: rgba(0,0,0,.16); }
.f--left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); --tone: rgba(0,0,0,.06); }
.f--bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); --tone: rgba(0,0,0,.25); }
.f--front .o::before { content: ""; position: absolute; left: 50%; top: 0; width: 34px; height: 9px; margin-left: -17px; border-radius: 0 0 18px 18px; background: rgba(0,0,0,.18); z-index: 1; }
.f--lid { width: var(--w); height: var(--d); margin-left: calc(var(--w) / -2); transform-origin: 50% 0; transform: translate3d(0, calc(var(--h) / -2), calc(var(--d) / -2)) rotateX(calc(90deg + var(--open))); transition: transform .9s cubic-bezier(.3,.8,.2,1); }
.f--lid > .o { display: grid; place-items: center; --tone: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,0) 50%, rgba(0,0,0,.04)); }
.f--flap { width: var(--w); height: calc(var(--h) * .92); left: 0; top: 100%; transform-origin: 50% 0; transform: rotateX(calc(-90deg + var(--open) * .6)) translateZ(1px); transition: transform .9s cubic-bezier(.3,.8,.2,1); }
.f--flap > .o { --tone: rgba(0,0,0,.03); border-radius: 0 0 5px 5px; }
.f--flap > .in { border-radius: 0 0 5px 5px; }
.f--wingl, .f--wingr { width: calc(var(--d) * .9); height: calc(var(--h) * .9); }
.box3d.is-kraft .o { background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 2px, transparent 2px 5px); }
.print { position: relative; z-index: 2; width: 62%; height: 52%; display: grid; place-items: center; text-align: center; }
.print__logo { width: 100%; height: 100%; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; background: var(--ink-c, #111); }
.print__img { width: 100%; height: 100%; object-fit: contain; }
.print__name { font: 600 calc(var(--w) * .1)/1 "Playfair Display", serif; font-style: italic; color: var(--ink-c, #111); letter-spacing: -.01em; overflow-wrap: anywhere; }
.print--gold .print__logo, .print--gold .print__name { background: linear-gradient(115deg, #a8792a, #f7dc8d 38%, #b8892f 55%, #f2d27e 80%, #9c6f24); -webkit-background-clip: border-box; }
.print--gold .print__name { -webkit-background-clip: text; background-clip: text; color: transparent; }
.print svg { width: 100%; height: 100%; color: var(--ink-c, #111); }
.stage__shadow { position: absolute; left: 50%; top: 50%; width: 70%; height: 30%; transform: translate(-50%, 40%); background: radial-gradient(closest-side, rgba(12,39,36,.35), transparent); filter: blur(10px); z-index: -1; pointer-events: none; }

/* Confiance */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust__inner { padding-top: 20px; padding-bottom: 20px; display: grid; gap: 12px; }
.trust p { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.trust ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; }
.trust li { color: var(--ink); opacity: .78; }
.t-para { font: 600 1.35rem/1 "Playfair Display", serif; letter-spacing: .02em; text-transform: uppercase; }
.t-jman { font: italic 500 1.35rem/1 "Playfair Display", serif; }
.t-az { font: 800 1.05rem/1 var(--head); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; }
.t-more { font-size: .9rem; font-weight: 600; color: var(--muted) !important; }

/* Sections */
.section { padding: 64px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--paper { background: var(--paper); }
.section__head { display: grid; gap: 14px; margin-bottom: 30px; }
.section__lead { color: var(--muted); max-width: 34em; }
.section--dark .section__lead { color: rgba(255,255,255,.7); }

/* Filtres */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .9rem; color: var(--muted); }
.chip[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Grille produits */
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.card { position: relative; }
.card__btn { all: unset; cursor: pointer; display: block; width: 100%; }
.card__btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: var(--r); }
.card__media { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.card__media img, .card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card__btn:hover .card__media img, .card__btn:hover .card__media svg { transform: scale(1.04); }
.card__badge { position: absolute; top: 8px; left: 8px; background: var(--ink); color: var(--white); font-size: .68rem; font-weight: 700; padding: 5px 9px; border-radius: 99px; letter-spacing: .02em; }
.card__badge--mint { background: var(--mint); color: var(--mint-ink); }
.card__name { font: 700 .98rem/1.2 var(--head); font-stretch: 105%; margin-top: 10px; }
.card__meta { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.card__price { margin-top: 6px; font-size: .86rem; }
.card__price strong { font-weight: 800; color: var(--ink); }
.card__price span { color: var(--muted); }

/* Configurateur */
.maker { display: grid; gap: 22px; }
.maker__view { position: relative; background: radial-gradient(90% 70% at 50% 38%, #fbfaf6, #dfe5e1 70%, #cfd8d3); color: var(--ink); border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: 0; position: sticky; top: 72px; z-index: 5; overflow: hidden; }
.stage--maker { height: 236px; position: relative; cursor: grab; }
.stage--maker:active { cursor: grabbing; }
.stage--maker .box3d { --s: .62; top: -14px; }
.stage--maker.is-open .box3d { top: calc(var(--d) * .32 * var(--s)); }
.maker__tools { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; }
.maker__tools .pill[data-turn] { width: 44px; padding: 0; font-size: 1.1rem; }
.maker__hint { font-size: .78rem; color: var(--muted); margin-left: auto; display: none; }
.maker__dims { position: absolute; top: 14px; left: 18px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.maker__panel { display: grid; gap: 22px; }
.maker__panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.maker__panel legend { display: flex; align-items: center; gap: 10px; font: 700 1rem/1 var(--head); font-stretch: 108%; margin-bottom: 12px; padding: 0; }
.maker__panel legend span { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-size: .8rem; font-family: var(--body); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; text-align: left; min-height: 56px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-l); background: rgba(255,255,255,.04); color: var(--white); display: grid; gap: 2px; }
.opt strong { font-size: .92rem; }
.opt small { font-size: .76rem; color: rgba(255,255,255,.6); line-height: 1.3; }
.opt[aria-checked="true"] { border-color: var(--mint); background: rgba(42,211,170,.12); box-shadow: inset 0 0 0 1px var(--mint); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.sw { width: 46px; height: 46px; border-radius: 50%; border: 2px solid transparent; padding: 3px; background: none; position: relative; }
.sw i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.sw[aria-checked="true"] { border-color: var(--mint); }
.sw__label { width: 100%; font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.logo-in { margin-top: 12px; display: grid; gap: 12px; }
.logo-in[hidden] { display: none; }
.drop { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; border: 1.5px dashed rgba(159,240,217,.45); cursor: pointer; }
.drop:hover, .drop:focus-within { border-color: var(--mint); background: rgba(42,211,170,.06); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; }
.drop strong { display: block; font-size: .95rem; }
.drop small { display: block; font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.35; margin-top: 2px; }
.drop.has-logo .drop__icon { background: var(--white); }
.field { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-size: 16px; font-weight: 500; color: var(--text); }
.field textarea { resize: vertical; }
.section--dark .field span { color: rgba(255,255,255,.72); }
.section--dark .field input { background: rgba(255,255,255,.06); border-color: var(--line-l); color: var(--white); }
.inks { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inks::before { content: "Encre"; font-size: .8rem; color: rgba(255,255,255,.6); margin-right: 4px; }
.ink { width: 36px; height: 36px; min-width: 44px; min-height: 44px; border-radius: 50%; border: 2px solid transparent; padding: 4px; background: none; }
.ink i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.ink[aria-checked="true"] { border-color: var(--mint); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty input { width: 110px; min-height: 48px; text-align: center; border-radius: 12px; border: 1px solid var(--line); font-size: 16px; font-weight: 700; background: var(--white); color: var(--text); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty__btn { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.section--dark .qty input, .section--dark .qty__btn { background: rgba(255,255,255,.06); border-color: var(--line-l); color: var(--white); }
.qty__unit { font-size: .86rem; color: var(--muted); }
input[type="range"] { width: 100%; margin: 16px 0 6px; accent-color: var(--mint); height: 28px; }
.tiers { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 6px; }
.tiers li { padding: 8px 6px; border-radius: 10px; text-align: center; border: 1px solid var(--line-l); font-size: .74rem; color: rgba(255,255,255,.6); line-height: 1.25; }
.tiers li b { display: block; font-size: .86rem; color: var(--white); }
.tiers li.is-on { border-color: var(--mint); background: rgba(42,211,170,.14); color: var(--mint-2); }
.tiers--light li { border-color: var(--line); color: var(--muted); }
.tiers--light li b { color: var(--ink); }
.tiers--light li.is-on { background: #e3f8f1; border-color: #6fdcbf; color: #0f6b55; }
.sum { border-radius: var(--r-lg); background: var(--white); color: var(--text); padding: 20px; display: grid; gap: 10px; }
.sum__row { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--muted); }
.sum__row strong { color: var(--ink); }
.sum__row--total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; font-size: 1rem; color: var(--ink); font-weight: 700; }
.sum__row--total strong { font: 800 1.6rem/1 var(--head); font-stretch: 112%; }
.sum__note { font-size: .8rem; color: #0f6b55; background: #e3f8f1; padding: 8px 12px; border-radius: 10px; }
.sum__note:empty { display: none; }
.sum__cta { display: grid; gap: 8px; margin-top: 4px; }
.sum .btn--line { border-color: var(--line); color: var(--ink); }
.sum .btn--line:hover { border-color: var(--ink); color: var(--ink); }

/* Kits */
.kits { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 14px var(--gutter) 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.kits::-webkit-scrollbar { display: none; }
.kit { scroll-snap-align: start; }
.kit--hot { order: -1; }
.kit { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; background: var(--white); position: relative; }
.kit--hot { background: var(--ink); color: var(--white); border-color: var(--ink); }
.kit__flag { position: absolute; top: -11px; left: 22px; background: var(--mint); color: var(--mint-ink); font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 99px; }
.kit h3 { font-size: 1.4rem; font-stretch: 115%; }
.kit__for { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.kit--hot .kit__for { color: rgba(255,255,255,.65); }
.kit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.kit ul li { display: flex; gap: 10px; }
.kit ul li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #e3f8f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%230f6b55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.kit__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.kit__price strong { font: 800 2rem/1 var(--head); font-stretch: 112%; }
.kit__price s { color: var(--muted); }
.kit--hot .kit__price s { color: rgba(255,255,255,.5); }
.kit__price small { width: 100%; font-size: .8rem; color: #0f6b55; font-weight: 700; }
.kit--hot .kit__price small { color: var(--mint-2); }
.kit--hot .btn--dark { background: var(--mint); color: var(--mint-ink); }

/* Réalisations */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.work { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; }
.work--tall { grid-column: span 2; aspect-ratio: 4 / 3; }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(8,26,24,.85)); color: var(--white); font-size: .74rem; line-height: 1.35; }
.work figcaption strong { display: block; font-size: .9rem; }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps span { font: 800 .85rem/1 var(--head); color: #138a6e; }
.steps p { color: var(--muted); font-size: .94rem; }

/* FAQ */
.faq { display: grid; gap: 28px; }
.faq h2 { margin-bottom: 14px; }
.faq .btn { margin-top: 20px; }
.faq__list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: #138a6e; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Pied de page */
.footer { background: var(--ink); color: var(--white); padding: 52px 0 28px; }
.footer .brand { --logo-box: var(--mint); --logo-dot: var(--mint); }
.footer__grid { display: grid; gap: 30px; }
.footer__tag { margin-top: 14px; color: rgba(255,255,255,.65); font-size: .92rem; }
.footer h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--body); color: var(--mint); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer ul a { text-decoration: none; color: rgba(255,255,255,.82); display: inline-block; padding: 11px 0; }
.footer ul a:hover { color: var(--mint-2); }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-l); display: grid; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer__bottom a { color: rgba(255,255,255,.75); }

.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 28px; height: 28px; }

/* Fiche produit */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; }
.sheet[hidden] { display: none; }
.sheet__bg { position: absolute; inset: 0; background: rgba(8,26,24,.55); animation: fade .25s; }
.sheet__panel { position: relative; background: var(--white); border-radius: 22px 22px 0 0; max-height: 92vh; max-height: 92dvh; overflow-y: auto; animation: up .35s cubic-bezier(.2,.8,.2,1); overscroll-behavior: contain; }
.sheet__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.6rem; line-height: 1; color: var(--ink); box-shadow: var(--shadow); }
.sheet__media { aspect-ratio: 4 / 3; background: var(--paper); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sheet__media::-webkit-scrollbar { display: none; }
.sheet__media > * { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.sheet__body { padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom)); display: grid; gap: 16px; }
.sheet__body h2 { font-size: 1.7rem; }
.sheet__desc { color: var(--muted); }
.sopt { display: grid; gap: 8px; }
.sopt + .sopt { margin-top: 14px; }
.sopt__label { font-size: .84rem; font-weight: 700; }
.sopt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.sbtn { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.sbtn i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.sbtn[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sheet__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--white); padding-bottom: 4px; }
.sheet__sum span { display: block; font-size: .8rem; color: var(--muted); }
.sheet__sum strong { font: 800 1.45rem/1.1 var(--head); font-stretch: 110%; }

/* Devis */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__bg { position: fixed; inset: 0; z-index: 65; background: rgba(8,26,24,.5); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.4rem; }
.drawer__head .sheet__close { position: static; box-shadow: none; background: var(--paper); }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px var(--gutter) 24px; overscroll-behavior: contain; }
.empty { color: var(--muted); padding: 28px 0; }
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.line__img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.line__img img, .line__img svg { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 700; font-size: .94rem; line-height: 1.25; }
.line__opt { font-size: .78rem; color: var(--muted); }
.line__qty { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.line__qty button { width: 44px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); font-weight: 700; }
.line__qty span { min-width: 54px; text-align: center; font-weight: 700; font-size: .9rem; }
.line__price { font-weight: 800; font-size: .94rem; text-align: right; white-space: nowrap; }
.line__price small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.checkout { display: grid; gap: 12px; margin-top: 24px; }
.checkout h3 { font-size: 1.05rem; }
.checkout__small { font-size: .78rem; color: var(--muted); }
.drawer__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.drawer__foot strong { font: 800 1.35rem/1 var(--head); font-stretch: 110%; }

.mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 18px; background: var(--ink); color: var(--white); box-shadow: 0 16px 36px -12px rgba(0,0,0,.5); border: 1px solid var(--line-l); animation: up .3s cubic-bezier(.2,.8,.2,1); }
.mbar > div { display: grid; line-height: 1.2; min-width: 0; }
.mbar strong { font: 800 1.2rem/1.1 var(--head); font-stretch: 110%; }
.mbar span { font-size: .74rem; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .btn { flex: none; min-height: 46px; padding: 0 18px; }
.mbar--cart { width: auto; border: 1px solid var(--line-l); font: inherit; text-align: left; padding: 0 18px 0 8px; min-height: 60px; }
.mbar__count { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--mint-ink) !important; display: grid; place-items: center; font-weight: 800; font-size: .95rem !important; }
.mbar__label { flex: 1; font-size: .95rem !important; font-weight: 700; color: var(--white) !important; }
body.has-mkbar .wa-float { display: none; }
body.has-bar .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
body.has-bar .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
body.has-bar .footer { padding-bottom: 100px; }

.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 99px; font-size: .88rem; font-weight: 600; opacity: 0; pointer-events: none; transition: .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* Tablette */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hide-sm { display: inline-flex; }
  .promo__track p:nth-child(n+5), .promo__track span:nth-child(n+4) { display: block; }
  .hero__cta .btn { flex: none; }
  .hero__visual { min-height: 460px; }
  .stage--hero .box3d { --s: 1; }
  .stage--maker .box3d { top: 0; }
  .stage--hero { height: 420px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
  .opts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .opts--prints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage--maker { height: 380px; }
  .stage--maker .box3d { --s: 1; }
  .maker__hint { display: block; }
  .kits { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; overflow: visible; margin: 0; padding: 14px 0 0; }
  .kit--hot { order: 0; }
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work--tall { grid-column: span 1; grid-row: span 2; aspect-ratio: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr auto; }
  .sheet { align-items: center; justify-items: center; padding: 24px; }
  .sheet__panel { width: min(960px, 100%); border-radius: 22px; display: grid; grid-template-columns: 1fr 1fr; max-height: min(720px, 90vh); overflow: hidden; }
  .sheet__media { aspect-ratio: auto; height: 100%; }
  .sheet__body { overflow-y: auto; padding: 32px 28px 24px; }
}

/* Bureau */
@media (min-width: 1024px) {
  .section { padding: 104px 0; }
  .section__head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; margin-bottom: 44px; }
  .hero__visual { order: 0; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 72px; padding-bottom: 96px; }
  .hero__visual { min-height: 560px; }
  .hero__photo { width: 58%; top: 10px; }
  .stage--hero { height: 520px; right: -4%; bottom: -2%; width: 80%; }
  .stage--hero .box3d { --s: 1.35; }
  .trust__inner { grid-template-columns: auto 1fr; align-items: center; gap: 40px; }
  .trust ul { justify-content: space-between; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .maker { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
  .maker__view { top: 88px; }
  .maker__tools { left: 20px; right: 20px; bottom: 20px; }
  .stage--maker { height: 520px; }
  .stage--maker .box3d { --s: 1.25; }
  .opts--sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .works { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work--tall { grid-column: span 2; grid-row: span 2; }
}

@media (min-width: 1180px) {
  .nav { display: flex; }
}
@media (min-width: 1024px) {
  .mbar { display: none !important; }
  body.has-mkbar .wa-float { display: grid; }
  body.has-mkbar .wa-float { display: none; }
body.has-bar .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); }
  body.has-bar .footer { padding-bottom: 28px; }
}
@media (max-width: 1179px) {
  .header__actions .btn--ghost { display: none; }
}

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