/* ===== Icônes maison ===== */
.ic-svg { display: block; flex: none; }
.food-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: color-mix(in srgb, var(--t) 13%, #fff); flex: none; }
.food-ic .ic-svg { width: 24px; height: 24px; }
.food .fe, .pi .pe { font-size: 0; display: grid; place-items: center; }
.shop-item .sn { display: inline-flex; align-items: center; gap: 10px; }
.shop-item .food-ic { width: 30px; height: 30px; border-radius: 10px; }
.shop-item .food-ic .ic-svg { width: 18px; height: 18px; }
.shop-group h4 { display: flex; align-items: center; gap: 8px; }
.shop-group h4 .ic-svg { width: 20px; height: 20px; color: var(--leaf); }
.choice .ci { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(79,154,58,.1); color: var(--leaf); }
.choice.active .ci { background: var(--leaf); color: #fff; }
.choice .ci .ic-svg { width: 22px; height: 22px; }
.choice-grid.one .choice .ci { width: 36px; height: 36px; }
.ms .mi, .badge .bi, .tl .tn, .phase-item .pe { display: grid; place-items: center; color: var(--leaf); }
.badge:not(.got) .bi { color: var(--text-3); }
.ms .mi .ic-svg, .badge .bi .ic-svg, .tl .tn .ic-svg, .phase-item .pe .ic-svg { width: 24px; height: 24px; }
.plate-empty .ic-svg { margin: 0 auto 8px; color: var(--text-3); }
.toast-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--leaf); color: #fff; flex: none; }
.toast-ic .ic-svg { width: 15px; height: 15px; }
.mood button { font-size: 13px; font-weight: 700; filter: none; padding: 10px 2px; }
.pro-ic { display: grid; place-items: center; color: var(--citrus); }
.pro-ic .ic-svg { width: 54px; height: 54px; }
.ob-spin span .ic-svg { width: 32px; height: 32px; color: var(--leaf); }
.bc-ic .ic-svg, .why-grid span .ic-svg, .wv span .ic-svg { width: 28px; height: 28px; color: var(--leaf); }
.mrec-img i .ic-svg { margin: auto; }
.link-btn { background: none; border: 0; font: inherit; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: center; padding: 6px; }

/* ===== Sous-navigation (Cuisine, Progrès) ===== */
.subnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -6px 0 22px; padding: 4px; border-radius: 16px; background: rgba(31,38,28,.05); width: max-content; max-width: 100%; }
.subnav::-webkit-scrollbar { display: none; }
.subnav button { font: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; border: 0; background: transparent; color: var(--text-2); padding: 9px 15px; border-radius: 12px; cursor: pointer; transition: background 200ms var(--e-out), color 200ms var(--e-out), transform 160ms var(--e-out); }
.subnav button:active { transform: scale(0.97); }
.subnav button.active { background: var(--surface-solid, #fff); color: var(--text); box-shadow: 0 4px 14px -8px rgba(31,38,28,.35); }

/* ===== Bandeau d'étape (Aujourd'hui) ===== */
.j-strip { width: 100%; display: flex; align-items: center; gap: 14px; font: inherit; color: inherit; text-align: left; cursor: pointer; border: 0; padding: 12px 16px; border-radius: 18px; background: rgba(31,38,28,.04); transition: transform 160ms var(--e-out); }
.j-strip:active { transform: scale(0.98); }
.js-steps { display: flex; gap: 4px; flex: none; }
.js-steps i { width: 22px; height: 6px; border-radius: 3px; background: rgba(31,38,28,.12); }
.js-steps i.done { background: var(--leaf); }
.js-steps i.on { background: linear-gradient(90deg, var(--leaf) 50%, rgba(79,154,58,.3) 50%); }
.js-txt b { display: block; font-size: 15px; }
.js-txt small { color: var(--text-2); }
.j-strip em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 14px; color: var(--leaf); white-space: nowrap; }
.next-step { grid-template-columns: auto 1fr auto; }
.ns-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--leaf); color: #fff; }

