/* ==========================================================================
   Wear It, feuille unique, mobile-first (base = 360 px, min-width seulement)
   Identité « le studio blanc et la bulle rouge » (AUTONOMOUS_PROJECT.md)
   Règle de formes : pilule pour boutons, pastilles et en-tête ; 12 px pour
   images, cartes et panneaux ; 8 px pour les champs.
   CSP : aucun style en ligne n'existe, tout est ici.
   ========================================================================== */

/* ---------- 1. Jetons ---------- */
:root {
  color-scheme: light;

  --blanc: #FFFFFF;
  --studio: #EDEDEB;
  --calme: #F5F5F3;
  --encre: #141414;
  --encre-2: #5F5F5C;
  --encre-3: #9A9A96;          /* filets, états inactifs : jamais du texte courant (2,8:1) */
  --rouge: #EF3027;            /* logo, focus, gestes graphiques */
  --rouge-action: #E3281E;     /* fond du bouton principal : blanc dessus = 4,58:1 */
  --rouge-sombre: #C4231B;     /* survol du bouton principal : 5,83:1 */
  --vert: #1F7A4D;
  --erreur: #B3261E;
  --filet: #E4E4E1;            /* séparateurs décoratifs */
  --trait: #858581;            /* bordures de champs : 3,7:1 sur blanc */
  --encre-survol: #2A2A2A;

  --rayon-img: 12px;
  --rayon-champ: 8px;
  --pilule: 999px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-tiroir: cubic-bezier(.32, .72, 0, 1);

  --display: 'Cabinet Grotesk', 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --texte: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --t-hero: clamp(3rem, 1.55rem + 6.2vw, 7.25rem);
  --t-page: clamp(2.5rem, 1.7rem + 3.6vw, 5rem);
  --t-1: clamp(2.125rem, 1.45rem + 3vw, 4.25rem);
  --t-2: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  --t-3: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);
  --t-chapo: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --t-petit: .875rem;

  --gouttiere: 16px;
  --section: clamp(72px, 9vw, 136px);
  --section-s: clamp(48px, 6vw, 88px);
  --max: 1440px;
  --entete-h: 64px;
  --entete-marge: 8px;
  --barre-achat-h: 60px;

  --ombre-flottant: 0 1px 2px rgb(40 40 36 / .06), 0 14px 36px -12px rgb(40 40 36 / .26);
  --ombre-panneau: -30px 0 80px -30px rgb(40 40 36 / .35);
  --ombre-carte: 0 1px 1px rgb(40 40 36 / .04), 0 18px 40px -22px rgb(40 40 36 / .30);
}

@media (min-width: 600px) { :root { --gouttiere: 24px; } }
@media (min-width: 1024px) { :root { --gouttiere: 32px; --entete-marge: 12px; } }
@media (min-width: 1280px) { :root { --gouttiere: 40px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--entete-h) + var(--entete-marge) * 2 + 8px);
  interpolate-size: allow-keywords;
}
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--encre); color: var(--blanc); }

:focus-visible {
  outline: 3px solid var(--rouge);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icone { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.lien-evitement {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--encre); color: var(--blanc);
  padding: 12px 18px; border-radius: var(--pilule);
  font-weight: 700; text-decoration: none;
}
.lien-evitement:focus { top: 12px; }

/* ---------- 3. Mise en page ---------- */
.conteneur {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.section { padding-block: var(--section); }
.section:not(.section--calme) + .section:not(.section--calme) { padding-top: 0; }
.section--s { padding-block: var(--section-s); }
.section--calme { background: var(--calme); }

.titre-section { font-size: var(--t-1); font-weight: 800; }
.chapo { font-size: var(--t-chapo); line-height: 1.55; color: var(--encre-2); max-width: 52ch; }
.texte-2 { color: var(--encre-2); }

.entete-section {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
@media (min-width: 768px) {
  .entete-section--ligne { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- 4. Liens et boutons ---------- */
.lien {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease;
}
@media (hover: hover) { .lien:hover { text-decoration-color: var(--rouge); } }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.lien-fleche .icone { transition: transform 200ms var(--ease-out); }
.lien-fleche span { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color 160ms ease; }
@media (hover: hover) {
  .lien-fleche:hover .icone { transform: translateX(4px); }
  .lien-fleche:hover span { text-decoration-color: currentColor; }
}

.bouton {
  --bouton-fond: var(--encre);
  --bouton-texte: var(--blanc);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--pilule);
  background: var(--bouton-fond);
  color: var(--bouton-texte);
  font-family: var(--texte);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.bouton:active { transform: scale(.97); }
.bouton .icone { width: 20px; height: 20px; transition: transform 220ms var(--ease-out); }
.bouton--rouge { --bouton-fond: var(--rouge-action); }
.bouton--blanc { --bouton-fond: var(--blanc); --bouton-texte: var(--encre); }
.bouton--contour { --bouton-fond: transparent; --bouton-texte: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.bouton--contour-blanc { --bouton-fond: transparent; --bouton-texte: var(--blanc); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .85); }
.bouton--large { min-height: 58px; padding: 0 32px; font-size: 1.0625rem; }
.bouton--plein { width: 100%; }
@media (hover: hover) {
  .bouton:hover { --bouton-fond: var(--encre-survol); }
  .bouton--rouge:hover { --bouton-fond: var(--rouge-sombre); }
  .bouton--blanc:hover { --bouton-fond: var(--calme); }
  .bouton--contour:hover { --bouton-fond: var(--encre); --bouton-texte: var(--blanc); }
  .bouton--contour-blanc:hover { --bouton-fond: var(--blanc); --bouton-texte: var(--encre); }
  .bouton:hover .icone-fleche { transform: translateX(3px); }
}
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.bouton[disabled]:active { transform: none; }

/* états du bouton d'ajout : en cours, ajouté */
.bouton__libelle { display: inline-flex; align-items: center; gap: 10px; transition: opacity 180ms ease, transform 220ms var(--ease-out), filter 180ms ease; }
.bouton__etat {
  position: absolute; inset: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
  pointer-events: none;
}
.bouton.est-en-cours .bouton__libelle { opacity: .35; filter: blur(2px); }
.bouton.est-ajoute .bouton__libelle { opacity: 0; transform: translateY(-6px); }
.bouton.est-ajoute .bouton__etat { opacity: 1; transform: none; }
.bouton.est-ajoute { --bouton-fond: var(--vert); }

/* ---------- 5. Bandeau de mode ---------- */
.bandeau-mode {
  position: relative;
  z-index: 55;
  background: var(--encre);
  color: var(--blanc);
  font-size: .78125rem;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
  padding: 9px 12px;
}
.bandeau-mode p { display: inline; }
.bandeau-mode a { display: inline-block; color: inherit; font-weight: 700; margin-left: 8px; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 600px) { .bandeau-mode { font-size: .8125rem; } }
.bandeau-mode .bulle-statut {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--rouge);
  vertical-align: 1px;
  box-shadow: 0 0 0 3px rgb(239 48 39 / .25);
}

/* ---------- 6. En-tête (la bulle flottante) ---------- */
.entete {
  position: sticky;
  top: var(--entete-marge);
  z-index: 50;
  height: var(--entete-h);
  margin: var(--entete-marge) var(--entete-marge) 0;
  padding: 0 8px 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--pilule);
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 0 0 1px rgb(20 20 20 / .05), 0 10px 30px -14px rgb(40 40 36 / .35);
}
.entete__logo {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: auto;
  flex-shrink: 0;
}
.entete__logo img { height: 42px; width: auto; }
.entete__nav { display: none; }
.entete__actions { display: flex; align-items: center; gap: 6px; }

.bouton-panier {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  min-width: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--pilule);
  background: var(--encre);
  color: var(--blanc);
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.bouton-panier:active { transform: scale(.95); }
.bouton-panier .icone { width: 22px; height: 22px; }
.bouton-panier__libelle { display: none; }
@media (hover: hover) { .bouton-panier:hover { background: var(--encre-survol); } }

.bulle-nb {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--pilule);
  background: var(--rouge-action);
  color: var(--blanc);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: transform 260ms var(--ease-out), background-color 200ms ease;
}
.bulle-nb[data-nb="0"] { background: var(--blanc); color: var(--encre); }
.bulle-nb.est-rebond { animation: rebond 420ms var(--ease-out); }
@keyframes rebond { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 100% { transform: scale(1); } }

.bouton-menu {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--calme);
  color: var(--encre);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.bouton-menu:active { transform: scale(.94); }
.bouton-menu .icone { width: 22px; height: 22px; }
.bouton-menu .icone-fermer { display: none; }
.bouton-menu[aria-expanded="true"] { background: var(--encre); color: var(--blanc); }
.bouton-menu[aria-expanded="true"] .icone-menu { display: none; }
.bouton-menu[aria-expanded="true"] .icone-fermer { display: block; }

/* menu mobile : carte qui tombe de la bulle */
.menu-mobile {
  position: fixed;
  z-index: 49;
  top: calc(var(--entete-marge) + var(--entete-h) + 8px);
  left: var(--entete-marge);
  right: var(--entete-marge);
  max-height: calc(100dvh - var(--entete-h) - var(--entete-marge) * 2 - 16px);
  overflow-y: auto;
  padding: 8px 8px 20px;
  border-radius: var(--rayon-img);
  background: var(--blanc);
  box-shadow: var(--ombre-flottant);
  transform-origin: top right;
  opacity: 1;
  transform: none;
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out);
}
@starting-style {
  .menu-mobile { opacity: 0; transform: translateY(-8px) scale(.98); }
}
.menu-mobile__liens { list-style: none; }
.menu-mobile__liens a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 14px;
  border-radius: var(--rayon-champ);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}
