/* ═══════════════════════════════════════════════════════════════════════
   TRAININGPERF — PREMIUM KIT v1
   Composants de section réutilisables pour porter tout le funnel TP
   au niveau "Apple keynote" sur l'ensemble du body, pas que le hero.
   Toutes les classes préfixées .tpk-* (TrainingPerf Kit).
   2026-05-08
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════ TOKENS (avec fallbacks pour pages sans :root) ═══════ */
:root {
  --tpk-bg-dark:        #0a1521;
  --tpk-bg-dark-2:      #050b13;
  --tpk-bg-dark-3:      #0f1f2d;
  --tpk-accent:         #1a8a7d;
  --tpk-accent-light:   #4ecdc4;
  --tpk-gold:           #b8943f;
  --tpk-gold-light:     #d4b56a;
  --tpk-gold-bright:    #e8c578;
  --tpk-text-light:     rgba(255,255,255,0.92);
  --tpk-text-muted:     rgba(255,255,255,0.62);
  --tpk-text-dim:       rgba(255,255,255,0.40);
  --tpk-border-subtle:  rgba(255,255,255,0.08);
  --tpk-border-medium:  rgba(255,255,255,0.16);
  --tpk-serif:          'Instrument Serif', Georgia, serif;
  --tpk-sans:           'DM Sans', -apple-system, sans-serif;
  --tpk-mono:           'JetBrains Mono', monospace;
  --tpk-ease:           cubic-bezier(0.22, 1, 0.36, 1);
  --tpk-ease-soft:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════ UTILITIES ═══════ */
.tpk-section {
  position: relative;
  padding: clamp(72px, 9vw, 140px) 24px;
  background: var(--tpk-bg-dark);
  color: var(--tpk-text-light);
  overflow: hidden;
}
.tpk-section--gradient {
  background: linear-gradient(180deg, var(--tpk-bg-dark) 0%, var(--tpk-bg-dark-3) 100%);
}
.tpk-section--deeper {
  background: var(--tpk-bg-dark-2);
}
.tpk-wrap { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.tpk-wrap-narrow { max-width: 880px; margin: 0 auto; position: relative; z-index: 2; }

.tpk-eyebrow {
  display: inline-block;
  font-family: var(--tpk-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tpk-gold-light);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(184,148,63,0.35);
  border-radius: 100px;
  background: rgba(184,148,63,0.08);
}

.tpk-title {
  font-family: var(--tpk-serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
  max-width: 880px;
}
.tpk-title em {
  background: linear-gradient(135deg, var(--tpk-gold-bright) 0%, var(--tpk-gold-light) 50%, var(--tpk-gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.tpk-lede {
  font-family: var(--tpk-sans);
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65;
  color: var(--tpk-text-muted);
  max-width: 720px;
  margin: 0 0 32px;
}
.tpk-headcenter { text-align: center; }
.tpk-headcenter .tpk-title,
.tpk-headcenter .tpk-lede { margin-left: auto; margin-right: auto; }

/* Reveal on scroll (paired with tp-premium-kit.js) */
.tpk-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--tpk-ease), transform 1s var(--tpk-ease); }
.tpk-reveal.in { opacity: 1; transform: translateY(0); }
.tpk-reveal[data-delay="1"] { transition-delay: 0.1s; }
.tpk-reveal[data-delay="2"] { transition-delay: 0.2s; }
.tpk-reveal[data-delay="3"] { transition-delay: 0.3s; }
.tpk-reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ═══════ A11Y — focus visible global + skip-link (WCAG 2.1 AA) ═══════ */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--tpk-accent-light, #4ecdc4);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--tpk-gold-light, #d4b56a);
  outline-offset: 4px;
}
.tp-skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 9999;
  background: var(--tpk-gold-light, #d4b56a); color: var(--tpk-bg-dark, #0a1521);
  padding: 12px 20px; text-decoration: none;
  font-family: var(--tpk-mono, monospace); font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; border-radius: 8px;
  transition: top 0.2s var(--tpk-ease);
}
.tp-skip-link:focus, .tp-skip-link:focus-visible {
  top: 12px; outline: 2px solid var(--tpk-bg-dark, #0a1521); outline-offset: 2px;
}

/* Ambient particles canvas (reuse on any section) */
.tpk-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 1 — IMAGE SECTION (hero secondaire embedded mid-body)
   Usage: section avec image 4K Higgsfield prenant 1/2 ou 2/3 largeur,
   couplée à un bloc de texte. Casse le mur de texte des body sections.
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-image-section { padding: clamp(80px, 10vw, 140px) 24px; }
.tpk-image-section .tpk-image-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.tpk-image-section--reverse .tpk-image-grid { grid-template-columns: 0.9fr 1.1fr; }
.tpk-image-section--reverse .tpk-image-text { order: 2; }
.tpk-image-section--reverse .tpk-image-frame { order: 1; }

.tpk-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--tpk-bg-dark-2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px var(--tpk-border-subtle);
}
.tpk-image-frame img,
.tpk-image-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tpk-image-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,21,33,0.4) 100%);
  pointer-events: none;
}

