/* ============================================================
   V2 FEATURES INDEX — page /fonctionnalites
   Hub listant les 18 modules. Scoped under .v2-feature.
   ============================================================ */

/* ---- Hero ---- */
.v2-feature .feat-idx-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 160px 0 56px;
  text-align: center;
}
.v2-feature .feat-idx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 50% 40% at 50% 0%,
      var(--orange-soft) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 35% at 50% 100%,
      var(--orange-soft) 0%,
      transparent 60%
    );
  opacity: 0.7;
  z-index: 0;
}
.v2-feature .feat-idx-hero .feat-eyebrow {
  margin-bottom: 22px;
}
.v2-feature .feat-idx-hero__title {
  font-family: var(--v2-font-display, inherit);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 auto 24px;
  max-width: 12ch;
}
.v2-feature .feat-idx-hero__title em {
  color: var(--v2-accent);
  font-style: normal;
}
.v2-feature .feat-idx-hero__lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--v2-fg-2);
  max-width: 56ch;
  margin: 0 auto;
}
.v2-feature .feat-idx-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}
.v2-feature .feat-idx-hero__stat {
  text-align: center;
}
.v2-feature .feat-idx-hero__stat-value {
  font-family: var(--v2-font-display, inherit);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}
.v2-feature .feat-idx-hero__stat-value em {
  color: var(--v2-accent);
  font-style: normal;
}
.v2-feature .feat-idx-hero__stat-label {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v2-fg-3);
  margin-top: 10px;
}

@media (max-width: 720px) {
  .v2-feature .feat-idx-hero {
    padding: 110px 0 40px;
  }
  .v2-feature .feat-idx-hero .feat-eyebrow {
    margin-bottom: 16px;
  }
  .v2-feature .feat-idx-hero__title {
    margin-bottom: 18px;
  }
  .v2-feature .feat-idx-hero__lede {
    font-size: 16px;
  }
  .v2-feature .feat-idx-hero__stats {
    gap: 24px;
    margin-top: 32px;
  }
  .v2-feature .feat-idx-hero__stat-value {
    font-size: 32px;
  }
  .v2-feature .feat-idx-hero__stat-label {
    font-size: 11px;
    margin-top: 6px;
  }
}

/* ---- Filter bar (sticky chips) ---- */
.v2-feature .feat-idx-filter {
  position: sticky;
  top: 78px;
  z-index: 50;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.v2-feature .feat-idx-filter__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.v2-feature .feat-idx-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--v2-fg-2);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  cursor: pointer;
}
.v2-feature .feat-idx-chip:hover {
  border-color: var(--v2-ink);
  color: var(--v2-fg-1);
}
.v2-feature .feat-idx-chip.is-active {
  background: var(--v2-ink);
  color: #fff;
  border-color: var(--v2-ink);
}
.v2-feature .feat-idx-chip__count {
  font-size: 12px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.06);
  color: var(--v2-fg-3);
  transition: background 160ms ease, color 160ms ease;
}
.v2-feature .feat-idx-chip.is-active .feat-idx-chip__count {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Mobile : barre compacte sur une seule ligne, scroll-x ---- */
@media (max-width: 720px) {
  .v2-feature .feat-idx-filter {
    padding: 10px 0;
    top: 72px;
    background: transparent;
  }
  .v2-feature .feat-idx-filter__inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding: 0 16px;
    scroll-snap-type: x proximity;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Edge fade pour suggérer la scrollabilité */
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 16px,
      #000 calc(100% - 16px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 16px,
      #000 calc(100% - 16px),
      transparent 100%
    );
  }
  .v2-feature .feat-idx-filter__inner::-webkit-scrollbar {
    display: none;
  }
  .v2-feature .feat-idx-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 6px 10px;
    font-size: 12px;
    gap: 6px;
  }
  .v2-feature .feat-idx-chip__count {
    font-size: 10px;
    padding: 1px 5px;
  }
}

