/* La Pico Lina — boutique en ligne (maquette)
   Layout : on entre par un rideau dans une vitrine où les vêtements flottent ; puis trois rayons
   (filles, garçons, matchy) où la page prend la couleur du rayon et où les pièces défilent
   de côté en tournant. Les photos sont détourées et fondues dans le décor. */
:root {
  --lait: #FFF7F9;
  --blanc: #FFFFFF;
  --ink: #3E2232;
  --ink-doux: #7A6170;
  --trait: rgba(62, 34, 50, .08);
  --rose: #F4B4C8;
  --rose-pale: #FBE6EE;
  --rose-fort: #D04F7B;
  --bleu: #BBDCF6;
  --bleu-pale: #E4F1FC;
  --bleu-fort: #3F7FB8;
  --vanille: #FFF1D6;
  --menthe: #CBE8D0;
  --menthe-fort: #3E7E55;
  --citron: #FDEFB2;
  --bois: #C99A72;

  --l-rose: #F39CC0;
  --l-bleu: #8DC2EE;
  --l-vert: #A6DB9E;
  --l-jaune: #F2D75E;

  --logo: 'Fredoka', 'Figtree', sans-serif;
  --display: 'Shrikhand', 'Cooper Black', Georgia, serif;
  --body: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --main: 'Fredoka', 'Figtree', sans-serif;

  --ressort: cubic-bezier(.32, .72, 0, 1);
  --rebond: cubic-bezier(.34, 1.56, .64, 1);
  --ombre: 0 1px 2px rgba(62, 34, 50, .05), 0 24px 48px -28px rgba(208, 79, 123, .35);
  --ombre-haute: 0 2px 6px rgba(62, 34, 50, .06), 0 40px 80px -40px rgba(61, 111, 168, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 96px }
:root { --fond: #F8F0E7; --encre: var(--ink); --accent: var(--rose-fort); --accent-ombre: #a83a62; --spot: #ffffff }
:root[data-univers="filles"] { --fond: #FBE1EB; --encre: #5A1F3A; --accent: #D04F7B; --accent-ombre: #a83a62; --spot: #FFF6F9 }
:root[data-univers="garcons"] { --fond: #DCECFB; --encre: #1E3A5C; --accent: #3F7FB8; --accent-ombre: #2b5f8e; --spot: #F6FBFF }
:root[data-univers="matchy"] { --fond: #FFEFD1; --encre: #4A2E1E; --accent: #D04F7B; --accent-ombre: #a83a62; --spot: #FFFAF0 }
:root[data-univers="infos"] { --fond: #FFF7F9; --spot: #ffffff }
:root[data-univers="boutique"] { --fond: #FFF1D6; --spot: #ffffff }
body { margin: 0; background: var(--fond); color: var(--ink); transition: background-color .8s var(--ressort); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip }
img { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit; color: inherit }
[hidden] { display: none !important }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; text-wrap: balance }
p { margin: 0 }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none }
:focus-visible { outline: 2.5px solid var(--bleu-fort); outline-offset: 3px; border-radius: 10px }
.wrap { width: 100%; max-width: 78rem; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }

/* Bandeau maquette */
.maquette { margin: 0; padding: 7px 16px; text-align: center; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700 }

/* Bandeau défilant */
.annonce { background: var(--bleu-fort); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; overflow: hidden; white-space: nowrap }
.annonce-piste { display: inline-flex; gap: 22px; align-items: center; padding: 8px 0; animation: defile 38s linear infinite }
.annonce i { font-style: normal; color: var(--rose) }
@keyframes defile { to { transform: translateX(-50%) } }

/* Store de l'entrée */
.store { position: relative; height: 34px; z-index: 3; transform-origin: top; animation: deroule .9s var(--rebond) .1s both }
.store-toile { height: 22px; background: repeating-linear-gradient(90deg, var(--rose) 0 36px, #fff 36px 72px) }
.store-festons { height: 12px; background:
  radial-gradient(circle at 18px 0, var(--rose) 17.5px, transparent 18px) 0 0 / 72px 12px repeat-x,
  radial-gradient(circle at 18px 0, #fff 17.5px, transparent 18px) 36px 0 / 72px 12px repeat-x;
  filter: drop-shadow(0 6px 6px rgba(208, 79, 123, .12)) }
@keyframes deroule { from { transform: scaleY(0) } to { transform: scaleY(1) } }

/* Navigation en pilule flottante */
.nav-zone { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding: 10px max(14px, env(safe-area-inset-left, 0px)) 0 max(14px, env(safe-area-inset-right, 0px)); margin-top: -8px; pointer-events: none }
.nav { pointer-events: auto; max-width: 74rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px rgba(62, 34, 50, .06), 0 18px 40px -24px rgba(62, 34, 50, .35); animation: arrive .8s var(--ressort) .35s both }
@keyframes arrive { from { opacity: 0; transform: translateY(-14px) } }
.logo { font-family: var(--logo); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; text-transform: uppercase; color: var(--rose-fort); display: inline-block; line-height: 1; white-space: nowrap }
.logo i { font-style: normal; text-shadow: 0 1px 0 rgba(62, 34, 50, .12) }
.nav-liens { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 }
.nav-liens a { display: block; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: background .4s var(--ressort), color .4s var(--ressort) }
.nav-liens a:hover { background: var(--rose-pale); color: var(--rose-fort) }
.nav-actions { display: flex; align-items: center; gap: 4px }
.ico-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .4s var(--ressort), transform .25s var(--ressort) }
.ico-btn:hover { background: var(--rose-pale) }
.ico-btn:active { transform: scale(.94) }
.ico-btn svg { width: 22px; height: 22px }
.sac { background: var(--rose-fort); color: #fff }
.sac:hover { background: #bd4370 }
.pastille { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--bleu-fort); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff }
.sac .pastille { background: var(--ink) }
.pop { animation: pop .5s var(--rebond) }
@keyframes pop { 40% { transform: scale(1.35) } }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); position: relative; cursor: pointer }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ressort), top .45s var(--ressort) }
.burger span:first-child { top: 17px }
.burger span:last-child { top: 25px }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg) }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg) }

.menu-plein { position: fixed; inset: 0; z-index: 19; background: rgba(255, 248, 250, .9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: grid; align-content: center; gap: 30px; padding: 200px max(28px, env(safe-area-inset-left, 0px)) 40px; overflow-y: auto }
.menu-plein ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(62, 34, 50, .12) }
.menu-plein li { border-bottom: 1px solid rgba(62, 34, 50, .12) }
.menu-plein a { font-family: var(--display); font-size: clamp(1.55rem, 7.6vw, 3rem); white-space: nowrap; gap: 12px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; opacity: 0; transform: translateY(40px); transition: opacity .6s var(--ressort), transform .6s var(--ressort) }
.menu-plein.ouvert a { opacity: 1; transform: none }
.menu-plein a::after { content: "→"; font-family: var(--body); font-weight: 700; font-size: 1.2rem; color: var(--rose-fort) }
.menu-plein a[aria-current="page"] { color: var(--rose-fort) }
.menu-plein a[aria-current="page"]::after { content: "•" }
.menu-plein li:nth-child(2) a { transition-delay: .05s } .menu-plein li:nth-child(3) a { transition-delay: .1s } .menu-plein li:nth-child(4) a { transition-delay: .15s } .menu-plein li:nth-child(5) a { transition-delay: .2s } .menu-plein li:nth-child(6) a { transition-delay: .25s }
.menu-plein p { color: var(--ink-doux); font-weight: 600 }

/* Pastilles de texte */
.pilule { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--rose-pale); color: var(--rose-fort); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase }
.pilule-bleue { background: var(--bleu-pale); color: var(--bleu-fort) }
.main-ecrite { font-family: var(--main); font-weight: 600; font-size: 1.3rem; color: var(--bleu-fort); line-height: 1 }

