/* ============================================================
   Design v2 : fiche pack (pages/pack-v2.php).
   Chargé après styles.css, v2-chrome.css et v2.css (variables, boutons, fenêtres de navigateur,
   FAQ, apparitions). Moins de cartes, plus de respiration : listes, étapes et un récapitulatif
   qui suit le défilement.
   ============================================================ */

/* ── En-tête ───────────────────────────────────────────────── */
.pk-hero {
  position: relative; overflow: hidden; padding: 28px 0 88px;
  background:
    radial-gradient(ellipse 45% 60% at 78% 50%, rgba(247,147,29,.15), transparent 70%),
    radial-gradient(rgba(247,147,29,.1) 1px, transparent 1px) 0 0 / 28px 28px;
}
.pk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 48px; font-size: 13px; color: var(--faint); }
.pk-crumbs a { transition: color .2s; }
.pk-crumbs a:hover { color: var(--txt); }
.pk-crumbs i { font-size: 12px; }
.pk-crumbs [aria-current] { color: var(--o); font-weight: 700; }
.pk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.pk-hero-grid--solo { grid-template-columns: minmax(0, 760px); }
.pk-hero h1 { margin: 24px 0 20px; font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.pk-hero h1 .mq-grad {
  background: linear-gradient(105deg, #F7931D 0%, #ffd080 38%, #fff4df 50%, #F7931D 62%, #ffd080 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  animation: mqSheen 8s cubic-bezier(.45,0,.25,1) 1.5s infinite;
}

.pk-price { margin-top: 30px; }
.pk-price .mq-toggle { margin-top: 0; }
.pk-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 22px; }
.pk-from { font-size: 14px; font-weight: 600; color: var(--mut); }
.pk-amount { font-size: clamp(44px, 4.4vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--og); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pk-unit { font-size: 15px; font-weight: 700; color: var(--txt); }
.pk-price-note { min-height: 1.6em; margin-top: 10px; font-size: 14px; color: var(--mut); }
.pk-hero .mq-ctas { margin-top: 28px; }
.pk-hero .mq-btn--ghost { background: rgba(255,255,255,.05); border-width: 1px; border-color: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pk-hero .mq-btn--ghost:hover { border-color: var(--o); color: var(--o); }
.pk-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 0; font-size: 13.5px; color: var(--mut); }
.pk-checks li { display: inline-flex; align-items: center; gap: 6px; }
.pk-checks i { color: var(--o); font-size: 16px; }

.pk-hero-visual { position: relative; padding: 24px 0 36px 24px; }
.pk-hero-visual .mq-browser { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); box-shadow: 0 40px 80px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(247,147,29,.08); }
.pk-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px;
  border: 1px solid var(--line2); border-radius: 16px; background: rgba(16,16,16,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -14px rgba(0,0,0,.8);
  font-size: 13px; color: var(--mut);
}
.pk-chip--rating { left: 0; bottom: 0; transition: border-color .2s; }
.pk-chip--rating:hover { border-color: var(--ol); }
.pk-chip--rating span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.pk-chip--rating strong { color: var(--txt); }
.pk-chip--tag { top: 0; right: 12px; font-weight: 700; color: var(--txt); }
.pk-chip--tag i { color: var(--o); font-size: 17px; }

/* ── Corps : contenu + récapitulatif ───────────────────────── */
.pk-body { position: relative; padding: 24px 0 104px; border-top: 1px solid var(--line); }
.pk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.pk-block { padding-top: 80px; scroll-margin-top: calc(var(--nav-h) + 14px); }
.pk-block + .pk-block { margin-top: 8px; border-top: 1px solid var(--line); }
.pk-block h2 { margin-bottom: 36px; }
.pk-sub { margin: -22px 0 28px; max-width: 620px; color: var(--mut); font-size: 15.5px; line-height: 1.7; }

/* Ce qui est compris : trois colonnes de listes, sans cartes. */
.pk-incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.pk-incl h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 16px; font-weight: 800; }
.pk-incl h3 i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--od); color: var(--o); font-size: 19px; }
.pk-incl ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pk-incl li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; color: #d9d9d9; }
.pk-incl li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--od) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7931D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.pk-incl em { font-style: normal; color: var(--o); font-weight: 700; }
.pk-not { display: flex; align-items: flex-start; gap: 8px; margin-top: 32px; font-size: 14px; color: var(--faint); }
.pk-not i { margin-top: 2px; font-size: 17px; }