.tpk-image-text { padding: 8px 0; }
.tpk-image-text .tpk-eyebrow { margin-bottom: 22px; }
.tpk-image-text .tpk-title { font-size: clamp(30px, 3.6vw, 52px); margin-bottom: 24px; }
.tpk-image-text .tpk-lede { margin-bottom: 28px; }

.tpk-image-bullets { list-style: none; padding: 0; margin: 0; }
.tpk-image-bullets li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--tpk-border-subtle);
  color: var(--tpk-text-light);
  font-size: 16px; line-height: 1.55;
}
.tpk-image-bullets li:last-child { border-bottom: none; }
.tpk-image-bullets li::before {
  content: '';
  position: absolute; left: 0; top: 22px;
  width: 18px; height: 1px;
  background: linear-gradient(90deg, var(--tpk-gold), transparent);
}

@media (max-width: 880px) {
  .tpk-image-section .tpk-image-grid,
  .tpk-image-section--reverse .tpk-image-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tpk-image-section--reverse .tpk-image-text { order: 1; }
  .tpk-image-section--reverse .tpk-image-frame { order: 2; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 2 — DATA VIZ BEFORE/AFTER (compteurs animés)
   Concrétise les promesses avec des chiffres choc.
   Usage: <div class="tpk-stat" data-value="47" data-suffix="%">
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-data-viz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--tpk-border-subtle);
  border-radius: 20px;
  overflow: hidden;
  margin: clamp(40px, 5vw, 64px) 0;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.tpk-stat {
  background: var(--tpk-bg-dark-3);
  padding: clamp(32px, 4vw, 48px) 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tpk-stat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tpk-gold), transparent);
  opacity: 0;
  transition: opacity 1.2s var(--tpk-ease);
}
.tpk-stat.in::before { opacity: 1; }
.tpk-stat-value {
  font-family: var(--tpk-serif); font-weight: 400;
  font-size: clamp(48px, 6vw, 84px); line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--tpk-gold-bright) 0%, var(--tpk-gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: block;
}
.tpk-stat-suffix {
  font-size: 0.5em;
  color: var(--tpk-gold-light);
  -webkit-text-fill-color: var(--tpk-gold-light);
}
.tpk-stat-label {
  font-family: var(--tpk-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tpk-text-muted);
  margin-bottom: 8px;
}
.tpk-stat-desc {
  color: var(--tpk-text-muted);
  font-size: 14px; line-height: 1.55;
  max-width: 240px; margin: 8px auto 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 3 — PULL QUOTE (citation pleine largeur cinematic)
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-pull-quote {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 24px;
  background: var(--tpk-bg-dark-2);
  text-align: center;
  overflow: hidden;
}
.tpk-pull-quote::before {
  content: '"';
  position: absolute;
  top: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--tpk-serif);
  font-size: clamp(120px, 14vw, 220px); line-height: 1;
  color: rgba(184,148,63,0.12);
  pointer-events: none;
}
.tpk-pull-quote-text {
  font-family: var(--tpk-serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.8vw, 56px); line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 1000px; margin: 0 auto 32px;
  position: relative; z-index: 2;
}
.tpk-pull-quote-text em {
  background: linear-gradient(135deg, var(--tpk-gold-bright) 0%, var(--tpk-gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.tpk-pull-quote-attr {
  font-family: var(--tpk-mono);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tpk-gold-light);
  position: relative; z-index: 2;
}
.tpk-pull-quote-attr::before {
  content: ''; display: inline-block;
  width: 32px; height: 1px;
  background: var(--tpk-gold-light);
  vertical-align: middle;
  margin-right: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 4 — COMPARISON TABLE (services TP avec tier highlighting)
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.tpk-tier {
  background: var(--tpk-bg-dark-3);
  border: 1px solid var(--tpk-border-subtle);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: transform 0.4s var(--tpk-ease), border-color 0.4s var(--tpk-ease), box-shadow 0.4s var(--tpk-ease);
}
.tpk-tier:hover {
  transform: translateY(-4px);
  border-color: rgba(184,148,63,0.3);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.tpk-tier--featured {
  border-color: rgba(184,148,63,0.45);
  background: linear-gradient(180deg, rgba(184,148,63,0.06), var(--tpk-bg-dark-3) 60%);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(184,148,63,0.2);
}
.tpk-tier--featured::before {
  content: 'Le plus choisi';
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--tpk-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--tpk-gold), var(--tpk-gold-light));
  color: var(--tpk-bg-dark);
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
  font-weight: 600;
}
.tpk-tier-name {
  font-family: var(--tpk-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tpk-gold-light);
  margin-bottom: 16px;
}
.tpk-tier-price {
  font-family: var(--tpk-serif);
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 400;
  line-height: 1; letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 4px;
}
.tpk-tier-price small {
  font-size: 0.4em;
  color: var(--tpk-text-muted);
  font-weight: 300;
  letter-spacing: 0;
  display: block; margin-top: 6px;
}
.tpk-tier-tagline {
  color: var(--tpk-text-light);
  font-size: 14px; line-height: 1.55;
  margin: 16px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--tpk-border-subtle);
  font-style: italic;
}
.tpk-tier-list { list-style: none; padding: 0; margin: 0 0 28px; }
.tpk-tier-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: var(--tpk-text-muted);
  line-height: 1.5;
}
.tpk-tier-list li::before {
  content: '';
  position: absolute; left: 0; top: 13px;
  width: 12px; height: 1px;
  background: var(--tpk-gold);
}
.tpk-tier-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  font-family: var(--tpk-sans);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s var(--tpk-ease);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid var(--tpk-border-medium);
}
.tpk-tier-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--tpk-gold-light);
}
.tpk-tier--featured .tpk-tier-cta {
  background: linear-gradient(135deg, var(--tpk-gold), var(--tpk-gold-light));
  color: var(--tpk-bg-dark);
  border-color: transparent;
  font-weight: 600;
}
.tpk-tier--featured .tpk-tier-cta:hover {
  box-shadow: 0 12px 32px rgba(184,148,63,0.4);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 5 — TESTIMONIALS CAROUSEL
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-testimonials {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
}
.tpk-testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--tpk-gold) var(--tpk-bg-dark-3);
}
.tpk-testimonials-track::-webkit-scrollbar { height: 6px; }
.tpk-testimonials-track::-webkit-scrollbar-track { background: var(--tpk-bg-dark-3); border-radius: 4px; }
.tpk-testimonials-track::-webkit-scrollbar-thumb { background: var(--tpk-gold); border-radius: 4px; }

