/* ==========================================================================
   pAIsteque : page /drh (cockpit RH)
   Page d'atterrissage de la carte postale envoyée aux DRH.
   S'appuie sur styles.css ; le fond de pépins vient de stage.js.
   ========================================================================== */

@property --bg-a { syntax: '<color>'; inherits: true; initial-value: #FF9A76; }
@property --bg-b { syntax: '<color>'; inherits: true; initial-value: #C9B6F2; }

body.lp { background: var(--pink); }
.lp section[id], .lp [id="demo"] { scroll-margin-top: 96px; }

/* fond : mêmes pépins et mêmes halos que la page d'accueil */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }
.bg-tint {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 18% 12%, #FF9A76 0%, transparent 70%),
    radial-gradient(55% 65% at 85% 88%, #C9B6F2 0%, transparent 70%),
    var(--pink);
}
.lp-main { position: relative; z-index: 1; padding-bottom: 8px; }
.lp .footer, .lp .stripe { position: relative; z-index: 1; }

/* ----- haut de page : accroche à gauche, vidéo 16:9 à droite ------------ */
.lp-top {
  width: min(1280px, 100%); margin: 0 auto; padding: clamp(96px, 9vw, 120px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: clamp(28px, 4vw, 56px);
  grid-template-areas: "hero video" "after video"; align-items: center;
}
.lp-hero { grid-area: hero; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lp-video { grid-area: video; margin: 0; position: relative; }
.lp-after { grid-area: after; align-self: start; }
.lp-hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.1vw, 42px); line-height: 1.1;
}
.lp-hero__title .outline-word { color: var(--paper); display: inline-block; font-size: 1.42em; margin-top: .1em; white-space: nowrap; }
.lp-hero__lead { font-size: clamp(16px, 1.35vw, 18.5px); font-weight: 600; color: var(--ink); }
.lp-hero__lead strong { font-weight: 900; }
.lp-hero__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-checks { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 10px; font-weight: 800; font-size: 14px; }
.lp-checks li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .6); padding: 5px 12px; border-radius: 999px; }

/* ----- encart vidéo 16:9 ---------------------------------------------- */
.lp-video__inner { position: relative; }
.hvideo.vcard__frame {
  aspect-ratio: 16 / 9; border-radius: 30px; box-shadow: 12px 12px 0 var(--ink);
  position: relative; z-index: 1;
}
.hvideo .vcard__play span { width: 92px; height: 92px; }
.hvideo .vcard__empty b { font-size: clamp(20px, 2.4vw, 28px); }
.lp-video figcaption { margin-top: 24px; text-align: center; font-weight: 800; font-size: 15px; color: var(--ink); }
/* Bite Bot posé sur le bord de la vidéo, comme sur la carte */
.lp-video__bot {
  position: absolute; z-index: 2; right: clamp(8px, 6%, 56px); top: clamp(-88px, -7.4vw, -58px);
  width: clamp(96px, 12vw, 146px); pointer-events: none;
}
.lp-video__bot .bot { width: 100%; height: auto; }
/* pastille « jusqu'à 20 h » */
.lp-badge20 {
  position: absolute; z-index: 3; left: clamp(-22px, -1.6vw, -8px); bottom: clamp(-36px, -3vw, -22px);
  width: clamp(100px, 11vw, 138px); aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow); border: var(--stroke); box-shadow: var(--shadow-l);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(-9deg); line-height: 1.05; text-align: center;
  font-weight: 900; font-size: clamp(11px, 1.05vw, 13.5px);
  animation: badge-wiggle 5s ease-in-out infinite;
}
.lp-badge20 b { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); line-height: .95; }
@keyframes badge-wiggle { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(-4deg) translateY(-4px); } }

@media (max-width: 980px) {
  /* une colonne : accroche, vidéo, puis boutons */
  .lp-top { grid-template-columns: 1fr; grid-template-areas: "hero" "video" "after"; padding-top: clamp(24px, 5vw, 40px); }
  .lp-hero { align-items: center; text-align: center; }
  .lp-hero__title { font-size: clamp(28px, 6.4vw, 44px); }
  .lp-video { margin-top: clamp(78px, 13vw, 100px); }
  .lp-after { margin-top: 34px; }
  .lp-hero__actions, .lp-checks { justify-content: center; }
}

/* ----- cartes de section ---------------------------------------------- */
.lp-card {
  position: relative; width: min(1180px, calc(100% - 2 * var(--gutter)));
  margin: clamp(44px, 6vw, 72px) auto 0;
  background: var(--paper); border: var(--stroke); border-radius: 34px; box-shadow: 12px 12px 0 var(--ink);
  padding: clamp(24px, 4vw, 48px);
}
.lp-card--blue {
  background-color: var(--blue-pale);
  background-image: radial-gradient(var(--blue-dot) 2px, transparent 2.6px); background-size: 26px 26px;
}
.lp-card--green { background: var(--green-pale); }
.lp-card--pink { background: var(--pink-pale); }
.lp-card .section-head { gap: 12px; }
.lp-card .section-title { font-size: clamp(28px, 3.6vw, 44px); }