/* ---- Category section ---- */
.v2-feature .feat-idx-cat {
  padding: 88px 0 16px;
  scroll-margin-top: 140px;
}
.v2-feature .feat-idx-cat__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.v2-feature .feat-idx-cat__head-text {
  max-width: 640px;
}
.v2-feature .feat-idx-cat__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v2-accent-press);
  margin-bottom: 12px;
}
.v2-feature .feat-idx-cat__num {
  color: var(--v2-fg-3);
}
.v2-feature .feat-idx-cat__title {
  font-family: var(--v2-font-display, inherit);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.v2-feature .feat-idx-cat__sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--v2-fg-2);
  margin: 0;
}
.v2-feature .feat-idx-cat__count {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 13px;
  color: var(--v2-fg-3);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}

/* ---- Grid ---- */
.v2-feature .feat-idx-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .v2-feature .feat-idx-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .v2-feature .feat-idx-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Card (base + variants) ---- */
.v2-feature .feat-idx-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 280ms ease, box-shadow 280ms ease,
    border-color 280ms ease;
}
.v2-feature .feat-idx-card:hover {
  border-color: var(--v2-ink-30);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -16px rgba(20, 20, 20, 0.18);
}
.v2-feature .feat-idx-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.v2-feature .feat-idx-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--v2-ink-05);
  color: var(--v2-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 240ms ease, color 240ms ease;
}
.v2-feature .feat-idx-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
}
.v2-feature .feat-idx-card:hover .feat-idx-card__icon {
  background: var(--v2-ink);
  color: #fff;
}

.v2-feature .feat-idx-card--accent .feat-idx-card__icon {
  background: rgba(255, 87, 34, 0.1);
  color: var(--v2-accent);
}
.v2-feature .feat-idx-card--accent:hover .feat-idx-card__icon {
  background: var(--v2-accent);
  color: #fff;
}