.tpk-testimonial {
  flex: 0 0 min(440px, 80vw);
  scroll-snap-align: start;
  background: var(--tpk-bg-dark-3);
  border: 1px solid var(--tpk-border-subtle);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--tpk-ease), border-color 0.4s var(--tpk-ease);
}
.tpk-testimonial:hover {
  transform: translateY(-3px);
  border-color: rgba(184,148,63,0.3);
}
.tpk-testimonial-quote {
  font-family: var(--tpk-serif); font-style: italic;
  font-size: 22px; line-height: 1.45;
  color: #fff;
  margin: 0 0 24px;
  flex: 1;
}
.tpk-testimonial-quote::before {
  content: '"';
  font-family: var(--tpk-serif);
  font-size: 48px; line-height: 0;
  color: var(--tpk-gold);
  vertical-align: -0.3em;
  margin-right: 6px;
}
.tpk-testimonial-meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--tpk-border-subtle);
}
.tpk-testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tpk-gold), var(--tpk-gold-light));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tpk-serif);
  font-size: 18px; color: var(--tpk-bg-dark);
  letter-spacing: -0.02em;
  overflow: hidden;
}
.tpk-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tpk-testimonial-name {
  color: #fff;
  font-size: 14px; font-weight: 500;
  line-height: 1.3;
}
.tpk-testimonial-context {
  color: var(--tpk-text-muted);
  font-size: 12px;
  font-family: var(--tpk-mono);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 6 — FOUNDER BLOC (Emmanuel + signature)
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
}
.tpk-founder-portrait {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--tpk-bg-dark-2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--tpk-border-subtle);
}
.tpk-founder-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.tpk-founder-portrait::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,21,33,0.7) 100%);
  pointer-events: none;
}
.tpk-founder-content { padding: 16px 0; }
.tpk-founder-name {
  font-family: var(--tpk-serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 16px;
}
.tpk-founder-name em {
  background: linear-gradient(135deg, var(--tpk-gold-bright) 0%, var(--tpk-gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.tpk-founder-tagline {
  font-family: var(--tpk-mono);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tpk-gold-light);
  margin: 0 0 28px;
}
.tpk-founder-bio {
  font-family: var(--tpk-sans);
  font-size: 17px; line-height: 1.7;
  color: var(--tpk-text-light);
  margin: 0 0 24px;
}
.tpk-founder-signature {
  font-family: var(--tpk-serif); font-style: italic;
  font-size: 26px; color: var(--tpk-gold-light);
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--tpk-border-subtle);
  letter-spacing: -0.01em;
}

@media (max-width: 880px) {
  .tpk-founder { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 7 — CTA BANDEAU PARALLAX
   Large fond sombre, image lente parallax, headline + CTA centré
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-cta-bandeau {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 24px;
  text-align: center;
  overflow: hidden;
  background: var(--tpk-bg-dark-2);
}
.tpk-cta-bandeau-bg {
  position: absolute; inset: -20%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
  transform: scale(1.1);
  transition: transform 30s linear;
}
.tpk-cta-bandeau:hover .tpk-cta-bandeau-bg { transform: scale(1.15); }
.tpk-cta-bandeau::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,21,33,0.4) 0%, rgba(10,21,33,0.92) 100%);
  z-index: 1;
}
.tpk-cta-bandeau-content { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.tpk-cta-bandeau-eyebrow {
  font-family: var(--tpk-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tpk-gold-light);
  margin-bottom: 24px;
}
.tpk-cta-bandeau-title {
  font-family: var(--tpk-serif); font-weight: 400;
  font-size: clamp(40px, 6.5vw, 96px); line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 24px;
}
.tpk-cta-bandeau-title em {
  background: linear-gradient(135deg, var(--tpk-gold-bright) 0%, var(--tpk-gold-light) 50%, var(--tpk-gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.tpk-cta-bandeau-sub {
  font-family: var(--tpk-serif); font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  color: rgba(255,255,255,0.85);
  margin: 0 0 40px;
}
.tpk-cta-bandeau-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 40px;
  font-family: var(--tpk-sans);
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  background: linear-gradient(135deg, var(--tpk-gold), var(--tpk-gold-light));
  color: var(--tpk-bg-dark);
  border-radius: 100px;
  box-shadow: 0 16px 48px rgba(184,148,63,0.4);
  transition: all 0.4s var(--tpk-ease);
}
.tpk-cta-bandeau-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 64px rgba(184,148,63,0.55);
}
.tpk-cta-bandeau-btn-arrow {
  font-size: 20px;
  transition: transform 0.3s var(--tpk-ease);
}
.tpk-cta-bandeau-btn:hover .tpk-cta-bandeau-btn-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 8 — FAQ PREMIUM (accordéon avec icônes + transitions)
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-faq {
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 880px; margin-left: auto; margin-right: auto;
}
.tpk-faq-item {
  border-bottom: 1px solid var(--tpk-border-subtle);
  padding: 0;
}
.tpk-faq-item summary {
  list-style: none;
  padding: 28px 56px 28px 0;
  cursor: pointer;
  position: relative;
  font-family: var(--tpk-serif);
  font-size: clamp(20px, 2vw, 26px); font-weight: 400;
  line-height: 1.35; letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.3s var(--tpk-ease);
}
.tpk-faq-item summary::-webkit-details-marker { display: none; }
.tpk-faq-item summary::after {
  content: '';
  position: absolute; right: 8px; top: 50%;
  width: 14px; height: 14px;
  border-right: 2px solid var(--tpk-gold-light);
  border-bottom: 2px solid var(--tpk-gold-light);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.4s var(--tpk-ease);
}
.tpk-faq-item[open] summary { color: var(--tpk-gold-light); }
.tpk-faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.tpk-faq-item-answer {
  padding: 0 56px 32px 0;
  font-family: var(--tpk-sans);
  font-size: 16px; line-height: 1.7;
  color: var(--tpk-text-muted);
  animation: tpkFaqOpen 0.6s var(--tpk-ease);
}
.tpk-faq-item-answer a { color: var(--tpk-gold-light); border-bottom: 1px solid currentColor; }
.tpk-faq-item-answer strong { color: #fff; }
@keyframes tpkFaqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════════
   PATTERN 9 — FREEBIE STACK (BioScan + MoveScan + NutriScan + Newsletter)
   La section "porte d'entrée gratuite" — l'arme #1 du funnel.
   À placer en haut de chaque page payante + version étendue sur home.
   ═══════════════════════════════════════════════════════════════════════ */
.tpk-freebie-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.tpk-freebie {
  position: relative;
  background: linear-gradient(180deg, rgba(184,148,63,0.06), var(--tpk-bg-dark-3) 80%);
  border: 1px solid rgba(184,148,63,0.18);
  border-radius: 20px;
  padding: 32px 28px;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: all 0.4s var(--tpk-ease);
  overflow: hidden;
}
.tpk-freebie::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tpk-gold), transparent);
  opacity: 0.5;
  transition: opacity 0.3s var(--tpk-ease);
}
.tpk-freebie:hover {
  transform: translateY(-4px);
  border-color: rgba(184,148,63,0.45);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.tpk-freebie:hover::before { opacity: 1; }

.tpk-freebie-badge {
  align-self: flex-start;
  font-family: var(--tpk-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--tpk-gold), var(--tpk-gold-light));
  color: var(--tpk-bg-dark);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.tpk-freebie-name {
  font-family: var(--tpk-serif); font-weight: 400;
  font-size: 32px; line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 8px;
}
.tpk-freebie-name em {
  font-style: italic;
  color: var(--tpk-gold-light);
}
.tpk-freebie-tagline {
  font-family: var(--tpk-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tpk-gold-light);
  margin: 0 0 16px;
}
.tpk-freebie-desc {
  color: var(--tpk-text-muted);
  font-size: 14px; line-height: 1.6;
  margin: 0 0 24px;
  flex: 1;
}
.tpk-freebie-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--tpk-border-subtle);
  margin-bottom: 16px;
}
.tpk-freebie-meta-item {
  font-family: var(--tpk-mono);
  font-size: 11px; letter-spacing: 0.05em;
  color: var(--tpk-text-muted);
}
.tpk-freebie-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--tpk-sans);
  font-size: 14px; font-weight: 500;
  color: var(--tpk-gold-light);
  transition: gap 0.3s var(--tpk-ease);
  margin-top: auto;
}
.tpk-freebie:hover .tpk-freebie-arrow { gap: 14px; color: var(--tpk-gold-bright); }

