/* Page d'accueil.
 *
 * Feuille distincte de landing.css, que onze autres pages chargent : y
 * toucher reviendrait à redessiner le tableau de bord et les pages légales.
 * Toutes les classes sont préfixées « lp- » pour la même raison.
 *
 * Mouvement : chaque état de départ (masqué, décalé) vit sous html.lp-js,
 * classe posée dans <head> seulement si IntersectionObserver existe et que le
 * visiteur n'a pas demandé moins de mouvement. Sans elle, la page s'affiche
 * telle quelle, dans son état final. On n'anime que transform, opacity et
 * stroke-dashoffset — jamais une propriété qui recalcule la mise en page.
 */

.lp {
  --lp-bg: #ffffff;
  --lp-bg-subtle: #fafafa;
  --lp-text: #0a0a0a;
  --lp-muted: #52525b;
  --lp-faint: #a1a1aa;
  --lp-border: #e4e4e7;
  --lp-border-strong: #d4d4d8;
  --lp-accent: #fe2c55;
  --lp-accent-hover: #e0193e;
  --lp-accent-soft: rgba(254, 44, 85, .09);
  --lp-green: #16a34a;
  --lp-green-soft: rgba(22, 163, 74, .1);

  /* Mêmes valeurs que app.css, pour que la page et le produit coïncident. */
  --lp-r-md: 10px;
  --lp-r-lg: 14px;
  --lp-r-full: 999px;

  --lp-2: 8px;
  --lp-3: 12px;
  --lp-4: 16px;
  --lp-5: 20px;
  --lp-6: 24px;
  --lp-8: 32px;
  --lp-12: 48px;
  --lp-16: 64px;
  --lp-24: 96px;

  --lp-shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .16);
  --lp-max: 1080px;
  --lp-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;

  /* Une seule courbe pour presque tout : départ vif, arrivée posée. */
  --lp-ease: cubic-bezier(.16, 1, .3, 1);
  --lp-ease-pop: cubic-bezier(.34, 1.5, .64, 1);

  color: var(--lp-text);
  line-height: 1.55;
}

.lp-mono {
  font-family: var(--lp-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lp-faint);
}

/* ─── Rythme commun ─────────────────────────────────────────────────────── */

.lp-section {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: var(--lp-24) var(--lp-6);
}

.lp-band {
  background: var(--lp-bg-subtle);
  border-block: 1px solid var(--lp-border);
}

.lp-head { margin-bottom: var(--lp-12); }
.lp-head--center { text-align: center; }
.lp-head--center .lp-sub { margin-inline: auto; }

.lp-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-accent);
  margin: 0 0 var(--lp-3);
}

.lp-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 var(--lp-3);
}

.lp-sub {
  font-size: 16px;
  color: var(--lp-muted);
  margin: 0;
  max-width: 56ch;
}

/* ─── En-tête ───────────────────────────────────────────────────────────── */

.lp-hero {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: var(--lp-16) var(--lp-6) var(--lp-12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: var(--lp-12);
  align-items: center;
}

.lp-h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 54px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0 0 var(--lp-5);
}
.lp-line { display: block; }

.lp-hero-sub {
  font-size: 17px;
  color: var(--lp-muted);
  margin: 0 0 var(--lp-8);
  max-width: 44ch;
}

.lp-cta-row {
  display: flex;
  align-items: center;
  gap: var(--lp-3);
  flex-wrap: wrap;
}

.lp-note {
  margin: var(--lp-4) 0 0;
  font-size: 13px;
  color: var(--lp-faint);
}

/* ─── Boutons ───────────────────────────────────────────────────────────── */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lp-2);
  padding: 12px var(--lp-6);
  border-radius: var(--lp-r-md);
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, translate .15s;
}
.lp-btn--primary { background: var(--lp-accent); color: #fff; }
.lp-btn--primary:hover { background: var(--lp-accent-hover); }
.lp-btn--outline { border-color: var(--lp-border-strong); color: var(--lp-text); background: #fff; }
.lp-btn--outline:hover { border-color: var(--lp-text); }
.lp-btn:active { translate: 0 1px; }

/* ─── Visuel d'en-tête : un écran qui publie ────────────────────────────── */

.lp-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

/* Halo derrière l'écran : donne de la profondeur sans second téléphone. */
.lp-hero-visual::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(254, 44, 85, .14), rgba(254, 44, 85, 0));
}

