/* ==========================================================================
   dJust — front-end Black Friday, registre médical
   Monde : la fiche de formule, au nom de la marque dJust. Chaque produit est une fiche
   (numéro, composition dosée, prix) ; la promotion est une ligne de prix datée.
   Blanc, gris-bleu très clair, encre bleu-noir, cyan du logo en repère.
   ========================================================================== */

:root {
  --ink: #0b1c26;
  --ink-hover: #17313f;
  --ink-2: #44545e;
  --ink-3: #5b6a74;
  --paper: #fff;
  --mist: #f3f6f8;
  --line: #dde5ea;
  --line-strong: #b6c3cb;
  --line-ctl: #7d909b;
  --cyan: #00aeef;
  --cyan-ink: #00709c;
  --cyan-wash: #e5f6fd;
  --on-ink-2: #c3d0d8;
  --on-ink-line: rgb(255 255 255 / 0.2);

  --font: "Libre Franklin", "Franklin Gothic Medium", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 44px);
  --wrap: 78.75rem;
  --radius: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 2px rgb(11 28 38 / 0.06), 0 10px 24px -14px rgb(11 28 38 / 0.22);
  --shadow-2: 0 2px 4px rgb(11 28 38 / 0.1), 0 22px 40px -20px rgb(11 28 38 / 0.4);
  --ticket-w: 25.5rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  /* la page grandit avec les très grands écrans (à partir de 1800 px environ) */
  font-size: clamp(100%, calc(0.789vw + 0.1125rem), 137.5%);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-color: var(--line-strong) var(--mist);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  caret-color: var(--cyan-ink);
}

