/* ============================================================
   BEOSIGNER — Landings du modèle partenaire
   En-tête allégé « parcours-first » + verrou d'attribution.
   Construit sur styles.css + pages.css.
   ============================================================ */

/* ---------- En-tête allégé ---------- */
.lh { position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent; }
.lh.scrolled { background: rgba(13,17,23,.84); backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid var(--gold-line); }
.lh .lh-top { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-mut);
  background: var(--night-900); border-bottom: 1px solid rgba(201,169,97,.10); text-align: center; padding: 8px 16px; }
.lh .lh-top b { color: var(--gold-400); font-weight: 500; }
.lh-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.lh .brand { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .02em; color: var(--warm-100); }
.lh .brand span { color: var(--gold-500); }
.lh-nav { display: flex; align-items: center; gap: 4px; }
.lh-nav a { font-size: 13.5px; color: var(--warm-200); padding: 10px 13px; transition: color .3s; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.lh-nav a:hover, .lh-nav a.cur { color: var(--gold-400); }
.lh-nav a .chev { width: 7px; height: 7px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg) translateY(-1px); opacity: .7; }
.lh-right { display: flex; align-items: center; gap: 12px; }
.lh-lang { display: flex; gap: 2px; border: 1px solid var(--gold-line); border-radius: 2px; padding: 3px; }
.lh-lang button { font-size: 11px; font-weight: 500; letter-spacing: .08em; padding: 5px 8px; border-radius: 1px; color: var(--warm-mut); transition: all .3s; background: none; cursor: pointer; }
.lh-lang button.active { background: rgba(201,169,97,.14); color: var(--gold-400); }
.lh-shop { font-size: 12.5px; color: var(--warm-mut); display: inline-flex; align-items: center; gap: 7px; transition: color .3s; }
.lh-shop:hover { color: var(--gold-300); }
.lh-shop svg { width: 13px; height: 13px; opacity: .7; }
.lh-cta { font-size: 13px; font-weight: 500; padding: 11px 20px; border-radius: 2px; background: linear-gradient(100deg, var(--gold-400), var(--gold-500)); color: var(--night-900); white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s; }
.lh-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(201,169,97,.45); }
@media (max-width: 940px){ .lh-nav, .lh-shop { display: none; } }

/* ---------- Hero landing ---------- */
.lhero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; padding: 130px 0 70px; }
.lhero-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 75% 28%, var(--gold-glow), transparent 60%),
              radial-gradient(55% 55% at 18% 86%, var(--gold-glow), transparent 60%); }
.lhero .wrap { position: relative; z-index: 2; }
.lhero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px,5vw,72px); align-items: center; }
.lhero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px,6.4vw,82px); line-height: 1.0; color: var(--warm-100); margin: 22px 0 0; letter-spacing: -.015em; }
.lhero .lead { margin-top: 24px; }
.lhero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.lhero-note { font-size: 12.5px; color: var(--warm-mut); margin-top: 18px; display: inline-flex; align-items: center; gap: 9px; }
.lhero-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.lhero-orb { position: relative; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; border: 1px solid var(--gold-line); }
.lhero-orb .slot-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lhero-orb .glow { position: absolute; inset: -2px; border-radius: 50%; box-shadow: inset 0 0 80px rgba(201,169,97,.18); pointer-events: none; }
@media (max-width: 860px){ .lhero-grid { grid-template-columns: 1fr; } .lhero-orb { max-width: 360px; margin: 0 auto; } }

/* ---------- Grille des 5 univers (landing générale) ---------- */
.univers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.uni { position: relative; border: 1px solid rgba(201,169,97,.16); border-radius: 12px; overflow: hidden; min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; transition: border-color .4s, transform .5s var(--ease); }
.uni .slot-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.uni .grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,17,23,.25) 0%, rgba(13,17,23,.62) 48%, rgba(13,17,23,.96) 100%); pointer-events: none; }
.uni:hover { border-color: var(--gold-500); transform: translateY(-5px); }
.uni .ub { position: relative; z-index: 2; }
.uni .uk { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.uni h3 { font-family: var(--serif); font-size: 27px; color: var(--warm-100); margin: 8px 0 8px; line-height: 1.06; }
.uni p { font-size: 13px; color: var(--warm-mut); max-width: 32ch; }
.uni .go { margin-top: 16px; font-size: 13px; color: var(--gold-400); display: inline-flex; gap: 8px; align-items: center; }
.uni:hover .go { gap: 12px; }
.uni.wide { grid-column: span 2; }
.uni .quiz-tag { position: absolute; top: 18px; right: 18px; z-index: 2; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-300); border: 1px solid var(--gold-line); border-radius: 30px; padding: 5px 11px; background: rgba(13,17,23,.5); backdrop-filter: blur(4px); }
/* Univers annoncé, pas encore ouvert. Vocabulaire des blocs verrouillés :
   trait pointillé, teinte d'état, tout en sourdine. Aucun href — la carte
   n'est pas cliquable et le curseur le dit. */
.uni-soon { border: 1px dashed var(--state-line); background: var(--night-700); cursor: default; }
.uni-soon:hover { border-color: var(--state-line); transform: none; }
.uni-soon .uk { color: var(--warm-mut); }
.uni-soon h3 { color: var(--warm-200); }
.uni-soon p { color: var(--warm-mut); }
.uni-soon .soon-tag { color: var(--state-400); border-color: var(--state-line); border-style: dashed; background: transparent; backdrop-filter: none; }
.uni-soon .soon-flag { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--state-400); }
.uni-soon .soon-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--state-400); }
@media (max-width: 880px){ .univers { grid-template-columns: 1fr 1fr; } .uni.wide { grid-column: span 2; } }
@media (max-width: 560px){ .univers { grid-template-columns: 1fr; } .uni.wide { grid-column: span 1; } }

