/* =====================================================================
   Décolle — Pack Lancement (zone payante)
   Design system de l'espace membre. Dépend de style.css + space.css
   (tokens, .btn, .container) et se pose au-dessus de .prose (blog.css).
   Tout est pensé pour le thème sombre .theme-cosmos.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 0. Tokens locaux — les 7 piliers éditoriaux + surfaces membre       */
/* ------------------------------------------------------------------ */
.theme-cosmos {
  --pk-surface:    rgba(255,255,255,.045);
  --pk-surface-2:  rgba(255,255,255,.07);
  --pk-line:       rgba(255,255,255,.11);
  --pk-line-soft:  rgba(255,255,255,.07);
  --pk-ink:        #fff;
  --pk-ink-2:      #c7cbe6;
  --pk-ink-3:      #9195b8;

  /* Piliers éditoriaux (calendrier) */
  --pk-edu:    #22d3ee;   /* Éducatif        */
  --pk-insp:   #a78bfa;   /* Inspirant       */
  --pk-proof:  #34d399;   /* Preuve          */
  --pk-back:   #ffc857;   /* Coulisses       */
  --pk-engage: #ff8fa3;   /* Engagement      */
  --pk-contra: #5b9cff;   /* Contre-intuitif */
  --pk-offer:  #ff6b5d;   /* Offre           */
}