.menu-mobile__liens a .icone { width: 22px; height: 22px; color: var(--encre-3); }
.menu-mobile__liens a[aria-current="page"] { background: var(--calme); }
.menu-mobile__liens a:active { background: var(--studio); }
.menu-mobile__pied {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 16px 14px 0;
  border-top: 1px solid var(--filet);
  font-size: .9375rem;
  color: var(--encre-2);
}
.menu-mobile__pied a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.voile {
  position: fixed; inset: 0; z-index: 48;
  background: rgb(20 20 20 / .24);
  transition: opacity 200ms ease;
}
@starting-style { .voile { opacity: 0; } }

@media (min-width: 1024px) {
  .entete { padding: 0 8px 0 24px; }
  .entete__logo { margin-right: 0; }
  .entete__logo img { height: 48px; }
  .entete__nav { display: flex; flex: 1; justify-content: center; }
  .entete__nav ul { display: flex; gap: 2px; list-style: none; }
  .entete__nav a {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 15px;
    border-radius: var(--pilule);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 180ms ease;
  }
  .entete__nav a:hover { background: var(--calme); }
  .entete__nav a[aria-current="page"] { background: var(--studio); font-weight: 700; }
  .bouton-menu { display: none; }
  .bouton-panier { padding: 0 8px 0 18px; gap: 10px; }
  .bouton-panier__libelle { display: inline; }
  .menu-mobile, .voile { display: none !important; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  margin-top: calc(-1 * (var(--entete-h) + var(--entete-marge)));
  min-height: 620px;
  height: calc(100svh - 36px);
  max-height: 1040px;
  overflow: hidden;
  color: var(--blanc);
  background: var(--encre);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 30%;
  transform-origin: 50% 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(14 14 14 / .86) 0%, rgb(14 14 14 / .74) 30%, rgb(14 14 14 / .5) 44%, rgb(14 14 14 / .12) 64%, rgb(14 14 14 / 0) 76%),
    linear-gradient(to bottom, rgb(14 14 14 / .22) 0%, rgb(14 14 14 / 0) 18%);
}
@media (min-width: 1024px) {
  .hero::after {
    background:
      linear-gradient(to top, rgb(14 14 14 / .8) 0%, rgb(14 14 14 / .6) 26%, rgb(14 14 14 / .18) 52%, rgb(14 14 14 / 0) 70%),
      linear-gradient(to bottom, rgb(14 14 14 / .22) 0%, rgb(14 14 14 / 0) 18%);
  }
}
.hero__contenu {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gouttiere) clamp(32px, 6vh, 72px);
}
.hero__titre {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: var(--t-hero);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__sous-titre {
  max-width: 36ch;
  margin-bottom: 28px;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 500;
  color: rgb(255 255 255 / .94);
  text-shadow: 0 1px 12px rgb(0 0 0 / .25);
}
@media (min-width: 768px) {
  .hero__media img { object-position: 50% 35%; }
  .hero__sous-titre { font-size: 1.1875rem; }
}
@media (min-width: 1024px) {
  .hero__contenu { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
  .hero__titre { max-width: 12ch; margin-bottom: 0; }
  .hero__pied { max-width: 380px; padding-bottom: 10px; }
}

/* ---------- 8. Bandeau défilant (le seul de la page) ---------- */
.defilant {
  overflow: hidden;
  padding-block: clamp(22px, 3vw, 40px);
  border-bottom: 1px solid var(--filet);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.defilant__piste {
  display: flex;
  width: max-content;
  animation: defile 40s linear infinite;
}
.defilant:hover .defilant__piste, .defilant:focus-within .defilant__piste, .defilant.est-en-pause .defilant__piste { animation-play-state: paused; }
.defilant-zone { position: relative; }
.defilant__pause {
  position: absolute;
  z-index: 2;
  right: var(--gouttiere);
  bottom: 0;
  transform: translateY(50%);
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--filet);
  border-radius: var(--pilule);
  background: var(--blanc);
  color: var(--encre);
  font: 700 .75rem/1 var(--texte);
  cursor: pointer;
}
.defilant__pause:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.defilant__groupe { display: flex; align-items: center; flex-shrink: 0; list-style: none; }
.defilant__item {
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1rem + 2.3vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  white-space: nowrap;
}
.defilant__item::after {
  content: "";
  width: .38em;
  height: .38em;
  margin: 0 .95em 0 .75em;
  border-radius: 50%;
  background: var(--rouge);
  box-shadow: .34em -.32em 0 -.1em var(--rouge);
  flex-shrink: 0;
}
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- 9. Pastilles de coloris et bulles ---------- */
.c-blanc { --c: #F4F4F2; }
.c-noir { --c: #1B1B1B; }
.c-gris-chine { --c: #B9B9B4; --trame: radial-gradient(rgb(255 255 255 / .45) .7px, transparent 1px), radial-gradient(rgb(40 40 36 / .22) .7px, transparent 1px); }
.c-marine { --c: #1E2A44; }

.pastilles { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; }
.pastille {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pastille::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--c, var(--studio));
  background-image: var(--trame, none);
  background-size: 3px 3px, 5px 5px;
  box-shadow: inset 0 0 0 1px rgb(20 20 20 / .16);
  transition: transform 180ms var(--ease-out);
}
.pastille::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--encre);
  opacity: 0;
  transform: scale(.86);
  transition: opacity 160ms ease, transform 220ms var(--ease-out);
}
.pastille:active::before { transform: scale(.9); }
input:checked + .pastille::after,
.pastille[aria-current="true"]::after { opacity: 1; transform: scale(1); }
input:focus-visible + .pastille { outline: 3px solid var(--rouge); outline-offset: 1px; }
@media (hover: hover) {
  .pastille:hover::after { opacity: .35; transform: scale(1); }
  input:checked + .pastille:hover::after, .pastille[aria-current="true"]:hover::after { opacity: 1; }
}
.pastilles--mini { gap: 0; }
.pastilles--mini .pastille::before { width: 20px; height: 20px; }
.pastilles--mini .pastille::after { inset: 8px; box-shadow: 0 0 0 1.5px var(--encre); }

.bulle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 12px 7px 10px;
  border-radius: var(--pilule);
  background: var(--blanc);
  color: var(--encre);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px -6px rgb(40 40 36 / .3);
}
.bulle-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rouge); }

/* ---------- 10. Tuile produit ---------- */
.tuiles {
  display: grid;
  gap: 40px 16px;
  list-style: none;
}
.tuile { position: relative; display: grid; gap: 14px; align-content: start; }
.tuile__lien { display: grid; gap: 14px; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
.tuile__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--rayon-img);
  background: var(--studio);
}
.tuile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 700ms var(--ease-out);
}
/* La vue de dos est strictement invisible hors survol : opacité ET visibilité, basculées
   d'un coup (aucune transition d'opacité), pour qu'aucun fondu ne soit saisi à mi-course. */
.tuile__img--dos { opacity: 0; visibility: hidden; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tuile__lien:hover .tuile__img--dos { opacity: 1; visibility: visible; }
  .tuile__lien:hover .tuile__media img { transform: scale(1.025); }
}
.tuile__lien:focus-visible { outline: none; }
.tuile__lien:focus-visible .tuile__media { outline: 3px solid var(--rouge); outline-offset: 3px; }
.tuile__lien:focus-visible .tuile__img--dos { opacity: 1; visibility: visible; }
.tuile__infos { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline; }
.tuile__nom { font-size: var(--t-3); font-weight: 800; letter-spacing: -.015em; }
.tuile__prix { font-family: var(--display); font-size: var(--t-3); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tuile__accroche { grid-column: 1 / -1; font-size: .9375rem; color: var(--encre-2); }
.tuile__coloris { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: -6px; }
.tuile__coloris-nom { font-size: .875rem; color: var(--encre-2); }
.tuile--compacte .tuile__nom, .tuile--compacte .tuile__prix { font-size: 1rem; }
.tuile--compacte .tuile__accroche { display: none; }

/* tuile sans image : aplat studio + logo (repli § 12) */
.media-absent,
.est-absente {
  background: var(--studio) url('/static/img/logo/wi.svg') center / 34% auto no-repeat;
}
.est-absente img { visibility: hidden; }

@media (min-width: 768px) {
  .tuiles--duo { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
}

/* vitrine : titre à gauche, tuiles à droite (accueil) */
.vitrine { display: grid; gap: 28px; }
.vitrine__entete { display: grid; gap: 16px; align-content: start; }
.vitrine__entete .titre-section { max-width: 10ch; }
@media (min-width: 1024px) {
  .vitrine { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); }
  .vitrine__entete { position: sticky; top: calc(var(--entete-h) + var(--entete-marge) * 2 + 24px); padding-top: 8px; }
}

/* ---------- 11. Trois logos : triptyque annoté ---------- */
.trois-logos__entete { max-width: 760px; }
.triptyque {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 12px;
  margin-inline: calc(-1 * var(--gouttiere));
  padding: 4px var(--gouttiere) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  scrollbar-width: none;
  list-style: none;
}
.triptyque::-webkit-scrollbar { display: none; }
.triptyque__panneau { scroll-snap-align: start; display: grid; gap: 16px; align-content: start; }
.triptyque__cadre {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--rayon-img);
  background: var(--studio);
}
.triptyque__cadre img { width: 100%; height: 100%; object-fit: cover; }
.entoure {
  position: absolute;
  overflow: visible;
  pointer-events: none;
}
.entoure path {
  fill: none;
  stroke: var(--encre);
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
/* positions mesurées sur les photos 2:3 de chaque coloris (face, manche gauche, dos) */
.entoure--face { left: 17%; top: 21%; width: 67%; height: 22%; }
.entoure--manche { left: 41%; top: 31.5%; width: 30%; height: 14%; }
.entoure--dos { left: 53%; top: 62.5%; width: 30%; height: 14%; }
.trio-gris-chine .entoure--face { left: 17%; top: 22%; width: 64%; height: 20%; }
.trio-gris-chine .entoure--manche { left: 41%; top: 36%; width: 32%; height: 14%; }
.trio-gris-chine .entoure--dos { left: 56%; top: 60%; width: 28%; height: 12%; }
.trio-noir .entoure--face { left: 16%; top: 25%; width: 66%; height: 19%; }
.trio-noir .entoure--manche { left: 41%; top: 34%; width: 30%; height: 12%; }
.trio-noir .entoure--dos { left: 53%; top: 59%; width: 28%; height: 12%; }
.trio-marine .entoure--face { left: 15%; top: 25%; width: 64%; height: 19%; }
.trio-marine .entoure--manche { left: 41%; top: 32%; width: 28%; height: 12%; }
.trio-marine .entoure--dos { left: 55%; top: 64%; width: 27%; height: 12%; }
.trio-noir .entoure path, .trio-marine .entoure path { stroke: var(--blanc); }
.triptyque__legende h3 { font-size: var(--t-3); margin-bottom: 6px; }
.triptyque__legende p { color: var(--encre-2); font-size: .9375rem; max-width: 34ch; }
.trois-logos__pied { margin-top: 28px; }
@media (min-width: 768px) {
  .triptyque {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    gap: clamp(12px, 1.6vw, 24px);
  }
}

/* ---------- 12. Bento matière ---------- */
.bento { display: grid; gap: 12px; list-style: none; }
.carte-detail {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--rayon-img);
  background: var(--calme);
}
.carte-detail__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--studio); }
.carte-detail__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .carte-detail:hover .carte-detail__media img { transform: scale(1.03); } }
.carte-detail__texte { padding: 20px 20px 24px; display: grid; gap: 6px; }
.carte-detail__texte h3 { font-size: var(--t-3); }
.carte-detail__texte p { color: var(--encre-2); font-size: .9375rem; max-width: 44ch; }
.carte-detail--encre { background: var(--encre); color: var(--blanc); }
.carte-detail--encre .carte-detail__texte p { color: rgb(255 255 255 / .78); }

