/* Pao — accueil global : héros, univers, boutique filtrable */

.mhero { padding: 32px 0 40px; }
.mhero__grid { display: grid; gap: 28px; align-items: center; }
.mhero__pic { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.mhero .hero__sub { margin: 16px 0 24px; max-width: 34em; color: var(--ink-2); }
@media (min-width: 900px) {
  .mhero { padding: 56px 0 64px; }
  .mhero__grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .mhero__pic { aspect-ratio: 5 / 4; }
}

/* Univers */
.univers { display: grid; gap: 10px; }
@media (min-width: 700px) { .univers { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.univers__card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--r);
  background: var(--tone); color: #fff; text-decoration: none;
  transition: transform .25s var(--ease);
}
.univers__card:hover { transform: translateY(-2px); }
.univers__zh { font-family: var(--f-seal); font-size: 34px; line-height: 1; color: var(--gold-light); min-width: 1.6em; }
.univers__card strong { display: block; font-family: var(--f-label); font-weight: 500; font-size: 16px; }
.univers__card em { font-style: normal; font-size: 13px; opacity: .8; }

/* Boutique */
.shop__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: none; }
.chip {
  flex: none; border: 1px solid var(--hair); background: #fff; border-radius: 999px;
  padding: 9px 16px; font-family: var(--f-label); font-size: 14px; white-space: nowrap;
}
.chip span { font-family: var(--f-zh); color: var(--rust); margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: var(--gold-light); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; } }
.card { display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden;
  display: grid; place-items: center; background: var(--tone, var(--surface)); text-decoration: none;
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__zh { font-family: var(--f-seal); font-size: clamp(44px, 9vw, 72px); color: rgba(255,255,255,.88); }
.card__tag { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-family: var(--f-label); }
.card__body { padding-top: 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card__cat { font-size: 12px; color: var(--ink-2); }
.card__name { font-family: var(--f-label); font-weight: 500; font-size: 15px; line-height: 1.3; }
.card__meta { font-size: 13px; color: var(--ink-2); }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__price { font-weight: 600; font-family: var(--f-label); }
.card__add { border: 1px solid var(--ink); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-family: var(--f-label); }
.card__add:hover { background: var(--ink); color: #fff; }
.shop__note { margin-top: 32px; font-size: 13px; color: var(--ink-2); }

/* Histoire */
.story { background: var(--surface); }
.story.section { display: block; }
.story__grid { display: grid; gap: 28px; align-items: center; }
.story__pic { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.story__text p { margin-top: 14px; max-width: 36em; }
.story__text .link-arrow { display: inline-block; margin-top: 22px; }
@media (min-width: 900px) { .story__grid { grid-template-columns: .9fr 1fr; gap: 72px; } }

/* Hero slider accueil : bain de pieds ⇄ thés */
.hslider { position: relative; overflow: hidden; }
.hslider__track { display: flex; transition: transform .9s cubic-bezier(.65,0,.25,1); }
.hslider__slide { flex: 0 0 100%; min-width: 0; }
.hslider__slide .hero__text > * { transition: opacity .6s .35s, transform .6s .35s; }
.hslider__slide[aria-hidden="true"] .hero__text > * { opacity: 0; transform: translateY(12px); transition-delay: 0s; }
.hslider__dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; }
.hslider__dot { width: 32px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(28,24,20,.25); cursor: pointer; position: relative; overflow: hidden; }
.hslider__dot::before { content: ""; position: absolute; inset: -10px 0; }
.hslider__dot::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); }
.hslider__dot[aria-current="true"]::after { animation: hsl-progress var(--hsl-ms, 6500ms) linear forwards; }
.hslider.is-paused .hslider__dot::after { animation-play-state: paused; }
@keyframes hsl-progress { to { width: 100%; } }
.hslider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .3s, background .2s; z-index: 2; }
.hslider__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hslider__arrow:hover { background: #fff; }
.hslider__arrow--prev { left: 20px; } .hslider__arrow--next { right: 20px; }
.hslider:hover .hslider__arrow, .hslider__arrow:focus-visible { opacity: 1; }
@media (hover: none) { .hslider__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .hslider__track, .hslider__slide .hero__text > * { transition: none; } .hslider__dot[aria-current="true"]::after { animation: none; width: 100%; } }
