/* Charte Mélissa MB · méthode UMB / Media Girl Academy · clone fidèle systeme.io
   Palette bordeaux (lie-de-vin) + accent bleu ciel + fond crème, titres serif Fraunces.
   Réutilise le kit funnel maison (structure CSS issue du funnel Adrien). */
:root {
  --orange: #6b2121;
  --orange-dark: #571a1a;
  --or: #5b9bc9;
  --or-light: #9fcbe4;
  --beige: #f3eee9;
  --beige-2: #ebe1d7;
  --bleu: #5c1a1a;
  --bleu-dark: #4a1414;
  --text: #2a1a18;
  --text-muted: #6e5b58;
  --text-light: #9b8a87;
  --border: #e3d3c9;
  --white: #ffffff;
  --shadow-sm: 0 2px 6px rgba(92,26,26,0.08);
  --shadow-md: 0 6px 18px rgba(92,26,26,0.12);
  --shadow-lg: 0 12px 32px rgba(92,26,26,0.16);
  --shadow-cta: 0 10px 28px rgba(92,26,26,0.30);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--beige);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--bleu);
  color: var(--white);
  padding: 9px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
}
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.topbar strong { color: var(--or); font-weight: 800; text-transform: uppercase; }
.dot-live {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(92,26,26,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(92,26,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(92,26,26,0); }
}

/* ===== HERO OPT-IN ===== */
.hero {
  background: var(--beige);
  padding: 40px 0 56px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--or);
  color: var(--bleu);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--bleu);
  margin-bottom: 16px;
}
.hero h1 .highlight {
  background: var(--or);
  color: var(--bleu);
  padding: 0 8px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero h1 .orange { color: var(--orange); }
.hero-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-muted);
  font-weight: 500;
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-sub strong { color: var(--text); font-weight: 700; }

.bullet-list { list-style: none; margin-bottom: 24px; }
.bullet-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.bullet-list li svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--orange);
  margin-top: 1px;
}

/* ===== FORM ===== */
.optin-form {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  max-width: 420px;
}
.optin-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.optin-input::placeholder { color: var(--text-light); }
.optin-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(92,26,26,0.12);
}
.optin-input.invalid {
  border-color: #d04545;
  background: #fff5f5;
}

.cta-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: var(--shadow-cta);
  transition: background .15s ease, transform .15s ease;
}
.cta-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.cta-primary .arr { transition: transform .15s ease; }
.cta-primary:hover .arr { transform: translateX(4px); }

.hero-trust {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--orange); }

/* ===== HERO PHOTO ADRIEN ===== */
.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--or), var(--orange));
  display: flex; align-items: center; justify-content: center;
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-portrait-placeholder {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 88px;
  font-weight: 900;
  letter-spacing: -0.02em;
  opacity: 0.5;
}
.hero-portrait-name {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--bleu);
}

.with-aurelien {
  margin-top: 12px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  max-width: max-content;
  font-size: 13px;
  font-weight: 600;
}
.with-aurelien img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.with-aurelien-stack {
  display: flex; align-items: center;
}
.with-aurelien-stack img {
  border: 2px solid var(--white);
  margin-left: -10px;
}
.with-aurelien-stack img:first-child { margin-left: 0; }

/* ===== COUNTDOWN ===== */
.countdown-section {
  background: var(--bleu);
  color: var(--white);
  padding: 28px 0;
}
.countdown-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.countdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--or);
}
.countdown-cells { display: flex; gap: 12px; }
.countdown-cell {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  min-width: 64px;
}
.countdown-cell strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.countdown-cell span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or-light);
  margin-top: 4px;
}

/* ===== STRIPE PROOF ===== */
.proof-stripe {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.proof-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.proof-stat { display: flex; align-items: center; gap: 12px; }
.proof-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.proof-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.2;
  font-weight: 600;
}
.proof-sep { width: 1px; height: 36px; background: var(--border); }
.proof-faces { display: flex; }
.proof-faces .face {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -10px;
  background: var(--or);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--bleu);
  background-size: cover;
  background-position: center;
}
.proof-faces .face:first-child { margin-left: 0; }
.proof-faces .face.b1 { background: var(--orange); color: var(--white); }
.proof-faces .face.b2 { background: var(--bleu); color: var(--white); }
.proof-faces .face.b3 { background: var(--or); color: var(--bleu); }
.proof-faces .face.b4 { background: var(--beige-2); color: var(--bleu); }
.proof-faces .face.b5 { background: var(--or-light); color: var(--bleu); }