/* ---------- Symptômes (miroir) ---------- */
.mirror { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.symp { border: 1px solid rgba(201,169,97,.12); border-radius: 11px; padding: 24px 20px; background: var(--night-700); transition: border-color .4s, transform .4s var(--ease); }
.symp:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.symp .si { width: 40px; height: 40px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); margin-bottom: 16px; }
.symp h4 { font-size: 15px; color: var(--warm-100); font-weight: 500; margin-bottom: 6px; }
.symp p { font-size: 12.5px; color: var(--warm-mut); }
@media (max-width: 880px){ .mirror { grid-template-columns: 1fr 1fr; } }

/* ---------- Produits associés — VERROUILLÉS ---------- */
.locked-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.lprod { border: 1px solid rgba(201,169,97,.14); border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, var(--night-700), var(--night-700)); transition: border-color .4s, transform .5s var(--ease); display: flex; flex-direction: column; }
.lprod:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.lprod .lp-img { position: relative; aspect-ratio: 16/11; }
.lprod .lp-img .slot-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lprod .lp-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(13,17,23,.62); backdrop-filter: blur(6px); border: 1px solid var(--gold-line); color: var(--gold-300); padding: 6px 11px; border-radius: 40px; }
.lprod .lp-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.lprod h4 { font-family: var(--serif); font-size: 22px; color: var(--warm-100); }
.lprod .lp-sub { font-size: 13px; color: var(--warm-mut); margin: 8px 0 18px; flex: 1; }
.lprod .lp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price-lock { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--state-400); }
.price-lock svg { width: 13px; height: 13px; }
.lp-unlock { font-size: 12px; padding: 9px 15px; border: 1px solid var(--gold-line); border-radius: 2px; color: var(--warm-100); white-space: nowrap; transition: all .3s; background: transparent; cursor: pointer; }
.lp-unlock:hover { background: var(--gold-500); color: var(--night-900); border-color: var(--gold-500); }
@media (max-width: 880px){ .locked-grid { grid-template-columns: 1fr; } }

.lock-note { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding: 16px 22px;
  border: 1px solid var(--state-line); border-radius: 40px; background: rgba(201,169,97,.05); }
.lock-note .li { color: var(--state-400); display: inline-flex; }
.lock-note .li svg { width: 16px; height: 16px; }
.lock-note p { font-size: 13px; color: var(--warm-200); flex: 1; min-width: 220px; }
.lock-note p b { color: var(--warm-100); }

/* ---------- Comment ça aide (3 étapes) ---------- */
.help-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: hs; }
.hstep { padding: 28px; border: 1px solid rgba(201,169,97,.12); border-radius: 12px; background: var(--night-700); }
.hstep .hn { font-family: var(--serif); font-size: 30px; color: var(--gold-500); line-height: 1; }
.hstep h4 { font-size: 17px; color: var(--warm-100); margin: 14px 0 8px; font-weight: 500; }
.hstep p { font-size: 13.5px; color: var(--warm-mut); }
@media (max-width: 880px){ .help-steps { grid-template-columns: 1fr; } }

/* ---------- Formulaire de qualification ---------- */
.qual { position: relative; border: 1px solid var(--gold-line); border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 120% at 88% 0%, var(--gold-glow), transparent 55%), linear-gradient(160deg, var(--night-700), var(--night-700));
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); padding: clamp(32px,4vw,56px); }
.qual-form .field { margin-bottom: 16px; }
.qual-form label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-mut); margin-bottom: 8px; }
.qual-form input, .qual-form select { width: 100%; background: var(--night-600); border: 1px solid rgba(201,169,97,.18); border-radius: 4px;
  padding: 13px 14px; color: var(--warm-100); font-family: inherit; font-size: 14px; transition: border-color .3s; }
.qual-form input:focus, .qual-form select:focus { outline: none; border-color: var(--gold-500); }
.qual-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qual-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.qual-chip { font-size: 13px; padding: 9px 15px; border-radius: 40px; border: 1px solid var(--gold-line); color: var(--warm-200); cursor: pointer; transition: all .25s; background: transparent; }
.qual-chip:hover { border-color: var(--gold-400); }
.qual-chip.on { background: rgba(201,169,97,.12); border-color: var(--gold-500); color: var(--gold-300); }
.qual-perks { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.qual-perks .qp { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--warm-200); }
.qual-perks .qp .qpi { flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); }
.crm-badge { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 11.5px; letter-spacing: .04em; color: var(--gold-300); border: 1px solid var(--gold-line); border-radius: 40px; padding: 8px 15px; }
.crm-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
@media (max-width: 860px){ .qual { grid-template-columns: 1fr; } }

/* ---------- Bandeau routes douces (atelier / RDV / quiz) ---------- */
.soft-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.sroute { border: 1px solid rgba(201,169,97,.14); border-radius: 12px; padding: 28px; background: var(--night-700); transition: border-color .4s, transform .4s var(--ease); display: flex; flex-direction: column; }
.sroute:hover { border-color: var(--gold-500); transform: translateY(-4px); }
.sroute .ri { width: 44px; height: 44px; border: 1px solid var(--gold-line); border-radius: 12px; display: grid; place-items: center; color: var(--gold-400); margin-bottom: 18px; }
.sroute h4 { font-family: var(--serif); font-size: 21px; color: var(--warm-100); margin-bottom: 8px; }
.sroute p { font-size: 13px; color: var(--warm-mut); flex: 1; }
.sroute .go { margin-top: 16px; font-size: 13px; color: var(--gold-400); display: inline-flex; gap: 8px; }
@media (max-width: 880px){ .soft-routes { grid-template-columns: 1fr; } }

