/* ================================================================
   RESET ÉMOTIONNEL — style.css
   CSS original extrait du fichier reset-emotionnel-p1.html
   Palette : encre #1a1714 · sable #f5f1eb · or #c4a46b
   ================================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */

:root {
  --ink:  #1a1714;
  --ink2: #3d3830;
  --ink3: #6b6258;
  --sand: #f5f1eb;
  --sand2:#ede8e0;
  --sand3:#e2dbd0;
  --gold: #c4a46b;
  --gold2:#a8894d;
  --rose: #c4867a;
  --slate:#7a8fa6;
  --green:#7a9e8a;
  --r:    12px;
  --r2:   20px;
  --ease: .35s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ──────────────────────────────────────────────────── */

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; -webkit-text-size-adjust:100%; }
body {
  font-family:'DM Sans',sans-serif;
  background:var(--sand);
  color:var(--ink);
  min-height:100vh;
  overflow-x:hidden;
}
h1,h2,h3 { font-family:'Cormorant Garamond',serif; font-weight:300; line-height:1.2; }

/* ── SCREENS ────────────────────────────────────────────────── */

.screen { display:none; min-height:100vh; flex-direction:column; }
.screen.active { display:flex; }

/* ── WELCOME ────────────────────────────────────────────────── */

#screen-welcome {
  background:var(--ink);
  align-items:center; justify-content:center;
  padding:2rem; position:relative; overflow:hidden;
}
#screen-welcome::before {
  content:''; position:absolute; top:-40%; left:-20%; width:80%; height:80%;
  background:radial-gradient(ellipse,rgba(196,164,107,.12) 0%,transparent 70%); pointer-events:none;
}
#screen-welcome::after {
  content:''; position:absolute; bottom:-30%; right:-10%; width:60%; height:60%;
  background:radial-gradient(ellipse,rgba(196,134,122,.08) 0%,transparent 70%); pointer-events:none;
}
.welcome-inner {
  max-width:520px; text-align:center;
  position:relative; z-index:1; animation:fadeUp .8s ease both;
}
.eyebrow { font-size:11px; letter-spacing:.18em; color:var(--gold); text-transform:uppercase; margin-bottom:2rem; }
.welcome-title { font-size:clamp(3rem,8vw,5rem); color:var(--sand); margin-bottom:1rem; line-height:1; }
.welcome-sub   { font-size:1.1rem; color:rgba(245,241,235,.5); font-weight:300; margin-bottom:3rem; line-height:1.7; }
.welcome-meta  { display:flex; gap:2rem; justify-content:center; margin-bottom:3rem; }
.meta-num   { font-family:'Cormorant Garamond',serif; font-size:2rem; color:var(--gold); display:block; }
.meta-label { font-size:11px; color:rgba(245,241,235,.4); letter-spacing:.08em; }

/* ── BOUTONS ────────────────────────────────────────────────── */

.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 32px; border-radius:100px;
  font-family:'DM Sans',sans-serif; font-size:14px; font-weight:500;
  cursor:pointer; border:none; transition:var(--ease); letter-spacing:.04em;
}
.btn-primary { background:var(--gold); color:var(--ink); }
.btn-primary:hover { background:var(--gold2); transform:translateY(-1px); }
.btn-dark    { background:var(--ink); color:var(--sand); }
.btn-dark:hover { background:var(--ink2); transform:translateY(-1px); }
.btn-outline { background:transparent; color:var(--ink); border:1px solid var(--sand3); }
.btn-outline:hover { background:var(--sand2); }

/* ── QUIZ ───────────────────────────────────────────────────── */

#screen-quiz { background:var(--sand); }
.quiz-header {
  padding:1.5rem 2rem; display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--sand3); background:var(--sand); position:sticky; top:0; z-index:10;
}
.quiz-logo { font-family:'Cormorant Garamond',serif; font-size:1.3rem; color:var(--ink); font-style:italic; }
.progress-wrap { flex:1; max-width:280px; margin:0 2rem; }
.progress-label { font-size:11px; color:var(--ink3); margin-bottom:6px; text-align:center; }
.progress-track { height:2px; background:var(--sand3); border-radius:2px; overflow:hidden; }
.progress-fill  { height:100%; background:var(--gold); border-radius:2px; transition:width .5s cubic-bezier(.4,0,.2,1); }
.quiz-body { flex:1; display:flex; align-items:center; justify-content:center; padding:3rem 2rem; }
.q-card    { max-width:620px; width:100%; animation:fadeUp .4s ease both; }
.q-cat  { font-size:11px; letter-spacing:.14em; color:var(--gold2); text-transform:uppercase; margin-bottom:1.2rem; }
.q-text { font-size:clamp(1.4rem,3vw,2.2rem); color:var(--ink); margin-bottom:2.5rem; line-height:1.35; font-weight:300; }
.q-sub  { font-size:.9rem; color:var(--ink3); display:block; margin-top:.5rem; font-style:italic; }