.lp-device {
  position: relative;
  /* L'interface de TikTok aligne à gauche, même quand l'en-tête se centre. */
  text-align: left;
  width: 236px;
  aspect-ratio: 9 / 19;
  padding: 7px;
  border-radius: 36px;
  background: #0b0b0c;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .08),
    0 40px 70px -30px rgba(16, 24, 40, .45),
    0 18px 30px -18px rgba(16, 24, 40, .3);
}

.lp-device-screen {
  position: relative;
  height: 100%;
  border-radius: 29px;
  overflow: hidden;
  background: #111;
}

.lp-segs {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.lp-seg {
  flex: 1;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
}
.lp-seg-fill {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.lp-seg.is-done .lp-seg-fill,
.lp-seg.is-active .lp-seg-fill { transform: scaleX(1); }

.lp-track {
  display: flex;
  height: 100%;
  transition: transform .75s cubic-bezier(.65, 0, .35, 1);
}
.lp-track.is-instant { transition: none; }

.lp-slide {
  flex: 0 0 100%;
  height: 100%;
  background: #111;
}
/* Comme TikTok en mode photo : l'image entière, en largeur, sur fond noir.
   « cover » rognait les côtés du slide (9:16) dans un écran plus étroit. */
.lp-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Un voile en haut pour que la barre de progression reste lisible sur
   n'importe quelle image. */
.lp-device-screen::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 64px;
  z-index: 2;
  background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.lp-rail {
  position: absolute;
  right: 9px;
  bottom: 88px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
}
.lp-rail i { display: grid; place-items: center; width: 28px; height: 28px; opacity: .92; }

.lp-device-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 26px 50px 14px 14px;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
}
.lp-handle { font-weight: 700; font-size: 12px; }
.lp-caption { opacity: .92; line-height: 1.35; }
.lp-sound { opacity: .72; font-size: 10.5px; }

.lp-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px -12px rgba(16, 24, 40, .28);
  white-space: nowrap;
}
.lp-float i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--lp-accent-soft);
  color: var(--lp-accent);
}
.lp-float--ok i { background: var(--lp-green-soft); color: var(--lp-green); }
.lp-float b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.lp-float small { display: block; font-size: 11px; color: var(--lp-muted); }
.lp-float--a { top: 15%; left: 2%; }
.lp-float--b { bottom: 17%; right: 0; }

/* ─── Bande de chiffres ─────────────────────────────────────────────────── */

.lp-stats {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: var(--lp-8) var(--lp-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--lp-8);
  text-align: center;
}
.lp-stat b {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
  display: block;
}
.lp-stat span { font-size: 13px; color: var(--lp-muted); }

/* ─── Sections texte / visuel ───────────────────────────────────────────── */

.lp-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--lp-16);
  align-items: center;
}
/* L'ordre visuel s'inverse, pas l'ordre du document : un lecteur d'écran
   garde le texte avant son illustration. */
.lp-feature--flip > :first-child { order: 2; }

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--lp-2);
  margin: 0 0 var(--lp-5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lp-accent);
}
.lp-kicker i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--lp-accent-soft);
}

.lp-feature h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 var(--lp-4);
}
.lp-feature h2 em { font-style: normal; color: var(--lp-accent); }

.lp-feature p {
  font-size: 16px;
  color: var(--lp-muted);
  margin: 0 0 var(--lp-6);
  max-width: 46ch;
}