.v2-feature .feat-idx-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.v2-feature .feat-idx-card__lede {
  font-size: 14px;
  line-height: 1.5;
  color: var(--v2-fg-2);
  margin: 0 0 20px;
}
.v2-feature .feat-idx-card__bullets {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v2-feature .feat-idx-card__bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--v2-fg-2);
}
.v2-feature .feat-idx-card__check {
  flex-shrink: 0;
  color: var(--v2-accent);
  margin-top: 3px;
}
.v2-feature .feat-idx-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
  gap: 12px;
}
.v2-feature .feat-idx-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-fg-1);
  text-decoration: none;
}
.v2-feature .feat-idx-card__link svg {
  transition: transform 240ms ease;
}
.v2-feature .feat-idx-card:hover .feat-idx-card__link svg {
  transform: translateX(3px);
}
.v2-feature .feat-idx-card__tag {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--v2-fg-3);
}
.v2-feature .feat-idx-card__tag--new {
  color: var(--v2-accent-press);
  background: rgba(255, 87, 34, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}
.v2-feature .feat-idx-card__tag--dark {
  color: rgba(255, 255, 255, 0.4);
}

/* "Coming soon" — pill discrète avec un dot pulsant pour signaler l'arrivée. */
.v2-feature .feat-idx-card__tag--coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v2-fg-2);
  background: var(--v2-ink-05);
  border: 1px solid var(--border-subtle);
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
}
.v2-feature .feat-idx-card__tag--coming-soon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--v2-accent);
  box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.55);
  animation: feat-coming-soon-pulse 1.8s ease-out infinite;
}
.v2-feature .feat-idx-card--dark .feat-idx-card__tag--coming-soon {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
@keyframes feat-coming-soon-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(255, 87, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .v2-feature .feat-idx-card__tag--coming-soon::before {
    animation: none;
  }
}

/* ---- Construction state ---- */
/* Module dont la page détail n'existe pas encore : carte atténuée + bandeau
   diagonal subtil + tag « En construction » avec icône clé à molette. Le
   foot link est désactivé (rendu en <span>) pour éviter le 404. */
.v2-feature .feat-idx-card--construction {
  position: relative;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 14px,
    rgba(255, 87, 34, 0.025) 14px,
    rgba(255, 87, 34, 0.025) 28px
  );
}
.v2-feature .feat-idx-card--construction .feat-idx-card__icon {
  opacity: 0.55;
}
.v2-feature .feat-idx-card--construction .feat-idx-card__title,
.v2-feature .feat-idx-card--construction .feat-idx-card__lede,
.v2-feature .feat-idx-card--construction .feat-idx-card__bullets {
  opacity: 0.7;
}
/* En construction : pas de link à gauche, on push le tag à droite. */
.v2-feature .feat-idx-card--construction .feat-idx-card__foot {
  justify-content: flex-end;
}
.v2-feature .feat-idx-card__tag--construction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v2-accent-press);
  background: rgba(255, 87, 34, 0.08);
  border: 1px dashed rgba(255, 87, 34, 0.4);
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
}
.v2-feature .feat-idx-card__tag--construction svg {
  flex-shrink: 0;
}
.v2-feature .feat-idx-card--dark .feat-idx-card__tag--construction {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ---- Large variant ---- */
.v2-feature .feat-idx-card--lg {
  grid-column: span 2;
  flex-direction: row;
  padding: 0;
  overflow: hidden;
}
.v2-feature .feat-idx-card--lg .feat-idx-card__body {
  flex: 1 1 50%;
  padding: 36px 32px;
}
.v2-feature .feat-idx-card--lg .feat-idx-card__title {
  font-size: 22px;
}
.v2-feature .feat-idx-card--lg .feat-idx-card__lede {
  font-size: 15px;
}
.v2-feature .feat-idx-card__visual {
  flex: 1 1 50%;
  background: linear-gradient(135deg, var(--cream-2) 0%, #ece7dd 100%);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.v2-feature .feat-idx-card__visual .mock-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}
@media (max-width: 980px) {
  .v2-feature .feat-idx-card--lg {
    flex-direction: column;
  }
  .v2-feature .feat-idx-card--lg .feat-idx-card__visual {
    order: -1;
    min-height: 220px;
  }
}
@media (max-width: 640px) {
  .v2-feature .feat-idx-card--lg {
    grid-column: span 1;
  }
}

/* ---- Dark variant ---- */
.v2-feature .feat-idx-card--dark {
  background: var(--warm-dark);
  color: #fff;
  border-color: var(--warm-dark);
}
.v2-feature .feat-idx-card--dark .feat-idx-card__title {
  color: #fff;
}
.v2-feature .feat-idx-card--dark .feat-idx-card__lede {
  color: rgba(255, 255, 255, 0.65);
}
.v2-feature .feat-idx-card--dark .feat-idx-card__bullet {
  color: rgba(255, 255, 255, 0.7);
}
.v2-feature .feat-idx-card--dark .feat-idx-card__icon {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.v2-feature .feat-idx-card--dark:hover .feat-idx-card__icon {
  background: var(--v2-accent);
  color: #fff;
}
.v2-feature .feat-idx-card--dark .feat-idx-card__foot {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.v2-feature .feat-idx-card--dark .feat-idx-card__link {
  color: #fff;
}
.v2-feature .feat-idx-card--dark .feat-idx-card__visual {
  background: linear-gradient(
    135deg,
    var(--warm-dark-2) 0%,
    var(--warm-dark) 100%
  );
}

/* ---- Cat divider ---- */
.v2-feature .feat-idx-divider {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 0 32px;
}
.v2-feature .feat-idx-divider hr {
  border: 0;
  height: 1px;
  background: var(--border-subtle);
}

/* ---- Final CTA index ---- */
.v2-feature .feat-idx-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 96px;
  padding: 96px 0;
  background: var(--warm-dark);
  color: #fff;
}
.v2-feature .feat-idx-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 40% 40% at 0% 0%,
      rgba(255, 87, 34, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 35% 40% at 100% 0%,
      rgba(255, 87, 34, 0.15) 0%,
      transparent 60%
    );
  z-index: 0;
}
.v2-feature .feat-idx-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.v2-feature .feat-idx-cta__title {
  font-family: var(--v2-font-display, inherit);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.v2-feature .feat-idx-cta__title em {
  color: var(--v2-accent);
  font-style: normal;
}
.v2-feature .feat-idx-cta__lede {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 50ch;
  margin: 0 0 28px;
}
.v2-feature .feat-idx-cta__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.v2-feature .feat-idx-cta__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.v2-feature .feat-idx-cta__bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.v2-feature .feat-idx-cta__bullet-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 87, 34, 0.16);
  color: var(--v2-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.v2-feature .feat-idx-cta__bullet-icon svg {
  width: 16px;
  height: 16px;
}
.v2-feature .feat-idx-cta__bullet b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.v2-feature .feat-idx-cta__bullet-sub {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 880px) {
  .v2-feature .feat-idx-cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   MOCKUPS — utilisés dans .feat-idx-card--lg .feat-idx-card__visual
   ============================================================ */

/* ---- Common ---- */
.v2-feature .mock {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Mock program ---- */
.v2-feature .mock-prog {
  background: #fff;
  border-radius: 14px;
  max-width: 360px;
  width: 100%;
  padding: 16px;
  transform: rotate(-2deg);
  box-shadow: 0 24px 50px -18px rgba(20, 20, 20, 0.28),
    0 6px 14px -6px rgba(20, 20, 20, 0.1);
  display: flex;
  flex-direction: column;
}
.v2-feature .mock-prog__head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.v2-feature .mock-prog__week {
  font-size: 12px;
  font-weight: 700;
  color: var(--v2-fg-1);
}
.v2-feature .mock-prog__chip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--v2-accent-tint);
  color: var(--v2-accent-press);
}
.v2-feature .mock-prog__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v2-feature .mock-prog__row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.v2-feature .mock-prog__row:last-child {
  border-bottom: 0;
}
.v2-feature .mock-prog__thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ece7dd 0%, #d6cfc1 100%);
  object-fit: contain;
  padding: 4px;
}
.v2-feature .mock-prog__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v2-feature .mock-prog__name {
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-fg-1);
}
.v2-feature .mock-prog__sets {
  font-size: 10px;
  color: var(--v2-fg-3);
}
.v2-feature .mock-prog__rpe {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-fg-2);
}

/* ---- Mock meal ---- */
.v2-feature .mock-meal {
  background: #fff;
  border-radius: 14px;
  max-width: 320px;
  width: 100%;
  padding: 18px;
  transform: rotate(2deg);
  box-shadow: 0 24px 50px -18px rgba(20, 20, 20, 0.28);
}
.v2-feature .mock-meal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.v2-feature .mock-meal__title {
  font-size: 13px;
  font-weight: 700;
}
.v2-feature .mock-meal__chip {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: var(--v2-fg-3);
}
.v2-feature .mock-meal__macros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.v2-feature .mock-meal__macro {
  text-align: left;
}
.v2-feature .mock-meal__bar {
  height: 4px;
  background: var(--v2-ink-10);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}
.v2-feature .mock-meal__bar > div {
  height: 100%;
  background: var(--v2-accent);
  border-radius: 99px;
}
.v2-feature .mock-meal__macro-label {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--v2-fg-3);
}
.v2-feature .mock-meal__macro-value {
  font-family: var(--v2-font-display, inherit);
  font-size: 14px;
  font-weight: 800;
  color: var(--v2-fg-1);
}
.v2-feature .mock-meal__rows {
  list-style: none;
  padding: 0;
  margin: 0;
}
.v2-feature .mock-meal__row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}
.v2-feature .mock-meal__ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.v2-feature .mock-meal__name {
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-fg-1);
}
.v2-feature .mock-meal__kcal {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 10px;
  color: var(--v2-fg-3);
}