.opts { display:flex; flex-direction:column; gap:10px; }
.opt {
  display:flex; align-items:center; gap:14px; padding:16px 20px;
  background:white; border:1.5px solid var(--sand3); border-radius:var(--r);
  cursor:pointer; transition:var(--ease); text-align:left;
  font-family:'DM Sans',sans-serif; font-size:14px; color:var(--ink2); line-height:1.5; width:100%;
  -webkit-appearance:none;
}
.opt:hover { border-color:var(--gold); background:#fdfaf5; transform:translateX(4px); }
.opt.sel   { border-color:var(--gold); background:linear-gradient(135deg,#fdfaf5,#faf5ec); color:var(--ink); }
.opt-dot {
  width:22px; height:22px; border-radius:50%; border:1.5px solid var(--sand3);
  flex-shrink:0; transition:var(--ease); display:flex; align-items:center; justify-content:center;
}
.opt.sel .opt-dot { background:var(--gold); border-color:var(--gold); }
.opt-dot::after { content:''; width:7px; height:7px; border-radius:50%; background:white; opacity:0; transition:var(--ease); }
.opt.sel .opt-dot::after { opacity:1; }

.quiz-nav { display:flex; justify-content:space-between; align-items:center; padding:1.5rem 2rem; border-top:1px solid var(--sand3); }
.q-textarea {
  width:100%; min-height:120px; border:1.5px solid var(--sand3); border-radius:var(--r);
  padding:14px; font-family:'DM Sans',sans-serif; font-size:14px; color:var(--ink);
  background:white; resize:vertical; outline:none; transition:border-color .2s; margin-top:1rem; line-height:1.6;
}
.q-textarea:focus { border-color:var(--gold); }
.q-textarea-hint { font-size:12px; color:var(--ink3); margin-top:.5rem; }

/* ── ANALYSE ────────────────────────────────────────────────── */

#screen-analysis { background:var(--ink); align-items:center; justify-content:center; padding:2rem; }
.analysis-inner  { max-width:480px; text-align:center; animation:fadeUp .6s ease both; }
.spinner {
  width:56px; height:56px;
  border:1.5px solid rgba(196,164,107,.2); border-top-color:var(--gold);
  border-radius:50%; animation:spin 1.2s linear infinite; margin:0 auto 2rem;
}
.a-steps { list-style:none; text-align:left; max-width:360px; margin:0 auto; }
.a-step {
  display:flex; align-items:center; gap:12px; padding:10px 0;
  font-size:13px; color:rgba(245,241,235,.3);
  border-bottom:1px solid rgba(245,241,235,.06); transition:color .4s;
}
.a-step.done   { color:rgba(245,241,235,.6); }
.a-step.active { color:var(--sand); }
.a-icon {
  width:20px; height:20px; border-radius:50%;
  background:rgba(196,164,107,.1); border:1px solid rgba(196,164,107,.2);
  flex-shrink:0; display:flex; align-items:center; justify-content:center;
  font-size:10px; color:var(--gold); transition:all .4s;
}
.a-step.done .a-icon   { background:rgba(196,164,107,.2); }
.a-step.active .a-icon { background:var(--gold); color:var(--ink); border-color:var(--gold); }

/* ── PROFIL ─────────────────────────────────────────────────── */

#screen-profile { background:var(--ink); }
.profile-page   { max-width:480px; margin:0 auto; padding:3rem 2rem 5rem; }
.pp-badge { font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:rgba(196,164,107,.7); margin-bottom:1.25rem; }
.pp-label {
  font-family:'Cormorant Garamond',serif; font-size:clamp(3rem,8vw,5rem);
  font-weight:300; color:var(--sand); line-height:1.05; margin-bottom:1.25rem;
}
.pp-anchor { font-size:1rem; color:rgba(245,241,235,.5); font-style:italic; line-height:1.75; margin-bottom:1.75rem; font-weight:300; }
.pp-dims  { margin-bottom:1.75rem; display:flex; flex-direction:column; align-items:center; gap:0; text-align:center; }
.pp-dim-name { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:300; color:rgba(245,241,235,.75); line-height:1.3; }
.pp-dim-sep  { width:1px; height:28px; background:rgba(245,241,235,.2); margin:10px auto; }
.pp-reframe-block {
  background:rgba(245,241,235,.05); border:1px solid rgba(245,241,235,.1);
  border-radius:var(--r); padding:1.2rem 1.4rem; margin-bottom:1.75rem;
}
.pp-reframe-label { font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:rgba(196,164,107,.7); margin-bottom:.75rem; }
.pp-reframe-text  { font-size:.95rem; color:rgba(245,241,235,.75); line-height:1.75; }
.pp-transition { font-size:.975rem; color:rgba(245,241,235,.6); line-height:1.8; margin-bottom:2rem; min-height:1.5rem; transition:color .3s ease; }
.pp-transition em { color:var(--sand); font-style:italic; font-weight:500; }
.pp-cta-btn {
  width:100%; padding:16px; background:var(--gold); color:var(--ink);
  border:none; border-radius:100px; font-family:'DM Sans',sans-serif;
  font-size:15px; font-weight:500; cursor:pointer; transition:var(--ease); margin-bottom:1rem;
}
.pp-cta-btn:hover { background:var(--gold2); transform:translateY(-1px); }
.pp-reassurance { font-size:12px; color:rgba(245,241,235,.3); display:flex; align-items:flex-start; gap:8px; line-height:1.5; }
.pp-reassurance-icon { flex-shrink:0; font-size:14px; opacity:.5; }

/* ── PROGRAMME ──────────────────────────────────────────────── */

#screen-program { background:var(--sand); }
.prog-header       { background:var(--ink); padding:2rem; }
.prog-header-inner { max-width:680px; margin:0 auto; }
.prog-nav   { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.5rem; }
.prog-logo  { font-family:'Cormorant Garamond',serif; font-size:1.2rem; color:var(--sand); font-style:italic; }
.prog-badge { font-size:12px; color:var(--gold); padding:4px 12px; border:1px solid rgba(196,164,107,.25); border-radius:100px; }
.prog-body  { flex:1; max-width:680px; margin:0 auto; padding:2rem; width:100%; }
.sec-label  { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink3); margin-bottom:1rem; }

/* Carte today */
.today-card {
  background:var(--ink); border-radius:var(--r2); padding:2rem;
  position:relative; overflow:hidden; cursor:pointer; transition:var(--ease); margin-bottom:2.5rem;
}
.today-card:hover { transform:translateY(-2px); }
.today-card::before {
  content:''; position:absolute; top:-50%; right:-20%; width:60%; height:140%;
  background:radial-gradient(ellipse,rgba(196,164,107,.1) 0%,transparent 70%); pointer-events:none;
}
.today-card.today-locked { opacity:.7; cursor:default; }
.today-card.today-locked .play-btn { background:var(--sand3) !important; cursor:not-allowed; }
.today-card.today-locked .play-btn svg { fill:var(--ink3); }
.today-day   { font-size:11px; letter-spacing:.12em; color:var(--gold); text-transform:uppercase; margin-bottom:.75rem; }
.today-title { font-size:1.8rem; color:var(--sand); margin-bottom:.5rem; font-family:'Cormorant Garamond',serif; font-weight:300; }
.today-hook  { font-size:.875rem; color:rgba(245,241,235,.45); margin-bottom:1.5rem; line-height:1.7; }
.today-meta  { display:flex; gap:1.5rem; }
.today-meta span { font-size:12px; color:rgba(245,241,235,.3); }
.today-prog      { height:2px; background:rgba(245,241,235,.1); border-radius:2px; margin-top:1.5rem; overflow:hidden; }
.today-prog-fill { height:100%; background:var(--gold); border-radius:2px; }

/* Check-in */
.checkin-wrap   { background:white; border:1px solid var(--sand3); border-radius:var(--r2); padding:1.5rem; margin-bottom:1rem; }
.checkin-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; }
.checkin-eyebrow { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold2); }
.checkin-step    { font-size:11px; color:var(--ink3); letter-spacing:.04em; }
.checkin-q { font-size:.975rem; color:var(--ink2); line-height:1.75; font-style:italic; margin-bottom:1rem; }
.checkin-textarea {
  width:100%; min-height:80px; border:1.5px solid var(--sand3); border-radius:var(--r);
  padding:12px 14px; font-family:'DM Sans',sans-serif; font-size:.9rem; color:var(--ink);
  background:var(--sand); resize:vertical; outline:none; transition:border-color .2s; line-height:1.6;
}
.checkin-textarea:focus { border-color:var(--gold); }
.checkin-relance { margin-top:1rem; }
.checkin-relance-inner {
  background:rgba(196,164,107,.06); border:1px solid rgba(196,164,107,.18);
  border-radius:var(--r); padding:1rem 1.2rem;
}