.lp-stage {
  position: relative;
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(254, 44, 85, .05), rgba(254, 44, 85, 0)),
    linear-gradient(180deg, #ffffff, #f7f7f8);
  padding: var(--lp-8);
  min-height: 400px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* ── Le flux : un contenu, converti, publié ── */

.lp-flow {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 440 / 380;
}
/* Le seul SVG enfant direct : « .lp-flow svg » atteignait aussi les icônes
   des cartes, qui s'étiraient alors sur toute la carte. */
.lp-flow > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lp-path {
  fill: none;
  stroke: #d4d4d8;
  stroke-width: 1.5;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
}
.lp-path--muted { stroke: #e4e4e7; }
.lp-particle { fill: var(--lp-accent); }
/* Sans lp-js, les particules ne démarrent jamais : autant ne pas les montrer. */
html:not(.lp-js) .lp-particle { display: none; }

.lp-node { position: absolute; translate: -50% -50%; }

.lp-src {
  left: 50%;
  top: 13%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  box-shadow: var(--lp-shadow-card);
  white-space: nowrap;
}
.lp-src-thumbs { display: flex; gap: 3px; }
.lp-src-thumbs img {
  display: block;
  width: 13px;
  height: 22px;
  border-radius: 3px;
  object-fit: cover;
  background: #e4e4e7;
}
.lp-src b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.lp-src small { display: block; font-size: 11px; color: var(--lp-muted); }

.lp-hub {
  left: 50%;
  top: 45%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--lp-accent);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(254, 44, 85, .6), 0 0 0 6px rgba(254, 44, 85, .08);
}
.lp-hub-label {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  translate: -50% 0;
  font-family: var(--lp-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lp-faint);
  /* Masque le pointillé qui passe dessous. */
  padding: 1px 5px;
  border-radius: 4px;
  background: #f9f9fa;
}

.lp-dest {
  top: 82%;
  width: 30%;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  box-shadow: var(--lp-shadow-card);
}
.lp-dest--tt { left: 17%; }
.lp-dest--ig { left: 50%; }
.lp-dest--yt { left: 83%; }
.lp-dest--soon { border-style: dashed; background: #fcfcfc; box-shadow: none; }
.lp-dest-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
}
.lp-dest-fmt { display: block; margin: 2px 0 8px; font-size: 11px; color: var(--lp-muted); }
.lp-dest--soon .lp-dest-head,
.lp-dest--soon .lp-dest-fmt { color: var(--lp-faint); }

.lp-status { display: grid; font-size: 11px; font-weight: 600; }
.lp-status > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; }
.lp-status-done { color: var(--lp-green); transform-origin: left center; }
/* Spécificité égale à « .lp-status > span », qui sinon le réaffichait :
   sans JavaScript, « Publishing » et « Published » se superposaient. */
.lp-status > .lp-status-pending { display: none; color: var(--lp-muted); }
.lp-status-soon { color: var(--lp-faint); font-weight: 500; }
.lp-spin {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
}

/* ── La semaine ── */

.lp-week {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  box-shadow: var(--lp-shadow-card);
  overflow: hidden;
}
.lp-week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--lp-border);
  font-size: 13px;
  font-weight: 600;
}
.lp-week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.lp-day {
  position: relative;
  min-height: 210px;
  padding: 8px 5px;
  border-right: 1px solid #f1f1f3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-day:last-child { border-right: 0; }
.lp-day > small {
  position: relative;
  font-family: var(--lp-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--lp-faint);
}
.lp-day.is-today::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--lp-accent-soft), rgba(254, 44, 85, 0) 75%);
}
.lp-day.is-today > small { color: var(--lp-accent); }

.lp-post {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ececef;
  box-shadow: 0 2px 6px -3px rgba(16, 24, 40, .12);
}
.lp-post > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 0 2px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--lp-muted);
  font-variant-numeric: tabular-nums;
}

/* Fond neutre pendant le chargement : la vignette ne saute pas. */
.lp-thumb {
  display: block;
  width: 100%;
  height: 42px;
  border-radius: 5px;
  object-fit: cover;
  object-position: center 30%;
  background: #ececef;
}

/* ── La courbe ── */

.lp-chart-card {
  width: 100%;
  max-width: 440px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  box-shadow: var(--lp-shadow-card);
}
.lp-chart-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lp-chart-head .lp-thumb { width: 28px; height: 38px; flex-shrink: 0; }
.lp-chart-head b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.lp-chart-head small { display: block; margin-top: 2px; }

