/* ============================================================
   V2 FEATURE PAGES — Coachly Design System (feature subpages)
   Scoped under .v2-feature to avoid bleeding into other pages.
   Reuses .v2-root tokens (--v2-accent, --v2-ink-*, --v2-fg-*).
   Adds page-specific tokens (cream, warm-dark, orange-soft).
   ============================================================ */

.v2-feature {
  --cream: #ffffff;
  --cream-2: #f6f4f0;
  --warm-dark: #1b1611;
  --warm-dark-2: #261d17;
  --orange-soft: #ffe5d9;
  --border: rgba(26, 26, 26, 0.12);
  --border-subtle: rgba(26, 26, 26, 0.07);

  background: var(--cream);
  color: var(--v2-fg-1);
  font-family: var(
    --v2-font-sans,
    "Inter",
    system-ui,
    -apple-system,
    sans-serif
  );
}

/* Override .v2-root's overflow-x:hidden which establishes a scroll container
   and breaks position:sticky on the FilterBar. `clip` provides the same
   visual clipping without creating a scroll container. */
.v2-root.v2-feature {
  overflow-x: clip;
}

.v2-feature * {
  box-sizing: border-box;
}

.v2-feature .v2-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.v2-feature .v2-container--narrow {
  max-width: 760px;
}

/* ---- Eyebrow ---- */
.v2-feature .feat-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);
  background: rgba(255, 87, 34, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
}
.v2-feature .feat-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--v2-accent);
}

.v2-feature .feat-eyebrow--neutral {
  background: transparent;
  padding: 0;
  color: var(--v2-fg-3);
}
.v2-feature .feat-eyebrow--neutral::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--border);
  margin-right: 8px;
}

/* ---- Reveal animation ---- */
.v2-feature .feat-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.v2-feature .feat-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .v2-feature .feat-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Curves decorative SVG ---- */
.v2-feature .feat-curves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.v2-feature .feat-curves svg {
  width: 100%;
  height: 100%;
  display: block;
}
.v2-feature .feat-curves path {
  fill: none;
  stroke: rgba(26, 26, 26, 0.05);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}
.v2-feature .feat-curves path.warm {
  stroke: rgba(255, 87, 34, 0.1);
}
.v2-feature .feat-curves path.warm-strong {
  stroke: rgba(255, 87, 34, 0.22);
}
.v2-feature .feat-curve-trace {
  stroke: rgba(255, 87, 34, 0.9);
  stroke-width: 2;
  stroke-dasharray: 80 1400;
  animation: v2-feat-curve-travel 14s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 87, 34, 0.6));
  fill: none;
}
.v2-feature .feat-curve-trace--slow {
  animation-duration: 22s;
}
.v2-feature .feat-curve-trace--fast {
  animation-duration: 9s;
}
@keyframes v2-feat-curve-travel {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -1480;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v2-feature .feat-curve-trace {
    animation: none;
    stroke-dasharray: none;
  }
}

/* ---- Buttons (pill) ---- */
.v2-feature .feat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  /* Magnétique : la position suit le curseur via les CSS vars --mx / --my
     posées par useMagnetic. transition courte pour un retour fluide après
     mouseleave. */
  --mx: 0px;
  --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
    background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.v2-feature .feat-btn--accent {
  background: var(--v2-accent);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(255, 87, 34, 0.55);
}
.v2-feature .feat-btn--accent:hover {
  background: var(--v2-accent-hover);
  box-shadow: 0 12px 30px -12px rgba(255, 87, 34, 0.65);
}
.v2-feature .feat-btn--ghost {
  background: transparent;
  color: var(--v2-fg-1);
  border-color: var(--border);
}
.v2-feature .feat-btn--ghost:hover {
  border-color: var(--v2-ink-30);
  background: rgba(26, 26, 26, 0.03);
}
.v2-feature .feat-btn--ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.v2-feature .feat-btn--ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* ---- Breadcrumb ---- */
.v2-feature .feat-crumb {
  padding: 110px 0 16px;
  font-size: 13px;
  color: var(--v2-fg-3);
  position: relative;
  z-index: 1;
}
.v2-feature .feat-crumb a {
  color: inherit;
  text-decoration: none;
}
.v2-feature .feat-crumb a:hover {
  color: var(--v2-fg-1);
}
.v2-feature .feat-crumb__sep {
  margin: 0 8px;
  opacity: 0.5;
}
.v2-feature .feat-crumb__current {
  color: var(--v2-fg-2);
}

/* ---- Hero ---- */
.v2-feature .feat-hero {
  padding: 16px 0 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.v2-feature .feat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 80% 30%,
    var(--orange-soft) 0%,
    transparent 60%
  );
  opacity: 0.5;
  z-index: 0;
}
.v2-feature .feat-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.v2-feature .feat-hero__title {
  font-family: var(--v2-font-display, "Inter", system-ui, sans-serif);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
}
.v2-feature .feat-hero__title em {
  color: var(--v2-accent);
  font-style: normal;
}
.v2-feature .feat-hero__lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--v2-fg-2);
  max-width: 52ch;
  margin: 0 0 28px;
}
.v2-feature .feat-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.v2-feature .feat-hero__small {
  font-size: 13px;
  color: var(--v2-fg-3);
}