/* ---------- Footer allégé ---------- */
.lfoot { border-top: 1px solid rgba(201,169,97,.12); padding: 56px 0 36px; margin-top: 20px; }
.lfoot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.lfoot .brand { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--warm-100); }
.lfoot .brand span { color: var(--gold-500); }
.lfoot p { font-size: 13.5px; color: var(--warm-mut); margin-top: 14px; max-width: 36ch; }
.lfoot-col h5 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; margin-bottom: 14px; }
.lfoot-col a { display: block; font-size: 13.5px; color: var(--warm-mut); padding: 5px 0; transition: color .3s; }
.lfoot-col a:hover { color: var(--gold-300); }
.lfoot-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(201,169,97,.1); font-size: 12px; color: var(--warm-faint); }
@media (max-width: 720px){ .lfoot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Les jetons --state-* vivent dans styles.css, adossés au cuivre de la charte. */

/* ============================================================
   PARCOURS GUIDÉ (orientation par questions)
   ============================================================ */
.pg-wrap { position: relative; border: 1px solid var(--gold-line); border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 100% at 85% 0%, var(--gold-glow), transparent 55%), linear-gradient(165deg, var(--night-700), var(--night-700));
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.7); }
.pg-wave { position: absolute; top: 0; left: 0; right: 0; height: 64px; width: 100%; pointer-events: none; opacity: .7; }
.pg-inner { position: relative; padding: clamp(30px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(34px, 4vw, 56px); }
.pg-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.pg-dots { display: flex; gap: 7px; flex: 1; }
.pg-dots i { height: 4px; flex: 1; border-radius: 4px; background: rgba(201,169,97,.16); overflow: hidden; position: relative; transition: background .4s; }
.pg-dots i.done { background: var(--gold-500); }
.pg-dots i.cur { background: rgba(201,169,97,.16); }
.pg-dots i.cur::after { content: ""; position: absolute; inset: 0; width: 58%; background: var(--gold-500); }
.pg-stepn { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--warm-mut); white-space: nowrap; }
.pg-step { animation: pgfade .5s var(--ease); }
@keyframes pgfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pg-eyebrow { color: var(--gold-500); }
.pg-q { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 40px); color: var(--warm-100); line-height: 1.08; margin: 14px 0 28px; max-width: 22ch; }
.pg-opts { display: grid; gap: 12px; }
.pg-opts.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pg-opts.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pg-opts.cols-1 { grid-template-columns: 1fr; }
.pg-opt { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; border: 1px solid var(--gold-line); border-radius: 11px;
  background: rgba(255,255,255,.015); cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.pg-opt:hover { border-color: var(--gold-500); background: rgba(201,169,97,.06); transform: translateY(-3px); }
.pg-opt .pg-ic { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); transition: background .3s, color .3s, border-color .3s; }
.pg-opt:hover .pg-ic { background: var(--gold-500); color: var(--night-900); border-color: var(--gold-500); }
.pg-opt .pg-tx { display: flex; flex-direction: column; gap: 3px; }
.pg-opt .pg-tt { font-size: 15px; color: var(--warm-100); font-weight: 500; }
.pg-opt .pg-td { font-size: 12.5px; color: var(--warm-mut); }
.pg-opt .pg-go { margin-left: auto; color: var(--warm-faint); transition: color .3s, transform .3s; }
.pg-opt:hover .pg-go { color: var(--gold-400); transform: translateX(3px); }
.pg-foot { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.pg-back { font-size: 13px; color: var(--warm-mut); background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: color .3s; }
.pg-back:hover { color: var(--gold-400); }
.pg-hint { font-size: 12px; color: var(--warm-faint); margin-left: auto; }
@media (max-width: 720px){ .pg-opts.cols-3, .pg-opts.cols-2 { grid-template-columns: 1fr; } }

/* analyse + résultat */
.pg-load { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 30px 0 18px; }
.pg-rings { position: relative; width: 84px; height: 84px; }
.pg-rings i, .pg-rings .core { position: absolute; inset: 0; border-radius: 50%; }
.pg-rings i { border: 1px solid var(--gold-line); animation: pgspin 2.4s linear infinite; }
.pg-rings i:nth-child(2) { inset: 12px; animation-duration: 1.8s; animation-direction: reverse; }
.pg-rings i:nth-child(3) { inset: 24px; animation-duration: 1.4s; }
.pg-rings .core { inset: 34px; background: var(--gold-500); box-shadow: 0 0 26px var(--gold-glow); }
@keyframes pgspin { to { transform: rotate(360deg); } }
.pg-load .lt { font-family: var(--serif); font-size: 24px; color: var(--warm-100); }
.pg-load .ls { font-size: 13px; color: var(--warm-mut); margin-top: 6px; }

.pg-result { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; animation: pgfade .6s var(--ease); }
.pg-rvisual { position: relative; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; border: 1px solid var(--gold-line); }
.pg-rvisual .slot-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-rvisual .halo { position: absolute; inset: 0; box-shadow: inset 0 0 60px var(--gold-glow); pointer-events: none; }
.pg-match { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.pg-match .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 10px var(--gold-500); }
.pg-rname { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); color: var(--warm-100); line-height: 1.05; margin: 12px 0 8px; }
.pg-rname small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .04em; color: var(--gold-400); margin-top: 8px; font-weight: 400; }
.pg-rdesc { font-size: 14.5px; color: var(--warm-mut); max-width: 52ch; }
.pg-rcta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.pg-rfoot { margin-top: 18px; display: flex; gap: 22px; font-size: 13px; }
.pg-rfoot a { color: var(--warm-mut); transition: color .3s; }
.pg-rfoot a:hover { color: var(--gold-400); }
@media (max-width: 680px){ .pg-result { grid-template-columns: 1fr; } .pg-rvisual { max-width: 200px; } }

/* ============================================================
   BOUTIQUE — verrou d'attribution (états verrouillé / déverrouillé)
   ============================================================ */
.lh-cart { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: var(--warm-200); transition: color .3s; }
.lh-cart:hover { color: var(--gold-400); }
.lh-cart .cc { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--gold-500); color: var(--night-900); font-size: 10px; font-weight: 700; display: grid; place-items: center; }

/* state-driven visibility */
body.shop-locked .u-only { display: none !important; }
body.shop-unlocked .l-only { display: none !important; }

