/* =========================================================================
   CLINIQUE YA-SIN — Feuille de styles
   Direction artistique « L'Orbite » — mobile-first strict
   Palette extraite du logo officiel :
     vert  #014B1A / #002F09 / #08652A
     rose  #FD348F / #C70252 / #FD62B1
     rouge #E01507 (calligraphie — accent rare)
   ========================================================================= */

/* -------------------------------------------------------------- 1. TOKENS */
:root {
  /* Marque */
  --vert: #014B1A;
  --vert-nuit: #002F09;
  --vert-feuille: #08652A;
  --vert-clair: #E4EFE7;
  --rose: #FD348F;
  --rose-profond: #C70252;
  --rose-clair: #FFE3F0;
  --rouge-signe: #E01507;

  /* Neutres */
  --ivoire: #FBFCFA;
  --brume: #F0F5F1;
  --encre: #0D1B12;
  --gris: #5F7367;
  --ligne: rgba(1, 75, 26, .12);
  --blanc: #fff;

  /* Surfaces pilotées au scroll (morphing de fond) */
  --page-bg: var(--ivoire);
  --page-halo-1: rgba(253, 52, 143, .10);
  --page-halo-2: rgba(1, 75, 26, .07);

  /* Typographie */
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Échelle fluide */
  --t-hero: clamp(2.5rem, 8.6vw, 5.6rem);
  --t-h2: clamp(1.85rem, 5.3vw, 3.5rem);
  --t-h3: clamp(1.2rem, 3.6vw, 1.6rem);
  --t-lead: clamp(1.02rem, 2.9vw, 1.32rem);
  --t-body: clamp(.96rem, 2.4vw, 1.06rem);
  --t-micro: clamp(.68rem, 1.9vw, .76rem);

  /* Rythme */
  --gouttiere: clamp(1.15rem, 5vw, 3.5rem);
  --section-y: clamp(4.5rem, 13vw, 10rem);
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --r-xl: clamp(24px, 6vw, 48px);

  /* Courbes d'easing signature */
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-soft: cubic-bezier(.22, .61, .36, 1);
  --e-back: cubic-bezier(.34, 1.56, .64, 1);
  --e-inout: cubic-bezier(.76, 0, .24, 1);

  --ombre-s: 0 2px 10px rgba(1, 40, 15, .05);
  --ombre-m: 0 18px 44px -18px rgba(1, 40, 15, .22);
  --ombre-l: 0 40px 90px -34px rgba(1, 40, 15, .34);
}

/* ---------------------------------------------------------- 2. RESET/BASE */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--texte);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--encre);
  background: var(--page-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .96; letter-spacing: -.035em; }
p { margin: 0; }

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

::selection { background: var(--rose); color: #fff; }

.ys-saut {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 999;
  background: var(--vert);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 0 0 var(--r-s) var(--r-s);
  font-weight: 600;
  transition: transform .35s var(--e-out);
}
.ys-saut:focus { transform: translate(-50%, 0); }

.ys-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------- 3. FOND MORPHING + PROGRÈS */
.ys-fond {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--page-bg);
  transition: background-color 1.1s var(--e-soft);
}
.ys-fond::before,
.ys-fond::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  transition: background-color 1.1s var(--e-soft), transform 1.4s var(--e-soft);
  will-change: transform;
}
.ys-fond::before {
  width: 78vw; height: 78vw; max-width: 900px; max-height: 900px;
  top: -22vw; right: -22vw;
  background: var(--page-halo-1);
  transform: translate3d(var(--halo-x, 0px), var(--halo-y, 0px), 0);
}
.ys-fond::after {
  width: 66vw; height: 66vw; max-width: 780px; max-height: 780px;
  bottom: -18vw; left: -20vw;
  background: var(--page-halo-2);
  transform: translate3d(calc(var(--halo-x, 0px) * -1), calc(var(--halo-y, 0px) * -1), 0);
}

.ys-progres {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 90;
  background: transparent;
  pointer-events: none;
}
.ys-progres i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--vert) 0%, var(--rose) 62%, var(--rouge-signe) 100%);
}

/* -------------------------------------------------------- 4. MISE EN PAGE */
.ys-conteneur {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.ys-section { position: relative; padding-block: var(--section-y); }
#reperes { padding-top: clamp(1.5rem, 4vw, 3rem); }

.ys-oeil {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--texte);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--vert-feuille);
  margin-bottom: 1.25rem;
}
.ys-oeil::before {
  content: "";
  width: 22px; height: 11px;
  border-radius: 999px;
  background: var(--rose);
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(253, 52, 143, .16);
}

.ys-titre { font-size: var(--t-h2); line-height: 1.03; color: var(--vert-nuit); text-wrap: balance; }
.ys-titre em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--rose-profond);
  padding-inline-end: .06em;
}
.ys-chapo {
  font-size: var(--t-lead);
  color: var(--gris);
  max-width: 58ch;
  margin-top: 1.4rem;
  line-height: 1.6;
}