/* Boutons (bouton dans le bouton) */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 24px; min-height: 52px; border-radius: 999px; border: 0; font-weight: 700; font-size: .98rem; cursor: pointer; transition: transform .35s var(--ressort), background .4s var(--ressort), box-shadow .4s var(--ressort) }
.btn:not(:has(.btn-ico)) { padding-right: 24px }
.btn:active { transform: scale(.97) }
.btn-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); transition: transform .5s var(--ressort) }
.btn:hover .btn-ico { transform: translate(3px, -2px) scale(1.06) }
.btn-rose { background: var(--rose-fort); color: #fff; box-shadow: 0 14px 30px -14px rgba(208, 79, 123, .8) }
.btn-rose:hover { background: #bd4370 }
.btn-clair { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--trait), 0 10px 24px -18px rgba(62, 34, 50, .4) }
.btn-clair:hover { background: var(--bleu-pale) }
.btn-large { width: 100%; justify-content: space-between }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--rose-fort) }
.lien-fleche svg { transition: transform .45s var(--ressort) }
.lien-fleche:hover svg { transform: translate(3px, -3px) }

/* Coque + cœur (double cadre) */
.coque { display: block; padding: 7px; border-radius: 34px; background: rgba(62, 34, 50, .035); box-shadow: inset 0 0 0 1px rgba(62, 34, 50, .05) }
.coque-coeur { display: block; border-radius: 27px; background: #fff; overflow: hidden; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), var(--ombre) }


/* ===== RIDEAU D'ENTRÉE ===== */
.rideau { position: fixed; inset: 0; z-index: 70; display: flex; pointer-events: none }
.rideau-pan { flex: 1; position: relative; background: repeating-linear-gradient(90deg, var(--rose) 0 44px, #fff 44px 88px); box-shadow: inset 0 0 120px rgba(208, 79, 123, .25); transition: transform 1.25s cubic-bezier(.76, 0, .24, 1) }
.rideau-pan.d { background: repeating-linear-gradient(90deg, #fff 0 44px, var(--rose) 44px 88px) }
.rideau-pan::after { content: ""; position: absolute; top: 0; bottom: 0; width: 26px; background: radial-gradient(circle at 0 13px, transparent 12px, var(--rose) 12.5px) 0 0 / 26px 26px repeat-y }
.rideau-pan.g::after { right: -13px; background: radial-gradient(circle at 13px 13px, var(--rose) 12.5px, transparent 13px) 0 0 / 26px 26px repeat-y }
.rideau-pan.d::after { left: -13px; background: radial-gradient(circle at 13px 13px, var(--rose) 12.5px, transparent 13px) 0 0 / 26px 26px repeat-y }
.rideau-mot { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; z-index: 2; transition: opacity .5s var(--ressort), transform .8s var(--ressort) }
.rideau-mot b { font-family: var(--logo); font-weight: 700; font-size: clamp(2.6rem, 9vw, 6rem); letter-spacing: .02em; padding: 10px 34px 4px; border-radius: 999px; background: #fff; box-shadow: 0 20px 50px -20px rgba(62, 34, 50, .45) }
.rideau-mot b i { font-style: normal }
.rideau-mot span { font-family: var(--main); font-weight: 600; font-size: 1.25rem; color: var(--ink); background: #fff; padding: 4px 16px; border-radius: 99px }
.rideau.ouvre .rideau-pan.g { transform: translateX(-104%) }
.rideau.ouvre .rideau-pan.d { transform: translateX(104%) }
.rideau.ouvre .rideau-mot { opacity: 0; transform: scale(.9) }

/* ===== RÉCIT D'ENTRÉE : la famille, la caméra se sépare ===== */
.recit { position: relative; height: 440svh; margin-top: -60px }
.recit-collant { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate }
.recit-collant::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 50% at 20% 25%, rgba(251, 225, 235, .7), transparent 70%),
  radial-gradient(55% 45% at 85% 70%, rgba(255, 233, 196, .8), transparent 70%),
  radial-gradient(40% 40% at 70% 15%, rgba(255, 252, 247, .9), transparent 70%) }
.recit-collant::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -6svh; height: 18svh; z-index: 1; border-radius: 50% 50% 0 0; background: radial-gradient(closest-side, rgba(62, 34, 50, .10), transparent) }
.recit-titre { position: absolute; left: 0; right: 0; top: 10svh; z-index: 4; display: grid; justify-items: center; gap: 16px; text-align: center; padding: 0 16px; opacity: var(--o, 1); transform: translateY(var(--ty, 0px)) }
.recit-titre h1 { font-family: var(--display); font-size: clamp(3.1rem, 8.6vw, 8rem); line-height: .9; color: var(--ink); text-shadow: 0 2px 0 rgba(255, 255, 255, .7) }
.recit-titre h1 .ligne { display: block; overflow: hidden; padding: 0 .06em .1em }
.recit-titre h1 .ligne > span { display: inline-block; animation: monte 1.1s var(--ressort) both }
.recit-titre h1 .ligne:nth-child(1) > span { animation-delay: .95s }
.recit-titre h1 .ligne:nth-child(2) > span { animation-delay: 1.08s }
.recit-titre h1 .rose { color: var(--rose-fort) }
.recit-titre .pilule { background: #fff; animation: arrive .9s var(--ressort) .85s both }
.recit-titre .hero-sous { animation: arrive .9s var(--ressort) 1.3s both }
.famille { position: absolute; left: 50%; bottom: 0; height: min(54svh, 620px); aspect-ratio: 1239 / 957; z-index: 2; translate: calc(-50% + var(--gx, 0px)) var(--gy, 0%); scale: var(--gs, 1); transform-origin: 50% 100%; filter: drop-shadow(0 26px 24px rgba(62, 34, 50, .2)); animation: arrive 1.2s var(--ressort) 1.2s both }
.calque { position: absolute; inset: 0; transform: translate3d(var(--cx, 0%), var(--cy, 0px), 0); opacity: var(--co, 1); will-change: transform, opacity }
.calque img { width: 100%; height: 100%; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat }
.legende { position: absolute; z-index: 4; top: 20svh; width: min(30rem, 40vw); display: grid; gap: 12px; justify-items: start; opacity: var(--o, 0); transform: translateY(var(--ty, 30px)); pointer-events: none }
.legende.visible { pointer-events: auto }
.l-maman { right: 5vw; width: min(38rem, 45vw) }
.l-papa { left: 6vw }
.l-famille { left: 50%; top: 9svh; width: min(44rem, 92vw); margin-left: calc(min(44rem, 92vw) / -2); justify-items: center; text-align: center }
.legende h2 { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .9; color: var(--ink) }
.legende h2 span { color: var(--rose-fort) }
.l-papa h2 span { color: var(--bleu-fort) }
.legende > p:not(.main-ecrite) { font-size: 1.08rem; color: var(--ink-doux); max-width: 32ch }
.l-famille h2 { font-size: clamp(2.2rem, 5vw, 4.4rem) }
.legende-rail { width: 100%; overflow: hidden; padding: 6px 2px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 82%, transparent) }
.legende-piste { display: flex; align-items: center; gap: 12px; width: max-content; will-change: transform }
.legende-piste .legende-duo { flex: none; width: 320px; align-items: center; height: 150px }
.legende-piste .legende-duo div { min-width: 0 }
.legende-piste .legende-duo span { white-space: nowrap; font-size: .85rem }
.legende-duo { display: flex; align-items: flex-end; gap: 4px; margin-top: 6px; padding: 14px 16px 12px; border-radius: 26px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -26px rgba(62, 34, 50, .5) }
.legende-duo .ombre { display: block; width: 110px; height: 130px; filter: drop-shadow(0 14px 12px rgba(62, 34, 50, .2)) }
.legende-duo .ombre + .ombre { width: 76px; height: 92px }
.legende-duo div { display: grid; gap: 4px; margin-left: 10px; align-self: center }
.legende-duo b { font-family: var(--main); font-weight: 600; font-size: 1.05rem; line-height: 1.1 }
.legende-duo button { border: 0; border-radius: 999px; padding: 9px 14px; background: var(--rose-fort); color: #fff; font-weight: 800; font-size: .82rem; cursor: pointer }
.l-papa .legende-duo button { background: var(--bleu-fort) }
.recit .descendre { opacity: var(--o, 1); z-index: 4; left: auto; right: max(24px, 4vw); transform: translateY(var(--ty, 0px)) }
.recit .hero-flottants { opacity: var(--o, 1); z-index: 0 }
/* Nuages et étoiles aquarelle, comme sur le mur des photos de famille */
.nuages { position: absolute; inset: 0; z-index: -1; pointer-events: none }
.nuages svg { position: absolute; width: var(--l); height: auto; left: var(--x); top: var(--y); stroke: none; opacity: .7; filter: blur(.4px) }
.nuages .nuage { fill: #C5DAEE }
.nuages .etoile { fill: #E2B866; opacity: .75 }

/* Personnages qui marchent dans les rayons */
.marcheur { position: absolute; left: 0; bottom: -1svh; height: min(48svh, 500px); z-index: 3; pointer-events: none; transform: translate3d(var(--wx, -30vw), var(--wy, 0px), 0) rotate(var(--wr, 0deg)); transform-origin: 50% 100%; will-change: transform }
.marcheur .ombre { display: block; height: 100%; filter: drop-shadow(0 24px 22px rgba(62, 34, 50, .2)) }
.marcheur img { height: 100%; width: auto }
.univers .piste { position: relative; z-index: 2 }

/* ===== ENTRÉE ===== */
.hero { position: relative; margin-top: -60px; min-height: max(640px, min(100svh, 940px)); display: grid; place-items: center; padding-block: 120px 110px; overflow: hidden; isolation: isolate }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 50% at 20% 25%, rgba(251, 225, 235, .9), transparent 70%),
  radial-gradient(55% 45% at 85% 70%, rgba(255, 239, 209, .9), transparent 70%),
  radial-gradient(40% 40% at 70% 15%, rgba(255, 255, 255, .9), transparent 70%) }
.hero-flottants { position: absolute; inset: 0; z-index: -1 }
.fl { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translate(-50%, -50%) translate3d(var(--px, 0px), var(--py, 0px), 0); will-change: transform }
.fl-in { animation: tombeFl 1.4s var(--rebond) both; animation-delay: calc(1.1s + var(--i) * .08s) }
@keyframes tombeFl { from { opacity: 0; transform: translateY(-40vh) rotate(calc(var(--r) * 4)) scale(.6) } }
.fl-bob { animation: flotte var(--d) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.9s) }
@keyframes flotte { from { transform: translateY(-10px) rotate(calc(var(--r) - 3deg)) } to { transform: translateY(12px) rotate(calc(var(--r) + 3deg)) } }
.fl .ombre { filter: drop-shadow(0 30px 26px rgba(62, 34, 50, .22)) }
.fl.loin { filter: blur(2.5px) saturate(.9); opacity: .85 }
.fl.loin .ombre { filter: drop-shadow(0 16px 14px rgba(62, 34, 50, .14)) }
.hero-centre { position: relative; display: grid; justify-items: center; gap: 22px; text-align: center; max-width: 64rem }
.hero h1 { font-family: var(--display); font-size: clamp(3.3rem, 10vw, 9.4rem); line-height: .9; letter-spacing: -.01em; color: var(--ink); text-shadow: 0 2px 0 rgba(255, 255, 255, .6) }
.hero h1 .ligne { display: block; overflow: hidden; padding: 0 .06em .1em }
.hero h1 .ligne > span { display: inline-block; animation: monte 1.1s var(--ressort) both }
.hero h1 .ligne:nth-child(1) > span { animation-delay: .95s }
.hero h1 .ligne:nth-child(2) > span { animation-delay: 1.08s }
@keyframes monte { from { transform: translateY(105%) rotate(4deg) } }
.hero h1 .rose { color: var(--rose-fort) }
.hero-sous { font-size: 1.15rem; color: var(--ink-doux); max-width: 38ch; animation: arrive .9s var(--ressort) 1.3s both }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; animation: arrive .9s var(--ressort) 1.4s both }
.hero .pilule { animation: arrive .9s var(--ressort) .85s both; background: #fff }
.descendre { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; font-family: var(--main); font-weight: 600; font-size: 1.05rem; color: var(--ink) }
.descendre svg { width: 26px; height: 26px; animation: tombeFleche 1.6s ease-in-out infinite }
@keyframes tombeFleche { 50% { transform: translateY(6px) } }

/* ===== PHOTOS DÉTOURÉES ===== */
.det { width: 100%; height: 100%; object-fit: contain; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat }

/* ===== RAYONS ===== */
.univers { position: relative; padding: 0 }
.univers-collant { position: relative; overflow: hidden }
.js-pin .univers-collant { position: sticky; top: 0; height: 100svh; display: flex; align-items: center }
.piste { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(90px, 12vh, 130px) clamp(20px, 5vw, 80px) 60px; width: max-content; will-change: transform }
.intro { width: min(560px, 80vw); flex: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: start; position: relative }
.titre-univers { font-family: var(--display); font-size: clamp(4.2rem, 11vw, 9rem); line-height: .85; color: var(--accent); transition: color .8s var(--ressort) }
.intro-txt { font-size: 1.1rem; color: var(--encre); opacity: .8; max-width: 34ch }
.intro .main-ecrite { color: var(--encre); opacity: .75 }
.intro-illu { margin: 6px 0 0; width: 240px; padding: 8px 8px 10px; background: #fff; border-radius: 10px; transform: rotate(-4deg); box-shadow: 0 30px 50px -28px rgba(62, 34, 50, .5); position: absolute; right: -150px; bottom: -40px }
.intro-illu img { border-radius: 4px; aspect-ratio: 1; object-fit: cover }
.btn-univers { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px var(--accent); transition: background .8s var(--ressort), transform .35s var(--ressort) }
.piste-items { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-left: 140px }
.flotte { flex: none; width: clamp(230px, 22vw, 330px); display: grid; gap: 14px; justify-items: center; border: 0; background: none; padding: 0; cursor: pointer; color: var(--encre); transform: translate3d(0, var(--fy, 0px), 0) rotate(var(--fr, 0deg)); will-change: transform; text-align: center }
.flotte-scene { position: relative; width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center }
.flotte-scene::before { content: ""; position: absolute; inset: 6% 2% 10%; border-radius: 50%; background: radial-gradient(closest-side, var(--spot), transparent); opacity: .95; transition: transform .8s var(--ressort) }
.flotte-scene .ombre { position: relative; width: 86%; height: 86%; filter: drop-shadow(0 28px 24px rgba(62, 34, 50, .2)); transition: transform .8s var(--rebond) }
.flotte-sol { position: absolute; bottom: 4%; left: 22%; right: 22%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(62, 34, 50, .22), transparent); transition: transform .8s var(--ressort), opacity .8s }
.flotte:hover .ombre, .flotte:focus-visible .ombre { transform: translateY(-14px) rotate(-3deg) scale(1.04) }
.flotte:hover .flotte-sol { transform: scaleX(.8); opacity: .6 }
.flotte:hover .flotte-scene::before { transform: scale(1.08) }
.flotte-txt { display: grid; gap: 2px }
.flotte-txt b { font-weight: 800; font-size: 1.02rem }
.flotte-txt span { font-family: var(--main); font-weight: 600; font-size: 1.15rem; color: var(--accent); line-height: 1 }
.flotte-voir { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 800; font-size: .82rem; box-shadow: 0 10px 20px -14px rgba(62, 34, 50, .5); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ressort), transform .45s var(--ressort) }
.flotte:hover .flotte-voir, .flotte:focus-visible .flotte-voir { opacity: 1; transform: none }
.flotte-voir svg { width: 16px; height: 16px }
/* Duo dans la piste matchy : le grand et le mini se tiennent */
.flotte.duo { width: clamp(300px, 28vw, 420px) }
.flotte.duo .flotte-scene { aspect-ratio: 5 / 4 }
.flotte.duo .paire { position: relative; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center }
.flotte.duo .paire .ombre { width: 62%; height: 92% }
.flotte.duo .paire .ombre + .ombre { width: 42%; height: 66%; margin-left: -10%; z-index: 1 }
.flotte.duo:hover .paire .ombre + .ombre { transform: translateY(-20px) rotate(5deg) scale(1.06) }
.fin-piste { flex: none; width: 230px; height: 230px; margin-left: 40px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px; background: var(--accent); color: #fff; box-shadow: 0 30px 60px -30px var(--accent); transition: transform .6s var(--rebond), background .8s var(--ressort) }
.fin-piste:hover { transform: scale(1.06) rotate(-4deg) }
.fin-piste b { font-family: var(--display); font-weight: 400; font-size: 4rem; line-height: 1 }
.fin-piste span { font-weight: 800 }
.fin-piste svg { width: 26px; height: 26px; margin-top: 6px }
.deco { position: absolute; inset: 0; pointer-events: none }
.deco svg { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); fill: var(--c); stroke: none; opacity: var(--o, .9); transform: translate3d(var(--dx, 0px), 0, 0) rotate(var(--r)); will-change: transform }
.deco svg.flou { filter: blur(3px) }

/* Scène du duo, photos fondues */
.matchy { position: relative; background: transparent }
.entete-h2 { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 4rem); color: var(--ink) }
.scene-coeur { background: radial-gradient(70% 70% at 40% 45%, #fff, var(--spot)) }
.fig { position: relative; margin: 0; display: grid; gap: 6px; justify-items: center }
.fig .ombre { width: 100%; aspect-ratio: 4 / 5; filter: drop-shadow(0 26px 22px rgba(62, 34, 50, .22)) }

/* Confettis */
.confettis { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none }

/* Pièce de la semaine : le vêtement sort du cadre, rebondit et suit la souris */
.semaine { padding-block: clamp(110px, 14vw, 170px) 20px }
.sem-carte { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 20px; padding: clamp(28px, 5vw, 60px); border-radius: 40px; background: linear-gradient(140deg, #fff 20%, var(--rose-pale)); box-shadow: 0 2px 4px rgba(62, 34, 50, .05), 0 50px 90px -50px rgba(208, 79, 123, .6); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ressort); transform-style: preserve-3d }
.sem-txt { display: grid; gap: 14px; justify-items: start; position: relative; z-index: 1 }
.sem-nom { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 4rem); line-height: .95 }
.sem-prix { font-family: var(--main); font-weight: 600; font-size: 1.7rem; color: var(--rose-fort); line-height: 1 }
.sem-desc { color: var(--ink-doux); max-width: 36ch }
.sem-photo { position: relative; align-self: stretch; min-height: 320px }
.sem-photo .ombre { position: absolute; left: 0; right: 0; top: -36%; bottom: -8%; filter: drop-shadow(0 40px 34px rgba(62, 34, 50, .3)); transform: translate3d(var(--gx, 0px), var(--gy, 0px), 60px); transition: transform .6s var(--ressort) }
.sem-photo .ombre img { animation: rebond 3.2s ease-in-out infinite }
@keyframes rebond { 0%, 100% { transform: translateY(0) rotate(-2deg) } 50% { transform: translateY(-16px) rotate(2deg) } }
.sem-carte:hover .sem-photo .ombre { filter: drop-shadow(0 60px 40px rgba(62, 34, 50, .32)) }

/* Cartes de la boutique : au survol, le vêtement sort du cadre */
.carte-photo { overflow: visible }
.carte:hover .carte-photo .ombre { transform: translateY(-16%) rotate(-3deg) scale(1.12); filter: drop-shadow(0 34px 24px rgba(62, 34, 50, .28)) }
.carte .badges, .carte .ajout-rapide { z-index: 4 }
.carte:hover { z-index: 5 }
.carte-photo > img { border-radius: 22px }

/* Bouton flottant « Toute la boutique » sur l'accueil */
.pilule-boutique { position: fixed; z-index: 18; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 18px 40px -18px rgba(62, 34, 50, .8); transition: transform .4s var(--rebond) }
.pilule-boutique:hover { transform: translateY(-3px) scale(1.03) }
.pilule-boutique svg { width: 20px; height: 20px; color: var(--rose) }
.pilule-boutique b { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 99px; display: grid; place-items: center; background: var(--rose); color: var(--ink); font-size: .8rem }

/* Fil d'Ariane et retour à l'accueil */
.ariane { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--ink-doux) }
.ariane a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--trait), 0 10px 24px -18px rgba(62, 34, 50, .5); transition: background .4s var(--ressort), transform .3s var(--ressort) }
.ariane a:hover { background: var(--rose-pale); transform: translateX(-2px) }
.ariane svg, .pilule-boutique.retour svg { width: 18px; height: 18px; stroke-width: 2 }
.ariane [aria-current] { color: var(--ink) }
.pilule-boutique.retour { padding-right: 18px }
.pilule-boutique.retour svg { color: var(--rose) }

/* Page en cours dans la navigation */
.nav-liens a[aria-current="page"] { background: var(--ink); color: #fff }

/* Page d'un article */
.article-tete { padding-bottom: 50px }
.ariane a.ariane-txt { min-height: 0; padding: 0; background: none; box-shadow: none; color: var(--ink-doux) }
.ariane a.ariane-txt:hover { color: var(--rose-fort); transform: none }
.article-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; width: 100% }
.article-photo { aspect-ratio: 4 / 5; border-radius: 34px; background: radial-gradient(70% 60% at 50% 45%, #fff, var(--fond)); display: grid; place-items: center; box-shadow: var(--ombre) }
.article-photo .ombre { width: 82%; height: 82%; filter: drop-shadow(0 30px 26px rgba(62, 34, 50, .24)) }
.article-photo > img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px }
.article-infos { display: grid; gap: 16px; justify-items: start }
.article-infos h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .95 }
.article-prix { font-family: var(--main); font-weight: 600; font-size: 1.8rem; color: var(--accent) }
.article-retrait { font-size: .88rem; color: var(--ink-doux) }
.fiche-lien { justify-self: start; border: 0; background: none; padding: 4px 0; font-weight: 700; font-size: .85rem; color: var(--ink-doux); cursor: pointer; text-decoration: underline; text-underline-offset: 3px }

/* Recherche et favoris sur la page boutique */
.boutique-outils { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px }
.boutique-outils .champ-recherche input { width: min(260px, 52vw) }
.puce-fav { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--trait); font-weight: 800; cursor: pointer; transition: background .3s var(--ressort) }
.puce-fav[aria-pressed="true"] { background: var(--rose-fort); color: #fff }
.puce-fav[aria-pressed="true"] svg { fill: currentColor }
.rayon-tete .btn { margin-left: auto }

/* Page « Toute la boutique » */
.tete-boutique { padding-block: 120px 30px }
.tete-boutique .wrap { display: grid; gap: 16px; justify-items: start }
.tete-boutique h1 { font-family: var(--display); font-size: clamp(3rem, 9vw, 7rem); line-height: .9 }
.rayons-onglets { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 74px); z-index: 15; display: flex; gap: 6px; width: max-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--trait), 0 14px 30px -20px rgba(62, 34, 50, .5) }
.rayons-onglets a { padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; transition: background .4s var(--ressort), color .4s var(--ressort) }
.rayons-onglets a b { font-size: .75rem; color: var(--ink-doux) }
.rayons-onglets a.actif { background: var(--accent); color: #fff }
.rayons-onglets a.actif b { color: rgba(255, 255, 255, .8) }
.rayon-liste { padding-block: 70px 40px; scroll-margin-top: 130px }
.rayon-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 30px }
.rayon-tete h2 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--accent); transition: color .8s var(--ressort) }
.rayon-tete span { font-weight: 800; color: var(--ink-doux) }
.rayon-tete p { flex-basis: 100%; color: var(--ink-doux) }

