/* ====================================================================
   Les Comptines au Piano — Page de vente
   Built on the MyPianoPop Design System (tokens.css)
   ==================================================================== */

@import url('./tokens.css');

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 1.125rem;          /* 18px — senior comfort */
  line-height: var(--lh-body);
  color: var(--fg-1);
  background: var(--bg-page);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.wrap--narrow { max-width: 720px; }
.wrap--mid { max-width: 920px; }

section { position: relative; }
.pad { padding-block: clamp(56px, 8vw, 96px); }
.pad-sm { padding-block: clamp(40px, 6vw, 64px); }

.bg-white { background: var(--mpp-surface); }
.bg-alt   { background: var(--mpp-surface-2); }
.bg-cream { background: var(--mpp-cream); }
.bg-paper { background: var(--mpp-blue-paper); }
.bg-night { background: var(--mpp-blue-night); color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mpp-blue); margin-bottom: 16px;
}
.eyebrow--gold { color: var(--mpp-gold); }
.hl-blue { color: var(--mpp-blue); }
.hl-gold { color: var(--mpp-gold); }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  line-height: 1.2; letter-spacing: -0.01em;
  margin: 0 0 18px; color: var(--mpp-ink);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--fg-2); line-height: 1.6; }
.center { text-align: center; }

/* ---------- Buttons / CTA ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 16px 34px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.15;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
  text-align: center;
}
.btn .arrow { font-size: 1.15em; line-height: 0; transition: transform var(--dur) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold {
  background: var(--mpp-gold); color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: #C8923F; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(215,163,87,.6); color:#fff; }

.btn-primary {
  background: var(--mpp-blue); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--mpp-blue-hover); transform: translateY(-2px); color:#fff; }

.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 64px; font-size: 1.3rem; padding: 18px 40px; }

.cta-note { margin-top: 14px; font-size: 1rem; color: var(--fg-3); }
.bg-night .cta-note { color: #AFC8E6; }

/* center a CTA between sections */
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 36px; }

/* ====================================================================
   TOP BAR
   ==================================================================== */
.launchbar {
  background: var(--mpp-gold); color: #3a2a0e;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.98rem; text-align: center;
  padding: 9px 16px; letter-spacing: 0.01em;
}
.launchbar strong { color: #2a1e08; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--mpp-border);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px; gap: 16px;
}
.topbar img { height: 40px; width: auto; }
.topbar .btn { min-height: 48px; padding: 10px 22px; font-size: 1rem; }
.topbar-trust { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fg-2); font-size: 0.95rem; }
.topbar-trust .stars { color: var(--mpp-gold); letter-spacing: 1px; }

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  background: linear-gradient(180deg, #E8F4FF 0%, #F3F9FF 58%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-decor svg { position: absolute; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem); line-height: 1.1;
  letter-spacing: -0.015em; margin: 18px 0 18px; color: var(--mpp-ink);
}
.hero-sub { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: var(--fg-2); line-height: 1.55; margin: 0 0 30px; max-width: 540px; }
.hero-photo { position: relative; }
.hero-photo .blob {
  position: absolute; inset: -6% -4% -10% -4%;
  background: radial-gradient(circle at 55% 45%, #CFE7FF 0%, rgba(207,231,255,0) 62%);
  border-radius: 50%; z-index: 0;
}
.hero-photo img { position: relative; z-index: 1; width: 100%; }
.hero-eyebrow-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--mpp-gold-soft);
  color: #8B5E1E; padding: 9px 16px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow-badge .star { color: var(--mpp-gold); }

/* video under hero */
.hero-video { margin-top: 40px; }
.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #00254a; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5);
}
.video-frame .thumb { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-frame .placeholder-fill {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a3c72, #0075E2);
  display: flex; align-items: center; justify-content: center;
}
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.3); cursor: pointer; z-index: 2;
  transition: transform var(--dur) var(--ease-out);
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.06); }
.play-btn svg { margin-left: 5px; }
.video-cap {
  position: absolute; left: 0; bottom: 0; right: 0; z-index: 2;
  padding: 18px 20px; color: #fff;
  background: linear-gradient(0deg, rgba(0,18,38,.78), transparent);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}