/* --------------------------------------------------------- 5. RÉVÉLATIONS */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.975);
  transition:
    opacity .95s var(--e-out) var(--d, 0ms),
    transform 1.05s var(--e-out) var(--d, 0ms);
  will-change: transform, opacity;
}
[data-reveal].est-vu { opacity: 1; transform: none; }

.ys-mot {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-block: .06em .18em;
  margin-bottom: -.18em;
}
.ys-mot > span {
  display: inline-block;
  transform: translate3d(0, 108%, 0) rotate(4deg);
  transition: transform 1.1s var(--e-out) var(--d, 0ms);
  will-change: transform;
}
.est-vu .ys-mot > span { transform: none; }

.ys-lettre {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, .42em, 0);
  transition: opacity .6s var(--e-out) var(--d, 0ms), transform .8s var(--e-out) var(--d, 0ms);
}
.est-vu .ys-lettre { opacity: 1; transform: none; }

/* ------------------------------------------------------------- 6. BOUTONS */
.ys-btn {
  --btn-bg: var(--vert);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 1.55rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(.92rem, 2.4vw, 1rem);
  letter-spacing: -.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform .45s var(--e-out), box-shadow .45s var(--e-out), border-radius .5s var(--e-back);
  box-shadow: 0 10px 26px -14px rgba(1, 40, 15, .7);
  will-change: transform;
}
.ys-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 160% at 50% 120%, var(--rose) 0%, var(--rose-profond) 55%, transparent 100%);
  transform: translate3d(0, 112%, 0) scale(1.25);
  transition: transform .6s var(--e-out);
}
.ys-btn:hover, .ys-btn:focus-visible { border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(199, 2, 82, .7); }
.ys-btn:hover::before, .ys-btn:focus-visible::before { transform: translate3d(0, 0, 0) scale(1.2); }
.ys-btn:active { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(.97); }
.ys-btn svg { width: 1.15em; height: 1.15em; fill: currentColor; transition: transform .5s var(--e-back); }
.ys-btn:hover svg { transform: translateX(3px) rotate(-6deg); }

.ys-btn--fantome {
  --btn-bg: transparent;
  --btn-fg: var(--vert-nuit);
  box-shadow: inset 0 0 0 1.5px var(--ligne);
}
.ys-btn--fantome:hover, .ys-btn--fantome:focus-visible {
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px transparent, 0 20px 40px -18px rgba(199, 2, 82, .55);
}

.ys-btn--clair {
  --btn-bg: rgba(255, 255, 255, .09);
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3);
}

.ys-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* --------------------------------------------------------- 7. NAVIGATION */
.ys-entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: transform .6s var(--e-out), background-color .5s var(--e-soft), box-shadow .5s var(--e-soft);
}
.ys-entete.est-cachee { transform: translate3d(0, -120%, 0); }
.ys-entete.est-collee {
  background: rgba(251, 252, 250, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--ligne), 0 14px 30px -26px rgba(1, 40, 15, .5);
}
.ys-entete__int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .8rem;
}
.ys-marque { display: flex; align-items: center; gap: .65rem; }
.ys-marque img { width: clamp(88px, 24vw, 116px); }
.ys-marque__txt { display: none; }

.ys-menu { display: none; }
.ys-entete .ys-btn { padding: .7rem 1.1rem; font-size: .88rem; }

/* Bouton menu mobile */
.ys-burger {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--vert-nuit);
  display: grid;
  place-items: center;
  transition: background-color .4s var(--e-out), transform .4s var(--e-back);
}
.ys-burger span {
  position: absolute;
  left: 50%; width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .5s var(--e-back), opacity .3s var(--e-out);
}
.ys-burger span:nth-child(1) { top: 18px; }
.ys-burger span:nth-child(2) { top: 26px; }
.ys-burger[aria-expanded="true"] { background: var(--rose-profond); }
.ys-burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 4px) rotate(45deg); }
.ys-burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, -4px) rotate(-45deg); }