/* locked banner */
.attr-banner { position: relative; border-radius: 14px; overflow: hidden; padding: clamp(20px,2.6vw,30px) clamp(22px,3vw,36px); margin-top: 8px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  border: 1px solid var(--state-line); background: radial-gradient(120% 140% at 88% 0%, rgba(201,169,97,.12), transparent 55%), rgba(201,169,97,.045); }
.attr-banner .ab-ic { width: 50px; height: 50px; flex: 0 0 50px; border: 1px solid var(--state-line); border-radius: 14px; display: grid; place-items: center; color: var(--state-400); }
.attr-banner .ab-ic svg { width: 24px; height: 24px; }
.attr-banner .ab-tx { flex: 1; min-width: 260px; }
.attr-banner .ab-tx h3 { font-family: var(--serif); font-size: clamp(20px,2.4vw,27px); color: var(--warm-100); }
.attr-banner .ab-tx p { font-size: 13.5px; color: var(--warm-200); margin-top: 6px; max-width: 62ch; }
.attr-banner .ab-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* unlocked bar */
.attr-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 22px; margin-top: 8px;
  border: 1px solid var(--gold-line); border-radius: 40px; background: rgba(201,169,97,.05); }
.attr-bar .ck { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: var(--gold-500); color: var(--night-900); display: grid; place-items: center; }
.attr-bar .ck svg { width: 15px; height: 15px; }
.attr-bar p { font-size: 13.5px; color: var(--warm-200); flex: 1; min-width: 200px; }
.attr-bar p b { color: var(--gold-300); }
.attr-bar .change { font-size: 12px; color: var(--warm-mut); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; background: none; }
.attr-bar .change:hover { color: var(--gold-400); }

/* product foot states (reuses .product/.pfoot/.add-btn/.price from site) */
.pfoot .price-lock { font-size: 12.5px; }
.pfoot .unlock-btn { font-size: 13px; padding: 9px 16px; border: 1px solid var(--gold-line); border-radius: 2px; color: var(--warm-100); white-space: nowrap; transition: all .3s; background: transparent; cursor: pointer; }
.pfoot .unlock-btn:hover { background: var(--gold-500); color: var(--night-900); border-color: var(--gold-500); }
.product .pimg .lock-tag { position: absolute; top: 14px; right: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(13,17,23,.55); backdrop-filter: blur(5px); border: 1px solid var(--state-line); color: var(--state-400); }
.product .pimg .lock-tag svg { width: 15px; height: 15px; }
body.shop-unlocked .product .pimg .lock-tag { display: none; }

/* preview toggle (outil équipe) */
.demo-toggle { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 16px; border-radius: 40px; border: 1px solid var(--gold-line);
  background: rgba(13,17,23,.86); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); }
.demo-toggle .dl { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-mut); }
.demo-seg { display: flex; border: 1px solid var(--gold-line); border-radius: 30px; overflow: hidden; }
.demo-seg button { font-size: 11.5px; font-weight: 500; padding: 7px 13px; color: var(--warm-mut); background: none; cursor: pointer; transition: all .3s; }
.demo-seg button.on { background: var(--gold-500); color: var(--night-900); }
@media (max-width: 560px){ .demo-toggle .dl { display: none; } }

/* cart toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 320; opacity: 0; visibility: hidden;
  display: flex; align-items: center; gap: 11px; padding: 13px 20px; border-radius: 40px; border: 1px solid var(--gold-line);
  background: rgba(13,17,23,.92); backdrop-filter: blur(14px); color: var(--warm-100); font-size: 13.5px; transition: opacity .35s, transform .35s var(--ease), visibility .35s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .tk { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-500); color: var(--night-900); display: grid; place-items: center; font-size: 12px; }

/* ============================================================
   FICHE PRODUIT — porte d'attribution (buybox gated)
   ============================================================ */
.pdp-price .price-lock { font-family: var(--sans); font-size: 14px; }
.attr-gate { position: relative; border: 1px solid var(--state-line); border-radius: 14px; padding: 24px; margin: 4px 0 18px;
  background: radial-gradient(130% 130% at 88% 0%, rgba(201,169,97,.12), transparent 55%), rgba(201,169,97,.045); }
.attr-gate .ag-head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.attr-gate .ag-ic { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--state-line); border-radius: 11px; display: grid; place-items: center; color: var(--state-400); }
.attr-gate .ag-ic svg { width: 21px; height: 21px; }
.attr-gate h3 { font-family: var(--serif); font-size: 22px; color: var(--warm-100); line-height: 1.08; }
.attr-gate p { font-size: 13.5px; color: var(--warm-200); margin-bottom: 18px; max-width: 46ch; }
.attr-gate .ag-cta { display: flex; flex-direction: column; gap: 10px; }
.attr-gate .ag-cta .btn { width: 100%; justify-content: center; }
.attr-gate .ag-steps { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(201,169,97,.2); }
.attr-gate .ag-steps .agp { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; color: var(--warm-mut); }
.attr-gate .ag-steps .agp .agn { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--state-line); color: var(--state-400); display: grid; place-items: center; font-size: 11px; }
.attr-mini { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid var(--gold-line); border-radius: 9px; background: rgba(201,169,97,.05); margin-top: 14px; font-size: 13px; color: var(--warm-200); }
.attr-mini .ck { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--gold-500); color: var(--night-900); display: grid; place-items: center; }
.attr-mini .ck svg { width: 14px; height: 14px; }
.attr-mini b { color: var(--gold-300); }
.attr-mini .change { margin-left: auto; font-size: 11.5px; color: var(--warm-mut); text-decoration: underline; text-underline-offset: 3px; background: none; cursor: pointer; white-space: nowrap; }
.attr-mini .change:hover { color: var(--gold-400); }
.pdp-gallery .lock-tag { position: absolute; top: 16px; right: 16px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(13,17,23,.55); backdrop-filter: blur(5px); border: 1px solid var(--state-line); color: var(--state-400); }
.pdp-gallery .lock-tag svg { width: 16px; height: 16px; }
body.shop-unlocked .pdp-gallery .lock-tag { display: none; }
/* cross-sell gated */
.xs-card .price-lock { font-size: 11.5px; }
.xs-card .xs-unlock { font-size: 12px; padding: 8px 13px; border: 1px solid var(--gold-line); border-radius: 2px; color: var(--warm-100); white-space: nowrap; transition: all .3s; background: transparent; cursor: pointer; }
.xs-card .xs-unlock:hover { background: var(--gold-500); color: var(--night-900); border-color: var(--gold-500); }