/* mobile : les cellules 3 et 4 côte à côte */
.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento > :nth-child(1), .bento > :nth-child(2) { grid-column: 1 / -1; }
.bento > :nth-child(3) .carte-detail__texte, .bento > :nth-child(4) .carte-detail__texte { padding: 14px 14px 18px; }
.bento > :nth-child(3) .carte-detail__texte h3, .bento > :nth-child(4) .carte-detail__texte h3 { font-size: 1.0625rem; }
.bento > :nth-child(3) .carte-detail__texte p, .bento > :nth-child(4) .carte-detail__texte p { font-size: .875rem; }

@media (min-width: 768px) {
  .bento { gap: 16px; }
  .bento > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .bento > :nth-child(1) .carte-detail__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
  .bento > :nth-child(2) { grid-column: 2; }
  .bento > :nth-child(3) { grid-column: 2; }
  .bento > :nth-child(4) { grid-column: 1 / -1; flex-direction: row; }
  .bento > :nth-child(4) .carte-detail__media { width: 50%; aspect-ratio: 16 / 10; }
  .bento > :nth-child(4) .carte-detail__texte { width: 50%; align-content: center; padding: 32px; }
}
/* desktop : photos pleine cellule, texte dans une bulle blanche posée dessus */
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(300px, 27vw, 400px)); }
  .bento > * { grid-column: auto; grid-row: auto; }
  .bento > :nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 3; }
  .bento > :nth-child(2) { grid-column: 7 / 13; grid-row: 1; }
  .bento > :nth-child(3) { grid-column: 7 / 10; grid-row: 2; }
  .bento > :nth-child(4) { grid-column: 10 / 13; grid-row: 2; flex-direction: column; }
  .bento .carte-detail__media { position: absolute; inset: 0; width: auto !important; aspect-ratio: auto !important; min-height: 0; }
  .bento .carte-detail { justify-content: flex-end; }
  .bento .carte-detail__texte {
    position: relative;
    width: auto !important;
    margin: 14px;
    padding: 16px 18px 18px !important;
    border-radius: 10px;
    background: rgb(255 255 255 / .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    align-self: flex-start;
    max-width: min(360px, calc(100% - 28px));
    box-shadow: 0 10px 30px -16px rgb(40 40 36 / .35);
  }
  .bento > :nth-child(1) .carte-detail__texte { margin: 22px; padding: 22px 24px 24px !important; max-width: 400px; }
  .bento > :nth-child(1) .carte-detail__texte h3 { font-size: var(--t-2); }
}

/* ---------- 13. Mosaïque lookbook ---------- */
.mosaique {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  list-style: none;
}
.mosaique__item { margin: 0; }
.mosaique__item:nth-child(even) { margin-top: 44px; }
.mosaique__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--rayon-img);
  background: var(--studio);
}
@media (min-width: 1024px) {
  .mosaique { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .mosaique__item:nth-child(even) { margin-top: 0; }
  .mosaique__item:nth-child(3n+2) { margin-top: 120px; }
  .mosaique__item:nth-child(3n) { margin-top: 48px; }
}

/* ---------- 14. Guide des tailles (résumé interactif) ---------- */
.guide { display: grid; gap: 32px; align-items: center; }
.guide__texte { display: grid; gap: 18px; align-content: start; }
.mesureur {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 4vw, 44px);
  border-radius: var(--rayon-img);
  background: var(--studio);
}
.bascule {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: var(--pilule);
  background: var(--blanc);
  justify-self: start;
}
.bascule input { position: absolute; opacity: 0; pointer-events: none; }
.bascule label {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--pilule);
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.bascule input:checked + label { background: var(--encre); color: var(--blanc); }
@media (min-width: 400px) { .bascule label { padding: 0 18px; font-size: .9375rem; } }
.bascule input:focus-visible + label { outline: 3px solid var(--rouge); outline-offset: 2px; }
.mesureur__valeurs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgb(20 20 20 / .1);
}
.mesure { display: grid; gap: 2px; }
.mesure__nombre {
  font-family: var(--display);
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mesure__nombre small { font-size: .38em; font-weight: 800; letter-spacing: 0; margin-left: 3px; }
.mesure__nom { font-size: .875rem; color: var(--encre-2); font-weight: 500; }
.mesureur__note { font-size: .875rem; color: var(--encre-2); }
@media (min-width: 1024px) {
  .guide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
}

/* sélecteur de tailles (fiche et mesureur) */
.tailles { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tailles input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.taille-pilule {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--pilule);
  background: var(--blanc);
  box-shadow: inset 0 0 0 1.5px var(--trait);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out);
}
.taille-pilule:active { transform: scale(.95); }
@media (hover: hover) { .taille-pilule:hover { box-shadow: inset 0 0 0 2px var(--encre); } }
.tailles input:checked + .taille-pilule { background: var(--encre); color: var(--blanc); box-shadow: none; }
.tailles input:focus-visible + .taille-pilule { outline: 3px solid var(--rouge); outline-offset: 2px; }
.tailles input:disabled + .taille-pilule {
  cursor: not-allowed;
  color: var(--encre-2);
  background: var(--calme) linear-gradient(to top right, transparent calc(50% - .75px), var(--encre-3) calc(50% - .75px), var(--encre-3) calc(50% + .75px), transparent calc(50% + .75px));
  box-shadow: inset 0 0 0 1.5px var(--filet);
  text-decoration: line-through;
}
.tailles input:disabled + .taille-pilule:active { transform: none; }
.mesureur .taille-pilule { background: transparent; box-shadow: inset 0 0 0 1.5px var(--trait); }
.mesureur .tailles input:checked + .taille-pilule { background: var(--encre); }

/* ---------- 15. Appel final ---------- */
.appel__boite { position: relative; }
.appel__cadre {
  position: relative;
  overflow: hidden;
  border-radius: var(--rayon-img);
  background: var(--studio);
  aspect-ratio: 4 / 5;
}
.appel__cadre img { width: 100%; height: 100%; object-fit: cover; object-position: 27% 40%; }
@media (min-width: 768px) { .appel__cadre img { object-position: 50% 42%; } }
.appel__carte {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin: -64px 12px 0;
  padding: 26px 22px;
  border-radius: var(--rayon-img);
  background: var(--blanc);
  box-shadow: var(--ombre-carte);
}
.appel__carte h2 { font-size: var(--t-2); }
.appel__carte .bouton { justify-self: start; }
@media (min-width: 768px) {
  .appel__cadre { aspect-ratio: 16 / 9; }
  .appel__carte { position: absolute; left: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 44px); margin: 0; max-width: 440px; padding: 32px; }
}
@media (min-width: 1280px) {
  .appel__cadre { aspect-ratio: 21 / 9; }
}

/* ---------- 16. Pied de page ---------- */
.pied {
  padding-top: clamp(48px, 6vw, 88px);
  background: var(--calme);
  overflow: hidden;
}
.pied__haut { display: grid; gap: 48px; }
.newsletter { display: grid; gap: 16px; align-content: start; }
.newsletter h2 { font-size: var(--t-2); max-width: 16ch; }
.newsletter p { color: var(--encre-2); max-width: 44ch; }
.champ-pilule {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 480px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--pilule);
  background: var(--blanc);
  box-shadow: inset 0 0 0 1.5px var(--trait);
  transition: box-shadow 160ms ease;
}
.champ-pilule:focus-within { box-shadow: inset 0 0 0 2px var(--encre); outline: 3px solid var(--rouge); outline-offset: 2px; }
.champ-pilule input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  outline: none;
}
.champ-pilule input::placeholder { color: var(--encre-2); }
.champ-pilule .bouton { min-height: 48px; padding: 0 20px; }
.newsletter__note { font-size: .8125rem; color: var(--encre-2); }