/* Bouton play */
.play-btn {
  position:absolute; bottom:1.5rem; right:1.5rem;
  width:44px; height:44px; border-radius:50%; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:var(--ease);
}
.play-btn:not(:disabled) { background:var(--gold); }
.play-btn:not(:disabled):hover { background:var(--gold2); transform:scale(1.05); }
.play-btn:disabled { background:var(--sand3) !important; cursor:not-allowed; }
.play-btn:disabled svg { fill:var(--ink3); }
.play-btn svg { width:18px; height:18px; fill:var(--ink); }

/* Liste 7 jours */
.day-list { display:flex; flex-direction:column; gap:10px; }
.day-card {
  display:flex; align-items:center; gap:14px;
  background:white; border:1px solid var(--sand3); border-radius:var(--r);
  padding:14px 16px; cursor:pointer; transition:var(--ease);
}
.day-card:hover:not(.locked) { border-color:var(--gold); transform:translateX(3px); }
.day-card.locked       { opacity:.5; cursor:default; }
.day-card.locked:hover { transform:none; }
.day-card.current      { border-color:var(--gold); background:linear-gradient(135deg,#fdfaf5,white); }
.day-card.done         { opacity:.8; }

.day-num { width:40px; height:40px; border-radius:50%; background:var(--sand2); display:flex; align-items:center; justify-content:center; font-family:'Cormorant Garamond',serif; font-size:1.1rem; color:var(--ink2); flex-shrink:0; }
.day-card.current .day-num { background:var(--gold); color:var(--ink); }
.day-card.done    .day-num { background:var(--green); color:white; font-size:.85rem; }
.day-info  { flex:1; }
.day-title { font-size:.925rem; color:var(--ink); font-weight:500; margin-bottom:2px; }
.day-sub   { font-size:12px; color:var(--ink3); }
.day-status { font-size:11px; color:var(--ink3); padding:3px 10px; border-radius:100px; background:var(--sand2); white-space:nowrap; flex-shrink:0; }
.day-card.current .day-status { background:rgba(196,164,107,.15); color:var(--gold2); }
.day-card.done    .day-status { background:rgba(122,158,138,.12); color:var(--green); }

/* J7 — aucun style spécial, identique aux autres */

/* ── MODULE PLAYER ──────────────────────────────────────────── */

#screen-module { background:var(--sand); }
.mod-header {
  padding:1.2rem 2rem; display:flex; align-items:center; gap:1rem;
  border-bottom:1px solid var(--sand3); background:var(--sand); position:sticky; top:0; z-index:10;
}
.back-btn {
  width:36px; height:36px; border-radius:50%; background:white;
  border:1px solid var(--sand3); cursor:pointer; display:flex; align-items:center; justify-content:center;
  font-size:16px; color:var(--ink2); transition:var(--ease);
}
.back-btn:hover { background:var(--sand2); }
.mod-hd-info  { flex:1; }
.mod-hd-day   { font-size:11px; color:var(--ink3); letter-spacing:.08em; text-transform:uppercase; }
.mod-hd-title { font-size:.95rem; color:var(--ink); font-weight:500; }
.read-bar  { width:80px; height:3px; background:var(--sand3); border-radius:3px; overflow:hidden; }
.read-fill { height:100%; background:var(--gold); width:0%; transition:width .3s ease; }

.mod-body { max-width:620px; margin:0 auto; padding:2rem 2rem; width:100%; }
.mod-tag   { font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold2); margin-bottom:.75rem; }
.mod-title { font-size:clamp(2rem,5vw,3rem); color:var(--ink); margin-bottom:1.25rem; font-family:'Cormorant Garamond',serif; font-weight:300; }
.mod-accroche {
  font-size:1.1rem; color:var(--ink2); font-style:italic;
  border-left:2px solid var(--gold); padding:1rem 1.5rem;
  background:rgba(196,164,107,.05); border-radius:0 var(--r) var(--r) 0;
  margin-bottom:1.5rem; line-height:1.7; position:relative;
}
.mod-section { margin-bottom:1.5rem; }
.mod-section-title { font-size:1.3rem; color:var(--ink); margin-bottom:.6rem; font-family:'Cormorant Garamond',serif; font-weight:300; }
.mod-section-body  { font-size:1.05rem; color:var(--ink); line-height:1.8; }
.mod-section-body p { margin-bottom:.85rem; }
.mod-section-body p:last-child { margin-bottom:0; }
.divider { height:1px; background:var(--sand3); margin:1.25rem 0; }

.cycle-list { display:flex; flex-direction:column; gap:12px; margin-top:1rem; }
.cycle-step { display:flex; gap:14px; padding:14px 16px; background:white; border:1px solid var(--sand3); border-radius:var(--r); }
.cycle-num  { width:28px; height:28px; border-radius:50%; background:var(--gold); color:var(--ink); font-size:12px; font-weight:500; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cycle-name { font-size:13px; font-weight:500; color:var(--ink); margin-bottom:3px; }
.cycle-desc { font-size:12px; color:var(--ink3); line-height:1.6; }

.erreurs-list { display:flex; flex-direction:column; gap:10px; margin-top:1rem; }
.erreur-card  { background:rgba(196,134,122,.05); border:1px solid rgba(196,134,122,.15); border-radius:var(--r); padding:14px 16px; }
.erreur-titre       { font-size:13px; font-weight:500; color:var(--ink); margin-bottom:4px; }
.erreur-explication { font-size:12px; color:var(--ink3); line-height:1.6; }

.mod-fermeture {
  background:var(--ink); color:var(--sand); border-radius:var(--r2);
  padding:1.5rem 1.75rem; margin:1.25rem 0; font-size:1.05rem; line-height:1.85; font-style:italic;
  font-family:'Cormorant Garamond',serif;
}
.mod-insight {
  background:rgba(196,164,107,.06); border:1px solid rgba(196,164,107,.2);
  border-radius:var(--r); padding:1.2rem 1.5rem; margin:1.25rem 0;
  font-size:1.05rem; color:var(--ink); line-height:1.75;
}
.insight-label { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold2); margin-bottom:.5rem; font-weight:500; display:block; }

.exercice-card { background:white; border:1px solid var(--sand3); border-radius:var(--r2); padding:1.5rem; margin:1.25rem 0; }
.ex-label { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--slate); margin-bottom:.75rem; }
.ex-action { display:flex; gap:14px; margin-bottom:14px; }
.ex-action:last-child { margin-bottom:0; }
.ex-num { width:24px; height:24px; border-radius:50%; background:var(--ink); color:var(--sand); font-size:11px; font-weight:500; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; }
.ex-action-title { font-size:13px; font-weight:500; color:var(--ink); margin-bottom:4px; }
.ex-action-desc  { font-size:12px; color:var(--ink3); line-height:1.65; }
.ex-textarea {
  width:100%; min-height:80px; border:1px solid var(--sand3); border-radius:var(--r);
  padding:12px; font-family:'DM Sans',sans-serif; font-size:.875rem; color:var(--ink);
  background:var(--sand); resize:vertical; outline:none; transition:border-color .2s; margin-top:.75rem; line-height:1.6;
}
.ex-textarea:focus { border-color:var(--gold); }
.ex-textarea-label { font-size:12px; color:var(--ink3); margin-top:1rem; margin-bottom:.4rem; }

