/*
 * YukoLabs — feuille de style du site
 * Déploiement : /home/yukolabs.com/public_html/assets/css/yukolabs.css
 *
 * Sommaire
 *  1. Polices et variables      6. Réalisations
 *  2. Base                      7. Rayon des codes (accueil)
 *  3. En-tête et menu           8. Boutique
 *  4. Boutons, stickers, puces  9. Fiche d'un code
 *  5. Mosaïque d'accueil       10. Appel final, pied, animations
 *                              11. Formulaires, messages, comptes clients
 */

/* 1. Polices et variables ------------------------------------------------- */

@font-face {
  font-family: 'Rubik';
  src: url('../fonts/rubik-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --creme: #FFF3DC;
  --encre: #1A1423;
  --violet: #6D4AFF;
  --violet-clair: #8468FF;
  --jaune: #FFD43B;
  --rose: #FF6B9A;
  --menthe: #3DDBA5;
  --ciel: #5CC8FF;
  --lilas: #B9A6FF;
  --vert: #18B26B;
  --blanc: #FFFFFF;
  --gris: #4A4356;

  --trait: 3px solid var(--encre);
  --titre: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --texte: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --marge: 28px;
  --espace-section: 120px;
}

/* 2. Base ----------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background-color: var(--creme);
  background-image: radial-gradient(rgba(26, 20, 35, 0.1) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  color: var(--encre);
  font-family: var(--texte);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.yl-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--marge);
}

.yl-evitement {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--encre);
  color: var(--creme);
  border-radius: 12px;
  font-weight: 700;
}
.yl-evitement:focus { top: 16px; }

.yl-ico { flex: 0 0 auto; width: 20px; height: 20px; }

.yl-etiquette {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yl-titre {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.yl-surligne {
  display: inline-block;
  padding: 0 14px;
  background: var(--jaune);
  border: var(--trait);
  border-radius: 16px;
  transform: rotate(-2deg);
}

/* Mot en jaune, contour épais façon cartoon */
.yl-pop {
  display: inline-block;
  color: var(--jaune);
  -webkit-text-stroke: 7px var(--encre);
  paint-order: stroke fill;
  filter: drop-shadow(0 5px 0 var(--encre));
  transform: rotate(-2deg);
}

/* 3. En-tête et menu ------------------------------------------------------ */

.yl-entete {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 16px;
}

.yl-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 20px;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 24px;
  box-shadow: 0 5px 0 var(--encre);
}

.yl-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  font-family: var(--titre);
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.yl-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.yl-menu__lien {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  background-image: linear-gradient(var(--jaune), var(--jaune));
  background-repeat: no-repeat;
  background-position: 0 82%;
  background-size: 0 8px;
  transition: background-size 0.2s ease;
}
.yl-menu__lien[aria-current="page"] { background-size: 100% 8px; }

.yl-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 46px;
  padding: 0;
  background: var(--jaune);
  border: var(--trait);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--encre);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.yl-burger span {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: var(--encre);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.yl-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.yl-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.yl-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 4. Boutons, stickers, puces --------------------------------------------- */

.yl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  background: var(--blanc);
  color: var(--encre);
  border: var(--trait);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--encre);
  font-family: var(--titre);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.yl-btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--encre); }

.yl-btn--jaune  { background: var(--jaune); }
.yl-btn--menthe { background: var(--menthe); }
.yl-btn--violet { background: var(--violet); color: var(--blanc); }
.yl-btn--petit  { min-height: 46px; padding: 0 18px; border-radius: 16px; box-shadow: 0 4px 0 var(--encre); font-size: 15px; }
.yl-btn--grand  { min-height: 60px; padding: 0 30px; border-radius: 20px; font-size: 18px; }
.yl-btn--large  { width: 100%; }

/* Bouton posé sur un fond sombre : contour et ombre clairs */
.yl-btn--sur-sombre { border-color: var(--creme); box-shadow: 0 6px 0 var(--creme); }
.yl-btn--sur-sombre:active { box-shadow: 0 1px 0 var(--creme); }

.yl-btn[aria-disabled="true"] {
  background: #E9E2D2;
  color: var(--gris);
  box-shadow: 0 3px 0 var(--encre);
  cursor: not-allowed;
  transform: none;
}

.yl-sticker {
  display: inline-block;
  padding: 5px 14px;
  background: var(--jaune);
  color: var(--encre);
  border: var(--trait);
  border-radius: 12px;
  font-family: var(--titre);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(var(--angle, -3deg));
  transition: transform 0.2s ease;
}
.yl-sticker--rose   { background: var(--rose); }
.yl-sticker--menthe { background: var(--menthe); }
.yl-sticker--violet { background: var(--violet); color: var(--blanc); }

.yl-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.yl-puce {
  padding: 4px 12px;
  background: var(--creme);
  border: 2px solid var(--encre);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}

.yl-enligne {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.yl-enligne::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: yl-pulse 1.8s ease-in-out infinite;
}

/* 5. Mosaïque d'accueil --------------------------------------------------- */

.yl-mosaique {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
}

.yl-tuile {
  padding: 30px;
  border: var(--trait);
  border-radius: 30px;
  box-shadow: 0 8px 0 var(--encre);
  transition: transform 0.18s ease;
}