.v2-feature .feat-hero__visual {
  background: linear-gradient(135deg, var(--cream-2) 0%, #ece7dd 100%);
  border-radius: 24px;
  padding: 36px 24px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 720px) {
  .v2-feature .feat-hero__visual {
    padding: 18px 0px;
  }
}

/* ---- Hero floating badges (stickers autour du mockup) ---- */
.v2-feature .feat-hero__badge {
  --badge-tilt: 0deg;
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px -10px rgba(20, 20, 20, 0.25),
    0 2px 6px -2px rgba(20, 20, 20, 0.1);
  /* Rotation seule au repos ; le translate3d magnétique n'est pas requis ici. */
  transform: rotate(var(--badge-tilt));
  pointer-events: none;
}
.v2-feature .feat-hero__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Variantes visuelles */
.v2-feature .feat-hero__badge--white {
  background: #fff;
  color: var(--v2-fg-1);
  border: 1px solid var(--border-subtle);
}
.v2-feature .feat-hero__badge--white .feat-hero__badge-dot {
  background: var(--v2-accent);
  opacity: 1;
}
.v2-feature .feat-hero__badge--accent {
  background: var(--v2-accent-tint);
  color: var(--v2-accent-press);
  border: 1px solid rgba(255, 87, 34, 0.18);
}
.v2-feature .feat-hero__badge--dark {
  background: var(--warm-dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.v2-feature .feat-hero__badge--dark .feat-hero__badge-dot {
  background: var(--v2-accent);
  opacity: 1;
}

/* Override animation reveal : pendant feat-reveal le badge est translaté ; on
   garde la rotation dans le state final pour éviter qu'elle s'efface. */
.v2-feature .feat-hero__badge.feat-reveal {
  transform: translateY(28px) rotate(var(--badge-tilt));
}
.v2-feature .feat-hero__badge.feat-reveal.is-visible {
  transform: rotate(var(--badge-tilt));
}

/* Positions (relatives à .feat-hero__visual) */
.v2-feature .feat-hero__badge--tl {
  top: 8%;
  left: 4%;
}
.v2-feature .feat-hero__badge--tr {
  top: 6%;
  right: 4%;
}
.v2-feature .feat-hero__badge--ml {
  top: 46%;
  left: 1%;
}
.v2-feature .feat-hero__badge--mr {
  top: 50%;
  right: 1%;
}
.v2-feature .feat-hero__badge--bl {
  bottom: 10%;
  left: 6%;
}
.v2-feature .feat-hero__badge--br {
  bottom: 8%;
  right: 6%;
}

/* Sous 720px : on cache les badges latéraux pour ne pas écraser le mockup. */
@media (max-width: 720px) {
  .v2-feature .feat-hero__badge--ml,
  .v2-feature .feat-hero__badge--mr {
    display: none;
  }
  .v2-feature .feat-hero__badge {
    font-size: 10px;
    padding: 5px 9px;
  }
}

/* ============================================================
   V2ProgramMockup — re-skin clair pour le hero feature.
   Le mockup est designé pour un fond sombre (texte blanc partout).
   Sur le fond beige du hero feature, on inverse la palette tout en
   gardant l'interactivité (Listbox, dropdowns, ajout/suppression).
   ============================================================ */
.v2-feature .feat-hero__visual .v2-mockup {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 18px;
  gap: 14px;
  color: var(--v2-fg-1);
  width: 100%;
  max-width: 460px;
  box-shadow: 0 32px 70px -22px rgba(20, 20, 20, 0.32),
    0 8px 20px -8px rgba(20, 20, 20, 0.12);
  transform: rotate(-1.5deg);
}

.v2-feature .feat-hero__visual .v2-mockup__exercise-name {
  color: var(--v2-fg-1);
  font-size: 14px;
}
.v2-feature .feat-hero__visual .v2-mockup__chip {
  background: var(--v2-accent-tint);
  color: var(--v2-accent-press);
  font-size: 11px;
  font-weight: 700;
}

/* En-têtes de colonnes : réutilisent les mêmes styles que les drop-btn
   (les MetricDrop) — déjà du texte. Le label "Actions" devient gris foncé. */
.v2-feature .feat-hero__visual .v2-mockup__col-actions {
  color: var(--v2-fg-3);
}

/* Dropdowns (boutons de sélection de métrique) */
.v2-feature .feat-hero__visual .v2-mockup__drop-btn {
  background: var(--v2-ink-05);
  border-color: var(--border-subtle);
  color: var(--v2-fg-1);
}
.v2-feature .feat-hero__visual .v2-mockup__drop-btn:hover {
  background: var(--v2-accent-tint);
  border-color: rgba(255, 87, 34, 0.4);
  color: var(--v2-accent-press);
}
.v2-feature
  .feat-hero__visual
  .v2-mockup__drop-btn[data-headlessui-state="open"] {
  background: var(--v2-accent-tint);
  border-color: var(--v2-accent);
  color: var(--v2-accent-press);
}

/* Liste déroulante : fond blanc, texte sombre */
.v2-feature .feat-hero__visual .v2-mockup__drop-list {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 18px 40px -12px rgba(20, 20, 20, 0.18);
}
.v2-feature .feat-hero__visual .v2-mockup__drop-opt {
  color: var(--v2-fg-1);
}
.v2-feature .feat-hero__visual .v2-mockup__drop-opt.is-active {
  background: var(--v2-accent-tint);
  color: var(--v2-accent-press);
}
.v2-feature .feat-hero__visual .v2-mockup__drop-opt.is-selected {
  color: var(--v2-accent);
}

/* Cellules d'input (séries) — fond teinté, texte foncé pour rester lisible */
.v2-feature .feat-hero__visual .v2-mockup__cell {
  color: var(--v2-fg-1);
}
.v2-feature .feat-hero__visual .v2-mockup__cell::placeholder {
  color: var(--v2-fg-3);
}
.v2-feature .feat-hero__visual .v2-mockup__cell--1 {
  background: rgba(255, 87, 34, 0.14);
  color: var(--v2-accent-press);
}
.v2-feature .feat-hero__visual .v2-mockup__cell--2 {
  background: var(--v2-ink-05);
}
.v2-feature .feat-hero__visual .v2-mockup__cell--3 {
  background: rgba(80, 130, 220, 0.12);
  color: #2c4a82;
}
.v2-feature .feat-hero__visual .v2-mockup__cell--4 {
  background: rgba(140, 90, 220, 0.12);
  color: #5a3791;
}

/* Boutons d'actions (dupliquer / supprimer) */
.v2-feature .feat-hero__visual .v2-mockup__row-actions button {
  color: var(--v2-fg-3);
}
.v2-feature .feat-hero__visual .v2-mockup__row-actions button:hover {
  background: var(--v2-accent-tint);
  color: var(--v2-accent);
}
.v2-feature .feat-hero__visual .v2-mockup__row-actions button:disabled:hover {
  background: transparent;
  color: var(--v2-fg-3);
}

/* Bouton ajouter : déjà orange dashed, on garde mais on densifie le contraste */
.v2-feature .feat-hero__visual .v2-mockup__add {
  border-color: rgba(255, 87, 34, 0.6);
  color: var(--v2-accent);
}
.v2-feature .feat-hero__visual .v2-mockup__add:hover {
  background: var(--v2-accent-tint);
  border-color: var(--v2-accent);
}

@media (max-width: 880px) {
  .v2-feature .feat-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .v2-feature .feat-hero {
    padding-bottom: 56px;
  }
}

/* ---- Demo video ---- */
.v2-feature .feat-video {
  padding: 16px 0 64px;
}
.v2-feature .feat-video__container {
  max-width: 980px;
  margin: 0 auto;
}
.v2-feature .feat-video__head {
  margin-bottom: 22px;
}
.v2-feature .feat-video__title {
  font-family: var(--v2-font-display, inherit);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.015em;
  max-width: 36ch;
  margin: 10px 0 0;
}
.v2-feature .feat-video__frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--warm-dark);
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 60px -24px rgba(20, 20, 20, 0.45),
    0 8px 18px -6px rgba(20, 20, 20, 0.18);
  transition: transform 280ms ease, box-shadow 280ms ease;
  cursor: pointer;
}
.v2-feature .feat-video__frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 40px 80px -28px rgba(20, 20, 20, 0.55),
    0 12px 22px -8px rgba(20, 20, 20, 0.22);
}
.v2-feature .feat-video__poster {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 60% 50% at 70% 30%,
      rgba(255, 87, 34, 0.35) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, var(--warm-dark-2) 0%, var(--warm-dark) 100%);
}
.v2-feature .feat-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease;
}
.v2-feature .feat-video__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}
.v2-feature .feat-video__play svg {
  margin-left: 4px;
  color: var(--v2-accent);
}
.v2-feature .feat-video__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.v2-feature .feat-video__caption-title {
  font-weight: 600;
  font-size: 14px;
}
.v2-feature .feat-video__caption-time {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.v2-feature .feat-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 720px) {
  .v2-feature .feat-video__play {
    width: 68px;
    height: 68px;
  }
  .v2-feature .feat-video__caption {
    padding: 14px 16px;
  }
}