/* ============================================================
   CONFIRMATION LEAD (sortie de la couche orientation)
   ============================================================ */
.confirm-hero { position: relative; min-height: 76vh; display: flex; align-items: center; padding: 150px 0 60px; text-align: center; overflow: hidden; }
.confirm-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 50% at 50% 8%, var(--gold-glow), transparent 60%), radial-gradient(40% 40% at 80% 90%, rgba(201,169,97,.06), transparent 60%); }
.confirm-card { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.ok-badge { width: 88px; height: 88px; margin: 0 auto 30px; border-radius: 50%; background: var(--gold-500); color: var(--night-900); display: grid; place-items: center; box-shadow: 0 22px 60px -18px var(--gold-glow); animation: okpop .6s var(--ease); }
.ok-badge svg { width: 42px; height: 42px; }
@keyframes okpop { 0%{ transform: scale(.7); opacity: 0; } 60%{ transform: scale(1.08); } 100%{ transform: scale(1); opacity: 1; } }
.confirm-card h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px,5.4vw,62px); color: var(--warm-100); line-height: 1.02; margin: 22px 0 0; letter-spacing: -.01em; }
.confirm-card .clead { font-size: clamp(16px,1.4vw,20px); color: var(--warm-mut); max-width: 54ch; margin: 22px auto 0; }
.confirm-card .clead b { color: var(--gold-300); font-weight: 500; }
.conseiller { display: inline-flex; align-items: center; gap: 16px; margin-top: 36px; padding: 13px 24px 13px 13px; border: 1px solid var(--gold-line); border-radius: 50px; background: rgba(201,169,97,.05); }
.conseiller .ava { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; overflow: hidden; border: 1px solid var(--gold-line); position: relative; }
.conseiller .ava .slot-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.conseiller .ci { text-align: left; }
.conseiller .cn { font-size: 15px; color: var(--warm-100); font-weight: 500; }
.conseiller .cr { font-size: 12.5px; color: var(--warm-mut); }
.confirm-meta { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 12px; letter-spacing: .04em; color: var(--gold-300); border: 1px solid var(--gold-line); border-radius: 40px; padding: 9px 18px; }
.confirm-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

.next-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 12px; }
.nstep { position: relative; border: 1px solid rgba(201,169,97,.16); border-radius: 13px; padding: 28px 24px; background: var(--night-700); }
.nstep.crm { border-color: var(--gold-line); background: linear-gradient(160deg, var(--gold-glow), var(--night-700)); }
.nstep .nn { font-family: var(--serif); font-size: 30px; color: var(--gold-500); line-height: 1; }
.nstep h4 { font-size: 16px; color: var(--warm-100); margin: 12px 0 7px; font-weight: 500; }
.nstep p { font-size: 13px; color: var(--warm-mut); }
.nstep .pin { margin-top: 14px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); display: inline-flex; gap: 7px; align-items: center; }
.nstep .pin::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
@media (max-width: 760px){ .next-steps { grid-template-columns: 1fr; } }

/* ============================================================
   CLUB BEOSIGNER (abonnement membre)
   ============================================================ */
.club-hero { position: relative; padding: 150px 0 60px; overflow: hidden; }
.club-hero .lhero-ambient { background: radial-gradient(60% 60% at 50% 6%, var(--gold-glow), transparent 60%), radial-gradient(40% 40% at 85% 90%, rgba(201,169,97,.07), transparent 60%); }
.club-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--night-900); background: linear-gradient(100deg, var(--gold-400), var(--gold-300)); padding: 7px 15px; border-radius: 40px; }
.club-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px,5vw,72px); align-items: center; }
.club-grid h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px,6vw,80px); color: var(--warm-100); line-height: 1.0; margin: 22px 0 0; letter-spacing: -.015em; }
@media (max-width: 900px){ .club-grid { grid-template-columns: 1fr; } }

/* carte prix */
.price-card { position: relative; border: 1px solid var(--gold-500); border-radius: 18px; overflow: hidden; padding: 34px;
  background: radial-gradient(130% 120% at 85% 0%, var(--gold-glow), transparent 55%), linear-gradient(165deg, var(--night-700), var(--night-700));
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.7); }
.price-card .pc-ribbon { position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: linear-gradient(100deg, var(--gold-400), var(--gold-300));
  color: var(--night-900); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 6px 44px; }