/* Grande tuile : titre et mascotte */
.yl-accroche {
  grid-column: span 8;
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: 48px;
  background: var(--violet);
  color: var(--blanc);
  border-radius: 34px;
}
.yl-accroche::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--violet-clair);
}
.yl-accroche > * { position: relative; }
.yl-accroche__titre {
  max-width: 540px;
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.yl-accroche__titre span { display: block; }
.yl-accroche__titre .yl-pop { display: inline-block; }
.yl-accroche__texte { max-width: 440px; font-size: 18px; color: #F1ECFF; }
.yl-accroche__boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

.yl-mascotte { width: 200px; }
.yl-mascotte svg { width: 100%; height: auto; overflow: visible; }
.yl-accroche .yl-mascotte {
  position: absolute;
  right: 34px;
  bottom: 30px;
  cursor: pointer;
  animation: yl-flotte 4s ease-in-out infinite;
}
.yl-mascotte.yl-saute { animation: yl-saute 0.6s ease; }
.yl-bulle { animation: yl-bulle 3s ease-in-out infinite; }
.yl-bulle--2 { animation-delay: 0.6s; }
.yl-bulle--3 { animation-delay: 1.2s; }
.yl-yeux { transform-box: fill-box; transform-origin: center; animation: yl-cligne 4.5s infinite; }

/* Tuile jaune : comment ça marche, en une phrase et une ligne */
.yl-etapes {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: var(--jaune);
}
.yl-etapes__titre {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
/* Les trois étapes sur une seule bande, façon ligne de commande */
.yl-etapes__fil {
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  max-width: 100%;
  margin-top: 2px;
  padding: 9px 14px;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.5;
}
.yl-etapes__fil li { white-space: nowrap; }
.yl-etapes__fil li + li::before { content: '>'; margin: 0 8px; color: var(--violet); }

/* Petites tuiles chiffres */
.yl-chiffre {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 22px;
  border-radius: 28px;
}
.yl-chiffre--rose   { background: var(--rose); }
.yl-chiffre--menthe { background: var(--menthe); }
.yl-chiffre strong {
  font-family: var(--titre);
  font-weight: 900;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.yl-chiffre span { font-weight: 700; font-size: 16px; line-height: 1.25; }

/* Tuile terminal */
.yl-terminal {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--encre);
}
.yl-terminal__barre {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--blanc);
  border-bottom: var(--trait);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
}
.yl-terminal__barre i {
  width: 14px;
  height: 14px;
  border: 2px solid var(--encre);
  border-radius: 50%;
  background: var(--rose);
}
.yl-terminal__barre i:nth-child(2) { background: var(--jaune); }
.yl-terminal__barre i:nth-child(3) { background: var(--menthe); margin-right: 8px; }
.yl-terminal__ecran {
  flex: 1;
  padding: 22px 22px 26px;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--creme);
  white-space: nowrap;
  overflow: hidden;
}
.yl-terminal__ecran div { opacity: 0; animation: yl-apparait 0.3s ease forwards; animation-delay: calc(var(--i) * 0.55s + 0.4s); }
.yl-terminal__ecran b { color: var(--jaune); font-weight: 700; }
.yl-terminal__ecran .yl-sortie { color: #C9C2D6; }
.yl-terminal__ecran .yl-ok { color: var(--menthe); }
.yl-curseur {
  display: inline-block;
  width: 10px;
  height: 18px;
  margin-left: 8px;
  vertical-align: -3px;
  background: var(--rose);
  animation: yl-curseur 1.1s steps(1) infinite;
}

/* Tuile stack */
.yl-stack {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 34px 36px 36px;
  background: var(--ciel);
}
.yl-stack__titre {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.yl-stack__liste { display: flex; flex-wrap: wrap; gap: 16px 12px; }
.yl-stack__liste li {
  padding: 8px 18px;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--encre);
  font-family: var(--titre);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
  transform: rotate(var(--angle, 0deg));
  transition: transform 0.2s ease;
}
.yl-stack__liste li:nth-child(1) { --angle: -3deg; }
.yl-stack__liste li:nth-child(2) { --angle: 2deg; background: var(--jaune); }
.yl-stack__liste li:nth-child(3) { --angle: -2deg; background: var(--rose); }
.yl-stack__liste li:nth-child(4) { --angle: 3deg; background: var(--menthe); }
.yl-stack__liste li:nth-child(5) { --angle: -1.5deg; background: var(--violet); color: var(--blanc); }

/* 6. Réalisations --------------------------------------------------------- */

.yl-section { padding-top: var(--espace-section); }

.yl-section__tete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
  text-align: center;
}
.yl-section__tete .yl-titre { max-width: 900px; }

.yl-real {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 48px;
  padding: 46px 48px 48px;
  border: var(--trait);
  border-radius: 36px;
}
.yl-real + .yl-real { margin-top: 40px; }
.yl-real--yuko { background: var(--encre); color: var(--creme); box-shadow: 0 10px 0 var(--violet); }
.yl-real--p2r  { background: var(--blanc); box-shadow: 0 10px 0 var(--vert); }
.yl-real--p2r .yl-real__visuel { order: -1; }

.yl-real__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.yl-real__nom-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.yl-real__nom {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.yl-real__desc { max-width: 460px; }
.yl-real .yl-btn { margin-top: 6px; }

.yl-real--yuko .yl-enligne { background: var(--menthe); color: var(--encre); }
.yl-real--yuko .yl-sticker { border-color: var(--creme); }
.yl-real--yuko .yl-real__desc { color: #D9D2E6; }
.yl-real--yuko .yl-puce { background: #2B2338; border-color: var(--violet); }
.yl-real--p2r .yl-enligne { background: var(--encre); color: var(--menthe); }
.yl-real--p2r .yl-real__desc { color: var(--gris); }

/* Fenêtre de navigateur dessinée */
.yl-fenetre {
  border: var(--trait);
  border-radius: 22px;
  overflow: hidden;
  background: var(--creme);
  transform: rotate(var(--angle, 2deg));
}
.yl-real--p2r .yl-fenetre { --angle: -2deg; }
.yl-real--yuko .yl-fenetre { background: #2B2338; border-color: var(--creme); }
.yl-fenetre__barre {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: var(--trait);
  border-color: inherit;
}
.yl-fenetre__barre i { width: 12px; height: 12px; border-radius: 50%; background: var(--rose); }
.yl-fenetre__barre i:nth-child(2) { background: var(--jaune); }
.yl-fenetre__barre i:nth-child(3) { background: var(--menthe); margin-right: 8px; }
.yl-fenetre__barre span {
  padding: 1px 12px;
  border-radius: 999px;
  background: var(--blanc);
  border: 2px solid var(--encre);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--encre);
}
.yl-real--yuko .yl-fenetre__barre span { background: var(--encre); border-color: var(--encre); color: #D9D2E6; }
.yl-fenetre__ecran {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(135deg, var(--raye-1) 0 14px, var(--raye-2) 14px 28px);
}
.yl-real--yuko .yl-fenetre__ecran { --raye-1: rgba(109, 74, 255, 0.4); --raye-2: rgba(109, 74, 255, 0.16); }
.yl-real--p2r .yl-fenetre__ecran  { --raye-1: rgba(24, 178, 107, 0.32); --raye-2: rgba(24, 178, 107, 0.12); }
.yl-fenetre__ecran img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.yl-fenetre__fantome {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 62px);
  letter-spacing: -0.02em;
  opacity: 0.55;
}

/* 7. Rayon des codes (accueil) -------------------------------------------- */

.yl-rayon {
  margin-top: 130px;
  padding: 92px 0 96px;
  background: var(--jaune);
  border-top: var(--trait);
  border-bottom: var(--trait);
}
.yl-rayon__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 44px;
}
.yl-rayon__tete p { margin-top: 12px; font-size: 18px; font-weight: 700; }

.yl-rayon__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 40px;
}

.yl-cartouches { display: flex; flex-direction: column; gap: 18px; padding-right: 14px; }
.yl-cartouche {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 18px 14px 14px;
  background: var(--blanc);
  color: var(--encre);
  border: var(--trait);
  border-radius: 20px;
  box-shadow: 0 6px 0 var(--encre);
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.yl-cartouche[aria-selected="true"] { background: var(--c); transform: translateX(14px); }
.yl-cartouche__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--encre);
  color: var(--creme);
  border-radius: 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
}
.yl-cartouche__texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yl-cartouche__nom {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yl-cartouche__stack { font-family: var(--mono); font-size: 12.5px; color: #3A3344; }
.yl-cartouche__prix { flex: 0 0 auto; font-family: var(--titre); font-weight: 900; font-size: 18px; white-space: nowrap; }

/* Fiche affichée à côté de la liste (aussi utilisée par les cartes de la boutique) */
.yl-fiche {
  background: var(--blanc);
  border: var(--trait);
  border-radius: 30px;
  box-shadow: 0 8px 0 var(--encre);
  overflow: hidden;
}
.yl-fiche.yl-entre { animation: yl-entre 0.3s cubic-bezier(0.2, 1.4, 0.4, 1); }

.yl-visuel {
  position: relative;
  display: grid;
  place-items: center;
  height: 250px;
  overflow: hidden;
  border-bottom: var(--trait);
  background:
    repeating-linear-gradient(135deg, rgba(26, 20, 35, 0.1) 0 14px, transparent 14px 28px),
    var(--c, var(--rose));
}
.yl-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.yl-visuel__fantome {
  font-family: var(--titre);
  font-weight: 900;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--encre);
  opacity: 0.22;
}
.yl-visuel__num {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--encre);
  color: var(--creme);
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.yl-visuel .yl-sticker { position: absolute; top: 14px; right: 16px; --angle: 5deg; box-shadow: 0 4px 0 var(--encre); }

.yl-fiche__corps { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 30px 30px; }
.yl-fiche__nom {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.yl-fiche__resume { color: var(--gris); }

.yl-pied-prix {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 3px dashed var(--encre);
}
.yl-prix { display: flex; flex-direction: column; gap: 2px; }
.yl-prix small { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; color: var(--gris); }
.yl-prix strong {
  font-family: var(--titre);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.yl-pied-prix__boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lien « voir tous les codes » sous le rayon : visible sur mobile seulement */
.yl-rayon__tous { display: none; }

/* Rayon vide */
.yl-vide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
  padding: 40px 32px;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 30px;
  box-shadow: 0 8px 0 var(--encre);
}
.yl-vide .yl-mascotte { width: 120px; animation: yl-flotte 4s ease-in-out infinite; }
.yl-vide__texte { max-width: 460px; }
.yl-vide__texte h3 {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.yl-vide__texte p { margin-top: 8px; color: var(--gris); }
.yl-vide__texte .yl-btn { margin-top: 18px; }

/* 8. Boutique ------------------------------------------------------------- */

.yl-page-tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 20px;
  padding-top: 28px;
}
.yl-page-tete--seul { grid-template-columns: minmax(0, 1fr); }
.yl-page-tete__titre {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 40px 44px;
  background: var(--jaune);
  border-radius: 34px;
}
.yl-page-tete__titre h1 {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.yl-page-tete__titre p { max-width: 560px; font-size: 18px; font-weight: 700; }
.yl-page-tete .yl-chiffre { grid-column: auto; min-width: 190px; padding: 28px; }

.yl-filtres { display: flex; flex-wrap: wrap; gap: 12px; margin: 44px 0 32px; }
.yl-filtre {
  min-height: 46px;
  padding: 0 18px;
  background: var(--blanc);
  color: var(--encre);
  border: var(--trait);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--encre);
  font-family: var(--titre);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.yl-filtre:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--encre); }
.yl-filtre[aria-pressed="true"] { background: var(--encre); color: var(--creme); }

.yl-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px 28px;
}
.yl-grille--seule { margin-top: 44px; }

.yl-carte {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 28px;
  box-shadow: 0 8px 0 var(--encre);
  overflow: hidden;
  transition: transform 0.18s ease;
}
.yl-carte .yl-visuel { height: 200px; }
.yl-carte .yl-visuel__fantome { font-size: 80px; }
.yl-carte__corps { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 22px 20px; }
.yl-carte__nom {
  font-family: var(--titre);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.yl-carte__nom a { text-decoration: none; }
.yl-carte__nom a::after { content: ''; position: absolute; inset: 0; }
.yl-carte__resume { font-size: 16px; color: var(--gris); }
.yl-carte__pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 20px;
  border-top: 3px dashed var(--encre);
}
.yl-carte__pied .yl-prix strong { font-size: 30px; }
.yl-carte__voir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: var(--violet);
  color: var(--blanc);
  border: var(--trait);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--encre);
  font-family: var(--titre);
  font-weight: 800;
  font-size: 15px;
}