/* ===== Parcours ===== */
.journey { display: grid; gap: 16px; }
.j-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: st; }
.j-stage { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border-radius: 20px; background: var(--surface-solid, #fff); border: 1.5px solid var(--border); animation: jIn 450ms var(--e-out) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes jIn { from { opacity: 0; transform: translateY(10px); } }
.j-stage.on { border-color: var(--leaf); box-shadow: 0 18px 36px -26px rgba(79,154,58,.7); }
.j-stage.done { background: color-mix(in srgb, var(--leaf) 6%, #fff); }
.j-stage.next { opacity: .82; }
.j-head { display: flex; align-items: center; gap: 10px; }
.j-head small { display: block; font-size: 12px; color: var(--text-3); }
.j-head b { font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.1; }
.j-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; flex: none; background: rgba(31,38,28,.06); color: var(--text-2); }
.j-stage.on .j-ic, .j-stage.done .j-ic { background: var(--leaf); color: #fff; }
.j-lock { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--text-3); white-space: nowrap; }
.j-stage p { margin: 0; font-size: 14px; color: var(--text-2); }
.j-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.j-tools .chip { cursor: pointer; }
.j-prep { display: grid; gap: 4px; }
.j-todo { display: flex; align-items: center; gap: 10px; font: inherit; font-size: 14px; text-align: left; color: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.j-todo .box { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 2px solid rgba(31,38,28,.2); flex: none; transition: background 200ms var(--e-out), border-color 200ms var(--e-out); }
.j-todo .box .ic-svg { opacity: 0; }
.j-todo.ok .box { background: var(--leaf); border-color: var(--leaf); }
.j-todo.ok .box .ic-svg { opacity: 1; }
.j-todo.ok span:last-child { color: var(--text-3); text-decoration: line-through; }
.j-go { align-self: flex-start; }
.j-ebook, .g-up, .ebook-row, .ob-lead { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; }
.j-ebook p, .g-up p, .ebook-row p, .ob-lead p { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
.j-book { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--citrus) 16%, #fff); color: #b7741a; }

/* ===== Guide offert ===== */
.gbox { display: grid; gap: 18px; }
.g-gate { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.g-cover { aspect-ratio: 3/4; border-radius: 10px 18px 18px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; color: #fff; background: linear-gradient(160deg, #4f9a3a, #2f6324); box-shadow: 14px 18px 34px -18px rgba(31,38,28,.55), inset 6px 0 0 rgba(0,0,0,.12); transform: rotate(-3deg); }
.g-cover .ic-svg { margin-bottom: auto; }
.g-cover b { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.g-cover small { opacity: .8; }
.g-read section { padding: 16px 0; border-top: 1px solid var(--border); }
.g-read h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.g-read h3 span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--leaf); color: #fff; font-size: 14px; }
.g-read p, .g-read li { max-width: 65ch; color: var(--text-2); line-height: 1.6; }
.g-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.g-cols h4 { margin: 0 0 4px; }
.g-up-p { display: grid; justify-items: end; gap: 4px; text-align: right; }
.g-up-p b { font-size: 24px; }
.g-up-p small { color: var(--text-3); }

/* ===== Formulaire lead ===== */
.lead { display: grid; gap: 10px; margin-top: 14px; }
.lead-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lead-row .input { flex: 1 1 220px; }
.lead-ok { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.lead-ok input { margin-top: 2px; accent-color: var(--leaf); }
.lead.compact { margin-top: 0; grid-column: 1 / -1; }
.ob-lead { grid-template-columns: auto 1fr; border-radius: 20px; background: color-mix(in srgb, var(--citrus) 8%, #fff); border: 1.5px dashed color-mix(in srgb, var(--citrus) 50%, transparent); }
.ob-lead-ok { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--leaf); margin: 0; }

/* ===== Offres (nouvelle grille) ===== */
.offers-intro { margin-bottom: 18px; max-width: 640px; }
.offers-intro h2 { margin: 0 0 6px; }
.offers-intro .lead { margin: 0; }
.week-value { padding: 22px; margin-bottom: 20px; }
.week-value h3 { margin: 0 0 14px; }
.wv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wv b { display: block; margin: 8px 0 2px; }
.wv p { margin: 0; color: var(--text-2); font-size: 14px; }
.ebook-row { margin-top: 18px; }
.er-p { display: grid; justify-items: end; gap: 4px; text-align: right; }
.er-p b { font-size: 22px; }
.er-p small { color: var(--text-3); }

@media (max-width: 900px) {
  .j-track { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .j-track, .wv, .g-cols { grid-template-columns: 1fr; }
  .g-gate { grid-template-columns: 1fr; }
  .g-cover { width: 150px; }
  .j-ebook, .g-up, .ebook-row { grid-template-columns: auto 1fr; }
  .j-ebook .btn, .g-up-p, .er-p { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .next-step { grid-template-columns: auto 1fr; }
  .next-step .btn { grid-column: 1 / -1; }
  .j-strip em { display: none; }
  .subnav { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .j-stage { animation: none; } }
.subnav[hidden] { display: none; }