.price-card .pc-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); }
.price-card .pc-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.price-card .pc-price .v { font-family: var(--serif); font-size: 64px; color: var(--gold-400); line-height: 1; }
.price-card .pc-price .u { font-size: 15px; color: var(--warm-mut); }
.price-card .pc-free { font-size: 13px; color: var(--gold-300); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 8px; }
.price-card .pc-free::before { content: "✦"; }
.price-card .pc-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.price-card .pc-list span { font-size: 13.5px; color: var(--warm-200); display: flex; gap: 11px; align-items: flex-start; }
.price-card .pc-list span::before { content: "✓"; color: var(--gold-500); font-weight: 700; flex: 0 0 auto; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card .pc-note { font-size: 12px; color: var(--warm-mut); text-align: center; margin-top: 14px; }

/* avantage phare (30% soin) */
.club-feature { position: relative; border: 1px solid var(--gold-line); border-radius: 16px; overflow: hidden; margin-top: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,3.5vw,52px); align-items: center;
  background: radial-gradient(120% 120% at 80% 0%, rgba(131,176,124,.10), transparent 55%), linear-gradient(150deg, #22314F, #17203A 65%); }
.club-feature .cf-visual { position: relative; aspect-ratio: 5/4; }
.club-feature .cf-visual .slot-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.club-feature .cf-body { padding: clamp(28px,3.5vw,52px) clamp(24px,3vw,40px) clamp(28px,3.5vw,52px) 0; }
.club-feature .cf-pct { font-family: var(--serif); font-size: clamp(48px,7vw,86px); color: var(--gold-400); line-height: 1; }
.club-feature h2 { font-family: var(--serif); font-size: clamp(26px,3.2vw,40px); color: var(--warm-100); margin: 6px 0 12px; line-height: 1.06; }
.club-feature p { font-size: 15px; color: var(--warm-200); max-width: 44ch; }
@media (max-width: 860px){ .club-feature { grid-template-columns: 1fr; } .club-feature .cf-body { padding: 0 clamp(20px,5vw,32px) clamp(28px,6vw,40px); } }

/* grille des avantages */
.club-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 12px; }
.cbenefit { border: 1px solid rgba(201,169,97,.14); border-radius: 12px; padding: 26px 24px; background: var(--night-700); transition: border-color .4s, transform .4s var(--ease); }
.cbenefit:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.cbenefit .ci { width: 44px; height: 44px; border: 1px solid var(--gold-line); border-radius: 12px; display: grid; place-items: center; color: var(--gold-400); margin-bottom: 16px; }
.cbenefit h4 { font-size: 15.5px; color: var(--warm-100); font-weight: 500; margin-bottom: 6px; }
.cbenefit p { font-size: 13px; color: var(--warm-mut); }
@media (max-width: 880px){ .club-benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .club-benefits { grid-template-columns: 1fr; } }

/* ============================================================
   ESPACE MEMBRE (dashboard)
   ============================================================ */
.member-head { padding: 120px 0 0; }
.member-greet { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.member-greet .mg-l h1 { font-family: var(--serif); font-size: clamp(30px,4vw,46px); color: var(--warm-100); }
.member-greet .mg-l p { font-size: 14px; color: var(--warm-mut); margin-top: 6px; }
.member-plan { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--gold-line); border-radius: 40px; padding: 10px 18px; background: rgba(201,169,97,.05); }
.member-plan .mp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 10px var(--gold-500); }
.member-plan .mp-t { font-size: 13px; color: var(--warm-100); } .member-plan .mp-t b { color: var(--gold-300); }
.member-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 36px; }
.mcard { border: 1px solid rgba(201,169,97,.16); border-radius: 14px; padding: 24px; background: var(--night-700); display: flex; flex-direction: column; }
.mcard.span4 { grid-column: span 4; } .mcard.span6 { grid-column: span 6; } .mcard.span8 { grid-column: span 8; } .mcard.span12 { grid-column: span 12; }
.mcard .mc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mcard .mc-head h3 { font-family: var(--serif); font-size: 21px; color: var(--warm-100); }
.mcard .mc-head .mc-ic { width: 34px; height: 34px; border: 1px solid var(--gold-line); border-radius: 9px; display: grid; place-items: center; color: var(--gold-400); }
.mcard .mc-link { font-size: 12.5px; color: var(--gold-400); display: inline-flex; gap: 6px; }
/* parcours du jour */
.daily { display: flex; flex-direction: column; gap: 12px; }
.daily .dprog { height: 6px; border-radius: 6px; background: rgba(201,169,97,.14); overflow: hidden; }
.daily .dprog i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-400), var(--gold-500)); }
.daily .dtask { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(201,169,97,.08); }
.daily .dtask:last-child { border-bottom: none; }
.daily .dtask .dck { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold-400); }
.daily .dtask.done .dck { background: var(--gold-500); color: var(--night-900); border-color: var(--gold-500); }
.daily .dtask .dt { font-size: 14px; color: var(--warm-100); } .daily .dtask.done .dt { color: var(--warm-mut); text-decoration: line-through; }
.daily .dtask .dmeta { margin-left: auto; font-size: 11px; color: var(--warm-faint); }
.streak { display: flex; gap: 6px; margin-top: 4px; }
.streak i { flex: 1; height: 30px; border-radius: 5px; background: rgba(201,169,97,.1); display: grid; place-items: center; font-size: 10px; color: var(--warm-faint); }
.streak i.on { background: rgba(201,169,97,.2); color: var(--gold-300); }
/* badges */
.badges { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.badge { text-align: center; }
.badge .bd { width: 100%; aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold-400); background: radial-gradient(120% 120% at 50% 20%, rgba(201,169,97,.12), transparent 60%); margin-bottom: 8px; }
.badge.locked .bd { color: var(--warm-faint); border-color: rgba(201,169,97,.1); background: none; }
.badge .bn { font-size: 11px; color: var(--warm-200); } .badge.locked .bn { color: var(--warm-faint); }
/* ressources list */
.res-rows { display: flex; flex-direction: column; gap: 2px; }
.res-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(201,169,97,.08); }
.res-row:last-child { border-bottom: none; }
.res-row .rr-ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 9px; border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold-400); }
.res-row .rr-t { font-size: 14px; color: var(--warm-100); } .res-row .rr-d { font-size: 12px; color: var(--warm-mut); }
.res-row .rr-tag { margin-left: auto; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); border: 1px solid var(--gold-line); border-radius: 30px; padding: 4px 10px; }
/* soin du mois */
.soin-card { position: relative; border: 1px solid var(--gold-500); border-radius: 14px; overflow: hidden; padding: 26px;
  background: radial-gradient(130% 130% at 85% 0%, var(--gold-glow), transparent 55%), rgba(201,169,97,.05); }
