/* ==========================================================================
   Melia Café — V2 « Olivier & lin » — la carte digitale
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--linen); padding-bottom: env(safe-area-inset-bottom); }
main { max-width: 760px; margin: 0 auto; }

/* Barre du haut ---------------------------------------------------------- */
.c-top {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 60px; padding: 0 14px; padding-top: env(safe-area-inset-top);
  background: rgba(243, 238, 227, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.c-top__brand { color: var(--olive); width: 44px; justify-self: start; }
.c-top__brand svg { width: 100%; height: auto; }
.c-top__title { font-family: var(--serif); font-size: 18px; letter-spacing: -.01em; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.is-scrolled .c-top__title { opacity: 1; transform: none; }
.c-top__book {
  justify-self: end; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px; border-radius: 12px; background: var(--olive); color: var(--paper);
  text-decoration: none; font-size: 14px; font-weight: 600;
}
.c-top__book svg { width: 16px; height: 16px; }

/* Accueil ---------------------------------------------------------------- */
.c-hero { padding: 22px 18px 6px; }
.c-hero__eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.c-hero__eyebrow > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.c-hero__eyebrow > span:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.c-hero__eyebrow .status { padding: 6px 11px; border-radius: 100px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; }
.c-hero__title {
  margin: 14px 0 0; font-family: var(--serif); font-weight: 300; font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(2.7rem, 12vw, 4rem); line-height: .95; letter-spacing: -.04em;
  animation: rise .9s var(--ease) both;
}
.c-hero__title em { color: var(--olive); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.moment-card { margin-top: 22px; border-radius: 26px; overflow: hidden; background: var(--olive); color: var(--paper); animation: rise .9s .1s var(--ease) both; }
.moment-card__head { padding: 20px 20px 2px; }
.moment-card__k { display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(251, 248, 241, .14); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.moment-card h2 { margin: 10px 0 0; font-family: var(--serif); font-weight: 350; font-size: 1.85rem; line-height: 1.05; letter-spacing: -.02em; }
.moment-card p { margin: 4px 0 0; color: rgba(251, 248, 241, .75); font-size: 14.5px; }
.moment-card__picks { list-style: none; margin: 0; padding: 14px 20px 20px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.moment-card__picks::-webkit-scrollbar { display: none; }
.moment-card__picks li { flex: 0 0 auto; scroll-snap-align: start; }
.moment-card__picks button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  min-width: 150px; max-width: 190px; padding: 12px 8px 12px; border-radius: 18px;
  background: var(--paper); border: 0; color: var(--text);
}
.moment-card__picks button:active { transform: scale(.98); }
.moment-card__picks b { padding: 0 6px; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; line-height: 1.15; letter-spacing: -.01em; }
.moment-card__picks em { padding: 0 6px; font-style: normal; font-weight: 600; font-size: 13.5px; color: var(--olive); }
.moment-card__picks .thumb { width: 100%; height: 90px; border-radius: 12px; object-fit: cover; margin-bottom: 8px; }

/* Outils ----------------------------------------------------------------- */
.c-tools { padding: 18px 18px 4px; }
.c-search { position: relative; display: block; }
.c-search > svg { position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.c-search input {
  width: 100%; height: 52px; padding: 0 46px; border-radius: 16px;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--text);
  font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .3s;
}
.c-search input::-webkit-search-cancel-button { display: none; }
.c-search input::placeholder { color: #a79b88; }
.c-search input:focus { border-color: var(--olive-2); }
.c-search__clear { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 11px; border: 0; background: var(--linen-2); color: var(--text); display: grid; place-items: center; }
.c-search__clear[hidden] { display: none; }
.c-search__clear svg { width: 15px; height: 15px; }
.c-filters { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.c-filters::-webkit-scrollbar { display: none; }
.c-filter { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font-size: 14px; font-weight: 500; transition: all .3s var(--ease); }
.c-filter svg { width: 16px; height: 16px; color: var(--olive); }
.c-filter[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--paper); }
.c-filter[aria-pressed="true"] svg { color: var(--gold-2); }

/* Navigation des rubriques --------------------------------------------- */
.c-nav { position: sticky; top: calc(60px + env(safe-area-inset-top)); z-index: 30; margin-top: 12px; background: rgba(243, 238, 227, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.c-nav__track { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 14px 10px; overscroll-behavior-x: contain; }
.c-nav__track::-webkit-scrollbar { display: none; }
.c-nav a { flex: none; display: flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 12px; text-decoration: none; white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .3s, background .3s; }
.c-nav a.is-active { color: var(--paper); background: var(--espresso); }
.c-nav a[hidden] { display: none; }

/* Rubriques -------------------------------------------------------------- */
.c-cat { padding: 36px 18px 8px; scroll-margin-top: 118px; }
.c-cat[hidden] { display: none; }
.c-cat__banner { position: relative; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 42%; align-items: end; gap: 16px; }
.c-cat__banner img { grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 40px -24px rgba(35, 30, 24, .55); }
.c-cat__banner figcaption { grid-column: 1; grid-row: 1; padding-bottom: 6px; }
.c-cat__k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.c-cat__title { margin: 6px 0 0; font-family: var(--serif); font-weight: 300; font-variation-settings: "SOFT" 100, "opsz" 144; font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: .95; letter-spacing: -.04em; word-spacing: .1em; color: var(--text); }
.c-cat__head--plain { padding: 0 0 6px; margin-bottom: 6px; }

.c-group { margin-top: 18px; padding: 6px 16px 4px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.c-group[hidden] { display: none; }
.c-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.c-group__head:has(.c-group__title:empty):not(:has(.c-group__cols)):not(:has(.c-group__note)) { display: none; }
.c-group__title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 350; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.01em; color: var(--olive); }
.c-group__note { display: block; margin-top: 3px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.c-group__cols { display: flex; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-right: 46px; }
.c-group__cols span { width: 76px; text-align: right; }
.c-group__aside { margin: 12px 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--linen); font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--olive); }

.it { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; column-gap: 10px; row-gap: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.it:last-child { border-bottom: 0; }
.it[hidden] { display: none; }
.it--photo { grid-template-columns: 60px 1fr auto auto; }
.it__thumb { grid-row: 1 / span 2; align-self: start; width: 60px; height: 60px; border-radius: 16px; overflow: hidden; padding: 0; border: 0; background: var(--linen-2); }
.it__thumb img { width: 100%; height: 100%; object-fit: cover; }
.it__main { min-width: 0; }
.it__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.015em; }
.it__name small { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-left: 6px; letter-spacing: 0; white-space: nowrap; }
.it__tags { display: inline-flex; gap: 4px; vertical-align: 2px; margin-left: 6px; }
.it__tag { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; }
.it__tag svg { width: 13px; height: 13px; }
.it__tag--sig { background: rgba(180, 138, 74, .16); color: var(--gold); }
.it__tag--v { background: rgba(111, 154, 85, .15); color: var(--ok); }
.it__desc { grid-column: 1 / -1; margin: 5px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.it--photo .it__desc { grid-column: 2 / -1; }
.it__price { display: flex; font-weight: 600; font-size: 15px; color: var(--text); white-space: nowrap; }
.it__price span { width: 76px; text-align: right; }
.it__price--single span { width: auto; }
.it__add { width: 36px; height: 36px; border-radius: 11px; border: 0; background: var(--linen-2); color: var(--text); display: grid; place-items: center; transition: background .3s, color .3s, transform .2s; }
.it__add svg { width: 17px; height: 17px; }
.it__add:active { transform: scale(.9); }
.it__add.is-in { background: var(--olive); color: var(--paper); }
.it__qty { position: absolute; right: -6px; top: 6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 7px; background: var(--gold); color: var(--paper); font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.it.is-flash { animation: flash 1.8s var(--ease); }
@keyframes flash { 0%, 30% { background: rgba(180, 138, 74, .15); box-shadow: 0 0 0 10px rgba(180, 138, 74, .15); border-radius: 8px; } 100% { background: transparent; box-shadow: 0 0 0 10px transparent; } }

.c-compact { list-style: none; margin: 0; padding: 6px 0 8px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
.c-compact li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.c-compact li[hidden] { display: none; }
.c-compact em { font-style: normal; font-weight: 600; white-space: nowrap; }
@media (max-width: 420px) { .c-compact { grid-template-columns: 1fr; } }

.c-empty { text-align: center; padding: 50px 20px; color: var(--muted); font-family: var(--serif); font-size: 1.3rem; }
.c-empty button { margin-top: 14px; border: 0; background: var(--espresso); color: var(--paper); border-radius: 12px; padding: 11px 18px; font-family: var(--sans); font-weight: 600; font-size: 14px; }
mark { background: rgba(180, 138, 74, .28); color: inherit; border-radius: 4px; padding: 0 1px; }

/* Pied ------------------------------------------------------------------- */
.c-foot { margin: 40px 12px 0; padding: 46px 20px 110px; text-align: center; border-radius: 30px 30px 0 0; background: var(--espresso); color: var(--linen); }
.c-foot__m { width: 110px; margin: 0 auto; color: var(--gold-2); }
.c-foot__lead { margin: 16px 0 0; font-family: var(--serif); font-weight: 300; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.02em; }
.c-foot__lead em { color: var(--gold-2); }
.c-foot__cta { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 24px auto 0; }
.c-foot__cta .btn--ghost { --fg: var(--linen); border-color: rgba(243, 238, 227, .3); }
.c-foot__cta .btn--ghost:hover { --bg: rgba(243, 238, 227, .08); }
.c-foot__notes { list-style: none; padding: 0; margin: 32px auto 0; max-width: 520px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--muted-l); line-height: 1.5; }
.c-foot__bottom { margin: 24px 0 0; font-size: 12.5px; color: var(--muted-l); }
.c-foot__bottom a { color: inherit; }

/* Barre sélection -------------------------------------------------------- */
.sel-bar { position: fixed; left: 0; right: 0; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; animation: barIn .6s var(--ease); }
.sel-bar[hidden] { display: none; }
@keyframes barIn { from { transform: translateY(140%); } }
.sel-bar__btn { pointer-events: auto; width: 100%; max-width: 520px; height: 60px; padding: 0 8px; border-radius: 20px; border: 0; display: flex; align-items: center; gap: 12px; background: var(--espresso); color: var(--linen); box-shadow: 0 18px 40px -14px rgba(35, 30, 24, .6); }
.sel-bar__count { width: 44px; height: 44px; border-radius: 14px; background: var(--olive); display: grid; place-items: center; font-weight: 600; }
.sel-bar__label { flex: 1; text-align: left; font-size: 15px; font-weight: 600; }
.sel-bar__total { padding-right: 14px; font-weight: 600; font-size: 16px; color: var(--gold-2); }
.sel-bar.is-bump .sel-bar__count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.2); } }

/* Feuilles modales ------------------------------------------------------- */
.sheet, .pick { position: fixed; inset: 0; z-index: 80; }
.sheet[hidden], .pick[hidden], .lightbox[hidden] { display: none; }
.sheet__backdrop, .pick__backdrop { position: absolute; inset: 0; background: rgba(35, 30, 24, .45); animation: fade .35s both; }
@keyframes fade { from { opacity: 0; } }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 620px; margin: 0 auto; max-height: 86vh; max-height: 86dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--text); border-radius: 30px 30px 0 0; padding: 10px 22px calc(20px + env(safe-area-inset-bottom)); animation: up .5s var(--ease) both; }
@keyframes up { from { transform: translateY(100%); } }
.sheet__grip { width: 44px; height: 5px; border-radius: 5px; background: var(--linen-2); margin: 0 auto 12px; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; }
.sheet__k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sheet__head h2 { margin: 2px 0 0; font-family: var(--serif); font-weight: 350; font-size: 2.1rem; line-height: 1.05; letter-spacing: -.03em; }
.sheet__close { width: 42px; height: 42px; border-radius: 13px; border: 0; background: var(--linen); color: var(--text); display: grid; place-items: center; }
.sheet__close svg { width: 16px; height: 16px; }
.sheet__hint { margin: 10px 0 6px; font-size: 14px; color: var(--muted); }
.sheet__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.sheet__list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet__list b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.2; }
.sheet__list small { display: block; font-size: 13px; color: var(--muted); }
.sheet__qty { display: flex; align-items: center; gap: 8px; }
.sheet__qty button { width: 34px; height: 34px; border-radius: 11px; border: 0; background: var(--linen); color: var(--text); display: grid; place-items: center; }
.sheet__qty button svg { width: 14px; height: 14px; }
.sheet__qty span { min-width: 18px; text-align: center; font-weight: 600; }
.sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.sheet__clear { border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: 14px; padding: 8px 0; }
.sheet__sum { text-align: right; }
.sheet__sum span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sheet__sum b { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--olive); }

.pick__panel { position: absolute; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 460px; margin: 0 auto; background: var(--paper); color: var(--text); border-radius: 26px; padding: 22px; animation: up .45s var(--ease) both; }
.pick__panel h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 350; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.02em; }
.pick__opts { display: grid; gap: 8px; }
.pick__opts button { display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--linen); color: var(--text); font-size: 15px; font-weight: 500; }
.pick__opts button em { font-style: normal; font-weight: 600; color: var(--olive); }
.pick__cancel { width: 100%; margin-top: 10px; height: 46px; border: 0; background: none; color: var(--muted); font-size: 14px; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(35, 30, 24, .92); display: grid; place-items: center; padding: 20px; animation: fade .3s both; color: var(--linen); }
.lightbox figure { margin: 0; max-width: 560px; width: 100%; }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 22px; }
.lightbox figcaption { margin-top: 12px; text-align: center; font-family: var(--serif); font-size: 1.4rem; }
.lightbox__close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; border-radius: 13px; border: 0; background: rgba(243, 238, 227, .12); color: var(--linen); display: grid; place-items: center; }
.lightbox__close svg { width: 18px; height: 18px; }