/* ---- Section base ---- */
.v2-feature .feat-section {
  padding: 80px 0;
  position: relative;
}
.v2-feature .feat-section--alt {
  background: var(--cream-2);
}
.v2-feature .feat-section__head {
  margin-bottom: 40px;
  max-width: 56ch;
}
.v2-feature .feat-section__title {
  font-family: var(--v2-font-display, inherit);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
  max-width: 22ch;
}
.v2-feature .feat-section__lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--v2-fg-2);
  max-width: 50ch;
  margin: 0;
}

/* ---- Benefits (3 cards) ---- */
.v2-feature .feat-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.v2-feature .feat-benefit {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  transition: transform 280ms ease, box-shadow 280ms ease,
    border-color 280ms ease;
}
.v2-feature .feat-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -16px rgba(20, 20, 20, 0.18);
}
.v2-feature .feat-benefit__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 87, 34, 0.1);
  color: var(--v2-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 280ms ease, background 280ms ease;
}
.v2-feature .feat-benefit:hover .feat-benefit__icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--v2-accent-tint);
}
.v2-feature .feat-benefit__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}
.v2-feature .feat-benefit__icon .feat-benefit__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(255, 87, 34, 0.18));
}
.v2-feature .feat-benefit__title {
  font-size: 17px;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--v2-fg-1);
}
.v2-feature .feat-benefit__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--v2-fg-2);
  margin: 0;
}
@media (max-width: 880px) {
  .v2-feature .feat-benefits {
    grid-template-columns: 1fr;
  }
}