::selection { background: var(--cyan-wash); color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
s { text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible, .ftr :focus-visible, .tape:focus-visible, .tape :focus-visible, .keytoast :focus-visible { outline-color: var(--cyan); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- texte */

.display {
  font-weight: 600;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h2 {
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 { font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.lede { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); max-width: 58ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.on-ink { background: var(--ink); color: #fff; }
.on-ink .muted, .on-ink .lede { color: var(--on-ink-2); }
.on-mist { background: var(--mist); }

/* -------------------------------------------------------------- boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.65em 1.3em;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 6px;
  font-weight: 600; font-size: 1rem; line-height: 1.15;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, translate 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); translate: 0 -1px; box-shadow: var(--shadow-1); }
.btn:active { translate: 0 0; box-shadow: none; }
.btn--paper { background: #fff; color: var(--ink); border-color: var(--line-ctl); }
.btn--paper:hover { background: #fff; border-color: var(--ink); }
.btn--wide { width: 100%; }
.btn[disabled] { background: var(--mist); color: var(--ink-2); border-color: var(--line); cursor: not-allowed; translate: none; box-shadow: none; }
.on-ink .btn { background: #fff; color: var(--ink); border-color: #fff; }
.on-ink .btn:hover { background: var(--cyan-wash); border-color: var(--cyan-wash); }
.on-ink .btn--paper { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.55); }
.on-ink .btn--paper:hover { background: rgb(255 255 255 / 0.08); border-color: #fff; }

.link { font-weight: 600; text-decoration: underline; }
.link:hover { color: var(--cyan-ink); }
.on-ink .link:hover { color: var(--cyan); }

/* ------------------------------------------- repères : remise, prix, code */

/* remise : un repère court, jamais un décor */
.off {
  display: inline-flex; align-items: center; padding: 0.3em 0.55em; border-radius: 4px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: 0.8125rem; line-height: 1; font-variant-numeric: tabular-nums lining-nums;
}
.off--lg { font-size: 1rem; padding: 0.4em 0.7em; }

/* prix : date de validité, prix public barré, prix Black Friday */
.price { display: inline-grid; gap: 3px; line-height: 1.15; font-variant-numeric: tabular-nums lining-nums; }
.price > small { font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.price__row { display: inline-flex; align-items: baseline; gap: 0.5em; }
.price s { font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap; }
.price b { font-weight: 700; font-size: 1.3125rem; letter-spacing: -0.01em; white-space: nowrap; }
.price--xl b { font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; }
.price--xl s { font-size: 1.0625rem; }
.price--xl > small { font-size: 0.8125rem; }

/* cartouche de prix posé sur une photo */
.pricecard {
  display: block; padding: 8px 12px 9px; background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-2); text-decoration: none; line-height: 1.2; font-variant-numeric: tabular-nums lining-nums;
  transition: translate 0.25s var(--ease);
}
.pricecard:hover { translate: 0 -2px; }
.pricecard small { display: block; font-size: 0.8125rem; font-weight: 600; }
.pricecard s { font-size: 0.8125rem; color: var(--ink-2); }
.pricecard b { font-weight: 700; font-size: 1.0625rem; }

/* donnée courte : conditionnement, code CNK */
.slip {
  display: inline-flex; align-items: center; padding: 0.25em 0.6em; background: #fff; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 4px;
  font-weight: 500; font-size: 0.8125rem; line-height: 1.3; font-variant-numeric: tabular-nums lining-nums;
}

/* ------------------------------------------------------- barre d'annonce */

.tape { background: var(--ink); color: #fff; overflow-x: auto; scrollbar-width: none; }
.tape::-webkit-scrollbar { display: none; }
.tape:focus-visible { outline-offset: -3px; border-radius: 0; }
/* trois repères, chacun porté par un signe : la remise, la camionnette, les étoiles */
.tape__track { display: flex; align-items: center; justify-content: safe center; gap: clamp(32px, 5.5vw, 96px); width: max-content; min-width: 100%; padding: 5px var(--gutter); }
.tape__item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.8125rem; font-weight: 500; line-height: 1.3; white-space: nowrap; color: var(--on-ink-2); font-variant-numeric: tabular-nums lining-nums; }
.tape__off { padding: 3px 7px; border-radius: 4px; background: var(--cyan); color: var(--ink); font-weight: 700; line-height: 1.15; }
.tape__item:first-child { color: #fff; }
.tape__ship .icon { width: 19px; height: 19px; color: var(--cyan); }
.tape__score { display: inline-flex; align-items: center; gap: 9px; }
.tape__rev b { color: #fff; font-weight: 700; }
.tape__stars { position: relative; font-size: 0.875rem; letter-spacing: 1px; color: rgb(255 255 255 / 0.28); }
.tape__stars::before { content: "★★★★★"; }
.tape__stars::after { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--r) * 100%); overflow: hidden; color: var(--cyan); }
/* cinq visages générés, en pile, devant le nombre d'avis */
.tape__faces { display: inline-flex; margin-left: 3px; }
.tape__faces img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); background: var(--ink-hover); object-fit: cover; }
.tape__faces img + img { margin-left: -8px; }
/* rappel des avis, toujours avec sa source : fiche produit et panier */
.rev { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.rev b { margin-right: 0.25em; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }
.rev__star { color: var(--cyan-ink); }
.buy__rev { margin-top: 14px; }
.ticket__rev { margin-top: 12px; font-size: 0.875rem; }
/* tablette : la remise et la livraison ; téléphone : la remise seule, sur une ligne */
@media (max-width: 899px) { .tape__rev { display: none; } }
@media (max-width: 559px) {
  .tape { overflow: visible; }
  .tape__track { width: auto; min-width: 0; justify-content: center; }
  .tape__ship { display: none; }
}

/* ---------------------------------------------------------------- en-tête */

.hdr {
  --logo: 4.25rem; --hdr-ease: 0.35s var(--ease);
  position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow var(--hdr-ease);
}
/* verre dépoli dès le haut de la page : sur l'accueil, la vidéo du héros passe dessous (voir .herotrack) */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hdr { background: rgb(255 255 255 / 0.62); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
}
/* en défilant, l'en-tête garde sa hauteur et prend seulement une ombre */
.hdr.is-min { box-shadow: 0 10px 28px -22px rgb(11 28 38 / 0.45); }
@media (prefers-reduced-motion: reduce) { .hdr { transition: none; } }
/* le logo à gauche, la campagne et le panier à droite, les rayons centrés dans l'espace qui reste entre eux */
.hdr__in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav tools"; align-items: center; gap: 8px 18px; padding-block: 8px; }
.hdr__logo { grid-area: logo; justify-self: start; display: block; width: var(--logo); border-radius: 50%; }
.hdr__logo img { width: 100%; height: auto; }
.nav { grid-area: nav; display: flex; align-items: center; justify-content: safe center; gap: clamp(4px, 1.1vw, 20px); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-weight: 500; font-size: 0.98rem; text-decoration: none; white-space: nowrap;
  border-block: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--cyan-ink); }
/* petit pictogramme de rayon, à gauche du libellé */
.nav a:has(.pic) { gap: 6px; }
.nav .pic--nav { width: 1.25rem; }
.nav .pic--nav .ico { stroke-width: 54; }
.nav a[aria-current] { border-bottom-color: var(--ink); font-weight: 600; }
/* cartouche Black Friday : à droite du logo sur grand écran, en bout de menu sinon */
/* fond cyan lavé, une bande cyan traverse le cartouche toutes les 7 s : elle attire l'œil sans clignoter */
:is(.nav, .hdr__tools) a.nav__bf {
  /* flex: none : avec overflow: hidden (pour le reflet), le cartouche pouvait rétrécir sous son texte
     dans le menu qui défile (mobile : « Bl » sur 30 px) */
  flex: none; position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; padding: 0 14px;
  background: var(--cyan-wash); color: var(--ink); border: 1px solid var(--cyan-wash); border-radius: 6px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s;
}
.nav__bf em { font-style: normal; font-weight: 700; color: var(--cyan-ink); font-variant-numeric: tabular-nums lining-nums; }
:is(.nav, .hdr__tools) a.nav__bf:hover { background: #d3effb; border-color: #d3effb; color: var(--ink); }
:is(.nav, .hdr__tools) a.nav__bf[aria-current] { border-color: rgb(0 112 156 / 0.35); }
.nav__bf::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgb(0 174 239 / 0.3) 50%, transparent 70%);
  translate: -110% 0;
}
@media (prefers-reduced-motion: no-preference) {
  .nav__bf::after { animation: bf-sheen 7s ease-in-out 1.2s infinite; }
  @keyframes bf-sheen { 0% { translate: -110% 0; } 22%, 100% { translate: 110% 0; } }
}
.hdr .nav a.nav__bf { display: none; }
.hdr__tools { grid-area: tools; justify-self: end; display: flex; align-items: center; gap: 14px; }
.hdr__acts { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line-ctl); border-radius: 6px; overflow: hidden; }
.lang button { min-width: 44px; min-height: 44px; padding: 0 10px; background: #fff; border: 0; font-weight: 600; font-size: 0.875rem; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
/* dans l'en-tête, à droite du panier : même hauteur que lui (44 px, bordure comprise) */
.hdr .lang button { min-width: 42px; min-height: 42px; transition: background-color 0.2s; }
.hdr .lang button[aria-pressed="false"]:hover { background: var(--line); }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; color: inherit; border: 1px solid transparent; border-radius: 6px; text-decoration: none; transition: border-color 0.2s; }
.iconbtn:hover { border-color: var(--line-strong); }
.cartbtn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  background: var(--ink); color: #fff; border: 0; border-radius: 6px; font-weight: 600; font-size: 0.9375rem;
  transition: background-color 0.2s;
}
.cartbtn:hover { background: var(--ink-hover); }
.cartbtn__n { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--cyan); color: var(--ink); font-weight: 700; font-size: 0.8125rem; font-variant-numeric: tabular-nums lining-nums; }
.cartbtn.is-bump .cartbtn__n { animation: bump 0.45s var(--ease); }
@keyframes bump { 0% { scale: 1.5; } 100% { scale: 1; } }
/* sous 1260 px : le logo, le panier et la langue sur une ligne, le menu complet dessous
   (avec la langue dans l'en-tête, le menu déborde sur une seule ligne jusqu'à 1212 px en portugais) */
@media (max-width: 1259px) {
  .hdr__in { grid-template-areas: "logo . acts" "nav nav nav"; }
  .hdr__tools { display: contents; }
  .hdr .hdr__tools a.hdr__bf { display: none; }
  .hdr .nav a.nav__bf { display: inline-flex; }
  .hdr__acts { grid-area: acts; justify-self: end; }
  .nav { justify-content: safe center; }
}
@media (max-width: 880px) {
  .nav, .filters .chips { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), #0000); mask-image: linear-gradient(to right, #000 calc(100% - 36px), #0000); padding-right: 36px; }
  .hdr__in { column-gap: 12px; }
  .nav { justify-content: start; margin-inline: calc(var(--gutter) * -1); padding-left: var(--gutter); }
  .cartbtn__label { display: none; }
  .hdr { --logo: 3.25rem; }
}

/* ------------------------------------------------------------------ héros */

.hero { position: relative; padding-top: clamp(28px, 3.9vw, 56px); overflow: clip; }
.hero__in { display: grid; gap: 28px; align-items: center; }
.hero__copy { padding-bottom: clamp(36px, 5vw, 84px); position: relative; z-index: 2; }
.hero__copy .lede { margin-top: 1.3rem; max-width: 47ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.9rem; }
/* sur téléphone, les deux boutons prennent toute la largeur, sous le pouce */
@media (max-width: 559px) { .hero__cta .btn { flex: 1 1 100%; } }
/* la note des avis, avec sa source : un lien discret sous les boutons */
.hero__rev { margin-top: 1.1rem; font-size: 0.9375rem; line-height: 1.45; color: var(--on-ink-2); }
.hero__rev b { margin-right: 0.3em; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.hero__star { color: var(--cyan); }
.pricecard__brand { display: inline-block; width: 20px; height: 20px; margin-right: 4px; vertical-align: -5px; border-radius: 50%; }
/* une personne derrière, les vrais produits devant */
.film { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-hover); }
.film video, .film > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__toggle {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--ink); color: #fff; border: 0; border-radius: 50%; transition: background-color 0.2s;
}
.film__toggle:hover { background: var(--ink-hover); }
.film__toggle:focus-visible { outline-color: var(--cyan); }
.film__toggle .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.hero__art { position: relative; display: grid; align-self: center; margin-bottom: clamp(28px, 4vw, 60px); }
.hero__film { grid-area: 1 / 1; aspect-ratio: 11 / 8; margin-bottom: 12%; }
/* fichier déjà retourné en miroir (keuken-jong-boite) : la personne à droite, la boîte n°1 posée devant elle */
.hero__film video { object-position: 76% 50%; }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
}
/* ordinateur : la vidéo couvre tout le héros et remonte sous l'en-tête (--hdr-h, posée par app.js ; repli calculé sur
   la grille de l'en-tête : une ligne dès 1260 px, deux en dessous), le titre posé sur son côté gauche assombri.
   La vidéo est retournée en miroir dans le fichier même (la boîte CC Complex n°1 y est posée sur le plan de travail, son
   texte reste à l'endroit) : la personne est à droite et laisse le côté gauche libre pour le titre. */