/* ===== SECTIONS GENERIQUES ===== */
.section { padding: 56px 0; }
.section-or { background: var(--or); color: var(--bleu); }
.section-beige2 { background: var(--beige-2); }
.section-bleu { background: var(--bleu); color: var(--white); }
.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 640px;
}
.section-bleu h2 { color: var(--white); }
.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-bleu .section-eyebrow { color: var(--or); }
.section-or .section-eyebrow { color: var(--bleu); font-weight: 700; }
.section-lead {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 32px;
  font-weight: 500;
}
.section-bleu .section-lead { color: rgba(255,255,255,0.78); }

/* ===== HISTOIRE ===== */
.histoire-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
}
.histoire-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}
.histoire-card p:last-child { margin-bottom: 0; }
.histoire-card .accent { color: var(--orange); font-weight: 700; }

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--bleu);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.final-cta h2 {
  margin: 0 auto 20px;
  max-width: 600px;
  color: var(--white);
}
.final-cta .cta-primary {
  width: auto;
  display: inline-flex;
  padding: 16px 32px;
}

/* ===== SUCCESS SCREEN ===== */
.optin-success {
  display: none;
  max-width: 420px;
  padding: 24px 22px;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
}
.optin-success.is-visible { display: block; }
.optin-success-icon {
  width: 48px; height: 48px; margin-bottom: 14px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.optin-success h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; color: var(--bleu); font-family: 'Montserrat', sans-serif; }
.optin-success p { color: var(--text-muted); font-size: 14px; }

/* ===== CONFIRMATION PAGE SPECIFIC ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.step-num {
  position: absolute;
  top: -14px; left: 22px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin: 8px 0 10px; color: var(--bleu); font-family: 'Montserrat', sans-serif; }
.step-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.step-card .btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: var(--bleu);
  color: var(--white);
  border-radius: 100px;
  font-weight: 700; font-size: 13px;
  font-family: 'Montserrat', sans-serif;
}
.step-card .btn:hover { background: var(--bleu-dark); }
.step-card .btn.disabled { background: var(--text-light); pointer-events: none; }

/* ===== REPLAY PAGE ===== */
.replay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 760px;
  margin: 0 auto;
}
.replay-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.replay-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.replay-card.is-locked { box-shadow: var(--shadow-sm); }

.replay-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d1f30;
  overflow: hidden;
}
.replay-media iframe,
.replay-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
.replay-media video { object-fit: contain; background: #0d1f30; }

.replay-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 6px;
  background: rgba(13,31,48,0.78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 100px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  pointer-events: none;
}
.replay-badge b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0;
}