/* ---- Steps (how it works) ---- */
.v2-feature .feat-steps {
  display: flex;
  flex-direction: column;
}
.v2-feature .feat-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
}
.v2-feature .feat-step:last-child {
  border-bottom: 1px solid var(--border-subtle);
}
.v2-feature .feat-step__num {
  font-family: var(--v2-font-display, inherit);
  font-size: 56px;
  font-weight: 800;
  line-height: 0.9;
  color: var(--v2-accent);
  letter-spacing: -0.04em;
}
.v2-feature .feat-step__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.v2-feature .feat-step__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--v2-fg-2);
  margin: 0;
}
@media (max-width: 640px) {
  .v2-feature .feat-step {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  .v2-feature .feat-step__num {
    font-size: 36px;
  }
}

/* ---- Testimonial (dark) ---- */
.v2-feature .feat-testimonial {
  position: relative;
  background: var(--warm-dark);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  overflow: hidden;
  isolation: isolate;
}
.v2-feature .feat-testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 50% at 100% 0%,
    rgba(255, 87, 34, 0.15) 0%,
    transparent 60%
  );
  z-index: 0;
}
.v2-feature .feat-testimonial__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.v2-feature .feat-testimonial__quote {
  font-family: var(--v2-font-display, inherit);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  margin: 0 0 28px;
}
.v2-feature .feat-testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.v2-feature .feat-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--v2-accent) 0%,
    var(--v2-accent-press) 100%
  );
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.v2-feature .feat-testimonial__avatar--img {
  background: var(--v2-ink-10);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.v2-feature .feat-testimonial__avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.v2-feature .feat-testimonial__name {
  font-size: 15px;
  font-weight: 700;
}
.v2-feature .feat-testimonial__role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.v2-feature .feat-testimonial__stats {
  display: grid;
  gap: 14px;
}
.v2-feature .feat-testimonial__stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
}
.v2-feature .feat-testimonial__stat-num {
  font-family: var(--v2-font-display, inherit);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.v2-feature .feat-testimonial__stat-num em {
  color: var(--v2-accent);
  font-style: normal;
}
.v2-feature .feat-testimonial__stat-label {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 880px) {
  .v2-feature .feat-testimonial {
    padding: 36px;
  }
  .v2-feature .feat-testimonial__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- Related modules (4 cards) ---- */
.v2-feature .feat-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.v2-feature .feat-related-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 280ms ease, border-color 280ms ease;
}
.v2-feature .feat-related-card:hover {
  border-color: var(--v2-ink-30);
  transform: translateY(-2px);
}
.v2-feature .feat-related-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--v2-ink-05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.v2-feature .feat-related-card__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
  color: var(--v2-fg-1);
}
.v2-feature .feat-related-card__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}
.v2-feature .feat-related-card__body {
  font-size: 12px;
  line-height: 1.4;
  color: var(--v2-fg-3);
  margin: 0;
}
@media (max-width: 880px) {
  .v2-feature .feat-related {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .v2-feature .feat-related {
    grid-template-columns: 1fr;
  }
}

/* ---- FAQ (uses native <details>) ---- */
.v2-feature .feat-faq {
  max-width: 760px;
  margin: 0 auto;
}
.v2-feature .feat-faq-item {
  border-top: 1px solid var(--border-subtle);
}
.v2-feature .feat-faq-item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}
.v2-feature .feat-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.v2-feature .feat-faq-item summary::-webkit-details-marker {
  display: none;
}
.v2-feature .feat-faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e6e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 240ms ease, filter 240ms ease;
}
.v2-feature .feat-faq-item[open] summary::after {
  transform: rotate(45deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5722' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}
.v2-feature .feat-faq-item__body {
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--v2-fg-2);
  max-width: 60ch;
}
.v2-feature .feat-faq-item__body p {
  margin: 0 0 12px;
}
.v2-feature .feat-faq-item__body p:last-child {
  margin: 0;
}

/* ---- CTA final (dark) ---- */
.v2-feature .feat-cta-final {
  position: relative;
  background: var(--warm-dark);
  color: #fff;
  padding: 88px 0;
  margin-top: 32px;
  overflow: hidden;
  isolation: isolate;
}
.v2-feature .feat-cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 40% 40% at 0% 100%,
      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-cta-final__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.v2-feature .feat-cta-final__title {
  font-family: var(--v2-font-display, inherit);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.v2-feature .feat-cta-final__lede {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 50ch;
  margin: 0 auto 32px;
}
.v2-feature .feat-cta-final__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================================
   PAGE SANTÉ — sections page-spécifiques
   Préfixe `feat-sante-*` ou `feat-health-*` pour scoping clair.
   ============================================================ */

/* ---- Hero badges flottants avec image (Apple Santé / Health Connect) ---- */
.v2-feature .feat-health-hero-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-fg-2);
  box-shadow: 0 8px 24px -8px rgba(20, 20, 20, 0.18);
  pointer-events: none;
  white-space: nowrap;
}
.v2-feature .feat-health-hero-badge img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}
.v2-feature .feat-health-hero-badge--tr {
  top: 42px;
  right: 32px;
  transform: rotate(3deg);
}
.v2-feature .feat-health-hero-badge--bl {
  bottom: 48px;
  left: 24px;
  transform: rotate(-4deg);
}
/* Reveal anim ne doit pas écraser la rotation finale */
.v2-feature .feat-health-hero-badge.feat-reveal {
  transform: translateY(28px);
}
.v2-feature .feat-health-hero-badge--tr.feat-reveal {
  transform: translateY(28px) rotate(3deg);
}
.v2-feature .feat-health-hero-badge--bl.feat-reveal {
  transform: translateY(28px) rotate(-4deg);
}
.v2-feature .feat-health-hero-badge--tr.feat-reveal.is-visible {
  transform: rotate(3deg);
}
.v2-feature .feat-health-hero-badge--bl.feat-reveal.is-visible {
  transform: rotate(-4deg);
}
@media (max-width: 720px) {
  .v2-feature .feat-health-hero-badge {
    font-size: 10px;
    padding: 6px 10px 6px 6px;
  }
  .v2-feature .feat-health-hero-badge img {
    width: 18px;
    height: 18px;
  }
}

