/* Atelier Rayon Vert — « Bon de dépôt n° 48 » */
:root {
  --fx-color-fond: #ebe0c8;
  --fx-color-surface: #f7f1e3;
  --fx-color-texte: #1c2420;
  --fx-color-texte-secondaire: #4a4f47;
  --fx-color-accent: #17633d;
  --fx-color-accent-2: #2a3f8f;
  --fx-color-contraste: #ffd23f;
  --fx-color-bordure: #b9a988;
  --fx-font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --fx-font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --fx-font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  --souche: 104px;
  --pad: clamp(20px, 4vw, 64px);
  --wrap: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fx-color-fond);
  color: var(--fx-color-texte);
  font-family: var(--fx-font-body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--fx-color-accent-2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--fx-color-accent-2); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--fx-color-contraste); color: var(--fx-color-texte); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--fx-color-contraste); color: var(--fx-color-texte); padding: 12px 18px; font-weight: 700; }
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Typographie ---------- */
.display, h1, h2, h3 { font-family: var(--fx-font-display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: .92; text-wrap: balance; }
h1 { font-size: clamp(56px, 6.6vw, 100px); }
h1 { line-height: 1; }
h1 mark { display: inline-block; line-height: .9; padding: .04em .1em 0; margin-top: .06em; }
h2 { font-size: clamp(44px, 5.4vw, 84px); }
h3 { font-size: clamp(32px, 3vw, 44px); font-weight: 800; }
.mono, .kicker { font-family: var(--fx-font-mono); }
.kicker { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fx-color-texte-secondaire); margin-bottom: 14px; }
.kicker::before { content: "▪ "; color: var(--fx-color-texte); }
mark { background: var(--fx-color-contraste); color: var(--fx-color-texte); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: clamp(19px, 1.5vw, 22px); max-width: 38em; }
.lead + p { margin-top: 1em; }
strong { font-weight: 700; }

/* ---------- En-tête & onglets ---------- */
.top, .tabs, .sheet, .foot__in { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--fx-color-texte); text-decoration: none; }
.logo__mark { width: 52px; height: 52px; color: var(--fx-color-accent); stroke-width: 9; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__small { font-family: var(--fx-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--fx-color-texte-secondaire); }
.logo__big { font-family: var(--fx-font-display); font-weight: 900; font-size: 34px; letter-spacing: .03em; text-transform: uppercase; margin-top: 3px; }

.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fx-font-mono); font-size: 14px; font-weight: 500; }
.status__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--fx-color-texte); background: transparent; flex: none; }
.status.is-open .status__dot { background: var(--fx-color-accent); border-color: var(--fx-color-accent); }
.status.is-open .status__txt { color: var(--fx-color-accent); font-weight: 600; }

.tabs { margin-top: 14px; position: relative; z-index: 2; }
.tabs ul { display: flex; flex-wrap: wrap; gap: 4px 4px; align-items: flex-end; }
.tabs a {
  display: flex; align-items: center; min-height: 46px; padding: 8px 20px 6px;
  font-family: var(--fx-font-display); font-weight: 800; font-size: 21px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  color: var(--fx-color-texte-secondaire);
  background: #e0d5bb;
  border: 1.5px solid var(--fx-color-bordure); border-bottom: 0; border-radius: 12px 12px 0 0;
  transition: background .15s;
}
.tabs a:hover { background: var(--fx-color-contraste); color: var(--fx-color-texte); }
.tabs a[aria-current="page"] {
  background: var(--fx-color-surface); color: var(--fx-color-texte);
  min-height: 54px; padding-top: 14px; margin-bottom: -1.5px; position: relative; z-index: 3;
}