.mod-transition {
  font-size:1rem; color:var(--ink2); font-style:italic;
  border-top:1px solid var(--sand3); padding-top:1.25rem; margin-top:1.25rem; line-height:1.75;
}
.ai-pill {
  position: absolute;
  top: -9px;
  right: 12px;
  font-size: 10px;
  background: var(--gold);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 100px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .06em;
}

.transition-ai {
  font-size: 10px;
  background: rgba(196,164,107,.12);
  color: var(--gold2);
  padding: 2px 8px;
  border-radius: var(--r-pill, 100px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: .06em;
  margin-bottom: .4rem;
  display: inline-block;
}

.complete-btn {
  width:100%; margin-top:2rem; padding:16px; background:var(--ink); color:var(--sand);
  border:none; border-radius:100px; font-family:'DM Sans',sans-serif; font-size:15px;
  font-weight:500; cursor:pointer; transition:var(--ease);
}
.complete-btn:hover { background:var(--ink2); transform:translateY(-1px); }

/* ── JOURNAL & ÉTUDE DE CAS ─────────────────────────────────── */

/* Séparateur espacé entre grandes sections */
.section-spacer { height: 1.5rem; }

/* Check-in en haut du module */
.mod-checkin-top {
  background: rgba(196,164,107,.06);
  border: 1px solid rgba(196,164,107,.2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
}
.mod-checkin-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold2); font-weight: 500; margin-bottom: .6rem;
}
.mod-checkin-question {
  font-size: 1.05rem; color: var(--ink); line-height: 1.75;
  font-style: italic; font-family: 'Cormorant Garamond', serif; margin-bottom: .9rem;
}
.mod-checkin-relance {
  border-top: 1px solid rgba(196,164,107,.15); padding-top: .9rem; margin-top: .9rem;
}
.mod-checkin-relance-label {
  font-size: 11px; color: var(--gold2); font-weight: 500; display: block; margin-bottom: .4rem;
}
.mod-checkin-relance-text {
  font-size: .95rem; color: var(--ink3); line-height: 1.7;
  font-style: italic; font-family: 'Cormorant Garamond', serif;
}

