/* ============================================================
 *  FILE:  /afvallen/assets/css/afvallen.css
 *  ROLE:  Extra secties voor de HypnoSlank one-page:
 *         hero-knoppen, 8-weken programma + luisterfragmenten,
 *         prijs-kaarten, garantie en onderzoek.
 *  LOADS AFTER:  base.css + funnel.css (ongewijzigd van /slaap)
 * ============================================================ */

:root {
  --hyp:      var(--brand-deep); /* Hypnosesessie-speler (roze) */
  --hyp-soft: var(--brand-soft);
  --mul:      var(--gold);      /* Multiliminal-speler (goud) */
  --mul-soft: var(--gold-soft);
}

/* ============ HYPNOSLANK-PALET ============
 * funnel.css (van /slaap) bevat een paar vaste kleuren (paars/navy) en
 * schaduwen; die worden hier vervangen door het palet uit config.theme. */
.cta-btn, .sticky-cta a { color: var(--accent-text); }
.cta-btn { box-shadow: 0 4px 14px -2px rgba(216, 30, 70, .35); }
.cta-btn:hover { box-shadow: 0 8px 22px -4px rgba(216, 30, 70, .45); }
.solution::before { background: radial-gradient(circle, rgba(235, 39, 78, .18) 0%, transparent 60%); }
.step-num { box-shadow: 0 4px 14px -4px rgba(216, 30, 70, .25); }
.final { background: linear-gradient(180deg, var(--ink) 0%, #2A1022 100%); }
/* Kleine tekst in roze-diep (leesbaar), grote koppen in roze */
.eyebrow, .week-label, .session-label { color: var(--brand-deep); }
.eyebrow::before { background: var(--gold); }
.solution .eyebrow, .final .eyebrow { color: var(--gold); }
.gift-badge { background: var(--brand-deep); }   /* witte tekst leesbaar */
.trust-bar-divider { opacity: .8; }

/* Logo */
.logo-img { display: inline-flex; align-items: center; gap: 12px; }
.logo-img img { height: var(--logo-height); width: auto; }
.nav { padding: 16px 0; }
.hero { padding-top: calc(var(--logo-height) + 48px); }   /* ruimte voor het logo */
.final-logo {
  display: block;
  height: var(--logo-height-final);
  width: auto;
  margin: 0 auto 28px;
}
html { scroll-padding-top: 24px; }
h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); }

/* ============ HERO: knoppen i.p.v. formulier ============ */
.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-bottom: 28px;
}
.cta-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .2s ease;
}
.cta-link:hover { color: var(--brand-deep); }
.hero-img { background: linear-gradient(135deg, var(--brand-soft) 0%, var(--cream-deep) 100%); }
.hero-img img { object-position: center top; }
/* Placeholder-kleur van het probleem-fotokader (in funnel.css navy) */
.img-card { background: var(--cream-deep); }

/* FAQ-foto zonder kader (zelfde idee als de hero) */
.faq-intro-img-free { background: none; box-shadow: none; border-radius: 0; width: auto; max-width: 420px; }
.faq-intro-img-free img {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--img-fade, 18%)), transparent 100%);
          mask-image: linear-gradient(to bottom, #000 calc(100% - var(--img-fade, 18%)), transparent 100%);
}
/* Hero zonder kader: model vrijstaand, onderkant vloeit weg in de pagina */
.hero-img-free { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.hero-img-free img {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--hero-fade, 22%)), transparent 100%);
          mask-image: linear-gradient(to bottom, #000 calc(100% - var(--hero-fade, 22%)), transparent 100%);
}

/* ============ PROGRAMMA ============ */
.program {
  padding: 120px 0;
  background: var(--cream);
}
.program-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.program-header h2 { margin: 20px 0; }
.program-header h2 .italic { color: var(--brand); font-style: italic; }
.program-header p { font-size: 19px; color: var(--ink-soft); line-height: 1.5; }
.program-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
}
.program-legend span { display: inline-flex; align-items: center; gap: 8px; }
.program-legend span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; }
.program-legend em { font-style: normal; font-weight: 400; color: var(--ink-mute); }
.lg-hyp { color: var(--ink); } .lg-hyp::before { background: var(--hyp); }
.lg-mul { color: var(--ink); } .lg-mul::before { background: var(--mul); }

.week {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
}
.week-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--c) 7%, var(--paper));
}
.week-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.week-label, .session-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c, var(--brand));
}
.week-head h3 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 2px; }
.week-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 32px;
}