.pied__colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.pied__colonne h3 { font-family: var(--texte); font-size: .9375rem; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.pied__colonne ul { list-style: none; }
.pied__colonne a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--encre-2);
  text-decoration: none;
  font-size: .9375rem;
  transition: color 160ms ease;
}
.pied__colonne a:hover { color: var(--encre); }
.pied__marque {
  display: grid;
  gap: 16px;
  justify-items: start;
  margin-top: clamp(48px, 7vw, 96px);
  padding-bottom: 28px;
}
.pied__logo { width: 150px; height: auto; }
/* Mentions, email et lien « Mesure d'audience » : même police, même corps, même
   couleur, même soulignement, alignés sur une seule ligne de base. */
.pied__legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; font-size: .8125rem; line-height: 1.5; color: var(--encre-2); }
.pied__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pied__legal a:hover { color: var(--encre); }
@media (min-width: 768px) {
  .pied__colonnes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pied__colonne a { min-height: 36px; }
  /* Logo à gauche, mentions à droite : le bas du logo et le texte partagent la ligne de base. */
  .pied__marque { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }
  .pied__logo { width: 180px; }
}
@media (min-width: 1024px) {
  .pied__haut { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .pied__logo { width: clamp(180px, 15vw, 220px); }
}

/* ---------- 17. Fiche produit ---------- */
.fil { padding-block: 18px 14px; font-size: .875rem; color: var(--encre-2); }
.fil ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--encre-3); }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fil [aria-current] { color: var(--encre); font-weight: 500; }

.galerie { position: relative; }
.galerie__piste {
  display: flex;
  gap: 8px;
  margin-inline: calc(-1 * var(--gouttiere));
  padding-inline: var(--gouttiere);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  scrollbar-width: none;
  list-style: none;
  overscroll-behavior-x: contain;
}
.galerie__piste::-webkit-scrollbar { display: none; }
.galerie__vue {
  flex: 0 0 88%;
  scroll-snap-align: start;
  display: grid;
  gap: 10px;
  align-content: start;
}
.galerie__cadre {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--rayon-img);
  background: var(--studio);
}
.galerie__cadre img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.galerie__cadre img.fondu-entrant { opacity: 0; transition: opacity 200ms var(--ease-out); }
.galerie__cadre img.fondu-entrant.est-visible { opacity: 1; }
.galerie__legende { display: none; font-size: .875rem; color: var(--encre-2); }
.galerie__vue--absente .galerie__cadre::after {
  content: attr(data-note);
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: var(--pilule);
  background: var(--blanc);
  color: var(--encre);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 14px -6px rgb(40 40 36 / .3);
}
.galerie__legende strong { color: var(--encre); font-weight: 700; }
.galerie__puces { display: flex; justify-content: center; gap: 6px; margin-top: 12px; list-style: none; }
.galerie__puces button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--pilule);
  background: transparent;
  color: var(--encre-2);
  font-size: .875rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}
.galerie__puces button[aria-current="true"] { background: var(--calme); color: var(--encre); }

.reglette { display: grid; gap: 24px; padding-block: 24px 8px; }
.reglette__titre { display: grid; gap: 8px; align-content: start; }
.reglette__titre h1 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem); line-height: 1; }
.reglette__prix { font-family: var(--display); font-size: 1.625rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.reglette__accroche { color: var(--encre-2); max-width: 40ch; }
.reglette__choix { display: grid; gap: 22px; }
.choix { border: 0; margin: 0; padding: 0; min-width: 0; }
.choix__tete { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; font-size: .9375rem; }
.choix__tete .choix__guide { margin-left: auto; }
.choix__tete legend, .choix__tete .choix__nom { font-weight: 700; padding: 0; }
.choix__valeur { color: var(--encre-2); font-weight: 500; }
.choix__valeur::before { content: ": "; color: var(--encre-2); }
.choix .pastilles input, .choix .tailles input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choix__guide { font-size: .875rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-block: -12px; }
.reglette__action { display: grid; gap: 12px; align-content: start; }
.message-erreur {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--erreur);
  font-size: .9375rem;
  font-weight: 700;
}
.message-erreur .icone { width: 18px; height: 18px; }
.mention {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .875rem;
  color: var(--encre-2);
  line-height: 1.45;
}
.mention .icone { width: 18px; height: 18px; margin-top: 1px; color: var(--encre); }
.mention strong { color: var(--encre); }
.reassurance { display: grid; gap: 6px; list-style: none; font-size: .875rem; color: var(--encre-2); }
.reassurance li { display: flex; align-items: center; gap: 10px; }
.reassurance .icone { width: 18px; height: 18px; color: var(--encre); }

@keyframes secousse { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.est-secoue { animation: secousse 260ms var(--ease-out); }

@media (min-width: 1024px) {
  .galerie__piste {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .galerie__cadre { aspect-ratio: auto; height: clamp(360px, calc(100svh - 430px), 700px); }
  .galerie__legende { display: block; }
  .galerie__puces { display: none; }
  .reglette {
    grid-template-columns: minmax(0, 1fr) auto minmax(280px, 340px);
    gap: 40px;
    align-items: start;
    padding-block: 28px 32px;
    border-bottom: 1px solid var(--filet);
  }
}
@media (min-width: 1024px) {
  .reglette__titre h1 { font-size: clamp(1.875rem, 1rem + 1.6vw, 2.5rem); }
}
@media (min-width: 1280px) { .galerie__piste { gap: 16px; } }
@media (min-width: 1440px) { .reglette__choix { grid-auto-flow: column; gap: 40px; } }

/* barre d'achat collante (mobile) */
.barre-achat {
  position: fixed;
  z-index: 45;
  left: 8px;
  right: 8px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--pilule);
  background: rgb(255 255 255 / .96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--ombre-flottant), 0 0 0 1px rgb(20 20 20 / .05);
  transform: translateY(calc(100% + 24px));
  visibility: hidden;
  transition: transform 320ms var(--ease-out), visibility 0s linear 320ms;
}
.barre-achat.est-visible { transform: none; visibility: visible; transition: transform 320ms var(--ease-out), visibility 0s; }
.barre-achat__infos { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.barre-achat__nom { font-weight: 700; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-achat__detail { font-size: .8125rem; color: var(--encre-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-achat .bouton { min-height: 48px; padding: 0 22px; }
@media (min-width: 1024px) { .barre-achat { display: none; } }
/* M2 : sur mobile, le bas du pied de page (« Préférences cookies ») reste
   au-dessus de la barre collante, qui est toujours affichée en bas de fiche. */
.type-produit .pied { padding-bottom: calc(var(--barre-achat-h) + 16px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .type-produit .pied { padding-bottom: 0; } }

/* détails de la fiche */
.fiche-details { display: grid; gap: 40px; }
.prose { max-width: 64ch; font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--t-2); margin-top: 1.6em; }
.prose h3 { font-size: var(--t-3); margin-top: 1.4em; }
.prose a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 700; }
.fiche-details__titre { font-size: var(--t-2); margin-bottom: 18px; }
@media (min-width: 1024px) {
  .fiche-details { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
}

.accordeons { border-top: 1.5px solid var(--encre); }
.accordeon { border-bottom: 1px solid var(--filet); }
.accordeon summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary .icone { width: 20px; height: 20px; transition: transform 240ms var(--ease-out); }
.accordeon[open] summary .icone { transform: rotate(45deg); }
.accordeon::details-content {
  height: 0;
  overflow: clip;
  transition: height 260ms var(--ease-out), content-visibility 260ms allow-discrete;
}
.accordeon[open]::details-content { height: auto; }
.accordeon__corps { padding: 0 0 22px; color: var(--encre-2); max-width: 62ch; }
.accordeon__corps > * + * { margin-top: .8em; }

/* tableau des mesures */
.mesures { display: grid; gap: 20px; }
.tableau-defile { overflow-x: auto; }
.tableau-mesures { width: 100%; min-width: 300px; font-variant-numeric: tabular-nums; }
.tableau-mesures caption { text-align: left; font-size: .875rem; color: var(--encre-2); padding-bottom: 10px; }
.tableau-mesures th, .tableau-mesures td { padding: 13px 12px; text-align: left; }
.tableau-mesures thead th { font-size: .8125rem; font-weight: 700; color: var(--encre-2); }
.tableau-mesures tbody tr:nth-child(odd) { background: var(--calme); }
.tableau-mesures tbody tr > :first-child { border-radius: var(--rayon-champ) 0 0 var(--rayon-champ); font-family: var(--display); font-weight: 800; font-size: 1.0625rem; }
.tableau-mesures tbody tr > :last-child { border-radius: 0 var(--rayon-champ) var(--rayon-champ) 0; }
.tableau-mesures tbody tr { transition: background-color 200ms ease, color 200ms ease; }
.tableau-mesures tbody tr.est-choisie { background: var(--encre); color: var(--blanc); }

/* ---------- 18. Panneau panier ---------- */
.panneau {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--blanc);
  color: var(--encre);
  z-index: 80;
  box-shadow: var(--ombre-panneau);
  transform: translateX(100%);
  transition: transform 250ms var(--ease-out), overlay 250ms allow-discrete, display 250ms allow-discrete;
}
.panneau[open] { display: flex; flex-direction: column; transform: none; }
@starting-style { .panneau[open] { transform: translateX(100%); } }
.panneau::backdrop {
  background: rgb(20 20 20 / 0);
  transition: background-color 250ms ease, overlay 250ms allow-discrete, display 250ms allow-discrete;
}
.panneau[open]::backdrop { background: rgb(20 20 20 / .34); }
@starting-style { .panneau[open]::backdrop { background: rgb(20 20 20 / 0); } }
.panneau__tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 14px 22px;
  border-bottom: 1px solid var(--filet);
}
.panneau__tete h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.bouton-rond {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--calme);
  color: var(--encre);
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}
.bouton-rond:active { transform: scale(.92); }
.bouton-rond .icone { width: 20px; height: 20px; }
@media (hover: hover) { .bouton-rond:hover { background: var(--studio); } }
.panneau__corps { flex: 1; overflow-y: auto; padding: 16px 22px; overscroll-behavior: contain; }
.panneau__pied { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--filet); display: grid; gap: 14px; background: var(--blanc); }

.lignes { list-style: none; }
.ligne {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--filet);
}
.ligne:last-child { border-bottom: 0; }
.ligne__media { width: 84px; aspect-ratio: 4 / 5; border-radius: var(--rayon-champ); overflow: hidden; background: var(--studio); }
.ligne__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ligne__infos { display: grid; gap: 2px; align-content: start; min-width: 0; }
.ligne__haut { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ligne__nom { font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.ligne__prix { font-family: var(--display); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ligne__variante { font-size: .875rem; color: var(--encre-2); }
.ligne__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.quantite {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border-radius: var(--pilule);
  box-shadow: inset 0 0 0 1.5px var(--trait);
}
.quantite button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.quantite button:active { transform: scale(.9); }
.quantite button:disabled { color: var(--encre-3); cursor: not-allowed; }
@media (hover: hover) { .quantite button:not(:disabled):hover { background: var(--calme); } }
.quantite .icone { width: 16px; height: 16px; }
.quantite output { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.bouton-texte {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--encre-2);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bouton-texte:hover { color: var(--encre); }
.est-retiree { opacity: .4; transition: opacity 200ms ease; }

.totaux { display: grid; gap: 6px; font-size: .9375rem; }
.totaux div { display: flex; justify-content: space-between; gap: 12px; }
.totaux dt { color: var(--encre-2); }
.totaux dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; }
.totaux .totaux__total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--filet); font-size: 1.0625rem; }
.totaux .totaux__total dt { color: var(--encre); font-weight: 700; }
.totaux .totaux__total dd { font-family: var(--display); font-weight: 800; font-size: 1.375rem; }
.panneau__liens { display: grid; gap: 8px; }
.panneau__liens .lien { justify-self: center; font-size: .9375rem; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }

.vide { display: grid; gap: 16px; justify-items: start; padding-block: 12px; }
.vide__titre { font-size: var(--t-2); }
.vide p { color: var(--encre-2); max-width: 36ch; }
.vide__suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 8px; }