/* Une question ? WhatsApp (ou Instagram tant que le numéro manque) */
.fiche-question { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #E8F7EE; color: #1F5A37; font-size: .9rem; transition: transform .3s var(--ressort) }
.fiche-question:hover { transform: translateY(-2px) }
.fiche-question svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #25D366; color: #fff; stroke-width: 1.8 }
.fiche-question b { display: block; color: #14432A }
.bulle-question { position: fixed; z-index: 18; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 16px 34px -14px rgba(37, 211, 102, .9); transition: transform .4s var(--rebond) }
.bulle-question:hover { transform: scale(1.08) rotate(-6deg) }
.bulle-question svg { width: 28px; height: 28px; stroke-width: 1.8 }

/* Sections */
section { padding-block: clamp(72px, 10vw, 128px) }
.entete { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(32px, 5vw, 56px) }
.entete h2, .boutique h2 { font-family: var(--display); font-size: clamp(2.3rem, 5.4vw, 4.4rem); color: var(--ink) }
.boutique h2 { font-size: clamp(2rem, 3.8vw, 3.3rem) }
.entete-ligne { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap }
.entete-ligne > div { display: grid; gap: 14px; justify-items: start }

/* Apparition au défilement (le contenu reste visible sans JavaScript) */
.js .revele { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ressort), transform 1s var(--ressort), filter 1s var(--ressort) }
.js .revele.vu { opacity: 1; transform: none; filter: none }

/* ===== MATCHY ===== */
.matchy-grille { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center }
.matchy-texte { display: grid; gap: 22px; justify-items: start; min-width: 0 }
.titre-duo { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 .12em; font-family: var(--display); line-height: .85 }
.titre-duo .g { font-size: clamp(3.6rem, 7.2vw, 6.6rem); color: var(--rose-fort) }
.titre-duo .m { font-size: clamp(1.9rem, 3.6vw, 3.3rem); color: var(--bleu-fort); position: relative; padding-bottom: .08em }
.titre-duo .m svg { position: absolute; right: -.5em; top: -.55em; width: .62em; height: .62em; fill: var(--rose-fort); stroke: none; animation: bat 1.6s ease-in-out infinite }
@keyframes bat { 50% { transform: scale(1.2) rotate(8deg) } }
.matchy-lead { font-size: 1.1rem; max-width: 40ch; color: var(--ink-doux) }
.rail-duos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 12px; margin: 0 -4px; max-width: 100%; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent) }
.rail-duos::-webkit-scrollbar { display: none }
.duo-vign { flex: none; scroll-snap-align: start; display: flex; align-items: flex-end; gap: 2px; padding: 8px; border-radius: 20px; border: 0; background: #fff; cursor: pointer; box-shadow: 0 0 0 1px var(--trait); transition: transform .45s var(--ressort), box-shadow .45s var(--ressort) }
.duo-vign:hover { transform: translateY(-3px) }
.duo-vign[aria-selected="true"] { box-shadow: 0 0 0 2.5px var(--rose-fort), 0 16px 28px -16px rgba(208, 79, 123, .7) }
.duo-vign img { width: 48px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px }
.duo-vign img + img { width: 34px }
.rail-note { font-size: .85rem; color: var(--ink-doux); font-weight: 600 }

.scene-coeur { padding: clamp(18px, 3vw, 30px); display: grid; gap: 22px; background: linear-gradient(180deg, #fff, #FFF9FB) }
.scene { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 0; min-height: 300px }
.fig-mini { width: 78%; justify-self: start; margin-left: -14%; z-index: 1 }
.fig figcaption { font-family: var(--main); font-weight: 600; font-size: 1.15rem; line-height: 1; display: flex; gap: 10px; align-items: baseline }
.fig figcaption b { color: var(--rose-fort) }
.fil-coeur { position: absolute; left: 30%; right: 22%; top: 18%; height: 90px; pointer-events: none; z-index: 2; overflow: visible }
.fil-coeur path { fill: none; stroke: var(--rose-fort); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round }
.fil-coeur .c { fill: var(--rose-fort); stroke: none; transform-box: fill-box; transform-origin: center; animation: bat 1.6s ease-in-out infinite }
.sortie .fig { opacity: 0; transform: translateY(24px) scale(.94) }
.entree .fig-grand { animation: entreGrand .8s var(--rebond) both }
.entree .fig-mini { animation: entreGrand .8s var(--rebond) .08s both }
@keyframes entreGrand { from { opacity: 0; transform: translateY(30px) scale(.92) rotate(-2deg) } }
.duo-nom { position: absolute; top: 0; left: 0; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-fort); background: var(--bleu-pale); padding: 6px 12px; border-radius: 99px; z-index: 3 }
.scene-tailles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px }
.etiq { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-doux); margin-bottom: 8px }
.etiq b { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: .9rem; margin-left: 4px }
.puces { display: flex; flex-wrap: wrap; gap: 6px }
.puce { min-width: 44px; height: 40px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--lait); box-shadow: inset 0 0 0 1px var(--trait); font-weight: 700; font-size: .86rem; cursor: pointer; transition: background .3s var(--ressort), box-shadow .3s var(--ressort), transform .2s var(--ressort) }
.puce:hover { background: var(--rose-pale) }
.puce:active { transform: scale(.95) }
.puce[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none }