.lp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.lp-metric { padding: 8px 10px; border: 1px solid #f1f1f3; border-radius: 10px; }
.lp-metric small { display: block; font-size: 10.5px; color: var(--lp-muted); }
.lp-metric b {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.lp-chart svg { display: block; width: 100%; height: auto; }
.lp-grid line { stroke: #f1f1f3; stroke-width: 1; }
.lp-area { fill: url(#lp-area-fill); }
.lp-line {
  fill: none;
  stroke: var(--lp-accent);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.lp-dot { fill: #fff; stroke: var(--lp-accent); stroke-width: 2.25; }
.lp-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--lp-mono);
  font-size: 10px;
  color: var(--lp-faint);
}

/* ─── Plateformes ───────────────────────────────────────────────────────── */

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lp-3);
  justify-content: center;
}
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--lp-2);
  padding: 9px var(--lp-4);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-full);
  background: var(--lp-bg);
  font-size: 14px;
  font-weight: 500;
}
.lp-chip--soon { color: var(--lp-faint); border-style: dashed; }

/* ─── Limites ───────────────────────────────────────────────────────────── */

.lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--lp-6);
}
.lp-step {
  padding: var(--lp-6);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-lg);
  background: var(--lp-bg);
}
.lp-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 var(--lp-2);
}
.lp-step p { margin: 0; font-size: 14px; color: var(--lp-muted); }

/* ─── Tarifs ────────────────────────────────────────────────────────────── */

.lp-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--lp-6);
  max-width: 740px;
  margin: 0 auto;
}
.lp-price {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-lg);
  padding: var(--lp-8);
  background: var(--lp-bg);
  display: flex;
  flex-direction: column;
}
.lp-price--featured {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 1px var(--lp-accent);
}
.lp-price-head {
  display: flex;
  align-items: center;
  gap: var(--lp-3);
  margin-bottom: var(--lp-2);
}
.lp-price-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.lp-tag {
  background: var(--lp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--lp-r-full);
}
.lp-price-desc { font-size: 14px; color: var(--lp-muted); margin: 0 0 var(--lp-6); }
.lp-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.lp-period { font-size: 14px; color: var(--lp-muted); }
.lp-price-note { font-size: 13px; color: var(--lp-faint); margin: var(--lp-2) 0 var(--lp-6); }
.lp-feats {
  list-style: none;
  margin: var(--lp-6) 0 0;
  padding: var(--lp-6) 0 0;
  border-top: 1px solid var(--lp-border);
  display: flex;
  flex-direction: column;
  gap: var(--lp-3);
}
.lp-feats li { display: flex; align-items: flex-start; gap: var(--lp-2); font-size: 14px; }
.lp-feats svg { color: var(--lp-accent); flex-shrink: 0; margin-top: 3px; }

/* ─── Questions ─────────────────────────────────────────────────────────── */

.lp-faq {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--lp-2);
}
.lp-faq details {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-md);
  background: var(--lp-bg);
  padding: var(--lp-4) var(--lp-5);
}
.lp-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--lp-4);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--lp-faint); font-weight: 400; font-size: 18px; line-height: 1; }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq p { margin: var(--lp-3) 0 0; font-size: 14px; color: var(--lp-muted); }

/* ─── Appel final ───────────────────────────────────────────────────────── */

.lp-final {
  text-align: center;
  padding: var(--lp-24) var(--lp-6);
  border-top: 1px solid var(--lp-border);
}
.lp-final .lp-cta-row { justify-content: center; }

/* ─── Survol ────────────────────────────────────────────────────────────────
 * La propriété translate, et non transform : la révélation au défilement
 * pilote transform, et l'une écraserait l'autre. */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lp-step, .lp-price, .lp-chip {
    transition: translate .25s var(--lp-ease), border-color .2s ease, box-shadow .25s ease;
  }
  .lp-step:hover, .lp-chip:hover { translate: 0 -2px; border-color: var(--lp-border-strong); }
  .lp-price:hover { translate: 0 -3px; box-shadow: 0 14px 32px -14px rgba(16, 24, 40, .22); }
  .lp-price--featured:hover { box-shadow: 0 0 0 1px var(--lp-accent), 0 14px 32px -14px rgba(16, 24, 40, .22); }
}

/* ═══ Mouvement ═════════════════════════════════════════════════════════════
 * Tout ce qui suit n'existe que sous html.lp-js. */

/* ── Ouverture : le titre ligne à ligne, puis l'écran, puis les étiquettes ── */