.yl-aucun { margin-top: 8px; font-weight: 700; }

.yl-atouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 96px;
}
.yl-atout { padding: 24px 26px; border-radius: 26px; background: var(--blanc); }
.yl-atout:nth-child(1) { background: var(--menthe); }
.yl-atout:nth-child(2) { background: var(--ciel); }
.yl-atout:nth-child(3) { background: var(--rose); }
.yl-atout h3 { font-family: var(--titre); font-weight: 900; font-size: 22px; line-height: 1.15; }
.yl-atout p { margin-top: 6px; font-weight: 700; font-size: 15.5px; }

/* 9. Fiche d'un code ------------------------------------------------------ */

.yl-retour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 28px;
  font-weight: 700;
  text-decoration: none;
}

.yl-ariane {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-height: 44px;
  margin-top: 26px;
  color: var(--gris);
  font-weight: 700;
  font-size: 15px;
}
.yl-ariane a { color: var(--encre); text-decoration: none; }
.yl-ariane [aria-current] { overflow-wrap: anywhere; }

.yl-produit {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  grid-template-areas: 'onglets cote' 'visuel cote' 'details cote';
  grid-template-rows: auto auto 1fr;   /* si la colonne d'achat est plus haute, c'est la dernière rangée qui s'étire */
  align-items: start;
  gap: 22px 40px;
  margin-top: 10px;
}
.yl-produit__visuel { grid-area: visuel; min-width: 0; }
.yl-produit__details { grid-area: details; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
/* La colonne d'achat suit la lecture ; si elle est plus haute que l'écran, yukolabs.js règle --colle
   pour que son bas reste visible. */
.yl-produit__cote {
  grid-area: cote;
  position: sticky;
  top: var(--colle, 108px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Sur un onglet d'échanges il n'y a pas d'aperçu : le contenu suit directement les onglets */
.yl-produit--echanges { grid-template-areas: 'onglets cote' 'details cote'; grid-template-rows: auto 1fr; }

/* Onglets de la fiche : Détails, Avis, Commentaires, Support */
.yl-onglets {
  grid-area: onglets;
  display: flex;
  gap: 6px;
  min-width: 0;
  padding: 6px;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.yl-onglets::-webkit-scrollbar { display: none; }
.yl-onglets a {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--encre);
  border: 2px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  font-size: 15.5px;
  text-decoration: none;
  white-space: nowrap;
}
.yl-onglets a[aria-current="page"] { background: var(--jaune); border-color: var(--encre); }
.yl-onglets span {
  min-width: 24px;
  padding: 1px 7px;
  background: var(--encre);
  color: var(--blanc);
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* Aperçu : la capture dans une fenêtre de navigateur, aux couleurs du code */
.yl-ecran {
  margin: 0;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 26px;
  box-shadow: 0 8px 0 var(--encre);
  overflow: hidden;
}
.yl-ecran__barre {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 8px 12px 8px 16px;
  background: var(--c, var(--lilas));
  border-bottom: var(--trait);
}
.yl-ecran__pastilles { flex: 0 0 auto; display: flex; gap: 7px; }
.yl-ecran__pastilles i { width: 13px; height: 13px; background: var(--blanc); border: 2px solid var(--encre); border-radius: 50%; }
.yl-ecran__adresse {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 auto;
  padding: 4px 16px;
  background: var(--blanc);
  color: var(--encre);
  border: 2px solid var(--encre);
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yl-ecran__zoom {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--blanc);
  color: var(--encre);
  border: 2px solid var(--encre);
  border-radius: 10px;
}
.yl-ecran__zoom .yl-ico { width: 17px; height: 17px; }
.yl-ecran__image { display: block; aspect-ratio: 16 / 10; background: #F1ECF7; cursor: zoom-in; }
.yl-ecran__image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.yl-ecran__image--vide {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(26, 20, 35, 0.07) 22px 44px), var(--c, var(--lilas));
  cursor: default;
}
.yl-ecran__image--vide span {
  color: var(--blanc);
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(90px, 14vw, 190px);
  line-height: 1;
  -webkit-text-stroke: 3px var(--encre);
  paint-order: stroke fill;
}

.yl-vignettes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.yl-vignettes a {
  display: block;
  width: 96px;
  aspect-ratio: 16 / 10;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease;
}
.yl-vignettes img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.yl-vignettes a[aria-current="true"] { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Visionneuse plein écran */
.yl-visionneuse {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}
.yl-visionneuse[open] { display: grid; place-items: center; }
.yl-visionneuse::backdrop { background: rgba(26, 20, 35, 0.93); }
.yl-visionneuse img {
  max-width: min(1280px, 92vw);
  max-height: 84dvh;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 16px;
}
.yl-visionneuse button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--blanc);
  color: var(--encre);
  border: var(--trait);
  border-radius: 50%;
  cursor: pointer;
}
.yl-visionneuse__fermer { top: 18px; right: 18px; }
.yl-visionneuse__fleche { top: 50%; transform: translateY(-50%); }
.yl-visionneuse__fleche--avant { left: 18px; }
.yl-visionneuse__fleche--apres { right: 18px; }
.yl-visionneuse__compte {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blanc);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
}

.yl-bloc { padding: 28px 30px 30px; background: var(--blanc); border-radius: 28px; }
.yl-bloc h2 {
  margin-bottom: 12px;
  font-family: var(--titre);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.yl-bloc p + p { margin-top: 12px; }
.yl-bloc p { color: #2E2739; }
.yl-bloc--menthe { background: var(--menthe); }
.yl-bloc--ciel { background: var(--ciel); }

.yl-liste { display: flex; flex-direction: column; gap: 10px; }
.yl-liste li { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; }
.yl-liste .yl-ico {
  width: 26px;
  height: 26px;
  padding: 3px;
  background: var(--blanc);
  border: 2px solid var(--encre);
  border-radius: 8px;
}

/* Carte d'achat */
.yl-achat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  background: var(--blanc);
  border-radius: 28px;
}
.yl-achat__tete { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.yl-achat__num { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--gris); }
.yl-achat__tete .yl-sticker { --angle: 4deg; font-size: 12.5px; box-shadow: 0 3px 0 var(--encre); }
.yl-achat h1 {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.yl-achat__resume { color: var(--gris); }
.yl-achat__preuves { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14.5px; color: var(--gris); }
.yl-achat__preuves a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.yl-achat__preuves strong { color: var(--encre); font-weight: 800; }
.yl-achat__prix {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 3px dashed var(--encre);
}
.yl-achat__prix strong { font-family: var(--titre); font-weight: 900; font-size: 46px; line-height: 1; letter-spacing: -0.02em; }
.yl-achat__prix span { color: var(--gris); font-weight: 700; font-size: 14.5px; }
.yl-achat__boutons { align-self: stretch; display: flex; flex-direction: column; gap: 12px; }
.yl-achat__note { font-size: 14.5px; color: var(--gris); }
.yl-achat .yl-liste { align-self: stretch; padding-top: 16px; border-top: 3px dashed var(--encre); font-size: 15px; }
.yl-achat .yl-liste .yl-ico { background: var(--jaune); }

/* Fiche technique : à plat, pour laisser la carte d'achat au premier plan */
.yl-technique { padding: 20px 24px 12px; background: #FFFAEE; border: var(--trait); border-radius: 24px; }
.yl-technique h2 { margin-bottom: 6px; font-family: var(--titre); font-weight: 800; font-size: 17px; }
.yl-technique dl { margin: 0; }
.yl-technique dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-top: 2px dotted rgba(26, 20, 35, 0.28);
  font-size: 15px;
}
.yl-technique dt { flex: 0 0 auto; color: var(--gris); font-weight: 600; }
.yl-technique dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }

/* Sommaire */
.yl-sommaire { display: flex; flex-wrap: wrap; gap: 6px; }
.yl-sommaire a {
  padding: 5px 12px;
  background: var(--blanc);
  color: var(--encre);
  border: 2px solid var(--encre);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

/* Le détail : une seule feuille, des parties séparées par un pointillé */
.yl-feuille { background: var(--blanc); border: var(--trait); border-radius: 30px; box-shadow: 0 8px 0 var(--encre); }
.yl-feuille__partie { padding: 32px 34px 34px; }
.yl-feuille__partie + .yl-feuille__partie { border-top: 3px dashed var(--encre); }
.yl-feuille__partie > h2 {
  margin-bottom: 16px;
  font-family: var(--titre);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.yl-feuille__texte { max-width: 66ch; }
.yl-feuille__texte p { color: #2E2739; font-size: 17.5px; line-height: 1.62; }
.yl-feuille__texte p + p { margin-top: 14px; }

.yl-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; }
.yl-points li { display: flex; align-items: flex-start; gap: 13px; min-width: 0; }
.yl-points .yl-ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 4px;
  background: var(--c, var(--jaune));
  border: 2px solid var(--encre);
  border-radius: 10px;
}
.yl-points strong { display: block; font-weight: 800; font-size: 16.5px; line-height: 1.35; }
.yl-points p { margin-top: 2px; color: var(--gris); font-size: 15px; line-height: 1.5; }

/* Contenu du zip, présenté comme une arborescence */
.yl-arbre { background: var(--encre); color: #F3EEFA; border-radius: 20px; font-family: var(--mono); font-size: 14px; overflow: hidden; }
.yl-arbre__tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 13px 20px;
  background: #2B2338;
  font-weight: 700;
}
.yl-arbre__tete span:first-child { color: var(--jaune); overflow-wrap: anywhere; }
.yl-arbre__tete span + span { color: #B9B0C9; }
.yl-arbre ul { padding: 14px 20px 18px 24px; }
.yl-arbre li { position: relative; padding: 6px 0 6px 30px; line-height: 1.5; }
.yl-arbre li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4px;
  width: 16px;
  height: 1.15em;
  border-left: 2px solid #6A5F7D;
  border-bottom: 2px solid #6A5F7D;
}
.yl-arbre li:not(:last-child)::after { content: ''; position: absolute; top: 1.15em; bottom: 0; left: 4px; border-left: 2px solid #6A5F7D; }

.yl-requis { display: flex; flex-wrap: wrap; gap: 10px; }
.yl-requis li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 10px;
  background: var(--creme);
  border: 2px solid var(--encre);
  border-radius: 13px;
  font-weight: 700;
  font-size: 15.5px;
}
.yl-requis .yl-ico { width: 22px; height: 22px; padding: 3px; background: var(--menthe); border: 2px solid var(--encre); border-radius: 50%; }

.yl-versions { display: flex; flex-direction: column; }
.yl-versions li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 18px; padding: 15px 0; border-top: 2px dotted rgba(26, 20, 35, 0.28); }
.yl-versions li:first-child { padding-top: 0; border-top: 0; }
.yl-versions li:last-child { padding-bottom: 0; }
.yl-versions__tete { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.yl-versions__numero { padding: 1px 10px; background: var(--blanc); border: 2px solid var(--encre); border-radius: 9px; font-family: var(--mono); font-weight: 700; font-size: 13.5px; }
.yl-versions li:first-child .yl-versions__numero { background: var(--jaune); }
.yl-versions__date { color: var(--gris); font-weight: 600; font-size: 14px; }
.yl-versions p { color: #2E2739; }

.yl-questions details { border-top: 2px dotted rgba(26, 20, 35, 0.28); }
.yl-questions details:first-child { border-top: 0; }
.yl-questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.yl-questions details:first-child summary { padding-top: 0; }
.yl-questions summary::-webkit-details-marker { display: none; }
.yl-questions summary .yl-ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 5px;
  background: var(--creme);
  border: 2px solid var(--encre);
  border-radius: 50%;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.yl-questions details[open] summary .yl-ico { background: var(--jaune); transform: rotate(45deg); }
.yl-questions details p { max-width: 64ch; padding: 0 48px 18px 0; color: #2E2739; }
.yl-questions details:last-child p { padding-bottom: 0; }

/* Avis, commentaires, support ------------------------------------------- */

.yl-wrap--moyen { max-width: 900px; }

.yl-etoiles { position: relative; display: inline-flex; flex: 0 0 auto; line-height: 0; vertical-align: middle; }
.yl-etoiles__fond, .yl-etoiles__pleines { display: flex; }
.yl-etoiles svg { flex: 0 0 auto; width: 18px; height: 18px; stroke: var(--encre); stroke-width: 1.8; stroke-linejoin: round; }
.yl-etoiles__fond svg { fill: var(--blanc); }
.yl-etoiles__pleines { position: absolute; top: 0; left: 0; overflow: hidden; }
.yl-etoiles__pleines svg { fill: var(--jaune); }
.yl-etoiles--grandes svg { width: 26px; height: 26px; }

.yl-badge {
  padding: 1px 9px;
  border: 2px solid var(--encre);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.yl-badge--acheteur { background: var(--menthe); }
.yl-badge--auteur { background: var(--violet); color: var(--blanc); }

.yl-etat { display: inline-flex; align-items: center; gap: 7px; padding: 2px 11px; background: var(--creme); border: 2px solid var(--encre); border-radius: 999px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.yl-etat::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gris); }
.yl-etat--attente { background: var(--jaune); }
.yl-etat--attente::before { background: var(--encre); }
.yl-etat--ok { background: var(--menthe); }
.yl-etat--ok::before { background: var(--encre); }

.yl-echanges .yl-feuille__partie > h3 { margin-bottom: 14px; font-family: var(--titre); font-weight: 800; font-size: 20px; }
.yl-echanges__intro { max-width: 64ch; color: #2E2739; }
.yl-echanges__intro + .yl-echanges__porte, .yl-echanges__intro + .yl-alerte, .yl-echanges__intro + form { margin-top: 18px; }
.yl-echanges__vide { color: var(--gris); }
.yl-echanges__porte { padding: 14px 18px; background: var(--creme); border: 2px dashed var(--encre); border-radius: 16px; font-weight: 600; }
.yl-echanges a:not(.yl-btn) { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.yl-echanges__form { max-width: 640px; }
.yl-echanges__form textarea.yl-input { min-height: 0; resize: vertical; }
.yl-echanges__boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.yl-echanges__retirer { margin-top: 14px; }
.yl-echanges__retirer button {
  padding: 0;
  background: none;
  color: var(--gris);
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Bilan des notes */
.yl-bilan { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px 40px; }
.yl-bilan__note { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.yl-bilan__note strong { font-family: var(--titre); font-weight: 900; font-size: 64px; line-height: 0.95; letter-spacing: -0.02em; }
.yl-bilan__note span:last-child { color: var(--gris); font-weight: 700; font-size: 14.5px; }
.yl-bilan__barres { display: flex; flex-direction: column; gap: 7px; max-width: 420px; }
.yl-bilan__barres li { display: grid; grid-template-columns: 74px minmax(0, 1fr) 28px; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.yl-bilan__piste { height: 12px; background: var(--creme); border: 2px solid var(--encre); border-radius: 999px; overflow: hidden; }
.yl-bilan__piste i { display: block; height: 100%; background: var(--jaune); border-right: 2px solid var(--encre); }
.yl-bilan__piste i[style="width:0%"] { border-right: 0; }
.yl-bilan__barres b { font-family: var(--mono); font-size: 13px; text-align: right; }

/* Saisie de la note : cinq étoiles cliquables (rangées de droite à gauche pour le surlignage en CSS) */
.yl-note-saisie { margin: 0; padding: 0; border: 0; }
.yl-note-saisie legend { margin-bottom: 6px; padding: 0; font-weight: 700; }
.yl-note-saisie__etoiles { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.yl-note-saisie input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.yl-note-saisie label { display: block; cursor: pointer; }
.yl-note-saisie svg { display: block; fill: var(--blanc); stroke: var(--encre); stroke-width: 1.7; stroke-linejoin: round; transition: transform 0.12s ease; }
.yl-note-saisie input:checked ~ label svg { fill: var(--jaune); }
.yl-note-saisie input:focus-visible + label { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 8px; }

/* Messages : avis, commentaires, échanges d'un ticket */
.yl-messages { display: flex; flex-direction: column; }
.yl-message { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-top: 2px dotted rgba(26, 20, 35, 0.28); scroll-margin-top: 110px; }
.yl-message:first-child { padding-top: 0; border-top: 0; }
.yl-message:last-child { padding-bottom: 0; }
.yl-message__pastille {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--c, var(--lilas));
  border: var(--trait);
  border-radius: 50%;
  font-family: var(--titre);
  font-weight: 900;
  font-size: 18px;
}
.yl-message__pastille--auteur { background: var(--violet); color: var(--blanc); }
.yl-message__corps { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.yl-message__tete { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.yl-message__tete strong { font-weight: 800; font-size: 16.5px; }
.yl-message__tete time { color: var(--gris); font-weight: 600; font-size: 14px; }
.yl-message__corps p { max-width: 66ch; color: #2E2739; overflow-wrap: anywhere; }
.yl-message__reponse {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 4px;
  padding: 14px 18px;
  background: #FFFAEE;
  border: 2px solid var(--encre);
  border-radius: 16px;
}
.yl-message__repondre { align-self: stretch; }
.yl-message__repondre summary { display: inline-block; font-weight: 800; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.yl-message__repondre summary::-webkit-details-marker { display: none; }
.yl-message__repondre form { margin-top: 12px; max-width: 560px; align-items: flex-start; }
.yl-message__repondre textarea.yl-input { min-height: 0; }

/* Liste de tickets */
.yl-tickets { display: flex; flex-direction: column; }
.yl-tickets li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 13px 0; border-top: 2px dotted rgba(26, 20, 35, 0.28); }
.yl-tickets li:first-child { padding-top: 0; border-top: 0; }
.yl-tickets li:last-child { padding-bottom: 0; }
.yl-tickets a { flex: 1 1 240px; min-width: 0; font-weight: 800; overflow-wrap: anywhere; }
.yl-tickets a small { display: block; color: var(--gris); font-weight: 600; font-size: 14px; }
.yl-tickets time { color: var(--gris); font-weight: 600; font-size: 14px; }
.yl-ticket-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 8px; }
.yl-ticket-tete h1 { font-family: var(--titre); font-weight: 900; font-size: clamp(24px, 3vw, 32px); line-height: 1.12; letter-spacing: -0.01em; overflow-wrap: anywhere; }

/* D'autres codes, en bas de fiche */
.yl-autres { margin-top: 76px; }
.yl-autres__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.yl-autres__tete h2 { font-family: var(--titre); font-weight: 900; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.02em; }
.yl-autres__tete a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; text-decoration: none; }

/* Barre d'achat collée en bas, sur mobile uniquement */
.yl-barre-achat {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--blanc);
  border-top: var(--trait);
}
.yl-barre-achat .yl-prix strong { font-size: 28px; }
.yl-barre-achat .yl-btn { min-height: 50px; box-shadow: 0 4px 0 var(--encre); }

/* Page « code introuvable » */
.yl-introuvable { margin-top: 44px; }

/* 10. Appel final, pied, animations --------------------------------------- */

.yl-appel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 64px 32px 68px;
  background: var(--violet);
  color: var(--blanc);
  border: var(--trait);
  border-radius: 40px;
  box-shadow: 0 10px 0 var(--encre);
  text-align: center;
}
.yl-appel::before, .yl-appel::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--violet-clair);
}
.yl-appel::before { top: -70px; left: -60px; }
.yl-appel::after { bottom: -90px; right: -50px; }
.yl-appel > * { position: relative; z-index: 1; }
.yl-appel__deco { position: absolute; z-index: 0; border: var(--trait); }
.yl-appel__deco--carre { top: 44px; right: 12%; width: 46px; height: 46px; background: var(--jaune); border-radius: 12px; transform: rotate(14deg); }
.yl-appel__deco--rond { bottom: 52px; left: 11%; width: 38px; height: 38px; background: var(--rose); border-radius: 50%; }
.yl-appel__titre {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.yl-appel p { max-width: 520px; font-size: 18px; color: #F1ECFF; }
.yl-appel .yl-btn { margin-top: 10px; }

.yl-pied { padding: 88px 0 44px; }
.yl-pied__nom {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(52px, 13vw, 188px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
}
.yl-pied__ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: var(--trait);
  font-weight: 700;
  font-size: 15.5px;
}
.yl-pied__liens { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.yl-pied__liens a, .yl-pied__contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
}
.yl-pied__liens .yl-ico { width: 16px; height: 16px; }
.yl-pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--gris);
}
.yl-pied__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* 11. Formulaires, messages, comptes clients ------------------------------- */

.yl-invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.yl-wrap--etroit { max-width: 620px; margin-left: auto; margin-right: auto; }

.yl-boite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 44px;
  padding: 36px 36px 38px;
  background: var(--blanc);
}
.yl-boite--large { margin-top: 0; }
.yl-boite__titre {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.yl-boite__sous-titre {
  font-family: var(--titre);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.yl-boite__intro { color: var(--gris); }
.yl-boite__liens { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 15.5px; }
.yl-boite__liens a, .yl-achat__note a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.yl-form { align-self: stretch; display: flex; flex-direction: column; gap: 18px; }
.yl-form > .yl-btn { align-self: flex-start; margin-top: 4px; }
.yl-form > .yl-btn--large { align-self: stretch; }

.yl-champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.yl-champ label, .yl-champ legend { font-weight: 700; font-size: 15.5px; }
.yl-champ small { font-size: 14px; color: var(--gris); }

.yl-input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  background: var(--blanc);
  color: var(--encre);
  border: var(--trait);
  border-radius: 14px;
  font-family: var(--texte);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}
.yl-input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.3); }
.yl-input::placeholder { color: #8A8394; }
textarea.yl-input { min-height: 120px; line-height: 1.5; resize: vertical; }
select.yl-input {
  padding-right: 46px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1423' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}

/* Champ invisible qui piège les robots */
.yl-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.yl-alerte {
  align-self: stretch;
  padding: 14px 18px;
  border: var(--trait);
  border-radius: 16px;
  font-weight: 700;
  font-size: 15.5px;
}
.yl-alerte--ok { background: #C9F5E4; }
.yl-alerte--erreur { background: #FFD0DE; }
.yl-alerte p + p { margin-top: 6px; }
.yl-wrap > .yl-alerte { margin-top: 20px; }

/* Mon compte */
.yl-compte-tete { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 20px; padding-top: 28px; }
.yl-compte-tete__titre {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 34px 38px 36px;
  background: var(--ciel);
  border-radius: 34px;
}
.yl-compte-tete__titre h1 {
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.yl-compte-tete__titre p { font-weight: 700; overflow-wrap: anywhere; }

.yl-compte-section { margin-top: 56px; }
.yl-compte-section__titre {
  margin-bottom: 20px;
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.yl-achats { display: flex; flex-direction: column; gap: 18px; }
.yl-achat-ligne {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px 16px 16px;
  background: var(--blanc);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--encre);
}
.yl-achat-ligne__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--c, var(--rose));
  border: var(--trait);
  border-radius: 16px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
}
.yl-achat-ligne__texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yl-achat-ligne__texte a {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.yl-achat-ligne__texte small { font-family: var(--mono); font-size: 12.5px; color: var(--gris); }
.yl-achat-ligne__attente { font-weight: 700; font-size: 14.5px; color: var(--gris); }

.yl-compte-formulaires {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
  margin-top: 56px;
}

@media (hover: hover) {
  .yl-onglets a:hover { border-color: var(--encre); }
  .yl-note-saisie label:hover svg, .yl-note-saisie label:hover ~ label svg { fill: var(--jaune); }
  .yl-note-saisie label:hover svg { transform: scale(1.12); }
  .yl-echanges__retirer button:hover { color: var(--encre); }
  .yl-ariane a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .yl-sommaire a:hover, .yl-ecran__zoom:hover, .yl-visionneuse button:hover { background: var(--jaune); }
  .yl-vignettes a:hover { transform: translateY(-3px); }
  .yl-autres__tete a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
  .yl-ecran__adresse[href]:hover { background: var(--jaune); }
  .yl-achat-ligne__texte a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
}

@keyframes yl-flotte  { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes yl-saute   { 0%, 100% { transform: translateY(0) scale(1); } 35% { transform: translateY(-34px) scale(1.06, 0.94); } 70% { transform: translateY(0) scale(0.95, 1.05); } }
@keyframes yl-bulle   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes yl-cligne  { 0%, 91%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes yl-pulse   { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes yl-curseur { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes yl-apparait { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes yl-entre   { from { opacity: 0.4; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }

/* Effets de survol : uniquement avec une vraie souris */
@media (hover: hover) {
  .yl-btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--encre); }
  .yl-btn--petit:hover { box-shadow: 0 7px 0 var(--encre); }
  .yl-btn--sur-sombre:hover { box-shadow: 0 9px 0 var(--creme); }
  .yl-btn[aria-disabled="true"]:hover { transform: none; box-shadow: 0 3px 0 var(--encre); }
  .yl-btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--encre); }
  .yl-btn--sur-sombre:active { box-shadow: 0 1px 0 var(--creme); }
  .yl-menu__lien:hover { background-size: 100% 8px; }
  .yl-tuile--vivante:hover { transform: translateY(-6px) rotate(-0.5deg); }
  .yl-sticker:hover, .yl-stack__liste li:hover { transform: rotate(0deg) scale(1.08); }
  .yl-cartouche:hover { transform: translateY(-3px); }
  .yl-cartouche[aria-selected="true"]:hover { transform: translateX(14px); }
  .yl-carte:hover { transform: translateY(-6px) rotate(-0.4deg); }
  .yl-filtre:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--encre); }
  .yl-retour:hover, .yl-pied__liens a:hover, .yl-pied__contact:hover, .yl-pied__legal a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
}

/* Tablette ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .yl-accroche { grid-column: span 12; grid-row: auto; min-height: 480px; }
  .yl-etapes { grid-column: span 6; }
  .yl-chiffre { grid-column: span 3; }
  .yl-terminal { grid-column: span 6; }
  .yl-stack { grid-column: span 6; }
  .yl-real { gap: 36px; padding: 38px; }
  .yl-rayon__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; }
  .yl-produit { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 26px 28px; }
  .yl-points { grid-template-columns: minmax(0, 1fr); }
  .yl-versions li { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile ------------------------------------------------------------------ */
@media (max-width: 760px) {
  :root { --marge: 16px; --espace-section: 76px; }
  html { scroll-padding-top: 92px; }
  body { font-size: 16.5px; }

  /* Menu : logo + bouton, les liens s'ouvrent dessous */
  .yl-entete { padding-top: 10px; }
  .yl-nav { padding: 7px 8px 7px 14px; border-radius: 20px; }
  .yl-logo { font-size: 21px; }
  .yl-burger { display: flex; }
  .yl-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -3px;
    right: -3px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: var(--blanc);
    border: var(--trait);
    border-radius: 22px;
    box-shadow: 0 6px 0 var(--encre);
  }
  .yl-nav.yl-ouvert .yl-menu { display: flex; animation: yl-apparait 0.18s ease; }
  .yl-menu__lien { min-height: 52px; padding: 0 10px; font-size: 19px; background-image: none; border-bottom: 2px solid rgba(26, 20, 35, 0.12); }
  .yl-menu .yl-btn { min-height: 54px; margin-top: 8px; font-size: 17px; }

  /* Mosaïque : 2 colonnes, les grandes tuiles prennent toute la largeur */
  .yl-mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 18px; }
  .yl-tuile { padding: 24px 22px; border-radius: 26px; box-shadow: 0 6px 0 var(--encre); }
  .yl-accroche { grid-column: span 2; min-height: 0; gap: 18px; padding: 30px 24px 30px; border-radius: 28px; }
  .yl-accroche::before { top: -90px; right: -90px; }
  .yl-accroche__titre { font-size: clamp(40px, 12.4vw, 56px); }
  .yl-accroche__texte { font-size: 17px; }
  .yl-accroche__boutons { align-self: stretch; flex-direction: column; gap: 14px; }
  .yl-accroche .yl-mascotte { top: 16px; right: 14px; bottom: auto; width: 92px; }
  .yl-pop { -webkit-text-stroke-width: 6px; }
  .yl-etapes { grid-column: span 2; }
  .yl-chiffre { grid-column: span 1; padding: 20px 18px; border-radius: 24px; }
  .yl-chiffre strong { font-size: 48px; }
  .yl-terminal { grid-column: span 2; padding: 0; }
  .yl-terminal__ecran { padding: 18px 18px 22px; font-size: 13.5px; }
  .yl-stack { grid-column: span 2; padding: 26px 22px 30px; }
  .yl-stack__liste li { padding: 6px 14px; font-size: 17px; }

  .yl-section__tete { gap: 14px; margin-bottom: 30px; }
  .yl-surligne { padding: 0 10px; border-radius: 12px; }

  /* Réalisations : la capture au-dessus, le texte dessous */
  .yl-real { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 22px 20px 28px; border-radius: 28px; box-shadow: 0 8px 0 var(--violet); }
  .yl-real--p2r { box-shadow: 0 8px 0 var(--vert); }
  .yl-real + .yl-real { margin-top: 30px; }
  .yl-real__visuel { order: -1; padding: 4px; }
  .yl-fenetre { --angle: 1.2deg; border-radius: 18px; }
  .yl-real--p2r .yl-fenetre { --angle: -1.2deg; }
  .yl-real .yl-btn { align-self: stretch; }

  /* Rayon : les codes défilent au doigt, la fiche s'affiche dessous */
  .yl-rayon { margin-top: 84px; padding: 56px 0 64px; }
  .yl-rayon__tete { margin-bottom: 26px; }
  .yl-rayon__tete p { font-size: 16.5px; }
  .yl-rayon__tete .yl-btn { display: none; }
  .yl-rayon__grille { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .yl-cartouches {
    flex-direction: row;
    gap: 12px;
    margin: 0 calc(var(--marge) * -1);
    padding: 4px var(--marge) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--marge);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .yl-cartouches::-webkit-scrollbar { display: none; }
  .yl-cartouche { flex: 0 0 82%; gap: 12px; padding: 12px 14px 12px 12px; scroll-snap-align: start; }
  .yl-cartouche[aria-selected="true"] { transform: none; }
  .yl-cartouche__num { width: 48px; height: 48px; }
  .yl-cartouche__nom { font-size: 17px; }
  .yl-fiche { border-radius: 26px; }
  .yl-visuel { height: 200px; }
  .yl-fiche__corps { padding: 22px 20px 24px; }
  .yl-prix strong { font-size: 36px; }
  .yl-pied-prix__boutons { flex: 1 1 100%; flex-direction: column; }
  .yl-rayon__tous { display: flex; margin-top: 26px; }
  .yl-vide { padding: 30px 22px; border-radius: 26px; text-align: center; }
  .yl-vide__texte .yl-btn { width: 100%; }

  /* Boutique */
  .yl-page-tete { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 18px; }
  .yl-page-tete__titre { padding: 28px 24px; border-radius: 28px; }
  .yl-page-tete__titre p { font-size: 16.5px; }
  .yl-page-tete .yl-chiffre { flex-direction: row; align-items: center; gap: 14px; min-width: 0; padding: 18px 22px; }
  .yl-filtres {
    flex-wrap: nowrap;
    margin: 30px calc(var(--marge) * -1) 20px;
    padding: 2px var(--marge) 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .yl-filtres::-webkit-scrollbar { display: none; }
  .yl-filtre { flex: 0 0 auto; }
  .yl-grille { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .yl-grille--seule { margin-top: 30px; }
  .yl-carte { border-radius: 26px; box-shadow: 0 6px 0 var(--encre); }
  .yl-atouts { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 64px; }

  /* Fiche d'un code : capture, achat, puis détails ; prix toujours visible en bas */
  .yl-retour { margin-top: 16px; }
  .yl-ariane { margin-top: 14px; font-size: 14.5px; }
  .yl-produit { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'onglets' 'visuel' 'cote' 'details'; grid-template-rows: none; gap: 20px; margin-top: 4px; }
  /* Sur un onglet d'échanges, le contenu passe avant la carte d'achat */
  .yl-produit--echanges { grid-template-areas: 'onglets' 'details' 'cote'; grid-template-rows: none; }
  .yl-onglets { margin: 0 calc(var(--marge) * -1); padding: 6px var(--marge); border-left: 0; border-right: 0; border-radius: 0; }
  .yl-onglets a { flex: 0 0 auto; padding: 0 14px; font-size: 15px; }
  .yl-bilan { grid-template-columns: minmax(0, 1fr); }
  .yl-bilan__note strong { font-size: 52px; }
  .yl-message { gap: 12px; padding: 18px 0; }
  .yl-message__pastille { width: 38px; height: 38px; font-size: 16px; }
  .yl-message__reponse { padding: 12px 14px; }
  .yl-echanges__boutons .yl-btn { width: 100%; }
  .yl-produit__cote { position: static; }
  .yl-ecran { border-radius: 22px; box-shadow: 0 6px 0 var(--encre); }
  .yl-ecran__barre { min-height: 44px; padding: 6px 10px 6px 14px; gap: 10px; }
  .yl-ecran__pastilles i { width: 11px; height: 11px; }
  .yl-vignettes { flex-wrap: nowrap; gap: 12px; margin: 10px calc(var(--marge) * -1) 0; padding: 6px var(--marge) 8px; overflow-x: auto; scrollbar-width: none; }
  .yl-vignettes::-webkit-scrollbar { display: none; }
  .yl-vignettes li { flex: 0 0 auto; }
  .yl-vignettes a { width: 84px; }
  .yl-visionneuse button { width: 44px; height: 44px; }
  .yl-visionneuse__fleche { top: auto; bottom: 14px; transform: none; }
  .yl-visionneuse__fermer { top: 12px; right: 12px; }
  .yl-achat { padding: 22px 20px 24px; border-radius: 26px; }
  .yl-achat__prix strong { font-size: 40px; }
  .yl-technique { padding: 18px 20px 10px; border-radius: 22px; }
  .yl-sommaire { flex-wrap: nowrap; margin: 0 calc(var(--marge) * -1); padding: 2px var(--marge); overflow-x: auto; scrollbar-width: none; }
  .yl-sommaire::-webkit-scrollbar { display: none; }
  .yl-feuille { border-radius: 26px; box-shadow: 0 6px 0 var(--encre); }
  .yl-feuille__partie { padding: 24px 20px 26px; }
  .yl-feuille__partie > h2 { font-size: 23px; margin-bottom: 14px; }
  .yl-feuille__texte p { font-size: 16.5px; }
  .yl-arbre { font-size: 13px; border-radius: 18px; }
  .yl-arbre__tete { padding: 12px 16px; }
  .yl-arbre ul { padding: 12px 14px 16px 16px; }
  .yl-questions summary { font-size: 16px; }
  .yl-questions details p { padding-right: 0; }
  .yl-autres { margin-top: 56px; }
  .yl-bloc { padding: 24px 22px 26px; border-radius: 26px; }
  .yl-barre-achat { display: flex; }
  .yl-avec-barre .yl-pied { padding-bottom: 120px; }

  .yl-appel { padding: 48px 22px 52px; border-radius: 30px; box-shadow: 0 8px 0 var(--encre); }
  .yl-appel__deco { display: none; }
  .yl-appel p { font-size: 17px; }
  .yl-appel .yl-btn { align-self: stretch; }

  .yl-pied { padding: 60px 0 36px; }
  .yl-pied__ligne { flex-direction: column; align-items: flex-start; margin-top: 24px; }
  .yl-pied__liens { flex-direction: column; gap: 0; }
}

@media (max-width: 380px) {
  .yl-accroche .yl-mascotte { width: 78px; }
  .yl-logo { font-size: 19px; gap: 8px; }
  .yl-chiffre strong { font-size: 42px; }
  .yl-chiffre span { font-size: 15px; }
}

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

/* Formulaires et comptes sur mobile */
@media (max-width: 760px) {
  .yl-boite { margin-top: 26px; padding: 26px 22px 28px; }
  .yl-boite--large { margin-top: 0; }
  .yl-compte-tete { padding-top: 18px; }
  .yl-compte-tete__titre { flex-basis: 100%; padding: 26px 24px 28px; border-radius: 28px; }
  .yl-compte-section { margin-top: 44px; }
  .yl-achat-ligne { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .yl-achat-ligne__num { width: 54px; height: 54px; }
  .yl-achat-ligne .yl-btn { flex: 1 1 100%; }
  .yl-compte-formulaires { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 44px; }
}

/* 12. Vente en ligne : licences, services, panier, commande ----------------- */

/* Prix barré et promo */
.yl-prix s, .yl-achat__prix s, .yl-panier__prix s, .yl-choix__prix s {
  color: var(--gris);
  font-weight: 700;
  text-decoration-thickness: 2px;
}
.yl-prix s { font-size: 16px; }
.yl-achat__prix s { font-family: var(--titre); font-size: 22px; }
.yl-achat__prix s[hidden] { display: none; }
.yl-achat__prix .yl-promo {
  padding: 3px 10px;
  background: var(--rose);
  color: var(--encre);
  border: 2px solid var(--encre);
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
}

/* Formulaire d'achat de la fiche */
.yl-acheter { align-self: stretch; display: flex; flex-direction: column; gap: 16px; }
.yl-acheter .yl-achat__boutons { margin-top: 2px; }

/* Liste de choix (licence, services, type de projet) */
.yl-choix { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.yl-choix legend {
  margin-bottom: 10px;
  padding: 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}
.yl-choix__ligne {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 12px;
  padding: 13px 14px;
  background: var(--blanc);
  border: var(--trait);
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.12s ease, box-shadow 0.12s ease;
}
.yl-choix__ligne:hover { background: #FFF9EC; }
.yl-choix__ligne:has(input:checked) { background: #EFEAFF; box-shadow: 0 4px 0 var(--violet); border-color: var(--violet); }
.yl-choix__ligne:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.yl-choix__ligne input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--violet); cursor: pointer; }
.yl-choix__texte { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yl-choix__texte strong { font-weight: 800; font-size: 16px; line-height: 1.25; }
.yl-choix__texte small { color: var(--gris); font-size: 14px; line-height: 1.4; }
.yl-choix__prix { font-family: var(--titre); font-weight: 900; font-size: 17px; white-space: nowrap; }
.yl-choix__prix s { font-size: 14px; margin-right: 2px; }
.yl-choix--compact .yl-choix__ligne { padding: 10px 12px; border-width: 2px; border-radius: 14px; }
.yl-choix--compact .yl-choix__ligne:has(input:checked) { box-shadow: 0 3px 0 var(--violet); }

/* « Acheter une autre licence » (quand le code est déjà acheté) */
.yl-autre-licence { align-self: stretch; padding-top: 14px; border-top: 3px dashed var(--encre); }
.yl-autre-licence summary { cursor: pointer; font-weight: 800; font-size: 15.5px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.yl-autre-licence[open] summary { margin-bottom: 16px; }

/* Lien Panier dans le menu */
.yl-panier-lien__nombre {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  background: var(--encre);
  color: var(--jaune);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
}

.yl-page-tete__titre--court { padding: 30px 36px; }
.yl-page-tete__titre--court h1 { font-size: clamp(34px, 4.4vw, 56px); }

/* Panier */
.yl-panier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
  gap: 28px;
  margin-top: 32px;
}
.yl-panier__lignes { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.yl-panier__ligne { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--blanc); border-radius: 26px; box-shadow: 0 6px 0 var(--encre); }
.yl-panier__tete { display: flex; align-items: center; gap: 16px; }
.yl-panier__nom { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.yl-panier__nom a { font-family: var(--titre); font-weight: 900; font-size: 22px; line-height: 1.15; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.yl-panier__nom small { font-family: var(--mono); font-size: 12.5px; color: var(--gris); }
.yl-panier__prix { display: flex; flex-direction: column; align-items: flex-end; }
.yl-panier__prix strong { font-family: var(--titre); font-weight: 900; font-size: 26px; line-height: 1.1; white-space: nowrap; }
.yl-panier__note { padding: 10px 14px; background: var(--creme); border: 2px dashed var(--encre); border-radius: 12px; font-size: 14.5px; font-weight: 700; }
.yl-panier__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; border-top: 2px dotted rgba(26, 20, 35, 0.28); font-size: 15px; }
.yl-panier__retirer, .yl-panier__lien {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--encre);
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.yl-panier__retirer .yl-ico { width: 16px; height: 16px; }
.yl-panier__recap {
  position: sticky;
  top: var(--colle, 108px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--blanc);
  border-radius: 28px;
}
.yl-panier__recap h2 { font-family: var(--titre); font-weight: 900; font-size: 26px; line-height: 1.1; }
.yl-panier__totaux { display: flex; flex-direction: column; gap: 10px; }
.yl-panier__totaux div { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.yl-panier__totaux dd { margin: 0; white-space: nowrap; }
.yl-panier__remise { color: #B4235A; }
.yl-panier__total { margin-top: 4px; padding-top: 14px; border-top: 3px dashed var(--encre); }
.yl-panier__total dt, .yl-panier__total dd { font-family: var(--titre); font-weight: 900; font-size: 28px; line-height: 1; }
.yl-panier__promo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.yl-panier__promo .yl-input { flex: 1 1 140px; min-height: 46px; text-transform: uppercase; }
.yl-panier__recap .yl-liste { padding-top: 16px; border-top: 3px dashed var(--encre); font-size: 14.5px; }
.yl-panier__recap .yl-liste .yl-ico { background: var(--menthe); }
.yl-panier__compte { font-size: 14.5px; color: var(--gris); }
.yl-panier__compte a { color: var(--encre); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Commande validée */
.yl-merci { align-items: stretch; }
.yl-merci > .yl-sticker { align-self: flex-start; }
.yl-merci__codes { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.yl-merci__codes li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 16px;
  background: var(--creme);
  border: var(--trait);
  border-radius: 16px;
}
.yl-merci__codes div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yl-merci__codes strong { font-family: var(--titre); font-weight: 900; font-size: 19px; }
.yl-merci__codes small { color: var(--gris); font-size: 14px; overflow-wrap: anywhere; }
.yl-merci code, .yl-achat-ligne__cle code { padding: 1px 6px; background: var(--blanc); border: 2px solid var(--encre); border-radius: 6px; font-family: var(--mono); font-size: 13px; color: var(--encre); }
.yl-merci__info { padding: 12px 16px; background: #EFEAFF; border-radius: 14px; font-weight: 600; }
.yl-merci__boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bandeau « confirmez votre adresse » */
.yl-bandeau {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--jaune);
  border: var(--trait);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--encre);
}
.yl-bandeau p { flex: 1 1 320px; font-size: 15.5px; }

/* Mon compte : clés de licence, commandes */
.yl-achat-ligne__cle { display: block; margin-top: 3px; }
.yl-achat-ligne__texte .yl-etat { margin-left: 4px; font-family: var(--texte); }
.yl-commandes li > span:first-child { flex: 1 1 240px; min-width: 0; }
.yl-commandes li > span:first-child small { display: block; color: var(--gris); font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.yl-commandes__facture { flex: 0 0 auto !important; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.yl-commandes__facture .yl-ico { width: 16px; height: 16px; }

/* Formulaire sur deux colonnes (devis) */
.yl-form__deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.yl-champ label small { font-weight: 600; color: var(--gris); }

@media (max-width: 1080px) {
  .yl-panier { grid-template-columns: minmax(0, 1fr); }
  .yl-panier__recap { position: static; }
}
@media (max-width: 760px) {
  .yl-panier { margin-top: 22px; gap: 22px; }
  .yl-panier__ligne { padding: 16px; border-radius: 22px; }
  .yl-panier__tete { flex-wrap: wrap; }
  .yl-panier__tete .yl-achat-ligne__num { width: 50px; height: 50px; }
  .yl-panier__prix { flex-direction: row; align-items: baseline; gap: 8px; width: 100%; }
  .yl-form__deux { grid-template-columns: minmax(0, 1fr); }
  .yl-page-tete__titre--court { padding: 24px 22px; }
  .yl-choix__ligne { grid-template-columns: 22px minmax(0, 1fr); }
  .yl-choix__prix { grid-column: 2; }
}