/* ---- Mini-phone icon : support image (logo Apple Santé) ---- */
.v2-feature .feat-mini-phone__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Phone mockup vue santé (hero) ---- */
.v2-feature .feat-health-phone {
  position: relative;
  width: 300px;
  background: #000;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 70px -25px rgba(20, 20, 20, 0.4),
    0 10px 24px -10px rgba(20, 20, 20, 0.18);
  transform: rotate(-2deg);
}
.v2-feature .feat-health-phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.v2-feature .feat-health-phone__screen {
  background: #faf7f2;
  border-radius: 28px;
  overflow: hidden;
  height: 560px;
  display: flex;
  flex-direction: column;
}
.v2-feature .feat-health-phone__statusbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 22px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--v2-fg-1);
}
.v2-feature .feat-health-phone__statusbar-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.v2-feature .feat-health-phone__statusbar svg {
  width: 14px;
  height: 14px;
}
.v2-feature .feat-health-phone__hdr {
  padding: 8px 18px 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.v2-feature .feat-health-phone__back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--v2-fg-3);
  margin-bottom: 6px;
}
.v2-feature .feat-health-phone__back svg {
  width: 14px;
  height: 14px;
}
.v2-feature .feat-health-phone__title {
  font-family: var(--v2-font-display, inherit);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.v2-feature .feat-health-phone__subtitle {
  font-size: 11px;
  color: var(--v2-fg-3);
}
.v2-feature .feat-health-phone__chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
/* ---- Health phone : iOS-style micro-interactions ----
   Spring family (CSS linear() approximating Framer Motion springs):
   - --ios-spring  : stiffness 360, damping 30 — crisp, slight overshoot
   - --ios-soft    : stiffness 220, damping 26 — gentler, no overshoot
   Use transform/opacity only. */
.v2-feature .feat-health-phone {
  --ios-spring: linear(
    0,
    0.176 4%,
    0.524 9%,
    0.819 14%,
    1.014 19%,
    1.116 24%,
    1.142 29%,
    1.118 35%,
    1.066 42%,
    1.013 50%,
    0.985 60%,
    0.999 75%,
    1
  );
  --ios-soft: linear(
    0,
    0.116 6%,
    0.345 14%,
    0.6 24%,
    0.806 34%,
    0.94 46%,
    1.005 60%,
    1.014 72%,
    1.005 86%,
    1
  );
}
.v2-feature .feat-health-phone__chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: var(--v2-ink-05);
  color: var(--v2-fg-3);
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
@media (prefers-reduced-motion: no-preference) {
  .v2-feature .feat-health-phone__chip {
    transition: background 240ms var(--ios-soft), color 240ms var(--ios-soft),
      transform 220ms var(--ios-spring);
  }
}
.v2-feature .feat-health-phone__chip:hover {
  background: var(--v2-ink-10, rgba(0, 0, 0, 0.08));
  color: var(--v2-fg-2);
}
.v2-feature .feat-health-phone__chip:active {
  transform: scale(0.94);
}
.v2-feature .feat-health-phone__chip.is-active,
.v2-feature .feat-health-phone__chip.is-active:hover {
  background: var(--v2-accent);
  color: #fff;
}
.v2-feature .feat-health-phone__chip:focus-visible {
  outline: 2px solid var(--v2-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  /* Hover lift on cards (skill: y: -2, soft spring) */
  .v2-feature .feat-health-phone__mcard,
  .v2-feature .feat-health-phone__act {
    transition: transform 320ms var(--ios-soft),
      box-shadow 320ms var(--ios-soft);
  }
  .v2-feature .feat-health-phone__mcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -18px rgba(20, 14, 10, 0.22);
  }
  .v2-feature .feat-health-phone__act:hover {
    transform: translateX(3px);
  }
  /* Tap feedback iOS-style (whileTap scale 0.97 on cards, 0.94 on small) */
  .v2-feature .feat-health-phone__mcard:active {
    transform: scale(0.97);
    transition: transform 120ms var(--ios-spring);
  }
  .v2-feature .feat-health-phone__act:active {
    transform: scale(0.97);
    transition: transform 120ms var(--ios-spring);
  }

  /* Stagger reveal on period change — body remounts via key={period}
     Spring approximation gives the iOS "settling-in" feel. */
  .v2-feature .feat-health-phone__body .feat-health-phone__mcard,
  .v2-feature .feat-health-phone__body .feat-health-phone__act {
    animation: feat-health-ios-in 460ms var(--ios-spring) both;
  }
  .v2-feature .feat-health-phone__grid .feat-health-phone__mcard:nth-child(1) {
    animation-delay: 40ms;
  }
  .v2-feature .feat-health-phone__grid .feat-health-phone__mcard:nth-child(2) {
    animation-delay: 120ms;
  }
  .v2-feature .feat-health-phone__grid .feat-health-phone__mcard:nth-child(3) {
    animation-delay: 200ms;
  }
  .v2-feature .feat-health-phone__grid .feat-health-phone__mcard:nth-child(4) {
    animation-delay: 280ms;
  }
  .v2-feature .feat-health-phone__activities .feat-health-phone__act {
    animation-delay: calc(340ms + var(--act-i, 0) * 80ms);
  }
}
@keyframes feat-health-ios-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.v2-feature .feat-health-phone__body {
  flex: 1;
  padding: 14px;
  overflow: hidden;
}
.v2-feature .feat-health-phone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.v2-feature .feat-health-phone__mcard {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid var(--border-subtle);
  position: relative;
}
.v2-feature .feat-health-phone__mcard-hdr {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--v2-fg-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.v2-feature .feat-health-phone__mcard-hdr svg {
  width: 11px;
  height: 11px;
  color: var(--v2-accent);
}
.v2-feature .feat-health-phone__mcard-val {
  font-family: var(--v2-font-display, inherit);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.v2-feature .feat-health-phone__mcard-val sup {
  font-size: 10px;
  color: var(--v2-fg-3);
  font-weight: 600;
  margin-left: 2px;
}
.v2-feature .feat-health-phone__mcard-trend {
  font-size: 9px;
  font-weight: 600;
  margin-top: 2px;
}
.v2-feature .feat-health-phone__mcard-trend--up {
  color: #7bd896;
}
.v2-feature .feat-health-phone__mcard-trend--down {
  color: var(--v2-accent);
}
.v2-feature .feat-health-phone__mcard-trend--flat {
  color: var(--v2-fg-3);
}
.v2-feature .feat-health-phone__spark {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 42px;
  height: 18px;
}
.v2-feature .feat-health-phone__spark path {
  fill: none;
  stroke: var(--v2-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.v2-feature .feat-health-phone__spark--green path {
  stroke: #7bd896;
}
.v2-feature .feat-health-phone__act-hdr {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--v2-fg-3);
  margin-bottom: 6px;
  padding-left: 2px;
}
.v2-feature .feat-health-phone__act {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 5px;
}
.v2-feature .feat-health-phone__act-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--v2-accent-tint);
  color: var(--v2-accent-press);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.v2-feature .feat-health-phone__act-icon svg {
  width: 12px;
  height: 12px;
}
.v2-feature .feat-health-phone__act-main {
  flex: 1;
  min-width: 0;
}
.v2-feature .feat-health-phone__act-type {
  font-size: 11px;
  font-weight: 700;
  color: var(--v2-fg-1);
}
.v2-feature .feat-health-phone__act-sub {
  font-size: 9px;
  color: var(--v2-fg-3);
  font-family: var(--v2-font-mono, ui-monospace, monospace);
}
.v2-feature .feat-health-phone__act-dist {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 10px;
  color: var(--v2-fg-2);
  font-weight: 600;
}

/* ---- Sources — partenaires & marques compatibles ---- */
.v2-feature .feat-sources {
  padding: 88px 0 80px;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--border-subtle);
}
.v2-feature .feat-sources > .v2-container {
  position: relative;
  z-index: 1;
}
.v2-feature .feat-sources__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.v2-feature .feat-sources__head .feat-eyebrow {
  margin-bottom: 10px;
}
.v2-feature .feat-sources__title {
  font-family: var(--v2-font-display, inherit);
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.v2-feature .feat-sources__intro {
  font-size: 15px;
  color: var(--v2-fg-2);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 54ch;
}
.v2-feature .feat-sources__hubs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.v2-feature .feat-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 10px 20px 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 18px -10px rgba(20, 20, 20, 0.1);
}
.v2-feature .feat-hub-pill__logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
}
.v2-feature .feat-hub-pill__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.v2-feature .feat-hub-pill__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.v2-feature .feat-hub-pill__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--v2-fg-1);
  letter-spacing: -0.005em;
}
.v2-feature .feat-hub-pill__sub {
  font-size: 10.5px;
  color: var(--v2-fg-3);
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.v2-feature .feat-sources__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 22px;
  color: var(--v2-fg-3);
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 560px;
}
.v2-feature .feat-sources__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .v2-feature .feat-sources__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 480px) {
  .v2-feature .feat-sources__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.v2-feature .feat-source-tile {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
  text-align: center;
  min-height: 90px;
  justify-content: center;
}
.v2-feature .feat-source-tile:hover {
  transform: translateY(-3px);
  border-color: var(--v2-accent-tint);
  box-shadow: 0 12px 24px -14px rgba(20, 20, 20, 0.18);
}
.v2-feature .feat-source-tile__logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--v2-fg-1);
}
.v2-feature .feat-source-tile__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.v2-feature .feat-source-tile__logo svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
}
.v2-feature .feat-source-tile__name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--v2-fg-2);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.v2-feature .feat-sources__foot {
  text-align: center;
  margin: 24px auto 0;
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 12px;
  color: var(--v2-fg-3);
  letter-spacing: 0.02em;
  max-width: 50ch;
}