/* Bouton d'ajout tactile (inspiré du composant « Add to Cart Button » de 21st.dev) */
.btn-ajout { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; padding: 0 22px; border: 0; border-radius: 20px; background: var(--rose-fort); color: #fff; font-weight: 800; font-size: 1.02rem; cursor: pointer; box-shadow: 0 6px 0 #a83a62, 0 18px 30px -16px rgba(208, 79, 123, .9); transition: transform .18s var(--ressort), box-shadow .18s var(--ressort), background .35s var(--ressort); overflow: hidden }
.btn-ajout:hover { background: #c94875 }
.btn-ajout:active, .btn-ajout.enfonce { transform: translateY(5px); box-shadow: 0 1px 0 #a83a62, 0 8px 18px -12px rgba(208, 79, 123, .9) }
.btn-ajout .ba-ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transform: translateY(100%); transition: opacity .35s var(--ressort), transform .45s var(--ressort) }
.btn-ajout .ba-txt, .btn-ajout .ba-prix { transition: opacity .3s var(--ressort), transform .45s var(--ressort) }
.btn-ajout .ba-prix { padding: 6px 12px; border-radius: 12px; background: rgba(255, 255, 255, .2); font-variant-numeric: tabular-nums }
.btn-ajout.ok { background: var(--menthe-fort); box-shadow: 0 6px 0 #1f5a37, 0 18px 30px -16px rgba(47, 122, 78, .8) }
.btn-ajout.ok .ba-txt, .btn-ajout.ok .ba-prix { opacity: 0; transform: translateY(-120%) }
.btn-ajout.ok .ba-ok { opacity: 1; transform: none }
.btn-ajout svg { width: 22px; height: 22px; stroke-width: 2.4 }
.btn-ajout:disabled { background: #cfc3c9; box-shadow: 0 6px 0 #b3a5ac; cursor: not-allowed }

/* Cœurs qui s'envolent */
.eclat { position: fixed; z-index: 60; pointer-events: none; width: 18px; height: 18px; fill: var(--rose-fort); stroke: none; animation: envol .9s var(--ressort) forwards }
@keyframes envol { to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4) rotate(var(--rot)) } }
.vole { position: fixed; z-index: 60; pointer-events: none; border-radius: 16px; object-fit: cover; box-shadow: var(--ombre-haute) }

/* ===== CARTES PRODUIT ===== */
.grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px) }
.carte { position: relative; display: grid; gap: 12px; align-content: start; min-width: 0 }
.carte-cadre { position: relative; display: block; width: 100%; padding: 6px; border: 0; border-radius: 28px; background: rgba(62, 34, 50, .035); box-shadow: inset 0 0 0 1px rgba(62, 34, 50, .05); cursor: pointer; text-align: left }
.carte-photo { position: relative; display: grid; place-items: center; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: radial-gradient(70% 60% at 50% 45%, #fff, var(--teinte, var(--rose-pale))); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8) }
.carte[data-cat="filles"] { --teinte: #FBE1EB }
.carte[data-cat="garcons"] { --teinte: #DCECFB }
.carte[data-cat="matchy"] { --teinte: #FFEFD1 }
.carte-photo .ombre { position: relative; width: 82%; height: 82%; filter: drop-shadow(0 22px 18px rgba(62, 34, 50, .2)); transition: transform .8s var(--rebond) }
.carte:hover .carte-photo .ombre { transform: translateY(-10px) rotate(-2deg) scale(1.03) }
.carte-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ressort) }
.carte:hover .carte-photo > img { transform: scale(1.035) }
.carte:hover .badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2 }
.badges { position: absolute; left: 12px; top: 12px; right: 56px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 4 }
.badge { white-space: nowrap; padding: 5px 10px; border-radius: 99px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; background: #fff; color: var(--ink) }
.badge.duo { background: var(--bleu-fort); color: #fff }
.badge.epuise { background: var(--ink); color: #fff }
.carte .fav { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; background: rgba(255, 255, 255, .9) }
.fav svg { width: 20px; height: 20px }
.fav[aria-pressed="true"] svg { fill: var(--rose-fort); stroke: var(--rose-fort); animation: pop .5s var(--rebond) }
.ajout-rapide { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 16px; background: rgba(255, 255, 255, .92); font-weight: 800; font-size: .88rem; opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ressort), transform .45s var(--ressort) }
.ajout-rapide svg { width: 18px; height: 18px }
.carte:hover .ajout-rapide, .carte-cadre:focus-visible .ajout-rapide { opacity: 1; transform: none }
.carte-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 0 8px }
.carte-info b { font-weight: 700; font-size: .98rem; overflow-wrap: anywhere }
.carte-info .prix { font-weight: 800; font-variant-numeric: tabular-nums }
.carte-info small { grid-column: 1 / -1; color: var(--ink-doux); font-size: .82rem }

/* Outils du catalogue */
.outils { display: flex; justify-content: space-between; align-items: center; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 30px }
.filtres { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border-radius: 999px; background: rgba(62, 34, 50, .04); box-shadow: inset 0 0 0 1px var(--trait) }
.filtres button { border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: background .4s var(--ressort), color .4s var(--ressort) }
.filtres button i { font-style: normal; font-size: .75rem; color: var(--ink-doux); font-variant-numeric: tabular-nums }
.filtres button[aria-selected="true"] { background: #fff; color: var(--rose-fort); box-shadow: 0 6px 16px -10px rgba(62, 34, 50, .4) }
.outils-droite { display: flex; gap: 10px; flex-wrap: wrap }
.champ-recherche { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--trait) }
.champ-recherche input { border: 0; outline: 0; background: transparent; font: inherit; width: 180px }
.champ-recherche:focus-within { box-shadow: inset 0 0 0 2px var(--bleu-fort) }
.tri { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--trait); font-size: .85rem; font-weight: 700; color: var(--ink-doux) }
.tri select { border: 0; background: transparent; font: inherit; color: var(--ink); font-weight: 700; padding: 8px; cursor: pointer }
.vide { text-align: center; padding: 40px; color: var(--ink-doux); font-weight: 600 }
.plus-zone { display: grid; justify-items: center; gap: 10px; margin-top: 44px }
.compteur { font-size: .85rem; color: var(--ink-doux); font-weight: 600 }

/* ===== RETRAIT ===== */
.retrait-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px) }
.retrait-carte { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-content: start; height: 100% }
.retrait .coque { height: 100% }
.r-rose { background: linear-gradient(160deg, #fff 30%, var(--rose-pale)) }
.r-bleu { background: linear-gradient(160deg, #fff 30%, var(--bleu-pale)) }
.gros-ico { width: 56px; height: 56px; padding: 13px; border-radius: 18px; background: var(--rose-fort); color: #fff }
.r-bleu .gros-ico { background: var(--bleu-fort) }
.retrait-carte h3 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem) }
.etapes { margin: 0; padding: 0; list-style: none; counter-reset: e; display: grid; gap: 12px }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-doux) }
.etapes li::before { content: counter(e); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--trait); font-weight: 800; color: var(--ink) }
.prix-gros { font-family: var(--display); font-size: 1.6rem; color: var(--rose-fort); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline }
.r-bleu .prix-gros { font-family: var(--body); font-size: 1rem; color: var(--ink); font-weight: 600 }
.r-bleu .prix-gros b { font-weight: 800; color: var(--bleu-fort) }
.r-bleu .offert { padding: 5px 12px; border-radius: 99px; background: var(--menthe); color: var(--menthe-fort); font-weight: 800 }