.soin-card .sc-pct { font-family: var(--serif); font-size: 50px; color: var(--gold-400); line-height: 1; }
.soin-card h4 { font-size: 16px; color: var(--warm-100); margin: 8px 0 6px; } .soin-card p { font-size: 13px; color: var(--warm-mut); margin-bottom: 16px; }
/* partenaire + IA + helpdesk mini */
.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini-row { display: flex; align-items: center; gap: 13px; }
.mini-row .mr-av { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 1px solid var(--gold-line); overflow: hidden; position: relative; }
.mini-row .mr-av .slot-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-row .mr-t { font-size: 14px; color: var(--warm-100); } .mini-row .mr-d { font-size: 12px; color: var(--warm-mut); }
.ai-box { border: 1px solid rgba(201,169,97,.16); border-radius: 11px; padding: 14px; background: var(--night-600); display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ai-box input { flex: 1; background: none; border: none; color: var(--warm-100); font-family: inherit; font-size: 13.5px; outline: none; }
.ai-box input::placeholder { color: var(--warm-faint); }
.ai-box .ai-send { width: 34px; height: 34px; border-radius: 8px; background: var(--gold-500); color: var(--night-900); display: grid; place-items: center; }
.agenda-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(201,169,97,.08); }
.agenda-row:last-child { border-bottom: none; }
.agenda-row .ag-date { text-align: center; flex: 0 0 50px; } .agenda-row .ag-date .agd { font-family: var(--serif); font-size: 22px; color: var(--gold-400); line-height: 1; } .agenda-row .ag-date .agm { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-mut); }
.agenda-row .ag-t { font-size: 14px; color: var(--warm-100); } .agenda-row .ag-d { font-size: 12px; color: var(--warm-mut); }
.agenda-row .ag-cta { margin-left: auto; font-size: 12px; color: var(--gold-400); white-space: nowrap; }
@media (max-width: 980px){ .mcard.span4, .mcard.span6, .mcard.span8 { grid-column: span 12; } .badges { grid-template-columns: repeat(4,1fr); } }

/* ---------- Célébration automatique (bandeau) ---------- */
.auto-celebrate { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 16px 22px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--gold-line); background: radial-gradient(120% 160% at 12% 0%, var(--gold-glow), transparent 55%), rgba(201,169,97,.05);
  animation: celebIn .6s var(--ease); }
@keyframes celebIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.auto-celebrate .ac-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--gold-500); color: var(--night-900); display: grid; place-items: center; }
.auto-celebrate .ac-ic svg { width: 24px; height: 24px; }
.auto-celebrate .ac-t { font-size: 15px; color: var(--warm-100); font-weight: 500; }
.auto-celebrate .ac-t b { color: var(--gold-300); }
.auto-celebrate .ac-d { font-size: 12.5px; color: var(--warm-mut); margin-top: 2px; }
.auto-celebrate .ac-auto { margin-left: auto; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); border: 1px solid var(--gold-line); border-radius: 30px; padding: 5px 11px; white-space: nowrap; }
.auto-celebrate .ac-close { background: none; border: none; color: var(--warm-faint); font-size: 20px; cursor: pointer; line-height: 1; padding: 0 4px; transition: color .3s; }
.auto-celebrate .ac-close:hover { color: var(--warm-100); }

/* ---------- Module Affirmations / Reprogrammation positive ---------- */
.affirm { position: relative; grid-column: span 12; border: 1px solid var(--gold-line); border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 130% at 85% 0%, rgba(131,176,124,.10), transparent 55%), linear-gradient(150deg, #22314F, #17203A 70%); }
.affirm-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
.affirm-stage { position: relative; padding: clamp(28px,3.4vw,46px); display: flex; flex-direction: column; min-height: 300px; }
.affirm-k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); display: inline-flex; align-items: center; gap: 11px; }
.affirm-k::before { content: ""; width: 22px; height: 1px; background: var(--gold-line); }
.affirm-quote { font-family: var(--serif); font-weight: 500; font-size: clamp(26px,3.4vw,42px); line-height: 1.14; color: var(--warm-100); margin: auto 0; padding: 26px 0; text-wrap: balance; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.affirm-quote.swap { opacity: 0; transform: translateY(12px); }
.affirm-quote::before { content: "\201C"; color: var(--gold-500); }
.affirm-quote::after { content: "\201D"; color: var(--gold-500); }
.affirm-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.affirm-new { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; padding: 12px 20px; border-radius: 40px; cursor: pointer;
  background: linear-gradient(100deg, var(--gold-400), var(--gold-500)); color: var(--night-900); border: none; transition: transform .3s var(--ease), box-shadow .3s; }
.affirm-new:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(201,169,97,.5); }
.affirm-new svg { width: 15px; height: 15px; }
.affirm-count { font-size: 12.5px; color: var(--warm-mut); }
.affirm-count b { color: var(--gold-300); }
.affirm-side { border-left: 1px solid rgba(201,169,97,.14); padding: clamp(24px,2.8vw,34px); display: flex; flex-direction: column; gap: 22px; background: rgba(13,17,23,.4); }
.affirm-side .as-lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--warm-mut); margin-bottom: 11px; }
.affirm-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.affirm-theme { font-size: 12.5px; padding: 8px 14px; border-radius: 40px; border: 1px solid var(--gold-line); color: var(--warm-200); background: transparent; cursor: pointer; transition: all .25s; }
.affirm-theme:hover { border-color: var(--gold-400); }
.affirm-theme.on { background: rgba(201,169,97,.14); border-color: var(--gold-500); color: var(--gold-300); }
.affirm-freq { display: flex; gap: 7px; flex-wrap: wrap; }
.affirm-freq button { flex: 1; min-width: 56px; font-size: 13px; font-weight: 500; padding: 10px 6px; border-radius: 9px; border: 1px solid var(--gold-line); background: transparent; color: var(--warm-200); cursor: pointer; transition: all .25s; }
.affirm-freq button.on { background: var(--gold-500); color: var(--night-900); border-color: var(--gold-500); }
.affirm-sched { font-size: 12px; color: var(--warm-mut); line-height: 1.5; }
.affirm-sched b { color: var(--warm-100); }
.affirm-notif { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--warm-200); }
.affirm-notif .sw { width: 38px; height: 22px; border-radius: 20px; background: rgba(201,169,97,.18); position: relative; transition: background .3s; flex: 0 0 38px; }
.affirm-notif .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--warm-200); transition: transform .3s; }
.affirm-notif.on .sw { background: var(--gold-500); } .affirm-notif.on .sw::after { transform: translateX(16px); background: var(--night-900); }
.affirm-note { font-size: 11.5px; color: var(--warm-faint); font-style: italic; line-height: 1.5; }
@media (max-width: 820px){ .affirm-inner { grid-template-columns: 1fr; } .affirm-side { border-left: none; border-top: 1px solid rgba(201,169,97,.14); } }