.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 12px; background: var(--olive); color: var(--paper); font-size: 14px; font-weight: 500; white-space: nowrap; transition: opacity .3s, transform .4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.is-filtering .c-cat__banner img { aspect-ratio: 16 / 9; }
.is-filtering .c-cat__banner { grid-template-columns: 1fr 30%; }
.is-filtering .c-cat { padding-top: 22px; }

@media (min-width: 761px) {
  .c-top { padding: 0 max(20px, calc((100vw - 760px) / 2)); }
  .c-hero { padding-top: 40px; }
}

/* Club Melia -------------------------------------------------------------- */
/* Carte d'invitation, juste sous la salutation */
.club { position: relative; overflow: hidden; margin-top: 20px; padding: 22px 20px 18px; border-radius: 26px; background: var(--espresso); color: var(--linen); box-shadow: 0 24px 50px -30px rgba(35, 30, 24, .7); animation: rise .9s .08s var(--ease) both; isolation: isolate; }
.club::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(180, 138, 74, .32), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(74, 90, 58, .55), transparent 65%); }
.club__m { position: absolute; right: -34px; top: -8px; z-index: -1; width: 210px; color: var(--gold-2); opacity: .09; transform: rotate(-8deg); }
.club__k { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 8px; background: rgba(217, 187, 133, .14); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.club__k b { font-weight: 600; color: var(--linen); opacity: .8; }
.club h2 { margin: 12px 0 0; font-family: var(--serif); font-weight: 350; font-size: 2rem; line-height: 1.02; letter-spacing: -.025em; }
.club h2 em { color: var(--gold-2); }
.club__perks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.club__perks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(243, 238, 227, .9); }
.club__perks svg { width: 18px; height: 18px; flex: none; color: var(--gold-2); }
.club__cta { position: relative; overflow: hidden; margin-top: 18px; width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 16px; background: var(--gold-2); color: var(--espresso); font-size: 16px; font-weight: 700; box-shadow: 0 12px 26px -14px rgba(217, 187, 133, .8); transition: transform .2s; }
.club__cta span { padding: 3px 8px; border-radius: 7px; background: rgba(35, 30, 24, .1); font-size: 12px; font-weight: 600; }
.club__cta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shine 4.5s 1.4s var(--ease) infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.club__cta:active { transform: scale(.98); }
.club__fine { margin: 9px 0 0; text-align: center; font-size: 12px; color: rgba(243, 238, 227, .55); }
.club__invite[hidden], .club__member[hidden] { display: none; }
.club.is-member { padding: 14px 16px; }
.club__member { display: flex; gap: 12px; align-items: center; }
.club__member strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.2; }
.club__member p { margin: 2px 0 0; font-size: 13px; color: rgba(243, 238, 227, .7); }
.club__tick { width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--olive); display: grid; place-items: center; color: var(--paper); font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .club__cta::after { animation: none; display: none; } }