@media (min-width: 900px) {
  .herotrack { --pull: var(--hdr-h, 137px); margin-top: calc(-1 * var(--pull)); background: var(--ink); }
  .herotrack > .hero { padding-top: calc(var(--pull) + clamp(28px, 3.9vw, 56px)); }
  .herotrack .hero__art { position: static; grid-template-columns: minmax(0, 1fr); }
  .herotrack .hero__art::before { content: ""; width: 100%; grid-area: 1 / 1; aspect-ratio: 11 / 8; margin-bottom: 12%; }
  .herotrack .hero__film { position: absolute; inset: 0; z-index: 0; margin: 0; aspect-ratio: auto; border-radius: 0; background: var(--ink); }
  /* la vidéo garde toute sa hauteur (la tête et la boîte sur le plan de travail restent visibles), calée à droite ;
     sur un écran plus large qu'elle, son bord gauche se fond dans le bleu nuit, sous le voile */
  .herotrack .hero__film video {
    position: absolute; top: 0; right: 0; width: auto; height: 100%; aspect-ratio: 1280 / 724; object-position: 100% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%);
  }
  .herotrack .hero__film::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgb(11 28 38 / 0.9) 0%, rgb(11 28 38 / 0.72) 36%, rgb(11 28 38 / 0.2) 60%, transparent 78%);
  }
  .herotrack .film__toggle { z-index: 1; top: calc(var(--pull) + 12px); right: var(--gutter); }
}
@media (min-width: 1260px) {
  .herotrack { --pull: var(--hdr-h, 85px); }
}
@media (max-width: 899px) {
  /* petit écran : le titre, puis la boîte et son prix, puis les deux boutons, avant le reste */
  .hero__in { gap: 0; padding-bottom: 40px; }
  .hero__copy { display: contents; }
  .hero__copy .display { order: 1; }
  .hero__art { order: 2; margin-top: 18px; margin-bottom: 0; }
  .hero__film { aspect-ratio: 16 / 9; margin-bottom: 0; }
  .hero__cta { order: 3; margin-top: 22px; }
  .hero__rev { order: 3; }
  .hero__copy .lede { order: 4; }
  .count { order: 5; }
}