/* Etat verrouille : remplit proprement le 16:9, plus de double cadre noir */
.replay-locked {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(160deg, #1f4063 0%, #0d1f30 100%);
  text-align: center; padding: 24px;
}
.replay-locked svg { width: 36px; height: 36px; color: var(--or); }
.replay-locked .rl-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.replay-locked .rl-sub { font-size: 12.5px; color: rgba(255,255,255,0.58); }

.replay-foot {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px 18px;
}
.replay-foot-title {
  flex: 1; min-width: 150px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 16.5px; color: var(--bleu);
}
.replay-cta-sec {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border: 1.5px solid var(--orange);
  color: var(--orange-dark);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.03em; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.replay-cta-sec:hover { background: var(--orange); color: #fff; }

.replay-final-cta {
  max-width: 620px; margin: 44px auto 0;
  text-align: center; padding: 36px 30px;
  background: linear-gradient(160deg, var(--bleu) 0%, var(--bleu-dark) 100%);
  color: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.replay-final-cta h3 {
  font-family: 'Montserrat', sans-serif; font-size: 23px; font-weight: 800;
  line-height: 1.16; margin-bottom: 10px;
}
.replay-final-cta p { font-size: 14.5px; color: rgba(255,255,255,0.78); margin-bottom: 22px; }

.replay-closed {
  text-align: center;
  padding: 56px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.replay-closed svg { width: 44px; height: 44px; color: var(--orange); margin: 0 auto 16px; }
.replay-closed h2 { color: var(--bleu); margin-bottom: 12px; font-size: 22px; }
.replay-closed p { color: var(--text-muted); max-width: 380px; margin: 0 auto; }

/* ===== REPLAY · GAMIFICATION ===== */
.replay-progress {
  max-width: 540px; margin: 22px auto 0;
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 20px;
  box-shadow: var(--shadow-sm);
}
.rp-flame { display: inline-flex; color: var(--orange); flex-shrink: 0; }
.rp-flame svg { width: 22px; height: 22px; }
.rp-text { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: var(--bleu); white-space: nowrap; flex-shrink: 0; }
.rp-text b { color: var(--orange-dark); font-size: 16px; }
.rp-track { flex: 1; min-width: 60px; height: 9px; background: var(--beige-2); border-radius: 100px; overflow: hidden; }
.rp-fill { display: block; height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--or) 0%, var(--orange) 100%); transition: width .55s cubic-bezier(.34,1.2,.64,1); }

/* check "validé" en coin de vignette */
.replay-done {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  display: none; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bleu); color: #fff;
  box-shadow: 0 4px 12px rgba(92,26,26,0.5);
}
.replay-done svg { width: 18px; height: 18px; }
.replay-card.is-watched .replay-done { display: inline-flex; animation: rvPop .35s ease; }
.replay-card.is-watched { border-color: rgba(92,26,26,0.6); }

/* bouton "j'ai regardé" : 3 états (default / validé / verrouillé) */
.replay-validate {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 17px; border-radius: 100px;
  border: 1.5px solid var(--orange); background: var(--white);
  color: var(--orange-dark);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.02em; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
.replay-validate:hover:not(:disabled):not(.is-watched) { background: var(--orange); color: #fff; transform: translateY(-1px); }
.replay-validate .rv-icon { display: inline-flex; }
.replay-validate .rv-icon svg { width: 16px; height: 16px; }
.replay-validate .ic-check, .replay-validate .ic-lock { display: none; }
.replay-validate .ic-eye { display: inline-flex; }
.replay-validate.is-watched {
  background: var(--bleu); border-color: var(--bleu); color: #fff; cursor: pointer;
}
.replay-validate.is-watched:hover { background: var(--bleu-dark); border-color: var(--bleu-dark); }
.replay-validate.is-watched .ic-eye { display: none; }
.replay-validate.is-watched .ic-check { display: inline-flex; }
.replay-validate.is-locked {
  background: var(--beige-2); border-color: var(--border); color: var(--text-light); cursor: not-allowed;
}
.replay-validate.is-locked .ic-eye { display: none; }
.replay-validate.is-locked .ic-lock { display: inline-flex; }
.replay-validate.pop { animation: rvPop .35s ease; }
@keyframes rvPop { 0% { transform: scale(.86); } 55% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* bandeau félicitations 3/3 */
.replay-celebrate {
  max-width: 620px; margin: 36px auto 0; text-align: center;
  padding: 26px 28px;
  background: linear-gradient(155deg, #7a2a2a 0%, #5c1a1a 100%);
  color: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.replay-celebrate svg { width: 40px; height: 40px; margin: 0 auto 10px; color: #fff; }
.replay-celebrate h3 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; line-height: 1.15; margin-bottom: 6px; }
.replay-celebrate p { font-size: 14px; color: rgba(255,255,255,0.86); }
.replay-celebrate.pop { animation: celebPop .55s cubic-bezier(.34,1.3,.64,1); }
@keyframes celebPop { 0% { transform: scale(.92); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.replay-celebrate + .replay-final-cta { margin-top: 18px; }

/* ===== CTA candidature : animations "ça pète" ===== */
@keyframes ctaThrob {
  0%, 100% { box-shadow: 0 10px 28px rgba(92,26,26,0.34); transform: scale(1); }
  50%      { box-shadow: 0 16px 42px rgba(92,26,26,0.58); transform: scale(1.035); }
}
@keyframes ctaSheen {
  0% { left: -60%; } 60%, 100% { left: 140%; }
}
.replay-final-cta .cta-primary {
  position: relative; overflow: hidden;
  animation: ctaThrob 2s ease-in-out infinite;
}
.replay-final-cta .cta-primary::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  animation: ctaSheen 3.4s ease-in-out infinite;
}
.replay-final-cta.is-complete .cta-primary { animation-duration: 1.25s; }
.replay-final-cta.is-complete { box-shadow: 0 0 0 3px rgba(95,168,224,0.45), var(--shadow-lg); }

/* CTA candidature plein-largeur sous chaque carte */
.replay-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 16px 16px; padding: 13px 18px;
  background: var(--orange); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.03em; text-transform: uppercase;
  border-radius: 100px; box-shadow: var(--shadow-cta);
  position: relative; overflow: hidden;
  transition: transform .12s ease, box-shadow .15s ease;
}
.replay-card-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(92,26,26,0.5); }
.replay-card-cta::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); animation: ctaSheen 3.8s ease-in-out infinite;
}

/* Bulle STICKY bas-gauche : icone seule, se deplie au survol */
.sticky-cta {
  position: fixed; left: 20px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center;
  padding: 9px;
  background: var(--orange); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13px;
  letter-spacing: 0.03em;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(92,26,26,0.5), 0 0 0 4px rgba(255,255,255,0.55);
  overflow: hidden;
  animation: ctaThrob 2.2s ease-in-out infinite;
}
.sticky-cta:hover { color: #fff; }
.sticky-cta-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.22); flex-shrink: 0;
}
.sticky-cta-ic svg { width: 19px; height: 19px; }
.sticky-cta-txt {
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; margin-left: 0;
  transition: max-width .4s cubic-bezier(.4,0,.2,1), opacity .3s ease, margin .4s ease;
}
.sticky-cta:hover .sticky-cta-txt,
.sticky-cta:focus-visible .sticky-cta-txt { max-width: 240px; opacity: 1; margin-left: 10px; margin-right: 8px; }
.sticky-cta::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); animation: ctaSheen 3s ease-in-out infinite;
}
/* laisse respirer le pied de page sous la bulle */
.replay-page .footer { padding-bottom: 86px; }
@media (max-width: 560px) {
  .sticky-cta { left: 14px; bottom: 14px; }
}

/* CTA candidature dans le hero */
.replay-hero-cta {
  width: auto; display: inline-flex; margin: 22px auto 2px;
  padding: 15px 30px; position: relative; overflow: hidden;
  animation: ctaThrob 2s ease-in-out infinite;
}
.replay-hero-cta::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); animation: ctaSheen 3.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .replay-hero-cta, .replay-hero-cta::after { animation: none !important; }
}