.ys-tiroir {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: var(--vert-nuit);
  color: #fff;
  padding: 6.5rem var(--gouttiere) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .8s var(--e-inout);
  visibility: hidden;
  overflow-y: auto;
}
.ys-tiroir.est-ouvert { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
.ys-tiroir a {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.75rem, 8.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  padding-block: .38rem;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .6s var(--e-out) var(--d, 0ms), transform .7s var(--e-out) var(--d, 0ms), color .3s;
}
.ys-tiroir.est-ouvert a { opacity: 1; transform: none; }
.ys-tiroir a:hover { color: var(--rose); }
.ys-tiroir__pied { font-size: .9rem; color: rgba(255, 255, 255, .62); line-height: 1.9; }
.ys-tiroir__pied a { font-size: 1rem; font-family: var(--texte); font-weight: 500; color: #fff; }

/* ------------------------------------------------------------------ HERO */
.ys-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 6.5rem;
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
  overflow: hidden;
}
.ys-hero__int {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column-reverse; /* logo au-dessus du texte sur mobile */
  justify-content: flex-end;
}

/* Signature : l'orbite */
.ys-orbite {
  position: absolute;
  z-index: 1;
  top: 12%;
  left: 50%;
  width: min(148vw, 1180px);
  aspect-ratio: 1 / 1;
  translate: -50% 0;
  pointer-events: none;
  transform: translate3d(var(--ox, 0px), var(--oy, 0px), 0);
  transition: transform .9s var(--e-soft);
  opacity: 0;
  animation: ys-orbite-in 1.8s var(--e-out) .25s forwards;
}
@keyframes ys-orbite-in { to { opacity: 1; } }
.ys-orbite svg { width: 100%; height: 100%; overflow: visible; }
.ys-orbite ellipse { fill: none; stroke-linecap: round; }
.ys-orbite .anneau-1 {
  stroke: var(--rose);
  stroke-width: 2.4;
  opacity: .9;
  transform-origin: 50% 50%;
  animation: ys-tourne 42s linear infinite;
}
.ys-orbite .anneau-2 {
  stroke: var(--vert-feuille);
  stroke-width: 1.1;
  opacity: .3;
  transform-origin: 50% 50%;
  animation: ys-tourne-inv 66s linear infinite;
}
.ys-orbite .anneau-3 {
  stroke: var(--rose-profond);
  stroke-width: .8;
  opacity: .22;
  transform-origin: 50% 50%;
  animation: ys-tourne 92s linear infinite;
}
.ys-orbite .perle { transform-origin: 50% 50%; animation: ys-tourne 42s linear infinite; }
.ys-orbite .perle ellipse { fill: var(--rose); stroke: none; }
@keyframes ys-tourne { to { transform: rotate(360deg); } }
@keyframes ys-tourne-inv { to { transform: rotate(-360deg); } }

.ys-hero__medaillon {
  position: relative;
  width: min(72vw, 400px);
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 6vw, 2.5rem);
  filter: drop-shadow(0 26px 50px rgba(1, 40, 15, .22));
  opacity: 0;
  transform: scale(.86) translateY(24px);
  animation: ys-medaillon 1.5s var(--e-out) .12s forwards;
}
@keyframes ys-medaillon { to { opacity: 1; transform: none; } }

.ys-hero h1 {
  font-size: var(--t-hero);
  color: var(--vert-nuit);
  text-wrap: balance;
  margin-bottom: 1.35rem;
}
.ys-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--rose-profond);
  letter-spacing: -.005em;
}
.ys-hero__chapo { font-size: var(--t-lead); color: var(--gris); max-width: 46ch; }

.ys-pastille {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .95rem .45rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px var(--ligne), var(--ombre-s);
  backdrop-filter: blur(8px);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 1.4rem;
}
.ys-pouls {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--rouge-signe);
  box-shadow: 0 0 0 0 rgba(224, 21, 7, .55);
  animation: ys-pouls 2.4s var(--e-out) infinite;
}
@keyframes ys-pouls {
  0% { box-shadow: 0 0 0 0 rgba(224, 21, 7, .5); }
  70% { box-shadow: 0 0 0 12px rgba(224, 21, 7, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 21, 7, 0); }
}

.ys-hero__pied {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 2.6rem;
  font-size: var(--t-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gris);
}
.ys-souris {
  width: 22px; height: 34px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--ligne);
  position: relative;
  flex: 0 0 auto;
}
.ys-souris::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 7px;
  border-radius: 2px;
  background: var(--rose);
  transform: translateX(-50%);
  animation: ys-glisse 1.9s var(--e-inout) infinite;
}
@keyframes ys-glisse {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  55% { transform: translate(-50%, 11px); opacity: .2; }
}

/* ------------------------------------------------------ 8. BANDE CHIFFRES */
.ys-chiffres {
  position: relative;
  background: var(--vert-nuit);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(2.2rem, 7vw, 3.6rem) clamp(1.3rem, 5vw, 3rem);
}
.ys-chiffres::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(253, 52, 143, .3), transparent 68%);
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.ys-chiffres__grille {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 5vw, 2.4rem) 1rem;
}
.ys-chiffre b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 10vw, 4.4rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, #fff 30%, var(--rose) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ys-chiffre span {
  display: block;
  margin-top: .6rem;
  font-size: .86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .66);
  max-width: 22ch;
}