/* ---- Metrics grid (6 tuiles) ---- */
.v2-feature .feat-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 880px) {
  .v2-feature .feat-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .v2-feature .feat-metrics-grid {
    grid-template-columns: 1fr;
  }
}
.v2-feature .feat-metric-tile {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}
.v2-feature .feat-metric-tile:hover {
  transform: translateY(-3px);
  border-color: var(--v2-accent);
  box-shadow: 0 14px 30px -14px rgba(20, 20, 20, 0.14);
}
.v2-feature .feat-metric-tile__hdr {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 18px;
}
.v2-feature .feat-metric-tile__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--v2-accent-tint);
  color: var(--v2-accent-press);
  display: grid;
  place-items: center;
}
.v2-feature .feat-metric-tile__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}
.v2-feature .feat-metric-tile__icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(255, 87, 34, 0.18));
}
.v2-feature .feat-metric-tile__source {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v2-fg-3);
  background: var(--v2-ink-05);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.v2-feature .feat-metric-tile__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.v2-feature .feat-metric-tile__body {
  font-size: 13px;
  color: var(--v2-fg-2);
  line-height: 1.5;
  margin: 0 0 14px;
}
.v2-feature .feat-metric-tile__chart {
  height: 46px;
  position: relative;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--v2-accent-tint) 100%
  );
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.85;
}
.v2-feature .feat-metric-tile__chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.v2-feature .feat-metric-tile__chart path.line {
  fill: none;
  stroke: var(--v2-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.v2-feature .feat-metric-tile__chart path.fill {
  fill: rgba(255, 87, 34, 0.15);
  stroke: none;
}

/* ---- Coach callout dark ---- */
.v2-feature .feat-coach-callout {
  background: var(--warm-dark);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 880px) {
  .v2-feature .feat-coach-callout {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}
.v2-feature .feat-coach-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 50% at 100% 50%,
    rgba(255, 87, 34, 0.18) 0%,
    transparent 60%
  );
}
.v2-feature .feat-coach-callout > * {
  position: relative;
  z-index: 1;
}
.v2-feature .feat-coach-callout__title {
  font-family: var(--v2-font-display, inherit);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 12px 0 12px;
  line-height: 1.1;
}
.v2-feature .feat-coach-callout__lede {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 20px;
}
.v2-feature .feat-coach-callout__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.v2-feature .feat-coach-callout__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
}
.v2-feature .feat-coach-callout__list svg {
  width: 18px;
  height: 18px;
  color: var(--v2-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.v2-feature .feat-summary-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
}
.v2-feature .feat-summary-tile__hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.v2-feature .feat-summary-tile__pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7bd896;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}
.v2-feature .feat-summary-tile__client {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-bottom: 18px;
}
.v2-feature .feat-summary-tile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.v2-feature .feat-summary-cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
}
.v2-feature .feat-summary-cell__lbl {
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.v2-feature .feat-summary-cell__val {
  font-family: var(--v2-font-display, inherit);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.v2-feature .feat-summary-cell__val sup {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-left: 2px;
}
.v2-feature .feat-summary-cell__sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ---- Opt-in flow (côté client) ---- */
.v2-feature .feat-optin__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 880px) {
  .v2-feature .feat-optin__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.v2-feature .feat-optin__phone-wrap {
  position: relative;
  height: 480px;
  display: grid;
  place-items: center;
}
.v2-feature .feat-mini-phone {
  width: 240px;
  background: #000;
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 22px 50px -22px rgba(20, 20, 20, 0.4),
    0 8px 20px -8px rgba(20, 20, 20, 0.16);
  transform: rotate(-3deg);
}
.v2-feature .feat-mini-phone__screen {
  background: #faf7f2;
  border-radius: 24px;
  overflow: hidden;
  height: 440px;
  padding: 18px;
}
.v2-feature .feat-mini-phone__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  margin: 14px auto 18px;
  padding: 6px;
  font-size: 28px;
}
.v2-feature .feat-mini-phone__title {
  text-align: center;
  font-family: var(--v2-font-display, inherit);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.v2-feature .feat-mini-phone__sub {
  text-align: center;
  font-size: 11px;
  color: var(--v2-fg-3);
  line-height: 1.4;
  margin-bottom: 18px;
}
.v2-feature .feat-mini-phone__list {
  display: grid;
  gap: 6px;
  font-size: 11px;
}
.v2-feature .feat-mini-phone__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  color: var(--v2-fg-1);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.v2-feature .feat-mini-phone__row--off {
  background: rgba(26, 26, 26, 0.03);
  color: var(--v2-fg-3);
  border-color: rgba(26, 26, 26, 0.04);
  text-decoration: line-through;
  text-decoration-color: rgba(26, 26, 26, 0.25);
  text-decoration-thickness: 1px;
}
.v2-feature .feat-mini-phone__toggle {
  margin-left: auto;
  width: 26px;
  height: 14px;
  background: var(--v2-accent);
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 180ms ease;
}
.v2-feature .feat-mini-phone__toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 1px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  transition: left 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-feature .feat-mini-phone__toggle:focus-visible {
  outline: 2px solid var(--v2-accent);
  outline-offset: 2px;
}
.v2-feature .feat-mini-phone__toggle--off {
  background: rgba(26, 26, 26, 0.18);
}
.v2-feature .feat-mini-phone__toggle--off::after {
  left: 1px;
}
.v2-feature .feat-optin__steps {
  display: grid;
  gap: 20px;
}
.v2-feature .feat-optin-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
.v2-feature .feat-optin-step__num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--v2-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--v2-font-display, inherit);
  font-weight: 800;
  font-size: 14px;
}
.v2-feature .feat-optin-step__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.v2-feature .feat-optin-step__body {
  margin: 0;
  font-size: 14px;
  color: var(--v2-fg-2);
  line-height: 1.5;
}