/* ====================================================================
   ACCROCHE (narrow text block)
   ==================================================================== */
.accroche p { font-size: clamp(1.18rem, 1.8vw, 1.4rem); line-height: 1.65; color: var(--mpp-ink); margin: 0 0 22px; }
.accroche p:first-child { font-weight: 700; }
.accroche p:last-child { margin-bottom: 0; }
.accroche .emph { color: var(--mpp-blue); font-weight: 700; }

/* ====================================================================
   STORY / EMPATHY (cream)
   ==================================================================== */
.story-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 52px; align-items: center; }
.story-copy p { font-size: 1.16rem; line-height: 1.66; color: var(--mpp-ink); }
.story-copy p .quote { color: var(--fg-2); font-style: italic; }

/* ====================================================================
   BIG IDEA / RÉVÉLATION
   ==================================================================== */
.idea-box {
  background: var(--mpp-blue-paper); border: 1px solid #D5E8FB;
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.idea-box .keyline { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; font-family: var(--font-display); color: var(--mpp-blue-night); line-height: 1.35; margin: 0; letter-spacing: -0.01em; }
.idea-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 44px; align-items: center; }
.idea-copy p { font-size: 1.12rem; line-height: 1.62; }

/* mini keyboard demo */
.keyboard-demo { background: #fff; border: 1px solid var(--mpp-border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); }
.keyboard-demo .kb-label { font-family: var(--font-display); font-weight: 700; color: var(--fg-2); font-size: 0.95rem; text-align: center; margin-bottom: 16px; letter-spacing: .02em; }
.keys { position: relative; display: flex; height: 150px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 -3px 8px rgba(0,0,0,.06); }
.key-white { flex: 1; background: #fff; border: 1px solid #DADDE1; border-top: none; border-radius: 0 0 5px 5px; position: relative; }
.key-white.lit { background: var(--mpp-blue-wash); }
.key-white.lit::after { content: attr(data-finger); position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--mpp-blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.key-black { position: absolute; top: 0; width: 8.5%; height: 62%; background: var(--mpp-key-black); border-radius: 0 0 4px 4px; z-index: 2; box-shadow: 0 3px 6px rgba(0,0,0,.35); }
.kb-caption { text-align: center; margin: 16px 0 0; font-size: 0.98rem; color: var(--fg-3); }

/* ====================================================================
   SCÈNE CET ÉTÉ
   ==================================================================== */
.scene-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.scene-copy > p { font-size: 1.16rem; line-height: 1.62; }
.scene-copy > p.kicker { font-weight: 700; font-size: 1.22rem; color: var(--mpp-ink); }
.scene-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.scene-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; font-size: 1.1rem; line-height: 1.5; }
.scene-list .ic {
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  border: 1px solid var(--mpp-gold-soft); color: var(--mpp-blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.scene-final { font-weight: 700; color: var(--mpp-blue-night); }

/* ====================================================================
   DOUBLE CADEAU (2 columns)
   ==================================================================== */
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gift-col {
  background: #fff; border: 1px solid var(--mpp-border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.gift-col .ph { aspect-ratio: 16 / 10; }
.gift-head { display: flex; align-items: center; gap: 14px; padding: 22px 26px 0; }
.gift-head .ic {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.gift-col--them .ic { background: var(--c-green); }
.gift-col--you .ic  { background: var(--mpp-blue); }
.gift-head h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; margin: 0; color: var(--mpp-ink); }
.gift-head .sub { font-size: 0.92rem; color: var(--fg-3); font-weight: 600; }
.gift-list { list-style: none; margin: 0; padding: 20px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.gift-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 1.08rem; line-height: 1.45; }
.gift-list .check { color: var(--mpp-green-action); margin-top: 2px; }
.gift-list li.summary { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--mpp-border); font-weight: 700; color: var(--mpp-blue-night); grid-template-columns: 1fr; }

/* ====================================================================
   COURS + PROGRAMME
   ==================================================================== */
.mockup-wrap { max-width: 880px; margin: 0 auto 8px; }
.mockup-wrap img { width: 100%; border-radius: var(--radius-lg); }

.songs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px;
  max-width: 820px; margin: 0 auto;
}
.song-item {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center;
  padding: 13px 16px; border-bottom: 1px solid var(--mpp-border); font-size: 1.08rem;
}
.song-item .num { color: var(--mpp-blue); }
.song-item b { font-weight: 600; }

.tri-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tri-card {
  background: #fff; border: 1px solid var(--mpp-border); border-radius: var(--radius-md);
  padding: 26px 24px; text-align: left;
}
.tri-card .ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--mpp-blue-mist);
  color: var(--mpp-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.tri-card h4 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin: 0; color: var(--mpp-ink); line-height: 1.35; }

.subhead { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--mpp-ink); margin: 0 0 24px; }

/* ====================================================================
   TÉMOIGNAGES
   ==================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: #fff; border: 1px solid var(--mpp-gold-soft); border-radius: var(--radius-lg);
  padding: 26px; position: relative; display: flex; flex-direction: column;
}
.testi-card .stars { color: var(--mpp-gold); letter-spacing: 2px; font-size: 1.15rem; margin-bottom: 14px; }
.testi-card .quote { font-size: 1.08rem; line-height: 1.55; color: var(--mpp-ink); margin: 0 0 22px; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-who .avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--mpp-blue-wash);
}
.testi-who .name { font-family: var(--font-display); font-weight: 700; color: var(--mpp-ink); }
.testi-who .ctx { font-size: 0.92rem; color: var(--fg-3); }
.testi-card .bigquote { position: absolute; right: 18px; bottom: 6px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--mpp-gold-soft); pointer-events: none; }
.testi-card--reserved {
  border: 2px dashed var(--mpp-gold); background: #FFFCF6; align-items: center; justify-content: center; text-align: center; gap: 12px;
}
.testi-card--reserved .badge { font-family: var(--font-display); font-weight: 700; color: var(--mpp-gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; }
.testi-card--reserved p { margin: 0; color: var(--fg-2); font-size: 1rem; }

/* ====================================================================
   PRIX / COMPARAISON
   ==================================================================== */
.compare {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--mpp-border);
}
.compare-col { padding: 0; }
.compare-col--old { background: var(--mpp-surface-2); }
.compare-col--new { background: #fff; position: relative; }
.compare-col--new { box-shadow: inset 4px 0 0 var(--mpp-gold); }
.compare-head { padding: 22px 28px; border-bottom: 1px solid var(--mpp-border); }
.compare-head h3 { font-family: var(--font-display); font-size: 1.18rem; margin: 0; color: var(--mpp-ink); }
.compare-col--old .compare-head h3 { color: var(--fg-2); }
.compare-col--new .compare-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.compare-col--new .compare-head .tag { background: var(--mpp-gold); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: var(--radius-pill); }
.compare-row { padding: 16px 28px; border-bottom: 1px solid var(--mpp-border); }
.compare-row:last-child { border-bottom: none; }
.compare-row .rl { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--fg-3); margin-bottom: 4px; }
.compare-row .rv { font-size: 1.08rem; line-height: 1.4; }
.compare-col--old .rv { color: var(--fg-2); }
.compare-col--new .rv { color: var(--mpp-ink); font-weight: 600; }
.compare-col--new .rv .ok { color: var(--mpp-green-action); font-weight: 700; }