/* Étapes : une frise, pas de cartes. */
.pk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.pk-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-steps li { position: relative; }
.pk-steps li:not(:last-child)::after { content: ''; position: absolute; top: 20px; left: 52px; right: -16px; height: 1px; background: linear-gradient(90deg, var(--ol), transparent); }
.pk-step-n { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 18px; border: 1.5px solid var(--ol); border-radius: 50%; background: var(--bg); color: var(--o); font-weight: 800; }
.pk-steps strong { display: block; margin-bottom: 8px; font-size: 16px; }
.pk-steps p { font-size: 14px; line-height: 1.65; color: var(--mut); }

/* Réalisations : l'image d'abord, l'avis du client dessous. */
.pk-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.pk-case-media { display: block; transition: transform .3s; }
.pk-case-media:hover { transform: translateY(-4px); }
.pk-case-media--plain img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 30px 60px -18px rgba(0,0,0,.8); }
.pk-case-tag { display: inline-block; margin-top: 22px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--o); }
.pk-case h3 { margin: 6px 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.pk-case h3 a { transition: color .2s; }
.pk-case h3 a:hover { color: var(--o); }
.pk-case blockquote, .pk-case-desc { margin: 0; font-size: 15px; line-height: 1.7; color: #d2d2d2; }
.pk-case-who { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--mut); }
.pk-case-who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.pk-case-who > span:not(.mq-stars) { display: flex; flex-direction: column; line-height: 1.35; }
.pk-case-who strong { color: var(--txt); }
.pk-case-who .mq-stars { margin-left: auto; font-size: 13px; }
.pk-more { margin-top: 32px; }

/* Options : une liste à cocher. */
.pk-opts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pk-opts li { border-bottom: 1px solid var(--line); }
.pk-opts label { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 26px; align-items: center; gap: 16px; padding: 16px 12px; border-radius: 12px; cursor: pointer; transition: background .2s; }
.pk-opts label:hover { background: rgba(255,255,255,.025); }
.pk-opts input { position: absolute; opacity: 0; pointer-events: none; }
.pk-opt-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: #141414; border: 1px solid var(--line2); color: var(--o); font-size: 19px; }
.pk-opt-txt { display: flex; flex-direction: column; gap: 3px; }
.pk-opt-txt strong { font-size: 15px; }
.pk-opt-txt small { font-size: 13px; line-height: 1.5; color: var(--mut); }
.pk-opts b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.pk-opt-box { width: 26px; height: 26px; display: grid; place-items: center; border: 1.5px solid var(--line2); border-radius: 8px; color: transparent; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.pk-opts input:checked ~ .pk-opt-box { background: var(--o); border-color: var(--o); color: var(--ink); }
.pk-opts input:checked ~ b { color: var(--o); }
.pk-opts input:focus-visible ~ .pk-opt-box { outline: 2px solid var(--o); outline-offset: 2px; }
.pk-opts-more summary { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 12px; border: 1px dashed var(--line2); border-radius: 12px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--mut); transition: border-color .2s, color .2s; }
.pk-opts-more summary::-webkit-details-marker { display: none; }
.pk-opts-more summary:hover { border-color: var(--ol); color: var(--txt); }
.pk-opts-more summary i { transition: transform .2s; }
.pk-opts-more[open] summary { margin-bottom: 8px; }
.pk-opts-more[open] summary i { transform: rotate(180deg); }
.pk-opts-more[open] summary span::after { content: ' ' attr(data-hide); }

.pk-faq { max-width: 760px; border-top: 1px solid #222; }
.pk-faq .mq-faq-item p strong { color: var(--txt); }

/* Récapitulatif qui suit le défilement. */
.pk-summary { position: sticky; top: calc(var(--nav-h) + 24px); padding-top: 80px; }
.pk-sum-card {
  position: relative; overflow: hidden; padding: 28px 26px 24px;
  border: 1px solid var(--line2); border-radius: 22px;
  background: linear-gradient(180deg, rgba(247,147,29,.07), rgba(247,147,29,0) 38%), var(--card);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
.pk-sum-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,200,100,.7), transparent); }
.pk-sum-kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--o); }
.pk-sum-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 10px; }
.pk-sum-price strong { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pk-sum-price span { font-size: 14px; color: var(--mut); }
.pk-sum-list { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: #d6d6d6; }
.pk-sum-list li { display: flex; align-items: flex-start; gap: 10px; }
.pk-sum-list i { margin-top: 1px; color: var(--o); font-size: 18px; flex-shrink: 0; }
.pk-sum-opts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pk-sum-opts[hidden] { display: none; }
.pk-sum-sub { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.pk-sum-opts ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.pk-sum-opts li { display: flex; justify-content: space-between; gap: 12px; color: #d6d6d6; }
.pk-sum-opts li b { color: var(--txt); white-space: nowrap; }
.pk-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line2); }
.pk-sum-total span { font-size: 14px; font-weight: 700; color: var(--mut); }
.pk-sum-total strong { font-size: 22px; font-weight: 800; color: var(--o); text-align: right; }
.pk-sum-cta { width: 100%; margin-top: 20px; padding-left: 16px; padding-right: 16px; }
.pk-sum-link { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--mut); transition: color .2s; }
.pk-sum-link:hover { color: var(--o); }
.pk-sum-trust { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 12.5px; color: var(--faint); }

/* Les autres packs. */
.pk-others { padding: 72px 0 96px; border-top: 1px solid var(--line); background: var(--bg2); }
.pk-others-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.pk-others-list a { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, transform .2s; }
.pk-others-list a:hover { border-color: var(--ol); transform: translateY(-2px); }
.pk-others-list span { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; color: var(--mut); }
.pk-others-list strong { font-size: 16px; color: var(--txt); }
.pk-others-list b { font-size: 14px; color: var(--o); white-space: nowrap; }
.pk-others-list i { color: var(--faint); transition: color .2s, transform .2s; }
.pk-others-list a:hover i { color: var(--o); transform: translateX(3px); }

/* Barre mobile : total et bouton toujours sous le pouce. */
.pk-bar { display: none; }

@media (max-width: 1180px) {
  .pk-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .pk-incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  /* minmax(0, 1fr) : une seule colonne que le contenu (bouton, mot long) ne peut pas élargir. */
  .pk-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .pk-hero-visual { max-width: 640px; }
  .pk-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pk-summary { position: static; padding-top: 72px; max-width: 520px; }
  .pk-steps, .pk-steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .pk-steps li:nth-child(2n)::after { display: none; }
  .pk-others-list { grid-template-columns: 1fr; }
  .pk-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    border-top: 1px solid var(--line2); background: rgba(12,12,12,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 60px 0 0 #0c0c0c; transform: translateY(110%); transition: transform .3s ease;
    font-family: var(--font); color: var(--txt);
  }
  .pk-bar.is-on { transform: none; }
  .pk-bar span { display: flex; flex-direction: column; font-size: 12px; color: var(--mut); line-height: 1.3; }
  .pk-bar strong { font-size: 18px; color: var(--txt); }
  .v2-pack .mq-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .pk-hero { padding: 18px 0 64px; }
  .pk-crumbs { margin-bottom: 28px; }
  .pk-hero-visual { padding: 18px 0 30px 0; }
  .pk-hero-visual .mq-browser { transform: none; }
  .pk-chip--tag { right: 8px; }
  .pk-hero .mq-ctas .mq-btn { width: 100%; }
  .pk-body { padding-bottom: 72px; }
  .pk-block { padding-top: 60px; }
  .pk-incl, .pk-cases, .pk-steps, .pk-steps--3 { grid-template-columns: 1fr; }
  .pk-steps li::after { display: none; }
  .pk-opts label { grid-template-columns: minmax(0, 1fr) auto 26px; gap: 12px; padding: 14px 4px; }
  .pk-opt-ico { display: none; }
  .pk-others { padding: 56px 0 72px; }
  .pk-sum-card { padding: 24px 20px 20px; }
  .pk-sum-cta { white-space: normal; text-align: center; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  .pk-hero h1 .mq-grad { animation: none; }
}