/* Journal émotionnel — titre niveau section */
.mod-journal-profond {
  margin: 0;
}
.mod-journal-profond .mod-section-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.mod-journal-profond .journal-question {
  font-size: 1.05rem; color: var(--ink2); line-height: 1.85;
  margin-bottom: 1rem; font-style: italic; font-family: 'Cormorant Garamond', serif;
}

.mod-journal {
  background: rgba(196,164,107,.06); border: 1px solid rgba(196,164,107,.18);
  border-radius: var(--r2); padding: 1.5rem; margin: 1.5rem 0;
}
.journal-label    { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold2); font-weight: 500; margin-bottom: .75rem; display: block; }
.journal-question { font-size: 1.05rem; color: var(--ink2); line-height: 1.85; margin-bottom: 1rem; font-style: italic; font-family: 'Cormorant Garamond', serif; }

/* Étude de cas — carte distincte */
.mod-etude {
  background: var(--sand2);
  border: 1px solid var(--sand3);
  border-left: 3px solid var(--slate);
  border-radius: 0 var(--r2) var(--r2) 0;
  padding: 1.75rem;
  margin: 1.5rem 0;
}
.etude-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.etude-label  {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate); font-weight: 500;
}
.etude-nom    { font-size: 13px; color: var(--ink2); font-weight: 500; }
.etude-texte  { font-size: 1.05rem; color: var(--ink2); line-height: 1.9; font-style: italic; font-family: 'Cormorant Garamond', serif; }