/* chargement : squelette aux formes des lignes */
.squelette { display: grid; gap: 16px; padding-block: 16px; }
.squelette span { display: block; height: 104px; border-radius: var(--rayon-champ); background: linear-gradient(90deg, var(--calme), var(--studio), var(--calme)); background-size: 200% 100%; animation: miroiter 1.2s linear infinite; }
@keyframes miroiter { to { background-position: -200% 0; } }

/* ---------- 19. Page panier ---------- */
.page-panier { display: grid; gap: 32px; align-items: start; }
.page-panier .ligne { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding-block: 22px; }
.page-panier .ligne__media { width: 112px; }
.page-panier .lignes { border-top: 1.5px solid var(--encre); }
.resume {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--rayon-img);
  background: var(--calme);
}
.resume h2, .resume__titre { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
@media (min-width: 1024px) {
  .page-panier { grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: clamp(40px, 5vw, 80px); }
  .resume { position: sticky; top: calc(var(--entete-h) + var(--entete-marge) * 2 + 16px); }
}

/* Mode vitrine : le panier est rendu, flouté et hors d'atteinte ; la carte
   d'ouverture se pose par-dessus. Les deux couches partagent la même cellule de
   grille, la hauteur suit donc la plus grande (jamais de carte qui déborde). */
.panier-vitrine { display: grid; }
.panier-vitrine > * { grid-area: 1 / 1; min-width: 0; }
.panier-vitrine__flou {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.panier-vitrine__voile {
  z-index: 1;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 8px 0 32px;
  background: linear-gradient(rgb(255 255 255 / .2), rgb(255 255 255 / .45));
}
.carte-ouverture {
  width: min(100%, 460px);
  display: grid;
  gap: 18px;
  padding: 28px 22px 22px;
  border-radius: var(--rayon-img);
  background: var(--blanc);
  box-shadow: 0 0 0 1px rgb(40 40 36 / .05), var(--ombre-flottant);
}
.carte-ouverture--superposee { position: sticky; top: calc(var(--entete-h) + var(--entete-marge) * 2 + 16px); }
.carte-ouverture__etat { display: grid; gap: 16px; }
.carte-ouverture__titre { font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2.125rem); }
.carte-ouverture__texte { color: var(--encre-2); line-height: 1.55; }
.carte-ouverture__form { display: grid; gap: 14px; }
.carte-ouverture__note { font-size: .8125rem; line-height: 1.45; color: var(--encre-2); }
.carte-ouverture__fait { justify-items: start; }
.carte-ouverture__fait:focus { outline: none; }
.carte-ouverture__bulle { width: 56px; height: 56px; }
.carte-ouverture__bulle .icone { width: 28px; height: 28px; }
.carte-ouverture__suite { padding-top: 16px; border-top: 1px solid var(--filet); }
.panier-vitrine--vide { margin-top: clamp(32px, 5vw, 56px); }
.panier-vitrine--vide .carte-ouverture { justify-self: start; box-shadow: 0 0 0 1px var(--filet); }
@media (min-width: 600px) {
  .carte-ouverture { padding: 36px 36px 28px; gap: 20px; }
}
@media (min-width: 1024px) {
  /* Carte entière dans le premier écran d'un portable (1280 × 800). */
  .panier-vitrine__voile { align-items: center; padding-block: 12px; }
  .carte-ouverture--superposee { position: static; }
  .carte-ouverture { padding: 30px 34px 22px; gap: 16px; }
  .carte-ouverture__etat { gap: 14px; }
  .carte-ouverture__titre { font-size: 1.875rem; }
}

/* ---------- 20. Formulaires ---------- */
.formulaire { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.bloc-form { display: grid; gap: 18px; border: 0; margin: 0; padding: 0; min-width: 0; }
.bloc-form legend, .bloc-form__titre { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; padding: 0; margin-bottom: 4px; }
.bloc-form__aide { font-size: .9375rem; color: var(--encre-2); margin-top: -8px; }
.grille-champs { display: grid; gap: 18px; }
.champ { display: grid; gap: 7px; align-content: start; }
.champ label, .champ__libelle { font-weight: 700; font-size: .9375rem; }
.champ label .facultatif { font-weight: 500; color: var(--encre-2); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--trait);
  border-radius: var(--rayon-champ);
  background: var(--blanc);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:hover, .champ textarea:hover, .champ select:hover { border-color: var(--encre-2); }
.champ input:focus, .champ textarea:focus, .champ select:focus { border-color: var(--encre); outline: 3px solid var(--rouge); outline-offset: 2px; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--encre-2); opacity: 1; }
.champ [aria-invalid="true"] { border-color: var(--erreur); background: #FFF8F7; }
.champ__aide { font-size: .875rem; color: var(--encre-2); }
.champ__erreur { display: flex; gap: 6px; align-items: center; font-size: .875rem; font-weight: 700; color: var(--erreur); }
.champ__erreur .icone { width: 16px; height: 16px; }
.pot-de-miel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 600px) {
  .grille-champs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-champs--cp { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

.cartes-radio { display: grid; gap: 10px; }
.carte-radio { position: relative; }
.carte-radio input { position: absolute; opacity: 0; pointer-events: none; }
.carte-radio label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--rayon-img);
  box-shadow: inset 0 0 0 1.5px var(--trait);
  background: var(--blanc);
  cursor: pointer;
  transition: box-shadow 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out);
}
.carte-radio label:active { transform: scale(.99); }
.carte-radio__puce { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--trait); display: grid; place-items: center; transition: box-shadow 160ms ease; }
.carte-radio__puce::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blanc); transform: scale(0.5); opacity: 0; transition: transform 200ms var(--ease-out), opacity 160ms ease; }
.carte-radio__nom { font-weight: 700; }
.carte-radio__detail { grid-column: 2; font-size: .875rem; color: var(--encre-2); }
.carte-radio__prix { grid-row: 1 / span 2; grid-column: 3; font-weight: 700; font-variant-numeric: tabular-nums; }
.carte-radio input:checked + label { box-shadow: inset 0 0 0 2px var(--encre); background: var(--calme); }
.carte-radio input:checked + label .carte-radio__puce { box-shadow: inset 0 0 0 11px var(--encre); }
.carte-radio input:checked + label .carte-radio__puce::after { opacity: 1; transform: scale(1); }
.carte-radio input:focus-visible + label { outline: 3px solid var(--rouge); outline-offset: 2px; }
@media (min-width: 600px) { .cartes-radio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.case { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9375rem; cursor: pointer; }
.case input {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid var(--trait);
  border-radius: 6px;
  background: var(--blanc) center / 16px no-repeat;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.case input:checked { background-color: var(--encre); border-color: var(--encre); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23fff' d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); }
.case input:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.case input[aria-invalid="true"] { border-color: var(--erreur); }
.case a { font-weight: 700; }

.bandeau-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--rayon-img);
  background: var(--calme);
  font-size: .9375rem;
  line-height: 1.5;
}
.bandeau-info .icone { width: 22px; height: 22px; margin-top: 1px; }
.bandeau-info strong { display: block; font-weight: 700; margin-bottom: 2px; }
.bandeau-info--encre { background: var(--encre); color: var(--blanc); }
.bandeau-info--encre p { color: rgb(255 255 255 / .82); }

/* commande */
.commande { display: grid; gap: 40px; align-items: start; }
.recap { display: grid; gap: 18px; padding: 22px; border-radius: var(--rayon-img); background: var(--calme); }
.recap h2 { font-size: 1.375rem; }
.recap .ligne { grid-template-columns: 64px minmax(0, 1fr); padding-block: 12px; }
.recap .ligne__media { width: 64px; }
.recap .ligne__actions { display: none; }
.commande__envoi { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.commande__envoi .bouton { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding: 14px 20px; font-size: 1rem; }
@media (min-width: 600px) { .commande__envoi .bouton { font-size: 1.0625rem; padding-inline: 32px; } }
.commande__legal { font-size: .875rem; line-height: 1.55; color: var(--encre-2); }
@media (min-width: 1024px) {
  .commande { grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); gap: clamp(48px, 6vw, 96px); }
  .recap { position: sticky; top: calc(var(--entete-h) + var(--entete-marge) * 2 + 16px); padding: 28px; }
}

/* ---------- 21. Pages de contenu ---------- */
.entete-page { padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 48px); display: grid; gap: 18px; }
.entete-page h1 { font-size: var(--t-page); font-weight: 900; letter-spacing: -.035em; line-height: .95; max-width: 16ch; }
.entete-page__meta { font-size: .875rem; color: var(--encre-2); }