/* ------------------------------------------------ 9. À PROPOS (PIN/SCRUB) */
.ys-recit { position: relative; }
/* La piste donne la course de scroll ; l'enfant reste épinglé (pin/scrub). */
.ys-recit__piste { position: relative; height: 260svh; }
.ys-recit__epingle {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.6rem, 5vw, 3rem);
  padding-block: 5.5rem 3rem;
  overflow: hidden;
}
.ys-recit__visuel {
  position: relative;
  max-height: 42svh;
  border-radius: var(--r-l);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--ombre-l);
  background: var(--brume);
}
.ys-recit__visuel figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--e-soft); }
.ys-recit__visuel figure.est-active { opacity: 1; }
.ys-recit__visuel img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12) translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.ys-recit__compteur {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(0, 47, 9, .55);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .74rem;
  letter-spacing: .16em;
  font-variant-numeric: tabular-nums;
}
.ys-recit__texte { position: relative; min-height: clamp(14rem, 27vh, 18rem); }
.ys-recit__beat {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .7s var(--e-out), transform .8s var(--e-out);
  pointer-events: none;
}
.ys-recit__beat.est-active { opacity: 1; transform: none; pointer-events: auto; }
.ys-recit__beat h3 {
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  line-height: 1.04;
  color: var(--vert-nuit);
  margin-bottom: .85rem;
}
.ys-recit__beat h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--rose-profond);
}
.ys-recit__beat p { color: var(--gris); max-width: 46ch; }
.ys-recit__jauge {
  display: flex;
  gap: .4rem;
  margin-top: 1.5rem;
}
.ys-recit__jauge i {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--ligne);
  overflow: hidden;
}
.ys-recit__jauge i::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: var(--rose);
  transform-origin: 0 50%;
  transform: scaleX(var(--f, 0));
  transition: transform .25s linear;
}

/* --------------------------------------------------------- 10. SERVICES */
.ys-grille-cartes {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-top: clamp(2.2rem, 7vw, 3.5rem);
}
.ys-carte {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, .68);
  box-shadow: inset 0 0 0 1px var(--ligne);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform .6s var(--e-out), box-shadow .6s var(--e-out), background-color .6s var(--e-out);
  will-change: transform;
}
/* Spotlight qui suit le curseur */
.ys-carte::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(253, 52, 143, .18), transparent 65%);
  transition: opacity .5s var(--e-out);
}
.ys-carte:hover::before, .ys-carte:focus-within::before { opacity: 1; }
.ys-carte:hover, .ys-carte:focus-within {
  background: rgba(255, 255, 255, .96);
  box-shadow: inset 0 0 0 1px rgba(253, 52, 143, .3), var(--ombre-m);
}
.ys-carte__icone {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--vert-clair);
  margin-bottom: 1.1rem;
  transition: background-color .5s var(--e-out), transform .6s var(--e-back), border-radius .6s var(--e-back);
}
.ys-carte__icone svg { width: 23px; height: 23px; stroke: var(--vert); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ys-carte__icone svg * { transition: stroke-dashoffset .8s var(--e-out), stroke .5s var(--e-out); }
.ys-carte:hover .ys-carte__icone {
  background: var(--rose);
  transform: translateY(-3px) rotate(-7deg);
  border-radius: 50% 14px 50% 14px;
}
.ys-carte:hover .ys-carte__icone svg { stroke: #fff; }
.ys-carte h3 { font-size: var(--t-h3); color: var(--vert-nuit); margin-bottom: .45rem; letter-spacing: -.025em; }
.ys-carte p { font-size: .93rem; color: var(--gris); line-height: 1.55; }
.ys-carte__num {
  position: absolute;
  top: 1.1rem; right: 1.2rem;
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ligne);
  font-variant-numeric: tabular-nums;
  transition: color .5s var(--e-out);
}
.ys-carte:hover .ys-carte__num { color: var(--rose); }

/* ------------------------------------------------------ 11. SPÉCIALITÉS */
.ys-specialites { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.ys-puce {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .62rem 1.05rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--vert-nuit);
  background: rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1px var(--ligne);
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--e-out), transform .5s var(--e-back), box-shadow .45s var(--e-out);
}
.ys-puce::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--vert-nuit);
  transform: translate3d(0, 101%, 0);
  transition: transform .55s var(--e-out);
}
.ys-puce:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px transparent, var(--ombre-m); }
.ys-puce:hover::before { transform: translate3d(0, 0, 0); }
.ys-puce i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
  flex: 0 0 auto;
  transition: transform .5s var(--e-back);
}
.ys-puce:hover i { transform: scale(1.9); }