/* ---------- Feuille & souche ---------- */
.sheet {
  display: grid; grid-template-columns: var(--souche) minmax(0, 1fr);
  background: var(--fx-color-surface); border: 1.5px solid var(--fx-color-bordure);
  box-shadow: 0 18px 40px -26px rgba(28, 36, 32, .5);
}
.souche { border-right: 2px dashed var(--fx-color-bordure); padding: 28px 12px; }
.souche__in { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; }
.souche__lab { font-family: var(--fx-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fx-color-texte-secondaire); }
.souche__no { font-family: var(--fx-font-display); font-weight: 900; font-size: 64px; line-height: .85; }
.souche__page { font-family: var(--fx-font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.souche__mono { font-family: var(--fx-font-mono); font-size: 13px; font-weight: 500; margin-bottom: 14px; line-height: 1.35; }
.souche__cut { border: 0; border-top: 2px dashed var(--fx-color-bordure); margin: 4px 0 14px; width: 100%; }

main { padding: 0 var(--pad); min-width: 0; }
main section { padding-block: clamp(56px, 7vw, 104px); border-top: 2px dashed var(--fx-color-bordure); }
main section:first-child { border-top: 0; padding-top: clamp(36px, 5vw, 72px); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 880px; }
.sec-head p:not(.kicker) { margin-top: 18px; max-width: 40em; }

/* ---------- Tampons ---------- */
.stamp { width: 150px; height: 150px; color: var(--fx-color-accent); stroke-width: 3; transform: rotate(var(--r, -8deg)); flex: none; display: block; }
.stamp text, .logo__mark text { fill: currentColor; stroke: none; font-family: var(--fx-font-display); font-weight: 900; }
.stamp__ring { font-size: 21px; letter-spacing: .04em; }
.stamp__core { font-size: 60px; }
.js .stamp { opacity: 0; }
.js .stamp.is-in { opacity: 1; animation: land 180ms cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes land { from { transform: scale(1.08) rotate(var(--r, -8deg)); opacity: 0; } to { transform: scale(1) rotate(var(--r, -8deg)); opacity: 1; } }

/* ---------- CTA à souche ---------- */
.cta { display: inline-flex; align-items: stretch; text-decoration: none; color: var(--fx-color-texte); font: 800 24px/1 var(--fx-font-display); letter-spacing: .04em; text-transform: uppercase; min-height: 58px; border: 0; padding: 0; background: none; cursor: pointer; }
.cta__stub, .cta__label { display: flex; align-items: center; border: 2px solid var(--fx-color-texte); }
.cta__stub { width: 54px; justify-content: center; background: var(--fx-color-surface); border-right: 2px dashed var(--fx-color-texte); transition: transform .18s ease; }
.cta__stub svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: square; }
.cta__label { padding: 14px 22px; background: var(--fx-color-contraste); border-left: 0; }
.cta:hover .cta__stub, .cta:focus-visible .cta__stub { transform: translateY(4px); }
.cta--ink .cta__label { background: var(--fx-color-texte); color: var(--fx-color-surface); }
.cta--paper .cta__label { background: var(--fx-color-surface); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 32px; }

/* ---------- Accueil : le bon ---------- */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero__intro { display: flex; flex-direction: column; }
.hero h1 mark { color: var(--fx-color-texte); }
.hero .lead { margin-top: 28px; }
.facts { margin-top: 28px; font-family: var(--fx-font-mono); font-size: 15px; font-weight: 500; border-top: 2px solid var(--fx-color-texte); }
.facts li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--fx-color-bordure); }
.facts b { font-weight: 500; color: var(--fx-color-texte-secondaire); min-width: 5.5em; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; padding-top: 1px; }

