/* Bionaturelle — page produit spray glucosamine
   Palette tirée du produit et du pays : indigo du Faso Dan Fani et du bas de la boîte, latérite (terre rouge
   de Ouaga) pour l'action, jaune du flacon pour les moments forts, menthe pour le soulagement. */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --c-ink: #15193a;
  --c-ink-2: #474c68;
  --c-bg: #ffffff;
  --c-sand: #f6efe4;
  --c-line: #e3d9c9;
  --c-field: #cbc1b1;
  --c-cta: #c2410c;
  --c-cta-d: #8f2f08;
  --c-sun: #f7b500;
  --c-calm: #0f7b6c;
  --c-calm-bg: #e7f4f1;
  --c-calm-ink: #0b5c51;
  --c-err: #b42318;
  --c-wa: #0e7a3e;
  --c-night: #0e1130;

  --f: "Bricolage", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
  --r-lg: 20px;
  --gut: 16px;
  --sec: clamp(56px, 9vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
s { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; }
.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: -60px; z-index: 200; background: var(--c-ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 700px) { :root { --gut: 28px; } }

.ico { width: 1.25em; height: 1.25em; flex: none; }

h2 { font-size: clamp(1.65rem, 5.6vw, 2.6rem); font-weight: 800; }
.section-lead { margin-top: 12px; color: var(--c-ink-2); font-size: 1.125rem; max-width: 52ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .7em 1.3em;
  border: 2px solid transparent; border-radius: var(--r);
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-align: center; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--cta { background: var(--c-cta); color: #fff; box-shadow: 0 4px 0 var(--c-cta-d); }
.btn--cta:hover { background: #ad3a0b; }
.btn--cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--c-cta-d); }
.btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-sand); }
.btn--wa { background: var(--c-wa); color: #fff; }
.btn--link { background: none; color: var(--c-ink-2); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.btn--sm { min-height: 42px; padding: .45em 1em; font-size: 1rem; box-shadow: 0 3px 0 var(--c-cta-d); }
.btn--xl { min-height: 60px; width: 100%; font-size: 1.1875rem; font-weight: 800; }
.btn--block { width: 100%; }
.btn--2l { flex-direction: column; gap: 1px; padding-block: .5em; min-height: 64px; }
.btn__sub { font-size: .9063rem; font-weight: 600; }

/* ---------- Bandeau et en-tête ---------- */
.strip { background: var(--c-ink); color: #fff; font-size: .9375rem; position: relative; }
.strip p { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px var(--gut) 11px; text-align: center; font-weight: 600; }
.strip .ico { color: var(--c-sun); }
.strip__more { display: none; font-weight: 400; }
@media (min-width: 760px) { .strip__more { display: inline; } }
/* Bande tissée inspirée du Faso Dan Fani */
.final::before {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--c-sun) 0 10px, var(--c-cta) 10px 16px, var(--c-ink) 16px 30px, var(--c-calm) 30px 34px, var(--c-ink) 34px 44px);
}

.top { background: #fff; border-bottom: 1px solid var(--c-line); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding-top: 6px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; }
.top__act { display: flex; align-items: center; gap: 10px; }
.top__cta { display: none; }
.wa-round { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-wa); color: #fff; }
.wa-round .ico { width: 24px; height: 24px; }
@media (min-width: 960px) {
  .top { position: sticky; top: 0; z-index: 50; }
  .top__cta { display: inline-flex; }
}

/* ---------- Haut de page ---------- */
.hero { padding: 18px 0 40px; }
.hero__grid { display: grid; gap: 16px; grid-template-areas: "head" "gallery" "buy"; }
.hero__head { grid-area: head; }
.gallery { grid-area: gallery; min-width: 0; position: relative; }
.hero__buy { grid-area: buy; display: grid; gap: 18px; align-content: start; }
.eyebrow { color: var(--c-calm-ink); font-weight: 700; font-size: .9375rem; margin-bottom: 6px; }
.hero__lead { order: 4; }
.ticks { order: 5; }
@media (min-width: 960px) { .hero__lead { order: 0; } }
h1 { font-size: clamp(1.75rem, 7.4vw, 3.15rem); font-weight: 800; letter-spacing: -0.03em; }
.hero__lead { font-size: 1.125rem; color: var(--c-ink-2); }

@media (min-width: 960px) {
  .hero { padding: 36px 0 72px; }
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "gallery head" "gallery buy"; column-gap: 56px; row-gap: 18px; align-items: start; }
  .gallery { position: sticky; top: 92px; }
  .hero__head { padding-top: 8px; }
}

.gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border-radius: var(--r-lg); background: #f3f1ee; scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 5 / 4; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .gallery__slide { aspect-ratio: 1; } }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(21, 25, 58, .3); transition: width .2s ease, background-color .2s ease; }
.gallery__dots span.is-on { width: 22px; border-radius: 4px; background: var(--c-ink); }
.gallery__thumbs { display: none; gap: 8px; margin-top: 10px; }
@media (min-width: 960px) { .gallery__thumbs { display: flex; } .gallery__dots { display: none; } }
.gallery__thumbs button { padding: 0; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; border: 2px solid var(--c-line); background: #fff; opacity: .75; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--c-ink); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.price__now { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price__old { color: var(--c-ink-2); font-size: 1.125rem; }
.price__ship { align-self: center; background: var(--c-calm-bg); color: var(--c-calm-ink); font-weight: 700; font-size: .9375rem; padding: 4px 10px; border-radius: 999px; }

.trust { display: grid; gap: 8px; font-size: 1rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .ico { color: var(--c-calm); }

.ticks { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { margin-top: 2px; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--c-calm); color: #fff; }

/* ---------- Carte des douleurs (signature) ---------- */
.zones { background: var(--c-ink); color: #fff; padding: var(--sec) 0; }
.zones__grid { display: grid; gap: 24px 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro intro" "body chips" "advice advice"; align-items: center; }
.zones__intro { grid-area: intro; }
.zones__intro p { margin-top: 12px; color: #cfd2ea; font-size: 1.125rem; max-width: 44ch; }
.zones :focus-visible { outline-color: var(--c-sun); }
.body { grid-area: body; justify-self: center; width: min(100%, 190px); }
.body svg { width: 100%; height: auto; overflow: visible; }
.body__fig { fill: #2b3272; }
.body__limb { fill: none; stroke: #2b3272; stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; }
.body__leg { fill: none; stroke: #2b3272; stroke-width: 27; stroke-linecap: round; stroke-linejoin: round; }
.body__spine { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .5 8; }
.zone { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.zone__hit { fill: transparent; }
.zone__halo { fill: url(#g-pain); transform-box: fill-box; transform-origin: center; animation: throb 2.2s ease-in-out infinite; }
.zone__core { fill: #ff6a5c; transition: fill .4s ease; }
.zone[data-zone="genoux"] .zone__halo { animation-delay: -.6s; }
.zone[data-zone="epaules"] .zone__halo { animation-delay: -1.1s; }
.zone[data-zone="coudes"] .zone__halo { animation-delay: -1.6s; }
.zone[data-zone="chevilles"] .zone__halo { animation-delay: -.3s; }
.zone.is-calm .zone__halo { fill: url(#g-calm); animation: breathe 4s ease-in-out infinite; }
.zone.is-calm .zone__core { fill: #6ff2d0; }
@keyframes throb { 0%, 100% { transform: scale(.82); opacity: .75; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes breathe { 0%, 100% { transform: scale(.95); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }
.mist circle { fill: #c9fbee; transform-box: fill-box; transform-origin: center; animation: mist .9s ease-out forwards; }
@keyframes mist { from { transform: translate(0, 0) scale(.6); opacity: .95; } to { transform: translate(var(--dx), var(--dy)) scale(1.6); opacity: 0; } }
.body__legend { display: flex; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 6px; font-size: .875rem; color: #cfd2ea; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: -6px; }
.dot--pain { background: #ff6a5c; }
.dot--calm { background: #6ff2d0; }

.chips { grid-area: chips; display: grid; gap: 8px; align-content: center; }
.chips .chip { justify-content: flex-start; }
.chip {
  min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .4);
  background: transparent; color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
}
.chip[aria-pressed="true"] { background: var(--c-calm); border-color: #6ff2d0; }
.chip[aria-pressed="true"]::before { content: ""; width: 9px; height: 15px; border: solid #fff; border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); margin-right: 4px; }
.advice { grid-area: advice; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; }
.advice__empty { color: #cfd2ea; }
.advice__t { font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.advice__list { display: grid; gap: 10px; color: #e3e5f5; }
.advice__list strong { color: #fff; }
.advice__how { padding: 12px 14px; border-radius: 12px; background: rgba(111, 242, 208, .12); color: #e9fbf6; }
.advice__tip { color: var(--c-sun); font-weight: 600; }

@media (min-width: 900px) {
  .zones__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto auto auto 1fr; grid-template-areas: "body intro" "body chips" "body advice" "body ."; gap: 22px 64px; align-items: start; }
  .body { width: min(100%, 330px); align-self: center; }
  .chips { display: flex; flex-wrap: wrap; }
}

/* ---------- Une journée ---------- */
.day { background: var(--c-sand); padding: var(--sec) 0; }
.timeline { position: relative; display: grid; gap: 26px; margin-top: 36px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--c-line); }
.timeline li { position: relative; padding-left: 38px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-sand); border: 4px solid var(--c-cta); }
.timeline__when { display: block; font-weight: 800; font-size: 1.25rem; margin-bottom: 4px; }
.timeline p { color: var(--c-ink-2); max-width: 46ch; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .timeline::before { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 2px; }
  .timeline li { padding: 34px 0 0; }
}

/* ---------- Mode d'emploi ---------- */
.use { padding: var(--sec) 0; }
.use__grid { display: grid; gap: 28px; align-items: center; }
.use__img { width: 100%; max-width: 440px; border-radius: var(--r-lg); aspect-ratio: 1; object-fit: cover; }
.steps { counter-reset: s; display: grid; gap: 18px; margin-top: 24px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; color: var(--c-ink-2); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-sun); color: var(--c-ink); font-weight: 800; font-size: 1.25rem; }
.steps li p { align-self: center; }
.steps strong { color: var(--c-ink); }
.note { margin-top: 22px; font-size: .9375rem; color: var(--c-ink-2); }
@media (min-width: 900px) { .use__grid { grid-template-columns: 440px minmax(0, 1fr); gap: 64px; } }

/* ---------- Comparaison ---------- */
.compare { background: var(--c-sand); padding: var(--sec) 0; }
.table-wrap { margin-top: 28px; max-width: 760px; }
.ctable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; font-size: 1rem; }
.ctable th, .ctable td { padding: 14px 8px; border-bottom: 1px solid var(--c-line); }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable thead th { font-size: .9375rem; font-weight: 700; color: var(--c-ink-2); text-align: center; }
.ctable tbody th { text-align: left; font-weight: 600; padding-left: 16px; width: 40%; }
.ctable td { text-align: center; }
.ctable td .ico { margin: 0 auto; width: 26px; height: 26px; }
.ctable .yes { color: var(--c-calm); }
.ctable .no { color: var(--c-err); }
.ctable .is-us { background: var(--c-calm-bg); }
.ctable thead .is-us { background: var(--c-calm); color: #fff; }

/* ---------- Prix par jour ---------- */
.perday { background: var(--c-sun); padding: clamp(48px, 8vw, 84px) 0; }
.perday__in { text-align: center; }
.perday h2 { font-size: clamp(2rem, 8.5vw, 3.8rem); letter-spacing: -0.035em; }
.perday p { margin: 14px auto 0; max-width: 46ch; font-size: 1.125rem; font-weight: 500; }

/* ---------- Avis ---------- */
.reviews { padding: var(--sec) 0; }
.reviews__list { display: grid; gap: 16px; margin-top: 28px; }
.review { border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 10px; background: #fff; }
.review img { border-radius: 12px; width: 100%; }
.review__who { font-weight: 700; }
.review__who span { font-weight: 400; color: var(--c-ink-2); }
@media (min-width: 760px) { .reviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Offres ---------- */
.offers { background: var(--c-sand); padding: var(--sec) 0; }
.offers__list { display: grid; gap: 16px; margin-top: 28px; }
.offer { position: relative; background: #fff; border: 2px solid var(--c-line); border-radius: var(--r-lg); padding: 22px 20px 20px; display: grid; gap: 8px; align-content: start; }
.offer--hl { border-color: var(--c-cta); box-shadow: 0 12px 28px -18px rgba(194, 65, 12, .55); }
.offer__flag { position: absolute; top: -13px; left: 18px; background: var(--c-cta); color: #fff; font-size: .875rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.offer__t { font-size: 1.4rem; font-weight: 800; }
.offer__d { color: var(--c-ink-2); }
.offer__bottles { display: flex; gap: 6px; margin: 6px 0 2px; }
.offer__p { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.offer__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--c-ink-2); font-size: .9375rem; }
.offer__save { color: var(--c-calm-ink); font-weight: 700; }
.offer .btn { margin-top: 8px; width: 100%; }
@media (min-width: 900px) { .offers__list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }

/* ---------- Livraison ---------- */
.route { padding: var(--sec) 0; }
.route__steps { display: grid; gap: 0; margin-top: 32px; position: relative; }
.route__steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding-bottom: 26px; }
.route__steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; border-left: 2px dashed var(--c-field); }
.route__n { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-ink); color: #fff; font-weight: 800; font-size: 1.2rem; }
.route__steps li:last-child .route__n { background: var(--c-calm); }
.route__steps h3 { font-size: 1.2rem; font-weight: 800; padding-top: 10px; }
.route__steps p { color: var(--c-ink-2); margin-top: 4px; }
.delays { margin-top: 8px; display: grid; gap: 12px; background: var(--c-sand); border-radius: var(--r-lg); padding: 18px 20px; }
.delays p { display: flex; gap: 12px; align-items: flex-start; }
.delays .ico { margin-top: 3px; color: var(--c-cta); }
@media (min-width: 900px) {
  .route__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .route__steps li { grid-template-columns: 1fr; padding-bottom: 0; }
  .route__steps li:not(:last-child)::after { left: 60px; right: -12px; top: 23px; bottom: auto; border-left: 0; border-top: 2px dashed var(--c-field); }
  .route__n { grid-row: auto; }
  .route__steps h3 { padding-top: 14px; }
  .delays { margin-top: 36px; grid-template-columns: 1fr 1fr; }
}

/* ---------- Questions ---------- */
.faq { background: var(--c-sand); padding: var(--sec) 0; }
.faq__in { max-width: 780px; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; font-weight: 700; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; font-size: 1.4rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--c-ink-2); max-width: 64ch; }

/* ---------- Dernier appel ---------- */
.final { position: relative; background: var(--c-ink); color: #fff; padding: calc(var(--sec) + 6px) 0 var(--sec); text-align: center; }
.final::before { top: 0; }
.final__in { display: grid; justify-items: center; gap: 18px; }
.final h2 { max-width: 20ch; }
.final__price { font-size: 1.6rem; font-weight: 800; }
.final__price s { font-size: 1.1rem; font-weight: 400; color: #b9bdd9; margin-left: 8px; }
.final .btn--xl { max-width: 460px; }
.final__fine { display: flex; align-items: center; gap: 8px; color: #cfd2ea; font-size: .9375rem; }
.final__fine .ico { color: var(--c-sun); }

.foot { background: var(--c-night); color: #c3c7e2; padding: 36px 0 calc(36px + 76px); font-size: .9375rem; }
.foot__in { display: grid; gap: 8px; text-align: center; justify-items: center; }
.foot__brand { color: #fff; font-weight: 800; font-size: 1.2rem; }
.foot a { color: #fff; }
.foot__fine { max-width: 60ch; }
@media (min-width: 960px) { .foot { padding-bottom: 36px; } }

/* ---------- Barre collante (téléphone) ---------- */
.stick {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px -12px rgba(21, 25, 58, .25);
  transform: translateY(110%); transition: transform .25s ease; visibility: hidden;
}
.stick.is-on { transform: none; visibility: visible; }
.stick__price { display: grid; line-height: 1.2; }
.stick__price strong { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stick__price span { font-size: .875rem; color: var(--c-calm-ink); font-weight: 600; }
.stick .btn { min-height: 52px; padding-inline: 1.6em; font-size: 1.125rem; }
@media (min-width: 960px) { .stick { display: none; } }

/* ---------- Fenêtre de commande ---------- */
/* Sans JavaScript : section normale en bas de page */
.sheet { background: var(--c-sand); padding: 32px 0; }
.sheet__panel { max-width: 560px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); }
.sheet__backdrop, .sheet__x, .sheet [data-close] { display: none; }

.js .sheet { position: fixed; inset: 0; z-index: 100; display: none; background: none; padding: 0; }
.js .sheet.is-open { display: block; }
.js .sheet [data-close] { display: inline-flex; }
.js .sheet__backdrop { display: block; position: absolute; inset: 0; background: rgba(10, 12, 32, .62); opacity: 0; transition: opacity .25s ease; }
.js .sheet.is-in .sheet__backdrop { opacity: 1; }
.js .sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; max-width: none;
  display: flex; flex-direction: column; max-height: 94vh; max-height: 94dvh;
  border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .5);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.js .sheet.is-in .sheet__panel { transform: none; }
.js .sheet__panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: #d8d2c7; }
.sheet__panel:focus { outline: none; }
@media (min-width: 700px) {
  .js .sheet__panel { left: 50%; top: 50%; bottom: auto; right: auto; width: min(560px, 92vw); max-height: 92vh; border-radius: 22px; transform: translate(-50%, -46%); opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; }
  .js .sheet.is-in .sheet__panel { transform: translate(-50%, -50%); opacity: 1; }
  .js .sheet__panel::before { display: none; }
}
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 14px 10px 20px; border-bottom: 1px solid var(--c-line); }
.sheet__head h2 { font-size: 1.35rem; }
.sheet__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-sand); align-items: center; justify-content: center; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 20px calc(22px + env(safe-area-inset-bottom)); }

.order { display: grid; gap: 18px; }
.order__safe { display: flex; gap: 10px; align-items: flex-start; background: var(--c-calm-bg); color: var(--c-calm-ink); border-radius: 12px; padding: 10px 12px; font-size: .9688rem; }
.order__safe .ico { margin-top: 2px; }
.order fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.order legend, .order label { font-weight: 700; padding: 0; }
.packs legend { margin-bottom: 8px; }
.packs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pack { position: relative; display: block; cursor: pointer; }
.pack input, .city input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pack__box { display: grid; gap: 2px; justify-items: center; text-align: center; height: 100%; padding: 10px 4px; border: 2px solid var(--c-line); border-radius: 12px; font-weight: 400; line-height: 1.25; }
.pack__t { font-weight: 800; }
.pack__p { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.pack__save { font-size: .8125rem; color: var(--c-calm-ink); font-weight: 700; }
.pack input:checked + .pack__box { border-color: var(--c-cta); background: #fff4ec; box-shadow: inset 0 0 0 1px var(--c-cta); }
.pack input:focus-visible + .pack__box, .city input:focus-visible + span { outline: 3px solid var(--c-ink); outline-offset: 2px; }

.field { display: grid; gap: 6px; }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; height: 54px; padding: 0 14px; font-size: 1.0625rem;
  border: 2px solid var(--c-field); border-radius: 12px; background: #fff;
  -webkit-appearance: none; appearance: none;
}
.field input:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(21, 25, 58, .15); }
.field input[aria-invalid="true"] { border-color: var(--c-err); }
.field__hint { font-size: .9375rem; color: var(--c-ink-2); }
.field__err { font-size: .9375rem; color: var(--c-err); font-weight: 600; }
.field__err:empty { display: none; }
.field__more { display: grid; gap: 6px; margin-top: 10px; }
.tel { display: flex; }
.tel__cc { display: grid; place-items: center; padding: 0 12px; background: var(--c-sand); border: 2px solid var(--c-field); border-right: 0; border-radius: 12px 0 0 12px; font-weight: 700; }
.tel input[type="tel"] { border-radius: 0 12px 12px 0; letter-spacing: .02em; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.city { position: relative; }
.city span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 2px solid var(--c-field); border-radius: 999px; font-weight: 600; cursor: pointer; }
.city input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.recap { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--c-field); }
.recap p { display: flex; justify-content: space-between; gap: 12px; }
.recap p span:last-child { color: var(--c-calm-ink); font-weight: 700; }
.recap__total { font-weight: 700; align-items: baseline; }
.recap__total strong { font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.order__fine { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: -6px; font-size: .9375rem; color: var(--c-ink-2); text-align: center; }
.order__err { color: var(--c-err); font-weight: 600; text-align: center; }
.order__err:empty { display: none; }
.btn[aria-busy="true"] { opacity: .8; pointer-events: none; }

.done { display: grid; gap: 16px; text-align: center; justify-items: center; padding: 6px 0 4px; }
.done:focus { outline: none; }
.done__badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-calm); color: #fff; }
.done__badge .ico { width: 34px; height: 34px; }
.done__t { font-size: 1.5rem; font-weight: 800; }
.done__id { color: var(--c-ink-2); }
.done__next { display: grid; gap: 12px; text-align: left; width: 100%; background: var(--c-sand); border-radius: 16px; padding: 16px; }
.done__next li { display: flex; gap: 12px; align-items: flex-start; }
.done__next .ico { margin-top: 2px; color: var(--c-cta); }
.done--warn .done__t { color: var(--c-ink); }
.upsell { width: 100%; text-align: left; border: 2px dashed var(--c-cta); background: #fff7f0; border-radius: 16px; padding: 16px; display: grid; gap: 8px; }
.upsell__t { font-weight: 800; font-size: 1.15rem; }
.upsell__d { color: var(--c-ink-2); }
.upsell__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px; }
.upsell__ok { width: 100%; background: var(--c-calm-bg); color: var(--c-calm-ink); border-radius: 12px; padding: 12px 14px; font-weight: 700; }

html.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .gallery__track { scroll-behavior: auto; }
}