/* ---------------------------------------------------- 12. NAISSANCE / RDV */
.ys-programme {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}
.ys-affiche {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--brume);
  aspect-ratio: 3 / 4;
}
.ys-affiche img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--e-out);
}
.ys-affiche:hover img { transform: scale(1.1); }
.ys-programme__texte {
  border-radius: var(--r-m);
  padding: clamp(1.5rem, 5vw, 2.4rem);
  background: linear-gradient(155deg, var(--rose-clair), rgba(255, 255, 255, .3));
  box-shadow: inset 0 0 0 1px rgba(253, 52, 143, .18);
}
.ys-programme__texte h3 { font-size: var(--t-h3); color: var(--vert-nuit); margin-bottom: .8rem; }
.ys-programme__texte p { color: var(--gris); }
.ys-liste-check { margin-top: 1.3rem; display: grid; gap: .55rem; }
.ys-liste-check li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .94rem;
  color: var(--vert-nuit);
}
.ys-liste-check li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(253, 52, 143, .18);
}

/* ---------------------------------------------------------- 13. GALERIE */
.ys-galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  margin-top: clamp(2.2rem, 7vw, 3.4rem);
}
.ys-vignette {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--brume);
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
.ys-vignette:nth-child(4n + 1), .ys-vignette:nth-child(4n + 4) { aspect-ratio: 4 / 5; }
.ys-vignette img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06) translate3d(0, var(--py, 0px), 0);
  transition: transform 1.2s var(--e-out), filter .8s var(--e-out);
  will-change: transform;
}
.ys-vignette:hover img { transform: scale(1.16) translate3d(0, var(--py, 0px), 0); }
.ys-vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 47, 9, .62), transparent 52%);
  opacity: 0;
  transition: opacity .6s var(--e-out);
}
.ys-vignette:hover::after, .ys-vignette:focus-visible::after { opacity: 1; }
.ys-vignette__leg {
  display: block;
  text-align: left;
  position: absolute;
  left: .8rem; right: .8rem; bottom: .8rem;
  z-index: 2;
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity .5s var(--e-out), transform .6s var(--e-out);
}
.ys-vignette:hover .ys-vignette__leg, .ys-vignette:focus-visible .ys-vignette__leg { opacity: 1; transform: none; }

/* Lightbox */
.ys-visionneuse {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 20, 6, .9);
  backdrop-filter: blur(10px);
}
.ys-visionneuse[open] { display: grid; animation: ys-fondu .4s var(--e-out); }
@keyframes ys-fondu { from { opacity: 0; } }
.ys-visionneuse img {
  max-width: min(94vw, 900px);
  max-height: 82svh;
  width: auto;
  border-radius: var(--r-m);
  box-shadow: var(--ombre-l);
  animation: ys-zoom .55s var(--e-out);
}
@keyframes ys-zoom { from { opacity: 0; transform: scale(.93); } }
.ys-visionneuse__legende { color: rgba(255, 255, 255, .8); text-align: center; margin-top: 1rem; font-size: .88rem; }
.ys-visionneuse__fermer {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: background-color .4s, transform .4s var(--e-back);
}
.ys-visionneuse__fermer:hover { background: var(--rose); transform: rotate(90deg); }
.ys-visionneuse__nav {
  position: absolute;
  inset-block: 0;
  width: 22%;
  color: #fff;
  font-size: 2rem;
  opacity: .55;
  transition: opacity .3s;
}
.ys-visionneuse__nav:hover { opacity: 1; }
.ys-visionneuse__nav--prec { left: 0; }
.ys-visionneuse__nav--suiv { right: 0; }

/* --------------------------------------------------------- 14. ÉQUIPE */
.ys-equipe {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
  margin-top: 2.4rem;
}
.ys-membre {
  padding: 1.3rem 1.1rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1px var(--ligne);
  transition: transform .5s var(--e-out), box-shadow .5s var(--e-out);
}
.ys-membre:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(253, 52, 143, .28), var(--ombre-m); }
.ys-membre__silhouette {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  margin-bottom: .9rem;
  background:
    radial-gradient(circle at 50% 34%, rgba(1, 75, 26, .16) 0 22%, transparent 23%),
    radial-gradient(ellipse at 50% 110%, rgba(1, 75, 26, .16) 0 46%, transparent 47%),
    var(--brume);
}
.ys-membre b { display: block; font-family: var(--display); font-size: 1rem; color: var(--vert-nuit); }
.ys-membre span { font-size: .82rem; color: var(--gris); }

.ys-note-placeholder {
  margin-top: 1.6rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r-s);
  border: 1px dashed rgba(253, 52, 143, .5);
  background: rgba(253, 52, 143, .05);
  font-size: .84rem;
  color: var(--rose-profond);
}