/* Formulaire dans la feuille */
.club-sheet__body { overflow-y: auto; overscroll-behavior: contain; margin: 0 -22px; padding: 0 22px 4px; }
.club__intro { margin: 4px 0 2px; font-size: 14.5px; color: var(--muted); }
.club__form { margin-top: 10px; display: grid; gap: 12px; }
.club__form[hidden], .club__done[hidden] { display: none; }
.club__field { display: flex; flex-direction: column; gap: 6px; }
.club__field > span { font-size: 13.5px; font-weight: 600; }
.club__field em { font-style: normal; font-weight: 400; color: var(--muted); }
.club__field input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; background: var(--linen); border: 1.5px solid transparent; color: var(--text); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .3s, background .3s; }
.club__field input::placeholder { color: #a79b88; }
.club__field input:focus { border-color: var(--olive-2); background: var(--paper); }
.club__field.is-invalid input { border-color: var(--warn); }
.club__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.club__consent input { width: 19px; height: 19px; margin-top: 1px; flex: none; accent-color: var(--olive); }
.club__err { margin: 0; font-size: 14px; font-weight: 500; color: var(--warn); }
.club__submit { width: 100%; }
.club__legal { margin: 0; font-size: 12px; color: var(--muted); }
.club__legal a { color: inherit; }
.club__done { padding: 26px 0 8px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; animation: rise .5s var(--ease) both; }
.club__done .club__tick { width: 58px; height: 58px; border-radius: 18px; font-size: 24px; }
.club__done strong { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.club__done p { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); }
.club__done .btn { width: 100%; }

/* Rappel en bas d'écran */
.club-nudge { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px; border-radius: 20px; background: var(--espresso); color: var(--linen); box-shadow: 0 20px 44px -16px rgba(35, 30, 24, .65); transform: translateY(160%); transition: transform .6s var(--ease), bottom .4s var(--ease); }
.club-nudge[hidden] { display: none; }
.club-nudge.is-on { transform: none; }
.sel-bar:not([hidden]) ~ .club-nudge { bottom: calc(84px + env(safe-area-inset-bottom)); }
.club-nudge__m { width: 34px; flex: none; color: var(--gold-2); }
.club-nudge p { flex: 1; min-width: 0; margin: 0; line-height: 1.2; }
.club-nudge b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; }
.club-nudge p span { display: block; font-size: 12.5px; color: rgba(243, 238, 227, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.club-nudge__go { flex: none; height: 42px; padding: 0 16px; border: 0; border-radius: 13px; background: var(--gold-2); color: var(--espresso); font-size: 14.5px; font-weight: 700; }
.club-nudge__x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 11px; background: transparent; color: rgba(243, 238, 227, .6); display: grid; place-items: center; }
.club-nudge__x svg { width: 14px; height: 14px; }

.c-foot__club[hidden] { display: none; }

/* Menu de la semaine */
.it__day { margin: 0 0 3px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.it__today { padding: 3px 8px; border-radius: 7px; background: var(--gold-2); color: var(--espresso); font-size: 10.5px; letter-spacing: .08em; }
#plats-du-jour .it.is-today { margin: 6px -10px; padding: 14px 10px; border-radius: 16px; border-bottom-color: transparent; background: rgba(251, 248, 241, .1); box-shadow: inset 0 0 0 1px rgba(217, 187, 133, .45); }
.moment-card__picks button.is-today { background: var(--gold-2); }
.moment-card__picks button.is-today em { color: var(--espresso); }
/* Suggestions sans photo : médaillon M. pour garder des cartes de même hauteur */
.moment-card__picks .thumb--m { display: grid; place-items: center; background: var(--linen-2); }
.moment-card__picks .thumb--m svg { width: 46%; color: var(--olive-2); opacity: .8; }

/* Plats du jour ------------------------------------------------------------ */
#plats-du-jour .c-group { background: var(--olive); border-color: var(--olive); color: var(--paper); }
#plats-du-jour .c-group__head { border-bottom-color: rgba(251, 248, 241, .18); }
#plats-du-jour .c-group__title { color: var(--gold-2); }
#plats-du-jour .c-group__note { color: rgba(251, 248, 241, .75); }
#plats-du-jour .it { grid-template-columns: 1fr auto auto; border-bottom-color: rgba(251, 248, 241, .14); }
#plats-du-jour .it__desc { color: rgba(251, 248, 241, .78); }
#plats-du-jour .it__thumb { background: rgba(251, 248, 241, .1); }
.it__price--board span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; color: var(--gold-2); }

/* Panier : prix par article + total toujours visible ---------------------- */
.sheet__list li { grid-template-columns: 1fr auto auto; gap: 4px 14px; }
.sheet__info { min-width: 0; }
.sheet__line { grid-column: auto; min-width: 68px; text-align: right; font-weight: 600; font-size: 15.5px; color: var(--text); white-space: nowrap; }
.sheet__headtotal { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 9px; background: var(--linen); font-weight: 600; font-size: 15px; color: var(--olive); }
.sheet__foot { flex: none; margin: 0 -22px; padding: 14px 22px 0; border-top: 1px solid var(--line); background: var(--paper); }
.sheet__sum span em { font-style: normal; text-transform: none; letter-spacing: 0; }
.sel-bar__label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel-bar__total { flex: none; white-space: nowrap; }

/* Allergènes -------------------------------------------------------------- */
.al-ico { display: block; flex: none; width: 22px; height: 22px; }
.it__al { grid-column: 1 / -1; margin-top: 8px; }
.it__al-btn { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 0; padding: 3px 4px 3px 3px; border: 0; border-radius: 13px; background: transparent; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: background .3s; }
.it__al-btn:hover, .it__al-btn[aria-expanded="true"] { background: var(--linen); }
.it__al-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.it__al-sep { margin: 0 2px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.it__al-sep ~ .al-ico { opacity: .8; outline: 1.5px dashed rgba(42, 36, 29, .35); outline-offset: 1.5px; border-radius: 50%; }
.it__al-more { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--muted); }
.it__al-detail { margin: 8px 0 2px; padding: 10px 12px; border-radius: 14px; background: var(--linen); animation: rise .35s var(--ease) both; }
.it__al-detail[hidden] { display: none; }
.it__al-k { margin: 10px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.it__al-detail .it__al-k:first-child { margin-top: 0; }
.al-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.al-chips li { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text); }
.al-chips .al-ico { width: 20px; height: 20px; }
.it__al--ask { grid-column: 1 / -1; margin: 6px 0 0; font-size: 12.5px; font-style: italic; color: var(--muted); }
#plats-du-jour .it__al--ask { color: rgba(251, 248, 241, .7); }
#plats-du-jour .it__al-btn { color: rgba(251, 248, 241, .8); }
#plats-du-jour .it__al-btn:hover, #plats-du-jour .it__al-btn[aria-expanded="true"] { background: rgba(251, 248, 241, .1); }
#plats-du-jour .it__al-detail { background: rgba(251, 248, 241, .1); }
#plats-du-jour .al-chips li, #plats-du-jour .it__al-k, #plats-du-jour .it__al-sep { color: var(--paper); }

.c-compact__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.c-compact__al { display: inline-flex; gap: 3px; }
.c-compact__al .al-ico { width: 17px; height: 17px; }

.c-filter--link { text-decoration: none; }

.c-allergens { margin: 36px 18px 0; padding: 26px 20px 22px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); scroll-margin-top: 118px; }
.c-allergens[hidden] { display: none; }
.c-allergens__head .c-cat__title { font-size: clamp(2rem, 8.5vw, 2.8rem); }
.c-allergens__head p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.c-allergens__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.c-allergens__list li { display: flex; align-items: flex-start; gap: 10px; }
.c-allergens__list .al-ico { width: 34px; height: 34px; }
.c-allergens__list b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.c-allergens__list small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.c-allergens__notes { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.c-allergens__notes b { color: var(--text); font-weight: 600; }
@media (max-width: 420px) { .c-allergens__list { grid-template-columns: 1fr; } }#plats-du-jour .it__al-more { border-color: rgba(251, 248, 241, .35); color: rgba(251, 248, 241, .85); }