/* ---- Mock phone ---- */
.v2-feature .mock-phone {
  width: 200px;
  height: 380px;
  border-radius: 32px;
  background: var(--warm-dark);
  padding: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px -18px rgba(20, 20, 20, 0.45);
}
.v2-feature .mock-phone__screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-feature .mock-phone__greet {
  font-size: 11px;
  color: var(--v2-fg-3);
}
.v2-feature .mock-phone__name {
  font-family: var(--v2-font-display, inherit);
  font-size: 18px;
  font-weight: 800;
}
.v2-feature .mock-phone__card {
  background: var(--v2-accent);
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-top: 4px;
}
.v2-feature .mock-phone__card-label {
  font-size: 10px;
  opacity: 0.85;
}
.v2-feature .mock-phone__card-title {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.v2-feature .mock-phone__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v2-feature .mock-phone__row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--v2-ink-05);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--v2-fg-2);
}
.v2-feature .mock-phone__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.v2-feature .mock-phone__dot--ok {
  background: var(--v2-success);
}
.v2-feature .mock-phone__dot--accent {
  background: var(--v2-accent);
}
.v2-feature .mock-phone__dot--off {
  background: var(--v2-ink-30);
}

/* ---- Mock compta ---- */
.v2-feature .mock-compta {
  background: #fff;
  border-radius: 14px;
  max-width: 360px;
  width: 100%;
  padding: 18px;
  transform: rotate(-2deg);
  box-shadow: 0 24px 50px -18px rgba(20, 20, 20, 0.28);
  display: flex;
  flex-direction: column;
}
.v2-feature .mock-compta__head {
  margin-bottom: 12px;
}
.v2-feature .mock-compta__label {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v2-fg-3);
  margin-bottom: 4px;
}
.v2-feature .mock-compta__big {
  font-family: var(--v2-font-display, inherit);
  font-size: 28px;
  font-weight: 800;
  color: var(--v2-fg-1);
  line-height: 1;
}
.v2-feature .mock-compta__big small {
  font-size: 16px;
  color: var(--v2-fg-3);
  font-weight: 700;
}
.v2-feature .mock-compta__delta {
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-success);
  margin-top: 4px;
}
.v2-feature .mock-compta__chart {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 60px;
  margin: 12px 0;
}
.v2-feature .mock-compta__bar {
  flex: 1;
  background: var(--v2-ink-10);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}