/* Video */
.week-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.week-video img, .week-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.week-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 40%, rgba(14, 23, 38, .35));
}
.week-video-play span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(250, 247, 242, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .25s ease, background .25s ease;
}
.week-video-play span::before {
  content: '';
  margin-left: 6px;
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--ink);
}
.week-video-play:hover span, .week-video-play:focus-visible span { transform: scale(1.08); background: var(--paper); }
.week-video-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 55%, var(--ink)) 0%, var(--ink) 75%);
}
.week-video-soon small { font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.week-video-cap { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* Sessies */
.week-sessions { display: flex; flex-direction: column; gap: 18px; }
.session {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--cream);
}
.session-top { display: flex; gap: 16px; align-items: flex-start; }
.session-top img, .bonus img { flex-shrink: 0; width: 64px; height: auto; }
.session h4, .bonus h4 { font-size: 20px; margin: 2px 0 4px; }
.session p, .bonus p { font-size: 14px; line-height: 1.5; color: var(--ink-mute); }
.players { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* Audiospeler (opbouw door afvallen.js) */
.player {
  --pc: var(--hyp);
  --pbg: var(--hyp-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 14px 8px 8px;
  border-radius: 12px;
  background: var(--pbg);
}
.player.p-mul { --pc: var(--mul); --pbg: var(--mul-soft); --picon: var(--ink); }
.player .player-label { color: var(--ink); }   /* leesbaar op beide achtergronden */
.player-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pc);
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-btn:focus-visible { outline: 2px solid var(--pc); outline-offset: 2px; }
.player-btn::before {
  content: '';
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--picon, var(--paper));
}
.player.is-playing .player-btn::before { margin: 0; width: 10px; height: 12px; border: 0; border-left: 3px solid var(--picon, var(--paper)); border-right: 3px solid var(--picon, var(--paper)); }
.player.is-loading .player-btn::before { margin: 0; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: var(--paper); border-radius: 50%; animation: spin .8s linear infinite; }
.player-main { flex: 1; min-width: 0; }
.player-row { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; line-height: 1.3; }
.player-label { font-weight: 600; color: var(--pc); }
.player-time { color: var(--ink-mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player.is-error .player-time { color: var(--accent); }
.player.is-soon { opacity: .55; }
.player.is-soon .player-btn { cursor: default; }
.player.is-soon .player-bar { cursor: default; }
.player-bar {
  position: relative;
  height: 5px;
  margin-top: 7px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--pc) 20%, var(--paper));
  cursor: pointer;
}
.player-bar::after { content: ''; position: absolute; inset: -8px 0; } /* grotere klikzone */
.player-fill { height: 100%; width: 0; border-radius: 3px; background: var(--pc); }

/* Bonussen */
.bonuses { margin-top: 70px; }
.bonuses h3 { text-align: center; margin-bottom: 36px; font-size: clamp(26px, 3.4vw, 38px); }
.bonuses h3 .italic { color: var(--gold); font-style: italic; }
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bonus {
  --c: var(--gold);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gold-soft);
}

/* ============ PRIJS-KAARTEN (bouwen op .gift uit funnel.css) ============ */
.tiers { align-items: stretch; }
/* Iconen die opstapelen: Basis 🎧 · Pro 🎧+☀ · Premium 🎧+☀+🌙 */
.tier .tier-icons { width: auto; height: auto; background: none; gap: 6px; justify-content: flex-start; }
.tier-icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.tier-icon-sun  { background: var(--gold-soft); color: #9A6F22; }
.tier-icon-moon { background: var(--ink); color: var(--gold); }
.tier-icon-plus { font-size: 16px; font-weight: 600; color: var(--ink-mute); }
.tier { display: flex; flex-direction: column; }
.tier-featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.tier-ribbon {
  position: absolute;
  top: -12px;
  right: 30px;
  background: var(--gold);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tier-features { list-style: none; margin-bottom: 24px; }
.tier-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.tier-features li:last-child { border-bottom: 0; }
.tier-features svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }
.tier-price { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 20px; }
.tier-price s { font-family: var(--serif); font-size: 20px; color: var(--ink-mute); }
.tier-price .price {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-deep);
  font-variation-settings: 'opsz' 80;
}
.tier-price-note { width: 100%; font-size: 13px; color: var(--ink-mute); }
.tier-btn { justify-content: center; width: 100%; }

.guarantee-box {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 740px;
  margin: 0 auto;
  background: var(--paper);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  box-shadow: var(--shadow);
}
.guarantee-box > svg { flex-shrink: 0; color: var(--gold); }
.guarantee-box p { font-size: 16px; color: var(--ink-soft); line-height: 1.55; }
.guarantee-box a { color: var(--brand); border-bottom: 1px solid currentColor; }
.guarantee-box .inline-form-note { text-align: left; margin-top: 6px; }

/* ============ ONDERZOEK (bouwt op .testimonials) ============ */
.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.proof-img {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.proof-img img { border-radius: 10px; }
.proof-text p { font-size: 17px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }
.proof-text strong { color: var(--ink); }
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.proof-stat {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.proof-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 48px);
  color: var(--brand);
  font-style: italic;
  line-height: 1.1;
  font-variation-settings: 'opsz' 80, 'SOFT' 100;
}
.proof-label { font-size: 14px; color: var(--ink-mute); }

/* Final: knop i.p.v. formulier */
.final .cta-btn { padding: 18px 34px; font-size: 16px; }
.final .final-note { font-size: 13px; margin: 24px 0 0; } /* ".final p" uit funnel.css wint anders */

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .week-body { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .program { padding: 80px 0; }
  .tiers { gap: 30px; }
  .proof-grid { grid-template-columns: 1fr; gap: 36px; }
  .proof-stats { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .hero-ctas .cta-btn { width: auto; }
}
@media (max-width: 640px) {
  .logo-img img { height: var(--logo-height-mobile); }
  .hero { padding-top: calc(var(--logo-height-mobile) + 40px); }
  .week-head { padding: 18px 20px; gap: 14px; }
  .week-num { width: 44px; height: 44px; font-size: 22px; }
  .week-body { padding: 20px; gap: 22px; }
  .session { padding: 14px; }
  .players { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .guarantee-box { flex-direction: column; text-align: center; padding: 24px; }
  .guarantee-box .inline-form-note { text-align: center; }
  .hero-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-ctas .cta-btn { width: 100%; justify-content: center; }
  .cta-link { align-self: center; }
}