@keyframes lp-rise   { from { opacity: 0; transform: translateY(16px); } }
@keyframes lp-device { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes lp-pop    { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes lp-bob    { 50% { transform: translateY(-5px); } }
@keyframes lp-fill   { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lp-rot    { to { transform: rotate(360deg); } }

html.lp-js .lp-hero-copy > *,
html.lp-js .lp-line { animation: lp-rise .8s var(--lp-ease) both; }
html.lp-js .lp-line:nth-child(1) { animation-delay: .05s; }
html.lp-js .lp-line:nth-child(2) { animation-delay: .14s; }
html.lp-js .lp-hero-copy > .lp-h1 { animation: none; }
html.lp-js .lp-hero-sub { animation-delay: .26s; }
html.lp-js .lp-hero-copy > .lp-cta-row { animation-delay: .34s; }
html.lp-js .lp-note { animation-delay: .42s; }

html.lp-js .lp-device { animation: lp-device 1s var(--lp-ease) .18s both; }
html.lp-js .lp-float--a { animation: lp-pop .7s var(--lp-ease-pop) .8s both, lp-bob 5.5s ease-in-out 1.6s infinite; }
html.lp-js .lp-float--b { animation: lp-pop .7s var(--lp-ease-pop) 1s both, lp-bob 6.5s ease-in-out 2s infinite; }

html.lp-js .lp-seg.is-active .lp-seg-fill { animation: lp-fill 2.8s linear both; }

/* Hors écran ou onglet masqué : le script pose is-paused. */
html.lp-js .lp-hero-visual.is-paused,
html.lp-js .lp-hero-visual.is-paused * { animation-play-state: paused; }

/* ── Révélation au défilement : un seul niveau, jamais de double fondu ── */

html.lp-js .lp-head[data-reveal] > *,
html.lp-js .lp-feature[data-reveal] > :first-child > *,
html.lp-js .lp-stats[data-reveal] > *,
html.lp-js .lp-steps[data-reveal] > *,
html.lp-js .lp-chips[data-reveal] > *,
html.lp-js .lp-prices[data-reveal] > *,
html.lp-js .lp-faq[data-reveal] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--lp-ease), transform .8s var(--lp-ease);
  transition-delay: calc(var(--lp-i, 0) * 70ms);
}
html.lp-js .lp-head[data-reveal].is-in > *,
html.lp-js .lp-feature[data-reveal].is-in > :first-child > *,
html.lp-js .lp-stats[data-reveal].is-in > *,
html.lp-js .lp-steps[data-reveal].is-in > *,
html.lp-js .lp-chips[data-reveal].is-in > *,
html.lp-js .lp-prices[data-reveal].is-in > *,
html.lp-js .lp-faq[data-reveal].is-in > * {
  opacity: 1;
  transform: none;
}

html.lp-js .lp-feature[data-reveal] .lp-stage {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .7s var(--lp-ease) .08s, transform 1s var(--lp-ease) .08s;
}
html.lp-js .lp-feature[data-reveal].is-in .lp-stage { opacity: 1; transform: none; }

/* ── Le flux se construit dans l'ordre du récit : contenu, Looppost, plateformes ── */

html.lp-js .lp-flow .lp-src {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .5s var(--lp-ease) .3s, transform .7s var(--lp-ease) .3s;
}
html.lp-js .lp-flow .lp-path { opacity: 0; transition: opacity .6s ease .45s; }
html.lp-js .lp-flow .lp-hub {
  opacity: 0;
  transform: scale(.7);
  transition: opacity .4s ease .5s, transform .7s var(--lp-ease-pop) .5s;
}
html.lp-js .lp-flow .lp-dest {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--lp-ease), transform .7s var(--lp-ease);
}
html.lp-js .lp-flow .lp-dest--tt { transition-delay: .7s; }
html.lp-js .lp-flow .lp-dest--ig { transition-delay: .78s; }
html.lp-js .lp-flow .lp-dest--yt { transition-delay: .86s; }

html.lp-js .is-in .lp-flow .lp-src,
html.lp-js .is-in .lp-flow .lp-path,
html.lp-js .is-in .lp-flow .lp-hub,
html.lp-js .is-in .lp-flow .lp-dest { opacity: 1; transform: none; }