.v2-feature .mock-compta__bar.is-now {
  background: var(--v2-accent);
}
.v2-feature .mock-compta__rows {
  list-style: none;
  padding: 0;
  margin: 0;
}
.v2-feature .mock-compta__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 11px;
  border-top: 1px dashed var(--border-subtle);
}
.v2-feature .mock-compta__row:first-child {
  border-top: 0;
}
.v2-feature .mock-compta__who {
  color: var(--v2-fg-1);
  font-weight: 500;
}
.v2-feature .mock-compta__amt {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-weight: 700;
  color: var(--v2-fg-2);
}
.v2-feature .mock-compta__amt.is-paid {
  color: var(--v2-success);
}

/* ============================================================
   PATCH — Backgrounds alternés + overrides Hand contextuels
   Cf. FEATURE_2_PATCH.md
   ============================================================ */

/* ---- Sections en position relative pour accueillir les bg ---- */
.v2-feature .feat-idx-hero,
.v2-feature .feat-idx-cat,
.v2-feature .feat-idx-cta {
  position: relative;
}

/* ---- Background : DOTS (radial 1px @ 24px) ---- */
.v2-feature .feat-idx-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 26, 26, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    #000 30%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    #000 30%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 0;
}

/* ---- Background : GRID (lignes 1px @ 56px) ---- */
.v2-feature .feat-idx-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(26, 26, 26, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(26, 26, 26, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 60% 80% at 50% 40%,
    #000 30%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 60% 80% at 50% 40%,
    #000 30%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 0;
}
.v2-feature .feat-idx-bg-grid--dark {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* ---- Background : HACHURES 45° (1px tous les 18px) ---- */
.v2-feature .feat-idx-bg-diag {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(26, 26, 26, 0.035) 0 1px,
    transparent 1px 18px
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    #000 30%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    #000 30%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 0;
}

/* ---- Background : BLOB orange flou (positionné inline) ---- */
.v2-feature .feat-idx-bg-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.16), transparent 65%);
  filter: blur(10px);
  border-radius: 999px;
}

/* ---- Hand contextuels (overrides V2 Hand pour la page index) ---- */
.v2-feature .feat-idx-hero__title .v2-hand,
.v2-feature .feat-idx-cta__title .v2-hand,
.v2-feature .feat-idx-cat__title .v2-hand {
  font-size: 1em;
  letter-spacing: 0;
  padding: 0 0.05em;
}

/* Variante "hand" du tag (Module phare) */
.v2-feature .feat-idx-card__tag--hand {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
  color: var(--v2-accent);
  padding: 0 4px;
}
.v2-feature .feat-idx-card__tag--hand .v2-hand {
  font-size: 1em;
}
.v2-feature .feat-idx-card--dark .feat-idx-card__tag--hand {
  color: var(--v2-accent);
}