/* ------------------------------------------------------------------ */
/* 1. En-tête de panneau                                              */
/* ------------------------------------------------------------------ */
.pk-head { margin: 0 0 34px; padding-bottom: 26px; border-bottom: 1px solid var(--pk-line-soft); }
.pk-head__top { display: flex; align-items: flex-start; gap: 18px; }
.pk-head__n {
  flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff;
  background: var(--grad-brand); box-shadow: 0 14px 34px -14px rgba(124,92,255,.85);
}
.pk-head h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem) !important; line-height: 1.15; color: #fff; margin: 4px 0 0 !important; letter-spacing: -.02em; }
.pk-head__lead { color: var(--pk-ink-2); font-size: 1.05rem; line-height: 1.7; margin: 16px 0 0 !important; max-width: 62ch; }
.pk-head__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pk-tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600;
  font-family: var(--font-head); color: var(--pk-ink-2); background: var(--pk-surface);
  border: 1px solid var(--pk-line); border-radius: 100px; padding: 6px 13px;
}
.pk-tag b { color: #fff; font-weight: 700; }
.pk-tag--accent { color: #cdbcff; background: rgba(124,92,255,.15); border-color: rgba(124,92,255,.35); }

/* Sous-titre de section dans un panneau */
.pk-sub { display: flex; align-items: baseline; gap: 12px; margin: 46px 0 20px; }
.pk-sub h3 { font-size: 1.22rem !important; color: #fff; margin: 0 !important; white-space: nowrap; }
.pk-sub::after { content: ""; flex: 1; height: 1px; background: var(--pk-line-soft); }
.pack-panel > .pk-sub:first-of-type { margin-top: 34px; }

/* ------------------------------------------------------------------ */
/* 2. Rail d'onglets — progression par module                          */
/* ------------------------------------------------------------------ */
/* Le rail porte désormais le collage (sticky) : le tablist reste un
   simple conteneur de rôle, sans mise en page particulière. */
.pack-tabs__rail { position: sticky; top: calc(var(--nav-h) + 22px); }
.pack-tabs__rail .pack-tabs__nav { position: static; top: auto; }

.pack-tab__done {
  margin-left: auto; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25); display: grid; place-items: center;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.pack-tab__done svg { width: 11px; height: 11px; opacity: 0; transform: scale(.4); transition: opacity .25s var(--ease), transform .25s var(--ease); color: #0a0a16; }
.pack-tab.is-done .pack-tab__done { background: var(--mint); border-color: var(--mint); }
.pack-tab.is-done .pack-tab__done svg { opacity: 1; transform: scale(1); }

.pk-rail-foot { margin-top: 18px; padding: 16px 16px 18px; border-radius: 16px; background: var(--pk-surface); border: 1px solid var(--pk-line); }
.pk-rail-foot__label { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; color: var(--pk-ink-3); font-family: var(--font-head); font-weight: 600; }
.pk-rail-foot__label b { color: #fff; font-size: 1.05rem; }
.pk-rail-foot__track { height: 6px; border-radius: 100px; background: rgba(255,255,255,.1); margin-top: 10px; overflow: hidden; }
.pk-rail-foot__fill { height: 100%; width: 0; border-radius: 100px; background: var(--grad-brand); transition: width .6s var(--ease); }
.pk-rail-foot__hint { font-size: .78rem; color: var(--pk-ink-3); margin-top: 10px; line-height: 1.45; }

/* ------------------------------------------------------------------ */
/* 3. Cartes génériques & grilles                                      */
/* ------------------------------------------------------------------ */
.pk-grid { display: grid; gap: 14px; }
.pk-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.pk-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

.pk-card {
  background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 16px;
  padding: 18px 20px; transition: border-color .25s var(--ease), background .25s var(--ease);
}
.pk-card:hover { border-color: rgba(124,92,255,.42); background: var(--pk-surface-2); }
.pk-card h4 { font-size: 1.02rem; color: #fff; margin: 0 0 6px; font-family: var(--font-head); }
.pk-card p { color: var(--pk-ink-2); font-size: .95rem; line-height: 1.6; margin: 0 !important; }

/* ------------------------------------------------------------------ */
/* 4. Étapes numérotées (structure de page de vente)                   */
/* ------------------------------------------------------------------ */
.pk-steps { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid !important; gap: 0 !important; counter-reset: pkstep; }
.pk-steps li {
  position: relative; counter-increment: pkstep; padding: 0 0 22px 56px; color: var(--pk-ink-2) !important;
  font-size: 1rem !important; line-height: 1.65 !important;
}
.pk-steps li::before {
  content: counter(pkstep, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: #cdbcff;
  background: rgba(124,92,255,.15); border: 1px solid rgba(124,92,255,.32);
}
.pk-steps li::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 4px; width: 1px; background: linear-gradient(180deg, rgba(124,92,255,.4), rgba(124,92,255,.05)); }
.pk-steps li:last-child { padding-bottom: 0; }
.pk-steps li:last-child::after { display: none; }
.pk-steps b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.04rem; margin-bottom: 3px; }
.pk-steps em { color: #bda9ff; font-style: normal; font-size: .92rem; display: block; margin-top: 4px; }
.pk-steps .pk-ex { display: block; margin-top: 7px; padding: 9px 13px; border-radius: 10px; background: rgba(10,10,22,.45); border-left: 2px solid rgba(124,92,255,.5); font-size: .93rem; color: #b9bdda; }

/* ------------------------------------------------------------------ */
/* 5. Séquence email — timeline + cartes « boîte de réception »        */
/* ------------------------------------------------------------------ */
.pk-seq { display: grid; gap: 0; margin: 0; }
.pk-mail { position: relative; display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 20px; padding-bottom: 16px; }
.pk-mail__day { position: relative; }
.pk-mail__pin {
  width: 62px; height: 62px; border-radius: 17px; display: grid; place-items: center; text-align: center;
  background: var(--pk-surface); border: 1px solid var(--pk-line); font-family: var(--font-head); line-height: 1.1;
}
.pk-mail__pin small { display: block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pk-ink-3); }
.pk-mail__pin b { font-size: 1.22rem; color: #fff; font-weight: 700; }
.pk-mail__day::after { content: ""; position: absolute; left: 31px; top: 68px; bottom: -16px; width: 1px; background: linear-gradient(180deg, rgba(124,92,255,.45), rgba(124,92,255,.06)); }
.pk-mail:last-child .pk-mail__day::after { display: none; }
.pk-mail--bonus .pk-mail__pin { background: rgba(255,200,87,.12); border-color: rgba(255,200,87,.3); }
.pk-mail--bonus .pk-mail__pin b { font-size: 1.4rem; }

.pk-mail__card { background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 16px; overflow: hidden; transition: border-color .25s var(--ease); }
.pk-mail__card:hover { border-color: rgba(124,92,255,.4); }
.pk-mail__role { padding: 13px 18px 0; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: #8b78ff; }
.pk-mail__subj { display: flex; align-items: center; gap: 10px; padding: 6px 18px 13px; border-bottom: 1px solid var(--pk-line-soft); }
.pk-mail__subj span { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: #fff; }
.pk-mail__subj svg { width: 16px; height: 16px; color: var(--pk-ink-3); flex: none; }
.pk-mail__body { padding: 15px 18px; white-space: pre-wrap; font-size: .95rem; line-height: 1.65; color: var(--pk-ink-2); }
.pk-mail__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 18px 15px; }
.pk-mail__hint { font-size: .8rem; color: var(--pk-ink-3); }

/* ------------------------------------------------------------------ */
/* 6. Bouton « copier » universel                                      */
/* ------------------------------------------------------------------ */
.pk-copy {
  flex: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: #cdbcff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: 7px 14px; transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.pk-copy:hover { border-color: var(--violet); color: #fff; background: rgba(124,92,255,.18); }
.pk-copy:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.pk-copy svg { width: 13px; height: 13px; }
.pk-copy.is-copied { color: #7ff0c0; border-color: rgba(52,211,153,.55); background: rgba(52,211,153,.14); }

/* ------------------------------------------------------------------ */
/* 7. Checklists interactives                                          */
/* ------------------------------------------------------------------ */
.pk-check { background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 18px; overflow: hidden; margin-bottom: 18px; transition: border-color .3s var(--ease); }
.pk-check__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px 16px; border-bottom: 1px solid var(--pk-line-soft); transition: background .3s var(--ease); }
.pk-check__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(52,211,153,.14); color: var(--mint); }
.pk-check__ico svg { width: 20px; height: 20px; }
.pk-check__title { flex: 1; min-width: 0; }
.pk-check__title h3 { font-size: 1.06rem !important; color: #fff; margin: 0 !important; font-family: var(--font-head); }
.pk-check__title p { font-size: .86rem; color: var(--pk-ink-3); margin: 2px 0 0 !important; }
.pk-check__count { flex: none; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--pk-ink-2); }
.pk-check__count b { color: #fff; }
.pk-check__track { height: 4px; background: rgba(255,255,255,.08); }
.pk-check__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), var(--cyan)); transition: width .45s var(--ease); }

.pk-check__list { list-style: none !important; margin: 0 !important; padding: 8px !important; display: grid !important; gap: 2px !important; }
.pk-check__list li { margin: 0 !important; }
.pk-item { position: relative; display: flex; align-items: flex-start; gap: 13px; padding: 11px 13px; border-radius: 12px; cursor: pointer; transition: background .2s var(--ease); }
.pk-item:hover { background: rgba(255,255,255,.05); }
.pk-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.pk-item__box {
  flex: none; width: 21px; height: 21px; margin-top: 1px; border-radius: 7px;
  border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04);
  display: grid; place-items: center; transition: background .22s var(--ease), border-color .22s var(--ease);
}
.pk-item__box svg { width: 12px; height: 12px; color: #08120d; opacity: 0; transform: scale(.4); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.pk-item__txt { font-size: .99rem; line-height: 1.55; color: var(--pk-ink-2); transition: color .2s var(--ease); }
.pk-item input:focus-visible + .pk-item__box { outline: 2px solid var(--violet); outline-offset: 2px; }
.pk-item input:checked + .pk-item__box { background: var(--mint); border-color: var(--mint); }
.pk-item input:checked + .pk-item__box svg { opacity: 1; transform: scale(1); }
.pk-item input:checked ~ .pk-item__txt { color: var(--pk-ink-3); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.28); }

.pk-check__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 16px 16px; }
.pk-reset { background: none; border: 0; cursor: pointer; font-size: .8rem; color: var(--pk-ink-3); text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.pk-reset:hover { color: #cdbcff; }
.pk-check__saved { font-size: .78rem; color: var(--pk-ink-3); display: inline-flex; align-items: center; gap: 6px; }
.pk-check__saved svg { width: 13px; height: 13px; color: var(--mint); }

/* Célébration quand une checklist est complète */
.pk-check.is-done { border-color: rgba(52,211,153,.4); }
.pk-check.is-done .pk-check__head { background: rgba(52,211,153,.07); }

/* ------------------------------------------------------------------ */
/* 8. Calendrier 30 jours                                              */
/* ------------------------------------------------------------------ */
.pk-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.pk-pill {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--pk-ink-2);
  background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 100px; padding: 7px 14px;
  transition: opacity .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.pk-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pk-dot, #fff); flex: none; }
.pk-pill:hover { border-color: rgba(255,255,255,.28); color: #fff; }
.pk-pill:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.pk-pill.is-off { opacity: .34; }
.pk-pill.is-solo { color: #fff; background: rgba(255,255,255,.1); border-color: var(--pk-dot, #fff); }

.pk-cal { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px !important; }
.pk-day {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 122px;
  padding: 13px 13px 12px; border-radius: 14px; margin: 0 !important;
  background: var(--pk-surface); border: 1px solid var(--pk-line);
  border-top: 2px solid var(--pk-dot, var(--violet));
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.pk-day:hover { transform: translateY(-3px); background: var(--pk-surface-2); border-color: rgba(255,255,255,.2); border-top-color: var(--pk-dot, var(--violet)); }
.pk-day__n { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--pk-dot, #fff); }
.pk-day__txt { flex: 1; font-size: .89rem !important; line-height: 1.45 !important; color: var(--pk-ink-2) !important; }
.pk-day__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pk-day__fmt { font-size: .7rem; font-weight: 600; font-family: var(--font-head); color: var(--pk-ink-3); background: rgba(0,0,0,.28); border-radius: 100px; padding: 3px 9px; }
.pk-day.is-hidden { display: none !important; }

/* ------------------------------------------------------------------ */
/* 9. Bibliothèque de prompts                                          */
/* ------------------------------------------------------------------ */
.pk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pk-filter {
  cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .84rem;
  color: var(--pk-ink-2); background: var(--pk-surface); border: 1px solid var(--pk-line);
  border-radius: 100px; padding: 8px 15px; transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.pk-filter:hover { color: #fff; border-color: rgba(255,255,255,.28); }
.pk-filter.is-on { color: #fff; background: rgba(124,92,255,.22); border-color: rgba(124,92,255,.55); }
.pk-filter:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

.pk-search { position: relative; margin: 14px 0 20px; }
.pk-search input {
  width: 100%; padding: 13px 16px 13px 44px; border-radius: 100px; font-size: .98rem; font-family: var(--font-body);
  color: #fff; background: rgba(255,255,255,.055); border: 1px solid var(--pk-line);
}
.pk-search input::placeholder { color: var(--pk-ink-3); }
.pk-search input:focus { outline: none; border-color: rgba(124,92,255,.6); box-shadow: 0 0 0 4px rgba(124,92,255,.16); }
.pk-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--pk-ink-3); pointer-events: none; }

.pk-lib { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 10px !important; }
.pk-prompt {
  margin: 0 !important; padding: 15px 17px; border-radius: 14px;
  background: var(--pk-surface); border: 1px solid var(--pk-line);
  display: grid; gap: 11px; transition: border-color .22s var(--ease), background .22s var(--ease);
}
.pk-prompt:hover { border-color: rgba(124,92,255,.4); background: var(--pk-surface-2); }
.pk-prompt__txt { font-size: .96rem !important; line-height: 1.6 !important; color: var(--pk-ink-2) !important; }
.pk-prompt__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pk-prompt__cat { font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #8b78ff; }
.pk-prompt.is-hidden { display: none !important; }
.pk-empty { text-align: center; color: var(--pk-ink-3); padding: 34px 20px; font-size: .95rem; }

/* ------------------------------------------------------------------ */
/* 10. Swipe file (accroches, objets d'email)                          */
/* ------------------------------------------------------------------ */
.pk-swipe { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 6px !important; }
.pk-swipe li { margin: 0 !important; }
.pk-swipe__row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  padding: 11px 14px; border-radius: 12px; background: transparent; border: 1px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.pk-swipe__row:hover { background: var(--pk-surface); border-color: var(--pk-line); }
.pk-swipe__row:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.pk-swipe__n { flex: none; font-family: var(--font-head); font-weight: 700; font-size: .76rem; color: #7a7fa6; min-width: 20px; }
.pk-swipe__txt { flex: 1; min-width: 0; font-size: .97rem; line-height: 1.5; color: var(--pk-ink-2); }
.pk-swipe__act { flex: none; font-size: .76rem; font-weight: 600; font-family: var(--font-head); color: var(--pk-ink-3); opacity: 0; transition: opacity .2s var(--ease); }
.pk-swipe__row:hover .pk-swipe__act, .pk-swipe__row:focus-visible .pk-swipe__act { opacity: 1; }
.pk-swipe__row.is-copied { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.4); }
.pk-swipe__row.is-copied .pk-swipe__act { opacity: 1; color: #7ff0c0; }

/* ------------------------------------------------------------------ */
/* 11. Encadrés : règle d'or / à éviter / astuce                       */
/* ------------------------------------------------------------------ */
.pk-callout { display: flex; gap: 15px; padding: 17px 19px; border-radius: 16px; border: 1px solid; margin: 22px 0; }
.pk-callout__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.pk-callout__ico svg { width: 18px; height: 18px; }
.pk-callout p { margin: 0 !important; font-size: .97rem !important; line-height: 1.65 !important; }
.pk-callout h4 { font-family: var(--font-head); font-size: .98rem; color: #fff; margin: 0 0 5px; }
.pk-callout--rule { background: rgba(124,92,255,.12); border-color: rgba(124,92,255,.32); }
.pk-callout--rule .pk-callout__ico { background: rgba(124,92,255,.22); color: #cdbcff; }
.pk-callout--rule p { color: #ddd8ff !important; }
.pk-callout--tip { background: rgba(34,211,238,.09); border-color: rgba(34,211,238,.28); }
.pk-callout--tip .pk-callout__ico { background: rgba(34,211,238,.18); color: #8ee9f8; }
.pk-callout--tip p { color: #c6e9f2 !important; }

.pk-dont { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid !important; gap: 8px !important; }
.pk-dont li { position: relative; margin: 0 !important; padding: 11px 15px 11px 44px; border-radius: 12px; background: rgba(255,107,93,.07); border: 1px solid rgba(255,107,93,.2); color: #e9cdc9 !important; font-size: .96rem !important; line-height: 1.55 !important; }
.pk-dont li::before { content: "\2715"; position: absolute; left: 16px; top: 11px; color: #ff8a7d; font-weight: 700; font-size: .9rem; }

/* ------------------------------------------------------------------ */
/* 12. Ressources / liens (Canva, outils)                              */
/* ------------------------------------------------------------------ */
.pk-res { display: flex; align-items: center; gap: 15px; padding: 15px 18px; border-radius: 15px; background: var(--pk-surface); border: 1px solid var(--pk-line); transition: border-color .22s var(--ease), background .22s var(--ease); }
.pk-res:hover { border-color: rgba(124,92,255,.42); background: var(--pk-surface-2); }
.pk-res__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-size: 1.1rem; }
.pk-res__body { flex: 1; min-width: 0; }
.pk-res__body h4 { font-family: var(--font-head); font-size: 1rem; color: #fff; margin: 0 0 3px; }
.pk-res__body p { font-size: .9rem; color: var(--pk-ink-2); margin: 0 !important; line-height: 1.5; }
.pk-res__cta { flex: none; font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: #cdbcff; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: 8px 15px; transition: border-color .2s var(--ease), color .2s var(--ease); }
.pk-res:hover .pk-res__cta { border-color: var(--violet); color: #fff; }
.pk-res__todo { flex: none; font-size: .78rem; color: #ffd98a; background: rgba(255,200,87,.14); border: 1px dashed rgba(255,200,87,.4); border-radius: 100px; padding: 7px 13px; }

/* ------------------------------------------------------------------ */
/* 13. Plan 14 jours (bonus)                                           */
/* ------------------------------------------------------------------ */
.pk-plan { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 8px !important; }
.pk-plan li { display: flex; align-items: center; gap: 15px; margin: 0 !important; padding: 13px 16px; border-radius: 13px; background: var(--pk-surface); border: 1px solid var(--pk-line); color: var(--pk-ink-2) !important; font-size: .97rem !important; line-height: 1.5 !important; }
.pk-plan__d { flex: none; min-width: 62px; font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: #cdbcff; }
.pk-plan li:last-child { background: rgba(124,92,255,.14); border-color: rgba(124,92,255,.4); }
.pk-plan li:last-child .pk-plan__d { color: #fff; }

/* ------------------------------------------------------------------ */
/* 14. Script vidéo minuté                                             */
/* ------------------------------------------------------------------ */
.pk-script { display: grid; gap: 0; }
.pk-beat { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 18px; padding-bottom: 14px; }
.pk-beat__t { font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: #cdbcff; padding-top: 14px; }
.pk-beat__c { background: var(--pk-surface); border: 1px solid var(--pk-line); border-radius: 14px; padding: 13px 16px; }
.pk-beat__lbl { font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pk-ink-3); margin-bottom: 5px; }
.pk-beat__txt { font-size: .96rem; line-height: 1.6; color: var(--pk-ink-2); white-space: pre-wrap; }

/* ------------------------------------------------------------------ */
/* 15. Portail d'achat (.pack-gate) — remplace le CSS injecté en JS    */
/* ------------------------------------------------------------------ */
.pack-gate {
  max-width: 820px; margin-inline: auto; text-align: center;
  background: linear-gradient(170deg, rgba(124,92,255,.14), rgba(255,255,255,.03) 55%);
  border: 1px solid rgba(124,92,255,.3); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 44px);
  box-shadow: 0 40px 100px -50px rgba(124,92,255,.6);
}
.pack-gate__badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  color: #cdbcff; background: rgba(124,92,255,.18); border: 1px solid rgba(124,92,255,.38);
  border-radius: 100px; padding: 7px 15px;
}
.pack-gate h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; margin: 18px 0 12px; line-height: 1.15; letter-spacing: -.02em; }
.pack-gate h2 .hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pack-gate__lead { color: var(--on-space-muted); max-width: 560px; margin: 0 auto; font-size: 1.04rem; line-height: 1.65; }

.pack-gate__benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 26px; text-align: left; max-width: 660px; margin: 30px auto; }
.pack-gate__benefit { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; color: var(--on-space); line-height: 1.5; }
.pack-gate__benefit svg { width: 21px; height: 21px; flex: none; color: var(--cyan); margin-top: 1px; }

.pack-gate__price { font-family: var(--font-head); font-weight: 700; font-size: 2.7rem; color: #fff; line-height: 1; margin-bottom: 6px; }
.pack-gate__price small { font-size: .88rem; color: var(--on-space-muted); font-weight: 500; }
.pack-gate__was { font-size: 1.3rem; color: var(--on-space-muted); font-weight: 500; text-decoration-thickness: 2px; margin-left: 4px; }

/* Rattrapage pour les détenteurs du Simulateur Pro */
.pack-gate__upgrade {
  display: inline-block; margin: 10px auto 0; padding: 10px 18px; border-radius: 14px;
  background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35);
  color: #d4f7e8; font-size: .93rem; line-height: 1.55; max-width: 480px;
}
.pack-gate__upgrade b { color: #fff; }
.pack-gate__upgrade span { display: block; color: var(--on-space-muted); font-size: .85rem; margin-top: 2px; }
.pack-gate__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* État « vente pas encore ouverte » — remplace le bouton d'achat.
   L'équivalent pour le Simulateur Pro (.paywall__soon) vit dans sim-pro.css,
   car simulateur-pro.html ne charge pas cette feuille. */
.pack-gate__soon {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: #fff;
  background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.34);
  border-radius: 100px; padding: 15px 28px;
}
.pack-gate__trust { margin-top: 15px; color: var(--on-space-muted); font-size: .86rem; }
.pack-gate__sep { margin: 26px auto 0; color: var(--on-space-muted); font-size: .88rem; max-width: 420px; display: flex; align-items: center; gap: 14px; }
.pack-gate__sep::before, .pack-gate__sep::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.14); }
.pack-gate__code { display: flex; gap: 10px; max-width: 420px; margin: 14px auto 0; flex-wrap: wrap; justify-content: center; }
.pack-gate__code input {
  flex: 1; min-width: 210px; padding: 13px 18px; border-radius: 100px; font-size: 1rem;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff;
}
.pack-gate__code input::placeholder { color: rgba(255,255,255,.45); }
.pack-gate__code input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,.18); }
.pack-gate__status { min-height: 1.2em; font-size: .88rem; margin-top: 12px; color: var(--on-space-muted); }
.pack-gate__status.is-err { color: #ff8a7d; }
.pack-gate__note { font-size: .8rem; opacity: .75; margin-top: 18px; color: var(--on-space-muted); }

/* ------------------------------------------------------------------ */
/* 16. Responsive                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .pk-cal { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 880px) {
  .pack-tabs__rail { position: static; top: auto; }
  .pk-rail-foot { display: none; }
  .pack-tab__done { display: none; }
  .pk-cal { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pk-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .pk-head__top { gap: 13px; }
  .pk-head__n { width: 44px; height: 44px; border-radius: 13px; font-size: 1.1rem; }
  .pk-cal { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pk-grid--2, .pk-grid--3 { grid-template-columns: 1fr; }
  .pk-mail { grid-template-columns: 62px minmax(0,1fr); gap: 14px; }
  .pk-mail__pin { width: 54px; height: 54px; border-radius: 15px; }
  .pk-mail__day::after { left: 27px; top: 60px; }
  .pk-beat { grid-template-columns: 66px minmax(0,1fr); gap: 12px; }
  .pk-steps li { padding-left: 46px; }
  .pk-steps li::before { width: 30px; height: 30px; }
  .pk-steps li::after { left: 15px; top: 32px; }
  .pack-gate__benefits { grid-template-columns: 1fr; }
  .pk-res { flex-wrap: wrap; }
  .pk-res__cta, .pk-res__todo { width: 100%; text-align: center; }
}

/* ------------------------------------------------------------------ */
/* 17. Mouvement réduit & impression                                   */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .pk-day:hover { transform: none; }
  .pk-check__fill, .pk-rail-foot__fill, .pk-item__box, .pk-item__box svg { transition: none; }
}
@media print {
  .pack-tabs__nav, .pk-copy, .pk-filters, .pk-search, .pk-legend, .pk-reset { display: none !important; }
  .pack-panel[hidden] { display: block !important; }
  .pk-card, .pk-check, .pk-day, .pk-mail__card, .pk-prompt { break-inside: avoid; }
}