/* compte à rebours : un relevé de chiffres, la date limite écrite en toutes lettres */
.count { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 2.2rem; }
.count__cells { display: flex; }
.count__cell { display: grid; justify-items: start; padding: 0 18px; border-left: 1px solid var(--on-ink-line); }
.count__cell:first-child { padding-left: 0; border-left: 0; }
.count__cell b { font-weight: 300; font-size: 2.25rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.count__cell span { margin-top: 4px; font-size: 0.8125rem; font-weight: 500; color: var(--on-ink-2); }
.count__text { font-size: 0.9375rem; line-height: 1.4; max-width: 24ch; color: var(--on-ink-2); }

/* ------------------------------------------------------- preuves vérifiables */

.trust { border-bottom: 1px solid var(--line); }
.trust__in { display: grid; grid-template-columns: 1fr; }
.trust__in > div { padding: 20px 0; border-top: 1px solid var(--line); }
.trust__in > div:first-child { border-top: 0; }
.trust dt { font-weight: 600; line-height: 1.3; }
.trust dd { margin-top: 4px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
@media (min-width: 620px) {
  .trust__in { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .trust__in > div:nth-child(2) { border-top: 0; }
}
@media (min-width: 1040px) {
  .trust__in { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 0; }
  .trust__in > div { padding: 26px 28px; border-top: 0; border-left: 1px solid var(--line); }
  .trust__in > div:first-child { padding-left: 0; border-left: 0; }
}

/* ----------------------------------------------------- sections communes */

.sec { padding-block: clamp(60px, 8vw, 116px); position: relative; }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(26px, 3.6vw, 48px); }
.sec__head--row { align-items: end; }
@media (min-width: 800px) { .sec__head--row { grid-template-columns: 1fr auto; } }

/* --------------------------------------------- comment la remise s'applique */

.proof__in { display: grid; gap: 36px; align-items: center; }
.proof__copy .h2 { margin-bottom: 1.2rem; max-width: 18ch; }
.proof__copy p { max-width: 54ch; }
.proof__copy p + p { margin-top: 1em; }
@media (min-width: 900px) { .proof__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }

.receipt {
  width: min(100%, 27rem); justify-self: end; padding: 22px 24px 20px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  font-size: 0.9875rem; line-height: 1.4; font-variant-numeric: tabular-nums lining-nums;
}
.receipt__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.receipt__head img { width: 36px; height: 36px; }
.receipt__head strong { display: block; font-weight: 600; line-height: 1.2; }
.receipt__head span { font-size: 0.8125rem; color: var(--ink-2); }
.receipt__row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.receipt__row dt { min-width: 0; }
.receipt__row dd { white-space: nowrap; }
.receipt__rule { border-top: 1px solid var(--line); margin: 8px 0; }
.receipt__row--bf { font-weight: 600; }
.receipt__row--bf dd span, .sum__bf dd span { background: var(--cyan-wash); padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.receipt__row--free dd { font-weight: 600; }
.receipt__row--total { padding-top: 8px; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.receipt__foot { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-2); }
@media (max-width: 899px) { .receipt { justify-self: start; } }

/* ------------------------------------------- l'index des formules numérotées */

.finder__in { display: grid; gap: 36px; align-items: start; }
.finder__key { display: flex; align-items: center; gap: 12px; margin-top: 1.7rem; }
.finder__key label { font-weight: 600; font-size: 1.5rem; }
.finder__key input {
  width: 3.4ch; min-height: 56px; padding: 0 0.3ch; text-align: center; box-sizing: content-box;
  background: #fff; color: var(--ink); border: 1px solid var(--line-ctl); border-radius: 6px;
  font-weight: 300; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums lining-nums;
}
.finder__key input:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 2px; border-color: var(--cyan-ink); border-radius: 6px; }
.finder__hint { font-size: 0.9375rem; max-width: 28ch; line-height: 1.4; }
/* écran tactile sans clavier : le raccourci par chiffres et sa consigne n'ont pas d'objet */
@media (hover: none) and (pointer: coarse) { .finder__hint, .keys { display: none; } }
.keys { margin-top: 12px; min-height: 44px; padding: 0 14px; background: #fff; color: var(--ink); border: 1px solid var(--line-ctl); border-radius: 6px; font-weight: 500; font-size: 0.9375rem; transition: border-color 0.2s; }
.keys:hover { border-color: var(--ink); }
.keys[aria-pressed="false"] { color: var(--ink-2); }
/* section avis : une carte par formule notée, la source sous chaque note */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 12px; margin-top: clamp(22px, 3vw, 36px); padding: 0; list-style: none; }
.rcard { display: grid; align-content: start; gap: 6px; padding: clamp(14px, 2vw, 18px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.rcard__main { display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.rcard__main:hover .rcard__n { color: var(--cyan-ink); }
.rcard__n { font-weight: 300; font-size: 2.5rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; transition: color 0.2s; }
.rcard__n small { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0; }
.rcard__lab { min-height: 2.6em; font-size: 0.9375rem; line-height: 1.3; color: var(--ink-2); }
.rcard__score { display: flex; align-items: baseline; gap: 2px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.9375rem; font-variant-numeric: tabular-nums lining-nums; }
.rcard__score b { font-weight: 700; font-size: 1.5rem; line-height: 1; }
.rcard__stars { position: relative; margin-left: auto; font-size: 1rem; letter-spacing: 1px; color: var(--line-strong); }
.rcard__stars::before { content: "★★★★★"; }
.rcard__stars::after { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--r) * 100%); overflow: hidden; color: var(--cyan-ink); }
.rcard__count { font-size: 0.875rem; color: var(--ink-2); }
.rcard__src { margin-top: 4px; font-size: 0.875rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.rcard__src:hover { text-decoration-color: currentColor; }
/* carrousel d'avis : une carte par formule notée, 1 à 4 visibles selon la largeur (82vw, puis 2, 3, 4 par rangée).
   En haut une photo générée avec la vraie boîte posée devant ; dessous la composition (lien vers la fiche), la note,
   un avis cité mot pour mot, le prix et l'ajout au panier. Défilement natif à accrochage, sans défilement automatique. */
/* pagination sous le carrousel : une barre fine dont le curseur suit le défilement (sa largeur = la part des cartes
   visibles), puis les deux flèches. Cachée quand toutes les cartes tiennent à l'écran. */
.car__nav { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.car__nav[hidden] { display: none; }
.car__track { position: relative; flex: 1; height: 3px; margin-right: clamp(8px, 2vw, 24px); border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.car__thumb { position: absolute; inset-block: 0; left: calc(var(--x, 0) * (100% - var(--w, 0.25) * 100%)); width: calc(var(--w, 0.25) * 100%); border-radius: inherit; background: var(--ink); }
.car__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: #fff; color: var(--ink); border: 1px solid var(--line-ctl); border-radius: 6px; transition: border-color 0.2s, opacity 0.2s; }
.car__btn:hover:not(:disabled) { border-color: var(--ink); }
.car__btn:disabled { opacity: 0.35; cursor: default; }
.car__btn--prev .icon { rotate: 180deg; }
/* note globale et source des avis, en petit au-dessus du carrousel */
.rev.reviews__src { margin-bottom: 14px; font-size: 0.8125rem; }
.car {
  --car-pad: max(var(--gutter), (100% - var(--wrap)) / 2);
  --car-gap: clamp(12px, 1.4vw, 20px);
  position: relative; display: flex; gap: var(--car-gap); margin: 0; padding: 4px var(--car-pad) 14px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--car-pad); overscroll-behavior-x: contain; scrollbar-width: none;
}
.car::-webkit-scrollbar { display: none; }
.car:focus-visible { outline-offset: -2px; }
.car__slide { flex: 0 0 min(82vw, 22rem); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.car__media { position: relative; overflow: hidden; margin: 0; aspect-ratio: 16 / 9; background: var(--ink-hover); }
.car__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.car__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: clamp(14px, 1.3vw, 20px); }
.car__lab { align-self: flex-start; font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.car__lab:hover { color: var(--cyan-ink); }
.car__score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-variant-numeric: tabular-nums lining-nums; }
.car__score b { font-size: 1.25rem; font-weight: 700; line-height: 1; }
.car__score .rcard__stars { margin-left: 2px; }
.car__n { font-size: 0.875rem; color: var(--ink-2); }
.car__quote { margin: 4px 0 0; }
.car__quote p { font-weight: 500; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; text-wrap: pretty; }
.car__quote footer { margin-top: 6px; font-size: 0.8125rem; line-height: 1.4; color: var(--ink-2); }
.car__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
/* dès deux cartes par rangée, le carrousel s'arrête aux bords de la colonne : on voit 2, 3 ou 4 cartes, pas une de plus
   dans la marge (sur téléphone, la carte suivante dépasse à droite pour annoncer la suite) */
@media (min-width: 600px) {
  .car { margin-inline: var(--car-pad); padding-inline: 0; scroll-padding-inline: 0; }
  .car__slide { flex-basis: calc((100% - var(--car-gap)) / 2); }
}
@media (min-width: 900px) { .car__slide { flex-basis: calc((100% - 2 * var(--car-gap)) / 3); } }
@media (min-width: 1200px) { .car__slide { flex-basis: calc((100% - 3 * var(--car-gap)) / 4); } }
.sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 1.6rem; }
@media (min-width: 560px) { .sheet { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.num {
  display: grid; align-content: space-between; gap: 8px; min-height: 88px; padding: 10px 11px 10px; text-align: left;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 6px;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.num b { font-weight: 300; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.num span { font-size: 0.875rem; font-weight: 500; line-height: 1.25; color: var(--ink-2); overflow-wrap: anywhere; }
.num:hover { border-color: var(--ink); }
.num[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.num[aria-pressed="true"] span { color: var(--on-ink-2); }

/* la fiche de formule */
.result {
  display: grid; gap: 22px; padding: clamp(18px, 2.2vw, 30px);
  background: #fff; color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
}
.result.is-swap { animation: swap 0.4s var(--ease); }
@keyframes swap { 0% { opacity: 0.2; translate: 0 8px; } 100% { opacity: 1; } }
.result__top { display: grid; gap: 20px; }
.result__media { display: block; aspect-ratio: 1; width: 100%; max-width: 15rem; border-radius: var(--radius); overflow: hidden; background: #fff; }
.result__media img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 559px) {
  .result__media { max-width: none; aspect-ratio: 4 / 3; }
  .result__media img { object-fit: cover; }
}
.result__n { font-weight: 300; font-size: clamp(3rem, 5.4vw, 4.4rem); line-height: 0.92; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; }
.result__n small { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9375rem; letter-spacing: 0; line-height: 1.2; }
.result__lab { margin-top: 0.8rem; font-weight: 500; font-size: 1.0625rem; line-height: 1.4; text-wrap: balance; }
.result__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.8rem; }
.result__table { border-top: 1px solid var(--line); padding-top: 4px; overflow-x: auto; }
.result__table.rich { padding-bottom: 0; max-width: none; }
.result__buy { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.result__more { display: inline-block; }
@media (min-width: 520px) { .result__top { grid-template-columns: 11rem minmax(0, 1fr); align-items: center; } }
@media (min-width: 980px) { .finder__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 60px; } }

/* --------------------------------------------------- la fiche d'un produit */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 20px); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 2000px) { #shop-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.pcard {
  container-type: inline-size;
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color 0.2s, translate 0.3s var(--ease);
}
.pcard:hover, .pcard:focus-within { border-color: var(--ink); translate: 0 -2px; }
.pcard__media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 9px 9px 0 0; background: #fff; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: scale 0.5s var(--ease); }
.pcard--photo .pcard__media img { object-fit: cover; padding: 0; }
.pcard:hover .pcard__media img { scale: 1.03; }
/* packs : leur icône sur un fond gris-bleu, à la place d'une photo de boîtes */
.pcard__media--ico { display: grid; place-items: center; background: var(--mist); }
.pcard__media--ico .pic { width: 44%; transition: scale 0.5s var(--ease); }
@media (max-width: 559px) { .packs .pcard__media--ico { aspect-ratio: 4 / 3; } .packs .pcard__media--ico .pic { width: 34%; } }
.pcard:hover .pcard__media--ico .pic { scale: 1.05; }
.pcard__body { padding: 2px 16px 14px; flex: 1; }
.pcard__title { font-weight: 600; font-size: 1.0625rem; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.pcard__lab { margin-top: 5px; font-size: 0.9rem; line-height: 1.4; color: var(--ink-2); }
.pcard__stub { display: flex; align-items: end; justify-content: space-between; gap: 8px; padding: 12px 14px 14px 16px; border-top: 1px solid var(--line); }
.pcard__off { position: absolute; top: 10px; left: 10px; z-index: 2; pointer-events: none; }
.pcard .price { pointer-events: none; position: relative; z-index: 1; }
.pcard__sold { font-weight: 600; font-size: 0.9rem; padding: 10px 0; color: var(--ink-2); }
.pcard.is-sold .pcard__media img { opacity: 0.45; filter: grayscale(1); }
@container (max-width: 208px) {
  /* fiche étroite (mobile) : le prix se met sur deux lignes pour laisser sa place au bouton */
  .pcard .pcard__body { padding-inline: 12px; }
  .pcard .pcard__stub { padding: 10px 10px 12px 12px; }
  .pcard .price__row { flex-direction: column; align-items: flex-start; gap: 1px; }
  .pcard .price s { font-size: 0.8125rem; }
  .pcard .price b { font-size: 1.125rem; }
}

.add {
  position: relative; z-index: 1; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: var(--ink); color: #fff; border: 0; border-radius: 8px;
  transition: background-color 0.2s, scale 0.25s var(--ease);
}
.add:hover { background: var(--ink-hover); scale: 1.06; }
.add:active { scale: 0.96; }
.add.is-done { background: var(--cyan); color: var(--ink); }
.add .icon { width: 20px; height: 20px; stroke-width: 2.2; }

/* --------------------------------------------------------------- packs */

.packs { overflow: clip; }
.packs__in { display: grid; gap: 24px; }
.packs__in > * { min-width: 0; }
.rail { display: flex; gap: clamp(12px, 1.5vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px 72px 22px var(--gutter); margin-inline: calc(var(--gutter) * -1);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), #0000); mask-image: linear-gradient(to right, #000 calc(100% - 72px), #0000); scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.5) transparent; }
.rail > * { flex: 0 0 min(76vw, 18.1rem); scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -2px; }

/* ------------------------------------------------------ régime protéiné */

.diet { overflow: clip; }
.diet__in { display: grid; gap: 32px; align-items: center; }
.diet__art { position: relative; min-width: 0; }
/* trois recettes filmées par dJust (reels Instagram, sans le son), en format vertical ; sur téléphone elles défilent
   de côté et la suivante dépasse pour annoncer la suite */
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(10px, 1.2vw, 16px);
  margin: 0; padding: 0; list-style: none;
}
.reel { display: grid; gap: 10px; align-content: start; }
.reel__film { aspect-ratio: 9 / 16; }
.reel__film .film__toggle { top: auto; bottom: 10px; right: 10px; }
.reel__cap { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-weight: 600; font-size: 0.875rem; line-height: 1.3; white-space: nowrap; color: var(--ink); text-decoration: none; transition: color 0.2s; }
/* le nom tient sur une ligne ; s'il manque de place, il se coupe par des points de suspension plutôt que de passer à la ligne */
.reel__cap span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.reel__cap:hover { color: var(--cyan-ink); }
.reel__cap .icon { flex: none; width: 16px; height: 16px; }
@media (max-width: 899px) {
  .reels {
    grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; }
}
.diet__copy .lede { margin-top: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px;
  background: #fff; color: var(--ink); border: 1px solid var(--line-ctl); border-radius: 6px; text-decoration: none;
  font-weight: 500; font-size: 0.9375rem; line-height: 1; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.chip small { font-size: 0.8125rem; font-weight: 500; opacity: 0.72; font-variant-numeric: tabular-nums lining-nums; }
/* côte à côte à partir de 1180 px : en dessous, les trois vidéos seraient trop étroites (133 px à 900 px) */
@media (min-width: 1180px) { .diet__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }

/* ------------------------------------------------------------ réseaux sociaux
   Les deux comptes de dJust en relevé à filets, puis une planche de six publications reprises des comptes
   (le magasin sur Facebook, les recettes sur Instagram), chacune légendée et liée à sa publication. Les images
   sont copiées sur le site : la page ne charge ni script, ni image, ni cookie de Meta. */
.social__in { display: grid; gap: clamp(30px, 4vw, 48px); }
.social__copy .lede { margin-top: 1.2rem; }
.social__accounts { margin-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line-strong); }
.social__accounts li { border-bottom: 1px solid var(--line-strong); }
.social__acc { display: flex; align-items: center; gap: 16px; min-height: 72px; padding-block: 10px; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.social__acc > .icon:first-child { width: 1.75rem; height: 1.75rem; }
.social__name { display: grid; gap: 1px; font-weight: 600; font-size: 1.1875rem; line-height: 1.25; }
.social__name span { font-weight: 500; font-size: 0.9375rem; color: var(--ink-2); }
.social__go { margin-left: auto; transition: translate 0.25s var(--ease); }
.social__acc:hover { color: var(--cyan-ink); }
.social__acc:hover .social__go { translate: 4px 0; }
.social__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.social__post { display: grid; gap: 10px; color: var(--ink); text-decoration: none; }
.social__img { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.social__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: scale 0.45s var(--ease); }
.social__post:hover .social__img img { scale: 1.04; }
.social__play { position: absolute; bottom: 10px; right: 10px; width: 34px; height: 34px; padding: 10px 9px 10px 11px; border-radius: 50%; background: var(--ink); color: #fff; fill: currentColor; stroke-width: 1.5; }
.social__cap { display: grid; gap: 2px; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; text-wrap: pretty; }
.social__cap > span { transition: color 0.2s; }
.social__cap small { font-weight: 500; font-size: 0.8125rem; color: var(--ink-2); }
.social__post:hover .social__cap > span { color: var(--cyan-ink); }
@media (max-width: 719px) {
  /* deux colonnes : une photo du magasin et une recette se croisent à chaque rangée */
  .social__grid li:nth-child(3) { order: 4; }
  .social__grid li:nth-child(4) { order: 3; }
}
@media (min-width: 720px) { .social__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .social__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 84px); align-items: start; } }
@media (prefers-reduced-motion: reduce) { .social__img img, .social__go, .social__acc, .social__cap > span { transition: none; } }

/* ------------------------------------------------- livraison + questions */

.help__in { display: grid; gap: 44px; align-items: start; }
.help__photo { aspect-ratio: 3 / 2; margin-bottom: 26px; }
.help__ship .lede { margin-top: 1.1rem; max-width: 46ch; }
.faq details, .acc details { border-top: 1px solid var(--line-strong); }
.faq details:last-child, .acc details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary, .acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.faq summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.faq summary:hover, .acc summary:hover { color: var(--cyan-ink); }
.faq summary .icon, .acc summary .icon { transition: rotate 0.3s var(--ease); }
.faq details[open] summary .icon, .acc details[open] summary .icon { rotate: 45deg; }
.faq details p { padding: 0 0 20px; max-width: 62ch; color: var(--ink-2); }
@media (min-width: 940px) { .help__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }

/* -------------------------------------------------------------- lettre */

.news { padding-block: clamp(52px, 6.5vw, 92px); }
.news__in { display: grid; gap: 24px; align-items: end; }
.news__copy .lede { margin-top: 0.9rem; max-width: 44ch; }
.news__label { display: block; font-weight: 600; font-size: 0.9375rem; }
.news__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.field { flex: 1 1 240px; min-height: 48px; padding: 0 14px; background: #fff; border: 1px solid var(--line-ctl); border-radius: 6px; }
.field::placeholder { color: var(--ink-3); }
.field:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 1px; border-color: var(--cyan-ink); border-radius: 6px; }
.news__note { margin-top: 0.8rem; font-size: 0.9rem; min-height: 1.4em; font-weight: 500; }
@media (min-width: 900px) { .news__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* ---------------------------------------------------------------- pied */

/* pied de page : quatre étages séparés par des filets — l'aide et le centre de Zellik, trois faits de service,
   les liens avec le paiement et la langue, puis la signature. Le téléphone est le grand chiffre maigre de la page. */
.ftr { position: relative; z-index: 1; padding-top: clamp(56px, 7vw, 104px); }
.ftr a { text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr h2 { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.ftr__lead { display: grid; gap: 40px; padding-bottom: clamp(40px, 5vw, 68px); }
.ftr .h2 { max-width: 18ch; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; }
.ftr__help .lede { margin-top: 1rem; max-width: 44ch; }
.ftr__reach { display: grid; justify-items: start; gap: 4px; margin-top: clamp(22px, 2.6vw, 36px); }
.ftr__tel { font-weight: 300; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; transition: color 0.2s; }
.ftr a.ftr__tel:hover { color: var(--cyan); text-decoration: none; }
.ftr a.ftr__mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.1875rem; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color 0.2s; }
.ftr a.ftr__mail:hover { color: var(--cyan); }
.ftr__store { align-self: start; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--on-ink-line); border-radius: var(--radius-lg); }
.ftr__storehead { display: flex; align-items: center; gap: 14px; }
.ftr__storehead .pic { width: 3.75rem; margin-left: -0.35rem; }
.ftr__store h2 { font-size: 1.3125rem; line-height: 1.2; letter-spacing: -0.01em; }
.ftr address { margin-top: 4px; font-style: normal; line-height: 1.5; color: var(--on-ink-2); }
.ftr__hours { margin-top: 18px; border-top: 1px solid var(--on-ink-line); }
.ftr__hours > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--on-ink-line); }
.ftr__hours dt { color: var(--on-ink-2); }
.ftr__hours dd { font-weight: 600; white-space: nowrap; }
.ftr__pickup { margin-top: 14px; color: var(--on-ink-2); }
.ftr__storelinks { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin-top: 6px; }
.ftr__storelinks a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.ftr a.link { text-decoration: underline; }
.ftr__facts { display: grid; border-block: 1px solid var(--on-ink-line); }
.ftr__facts li { display: flex; align-items: center; gap: 14px; padding: 14px 0; line-height: 1.4; }
.ftr__facts li + li { border-top: 1px solid var(--on-ink-line); }
.ftr__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; padding-block: clamp(36px, 4.6vw, 60px); }
.ftr__nav h2 { margin-bottom: 4px; }
.ftr__nav li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-ink-2); transition: color 0.2s; }
.ftr__nav li a:hover { color: #fff; }
.ftr__side { display: grid; gap: 24px; align-content: start; }
.ftr__pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ftr__pay li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; background: #fff; color: var(--ink); border-radius: 4px; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.ftr .lang { margin-top: 12px; border-color: rgb(255 255 255 / 0.55); }
.ftr__social { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 4px; }
.ftr__social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-ink-2); transition: color 0.2s; }
.ftr__social a:hover { color: #fff; }
.ftr__social .icon { width: 1.375rem; height: 1.375rem; }
.ftr .lang button { background: transparent; color: #fff; }
.ftr .lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.ftr__base { display: grid; gap: 14px; padding-block: 22px 26px; border-top: 1px solid var(--on-ink-line); font-size: 0.875rem; line-height: 1.55; color: var(--on-ink-2); }
.ftr__claim { max-width: 80ch; }
.ftr__sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; }
.ftr__id { display: flex; align-items: center; gap: 14px; }
.ftr__id img { flex: none; width: 44px; height: 44px; }
.ftr__top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; }
.ftr__top .icon { transform: rotate(-90deg); }
@media (max-width: 759px) {
  .ftr__side { display: contents; }
  .ftr__side > :first-child { grid-column: 1 / -1; order: 1; }
  .ftr__side > :last-child { order: 2; }
}
@media (min-width: 760px) {
  .ftr__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__side { grid-column: 1 / -1; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (min-width: 900px) {
  .ftr__lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 84px); }
  .ftr__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__facts li { padding: 20px 26px; }
  .ftr__facts li:first-child { padding-left: 0; }
  .ftr__facts li + li { border-top: 0; border-left: 1px solid var(--on-ink-line); }
}
@media (min-width: 1040px) {
  .ftr__nav { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); column-gap: 32px; }
  .ftr__side { grid-column: auto; grid-template-columns: none; }
}
/* ------------------------------------------------------------- le panier */

.ticket {
  position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(var(--ticket-w), 100vw);
  display: flex; flex-direction: column; background: #fff; border-left: 1px solid var(--line-strong);
  box-shadow: -24px 0 48px -36px rgb(11 28 38 / 0.5);
  translate: 102% 0; visibility: hidden;
  transition: translate 0.45s var(--ease), visibility 0s 0.45s;
}
.ticket.is-open { translate: 0 0; visibility: visible; transition: translate 0.45s var(--ease), visibility 0s; }
.ticket__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
.ticket__bar h2 { font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em; }
.ticket__scroll { flex: 1; overflow-y: auto; padding: 18px 20px 24px; overscroll-behavior: contain; scrollbar-width: thin; }
.ticket__paper { font-variant-numeric: tabular-nums lining-nums; }
.ticket__empty { text-align: center; padding: 28px 8px 14px; }
.ticket__empty p { margin-top: 8px; color: var(--ink-2); }
.ticket__empty .btn { margin-top: 18px; }
.line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line.is-new { animation: swap 0.4s var(--ease); }
.line__img { grid-row: span 2; width: 56px; height: 56px; border-radius: 6px; border: 1px solid var(--line); object-fit: contain; background: #fff; }
.line__img.is-photo { object-fit: cover; }
.line__t { font-weight: 600; font-size: 0.9875rem; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.line__t:hover { color: var(--cyan-ink); }
.line__p { text-align: right; font-weight: 600; white-space: nowrap; }
.line__p s { display: block; font-weight: 400; font-size: 0.8375rem; color: var(--ink-2); }
.line__ctl { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-ctl); border-radius: 6px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 44px; background: none; border: 0; display: grid; place-items: center; }
.qty button:hover { background: var(--mist); }
.qty output { min-width: 30px; text-align: center; font-weight: 600; }
/* la suppression reste à l'écart des quantités */
.line__rm { background: none; border: 0; padding: 0 0 0 16px; min-height: 44px; font-weight: 500; font-size: 0.8375rem; text-decoration: underline; color: var(--ink-2); }
.line__rm:hover { color: var(--ink); }
.sum { margin-top: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.sum dd { white-space: nowrap; }
.sum .sum__bf { font-weight: 600; }
.sum .sum__total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-strong); font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; }
.ship { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; margin-bottom: 18px; padding: 12px 14px 14px; background: var(--mist); border-radius: var(--radius); }
.ship__txt { font-weight: 600; font-size: 0.9375rem; line-height: 1.35; }
.ship__bar { grid-column: 1 / -1; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship__bar i { display: block; height: 100%; background: var(--cyan-ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.6s var(--ease); }
.ticket__note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-2); }
.ticket__foot { padding: 14px 20px 18px; background: #fff; border-top: 1px solid var(--line); }
.scrim { position: fixed; inset: 0; z-index: 70; background: rgb(11 28 38 / 0.45); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }
/* grand écran : le panier reste ouvert à côté de la page, sans la masquer */
@media (min-width: 1640px) {
  .scrim { display: none; }
  body.has-ticket .page { margin-right: var(--ticket-w); }
  .ticket { box-shadow: none; }
}

/* saisie directe d'un numéro */
.keytoast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; translate: -50% 10px;
  display: flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px; max-width: calc(100vw - 32px);
  background: var(--ink); color: #fff; border-radius: 40px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, translate 0.35s var(--ease), visibility 0s 0.35s;
}
.keytoast.is-on { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity 0.25s, translate 0.35s var(--ease), visibility 0s; }
.keytoast b { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--cyan); color: var(--ink); font-weight: 600; font-size: 1.25rem; font-variant-numeric: tabular-nums lining-nums; }
.keytoast span { font-weight: 500; font-size: 0.9375rem; line-height: 1.3; }