/* ----------------------------------------------------- 15. PARTENAIRES */
.ys-defile {
  position: relative;
  margin-top: 2.4rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ys-defile__piste {
  display: flex;
  gap: .6rem;
  width: max-content;
  animation: ys-defile 58s linear infinite;
}
.ys-defile:hover .ys-defile__piste { animation-play-state: paused; }
.ys-defile + .ys-defile .ys-defile__piste { animation-duration: 74s; animation-direction: reverse; }
@keyframes ys-defile { to { transform: translate3d(-50%, 0, 0); } }
.ys-partenaire {
  flex: 0 0 auto;
  width: 116px;
  height: 74px;
  display: grid;
  place-items: center;
  padding: .55rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 0 0 1px var(--ligne);
  transition: transform .45s var(--e-back), box-shadow .45s var(--e-out);
}
.ys-partenaire img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.6);
  transition: filter .5s var(--e-out);
}
.ys-partenaire:hover { transform: translateY(-4px) scale(1.05); box-shadow: inset 0 0 0 1px rgba(253, 52, 143, .3), var(--ombre-m); }
.ys-partenaire:hover img { filter: none; }

/* -------------------------------------------------------------- 16. FAQ */
.ys-faq { margin-top: 2.4rem; border-top: 1px solid var(--ligne); }
.ys-faq__item { border-bottom: 1px solid var(--ligne); }
.ys-faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 3.2vw, 1.18rem);
  letter-spacing: -.02em;
  color: var(--vert-nuit);
  transition: color .35s var(--e-out);
}
.ys-faq__q:hover { color: var(--rose-profond); }
.ys-faq__croix {
  position: relative;
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--vert-clair);
  transition: background-color .45s var(--e-out), transform .55s var(--e-back);
}
.ys-faq__croix::before, .ys-faq__croix::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.8px;
  border-radius: 2px;
  background: var(--vert);
  transform: translate(-50%, -50%);
  transition: transform .5s var(--e-back), background-color .4s;
}
.ys-faq__croix::after { transform: translate(-50%, -50%) rotate(90deg); }
.ys-faq__q[aria-expanded="true"] .ys-faq__croix { background: var(--rose); transform: rotate(180deg); }
.ys-faq__q[aria-expanded="true"] .ys-faq__croix::before,
.ys-faq__q[aria-expanded="true"] .ys-faq__croix::after { background: #fff; }
.ys-faq__q[aria-expanded="true"] .ys-faq__croix::after { transform: translate(-50%, -50%) rotate(0deg); }
.ys-faq__r {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--e-inout);
}
.ys-faq__r > div { overflow: hidden; }
.ys-faq__item.est-ouvert .ys-faq__r { grid-template-rows: 1fr; }
.ys-faq__r p { padding-bottom: 1.35rem; color: var(--gris); max-width: 68ch; font-size: .96rem; }

/* --------------------------------------------------------- 17. CONTACT */
.ys-contact {
  background: var(--vert-nuit);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(2.2rem, 7vw, 4rem) clamp(1.3rem, 5vw, 3.2rem);
  position: relative;
}
.ys-contact::after {
  content: "";
  position: absolute;
  left: -20%; bottom: -55%;
  width: 75%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(253, 52, 143, .26), transparent 66%);
  transform: translate3d(0, var(--py, 0px), 0);
  pointer-events: none;
}
.ys-contact .ys-oeil { color: var(--rose); }
.ys-contact .ys-oeil::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); }
.ys-contact .ys-titre { color: #fff; }
.ys-contact .ys-titre em { color: var(--rose); }
.ys-contact__grille { position: relative; display: grid; gap: 1.6rem; margin-top: 2.4rem; }
.ys-coord { display: grid; gap: .9rem; }
.ys-coord__item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .95rem 1.05rem;
  border-radius: var(--r-s);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  transition: background-color .45s var(--e-out), transform .45s var(--e-out);
}
.ys-coord__item:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); }
.ys-coord__item svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: .2rem; fill: var(--rose); }
.ys-coord__item b { display: block; font-family: var(--display); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 600; margin-bottom: .15rem; }
.ys-coord__item span { color: #fff; font-size: .98rem; line-height: 1.45; }
.ys-carteo {
  border-radius: var(--r-m);
  overflow: hidden;
  min-height: 300px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}
.ys-carteo iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: saturate(.9); }

/* ------------------------------------------------------------ 18. FOOTER */
.ys-pied {
  position: relative;
  padding-block: clamp(3rem, 9vw, 5rem) 8rem;
  overflow: hidden;
}
.ys-pied__grille { display: grid; gap: 2.2rem; }
.ys-pied img { width: 150px; margin-bottom: 1rem; }
.ys-pied p { color: var(--gris); font-size: .92rem; max-width: 42ch; }
.ys-pied h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--vert-feuille); margin-bottom: .9rem; font-weight: 600; }
.ys-pied li { margin-bottom: .45rem; }
.ys-pied li a {
  position: relative;
  font-size: .95rem;
  color: var(--gris);
  transition: color .35s var(--e-out);
}
.ys-pied li a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .5s var(--e-out);
}
.ys-pied li a:hover { color: var(--vert-nuit); }
.ys-pied li a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.ys-pied__bas {
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ligne);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--gris);
}
.ys-pied__orbite {
  position: absolute;
  bottom: -46%;
  left: 50%;
  width: min(120vw, 900px);
  aspect-ratio: 1;
  translate: -50% 0;
  pointer-events: none;
  opacity: .5;
}
.ys-pied__orbite ellipse { fill: none; stroke: var(--rose); stroke-width: 1.4; opacity: .35; }