/* ===== BOUTIQUE ===== */
.boutique { background: linear-gradient(180deg, var(--lait), var(--vanille)) }
.boutique-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center }
.boutique-visuel { transform: rotate(-1.5deg) }
.boutique-visuel img { width: 100%; aspect-ratio: 1312 / 1199; object-fit: cover }
.boutique-texte { display: grid; gap: 22px; justify-items: start }
.horaires { margin: 0; display: grid; gap: 8px; width: 100%; max-width: 380px }
.horaires div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 8px; border-bottom: 1px dashed rgba(62, 34, 50, .15) }
.horaires dt { color: var(--ink-doux) }
.horaires dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums }

/* ===== PIED ===== */
.pied { background: var(--ink); color: #F7E9EF; padding-block: 64px 28px }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 40px; align-items: start }
.logo-pied { font-size: 1.9rem }
.logo-pied i { text-shadow: none }
.pied-txt { margin-top: 10px; color: #CDB7C2; max-width: 30ch }
.news label { display: block; font-weight: 700; margin-bottom: 10px }
.news-champ { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08) }
.news-champ input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; padding: 0 16px }
.news-champ input::placeholder { color: #B8A1AD }
.news-ok { margin-top: 10px; color: var(--menthe) }
.pied-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 600 }
.pied-liens a:hover { color: var(--rose) }
.demo { margin-top: 48px; font-size: .8rem; color: #A88F9C }

/* ===== FENÊTRES ===== */
.voile { position: fixed; inset: 0; z-index: 40; background: rgba(62, 34, 50, .32); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fondu .4s var(--ressort) }
@keyframes fondu { from { opacity: 0 } }
.fermer { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--trait); display: grid; place-items: center; cursor: pointer; transition: transform .35s var(--ressort) }
.fermer:hover { transform: rotate(90deg) }