/* ---- Privacy bridge ---- */
.v2-feature .feat-privacy {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .v2-feature .feat-privacy {
    grid-template-columns: 1fr;
  }
}

/* --- Carte gauche : engagement émotionnel + sigil + tampon --- */
.v2-feature .feat-privacy__card {
  background: var(--v2-accent-tint);
  border: 1px solid var(--v2-accent);
  border-radius: 24px;
  padding: 40px 44px 56px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 280ms ease;
}
.v2-feature .feat-privacy__card:hover {
  box-shadow: 0 20px 44px -22px rgba(255, 87, 34, 0.35);
}
.v2-feature .feat-privacy__sigil {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 200px;
  height: 200px;
  color: rgba(255, 87, 34, 0.1);
  pointer-events: none;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-feature .feat-privacy__sigil svg {
  width: 100%;
  height: 100%;
}
.v2-feature .feat-privacy__card:hover .feat-privacy__sigil {
  transform: rotate(8deg) scale(1.05);
}
.v2-feature .feat-privacy__card > * {
  position: relative;
}
.v2-feature .feat-privacy__title {
  font-family: var(--v2-font-display, inherit);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
  line-height: 1.1;
}
.v2-feature .feat-privacy__lede {
  color: var(--v2-fg-2);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 46ch;
}
.v2-feature .feat-privacy__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.v2-feature .feat-privacy__list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-feature .feat-privacy__list li:hover {
  transform: translateX(4px);
}
.v2-feature .feat-privacy__list svg {
  width: 18px;
  height: 18px;
  color: var(--v2-accent);
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-feature .feat-privacy__list li:hover svg {
  transform: rotate(-8deg) scale(1.15);
}
.v2-feature .feat-privacy__stamp {
  position: absolute;
  bottom: 14px;
  right: 22px;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 24px;
  color: var(--v2-accent);
  transform: rotate(-8deg);
  pointer-events: none;
  letter-spacing: 0.02em;
}

/* --- Carte droite : principes (3 « ce qu'on ne fait pas ») --- */
.v2-feature .feat-principles {
  background: linear-gradient(180deg, #faf7f2 0%, #f3eee5 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 32px 32px 28px;
  display: grid;
  gap: 14px;
  align-content: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 880px) {
  .v2-feature .feat-principles {
    padding: 16px 16px 14px;
  }
}

.v2-feature .feat-principles__promise {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 22px;
  color: var(--v2-accent);
  transform: rotate(-6deg);
  pointer-events: none;
  letter-spacing: 0.02em;
}
.v2-feature .feat-principles__head {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}
.v2-feature .feat-principles__lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 12px;
  color: var(--v2-fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.v2-feature .feat-principles__lbl::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--v2-accent);
  animation: v2-feat-pulse-dot 1.6s ease-in-out infinite;
}
@keyframes v2-feat-pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}
@media (prefers-reduced-motion: reduce) {
  .v2-feature .feat-principles__lbl::before {
    animation: none;
  }
}
.v2-feature .feat-principles__title {
  font-family: var(--v2-font-display, inherit);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--v2-fg-1);
}
.v2-feature .feat-principle {
  padding: 16px 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease, box-shadow 240ms ease;
}
.v2-feature .feat-principle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--v2-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-feature .feat-principle:hover {
  transform: translateX(4px);
  border-color: rgba(255, 87, 34, 0.3);
  box-shadow: 0 10px 24px -16px rgba(255, 87, 34, 0.4);
}
.v2-feature .feat-principle:hover::before {
  transform: scaleY(1);
}
.v2-feature .feat-principle__badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--v2-accent-tint);
  color: var(--v2-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-feature .feat-principle__badge svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}