/* Variante compact pour pages payantes (1 ligne, 4 cartes condensées) */
.tpk-freebie-stack--compact .tpk-freebie {
  padding: 24px 22px;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
}
.tpk-freebie-stack--compact .tpk-freebie-content { flex: 1; }
.tpk-freebie-stack--compact .tpk-freebie-name { font-size: 22px; margin-bottom: 4px; }
.tpk-freebie-stack--compact .tpk-freebie-tagline { font-size: 10px; margin-bottom: 8px; }
.tpk-freebie-stack--compact .tpk-freebie-desc { font-size: 13px; margin-bottom: 14px; }
.tpk-freebie-stack--compact .tpk-freebie-meta { display: none; }
.tpk-freebie-stack--compact .tpk-freebie-badge {
  position: absolute; top: 14px; right: 14px;
  margin-bottom: 0;
}

/* Bandeau "porte d'entrée" pour pages payantes — invitation visuelle forte */
.tpk-freebie-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(184,148,63,0.08) 0%, rgba(26,138,125,0.06) 100%);
  border: 1px solid rgba(184,148,63,0.25);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  margin: clamp(40px, 5vw, 56px) auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1100px;
}
.tpk-freebie-banner-content { }
.tpk-freebie-banner-eyebrow {
  font-family: var(--tpk-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tpk-gold-light);
  margin: 0 0 12px;
}
.tpk-freebie-banner-title {
  font-family: var(--tpk-serif); font-weight: 400;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
}
.tpk-freebie-banner-title em {
  background: linear-gradient(135deg, var(--tpk-gold-bright), var(--tpk-gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.tpk-freebie-banner-desc {
  color: var(--tpk-text-muted);
  font-size: 15px; line-height: 1.55;
  margin: 0;
  max-width: 640px;
}
.tpk-freebie-banner-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-family: var(--tpk-sans);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  background: linear-gradient(135deg, var(--tpk-gold), var(--tpk-gold-light));
  color: var(--tpk-bg-dark);
  border-radius: 100px;
  box-shadow: 0 12px 32px rgba(184,148,63,0.35);
  transition: all 0.3s var(--tpk-ease);
  white-space: nowrap;
}
.tpk-freebie-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(184,148,63,0.5);
}

@media (max-width: 720px) {
  .tpk-freebie-banner { grid-template-columns: 1fr; }
  .tpk-freebie-banner-cta { justify-self: start; }
  .tpk-freebie-stack--compact .tpk-freebie {
    flex-direction: column;
    gap: 12px;
  }
  .tpk-freebie-stack--compact .tpk-freebie-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 12px;
  }
}

/* ─── A11y screen-reader-only utility (WCAG 2.1 standard) ─── */
.tpk-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