.deux-colonnes { display: grid; gap: 32px; align-items: start; }
.deux-colonnes__aside { display: grid; gap: 14px; align-content: start; }
.deux-colonnes__aside h2 { font-size: var(--t-2); }
@media (min-width: 1024px) {
  .deux-colonnes { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 112px); }
  .deux-colonnes__aside--colle { position: sticky; top: calc(var(--entete-h) + var(--entete-marge) * 2 + 24px); }
}

.sommaire { list-style: none; display: grid; gap: 2px; font-size: .9375rem; }
.sommaire a { display: flex; align-items: center; min-height: 40px; color: var(--encre-2); text-decoration: none; border-left: 2px solid var(--filet); padding-left: 14px; transition: color 160ms ease, border-color 160ms ease; }
.sommaire a:hover, .sommaire a[aria-current="true"] { color: var(--encre); border-color: var(--encre); }

.groupe-faq + .groupe-faq { margin-top: var(--section-s); }

.bandeau-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--rayon-img);
  background: var(--studio);
  aspect-ratio: 4 / 5;
}
.bandeau-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .bandeau-photo { aspect-ratio: 21 / 9; } }

.cartes-infos { display: grid; gap: 12px; list-style: none; }
.carte-info { display: grid; gap: 10px; padding: 24px; border-radius: var(--rayon-img); background: var(--calme); align-content: start; }
.carte-info .icone { width: 28px; height: 28px; }
.carte-info h3 { font-size: var(--t-3); }
.carte-info p { color: var(--encre-2); font-size: .9375rem; }
@media (min-width: 768px) { .cartes-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.etapes-suivi { list-style: none; display: grid; gap: 0; counter-reset: etape; }
.etape-suivi { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding-bottom: 26px; }
.etape-suivi::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--filet); }
.etape-suivi:last-child::before { display: none; }
.etape-suivi__puce { width: 28px; height: 28px; border-radius: 50%; background: var(--calme); box-shadow: inset 0 0 0 2px var(--filet); display: grid; place-items: center; }
.etape-suivi__puce .icone { width: 14px; height: 14px; color: var(--blanc); }
.etape-suivi.est-faite .etape-suivi__puce { background: var(--encre); box-shadow: none; }
.etape-suivi.est-faite::before { background: var(--encre); }
.etape-suivi.est-courante .etape-suivi__puce { background: var(--rouge-action); box-shadow: 0 0 0 5px rgb(227 40 30 / .16); }
.etape-suivi__nom { font-weight: 700; }
.etape-suivi__detail { font-size: .875rem; color: var(--encre-2); }

.merci { display: grid; gap: 20px; justify-items: start; }
.merci__bulle { width: 72px; height: 72px; border-radius: 50%; background: var(--rouge-action); color: var(--blanc); display: grid; place-items: center; }
.merci__bulle .icone { width: 34px; height: 34px; }

.erreur-page { display: grid; gap: 22px; justify-items: start; padding-block: clamp(40px, 8vw, 120px); }
.erreur-page__code { font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 3rem + 14vw, 14rem); line-height: .8; letter-spacing: -.05em; color: var(--studio); }

/* collection : filtres */
.filtres { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); scrollbar-width: none; list-style: none; }
.filtres::-webkit-scrollbar { display: none; }
.filtre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border-radius: var(--pilule);
  box-shadow: inset 0 0 0 1.5px var(--filet);
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}
.filtre--tout { padding-left: 18px; }
.filtre::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background-color: var(--c, transparent); background-image: var(--trame, none); background-size: 3px 3px, 5px 5px; box-shadow: inset 0 0 0 1px rgb(20 20 20 / .18); }
.filtre--tout::before { display: none; }
.filtre:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.filtre[aria-current="true"] { background: var(--encre); color: var(--blanc); box-shadow: none; }
.tuiles--grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
.tuiles--grille .tuile__coloris .pastilles { display: none; }
@media (min-width: 768px) {
  .tuiles--grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; }
  .tuiles--grille .tuile__coloris .pastilles { display: flex; }
}
@media (min-width: 1100px) { .tuiles--grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 22. Mesure d'audience : réglage (confidentialité, cookies) ---------- */
.reglage-mesure {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 20px;
  border-radius: var(--rayon-img);
  background: var(--calme);
}
.reglage-mesure__etat { font-size: .9375rem; line-height: 1.5; color: var(--encre); font-weight: 500; }
.reglage-mesure__etat::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: var(--vert); vertical-align: 1px; }
.reglage-mesure.est-coupee .reglage-mesure__etat::before { background: var(--encre-3); }
.reglage-mesure__bouton { min-height: 48px; }