.fiche { position: fixed; z-index: 41; left: 50%; top: 50%; width: min(980px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow: auto; transform: translate(-50%, -50%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 34px; background: #fff; box-shadow: 0 50px 100px -40px rgba(62, 34, 50, .6); animation: ficheEntre .6s var(--ressort) }
@keyframes ficheEntre { from { opacity: 0; transform: translate(-50%, -46%) scale(.97) } }
.fiche-galerie { padding: 14px; display: grid; gap: 10px; align-content: start; background: var(--lait) }
.fiche-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: radial-gradient(70% 60% at 50% 45%, #fff, var(--teinte, var(--rose-pale))); display: grid; place-items: center }
.fiche-photo > img { width: 100%; height: 100%; object-fit: cover; animation: fondu .5s var(--ressort) }
.fiche-photo .ombre { width: 84%; height: 84%; filter: drop-shadow(0 26px 22px rgba(62, 34, 50, .22)); animation: fondu .5s var(--ressort) }
.fiche-vignettes { display: flex; gap: 8px }
.fiche-vignettes button { width: 64px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; opacity: .6; box-shadow: 0 0 0 1px var(--trait); transition: opacity .3s }
.fiche-vignettes button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ink) }
.fiche-vignettes img { aspect-ratio: 4 / 5; object-fit: cover; width: 100% }
.fiche-infos { padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; align-content: start }
.fiche-rayon { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-fort) }
.fiche-infos h3 { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); padding-right: 40px }
.fiche-prix { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums }
.fiche-desc { color: var(--ink-doux) }
.fiche-achat { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center }
.qte { display: flex; align-items: center; height: 58px; border-radius: 20px; background: var(--lait); box-shadow: inset 0 0 0 1px var(--trait) }
.qte button { width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center }
.qte output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums }
.fiche-achat .fav { width: 58px; height: 58px; border-radius: 20px; background: var(--rose-pale) }
.fiche-alerte { color: var(--rose-fort); font-weight: 700; font-size: .9rem; min-height: 1.2em }
.fiche-retrait { list-style: none; margin: 0; padding: 16px; border-radius: 20px; background: var(--lait); display: grid; gap: 10px; font-size: .9rem }
.fiche-retrait li { display: flex; gap: 10px; align-items: center }
.fiche-retrait svg { color: var(--rose-fort) }
.fiche-duo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: var(--bleu-pale) }
.fiche-duo img { width: 56px; border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover }
.fiche-duo b { display: block }
.fiche-duo button { margin-top: 6px; border: 0; background: none; padding: 0; color: var(--bleu-fort); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px }