.price-block { text-align: center; padding: 30px 28px; background: linear-gradient(180deg, #FFFDF8, #fff); }
.price-old { font-size: 1.4rem; color: var(--fg-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.price-new { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 4.2rem); color: var(--mpp-gold); line-height: 1; letter-spacing: -0.02em; }
.price-once { font-size: 1rem; color: var(--fg-2); margin-top: 4px; }
.price-intro { max-width: 720px; margin: 0 auto 36px; text-align: center; font-size: 1.16rem; color: var(--fg-2); line-height: 1.6; }
.price-summary { max-width: 680px; margin: 28px auto 0; text-align: center; font-size: 1.12rem; line-height: 1.6; color: var(--mpp-ink); }
.duo-note {
  max-width: 560px; margin: 22px auto 0; text-align: center;
  background: var(--mpp-blue-paper); border: 1px solid #D5E8FB; border-radius: var(--radius-md);
  padding: 16px 22px; font-size: 1.02rem; color: var(--mpp-blue-night);
}
.duo-note .duo-old { text-decoration: line-through; color: var(--fg-3); }

/* ====================================================================
   GARANTIE
   ==================================================================== */
.guarantee-band {
  background: var(--mpp-gold-soft); border-top: 1px solid #EAD7AE; border-bottom: 1px solid #EAD7AE;
}
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.guar-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.guar-item .ic {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--mpp-gold);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.guar-item .t { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #5a4216; line-height: 1.3; }
.guarantee-text { max-width: 720px; margin: 0 auto; text-align: center; font-size: 1.16rem; line-height: 1.6; color: var(--mpp-ink); }
.guarantee-text strong { color: var(--mpp-blue-night); }

/* ====================================================================
   FAQ
   ==================================================================== */
.faq-item { border-bottom: 1px solid var(--mpp-border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.2rem; color: var(--mpp-ink);
}
.faq-q:hover { color: var(--mpp-blue); }
.faq-q .chev { color: var(--mpp-blue); flex-shrink: 0; transition: transform var(--dur) var(--ease-out); }
.faq-item.open .faq-q { color: var(--mpp-blue); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-a p { padding: 0 4px 24px; margin: 0; font-size: 1.1rem; color: var(--fg-2); line-height: 1.62; }

/* ====================================================================
   FINAL CTA (night)
   ==================================================================== */
.final { text-align: center; overflow: hidden; }
.final h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: #fff; line-height: 1.15; margin: 0 0 20px; }
.final p { font-size: 1.18rem; line-height: 1.6; color: #CFE0F2; max-width: 720px; margin: 0 auto 20px; }
.final .two-options { color: #fff; }
.final .two-options .opt-b { color: var(--mpp-gold); font-weight: 700; }
.countdown { display: flex; justify-content: center; gap: 14px; margin: 8px auto 32px; }
.cd-cell { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); padding: 14px 10px; min-width: 78px; }
.cd-cell .n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #fff; line-height: 1; }
.cd-cell .l { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; color: #9FBADA; margin-top: 6px; }
.signoff { margin-top: 30px; }
.signoff .name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.1rem; }
.signoff .support { color: #9FBADA; font-size: 0.98rem; margin-top: 4px; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.footer { background: var(--mpp-ink); color: #fff; padding: 44px 0 36px; }
.footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer img { height: 42px; }
.footer p { color: #AEB3B8; font-size: 0.98rem; margin: 0; max-width: 460px; }
.footer .legal { color: #80868C; font-size: 0.88rem; }
.footer a { color: #CBD0D4; }

/* ---------- Image placeholder (for photos to be supplied) ---------- */
.ph {
  background:
    repeating-linear-gradient(45deg, rgba(0,117,226,.05) 0 14px, rgba(0,117,226,.09) 14px 28px),
    var(--mpp-blue-mist);
  border: 1.5px dashed #9FC6EF; border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--mpp-blue-deep); text-align: center; padding: 24px;
  min-height: 200px;
}
.ph svg { opacity: .65; }
.ph .ph-label { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.ph .ph-hint { font-size: 0.85rem; color: var(--mpp-blue-deep); opacity: .8; max-width: 240px; }
.rounded { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-lg); }
.photo-real { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow-lg); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 900px) {
  .hero-grid, .story-grid, .idea-grid, .scene-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: -1; max-width: 460px; margin: 0 auto; }
  .gift-grid { grid-template-columns: 1fr; }
  .tri-cards { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .compare { grid-template-columns: 1fr; }
  .compare-col--new { box-shadow: inset 0 4px 0 var(--mpp-gold); }
  .songs-grid { grid-template-columns: 1fr; }
  .topbar-trust { display: none; }
}
@media (max-width: 560px) {
  .topbar .btn { display: none; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .countdown { gap: 8px; }
  .cd-cell { min-width: 64px; padding: 12px 6px; }
  .cd-cell .n { font-size: 1.6rem; }
  .btn { width: 100%; }
}

/* ====================================================================
   V2 HERO — vidéo centrale, titre + CTA above the fold, fond comptines
   ==================================================================== */
.hero--v2 {
  background:
    radial-gradient(circle at 18% 12%, rgba(255,207,60,.18) 0, rgba(255,207,60,0) 26%),
    radial-gradient(circle at 84% 16%, rgba(238,118,119,.16) 0, rgba(238,118,119,0) 28%),
    radial-gradient(circle at 50% 100%, rgba(30,168,90,.10) 0, rgba(30,168,90,0) 40%),
    linear-gradient(180deg, #E8F4FF 0%, #F3F9FF 46%, #FDF6EC 100%);
  padding-top: clamp(40px, 6vw, 64px);
  text-align: center;
}
.hero-center {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
.hero--v2 .hero-eyebrow-badge { background: #fff; }
.hero--v2 .eyebrow--gold { letter-spacing: 0.1em; }
.hero--v2 .hero-center { max-width: 1040px; }
.hero--v2 h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.16;
  margin: 8px auto 16px; max-width: none; text-wrap: balance;
}
.hero--v2 .hero-sub { margin: 0 auto 26px; max-width: 760px; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; }
.hero-cta .btn { width: auto; }

.hero-video-main { width: 100%; max-width: 860px; margin: 40px auto 0; }
.hero-video-main .video-frame { box-shadow: 0 30px 60px -22px rgba(0,59,115,.42); }

/* décor enfantin : notes colorées + pois flottants */
.hero--v2 .hero-decor svg, .hero--v2 .hero-decor .d-dot { position: absolute; }
.hero--v2 .d-wave  { top: 4%; left: -70px; opacity: .55; }
.hero--v2 .d-note  { opacity: .8; animation: floaty 7s ease-in-out infinite; }
.hero--v2 .d-note--1 { top: 11%;  left: 7%;  animation-delay: 0s; }
.hero--v2 .d-note--2 { top: 20%;  right: 9%; animation-delay: 1.2s; }
.hero--v2 .d-note--3 { top: 50%;  left: 4%;  animation-delay: .6s; opacity:.7; }
.hero--v2 .d-note--4 { top: 56%;  right: 6%; animation-delay: 1.8s; opacity:.72; }
.hero--v2 .d-dot {
  width: 14px; height: 14px; border-radius: 50%; opacity: .55;
  animation: floaty 6s ease-in-out infinite;
}
.hero--v2 .d-dot--a { top: 30%; left: 14%; background: #FFCF3C; animation-delay: .3s; }
.hero--v2 .d-dot--b { top: 16%; left: 34%; background: #8DC8FF; width: 10px; height: 10px; animation-delay: 1s; }
.hero--v2 .d-dot--c { top: 40%; right: 16%; background: #EE7677; width: 11px; height: 11px; animation-delay: 1.6s; }
.hero--v2 .d-dot--d { top: 12%; right: 26%; background: #1EA85A; width: 9px; height: 9px; animation-delay: .8s; }
.hero--v2 .d-dot--e { top: 62%; left: 20%; background: #D7A357; width: 10px; height: 10px; animation-delay: 2.1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) {
  .hero--v2 .d-note, .hero--v2 .d-dot { animation: none; }
}

@media (max-width: 700px) {
  .hero--v2 .d-note--1, .hero--v2 .d-note--3, .hero--v2 .d-dot--a, .hero--v2 .d-dot--e { display: none; }
  .hero-video-main { margin-top: 28px; }
}

/* ====================================================================
   V3 — COUCHE COMPTINES (accent tendre par-dessus la base MyPianoPop)
   ==================================================================== */
:root {
  --c-turq:   #78C0A8;
  --c-turq-lt:#DCF0E8;
  --c-yellow: #F2CF3C;
  --c-yellow-bg:#FBE9A3;
  --c-red:    #E0451F;
  --c-coral:  #F4837C;
  --c-coral-lt:#FBE0DD;
  --c-green:  #6FBF6A;
  --c-green-lt:#E2F2DF;
  --c-indigo: #1E3478;
}

/* --- Lettrage rond joueur (1–3 mots seulement) --- */
.lettering { font-family: 'Fredoka', var(--font-display); font-weight: 600; letter-spacing: .005em; }
.hero--v3 h1 .hl-blue { color: var(--c-red); }

/* --- Bande de clavier (touches simples, sans bandeau de couleurs) --- */
.kb-band {
  height: 26px; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='40' viewBox='0 0 210 40'%3E%3Crect width='210' height='40' fill='%23ffffff'/%3E%3Cg stroke='%23dce0e5' stroke-width='1.5'%3E%3Cline x1='30' y1='0' x2='30' y2='40'/%3E%3Cline x1='60' y1='0' x2='60' y2='40'/%3E%3Cline x1='90' y1='0' x2='90' y2='40'/%3E%3Cline x1='120' y1='0' x2='120' y2='40'/%3E%3Cline x1='150' y1='0' x2='150' y2='40'/%3E%3Cline x1='180' y1='0' x2='180' y2='40'/%3E%3C/g%3E%3Cg fill='%231b1d20'%3E%3Crect x='21' y='0' width='17' height='23' rx='2'/%3E%3Crect x='52' y='0' width='17' height='23' rx='2'/%3E%3Crect x='112' y='0' width='17' height='23' rx='2'/%3E%3Crect x='142' y='0' width='17' height='23' rx='2'/%3E%3Crect x='172' y='0' width='17' height='23' rx='2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: auto 100%;
  border-top: 1px solid #eceef0;
  box-shadow: 0 5px 12px -9px rgba(37,40,43,.22);
  position: relative; z-index: 2;
}

/* --- Notes volantes en filigrane (fond léger) --- */
.notes-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.notes-bg svg { position: absolute; opacity: .14; }
.notes-bg .n1 { top: 12%; left: 6%; }
.notes-bg .n2 { top: 24%; right: 9%; }
.notes-bg .n3 { bottom: 16%; left: 12%; }
.notes-bg > * { position: relative; z-index: 1; }

/* --- Spots animaux-musiciens --- */
.animal-spot { position: absolute; z-index: 1; filter: drop-shadow(0 8px 14px rgba(37,40,43,.12)); }
.animal-inline { display: block; }

/* ====================================================================
   V3 — FONDS DE SECTION EN ROTATION
   ==================================================================== */
/* Hero : turquoise tendre vers crème */
.hero--v3 {
  background:
    radial-gradient(circle at 16% 14%, rgba(120,192,168,.30) 0, rgba(120,192,168,0) 30%),
    radial-gradient(circle at 86% 18%, rgba(244,131,124,.20) 0, rgba(244,131,124,0) 30%),
    linear-gradient(180deg, #DCF0E8 0%, #EAF7F1 50%, #FDF6EC 100%);
}
.hero--v3 .hero-eyebrow-badge { background: #fff; border-color: var(--c-turq); color: #2c6b58; }
.hero--v3 .hero-eyebrow-badge .star { color: var(--c-turq); }

/* Section projection : jaune soleil (texte foncé) */
.scene--v3 { background: linear-gradient(180deg, #FBE9A3 0%, #FCEFB6 100%); }
.scene--v3 .eyebrow--gold { color: #9a6a12; }
.scene--v3 .scene-list .ic { border-color: #E7C65A; color: #b5731b; }
.scene--v3 .scene-final { color: var(--c-red); }

/* Double cadeau : colonne enfants accent vert (neutre fille/garçon) */
.gift-col--them { background: var(--c-green-lt); border-color: #BFE3BA; }
.gift-col--them .gift-head h3 { color: #2f7a39; }
.gift-col--them .ph { background:
  repeating-linear-gradient(45deg, rgba(111,191,106,.06) 0 14px, rgba(111,191,106,.11) 14px 28px), #E2F2DF;
  border-color: #BCE0B6; color: #2f7a39; }

/* CTA final : ciel étoilé indigo */
.final--v3 { background: radial-gradient(circle at 50% 0%, #2A4798 0%, #1E3478 55%, #162a63 100%); }
.final--v3 .star-field { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.final--v3 .star-field span {
  position: absolute; color: var(--mpp-gold);
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity:.35; transform: scale(.9); } 50% { opacity:1; transform: scale(1.1); } }
.final--v3 .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce){ .final--v3 .star-field span { animation: none; } }

@media (max-width: 700px){
  .animal-spot { transform: scale(.7); }
}

/* ====================================================================
   V3 — HOOKS TWEAKS (couleur boutons, couleur accent, intensité palette)
   ==================================================================== */
/* Couleur des boutons (tous les CTA) */
.btn-gold { background: var(--tw-btn, var(--mpp-gold)); }
.btn-gold:hover { background: var(--tw-btn, var(--mpp-gold)); filter: brightness(.92); }

/* --- Intensité de la palette comptines --- */
/* Vive */
.pal-vive .hero--v3 {
  background:
    radial-gradient(circle at 16% 14%, rgba(120,192,168,.5) 0, rgba(120,192,168,0) 32%),
    radial-gradient(circle at 86% 18%, rgba(244,131,124,.34) 0, rgba(244,131,124,0) 32%),
    linear-gradient(180deg, #C7EADD 0%, #DEF3EB 50%, #FDF6EC 100%);
}
.pal-vive .scene--v3 { background: linear-gradient(180deg, #F8DA5E 0%, #FBE684 100%); }
.pal-vive .gift-col--them { background: #D2EDCF; border-color: #A9DBA4; }
.pal-vive .final--v3 { background: radial-gradient(circle at 50% 0%, #2E4FA8 0%, #1E3478 55%, #14276022 100%), #1E3478; }

/* Très vive */
.pal-tres-vive .hero--v3 {
  background:
    radial-gradient(circle at 16% 14%, rgba(120,192,168,.72) 0, rgba(120,192,168,0) 36%),
    radial-gradient(circle at 86% 16%, rgba(244,131,124,.5) 0, rgba(244,131,124,0) 34%),
    linear-gradient(180deg, #A9DDCC 0%, #CDEEE2 52%, #FBEFD9 100%);
}
.pal-tres-vive .scene--v3 { background: linear-gradient(180deg, #F2CF3C 0%, #F7DD63 100%); }
.pal-tres-vive .gift-col--them { background: #C2E8BD; border-color: #97D291; }
.pal-tres-vive .gift-col--them .gift-head h3 { color: #266b2f; }
.pal-tres-vive .final--v3 { background: radial-gradient(circle at 50% -5%, #3457BE 0%, #213B86 50%, #16285e 100%); }
.pal-tres-vive .hero-eyebrow-badge { border-color: #4DAE92; }

/* Panneau Tweaks : masqué par défaut, géré par le shell */
#tweaks-root:empty { display: none; }

/* --- Photos réelles intégrées (remplacent les placeholders) --- */
.photo-frame { width: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
.gift-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-bottom: 1px solid var(--mpp-border); }
.songs-illu { max-width: 760px; margin: 0 auto 8px; }
.songs-illu img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.songs-illu .cap { text-align: center; font-size: .98rem; color: var(--fg-3); margin: 12px 0 0; }

/* ====================================================================
   V3 — PREUVE SOCIALE (barre de stats)
   ==================================================================== */
.proofbar { background: var(--mpp-surface); border-bottom: 1px solid var(--mpp-border); padding: 22px 0; }
.proofbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: center; }
.proof-item { text-align: center; position: relative; }
.proof-item + .proof-item::before {
  content: ""; position: absolute; left: -9px; top: 50%; transform: translateY(-50%);
  height: 38px; width: 1px; background: var(--mpp-border);
}
.proof-item .stars { color: var(--mpp-gold); letter-spacing: 1px; font-size: .95rem; display: block; margin-bottom: 2px; }
.proof-item .pv { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--mpp-blue); line-height: 1; }
.proof-item .pl { font-size: .92rem; color: var(--fg-2); margin-top: 5px; }
@media (max-width: 640px) {
  .proofbar .wrap { grid-template-columns: 1fr 1fr; gap: 18px 8px; }
  .proof-item:nth-child(3)::before, .proof-item:nth-child(odd)::before { display: none; }
}

/* ====================================================================
   V3 — TABLEAU DE PRIX ALIGNÉ (grille à lignes partagées)
   ==================================================================== */
.compare2 {
  display: grid; grid-template-columns: 1fr 1.15fr;
  border: 1px solid var(--mpp-border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.compare2 .cc {
  padding: 16px 28px; border-bottom: 1px solid var(--mpp-border);
  display: flex; flex-direction: column; justify-content: center;
}
.compare2 .cc--old { background: var(--mpp-surface-2); }
.compare2 .cc--new { background: #fff; box-shadow: inset 4px 0 0 var(--mpp-gold); }
.compare2 .cc:nth-last-child(-n+2) { border-bottom: none; }
.compare2 .cc--head { padding: 22px 28px; }
.compare2 .cc--head h3 { font-family: var(--font-display); font-size: 1.18rem; margin: 0; color: var(--mpp-ink); }
.compare2 .cc--old.cc--head h3 { color: var(--fg-2); }
.compare2 .cc--new.cc--head { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.compare2 .cc--new.cc--head .tag {
  background: var(--mpp-gold); color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: var(--radius-pill); white-space: nowrap;
}
.compare2 .rl { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--fg-3); margin-bottom: 4px; }
.compare2 .rv { font-size: 1.08rem; line-height: 1.4; }
.compare2 .cc--old .rv { color: var(--fg-2); }
.compare2 .cc--new .rv { color: var(--mpp-ink); font-weight: 600; }
.compare2 .ok { color: var(--mpp-green-action); font-weight: 700; }
.compare2 .cc--price { padding: 0; }
.compare2 .price-block { text-align: center; padding: 26px 24px; background: linear-gradient(180deg, #FFFDF8, #fff); width: 100%; }
@media (max-width: 560px) {
  .compare2 .cc { padding: 12px 13px; }
  .compare2 .cc--head { padding: 14px 13px; }
  .compare2 .rv { font-size: .96rem; }
  .compare2 .rl { font-size: .72rem; }
  .compare2 .cc--head h3 { font-size: .98rem; }
  .compare2 .price-new { font-size: 2.6rem; }
  .compare2 .cc--new.cc--head .tag { font-size: .6rem; padding: 4px 7px; }
}

/* ====================================================================
   V3 — CTA COLLANT (mobile uniquement)
   ==================================================================== */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
    border-top: 1px solid var(--mpp-border); padding: 10px 16px env(safe-area-inset-bottom, 10px);
    box-shadow: 0 -6px 20px -8px rgba(37,40,43,.18);
  }
  .sticky-cta .btn { min-height: 50px; padding: 12px 22px; font-size: 1.02rem; white-space: nowrap; width: auto; flex: 0 0 auto; }
  .sticky-price { line-height: 1.1; }
  .sticky-price .sp-new { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--mpp-gold); }
  .sticky-price .sp-old { color: var(--fg-3); text-decoration: line-through; font-size: 1rem; margin-left: 4px; }
  body { padding-bottom: 76px; }
}

/* --- 4e témoignage mis en avant, pleine largeur sous la grille --- */
.testi-grid--single { grid-template-columns: 1fr; margin-top: 22px; }
.testi-card--feature {
  background: linear-gradient(180deg, #FFFCF5, #fff);
  border: 1.5px solid var(--mpp-gold-soft);
  box-shadow: var(--shadow-md);
}
.testi-card--feature .quote { font-size: 1.18rem; }
@media (min-width: 760px) {
  .testi-card--feature { padding: 30px 36px; }
  .testi-card--feature .quote { max-width: 760px; }
}