/* ---------- Récompenses / coffrets ---------- */
.rewards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.coffret { position: relative; border-radius: 14px; border: 1px solid var(--gold-line); padding: 22px 18px; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, var(--night-700), var(--night-700)); transition: transform .4s var(--ease), border-color .4s; }
.coffret .cf-ico { width: 56px; height: 56px; margin: 4px auto 14px; display: grid; place-items: center; color: var(--gold-400); }
.coffret .cf-ico svg { width: 40px; height: 40px; }
.coffret .cf-t { font-size: 13.5px; color: var(--warm-100); font-weight: 500; }
.coffret .cf-d { font-size: 11.5px; color: var(--warm-mut); margin-top: 4px; }
/* ready */
.coffret.ready { cursor: pointer; border-color: var(--gold-500); }
.coffret.ready::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 18%, var(--gold-glow), transparent 60%); opacity: .8; animation: cofGlow 2.2s ease-in-out infinite; pointer-events: none; }
@keyframes cofGlow { 0%,100% { opacity: .35; } 50% { opacity: .9; } }
.coffret.ready .cf-ico { color: var(--gold-300); animation: cofWiggle 2.4s ease-in-out infinite; }
@keyframes cofWiggle { 0%,92%,100% { transform: rotate(0); } 94% { transform: rotate(-7deg); } 96% { transform: rotate(7deg); } 98% { transform: rotate(-4deg); } }
.coffret.ready:hover { transform: translateY(-5px); }
.coffret .cf-tag { position: relative; z-index: 1; display: inline-block; margin-top: 12px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--night-900); background: linear-gradient(100deg, var(--gold-400), var(--gold-300)); border-radius: 30px; padding: 5px 12px; font-weight: 700; }
/* opened */
.coffret.opened { border-color: var(--gold-line); }
.coffret.opened .cf-ico { color: var(--gold-400); }
.coffret.opened .cf-prize { font-family: var(--serif); font-size: 19px; color: var(--gold-300); line-height: 1.1; margin-top: 2px; }
.coffret.opened .cf-claimed { margin-top: 10px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--state-400); display: inline-flex; align-items: center; gap: 6px; }
/* locked */
.coffret.locked { opacity: .82; }
.coffret.locked .cf-ico { color: var(--warm-faint); }
.coffret.locked .cf-cond { margin-top: 10px; font-size: 11px; color: var(--warm-faint); border: 1px solid rgba(201,169,97,.12); border-radius: 30px; padding: 5px 11px; display: inline-block; }
@media (max-width: 880px){ .rewards-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal modal + confetti ---------- */
#confetti { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.reward-modal { position: fixed; inset: 0; z-index: 410; display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(13,17,23,.82); backdrop-filter: blur(8px); }
.reward-modal.show { display: flex; animation: rmFade .3s var(--ease); }
@keyframes rmFade { from { opacity: 0; } to { opacity: 1; } }
.reward-reveal { position: relative; max-width: 440px; width: 100%; text-align: center; border: 1px solid var(--gold-500); border-radius: 20px; padding: 44px 36px;
  background: radial-gradient(130% 120% at 50% 0%, var(--gold-glow), transparent 55%), linear-gradient(160deg, var(--night-700), var(--night-700));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); animation: rmPop .55s var(--ease); }
@keyframes rmPop { 0% { transform: scale(.8); opacity: 0; } 60% { transform: scale(1.04); } 100% { transform: scale(1); opacity: 1; } }
.reward-reveal .rr-burst { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; background: var(--gold-500); color: var(--night-900); display: grid; place-items: center; box-shadow: 0 0 50px var(--gold-glow); }
.reward-reveal .rr-burst svg { width: 46px; height: 46px; }
.reward-reveal .rr-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); }
.reward-reveal h3 { font-family: var(--serif); font-size: clamp(30px,5vw,42px); color: var(--warm-100); line-height: 1.08; margin: 12px 0 10px; }
.reward-reveal p { font-size: 14px; color: var(--warm-mut); margin-bottom: 26px; }
.reward-reveal .btn { width: 100%; justify-content: center; }
.reward-reveal .rr-skip { display: block; margin-top: 14px; font-size: 12.5px; color: var(--warm-mut); background: none; border: none; cursor: pointer; }
.reward-reveal .rr-skip:hover { color: var(--gold-400); }

/* ---------- Bandeau socle (Harmonisation) ----------
   Sous la grille des univers : ce n'est pas une carte, parce que ce n'est
   pas un choix. Volontairement plus sobre que les cartes — teinte Standard,
   la moins saturée des huit clés. */
.socle-strip { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px;
  padding: 18px 22px; border: 1px solid rgba(168,154,128,.24); border-radius: 12px;
  background: rgba(168,154,128,.05); }
.socle-strip .socle-key { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%;
  margin-top: 6px; box-shadow: 0 0 0 4px rgba(168,154,128,.14); }
.socle-strip .socle-tx { font-size: 13.5px; color: var(--warm-mut); line-height: 1.55; }
.socle-strip .socle-tx b { display: block; font-weight: 500; font-size: 14px; margin-bottom: 3px; }
@media (max-width: 620px){ .socle-strip { padding: 16px 18px; } }

/* ---------- Validation du formulaire de qualification ---------- */
.qual-form .is-invalid { border-color: var(--error-400); box-shadow: 0 0 0 3px rgba(226,87,79,.14); }
.qual-form .field-err { margin-top: 7px; font-size: 12.5px; line-height: 1.45; color: var(--error-400);
  display: flex; align-items: flex-start; gap: 6px; }
.qual-form .field-err::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--error-400); margin-top: 6px; }

/* Repli de la grille des univers : une donnée absente ne doit pas produire
   une section vide. */
.univers-fallback { grid-column: 1 / -1; display: flex; flex-direction: column;
  align-items: center; gap: 14px; text-align: center; padding: 40px 24px;
  border: 1px solid var(--gold-line); border-radius: 12px; background: var(--night-700); }
.univers-fallback p { color: var(--warm-mut); font-size: 14.5px; margin-bottom: 4px; }