.v2-feature .feat-principle:hover .feat-principle__badge {
  transform: rotate(90deg) scale(1.08);
}
.v2-feature .feat-principle__main {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.v2-feature .feat-principle__neg {
  display: inline-block;
  align-self: start;
  color: var(--v2-accent);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 87, 34, 0.5);
  font-size: 10.5px;
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.v2-feature .feat-principle__pos {
  font-size: 14.5px;
  color: var(--v2-fg-1);
  font-weight: 500;
  line-height: 1.4;
}
.v2-feature .feat-principles__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: var(--v2-fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.v2-feature .feat-principles__foot svg {
  width: 14px;
  height: 14px;
  color: var(--v2-accent);
  flex-shrink: 0;
}

/* ---- Roadmap V1 / V2 ---- */
.v2-feature .feat-roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 880px) {
  .v2-feature .feat-roadmap-grid {
    grid-template-columns: 1fr;
  }
}
.v2-feature .feat-roadmap-col {
  border-radius: 20px;
  padding: 32px;
  background: #fff;
}
.v2-feature .feat-roadmap-col--now {
  background: var(--v2-accent-tint);
  border: 1px solid var(--v2-accent);
}
.v2-feature .feat-roadmap-col--next {
  background: #faf7f2;
  border: 1px solid var(--border-subtle);
}
.v2-feature .feat-roadmap-col__tag {
  display: inline-block;
  font-family: var(--v2-font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.v2-feature .feat-roadmap-col--now .feat-roadmap-col__tag {
  background: var(--v2-accent);
  color: #fff;
}
.v2-feature .feat-roadmap-col--next .feat-roadmap-col__tag {
  background: var(--v2-ink-05);
  color: var(--v2-fg-3);
}
.v2-feature .feat-roadmap-col__title {
  font-family: var(--v2-font-display, inherit);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.v2-feature .feat-roadmap-col__sub {
  font-size: 13px;
  color: var(--v2-fg-3);
  margin: 0 0 18px;
}
.v2-feature .feat-roadmap-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.v2-feature .feat-roadmap-col__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}
.v2-feature .feat-roadmap-col__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.v2-feature .feat-roadmap-col--now .feat-roadmap-col__list svg {
  color: var(--v2-accent);
}
.v2-feature .feat-roadmap-col--next .feat-roadmap-col__list {
  color: var(--v2-fg-2);
}
.v2-feature .feat-roadmap-col--next .feat-roadmap-col__list svg {
  color: var(--v2-fg-3);
}

/* ---- Section backgrounds (shared utilities used by SectionBg) ---- */
.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;
}
.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);
}
.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;
}
.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;
}