/* Confettis de gratification */
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti-bit {
  position: fixed; width: 9px; height: 9px; border-radius: 2px; opacity: 0;
  animation: confFly 1s ease-out forwards;
}
@keyframes confFly {
  0% { transform: translate(0,0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .replay-final-cta .cta-primary,
  .replay-final-cta .cta-primary::after,
  .replay-card-cta::after, .sticky-cta, .sticky-cta::after, .sticky-cta-dot,
  .rp-fill, .replay-validate.pop, .replay-celebrate.pop,
  .replay-card.is-watched .replay-done { animation: none !important; transition: none !important; }
}

@media (max-width: 560px) {
  .replay-progress { padding: 11px 16px; gap: 11px; }
  .rp-text .rp-total { font-size: 12px; }
  .replay-foot { gap: 10px; }
  .replay-validate { width: 100%; justify-content: center; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bleu-dark);
  color: rgba(255,255,255,0.7);
  padding: 30px 0 24px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.55;
}
.footer a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }

/* ===== DASHBOARD ===== */
.dash-shell {
  min-height: 100vh;
  background: var(--beige);
  padding: 30px 0;
}
.dash-head {
  background: var(--bleu);
  color: var(--white);
  padding: 18px 0;
  margin-bottom: 30px;
}
.dash-head .container { display: flex; align-items: center; justify-content: space-between; }
.dash-head h1 { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 800; }
.dash-head .badge {
  background: var(--orange);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash-tabs {
  display: flex; gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.dash-tab {
  padding: 12px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.dash-tab.is-active { color: var(--orange); border-color: var(--orange); }
.dash-panel { display: none; }
.dash-panel.is-active { display: block; }
.dash-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.dash-card h2 { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 800; color: var(--bleu); margin-bottom: 6px; }
.dash-card p.help { color: var(--text-muted); font-size: 13.5px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bleu);
}
.field input, .field textarea, .field select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(92,26,26,0.10);
}
.field textarea { min-height: 90px; resize: vertical; }
.field-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-help { font-size: 12px; color: var(--text-light); margin-top: -2px; }
.field-checkbox { flex-direction: row; align-items: center; gap: 10px; }
.field-checkbox input[type=checkbox] { width: 18px; height: 18px; }
.field-checkbox label { text-transform: none; letter-spacing: normal; font-size: 14px; font-weight: 600; color: var(--text); }

.dash-actions {
  display: flex; gap: 12px; justify-content: flex-end;
  margin-top: 18px;
}
.btn-save {
  background: var(--orange);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease;
}
.btn-save:hover { background: var(--orange-dark); }
.btn-save:disabled { background: var(--text-light); cursor: not-allowed; }
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  padding: 14px 22px;
  background: var(--bleu);
  color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { background: #b93a3a; }

/* ===== VARIANTE LONGUE — composants spécifiques ===== */

/* Sub-headline en 3 colonnes "Sans ... Sans ... Sans ..." */
.sub-3cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 26px;
  max-width: 560px;
}
.sub-3cols-cell {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.sub-3cols-cell strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sub-3cols-cell span {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bleu);
  line-height: 1.3;
}

/* Crédit nom sous le form */
.hero-name-credit {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--bleu);
  margin-top: 14px;
}
.hero-name-credit span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 2px;
}