.panier { position: fixed; z-index: 41; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100vw - 20px)); border-radius: 30px; background: #fff; display: flex; flex-direction: column; box-shadow: 0 40px 90px -30px rgba(62, 34, 50, .55); animation: glisse .55s var(--ressort); overflow: hidden }
@keyframes glisse { from { transform: translateX(110%) } }
.panier-tete { padding: 22px 22px 10px; position: relative }
.panier-tete h3 { font-family: var(--display); font-size: 1.8rem }
.panier-tete h3 span { font-family: var(--body); font-size: .95rem; color: var(--ink-doux); font-weight: 700 }
.panier-tete .fermer { top: 16px }
.jauge { margin: 0 22px 8px; padding: 12px 14px; border-radius: 16px; background: var(--bleu-pale); font-size: .85rem; font-weight: 700; display: grid; gap: 8px }
.jauge-barre { height: 6px; border-radius: 9px; background: #fff; overflow: hidden }
.jauge-barre i { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--bleu-fort); transition: width .8s var(--ressort) }
.jauge.atteinte { background: var(--menthe); color: var(--menthe-fort) }
.jauge.atteinte .jauge-barre i { background: var(--menthe-fort) }
.panier-liste { list-style: none; margin: 0; padding: 6px 22px; overflow-y: auto; flex: 1; display: grid; gap: 14px; align-content: start }
.ligne-p { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; animation: arrive .5s var(--ressort) }
.ligne-p img { width: 70px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px }
.ligne-p b { display: block; font-size: .95rem }
.ligne-p small { color: var(--ink-doux); font-size: .8rem; display: block }
.ligne-p .qte { height: 36px; border-radius: 12px; margin-top: 6px; width: max-content }
.ligne-p .qte button { width: 32px }
.ligne-p .qte svg { width: 16px; height: 16px }
.ligne-p .droite { display: grid; justify-items: end; gap: 8px; font-weight: 800; font-variant-numeric: tabular-nums }
.retirer { border: 0; background: none; color: var(--ink-doux); font-size: .78rem; text-decoration: underline; cursor: pointer; padding: 0; font-weight: 600 }
.panier-vide { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 30px; text-align: center; color: var(--ink-doux); font-weight: 600 }
.panier-vide svg { width: 64px; height: 64px; color: var(--rose) }
.panier-pied { padding: 16px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--trait); display: grid; gap: 14px; background: var(--lait) }
.modes { border: 0; margin: 0; padding: 0; display: grid; gap: 8px }
.modes legend { font-weight: 800; font-size: .85rem; margin-bottom: 8px; padding: 0 }
.mode { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--trait); cursor: pointer; transition: box-shadow .3s var(--ressort) }
.mode input { position: absolute; opacity: 0; pointer-events: none }
.mode:has(input:checked) { box-shadow: inset 0 0 0 2px var(--rose-fort) }
.mode:has(input:focus-visible) { outline: 2.5px solid var(--bleu-fort); outline-offset: 2px }
.mode svg { color: var(--rose-fort) }
.mode b { display: block; font-size: .9rem }
.mode em { font-style: normal; color: var(--ink-doux); font-size: .78rem }
.mode strong { font-size: .88rem; font-variant-numeric: tabular-nums }
.totaux { margin: 0; display: grid; gap: 6px }
.totaux div { display: flex; justify-content: space-between; font-size: .92rem }
.totaux dt { color: var(--ink-doux) }
.totaux dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums }
.totaux .total { font-size: 1.15rem; padding-top: 6px; border-top: 1px dashed rgba(62, 34, 50, .15) }
.totaux .total dt { color: var(--ink); font-weight: 800 }
.totaux .total dd { font-weight: 800 }