/* Le statut passe de « Publishing » à « Published », plateforme après
   plateforme. Sans lp-js, seul « Published » existe. */
html.lp-js .lp-flow .lp-status > .lp-status-pending { display: inline-flex; }
html.lp-js .lp-flow .lp-status-done { opacity: 0; transform: scale(.8); }
html.lp-js .lp-flow .lp-spin { animation: lp-rot .8s linear 4; }
html.lp-js .is-in .lp-flow .lp-status-pending { opacity: 0; transition: opacity .2s ease var(--d, 1.3s); }
html.lp-js .is-in .lp-flow .lp-status-done {
  opacity: 1;
  transform: none;
  transition: opacity .25s ease var(--d, 1.3s), transform .5s var(--lp-ease-pop) var(--d, 1.3s);
}

/* ── La semaine se remplit, publication après publication ── */

html.lp-js .lp-week .lp-post {
  opacity: 0;
  transform: translateY(-12px) scale(.94);
  transition: opacity .35s ease, transform .6s var(--lp-ease-pop);
  transition-delay: calc(.5s + var(--i, 0) * 120ms);
}
html.lp-js .is-in .lp-week .lp-post { opacity: 1; transform: none; }
html.lp-js .lp-week .lp-day.is-today::before { opacity: 0; transition: opacity .8s ease .35s; }
html.lp-js .is-in .lp-week .lp-day.is-today::before { opacity: 1; }

/* ── La courbe se trace, puis le point se pose ── */

html.lp-js .lp-metric {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .6s var(--lp-ease);
  transition-delay: calc(.35s + var(--i, 0) * 80ms);
}
html.lp-js .is-in .lp-metric { opacity: 1; transform: none; }
html.lp-js .lp-chart .lp-line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.65, 0, .35, 1) .5s; }
html.lp-js .is-in .lp-chart .lp-line { stroke-dashoffset: 0; }
html.lp-js .lp-chart .lp-area { opacity: 0; transition: opacity .9s ease 1.3s; }
html.lp-js .is-in .lp-chart .lp-area { opacity: 1; }
html.lp-js .lp-chart .lp-dot {
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .2s ease 1.9s, transform .55s var(--lp-ease-pop) 1.9s;
}
html.lp-js .is-in .lp-chart .lp-dot { opacity: 1; transform: none; }

/* Filets de sécurité : le réglage changé en cours de visite, et l'impression. */
@media (prefers-reduced-motion: reduce) {
  html.lp-js *, html.lp-js *::before { animation: none !important; transition: none !important; }
}
@media print {
  html.lp-js * { opacity: 1 !important; transform: none !important; }
}

/* ─── Écrans étroits ────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .lp-hero {
    grid-template-columns: 1fr;
    gap: var(--lp-8);
    padding-top: var(--lp-12);
    text-align: center;
  }
  .lp-hero-sub { margin-inline: auto; }
  .lp-cta-row { justify-content: center; }
  .lp-hero-visual { min-height: 520px; }
  .lp-feature { grid-template-columns: 1fr; gap: var(--lp-8); }
  .lp-feature--flip > :first-child { order: 0; }
  .lp-stage { min-height: 0; padding: var(--lp-5); }
}

@media (max-width: 640px) {
  .lp-section { padding: var(--lp-16) var(--lp-5); }
  /* Empilés, les quatre chiffres occupaient tout un écran. */
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lp-6) var(--lp-4); }
  .lp-device { width: 220px; }
  .lp-hero-visual::before { width: 320px; height: 320px; }
  .lp-float { padding: 6px 10px 6px 6px; gap: 8px; }
  .lp-float i { width: 24px; height: 24px; }
  .lp-float--a { left: 0; top: 10%; }
  .lp-float--b { right: 0; bottom: 12%; }
  .lp-src { padding: 6px 9px 6px 6px; gap: 8px; }
  .lp-dest { padding: 7px; }
  .lp-dest-head { font-size: 11px; gap: 4px; }
  .lp-dest-fmt, .lp-status { font-size: 10px; }
  .lp-day { min-height: 170px; padding: 6px 3px; }
  .lp-thumb { height: 32px; }
  .lp-post > span { font-size: 8.5px; }
  .lp-post > span svg { display: none; }
}