/* ── UPSELL P2 ──────────────────────────────────────────────── */

#screen-p2 {
  background:var(--ink); align-items:center; justify-content:center;
  padding:2rem; position:relative; overflow:hidden;
}
#screen-p2::before {
  content:''; position:absolute; top:-30%; left:-20%; width:80%; height:80%;
  background:radial-gradient(ellipse,rgba(196,164,107,.1) 0%,transparent 60%);
}
#screen-p2::after {
  content:''; position:absolute; bottom:-30%; right:-10%; width:60%; height:60%;
  background:radial-gradient(ellipse,rgba(196,134,122,.08) 0%,transparent 60%);
}
.p2-inner { max-width:560px; width:100%; text-align:center; position:relative; z-index:1; animation:fadeUp .8s ease both; }
.p2-done  { display:inline-flex; align-items:center; gap:8px; background:rgba(122,158,138,.15); border:1px solid rgba(122,158,138,.25); border-radius:100px; padding:6px 16px; font-size:12px; color:var(--green); margin-bottom:2rem; }
.p2-feats { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:2.5rem; text-align:left; }
.p2-feat  { background:rgba(245,241,235,.04); border:1px solid rgba(245,241,235,.08); border-radius:var(--r); padding:14px 16px; }
.p2-feat-icon  { font-size:1.2rem; margin-bottom:.5rem; }
.p2-feat-title { font-size:.875rem; color:var(--sand); font-weight:500; margin-bottom:.25rem; }
.p2-feat-desc  { font-size:.8rem; color:rgba(245,241,235,.35); line-height:1.5; }
.p2-price-box  { background:rgba(196,164,107,.08); border:1px solid rgba(196,164,107,.2); border-radius:var(--r2); padding:1.5rem; margin-bottom:1.5rem; }
.p2-price-lbl  { font-size:12px; color:rgba(196,164,107,.6); margin-bottom:.4rem; }
.p2-price      { font-family:'Cormorant Garamond',serif; font-size:3.5rem; color:var(--gold); line-height:1; }
.p2-price sup  { font-size:1.5rem; vertical-align:top; margin-top:.5rem; }
.p2-price-note { font-size:.8rem; color:rgba(245,241,235,.3); margin-top:.4rem; }
.p2-guarantee  { font-size:.8rem; color:rgba(245,241,235,.3); margin-top:1rem; }
.p2-cta-primary {
  width:100%; padding:16px; background:var(--gold); color:var(--ink);
  border:none; border-radius:100px; font-family:'DM Sans',sans-serif;
  font-size:15px; font-weight:500; cursor:pointer; transition:var(--ease); margin-bottom:.75rem;
  display:flex; align-items:center; justify-content:space-between;
}
.p2-cta-primary:hover { background:var(--gold2); transform:translateY(-1px); }
.p2-cta-secondary { display:none; }
.skip-option { text-align:center; }
.skip-link   { font-size:12px; color:rgba(245,241,235,.25); cursor:pointer; }