.bonwrap { position: relative; padding-top: 34px; }
.bonwrap .stamp { position: absolute; right: 10px; top: -4px; z-index: 3; width: 138px; height: 138px; }
.bon { position: relative; background: var(--fx-color-surface); border: 2px solid var(--fx-color-texte); box-shadow: 9px 9px 0 var(--fx-color-bordure); }
.bon__stub { display: flex; justify-content: flex-start; align-items: flex-end; gap: 12px 36px; flex-wrap: wrap; padding: 18px 150px 14px 22px; background: var(--fx-color-fond); border-bottom: 2px dashed var(--fx-color-texte); }
.bon__stub h2 { font-size: clamp(36px, 4vw, 52px); }
.bon__stub h2 span { font-family: var(--fx-font-mono); font-size: .38em; font-weight: 500; letter-spacing: 0; vertical-align: .6em; margin-left: .4em; }
.bon__stub .mono { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--fx-color-texte-secondaire); margin-bottom: 4px; }
.bon__meta { display: flex; gap: 20px; font-family: var(--fx-font-mono); font-size: 14px; font-weight: 500; }
.bon__meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--fx-color-texte-secondaire); }
.bon__body { padding: 24px 22px 26px; display: grid; gap: 24px; }
.bon fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bon legend, .bon label.lab { display: block; font-family: var(--fx-font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fx-color-texte-secondaire); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; border: 2px solid var(--fx-color-texte); background: var(--fx-color-surface); font: 800 21px/1 var(--fx-font-display); letter-spacing: .04em; text-transform: uppercase; }
.chip span::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--fx-color-texte); background: var(--fx-color-surface); flex: none; }
.chip input:checked + span { background: var(--fx-color-contraste); }
.chip input:checked + span::before { background: var(--fx-color-texte); box-shadow: inset 0 0 0 3px var(--fx-color-contraste); }
.chip input:focus-visible + span { outline: 3px solid var(--fx-color-accent-2); outline-offset: 3px; }
.chip:hover span { background: color-mix(in srgb, var(--fx-color-contraste) 45%, var(--fx-color-surface)); }
.chip input:checked + span:hover { background: var(--fx-color-contraste); }
.field input, .field textarea { width: 100%; font: 400 18px/1.55 var(--fx-font-body); color: var(--fx-color-texte); background: transparent; border: 0; border-bottom: 2px solid var(--fx-color-texte); padding: 8px 4px; border-radius: 0; }
.field textarea { resize: vertical; min-height: 96px; line-height: 32px; padding-block: 0; background-image: repeating-linear-gradient(transparent 0 30px, var(--fx-color-bordure) 30px 32px); background-attachment: local; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--fx-color-accent-2); outline-offset: 3px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.print { display: flex; align-items: baseline; gap: 10px; font-family: var(--fx-font-mono); font-size: 15px; font-weight: 500; }
.print strong { font: 900 34px/1 var(--fx-font-display); letter-spacing: .03em; color: var(--fx-color-accent); }
.dots { flex: 1; border-bottom: 2px dotted var(--fx-color-texte); transform: translateY(-4px); min-width: 20px; }
.bon__note { font-size: 16px; color: var(--fx-color-texte-secondaire); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.confirm { border: 2px solid var(--fx-color-accent); background: var(--fx-color-surface); padding: 16px 18px; font-weight: 700; color: var(--fx-color-accent); }
.confirm span { display: block; font-weight: 400; color: var(--fx-color-texte); margin-top: 4px; }
.confirm:focus { outline: 3px solid var(--fx-color-accent-2); outline-offset: 3px; }

/* ---------- Étiquettes à œillet ---------- */
.tags { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tags--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tag { position: relative; padding-top: 50px; filter: drop-shadow(4px 4px 0 var(--fx-color-bordure)); }
.tag::before { content: ""; position: absolute; top: 0; left: -12px; right: -12px; border-top: 2px solid var(--fx-color-texte); }
.tag__edge, .tag__body { clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); height: 100%; }
.tag__edge { background: var(--fx-color-texte); padding: 2px; }
.tag__body { background: var(--fx-color-fond); clip-path: polygon(0 17px, 17px 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 0 100%); padding: 44px 20px 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.tag--yellow .tag__body { background: var(--fx-color-contraste); }
.tag__string { position: absolute; top: 0; left: 50%; margin-left: -32px; width: 64px; height: 80px; overflow: visible; z-index: 2; }
.tag__big { font: 900 clamp(52px, 5.4vw, 80px)/.9 var(--fx-font-display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.tag__lab { font-size: 17px; line-height: 1.4; }
.tag__ref { font-family: var(--fx-font-mono); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--fx-color-texte-secondaire); }
.tag--yellow .tag__ref { color: var(--fx-color-texte); }

/* ---------- Grille tarifaire ---------- */
.rows { border-top: 3px solid var(--fx-color-texte); }
.rows__head, .row { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 3.5fr) minmax(0, 4fr); gap: 24px; align-items: center; }
.rows__head { padding: 8px 0; font-family: var(--fx-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fx-color-texte-secondaire); border-bottom: 1px solid var(--fx-color-texte); }
.row { position: relative; padding: 22px 8px; margin-inline: -8px; border-bottom: 1px solid var(--fx-color-texte); }
.row:hover { background: color-mix(in srgb, var(--fx-color-contraste) 38%, transparent); }
.row h3 { font-size: clamp(48px, 5.4vw, 80px); font-weight: 900; }
.row__txt p { margin-bottom: 8px; }
.row__link { font-family: var(--fx-font-mono); font-size: 14px; font-weight: 500; color: var(--fx-color-accent-2); }
.row__link::after { content: ""; position: absolute; inset: 0; }
.leader { display: flex; align-items: baseline; gap: 8px; font-family: var(--fx-font-mono); font-size: 15px; font-weight: 500; padding-block: 3px; }
.leader em { font-style: normal; color: var(--fx-color-texte-secondaire); font-weight: 400; text-align: right; }
.leader strong { font: 900 32px/1 var(--fx-font-display); letter-spacing: .03em; text-transform: uppercase; text-align: right; }

/* ---------- Planche technique ---------- */
.atelier__txt { grid-column: 1 / span 4; }
.atelier__plates { grid-column: 5 / span 8; }
.plates { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px 28px; align-items: start; }
.plates figure:first-child { grid-row: 1 / span 2; }
.plates figure:nth-child(3) { margin-left: 10px; }
.plates figure { display: flex; flex-direction: column; gap: 12px; }
.plate { position: relative; background-color: var(--fx-color-surface); border: 1.5px solid var(--fx-color-bordure); padding: 8px; transform: rotate(var(--t, 0deg)); background-image: linear-gradient(to right, color-mix(in srgb, var(--fx-color-bordure) 40%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--fx-color-bordure) 40%, transparent) 1px, transparent 1px); background-size: 20px 20px; box-shadow: 3px 3px 0 var(--fx-color-bordure); }
.staple { position: absolute; width: 44px; height: 26px; left: -10px; top: -8px; transform: rotate(-30deg); z-index: 2; }
.draw { display: block; width: 100%; height: auto; fill: none; stroke: var(--fx-color-accent-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.draw .fine { stroke-width: 1; }
.draw .axis { stroke-width: 1; stroke-dasharray: 12 3 2 3; }
.draw .chain { stroke-width: 3; stroke-dasharray: 5 3; }
.draw .solid { fill: var(--fx-color-surface); }
.draw text { fill: var(--fx-color-accent-2); stroke: none; font: 500 12px var(--fx-font-mono); }
.plates figcaption { font-family: var(--fx-font-mono); font-size: 13px; font-weight: 500; line-height: 1.45; }
.plates figcaption b { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.plates figcaption span { color: var(--fx-color-texte-secondaire); font-weight: 400; }
.honest { margin-top: 20px; font-family: var(--fx-font-mono); font-size: 13px; color: var(--fx-color-texte-secondaire); }

/* ---------- Occasions ---------- */
.occ { align-items: center; }
.occ__txt { grid-column: 1 / span 5; }
.occ__tags { grid-column: 6 / span 7; }
.tag .stamp { position: absolute; right: 8px; bottom: 6px; width: 84px; height: 84px; stroke-width: 4; }
.tag--occ .tag__body { padding-bottom: 100px; min-height: 280px; }
.tag--occ .tag__big { font-size: clamp(38px, 3.4vw, 50px); line-height: .9; white-space: normal; }
.occ { align-items: start; }
.occ h2 { font-size: clamp(40px, 4.4vw, 66px); }

/* ---------- Samedi (bande jaune) ---------- */
main section.band { background: var(--fx-color-contraste); margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); border-top: 2px solid var(--fx-color-texte); border-bottom: 2px solid var(--fx-color-texte); }
main section.band + section { border-top: 0; }
.sam__txt { grid-column: 1 / span 6; }
.sam__card { grid-column: 8 / span 5; position: relative; padding-top: 30px; }
.sam__card .stamp { position: absolute; right: -6px; top: -30px; width: 130px; height: 130px; color: var(--fx-color-accent); }
.sam__fiche .ticket__title { position: absolute; left: 22px; top: 42px; margin: 0; }
.sam__fiche { position: relative; background: var(--fx-color-surface); border: 2px solid var(--fx-color-texte); padding: 94px 22px 16px; box-shadow: 8px 8px 0 var(--fx-color-texte); }
.band .kicker { color: var(--fx-color-texte); }
.band .kicker::before { color: var(--fx-color-texte); }
.band a:not(.cta) { color: var(--fx-color-texte); }

/* ---------- Café ---------- */
.cafe__fig { grid-column: 1 / span 4; }
.cafe__txt { grid-column: 6 / span 6; align-self: center; }

/* ---------- Venir ---------- */
.venir__txt { grid-column: 1 / span 6; }
.venir__ticket { grid-column: 8 / span 5; background: var(--fx-color-fond); border: 2px dashed var(--fx-color-texte); padding: 24px 24px 20px; align-self: start; }
.ticket__title { font: 800 14px/1 var(--fx-font-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.ticket address { font-style: normal; font-weight: 700; font-size: 20px; line-height: 1.35; margin-bottom: 14px; }
.ticket .leader a { color: var(--fx-color-texte); font-weight: 700; }
.status--big { font-size: 18px; margin-bottom: 20px; }
.hours li { display: flex; align-items: baseline; gap: 8px; font-family: var(--fx-font-mono); font-size: 15px; font-weight: 500; padding-block: 3px; }
.hours span:last-child { font-weight: 600; }

/* ---------- Pied de page ---------- */
.foot { margin-top: 48px; background: var(--fx-color-texte); color: var(--fx-color-surface); padding: 48px 0 28px; }
.foot a { color: var(--fx-color-contraste); }
.foot :focus-visible { outline-color: var(--fx-color-contraste); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 48px; }
.foot .logo { color: var(--fx-color-surface); }
.foot .logo__mark { color: var(--fx-color-surface); }
.foot .logo__small { color: var(--fx-color-bordure); }
.foot__h { font: 500 13px var(--fx-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fx-color-bordure); margin-bottom: 12px; }
.foot li { padding-block: 3px; }
.foot__tag { margin-top: 16px; max-width: 26em; }
.foot__nav a { text-decoration: none; font-family: var(--fx-font-display); font-weight: 800; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; display: inline-block; padding-block: 4px; }
.foot__nav a:hover { text-decoration: underline; }
.foot__base { margin-top: 36px; padding-top: 18px; border-top: 2px dashed var(--fx-color-texte-secondaire); font-family: var(--fx-font-mono); font-size: 13px; color: var(--fx-color-bordure); display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.lost { padding-block: clamp(48px, 8vw, 110px); display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.lost .stamp { width: 200px; height: 200px; }

/* ---------- Adaptation ---------- */
@media (min-width: 1100px) {
  .hero { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero__intro { grid-column: 1 / span 5; align-self: center; }
  .bonwrap { grid-column: 6 / span 7; }
}
@media (max-width: 1099px) {
  .atelier__txt, .atelier__plates, .occ__txt, .occ__tags, .sam__txt, .sam__card, .cafe__fig, .cafe__txt, .venir__txt, .venir__ticket { grid-column: 1 / -1; }
  .cafe__fig { max-width: 420px; }
  .sam__card { margin-top: 20px; }
  .tags { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .rows__head { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 14px; }
  .row h3 { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .souche { border-right: 0; border-bottom: 2px dashed var(--fx-color-bordure); padding: 12px 16px; }
  .souche__in { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
  .souche__no { font-size: 40px; }
  .souche__page { margin: 0; }
  .souche__lab { display: none; }
  .souche__mono { margin: 0; display: inline-block; }
  .souche__cut { display: none; }
  .plates { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .tabs ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabs a { font-size: 18px; padding: 6px 6px 4px; justify-content: center; text-align: center; line-height: 1.05; min-height: 52px; }
  .tabs a[aria-current="page"] { min-height: 52px; padding-top: 6px; margin-bottom: 0; border-bottom: 3px solid var(--fx-color-texte); }
  .souche__mono:last-child { display: none; }
  .tags--3 { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .tags { gap: 14px; row-gap: 34px; }
  .tag::before { left: -7px; right: -7px; }
  .tag__body { padding-inline: 14px; }
  .tag__big { font-size: clamp(34px, 10.5vw, 56px); }
  .tag--occ .tag__big { font-size: clamp(40px, 12vw, 56px); }
  .tag__lab { font-size: 16px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr); }
  .bonwrap .stamp { width: 104px; height: 104px; right: 4px; top: 6px; }
  .bon__stub { padding-right: 112px; }
  .bon__body, .bon__stub { padding-inline: 16px; }
  .bon__stub { padding-right: 16px; padding-top: 52px; }
  .sam__card .stamp { width: 104px; height: 104px; top: -20px; }
  .cta__label { padding-inline: 16px; font-size: 22px; }
  .print strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .stamp, .js .stamp.is-in { opacity: 1; animation: none; }
  .cta__stub, .tabs a { transition: none; }
  .cta:hover .cta__stub, .cta:focus-visible .cta__stub { transform: none; }
}