/* ---------- 23. Messages flash ---------- */
.flashs { display: grid; gap: 8px; margin-top: 16px; }
.flash { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: var(--rayon-img); background: var(--calme); font-weight: 500; }
.flash--succes { background: #EAF5EF; color: #185F3C; }
.flash--erreur { background: #FCEDEC; color: var(--erreur); }

/* ---------- 24. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .defilant { -webkit-mask-image: none; mask-image: none; }
  .defilant__piste { animation: none; width: auto; justify-content: center; }
  .defilant__groupe { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding-inline: var(--gouttiere); }
  .defilant__groupe[aria-hidden="true"] { display: none; }
  .defilant__pause { display: none; }
  .defilant__item { font-size: clamp(1.125rem, 1rem + 1vw, 1.75rem); }
}

/* ---------- 25. Compléments ---------- */
.newsletter__retour { font-size: .9375rem; font-weight: 700; }
.newsletter__retour.est-ok { color: var(--vert); }
.newsletter__retour.est-erreur { color: var(--erreur); }
.ligne__nom a { text-decoration: none; }
.ligne__nom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 26. Pages : compléments d'intégration ---------- */
.section--derniere { padding-bottom: var(--section); }
.titre-bloc { font-size: var(--t-2); margin-bottom: 20px; }
.bento__pied, .trois-logos__pied { margin-top: 24px; }
.mention--centre { justify-content: center; text-align: center; }
.flashs { margin-top: 16px; margin-bottom: -8px; }
.flash .icone { width: 20px; height: 20px; flex-shrink: 0; }

/* tuiles en grille (collection, « Va avec ») : prix sous le nom */
.tuiles--grille .tuile__infos { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.tuiles--grille .tuile__nom { font-size: 1rem; line-height: 1.2; }
.tuiles--grille .tuile__prix { font-size: 1rem; }
.tuiles--grille .tuile__accroche { display: none; }
.tuiles--grille .tuile__coloris { margin-top: -8px; }
.tuiles--grille .bulle-badge { top: 8px; left: 8px; font-size: .6875rem; padding: 6px 10px 6px 8px; }
@media (min-width: 768px) {
  .tuiles--grille .tuile__nom, .tuiles--grille .tuile__prix { font-size: 1.125rem; }
}
.bandeau-info--collection, .bandeau-info--contact { margin-top: clamp(40px, 5vw, 64px); }
.bandeau-info p strong { display: block; }

/* triptyque de la page « Les trois logos » */
.triptyque--page { margin-bottom: 8px; }
.triptyque__titre { font-size: var(--t-3); margin-bottom: 6px; }

/* sections éditoriales : titre à gauche, texte à droite */
.sections { border-top: 1.5px solid var(--encre); }
.sections__ligne { display: grid; gap: 14px; padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--filet); }
.sections__ligne:last-child { border-bottom: 0; }
.sections__ligne h2 { font-size: var(--t-3); line-height: 1.15; }
.sections__ligne .prose { font-size: 1.0625rem; }
@media (min-width: 1024px) {
  .sections__ligne { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 112px); }
  .sections__ligne h2 { font-size: var(--t-2); position: sticky; top: calc(var(--entete-h) + var(--entete-marge) * 2 + 24px); align-self: start; }
}
.monogramme { margin: 1.4em 0 0; display: grid; gap: 10px; justify-items: start; }
.monogramme img { width: min(260px, 70%); padding: 24px 28px; border-radius: var(--rayon-img); background: var(--calme); box-sizing: content-box; }
.monogramme figcaption { font-size: .875rem; color: var(--encre-2); }

.appel-simple { display: grid; gap: 16px; justify-items: start; padding: clamp(28px, 5vw, 56px); border-radius: var(--rayon-img); background: var(--calme); }
.appel-simple h2 { font-size: var(--t-1); }
@media (min-width: 768px) { .appel-simple { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } .appel-simple h2, .appel-simple .chapo { grid-column: 1; } .appel-simple .bouton { grid-column: 2; grid-row: 1 / span 2; } }

/* matière */
.duo-photos { display: grid; gap: 12px; }
.duo-photos__item { margin: 0; display: grid; gap: 10px; }
.duo-photos__cadre { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon-img); background: var(--studio); }
.duo-photos__cadre img { width: 100%; height: 100%; object-fit: cover; }
.duo-photos__item figcaption { font-size: .875rem; color: var(--encre-2); }
@media (min-width: 768px) { .duo-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.caracteristiques { display: grid; gap: 12px; margin: 0; }
.caracteristique { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--rayon-img); background: var(--calme); align-content: start; }
.caracteristique dt { font-size: .875rem; font-weight: 700; color: var(--encre-2); }
.caracteristique dd { margin: 0; font-family: var(--display); font-size: var(--t-3); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
@media (min-width: 768px) { .caracteristiques { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .caracteristiques { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* marque */
.scene-marque { display: grid; gap: 12px; }
.scene-marque__logo { display: grid; place-items: center; padding: clamp(40px, 8vw, 120px) clamp(24px, 6vw, 96px); border-radius: var(--rayon-img); background: var(--calme); }
.scene-marque__logo img { width: min(100%, 620px); height: auto; }
.scene-marque__photo { margin: 0; overflow: hidden; border-radius: var(--rayon-img); background: var(--studio); aspect-ratio: 4 / 5; }
.scene-marque__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .scene-marque { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; } .scene-marque__photo { aspect-ratio: auto; } }

/* livraison */
.cartes-infos--trois { list-style: none; }
.carte-info h2 { font-size: var(--t-3); }
.carte-info--encre { background: var(--encre); color: var(--blanc); }
.carte-info--encre p { color: rgb(255 255 255 / .8); }
.carte-info--encre .bouton { justify-self: start; margin-top: 6px; }
.carte-info .carte-info__prix { font-family: var(--display); font-size: 1.25rem; font-weight: 800; color: var(--encre); font-variant-numeric: tabular-nums; }
@media (min-width: 1100px) { .cartes-infos--trois { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* tailles */
.tableaux-tailles { display: grid; gap: 32px; }
.tableau-taille { display: grid; gap: 10px; align-content: start; }
.tableau-taille__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tableau-taille__tete h2 { font-size: var(--t-2); }
.tableau-taille__tete .lien { font-size: .9375rem; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 1024px) { .tableaux-tailles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); } }
.note-mesures { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: .9375rem; color: var(--encre-2); max-width: 72ch; }
.note-mesures .icone { width: 20px; height: 20px; margin-top: 2px; color: var(--encre); }
.conseils { display: grid; gap: 12px; list-style: none; }
.conseil { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 20px 22px; border-radius: var(--rayon-img); background: var(--calme); align-items: start; }
.conseil .icone { width: 22px; height: 22px; margin-top: 2px; }
@media (min-width: 768px) { .conseils { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .conseils { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* contact */
.contact { padding-top: clamp(28px, 5vw, 64px); }
.contact__titre { font-size: var(--t-page); font-weight: 900; letter-spacing: -.035em; line-height: .95; margin-bottom: 4px; }
.carte-contact { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--rayon-img); background: var(--calme); text-decoration: none; transition: background-color 180ms ease, transform 160ms var(--ease-out); }
.carte-contact:hover { background: var(--studio); }
.carte-contact:active { transform: scale(.99); }
.carte-contact .icone { width: 26px; height: 26px; }
.carte-contact__libelle { display: block; font-size: .8125rem; color: var(--encre-2); font-weight: 700; }
.carte-contact__valeur { display: block; font-weight: 700; word-break: break-all; }
.contact__note { font-size: .9375rem; }
.contact__formulaire { max-width: 640px; }

/* légal */
.prose--legal h2 { font-size: var(--t-3); margin-top: 2em; scroll-margin-top: 110px; }
.prose--legal h2:first-child { margin-top: 0; }
.prose--legal h3 { font-size: 1.125rem; }

/* erreur */
.erreur-page h1 { font-size: var(--t-1); max-width: 18ch; }
.erreur-page__liens { display: flex; flex-wrap: wrap; gap: 10px; }

/* panier, commande, confirmation, suivi */
.page-panier__suite { margin-top: 12px; }
.vide--page { justify-items: start; gap: 20px; padding-block: clamp(32px, 7vw, 96px); }
.vide__titre-page { font-size: var(--t-page); font-weight: 900; letter-spacing: -.035em; line-height: .95; }
.recap__note { font-size: .875rem; color: var(--encre-2); }
.recap__modifier { justify-self: start; font-size: .9375rem; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.confirmation { display: grid; gap: 40px; padding-top: clamp(28px, 5vw, 64px); align-items: start; }
.merci__titre { font-size: var(--t-page); font-weight: 900; letter-spacing: -.035em; line-height: .95; max-width: 14ch; }
.confirmation__numero { font-size: 1.0625rem; }
.confirmation__numero strong { font-family: var(--display); font-weight: 800; letter-spacing: .01em; }
.confirmation__liens { display: flex; flex-wrap: wrap; gap: 10px; }
.confirmation__garder { font-size: .875rem; max-width: 52ch; }
@media (min-width: 1024px) { .confirmation { grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: clamp(48px, 6vw, 96px); } }
.lignes--simples .ligne--simple { grid-template-columns: minmax(0, 1fr); padding-block: 12px; }
.statut-actuel { margin-bottom: 20px; }
.suivi__details { display: grid; gap: 20px; align-content: start; }
.carte-info--encre h2 { font-size: var(--t-3); }

/* lookbook */
.mosaique--page { margin-bottom: 8px; }
.lookbook__pied { display: grid; gap: 18px; justify-items: start; margin-top: clamp(80px, 9vw, 150px); }
.lookbook__pied .chapo { font-size: 1rem; }

.deux-colonnes:has(> aside[hidden]) { grid-template-columns: minmax(0, 1fr); }

/* grilles à une colonne sur mobile : jamais plus larges que l'écran (min-content).
   :where() = spécificité nulle, les grilles des media queries gardent la main. */
:where(.guide, .pied__haut, .vitrine, .fiche-details, .deux-colonnes, .commande, .page-panier,
.confirmation, .reglette, .newsletter, .mesureur, .entete-section, .scene-marque,
.tableaux-tailles, .duo-photos, .cartes-infos, .caracteristiques, .conseils, .sections__ligne) {
  grid-template-columns: minmax(0, 1fr);
}

/* repli § 12 : aplat gris studio + monogramme, prioritaire sur les fonds des cadres */
.media-absent.media-absent, .est-absente.est-absente {
  background: var(--studio) url('/static/img/logo/wi.svg') center / min(34%, 180px) auto no-repeat;
}
.tuile--compacte .bulle-badge { display: none; }

.insecable { white-space: nowrap; }
.entete-page h1.entete-page__h1-s { font-size: clamp(2rem, 1.4rem + 3vw, 4rem); max-width: none; }
.tuiles--grille .bulle-badge { display: none; }
@media (min-width: 1024px) { .galerie__vue--absente .galerie__cadre::after { display: none; } }

/* ---------- 26. Correctifs de la recette du 25/09 ---------- */
/* F5 : caractéristiques techniques en liste, jamais collées dans la prose */
.fiche-tech { display: grid; margin: 0; }
.fiche-tech > div { display: grid; gap: 2px; padding-block: 10px; border-top: 1px solid var(--filet); }
.fiche-tech > div:first-child { border-top: 0; padding-top: 0; }
.fiche-tech dt { font-size: .8125rem; font-weight: 700; color: var(--encre); }
.fiche-tech dd { margin: 0; }
@media (min-width: 600px) { .fiche-tech > div { grid-template-columns: 10.5em minmax(0, 1fr); gap: 16px; } }
.prose .fiche-tech { margin-top: 1.2em; font-size: 1rem; line-height: 1.55; }
.accordeon__corps .fiche-tech { margin-top: 16px; }

/* F8 : la page ne défile plus derrière le menu mobile ouvert */
.menu-ouvert, .menu-ouvert body { overflow: hidden; }

/* M10 : lien de suivi à garder, avec bouton de copie */
.lien-suivi { display: grid; gap: 10px; }
.lien-suivi__texte { font-size: .9375rem; line-height: 1.55; color: var(--encre-2); }
.lien-suivi__texte strong { color: var(--encre); }
.lien-suivi__ligne { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lien-suivi__champ {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--trait);
  border-radius: var(--rayon-champ);
  background: var(--calme);
  color: var(--encre);
  font-size: 1rem;
  text-overflow: ellipsis;
}
.lien-suivi__champ:focus { border-color: var(--encre); outline: 3px solid var(--rouge); outline-offset: 2px; }
.lien-suivi__bouton { min-height: 48px; }
.lien-suivi__retour { font-size: .875rem; font-weight: 700; color: var(--vert); }
@media (min-width: 600px) { .lien-suivi__ligne { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- 27. Wear It Club (SPEC-CLUB) ---------- */
/* Base 360 px, min-width seulement. L'étiquette est un SVG en mm, mise à
   l'échelle ici ; la carte de membre reprend le studio blanc et la bulle rouge. */
:where(.club-tete, .club-scene, .club-fiche, .club-moi__tete) { grid-template-columns: minmax(0, 1fr); }

.club-tete { display: grid; gap: 32px; align-items: center; padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 72px); }
.club-tete__texte { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.club-tete__titre { font-size: var(--t-page); font-weight: 900; letter-spacing: -.035em; line-height: .95; }
.club-tete__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }

.club-scene { display: grid; gap: 20px; min-width: 0; }
.club-scene figure { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.club-scene figcaption { font-size: .8125rem; line-height: 1.45; color: var(--encre-2); }
.club-scene__col {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  border-radius: var(--rayon-img);
  background: #1B1B1B;
  overflow: hidden;
}
/* bord-côte du col et couture : l'intérieur d'un sweat noir */
.club-scene__col::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 17%;
  background: repeating-linear-gradient(90deg, #262626 0 3px, #171717 3px 6px);
}
.club-scene__col::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 21%;
  border-top: 1.5px dashed rgb(255 255 255 / .2);
}
.club-scene__col .etiquette {
  position: relative;
  z-index: 1;
  width: min(36%, 170px);
  height: auto;
  margin-top: 9%;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 12px 22px rgb(0 0 0 / .5));
}
.club-scene__carte .carte-membre { max-width: 380px; }

@media (min-width: 600px) {
  .club-scene { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
}
@media (min-width: 1024px) {
  .club-tete { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
}

/* carte de membre */
.carte-membre {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  width: 100%;
  min-width: 0;
  /* proportion d'une carte bancaire sans aspect-ratio (qui élargirait la carte
     quand le contenu dépasse la hauteur calculée) */
  min-height: 200px;
  padding: clamp(16px, 4vw, 22px);
  border-radius: 16px;
  /* la bulle rouge du logo, en fond : rien ne déborde, la carte garde sa hauteur de contenu */
  background: var(--blanc) radial-gradient(circle at calc(100% + 26px) -46px, var(--rouge) 0 116px, transparent 117px) no-repeat;
  box-shadow: var(--ombre-carte), inset 0 0 0 1px var(--filet);
}
.carte-membre__club { display: flex; align-items: center; gap: 8px; }
.carte-membre__club img { width: 84px; height: auto; }
.carte-membre__club span { font-family: var(--display); font-weight: 800; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.carte-membre__numero { align-self: end; display: grid; gap: 2px; line-height: 1; }
.carte-membre__libelle { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); }
.carte-membre__numero strong { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 2.2rem + 4vw, 4.5rem); letter-spacing: -.04em; line-height: .9; }
.carte-membre__pied { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; min-height: 26px; font-size: .8125rem; color: var(--encre-2); }
.carte-membre__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: var(--pilule);
  background: var(--rouge-action);
  color: var(--blanc);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* numéro de sweat */
.club-numero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--display); font-weight: 900; font-size: clamp(2.75rem, 1.8rem + 4vw, 4.75rem); letter-spacing: -.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.club-numero span { font-family: var(--texte); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rouge-sombre); }
.club-numero--petit { font-size: 1.625rem; }
.club-numero--petit span { font-size: .6875rem; }

/* page d'un sweat */
.club-fiche { display: grid; gap: 28px; padding-top: clamp(20px, 4vw, 48px); }
.club-fiche__media { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--rayon-img); background: var(--studio); overflow: hidden; }
.club-fiche__media img { width: 100%; height: 100%; object-fit: cover; }
.club-fiche__infos { display: grid; gap: 24px; align-content: start; min-width: 0; }
.club-fiche__titre { font-size: var(--t-2); }
.club-fiche__club { font-size: .9375rem; }
.club-fiche__tech { font-size: .9375rem; }
@media (min-width: 1024px) {
  .club-fiche { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .club-fiche__media { position: sticky; top: calc(var(--entete-h) + var(--entete-marge) * 2 + 16px); }
}
.club-bloc { display: grid; gap: 18px; padding: 22px 18px; border-radius: var(--rayon-img); background: var(--calme); min-width: 0; }
.club-bloc__titre { font-size: var(--t-3); margin-bottom: 8px; }
.club-bloc--envoye { justify-items: start; gap: 14px; }
.club-bloc--envoye h2 { font-size: var(--t-3); }
.club-bloc .bandeau-info { background: var(--blanc); }
.club-cases { display: grid; gap: 14px; }
.club-cases .facultatif { color: var(--encre-2); }
.club-cases .case input, .club-supprimer .case input { font-size: 1rem; }
.club-membre { display: grid; gap: 14px; justify-items: start; padding: 20px 22px; border-radius: var(--rayon-img); background: var(--calme); }
.club-membre__ligne { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 1.0625rem; }
.club-membre__ligne .icone { color: var(--vert); }
@media (min-width: 600px) { .club-bloc { padding: 28px; } }

.club-atelier { display: grid; gap: 20px; justify-items: start; padding-block: clamp(40px, 8vw, 110px); max-width: 760px; }
.club-atelier__titre { font-size: var(--t-1); }
.club-atelier__lien a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; color: var(--encre-2); }

.club-etroit { display: grid; gap: 24px; max-width: 720px; }
.club-etroit__note { font-size: .9375rem; }
.club-lien .entete-page h1 { max-width: 14ch; }

/* espace membre */
.club-moi__tete { display: grid; gap: 28px; align-items: center; padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.club-moi__texte { display: grid; gap: 16px; min-width: 0; }
.club-moi__titre { font-size: var(--t-page); font-weight: 900; letter-spacing: -.035em; line-height: .95; }
.club-moi__carte { max-width: 400px; }
@media (min-width: 900px) { .club-moi__tete { grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); } }
.club-moi__bloc { display: grid; gap: 18px; padding-block: 32px; border-top: 1px solid var(--filet); min-width: 0; }

.club-sweats { list-style: none; display: grid; gap: 12px; }
.club-sweat { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px 16px; align-items: center; padding: 16px; border-radius: var(--rayon-img); background: var(--calme); }
.club-sweat__media { width: 72px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--studio); }
.club-sweat__media img { width: 100%; height: 100%; object-fit: cover; }
.club-sweat__infos { display: grid; gap: 4px; min-width: 0; }
.club-sweat__nom { font-weight: 700; }
.club-sweat__garantie { font-size: .875rem; font-weight: 700; color: var(--vert); }
.club-sweat__garantie.est-finie { color: var(--encre-2); }
.club-garantie { grid-column: 1 / -1; }
.club-garantie > summary { list-style: none; }
.club-garantie > summary::-webkit-details-marker { display: none; }
.club-garantie[open] > summary { --bouton-fond: var(--encre); --bouton-texte: var(--blanc); }
.club-garantie__form { margin-top: 14px; padding: 18px; border-radius: var(--rayon-img); background: var(--blanc); gap: 18px; }
.bloc-form .club-garantie__legende { font-family: var(--texte); font-size: .9375rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.club-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.club-choix__option { position: relative; }
.club-choix__option input { position: absolute; opacity: 0; pointer-events: none; }
.club-choix__option span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pilule);
  box-shadow: inset 0 0 0 1.5px var(--trait);
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.club-choix__option input:checked + span { background: var(--encre); color: var(--blanc); box-shadow: none; }
.club-choix__option input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 2px; }
.club-garantie__note { font-size: .875rem; }
@media (min-width: 768px) {
  .club-sweat { grid-template-columns: 88px minmax(0, 1fr) auto; }
  .club-sweat__media { width: 88px; }
  .club-garantie:not([open]) { grid-column: auto; }
}

.club-parrainage__actions { display: grid; gap: 10px; justify-items: start; }
.club-code {
  width: 100%;
  max-width: 12ch;
  min-height: 56px;
  padding: 0 14px;
  border: 1.5px dashed var(--encre);
  border-radius: var(--rayon-champ);
  background: var(--calme);
  color: var(--encre);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: .04em;
}
.club-code:focus { outline: 3px solid var(--rouge); outline-offset: 2px; }
.club-parrainage__texte { max-width: 70ch; }
@media (min-width: 600px) { .club-parrainage__actions { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; } }

.club-bons { list-style: none; display: grid; gap: 8px; max-width: 640px; }
.club-bon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 16px; border-radius: var(--rayon-img); background: var(--calme); }
.club-bon__code { font-family: var(--display); font-weight: 800; letter-spacing: .03em; overflow-wrap: anywhere; }
.club-bon__valeur { font-weight: 700; font-variant-numeric: tabular-nums; }
.club-bon__etat { grid-column: 1 / -1; font-size: .875rem; font-weight: 700; color: var(--vert); }
.club-bon.est-utilise .club-bon__code, .club-bon.est-utilise .club-bon__valeur { color: var(--encre-2); text-decoration: line-through; }
.club-bon.est-utilise .club-bon__etat { color: var(--encre-2); }

.club-compte { justify-items: start; }
.club-compte .texte-2 { overflow-wrap: anywhere; }
.club-supprimer > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.club-supprimer__form { display: grid; gap: 14px; justify-items: start; max-width: 640px; margin-top: 10px; }

.totaux .totaux__remise dd { color: var(--vert); font-weight: 700; }

/* Wear It Club sur l'accueil (2026-09-27) */
.club-accueil { display: grid; gap: 32px; align-items: center; }
.club-accueil__texte { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.club-accueil__marque { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge-action); }
.club-accueil__points { display: grid; gap: 12px; list-style: none; max-width: 52ch; }
.club-accueil__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--encre-2); }
.club-accueil__points strong { color: var(--encre); font-weight: 700; }
.club-accueil__points .icone { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--rouge); }
.reassurance a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .club-accueil { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
}

/* Séries limitées (SPEC-CLUB § 11, 2026-09-27) : pastille des tuiles, ligne de la fiche.
   Encre pleine pour ne pas se confondre avec la bulle blanche « Précommande ». */
.tuile__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.tuile__badges .bulle-badge { position: static; }
.badge-serie {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--pilule);
  background: var(--encre);
  color: var(--blanc);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 4px 14px -6px rgb(40 40 36 / .3);
}
.tuiles--grille .tuile__badges { top: 8px; left: 8px; right: 8px; }
.tuiles--grille .badge-serie { font-size: .6875rem; padding: 6px 10px; }
.reglette__serie { font-size: .9375rem; color: var(--encre-2); }
.reglette__serie strong { color: var(--encre); font-weight: 700; }