/* Upsell dynamique JS */
.upsell-inner { width:100%; }
.p2-title { font-size:clamp(2.5rem,7vw,4rem); color:var(--sand); margin-bottom:1rem; font-family:'Cormorant Garamond',serif; font-weight:300; }
.p2-sub   { font-size:1rem; color:rgba(245,241,235,.45); margin-bottom:3rem; line-height:1.7; font-weight:300; }

/* ── TOAST ──────────────────────────────────────────────────── */

.toast { position:fixed; bottom:2rem; left:50%; transform:translateX(-50%) translateY(100px); background:var(--ink); color:var(--sand); padding:12px 24px; border-radius:100px; font-size:13px; transition:transform .3s cubic-bezier(.4,0,.2,1); z-index:100; white-space:nowrap; }
.toast.show { transform:translateX(-50%) translateY(0); }

/* Carte jour avec check-in requis — non cliquable, cursor identique aux cartes verrouillées */
.day-card.checkin-required { cursor: default; }
.day-card.checkin-required:hover { border-color: var(--gold) !important; transform: none !important; }

.ex-v2-titre {
  font-size:1.3rem; font-weight:300; color:var(--ink);
  margin-bottom:.9rem; font-family:'Cormorant Garamond',serif;
}

.ex-v2-intro {
  font-size:.95rem; color:var(--ink2); line-height:1.8;
  margin-bottom:.75rem; font-weight:300;
}

.ex-v2-pistes {
  list-style:none; margin:0 0 1.25rem 0; padding:0;
  display:flex; flex-direction:column; gap:.4rem;
}

.ex-v2-pistes li {
  font-size:.95rem; color:var(--ink3); padding-left:1.25rem;
  position:relative; line-height:1.65;
}

.ex-v2-pistes li::before {
  content:'—'; position:absolute; left:0;
  color:var(--gold); font-weight:500; font-size:1rem;
}

.ex-v2-label-textarea {
  font-size:.875rem; color:var(--ink2); font-weight:500;
  margin-bottom:.5rem; margin-top:1.25rem;
}

.ex-textarea--v2 { background:white; border-color:var(--sand3); }
.ex-textarea--v2:focus { border-color:var(--gold); }

.ex-v2-conclusion {
  font-size:.9rem; color:var(--ink3); line-height:1.75;
  margin-top:1rem; font-weight:300;
}

/* Moment Miroir — sobre, italique, atténué */
.ex-v2-miroir {
  margin-top:1.75rem;
  padding-top:1.25rem;
  border-top:1px solid var(--sand3);
  font-family:'Cormorant Garamond',serif;
  font-size:1.1rem;
  font-style:italic;
  color:var(--ink3);
  line-height:1.8;
  font-weight:300;
}
#api-panel * { font-family:'DM Sans',sans-serif !important; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */

@keyframes fadeUp  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin    { to { transform:rotate(360deg); } }
@keyframes checkinUnlock { 0%{transform:scale(.9);opacity:.6} 60%{transform:scale(1.12)} 100%{transform:scale(1);opacity:1} }

/* ── RESPONSIVE ─────────────────────────────────────────────── */

@media(max-width:480px) {
  .p2-feats      { grid-template-columns:1fr; }
  .progress-wrap { display:none; }
  .quiz-header   { padding:1rem; }
}

/* ── ONBOARDING ─────────────────────────────────────────────── */

#screen-onboarding { background:var(--ink); }
.onb-wrap { max-width:560px; margin:0 auto; padding:4rem 2rem 5rem; display:flex; flex-direction:column; min-height:100vh; }
.onb-eyebrow { font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:rgba(196,164,107,.5); margin-bottom:3rem; }
.onb-body { flex:1; display:flex; flex-direction:column; gap:1.75rem; }
.onb-line { font-family:'Cormorant Garamond',serif; font-size:clamp(1.2rem,3vw,1.5rem); font-weight:300; color:rgba(245,241,235,.7); line-height:1.65; }
.onb-line--intro { font-size:clamp(1.5rem,4vw,2rem); color:var(--sand); font-weight:400; }
.onb-line--accent { color:var(--sand); font-weight:400; }
.onb-line--closing { color:rgba(245,241,235,.5); font-style:italic; }
.onb-profil-block { display:inline-flex; flex-direction:column; gap:.4rem; background:rgba(196,164,107,.08); border:1px solid rgba(196,164,107,.2); border-radius:var(--r); padding:1rem 1.5rem; align-self:flex-start; }
.onb-profil-label { font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold2); }
.onb-profil-name { font-family:'Cormorant Garamond',serif; font-size:1.6rem; font-weight:400; color:var(--gold); line-height:1.1; }
.onb-divider { width:40px; height:1px; background:rgba(196,164,107,.3); }
.onb-btn { width:100%; margin-top:3rem; padding:16px; background:var(--gold); color:var(--ink); border:none; border-radius:100px; font-family:'DM Sans',sans-serif; font-size:15px; font-weight:500; cursor:pointer; transition:var(--ease); letter-spacing:.04em; }
.onb-btn:hover { background:var(--gold2); transform:translateY(-1px); }