/* ----------------------------------------------------------- catalogue */

.shophead { padding-block: clamp(28px, 4vw, 56px) clamp(22px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.shophead .display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.shophead p { margin-top: 0.8rem; max-width: 60ch; color: var(--ink-2); }
.filters { position: sticky; top: var(--hdr-h, 70px); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.filters__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 12px; }
.filters .chips { margin: 0; flex: 1 1 520px; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 3px 2px; }
.filters .chips::-webkit-scrollbar { display: none; }
.filters .chip { flex: none; }
.filters__tools { display: flex; gap: 10px; flex: 1 1 440px; }
.search { position: relative; flex: 1 1 200px; min-width: 150px; }
.search .icon { position: absolute; left: 13px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink-2); }
.search input { width: 100%; min-height: 48px; padding: 0 14px 0 42px; border: 1px solid var(--line-ctl); border-radius: 6px; background: #fff; }
/* la croix d'effacement n'apparaît qu'une fois du texte saisi : vide, elle ne prend pas la place du texte indicatif */
.search input:placeholder-shown::-webkit-search-cancel-button { display: none; }
.select { min-height: 48px; padding: 0 12px; border: 1px solid var(--line-ctl); border-radius: 6px; background: #fff; max-width: 42vw; min-width: 0; }
@media (max-width: 559px) {
  .filters__tools { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .search { min-width: 0; }
  .search .icon { left: 11px; }
  .search input { padding: 0 5px 0 37px; }
  .filters__tools .select { max-width: none; width: 100%; }
}
.search input:focus-visible, .select:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 1px; border-color: var(--cyan-ink); border-radius: 6px; }
.subchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.shop { padding-block: 28px clamp(60px, 8vw, 108px); }
.shop__count { font-weight: 500; font-size: 0.9375rem; margin-bottom: 20px; color: var(--ink-2); font-variant-numeric: tabular-nums lining-nums; }
.empty { padding: 56px 0; text-align: center; }
.empty p { margin: 12px auto 22px; max-width: 46ch; color: var(--ink-2); }

/* -------------------------------------------------------- fiche produit */

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; padding-block: 18px 6px; font-size: 0.875rem; color: var(--ink-2); }
.crumbs a { color: var(--ink); }
@media (pointer: coarse) { .crumbs { padding-top: 8px; } .crumbs a { display: inline-flex; align-items: center; min-height: 44px; } }
.crumbs a:hover { color: var(--cyan-ink); }
.pdp { display: grid; gap: 28px; padding-block: 20px clamp(48px, 6vw, 84px); }
.pdp > * { min-width: 0; }
.gallery__main { position: relative; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; aspect-ratio: 1; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; view-transition-name: pk; }
.gallery__main img.is-photo { object-fit: cover; }
.gallery__main .off { position: absolute; top: 14px; left: 14px; z-index: 2; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 72px; height: 72px; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.024em; text-wrap: balance; overflow-wrap: anywhere; }
.buy__lab { margin-top: 12px; font-size: 1.125rem; line-height: 1.45; color: var(--ink-2); max-width: 44ch; }
.buy__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.buy__price { display: grid; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.buy__price p { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.ladder { display: grid; gap: 8px; margin: 24px 0 0; border: 0; padding: 0; min-width: 0; }
.ladder legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.ladder label {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px;
  min-height: 60px; padding: 10px 14px; border: 1px solid var(--line-ctl); border-radius: var(--radius); background: #fff; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.ladder label:hover { border-color: var(--ink); }
.ladder input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.ladder input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); scale: 0; transition: scale 0.2s var(--ease); }
.ladder input:checked::after { scale: 1; }
.ladder input:focus-visible { outline: none; }
.ladder label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--mist); }
.ladder label:has(input:focus-visible) { outline: 2px solid var(--cyan-ink); outline-offset: 3px; }
.ladder__q { font-weight: 600; }
.ladder__q small { display: block; font-weight: 400; font-size: 0.8375rem; color: var(--ink-2); }
.ladder__p { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.ladder__p s { display: block; font-weight: 400; font-size: 0.8375rem; color: var(--ink-2); }
.buy__cta { margin-top: 16px; min-height: 54px; font-size: 1.0625rem; }
.buy__sold { margin-top: 22px; font-weight: 600; }
.facts { margin-top: 22px; display: grid; gap: 10px; font-size: 0.9375rem; }
.facts li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 12px; align-items: center; }
.acc { margin-top: 32px; }

/* texte et tableaux de composition repris des fiches */
.rich { padding-bottom: 20px; max-width: 68ch; overflow-x: auto; font-size: 0.9875rem; color: var(--ink-2); }
.rich p + p, .rich ul, .rich table { margin-top: 0.8em; }
.rich ul { list-style: disc; padding-left: 1.2em; }
.rich table { border-collapse: collapse; width: 100%; font-size: 0.9rem; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.rich td, .rich th { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rich table:not(.comp) tr:first-child td { font-weight: 600; font-size: 0.8125rem; color: var(--ink-2); border-bottom-color: var(--line-strong); }
.rich td { white-space: nowrap; }
.comp th { padding: 8px 10px 8px 0; text-align: left; vertical-align: top; font-weight: 400; border-bottom: 1px solid var(--line); }
.comp thead th { font-weight: 600; font-size: 0.8125rem; color: var(--ink-2); border-bottom-color: var(--line-strong); white-space: nowrap; }
.comp tbody tr:last-child th, .comp tbody tr:last-child td { border-bottom: 0; }
.comp__notes { margin-top: 10px; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 620px) {
  /* téléphone : un tableau à deux ou trois colonnes reste un tableau ; un tableau à quatre valeurs par ligne devient
     une formule par bloc, sur une grille fixe : la prise et son apport de référence, puis la dose du jour et le sien */
  .comp thead th { white-space: normal; }
  .comp--pairs, .comp--pairs tbody { display: block; }
  .comp--pairs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .comp--pairs tr { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; column-gap: 14px; row-gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .comp--pairs tbody tr:last-child { border-bottom: 0; }
  .comp--pairs th[scope="row"] { grid-column: 1 / -1; display: block; padding: 0 0 4px; border: 0; font-weight: 600; white-space: normal; }
  .comp--pairs td { display: block; padding: 0; border: 0; }
  .comp--pairs td::before { content: attr(data-l) "\00a0"; font-size: 0.8125rem; color: var(--ink-2); }
  .comp--pairs td:empty { visibility: hidden; }
}
.rich tr:last-child td { border-bottom: 0; }
.also { padding-block: clamp(48px, 6vw, 88px); }
.stickybuy { display: none; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .gallery { position: sticky; top: 100px; }
}
@media (max-width: 899px) {
  .stickybuy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 14px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line-strong);
    box-shadow: 0 -12px 24px -18px rgb(11 28 38 / 0.35);
    translate: 0 110%; visibility: hidden; transition: translate 0.4s var(--ease), visibility 0s 0.4s;
  }
  .stickybuy.is-on { translate: 0 0; visibility: visible; transition: translate 0.4s var(--ease), visibility 0s; }
  .stickybuy .btn { flex: 1; }
  .stickybuy .price > small { display: none; }
  body.has-stickybuy .ftr__base { padding-bottom: 96px; }
}

/* --------------------------------------------------------------- motion */

/* Un seul moment écrit : la boîte se pose, la gélule à son pied, puis le prix apparaît. */
@keyframes settle { 0% { opacity: 0; translate: 0 28px; filter: blur(6px) drop-shadow(0 30px 28px rgb(0 0 0 / 0)); } }
@keyframes reveal { 0% { opacity: 0; translate: 0 10px; } }
@view-transition { navigation: auto; }
::view-transition-group(pk) { animation-duration: 0.4s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  @view-transition { navigation: none; }
}

/* ------------------------------------------------------------ pictogrammes
   Douze pictogrammes dessinés pour le site (js/icons.js). Trait à l'encre, surfaces blanches et bleu pâle, et un seul
   détail en couleur : le cyan du logo, ou une des trois couleurs des boîtes CC Complex (orange, vert, magenta).
   La couleur n'entre dans la page que par eux. */
.pic { display: block; flex: none; width: 4rem; aspect-ratio: 1; }
.pic--mark { width: clamp(3.5rem, 5vw, 4.75rem); margin-bottom: 12px; margin-left: -0.35rem; }
.sec__head > .pic--mark { margin-bottom: 0; }
.pic--sm { width: 2.5rem; }
.empty .pic { margin-inline: auto; }
.ico {
  --il: var(--ink); --ip: #fff; --it: var(--cyan-wash); --ia: var(--cyan);
  display: block; width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--il); stroke-width: 20; stroke-linecap: round; stroke-linejoin: round;
}
.pic--sm .ico { stroke-width: 26; }
.ico--orange { --ia: #e8850c; }
.ico--green { --ia: #4e9b24; }
.ico--magenta { --ia: #b5358c; }
.ico .f-p { fill: var(--ip); }
.ico .f-t { fill: var(--it); }
.ico .f-a { fill: var(--ia); }
.ico .f-l { fill: var(--il); }
.ico .s-w { stroke: #fff; }
.ico .s-0 { stroke: none; }
.on-ink .ico { --il: #fff; --ip: var(--ink); --it: rgb(255 255 255 / 0.16); }
/* une fiche produit reste blanche même posée sur une section sombre : ses icônes gardent le trait à l'encre */
.on-ink .pcard .ico { --il: var(--ink); --ip: #fff; --it: var(--cyan-wash); }
.ico__m { transform-box: fill-box; transform-origin: center; }
.ico__m--at { transform-box: view-box; }
.ico--pop { --m: ico-pop; }
.ico--tilt { --m: ico-tilt; }
.ico--spin { --m: ico-spin; }
.ico--slide { --m: ico-slide; }
.ico--drop { --m: ico-drop; }
.ico--shake { --m: ico-shake; }
.ico--sway { --m: ico-sway; }

.trust dt { display: grid; gap: 10px; justify-items: start; }
.trust .pic { margin-left: -0.35rem; }
@media (max-width: 619px) {
  .trust__in > div { position: relative; min-height: 5.75rem; padding-left: 4.5rem; }
  .trust .pic { position: absolute; left: 0; top: 18px; width: 3.5rem; }
  .trust dt { display: block; }
}

@media (prefers-reduced-motion: no-preference) {
  /* 1. le trait se dessine, forme après forme, puis les surfaces se remplissent ; 2. le détail en couleur bouge une
     fois ; 3. ce mouvement se rejoue au survol ou au clavier. Aucune boucle. */
  .js-pic .pic:not(.is-in) .ico path { stroke-dasharray: 1; stroke-dashoffset: 1; stroke-opacity: 0; fill-opacity: 0; }
  .js-pic .pic.is-in:not(.is-done) .ico path { stroke-dasharray: 1; animation: ico-draw 0.85s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .js-pic .pic.is-in:not(.is-done) .ico__m { animation: var(--m) 0.9s var(--ease) both; animation-delay: calc(var(--n, 8) * 70ms + 0.7s); }
  .js-pic .has-pic:hover .pic.is-done .ico__m,
  .js-pic .has-pic:focus-within .pic.is-done .ico__m,
  .js-pic .nav a:hover .pic.is-done .ico__m,
  .js-pic .nav a:focus-visible .pic.is-done .ico__m,
  .js-pic .pic.is-done:hover .ico__m,
  .js-pic .pic.is-go .ico__m { animation: var(--m) 0.9s var(--ease); }
  @keyframes ico-draw {
    0% { stroke-dashoffset: 1; stroke-opacity: 0; fill-opacity: 0; }
    10% { stroke-opacity: 1; }
    65% { stroke-dashoffset: 0; fill-opacity: 0; }
    100% { stroke-dashoffset: 0; stroke-opacity: 1; fill-opacity: 1; }
  }
  @keyframes ico-pop { 40% { transform: scale(1.12); } }
  @keyframes ico-tilt { 40% { transform: rotate(-16deg); } }
  @keyframes ico-spin { to { transform: rotate(-360deg); } }
  @keyframes ico-slide { 45% { transform: translateX(72px); } }
  @keyframes ico-drop { 0% { transform: translateY(-110px); } 100% { transform: translateY(0); } }
  @keyframes ico-shake { 20% { transform: rotate(-9deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
  @keyframes ico-sway { 35% { transform: rotate(-13deg); } 70% { transform: rotate(7deg); } }
}

/* ------------------------------------------------------------ la grande phrase
   Une seule grande phrase sur l'accueil : « chaque milligramme est indiqué », avant la livraison. */
.statement { font-weight: 600; font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.statement span { display: block; }   /* une phrase par bloc : la coupe tombe toujours entre deux phrases */

.creed__in { display: grid; gap: 34px; align-items: center; }
.creed .statement { max-width: 17ch; }
.creed__copy .lede { margin-top: 1.2rem; max-width: 46ch; }
.creed__copy .lede + .lede { margin-top: 0.8rem; }
.creed__film { aspect-ratio: 16 / 10; }
.creed__film video { object-position: 38% 50%; }
@media (min-width: 900px) { .creed__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 88px); } }

/* page de collection : les puces de rayon sont masquées (attribut hidden posé par app.js) */
.chips[hidden], .subchips[hidden] { display: none; }

/* --------------------------------------------- pages de contenu (blog, conditions, boutique de Zellik) */
.content { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 120px); max-width: 72ch; }
.content > .display { font-size: clamp(2rem, 4.2vw, 3.25rem); margin-bottom: 0.5rem; overflow-wrap: anywhere; }
.content > .muted { margin-bottom: 1.5rem; font-size: 0.9375rem; }
.content > .lede { margin-block: 1rem 1.25rem; }
.content > p + p { margin-top: 0.75em; }
.content > img { display: block; width: 100%; height: auto; max-height: 26rem; object-fit: cover; border-radius: 6px; margin: 0.5rem 0 2rem; }
.content .rich { max-width: none; overflow-x: visible; font-size: 1.0625rem; line-height: 1.65; padding-bottom: 0; }
.content .rich p + p, .content .rich ul, .content .rich ol, .content .rich table { margin-top: 0.9em; }
.content .rich ol { list-style: decimal; padding-left: 1.4em; }
.content .rich h2, .content .rich h3, .content .rich h4 { color: var(--ink); font-weight: 600; font-size: 1.25rem; line-height: 1.3; margin-top: 1.6em; }
.content .rich img { max-width: 100%; height: auto; border-radius: 6px; }
.content .rich a, .content > p a:not(.btn) { color: var(--cyan-ink); text-decoration: underline; text-underline-offset: 2px; }
.posts { margin-top: 2rem; }
.posts li { padding: 20px 0; border-top: 1px solid var(--line); }
.posts li:last-child { border-bottom: 1px solid var(--line); }
.posts a { display: block; font-weight: 600; font-size: 1.1875rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.posts a:hover { text-decoration: underline; }
.posts small { display: block; margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