/* CTA double ligne (texte principal + sous-texte) */
.cta-stack {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  width: 100%;
  padding: 14px 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 100px;
  box-shadow: var(--shadow-cta);
  transition: background .15s ease, transform .15s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.cta-stack:hover { background: var(--orange-dark); transform: translateY(-2px); }
.cta-stack .cta-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cta-stack .cta-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}

/* Section histoire avec photo à droite */
.story-section { padding: 60px 0; background: var(--white); }
.story-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.story-row:last-child { margin-bottom: 0; }
.story-row.reverse { grid-template-columns: 1fr 1.3fr; }
.story-row.reverse .story-text { order: 2; }
.story-row.reverse .story-photo { order: 1; }
.story-intro {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--bleu);
  margin-bottom: 18px;
}
.story-intro em {
  font-style: normal;
  background: var(--or);
  color: var(--bleu);
  padding: 0 6px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.story-text p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
}
.story-text p strong { color: var(--bleu); font-weight: 700; }
.story-text .accent { color: var(--orange); font-weight: 700; }
.story-bullets {
  list-style: none;
  margin-top: 12px;
}
.story-bullets li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.story-bullets li:last-child { border-bottom: none; }
.story-bullets li svg {
  flex-shrink: 0; width: 20px; height: 20px;
  color: var(--orange); margin-top: 2px;
}
.story-photo {
  position: relative;
}
.story-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.story-photo-caption {
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* Transition phrase entre sections */
.story-transition {
  text-align: center;
  padding: 36px 0 12px;
  background: var(--white);
}
.story-transition h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--bleu);
  max-width: 640px;
  margin: 0 auto;
}
.story-transition em {
  font-style: normal;
  background: var(--or);
  padding: 0 6px;
  border-radius: 3px;
}

/* "Ce que tu vas apprendre" — 4 cards */
.learn-section { padding: 64px 0; background: var(--beige-2); }
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.learn-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.learn-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--bleu);
  margin-bottom: 10px;
  line-height: 1.25;
}
.learn-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
}
.learn-card p:last-child { margin-bottom: 0; }
.learn-card .accent { color: var(--orange); font-weight: 700; }

/* Bonus live — section dorée */
.bonus-section {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--or) 0%, var(--or-light) 100%);
}
.bonus-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.bonus-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.bonus-icon svg { width: 28px; height: 28px; }
.bonus-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.bonus-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--bleu);
  margin: 0 auto 22px;
  max-width: 480px;
  line-height: 1.2;
}
.bonus-bullets {
  list-style: none;
  text-align: left;
  max-width: 480px;
  margin: 0 auto 24px;
}
.bonus-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.bonus-bullets li:last-child { border-bottom: none; }
.bonus-bullets li svg {
  flex-shrink: 0; width: 22px; height: 22px;
  color: var(--orange); margin-top: 1px;
}
.bonus-meta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--beige-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bleu);
  margin-bottom: 20px;
}
.bonus-meta svg { width: 14px; height: 14px; color: var(--orange); }

/* Footer disclaimer (variante longue) */
.footer-trademark {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-width: 780px;
  margin: 14px auto 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-portrait { max-width: 280px; }
  .countdown-inner { gap: 16px; }
  .countdown-cell { padding: 8px 12px; min-width: 56px; }
  .countdown-cell strong { font-size: 20px; }
  .proof-inner { gap: 22px; }
  .proof-sep { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .field-grid-2 { grid-template-columns: 1fr; }
  .sub-3cols { grid-template-columns: 1fr; gap: 10px; }
  .story-row, .story-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .story-row.reverse .story-text { order: 2; }
  .story-row.reverse .story-photo { order: 1; }
  .learn-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: 26px; line-height: 1.22; }
  .section { padding: 44px 0; }
  .topbar { font-size: 11.5px; }
  .cta-primary { padding: 14px 20px; font-size: 13.5px; }
  .countdown-label { font-size: 11px; flex-basis: 100%; text-align: center; }
}


/* ===== Reskin Mélissa : titres display en serif Fraunces ===== */
.hero h1, .section h2, h1.serif, h2.serif {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 900;
  letter-spacing: -0.005em;
}
.hero h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12; }
/* accent bleu ciel sur les mots-clés (au lieu du pill plein) */
.hero h1 .orange, .section h2 .orange, .accent-blue { color: var(--or); }
.hero h1 .highlight, .section h2 .highlight {
  background: transparent; color: var(--or); padding: 0; border-radius: 0;
}