/* ----- six familles de tâches ----------------------------------------- */
.missions { margin-top: clamp(26px, 3.4vw, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .missions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .missions { grid-template-columns: 1fr; } }
.mission {
  background: var(--paper); border: var(--stroke); border-radius: 26px; box-shadow: var(--shadow-l);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mission:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.mission:hover .icon-box { transform: rotate(-8deg) scale(1.08); }
.mission .icon-box { transition: transform .25s var(--ease-pop); }
.mission__head { display: flex; align-items: center; gap: 14px; }
.mission h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.mission ul { display: flex; flex-direction: column; gap: 9px; }
.mission li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--muted); }
.mission li svg { flex-shrink: 0; margin-top: 4px; }

/* ----- cinq mini-vidéos ------------------------------------------------ */
.minis { margin-top: clamp(24px, 3.2vw, 36px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.minis .vcard { gap: 10px; }
.minis .vcard__frame { border-radius: 22px; box-shadow: var(--shadow-m); }
.minis .vcard__play span { width: 56px; height: 56px; }
.minis .vcard__play svg { width: 22px; height: 22px; }
.minis .vcard__empty { padding: 12px; gap: 8px; font-size: 12.5px; }
.minis .vcard__empty b { font-size: 16px; }
.minis .vcard__empty code { font-size: 11px; }
.minis figcaption { align-items: flex-start; gap: 10px; }
.minis .vcard__avatar { width: 34px; height: 34px; font-size: 12.5px; border-width: 2px; }
.minis figcaption strong { font-size: 14.5px; line-height: 1.25; }
@media (max-width: 980px) {
  /* défilement horizontal au doigt */
  .minis {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(58vw, 230px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 6px 16px 2px; margin-right: calc(-1 * clamp(24px, 4vw, 48px));
    scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
  }
  .minis .vcard { scroll-snap-align: start; }
}

/* ----- arguments -------------------------------------------------------- */
.atouts { margin-top: clamp(26px, 3.4vw, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .atouts { grid-template-columns: 1fr; } }
.atout { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--paper); border: var(--stroke-thin); border-radius: 22px; box-shadow: var(--shadow-m); }
.atout h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.atout p { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.atout:hover .icon-box { transform: rotate(-8deg) scale(1.08); }
.atout .icon-box { transition: transform .25s var(--ease-pop); }

/* ----- méthode ---------------------------------------------------------- */
.lp-steps { margin-top: clamp(26px, 3.4vw, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: etape; }
@media (max-width: 860px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { background: var(--paper); border: var(--stroke); border-radius: 26px; box-shadow: var(--shadow-l); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.lp-step::before {
  counter-increment: etape; content: counter(etape);
  width: 48px; height: 48px; border-radius: 50%; border: var(--stroke); background: var(--yellow); box-shadow: var(--shadow-s);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 22px;
}
.lp-step h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.12; }
.lp-step p { font-size: 15.5px; line-height: 1.5; color: var(--muted); }

/* ----- tarif ------------------------------------------------------------- */
.lp-price { margin: clamp(24px, 3.2vw, 36px) auto 0; max-width: 780px; }
.lp-price .price-card { box-shadow: var(--shadow-l); }
.lp-price__note { margin-top: 18px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); }

/* ----- faq ---------------------------------------------------------------- */
.lp-faq { margin: clamp(24px, 3.2vw, 36px) auto 0; max-width: 860px; display: flex; flex-direction: column; gap: 12px; }

/* ----- appel final --------------------------------------------------------- */
.lp-cta { width: min(820px, calc(100% - 2 * var(--gutter))); margin: clamp(170px, 18vw, 210px) auto clamp(48px, 6vw, 80px); }
.lp-cta .cta__card { box-shadow: 12px 12px 0 var(--ink); }

/* ----- pied de page allégé -------------------------------------------------- */
.lp .footer { padding: 36px 0 24px; gap: 0; }
.lp .footer__bottom { border-top: 0; padding-top: 0; }
.lp .footer__logo { margin-right: 8px; }

@media (max-width: 600px) {
  .lp-card { border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); }
  .hvideo.vcard__frame { border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); }
  .hvideo .vcard__play span { width: 68px; height: 68px; }
  .hvideo .vcard__empty { padding: 12px; gap: 6px; font-size: 12.5px; }
  .hvideo .vcard__empty code { font-size: 11px; }
  .lp-hero__actions .btn { width: 100%; }
  .mission h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .lp-badge20 { animation: none; } }

/* petits écrans : mêmes ajustements que sur l'accueil (ils vivent dans stage.css, non chargé ici) */
@media (max-width: 600px) {
  .cta__bot { width: 160px; top: -112px; }
  .lp-cta { margin-top: 150px; }
  .lp-cta .cta__card { padding-top: 68px; }
  .price-card__ribbon {
    position: static; transform: none; align-self: flex-start; width: fit-content;
    padding: 4px 12px; border: var(--stroke-thin); border-radius: 999px; margin-bottom: 2px;
  }
  .price-card { overflow: visible; }
}