/* ── CLÔTURE ────────────────────────────────────────────────── */

#screen-cloture { background:var(--ink); }
.clo-wrap { max-width:560px; margin:0 auto; padding:5rem 2rem 5rem; display:flex; flex-direction:column; min-height:100vh; }
.clo-body { flex:1; display:flex; flex-direction:column; gap:2rem; }
.clo-line { font-family:'Cormorant Garamond',serif; font-size:clamp(1.2rem,3vw,1.5rem); font-weight:300; color:rgba(245,241,235,.65); line-height:1.7; }
.clo-line em { color:rgba(245,241,235,.9); font-style:italic; }
.clo-line--intro { font-size:clamp(1.8rem,5vw,2.5rem); color:var(--sand); font-weight:400; line-height:1.2; }
.clo-line--sub { font-size:clamp(1.1rem,2.5vw,1.35rem); color:rgba(245,241,235,.5); font-style:italic; margin-top:-.75rem; }
.clo-line--closing { color:rgba(245,241,235,.4); font-style:italic; }
.clo-list { display:flex; flex-direction:column; gap:.6rem; padding-left:1.25rem; border-left:1px solid rgba(196,164,107,.25); }
.clo-list-item { font-family:'Cormorant Garamond',serif; font-size:clamp(1.1rem,2.5vw,1.3rem); color:rgba(245,241,235,.6); line-height:1.6; font-weight:300; }
.clo-list-item--last { color:rgba(245,241,235,.8); }
.clo-divider { width:40px; height:1px; background:rgba(245,241,235,.15); }
.clo-btn { width:100%; margin-top:3rem; padding:16px; background:transparent; color:rgba(245,241,235,.5); border:1px solid rgba(245,241,235,.15); border-radius:100px; font-family:'DM Sans',sans-serif; font-size:14px; font-weight:400; cursor:pointer; transition:var(--ease); letter-spacing:.04em; }
.clo-btn:hover { color:var(--sand); border-color:rgba(245,241,235,.35); }

/* Bouton retour quiz — discret, dans le q-card */
.quiz-back-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--ink3);
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.25rem;
  transition: color var(--ease);
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
}
.quiz-back-btn:hover { color: var(--ink); }

/* Bouton Q10 — sobre, aligné sur le quiz */
.quiz-next-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 24px;
  background: var(--ink);
  color: var(--sand);
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--ease);
  letter-spacing: .04em;
}
.quiz-next-btn:hover { background: var(--ink2); }

/* Phrase de transition profil — état chargement */
#pp-transition:empty,
#pp-transition {
  min-height: 1.5rem;
  transition: opacity .3s ease;
}

/* Indication discrète au-dessus des zones de texte */
.textarea-hint {
  font-size: .75rem;
  color: var(--ink3);
  opacity: .65;
  font-style: italic;
  margin-bottom: .35rem;
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

/* Moment Miroir — séparation fine au-dessus */
.ex-v2-miroir {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--sand3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink3);
  line-height: 1.8;
  font-weight: 300;
}

/* Q4 multi-select — hint et compteur */
.q-multi-hint {
  font-size: 12px;
  color: var(--ink3);
  font-style: italic;
  margin-bottom: 1rem;
}

/* Question upsell — page profil */
.pp-upsell-q {
  margin-bottom: 1.75rem;
  transition: opacity .3s;
}

.pp-upsell-label {
  font-size: 1rem;
  color: rgba(245,241,235,.75);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
}

.pp-upsell-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-upsell-opt {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  background: rgba(245,241,235,.04);
  border: 1px solid rgba(245,241,235,.1);
  border-radius: var(--r);
  cursor: pointer;
  transition: var(--ease);
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: rgba(245,241,235,.65);
  line-height: 1.5;
  width: 100%;
}

.pp-upsell-opt:hover {
  border-color: rgba(196,164,107,.35);
  background: rgba(196,164,107,.06);
  color: var(--sand);
}

.pp-upsell-opt.sel {
  border-color: var(--gold);
  background: rgba(196,164,107,.1);
  color: var(--sand);
}