.commande { position: fixed; inset: 0; z-index: 50; background: var(--lait); overflow-y: auto; animation: fondu .4s var(--ressort) }
.commande-tete { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; position: relative }
.commande-tete .fermer { position: static }
.commande-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); padding-bottom: 60px; align-items: start }
.commande-form { display: grid; gap: 22px }
.commande-form h3 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem) }
.commande-form fieldset { border: 0; margin: 0; padding: 22px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--trait); display: grid; gap: 14px }
.commande-form legend { font-weight: 800; padding: 0; float: left; width: 100%; margin-bottom: 4px }
.commande-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink-doux) }
.commande-form input:not([type="radio"]) { height: 50px; border-radius: 14px; border: 0; background: var(--lait); box-shadow: inset 0 0 0 1px var(--trait); padding: 0 14px; font: inherit; color: var(--ink) }
.commande-form input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--bleu-fort) }
.commande-form input.manque { box-shadow: inset 0 0 0 2px var(--rose-fort) }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.encart-collect { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border-radius: 22px; background: var(--rose-pale) }
.encart-collect svg { width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: var(--rose-fort); color: #fff }
.encart-collect b { display: block }
.paiement-carte { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border-radius: 22px; background: var(--lait); box-shadow: inset 0 0 0 1px var(--trait) }
.paiement-carte svg { width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: var(--ink); color: #fff }
.paiement-carte b { display: block }
.paiement-carte p { font-size: .9rem; color: var(--ink-doux) }
.paiement-carte p b { color: var(--ink); font-size: 1rem }
.bloc-carte { margin-top: 14px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 2px var(--ink) }
.bloc-carte-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px }
@media (max-width: 600px) { .bloc-carte { padding: 12px 6px } .bloc-carte-tete { padding: 0 8px } }
.lien { background: none; border: 0; padding: 4px 0; color: var(--rose-fort); font-weight: 700; text-decoration: underline; cursor: pointer }
.note-demo { font-size: .82rem; color: var(--ink-doux) }
.erreur { color: var(--rose-fort); font-weight: 700 }
.recap { position: sticky; top: 20px; padding: 24px; border-radius: 26px; background: #fff; box-shadow: var(--ombre); display: grid; gap: 16px }
.recap h4 { font-family: var(--display); font-size: 1.5rem }
.recap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px }
.recap li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .9rem }
.recap li img { width: 52px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px }
.recap li small { display: block; color: var(--ink-doux) }
.recap li span:last-child { font-weight: 800; font-variant-numeric: tabular-nums }
.merci { min-height: 70dvh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding-block: 40px }
.merci-coeur { width: 110px; height: 110px; border-radius: 50%; background: var(--rose-pale); display: grid; place-items: center; animation: pop .8s var(--rebond) }
.merci-coeur svg { width: 56px; height: 56px; fill: var(--rose-fort); stroke: none; animation: bat 1.6s ease-in-out infinite }
.merci h3 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4rem) }
.merci p { max-width: 46ch; color: var(--ink-doux); font-size: 1.05rem }
.merci-num { font-weight: 800; color: var(--ink) !important; font-variant-numeric: tabular-nums }

.toast { position: fixed; z-index: 45; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: 0 20px 40px -20px rgba(62, 34, 50, .8); animation: toast .5s var(--rebond) }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 20px) } }
.toast button { border: 0; border-radius: 999px; padding: 9px 14px; background: var(--rose); color: var(--ink); font-weight: 800; cursor: pointer }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .nav-liens a { padding: 9px 10px }
}
@media (max-width: 960px) {
  .nav-liens { display: none }
  .burger { display: block }
  .matchy-grille, .boutique-grille, .commande-grille { grid-template-columns: minmax(0, 1fr) }
  .recap { position: static; order: -1 }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
  .nav { padding-left: 16px }
  .logo { font-size: 1.3rem }
  .nav-actions { gap: 0 }
  #btnRecherche { display: none }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
  .carte-cadre { border-radius: 22px; padding: 4px }
  .carte-photo { border-radius: 18px }
  .carte .fav { width: 36px; height: 36px; right: 10px; top: 10px }
  .badges { left: 8px; top: 8px; right: 50px }
  .badge { font-size: .6rem; padding: 4px 8px; letter-spacing: .02em }
  .ajout-rapide { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; width: 40px; min-height: 40px; border-radius: 50%; padding: 0 }
  .ajout-rapide span { display: none }
  .carte-info { padding: 0 4px; grid-template-columns: minmax(0, 1fr) }
  .carte-info b { font-size: .9rem }
  .retrait-grille { grid-template-columns: minmax(0, 1fr) }
  .scene-tailles { grid-template-columns: minmax(0, 1fr) }
  .scene { min-height: 0 }
  .fil-coeur { display: none }
  .fig figcaption { font-size: 1rem; gap: 6px }
  .outils { flex-direction: column; align-items: stretch }
  .filtres { border-radius: 22px }
  .filtres button { padding: 9px 12px; font-size: .86rem }
  .outils-droite { display: grid; grid-template-columns: minmax(0, 1fr) auto }
  .champ-recherche input { width: 100% }
  .boutique-visuel { transform: none }
  .pied-grille { grid-template-columns: minmax(0, 1fr) }
  .fiche { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92dvh; transform: none; grid-template-columns: minmax(0, 1fr); border-radius: 30px 30px 0 0; animation: monteFiche .55s var(--ressort) }
  @keyframes monteFiche { from { transform: translateY(100%) } }
  .fiche-galerie { padding: 10px }
  .fiche-photo { aspect-ratio: 1 }
  .fiche-infos { padding: 20px 18px calc(24px + env(safe-area-inset-bottom, 0px)) }
  .panier { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92dvh; border-radius: 28px 28px 0 0; animation: monteFiche .55s var(--ressort) }
  .champs-2 { grid-template-columns: minmax(0, 1fr) }
  }
@media (max-width: 899px) {
  .article-grille { grid-template-columns: minmax(0, 1fr) }
  .sem-carte { grid-template-columns: minmax(0, 1fr); padding-top: 0 }
  .sem-photo { order: -1; min-height: 260px }
  .sem-photo .ombre { top: -22%; bottom: 0 }
  .semaine { padding-top: 130px }
  .recit { height: 460svh }
  .recit-titre { top: 15svh }
  .famille { height: auto; width: min(96vw, 520px) }
  .legende, .l-maman, .l-papa { left: 16px; right: 16px; width: auto; top: 12svh; margin: 0 }
  .l-famille { left: 16px; width: auto; margin: 0; right: 16px }
  .legende h2 { font-size: clamp(2.4rem, 12vw, 3.4rem) }
  .legende-duo .ombre { width: 80px; height: 96px } .legende-duo .ombre + .ombre { width: 56px; height: 68px }
  .legende-piste .legende-duo { width: 160px; height: 168px; overflow: hidden; align-content: center }
  .legende-piste .legende-duo b { display: block; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
  .l-maman > p:not(.main-ecrite) { font-size: .95rem }
  .legende-duo { flex-wrap: wrap; justify-content: center; padding: 10px 8px; gap: 2px }
  .legende-duo .ombre { width: 62px; height: 74px } .legende-duo .ombre + .ombre { width: 44px; height: 54px }
  .legende-duo div { margin: 4px 0 0; width: 100%; justify-items: center; text-align: center }
  .legende-duo div span { display: none }
  .legende-duo button { padding: 7px 10px; font-size: .76rem }
  .marcheur { height: 30svh; bottom: auto; top: 0 }
  .univers-collant { padding-top: 32svh }
  .univers-collant { padding-block: 70px 30px }
  .piste { width: auto; display: grid; padding: 0; gap: 26px }
  .intro { width: auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)) }
  .intro-illu { position: static; width: 170px; justify-self: end; margin-top: -40px; transform: rotate(4deg) }
  .piste-items { padding: 10px max(16px, env(safe-area-inset-left, 0px)) 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px }
  .piste-items::-webkit-scrollbar { display: none }
  .flotte { width: min(66vw, 300px); scroll-snap-align: center }
  .flotte.duo { width: min(80vw, 380px) }
  .flotte-voir { opacity: 1; transform: none }
  .fin-piste { width: auto; height: auto; margin: 0 max(16px, env(safe-area-inset-left, 0px)); border-radius: 26px; padding: 18px; grid-auto-flow: column; gap: 12px; align-items: center }
  .fin-piste b { font-size: 2.4rem }
  .fin-piste svg { margin: 0 }
  .hero { min-height: 0; padding-block: 150px 150px }
  .fl { left: var(--xm); top: var(--ym); width: 23vw }
  .fl.loin { width: 14vw }
  .fl.tel-cache { display: none }
  .descendre { bottom: 8px }
}
@media (prefers-reduced-motion: reduce) {
  .rideau { display: none }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important }
  .souligne path { stroke-dashoffset: 0 }
  html { scroll-behavior: auto }
}
/* Taille épuisée (stock de Joy à 0) */
.puce.epuisee { opacity: .45; text-decoration: line-through; cursor: not-allowed }