/* -------------------------------------------------- 19. WHATSAPP FLOTTANT */
.ys-whatsapp {
  position: fixed;
  right: clamp(.9rem, 4vw, 1.6rem);
  bottom: clamp(.9rem, 4vw, 1.6rem);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .62rem;
  border-radius: 999px;
  background: #1FAF54;
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(11, 110, 47, .7);
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform .6s var(--e-back), box-shadow .5s var(--e-out), background-color .4s;
  will-change: transform;
}
.ys-whatsapp.est-repliee { transform: translate3d(0, 160%, 0); }
.ys-whatsapp__rond {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.ys-whatsapp__rond::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31, 175, 84, .6);
  animation: ys-onde 2.8s var(--e-out) infinite;
}
@keyframes ys-onde {
  0% { box-shadow: 0 0 0 0 rgba(31, 175, 84, .55); }
  70% { box-shadow: 0 0 0 18px rgba(31, 175, 84, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 175, 84, 0); }
}
.ys-whatsapp svg { width: 24px; height: 24px; fill: #fff; }
.ys-whatsapp__txt {
  display: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  padding-right: .85rem;
  white-space: nowrap;
}
.ys-whatsapp:hover { transform: translateY(-4px) scale(1.03); background: #189947; }

/* --------------------------------------------------- 20. CURSEUR CUSTOM */
.ys-curseur, .ys-curseur-anneau { display: none; }

/* ============================== 21. TABLETTE (≥ 640px) ==================== */
@media (min-width: 640px) {
  .ys-chiffres__grille { grid-template-columns: repeat(4, 1fr); }
  .ys-grille-cartes { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .ys-galerie { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .ys-equipe { grid-template-columns: repeat(4, 1fr); }
  .ys-programme { grid-template-columns: 1fr 1.25fr; align-items: stretch; }
  .ys-affiche { aspect-ratio: auto; }
  .ys-whatsapp__txt { display: block; }
  .ys-partenaire { width: 140px; height: 88px; }
  .ys-pied__grille { grid-template-columns: 1.4fr 1fr 1fr; }
  .ys-contact__grille { grid-template-columns: 1fr 1fr; align-items: start; }
  .ys-recit__epingle {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    align-content: center;
  }
  .ys-recit__visuel { aspect-ratio: auto; height: 66svh; max-height: none; }
  .ys-recit__piste { height: 280svh; }
}

/* =============================== 22. DESKTOP (≥ 1024px) ================== */
@media (min-width: 1024px) {
  .ys-marque__txt {
    display: block;
    font-family: var(--display);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gris);
    line-height: 1.3;
    max-width: 12ch;
    padding-left: .7rem;
    border-left: 1px solid var(--ligne);
  }
  .ys-burger { display: none; }
  .ys-menu {
    display: flex;
    align-items: center;
    gap: clamp(.3rem, 1.6vw, 1rem);
    margin-left: auto;
    margin-right: 1rem;
  }
  /* Lien liquide : le texte se remplace en glissant, la « perle » gonfle */
  .ys-lien {
    position: relative;
    display: block;
    padding: .55rem .85rem;
    font-family: var(--display);
    font-weight: 500;
    font-size: .93rem;
    letter-spacing: -.01em;
    color: var(--vert-nuit);
    border-radius: 999px;
    overflow: hidden;
    isolation: isolate;
  }
  .ys-lien span { display: block; position: relative; z-index: 1; transition: transform .55s var(--e-out); }
  .ys-lien span::after {
    content: attr(data-txt);
    position: absolute;
    left: 0; top: 100%;
    width: 100%;
    color: #fff;
  }
  .ys-lien::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--vert-nuit);
    border-radius: 999px;
    transform: translate3d(0, 86%, 0) scale(.6);
    opacity: 0;
    transition: transform .6s var(--e-out), opacity .4s var(--e-out), border-radius .6s var(--e-back);
  }
  .ys-lien:hover span, .ys-lien:focus-visible span { transform: translateY(-100%); }
  .ys-lien:hover::before, .ys-lien:focus-visible::before { transform: translate3d(0, 0, 0) scale(1); opacity: 1; border-radius: 12px; }
  .ys-lien[aria-current="page"]::before { opacity: 1; transform: none; background: var(--rose); }
  .ys-lien[aria-current="page"] span { color: #fff; }

  .ys-hero { align-items: center; }
  .ys-hero__int { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .ys-hero__medaillon { width: 100%; max-width: 460px; margin-bottom: 0; }
  .ys-orbite { top: 50%; left: 72%; translate: -50% -50%; width: min(58vw, 780px); }
  .ys-hero__texte { max-width: 60ch; }

  .ys-grille-cartes { grid-template-columns: repeat(3, 1fr); }
  .ys-galerie { grid-template-columns: repeat(4, 1fr); }
  .ys-tete-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: end; }
  .ys-recit__epingle { gap: clamp(3rem, 7vw, 6rem); }
  .ys-contact__grille { grid-template-columns: 1fr 1.1fr; gap: 2.4rem; }
  .ys-carteo { min-height: 430px; }
  .ys-carteo iframe { min-height: 430px; }
  .ys-carte { padding: 1.9rem 1.7rem 2rem; }

  /* Curseur personnalisé (pointeur fin uniquement) */
  @media (pointer: fine) {
    body.a-curseur, body.a-curseur * { cursor: none !important; }
    .ys-curseur, .ys-curseur-anneau {
      display: block;
      position: fixed;
      top: 0; left: 0;
      z-index: 200;
      pointer-events: none;
      border-radius: 50%;
      will-change: transform;
    }
    .ys-curseur, .ys-curseur-anneau { opacity: 0; }
    body.curseur-pret .ys-curseur, body.curseur-pret .ys-curseur-anneau { opacity: 1; }
    .ys-curseur {
      width: 7px; height: 7px;
      margin: -3.5px 0 0 -3.5px;
      background: var(--rose-profond);
      transition: width .35s var(--e-back), height .35s var(--e-back), margin .35s var(--e-back), opacity .3s;
    }
    .ys-curseur-anneau {
      width: 34px; height: 34px;
      margin: -17px 0 0 -17px;
      box-shadow: inset 0 0 0 1.5px var(--rose);
      transition: width .45s var(--e-back), height .45s var(--e-back), margin .45s var(--e-back),
                  box-shadow .4s var(--e-out), background-color .4s var(--e-out), border-radius .5s var(--e-back);
    }
    body.curseur-lien .ys-curseur-anneau {
      width: 62px; height: 62px; margin: -31px 0 0 -31px;
      background: rgba(253, 52, 143, .14);
      box-shadow: inset 0 0 0 1.5px transparent;
    }
    body.curseur-lien .ys-curseur { width: 4px; height: 4px; margin: -2px 0 0 -2px; }
    body.curseur-media .ys-curseur-anneau {
      width: 84px; height: 84px; margin: -42px 0 0 -42px;
      border-radius: 24px;
      background: rgba(0, 47, 9, .28);
      box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5);
    }
    body.curseur-media .ys-curseur { opacity: 0; }
  }
}

@media (min-width: 1280px) {
  .ys-grille-cartes { gap: 1.15rem; }
}

/* ================== 23. MOUVEMENT RÉDUIT — version allégée =============== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* On garde les révélations, mais en fondu court et sans déplacement */
  [data-reveal] {
    transform: none !important;
    transition: opacity .3s linear var(--d, 0ms) !important;
  }
  .ys-mot > span, .ys-lettre {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .ys-orbite, .ys-hero__medaillon { opacity: 1 !important; animation: none !important; transform: none !important; }
  .ys-orbite .anneau-1, .ys-orbite .anneau-2, .ys-orbite .anneau-3, .ys-orbite .perle { animation: none !important; }
  .ys-defile__piste { animation: none !important; flex-wrap: wrap; width: 100%; justify-content: center; }
  .ys-defile { -webkit-mask-image: none; mask-image: none; }
  .ys-pouls, .ys-whatsapp__rond::after, .ys-souris::after { animation: none !important; }
  .ys-recit__epingle { position: static; min-height: 0; }
  .ys-carte, .ys-btn, .ys-puce, .ys-partenaire, .ys-membre, .ys-vignette img, .ys-affiche img {
    transition-duration: .18s !important;
    transform: none !important;
  }
  .ys-btn:hover, .ys-carte:hover, .ys-puce:hover { transform: none !important; }
  .ys-fond { transition: background-color .3s linear; }
  .ys-fond::before, .ys-fond::after { transform: none !important; }
  .ys-curseur, .ys-curseur-anneau { display: none !important; }
  body.a-curseur, body.a-curseur * { cursor: auto !important; }
  .ys-tiroir { transition: opacity .2s linear; }
  * { scroll-behavior: auto !important; }
}

/* ========================= 24. IMPRESSION (basique) ====================== */
@media print {
  .ys-entete, .ys-whatsapp, .ys-progres, .ys-fond, .ys-orbite, .ys-tiroir { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}
