/* ══════════════════════════════════════════════════════════════════
   Learnovate Investissement — couche V2
   Chargée APRÈS styles.css : conserve l'identité (crème / encre / vert / or,
   DM Serif Display + DM Sans, Kaushan Script) et affine finition, rythme,
   responsive, accessibilité et nouvelles sections.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(76,175,118,0.45);
  --gold-d: #9a7a2c;
  --space-section: clamp(56px, 7vw, 96px);
  --radius-card: 20px;
  --shadow-card: 0 1px 2px rgba(17,17,17,0.04), 0 8px 24px rgba(17,17,17,0.06);
  --shadow-card-hover: 0 2px 4px rgba(17,17,17,0.05), 0 22px 48px rgba(17,17,17,0.11);
  --galaxy: #7c6cf2;
}

/* ── Base ─────────────────────────────────────────────────────────── */
html { scroll-padding-top: calc(var(--nav-h) + 12px); }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
/* Grain : conservé, mais statique (plus d'animation permanente plein écran) */
body::before { animation: none; top: 0; left: 0; width: 100%; height: 100%; }
img { max-width: 100%; }
main section[id], #avertissement { scroll-margin-top: calc(var(--nav-h) + 8px); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* Focus visible cohérent (clavier uniquement) */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.btn-primary:focus-visible, .nav-btn:focus-visible, .price-btn:focus-visible, .form-submit:focus-visible,
.uni-cta:focus-visible, .mnav-cta:focus-visible { outline: none; box-shadow: var(--focus); }
.form-input:focus-visible { outline: none; }

.link-btn {
  background: none; border: none; padding: 0; font: inherit; color: var(--green-d);
  font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link-btn:hover { color: var(--green-dd); }

.accent-green { font-style: italic; color: var(--green); }
.accent-gold { font-style: italic; color: var(--gold); }
.section-tag--gold { background: var(--gold-l); color: #7A5C1E; }
.section-tag--dark { background: rgba(76,175,118,0.12); color: #8fe0b1; border: 1px solid rgba(76,175,118,0.25); }

/* Rythme vertical plus régulier */
.features, .guides, .learning, .pricing, .howit, .founder, .faq, .why { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-header { margin-bottom: clamp(44px, 6vw, 64px); }
.section-title { letter-spacing: -0.015em; }
.section-desc { font-size: 16.5px; color: #6f6f63; }

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.nav { padding: 18px 0; }
.nav.scrolled { background: rgba(14,14,13,0.88); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: 1320px; gap: 20px; }
.nav-logo { margin-right: 8px; text-decoration: none; }
.nav-primary { margin-left: auto; }
.nav-links { gap: 4px; margin-left: 0; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px;
  padding: 8px 11px; border-radius: 10px; font-size: 13.5px; color: rgba(255,255,255,0.72);
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--green);
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-auth { display: inline-flex; align-items: center; gap: 8px; }
.nav-login {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px;
  background: transparent; border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.86);
  font-family: var(--sans); font-size: 13px; font-weight: 600; border-radius: 10px; cursor: pointer;
  transition: all 0.2s;
}
.nav-login:hover { border-color: rgba(255,255,255,0.34); color: #fff; background: rgba(255,255,255,0.05); }
.nav-btn { min-height: 40px; border-radius: 10px; white-space: nowrap; }
.nav-cta { box-shadow: 0 6px 18px rgba(76,175,118,0.28); padding: 10px 18px; }
.user-bar { gap: 10px; }
.user-avatar { border: none; cursor: pointer; font-size: 14px; }
.user-meta { display: flex; flex-direction: column; line-height: 1.15; }
.user-plan { font-size: 10.5px; color: var(--gold); font-weight: 700; letter-spacing: 0.04em; }
body[data-plan="free"] .user-plan { color: rgba(255,255,255,0.45); }
.user-logout { min-height: 32px; }

.nav-hamburger {
  width: 44px; height: 44px; align-items: center; justify-content: center; gap: 5px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04);
}
.nav-hamburger span { width: 20px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1360px) {
  .nav-links a { padding: 8px 8px; font-size: 13px; }
  .nav-links a.is-active::after { left: 8px; right: 8px; }
  .user-meta { display: none; }
}
@media (max-width: 1240px) {
  .nav-primary { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions { margin-left: auto; }
  .user-logout { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 12px 0; }
  .nav-inner { padding: 0 16px; gap: 10px; }
  .nav-logo-img { width: 38px; height: 38px; }
  .nav-logo-text { font-size: 21px; }
  .nav-login { display: none; }
  .nav-cta { padding: 9px 13px; font-size: 12.5px; }
  .user-bar > .nav-btn { display: none; }
}
.cta-short { display: none; }
/* Couches décoratives de l'accueil (dégradé du bas, halos) : elles ne doivent jamais capter la souris
   (le dégradé du bas recouvrait le bouton « Essayer gratuitement » de l'aperçu) */
.hero::before, .hero::after { pointer-events: none; }
/* Nouveau logo (fond beige intégré à l'image) : plus de cadre crème ni de marge autour */
.nav-logo-img, #simulatorPage .hdr-logo, #dashboardPage .dash-brand-logo { padding: 0; background: transparent; object-fit: cover; }
@media (max-width: 420px) {
  /* « Investissement » reste visible sous « Learnovate » sur téléphone (plus petit) */
  .nav-logo-sub { font-size: 7.5px; letter-spacing: 0.18em; margin-top: 2px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav-cta { padding: 9px 14px; }
}
@media (max-width: 360px) {
  .nav-inner { gap: 8px; }
  .nav-logo { gap: 9px; }
  .nav-logo-text { font-size: 19px; }
  .nav-logo-sub { font-size: 7px; letter-spacing: 0.14em; }
  .nav-logo-img { width: 36px; height: 36px; }
  .nav-actions { gap: 8px; }
  .nav-cta { padding: 9px 11px; }
}

/* ══════════════════════════════════════════════════════════════════
   MENU MOBILE
   ══════════════════════════════════════════════════════════════════ */
.mnav { position: fixed; inset: 0; z-index: 100050; }
.mnav-backdrop {
  position: absolute; inset: 0; background: rgba(10,10,9,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.28s ease;
}
.mnav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: linear-gradient(170deg, #121412 0%, #171d19 60%, #121412 100%);
  border-left: 1px solid rgba(255,255,255,0.06);
  box-shadow: -24px 0 60px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; gap: 18px;
  padding: max(16px, env(safe-area-inset-top)) 22px max(20px, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform 0.34s var(--ease-out);
}
.mnav.open .mnav-backdrop { opacity: 1; }
.mnav.open .mnav-panel { transform: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; }
.mnav-close {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mnav-user { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); }
.mnav-user strong { display: block; color: #fff; font-size: 14.5px; }
.mnav-user span { color: var(--gold); font-size: 12px; font-weight: 600; }
.mnav-links { list-style: none; display: flex; flex-direction: column; }
.mnav-links a {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 6px;
  color: #fff; text-decoration: none; font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0; transform: translateX(16px); transition: opacity 0.35s ease, transform 0.35s var(--ease-out), color 0.2s;
}
.mnav-links a span { font-family: var(--mono); font-size: 11px; color: var(--green); width: 22px; }
.mnav-links a:hover, .mnav-links a:focus-visible { color: #9be3b9; }
.mnav.open .mnav-links a { opacity: 1; transform: none; }
.mnav.open .mnav-links li:nth-child(2) a { transition-delay: 0.03s; }
.mnav.open .mnav-links li:nth-child(3) a { transition-delay: 0.06s; }
.mnav.open .mnav-links li:nth-child(4) a { transition-delay: 0.09s; }
.mnav.open .mnav-links li:nth-child(5) a { transition-delay: 0.12s; }
.mnav.open .mnav-links li:nth-child(6) a { transition-delay: 0.15s; }
.mnav.open .mnav-links li:nth-child(7) a { transition-delay: 0.18s; }
.mnav.open .mnav-links li:nth-child(8) a { transition-delay: 0.21s; }
.mnav-ctas { display: grid; gap: 10px; }
.mnav-cta {
  display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px;
  border-radius: 14px; font-family: var(--sans); font-size: 15px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
}
.mnav-cta.primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(76,175,118,0.3); }
.mnav-cta.gold { background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%); color: #16130a; }
.mnav-account { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mnav-account-btn {
  min-height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.14);
  background: transparent; color: rgba(255,255,255,0.88); font-family: var(--sans); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.mnav-account-btn.strong { background: rgba(255,255,255,0.08); color: #fff; }
.mnav-foot { margin-top: auto; font-size: 11.5px; color: rgba(255,255,255,0.38); text-align: center; }
@media (max-width: 360px) { .mnav-account { grid-template-columns: 1fr; } .mnav-links a { font-size: 21px; } }

/* ══════════════════════════════════════════════════════════════════
   HÉROS
   ══════════════════════════════════════════════════════════════════ */
.hero-content { width: 100%; max-width: 1240px; padding: 150px 32px 130px; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 1025px) { .hero-content { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); margin-bottom: 22px; }
.hero-desc { color: rgba(255,255,255,0.68); font-size: 17.5px; max-width: 520px; margin-bottom: 26px; }
.hero-desc strong { color: #fff; font-weight: 600; }
.hero-pillars { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.hero-pillars li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 30px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.86); font-size: 13px; font-weight: 600;
}
.hero-pillars li span {
  width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(76,175,118,0.18); color: #8fe0b1; font-family: var(--mono); font-size: 10.5px;
}
.hero-actions { gap: 12px; }
.hero-actions .btn-primary, .hero-actions .btn-secondary { padding: 16px 26px; }
.hero-actions .btn-primary { box-shadow: 0 10px 30px rgba(76,175,118,0.32); }
.hero-reassure { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,0.5); }
.hero-reassure svg { color: var(--green); flex-shrink: 0; }

.preview-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.preview-card-value--sm { font-size: 20px; }
.preview-card-value--sm.green { color: var(--green-d); }
.preview-chart-area svg { width: 100%; height: 100%; position: absolute; bottom: 0; left: 0; }
.hero-preview-foot { font-size: 10.5px; color: var(--muted); font-style: italic; text-align: center; margin-top: -4px; }
/* Ancien voile flouté → bandeau discret : le produit reste visible */
.hero-lock-overlay {
  position: static; inset: auto; background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none;
  flex-direction: row; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px;
  border-radius: 14px; margin-top: 2px; display: flex;
}
.hero-lock-text { font-size: 13px; color: rgba(255,255,255,0.86); }
.hero-lock-btn { white-space: nowrap; min-height: 38px; }

@media (max-width: 1024px) {
  .hero-content { padding: 130px 28px 110px; }
  .hero-right { max-width: 560px; width: 100%; justify-self: center; }
}
/* Petits écrans de bureau (960–1024 px) : on garde le héros sur deux colonnes */
@media (min-width: 960px) and (max-width: 1024px) {
  .hero-content { grid-template-columns: 1.08fr 0.92fr; gap: 36px; }
  .hero-right { max-width: none; }
  .hero h1 { font-size: 50px; }
  .hero-desc { font-size: 16px; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { padding: 14px 20px; font-size: 14.5px; }
}
@media (max-width: 768px) {
  /* V1 masquait l'aperçu produit sur mobile : on l'adapte au lieu de le supprimer */
  .hero-right { display: block; max-width: 440px; }
  .hero-preview, .hero-preview:hover { transform: none; }
  .hero-content { padding: 112px 20px 96px; gap: 40px; }
  .hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .hero-desc { font-size: 16px; }
  .hero-preview-body { padding: 18px; gap: 12px; min-height: 0; }
  .preview-card-feat .preview-card-value { font-size: 28px; }
  .preview-card { padding: 14px 16px; }
  .preview-card-value--sm { font-size: 17px; }
  .preview-chart-area { height: 92px; }
  .hero-glow { display: none; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { justify-content: center; width: 100%; }
}
@media (max-width: 400px) {
  .hero-actions .btn-primary, .hero-actions .btn-secondary { font-size: 14.5px; padding: 15px 16px; }
  .hero-reassure { align-items: flex-start; }
  .hero-lock-overlay { flex-direction: column; align-items: stretch; text-align: center; }
  .preview-url { font-size: 9px; }
}

/* Bandeau de statistiques */
.stats-inner { box-shadow: 0 20px 50px rgba(17,17,17,0.10); }
@media (max-width: 768px) {
  .stats-bar { padding: 0 16px; margin-top: -48px; }
  .stat-item { padding: 22px 12px; }
  .stat-number { font-size: 27px; }
}

/* ══════════════════════════════════════════════════════════════════
   POURQUOI LEARNOVATE ?
   ══════════════════════════════════════════════════════════════════ */
.why { background: var(--cream); padding-bottom: calc(var(--space-section) * 0.6); } /* écart réduit avant « Fonctionnalités » */
.why-pillars { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1120px; margin: 0 auto; counter-reset: why; }
.why-pillar {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 30px 26px 28px; box-shadow: var(--shadow-card); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.why-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.why-num { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.why-ic {
  width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.why-pillar h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 8px; letter-spacing: -0.01em; }
.why-pillar p { font-size: 14px; color: #6f6f63; line-height: 1.6; }
.why-trust {
  max-width: 1120px; margin: 26px auto 0; display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); background: #fff;
}
.why-trust-col { padding: 26px 30px; }
.why-trust-col h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.why-trust-col h3 span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.why-trust-col.is h3 { color: var(--green-d); }
.why-trust-col.is h3 span { background: var(--green-l); }
.why-trust-col.isnot { background: #faf8f3; border-left: 1px solid var(--border); }
.why-trust-col.isnot h3 { color: #8a5a2b; }
.why-trust-col.isnot h3 span { background: #f6ecde; }
.why-trust-col ul { list-style: none; display: grid; gap: 7px; }
.why-trust-col li { font-size: 14px; color: var(--ink-2); padding-left: 16px; position: relative; }
.why-trust-col li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); }
.why-trust-link { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .why-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .why-pillars { grid-template-columns: 1fr; gap: 12px; }
  .why-pillar { padding: 22px 20px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .why-ic { grid-row: span 2; margin-bottom: 0; }
  .why-trust { grid-template-columns: 1fr; }
  .why-trust-col.isnot { border-left: none; border-top: 1px solid var(--border); }
  .why-trust-col { padding: 22px 20px; }
}

/* ══════════════════════════════════════════════════════════════════
   FONCTIONNALITÉS
   ══════════════════════════════════════════════════════════════════ */
.feature-card { display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.feature-desc { flex: 1; }
.feature-pill {
  align-self: flex-start; margin-top: 18px; padding: 4px 10px; border-radius: 20px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; background: var(--cream); color: var(--ink-3);
}
.feature-pill.free { background: var(--green-l); color: var(--green-d); }
@media (max-width: 768px) { .feature-card { padding: 28px 24px; } }

/* ══════════════════════════════════════════════════════════════════
   GUIDES PREMIUM
   ══════════════════════════════════════════════════════════════════ */
a.guide-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.guide-card { box-shadow: var(--shadow-card); }
.guide-lock {
  position: absolute; top: 18px; right: 18px; padding: 3px 9px; border-radius: 20px;
  background: var(--ink); color: var(--gold); font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.gpb-btns .gpb-btn-gold { color: #16130a; background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%); }
@media (max-width: 768px) {
  .guides-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .guide-card { padding: 20px 16px; }
  .guide-desc { display: none; }
  .guide-title { font-size: 15px; }
  .guide-lock { top: 12px; right: 12px; }
  .guides-premium-banner { padding: 30px 22px; gap: 24px; }
}
@media (max-width: 360px) { .guides-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════
   SIMULATEUR (section landing + mini-simulateur)
   ══════════════════════════════════════════════════════════════════ */
.sim-cta { padding: calc(var(--space-section) - 20px) 0 calc(var(--space-section) * 0.6); } /* écart réduit avant « Apprenez chaque jour » */
.sim-cta-inner { background: linear-gradient(155deg, #121412 0%, #161b17 55%, #111 100%); border: 1px solid rgba(255,255,255,0.05); align-items: start; }
.sim-cta-desc { margin-bottom: 26px; color: rgba(255,255,255,0.6); }
.sim-steps { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.sim-steps li { display: flex; gap: 14px; align-items: flex-start; }
.sim-steps li > span {
  width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(76,175,118,0.14); color: #8fe0b1; font-family: var(--mono); font-size: 12px; border: 1px solid rgba(76,175,118,0.25);
}
.sim-steps strong { display: block; color: #fff; font-size: 14.5px; }
.sim-steps div { color: rgba(255,255,255,0.52); font-size: 13px; line-height: 1.5; }
.sim-cta-features { margin-bottom: 30px; gap: 10px; }
.sim-cta-feat { font-size: 13.5px; }
.sim-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sim-cta-note { font-size: 12px; color: rgba(255,255,255,0.45); }

.mini-sim {
  background: var(--cream); border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.4);
}
.mini-sim-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.mini-sim-title { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mini-sim-tabs { display: flex; gap: 6px; }
.mini-sim .sim-tab { background: #fff; border-color: var(--border-2); color: var(--ink-3); min-height: 38px; }
.mini-sim .sim-tab:hover { background: var(--cream-dark); color: var(--ink); }
.mini-sim .sim-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.mini-sim-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-bottom: 16px; }
.ms-field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.ms-field-top label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ms-field-top output { font-family: var(--mono); font-size: 12.5px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.ms-field input[type=range], #simulatorPage input[type=range] { width: 100%; accent-color: var(--green-d); cursor: pointer; }
.ms-field input[type=range] { height: 26px; }
/* Simulateur : mêmes curseurs verts que le mini-simulateur de la page d'accueil (curseur natif, couleur d'accent)
   au lieu du rail beige et de la pastille noire hérités de la V1 */
#simulatorPage input[type=range] { -webkit-appearance: auto; appearance: auto; height: 26px; margin-top: 0; background: transparent; border-radius: 0; }
#simulatorPage input[type=range]::-webkit-slider-thumb { -webkit-appearance: auto; appearance: auto; }
.mini-sim-result { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 16px 12px; }
.msr-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.msr-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.msr-value { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 36px); color: var(--ink); line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.msr-multiple {
  font-family: var(--mono); font-size: 12px; font-weight: 500; padding: 5px 9px; border-radius: 8px;
  background: var(--green-l); color: var(--green-d); white-space: nowrap;
}
.msr-chart { display: block; width: 100%; height: 80px; margin: 10px 0 10px; }
.msr-chart path { transition: d 0.35s var(--ease-out); }
.msr-bar { display: flex; height: 8px; border-radius: 6px; overflow: hidden; background: var(--cream-dark); }
.msr-bar span { height: 100%; transition: width 0.4s var(--ease-out); }
.b-start, .d-start, .si-start { background: #1f1f1d; }
.b-contrib, .d-contrib, .si-contrib { background: var(--gold); }
.b-int, .d-int, .si-int { background: var(--green); }
.si-ot { background: #3b82f6; }
.msr-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 11.5px; color: var(--ink-3); }
.msr-legend li { display: flex; align-items: center; gap: 6px; }
.msr-legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.msr-legend b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.msr-insight { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; padding-top: 10px; border-top: 1px dashed var(--border-2); }
.msr-insight strong { color: var(--green-d); }
.mini-sim-note { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11.5px; color: var(--muted); font-style: italic; }
@media (max-width: 1024px) {
  .sim-cta-inner { padding: 44px 32px; gap: 40px; }
}
@media (max-width: 768px) {
  .sim-cta .container { padding: 0 12px; }
  .sim-cta-inner { padding: 32px 18px; border-radius: 22px; }
  .sim-cta-actions .btn-primary { width: 100%; justify-content: center; }
  .mini-sim { padding: 16px; }
  .mini-sim-fields { grid-template-columns: 1fr; }
  .mini-sim .sim-tab { font-size: 12px; padding: 8px 4px; white-space: nowrap; }
}
@media (max-width: 480px) { .mini-sim .tab-ic { display: none; } }

/* ══════════════════════════════════════════════════════════════════
   APPRENTISSAGE
   ══════════════════════════════════════════════════════════════════ */
.learning { padding-top: calc(var(--space-section) * 0.75); padding-bottom: calc(var(--space-section) + 10px); }
/* Learny dans « Apprenez chaque jour » : sur téléphone, son conteneur n'avait aucune largeur (Learny invisible) */
@media (max-width: 820px) { .mf-character { width: 100%; max-width: 170px; } }
.learning-premium-badge {
  position: absolute; top: 22px; right: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 20px; background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%);
  color: #16130a; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.learning-fine { font-size: 12px; color: var(--muted); margin: -4px 0 18px; position: relative; z-index: 1; }
.learning-card.dark .learning-fine { color: rgba(255,255,255,0.5); }
.learning-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: auto; position: relative; z-index: 1; }
.learning-card .learning-actions .btn-primary { margin-top: 0; }
.learning-link { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.72); text-decoration: underline; text-underline-offset: 3px; }
.learning-link:hover { color: #fff; }
@media (max-width: 768px) {
  .learning-card { padding: 30px 22px; }
  .learning-card .btn-primary { width: 100%; justify-content: center; }
  .mf-stage { margin-bottom: 56px; }
}

/* ══════════════════════════════════════════════════════════════════
   LEARNOVATE WORLD & GALAXY
   ══════════════════════════════════════════════════════════════════ */
.universe {
  position: relative; overflow: hidden; padding: var(--space-section) 0;
  background:
    radial-gradient(ellipse 60% 50% at 18% 10%, rgba(201,168,76,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 85% 25%, rgba(124,108,242,0.16) 0%, transparent 62%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(76,175,118,0.12) 0%, transparent 65%),
    linear-gradient(180deg, #0b0d0c 0%, #0f1412 55%, #0b0c0d 100%);
  color: #fff;
}
.universe-stars {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 34%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 62% 12%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 76% 58%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 28%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(1px 1px at 92% 82%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 6% 88%, rgba(255,255,255,0.55), transparent 60%);
}
.universe .container { position: relative; z-index: 1; }
.universe .section-title { color: #fff; }
.universe .section-desc { color: rgba(255,255,255,0.62); }
.universe-grid { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 22px; align-items: stretch; max-width: 1180px; margin: 0 auto; }
.uni-card {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35); transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s var(--ease-out);
}
.uni-card:hover { transform: translateY(-6px); }
.uni-world:hover { border-color: rgba(201,168,76,0.45); box-shadow: 0 34px 80px rgba(201,168,76,0.12), 0 30px 70px rgba(0,0,0,0.4); }
.uni-galaxy:hover { border-color: rgba(124,108,242,0.5); box-shadow: 0 34px 80px rgba(124,108,242,0.16), 0 30px 70px rgba(0,0,0,0.4); }
.uni-media { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; background: #111; }
.uni-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.uni-card:hover .uni-media img { transform: scale(1.07); }
/* Photo World (format 1,4:1 dans un cadre ~2:1) : cadrage bas pour voir la tête de Learny en entier
   (le haut de la tour verte est un peu coupé, choix du propriétaire) */
.uni-media img.uni-media-world-v2 { object-position: 50% 70%; }
/* Photo Galaxy (même format) : même principe, la tête de Learny en entier en bas de l'image */
.uni-media img.uni-media-galaxy-v2 { object-position: 50% 70%; }
.uni-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,12,11,0.85) 100%); }
.uni-world .uni-media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(201,168,76,0.12), transparent 50%); mix-blend-mode: screen; }
.uni-galaxy .uni-media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(124,108,242,0.22), transparent 55%); mix-blend-mode: screen; }
.uni-status {
  position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(10,12,11,0.72); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.uni-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.uni-status.is-live::before { background: var(--green); }
.uni-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; margin-top: -36px; z-index: 2; }
.uni-eyebrow { font-family: 'Kaushan Script', cursive; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.uni-world .uni-eyebrow { color: #e3c77a; }
.uni-galaxy .uni-eyebrow { color: #b3a8ff; }
.uni-title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 10px; color: #fff; }
.uni-desc { font-size: 14.5px; color: rgba(255,255,255,0.64); line-height: 1.65; margin-bottom: 18px; }
.uni-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.uni-chips li { font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.82); }
.uni-cta {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; min-height: 48px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 700; transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.3s;
}
.uni-world .uni-cta { background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%); color: #16130a; box-shadow: 0 10px 26px rgba(201,168,76,0.25); }
.uni-galaxy .uni-cta { background: linear-gradient(135deg, #8b7cf6 0%, #5b4bd6 100%); color: #fff; box-shadow: 0 10px 26px rgba(124,108,242,0.3); }
.uni-cta:hover { transform: translateY(-2px); }
.uni-thread { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.uni-thread-line { position: absolute; top: 8%; bottom: 8%; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(201,168,76,0.45), rgba(124,108,242,0.45), transparent); }
.uni-thread-label { position: relative; text-align: center; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); background: #0e1210; padding: 6px 4px; line-height: 1.4; }
.uni-eco {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 980px; margin: 36px auto 0;
  background: rgba(255,255,255,0.08); border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08);
}
.uni-eco li { background: rgba(12,14,13,0.92); padding: 18px 20px; display: grid; grid-template-columns: 12px 1fr; column-gap: 12px; align-items: center; }
.uni-eco strong { font-size: 13.5px; color: #fff; }
.uni-eco span:not(.uni-eco-dot) { grid-column: 2; font-size: 12px; color: rgba(255,255,255,0.5); }
.uni-eco-dot { width: 10px; height: 10px; border-radius: 50%; grid-row: span 2; }
.uni-eco-dot.inv { background: var(--green); box-shadow: 0 0 12px rgba(76,175,118,0.6); }
.uni-eco-dot.world { background: var(--gold); box-shadow: 0 0 12px rgba(201,168,76,0.6); }
.uni-eco-dot.galaxy { background: var(--galaxy); box-shadow: 0 0 12px rgba(124,108,242,0.7); }
@media (max-width: 960px) {
  .universe-grid { grid-template-columns: 1fr; max-width: 620px; }
  .uni-thread { flex-direction: row; min-height: 0; padding: 4px 0; }
  .uni-thread-line { top: 50%; bottom: auto; left: 6%; right: 6%; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45), rgba(124,108,242,0.45), transparent); }
  .uni-thread-label { padding: 6px 12px; }
  .uni-eco { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .uni-body { padding: 18px 18px 22px; }
  .uni-cta { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════
   TARIFS
   ══════════════════════════════════════════════════════════════════ */
.pricing-grid { align-items: stretch; gap: 22px; max-width: 1180px; }
.price-card { display: flex; flex-direction: column; padding: 38px 32px 32px; box-shadow: var(--shadow-card); border-radius: 24px; }
.price-card.free { border-color: rgba(76,175,118,0.28); }
.price-card .price-features { flex: 1; margin-bottom: 26px; gap: 12px; }
.price-features li { font-size: 13.5px; }
.price-card.featured .price-features li strong, .price-card.prestige .price-features li strong { color: #fff; }
.price-no { color: var(--muted) !important; }
.price-no em { font-style: normal; font-size: 12px; }
.price-check.no { background: var(--cream-dark); color: var(--muted); font-size: 12px; font-weight: 700; }
.price-see { font-family: var(--sans); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.55); }
.price-amount { margin-bottom: 18px; }
.price-free { margin-bottom: 18px; }
.price-highlight { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; margin-bottom: 22px; }
.price-highlight strong { display: block; font-size: 14px; }
.price-highlight span { display: block; font-size: 12.5px; line-height: 1.45; }
.price-highlight > div { min-width: 0; }
.price-highlight.free { flex-direction: column; align-items: flex-start; gap: 2px; background: var(--green-l); border: 1px solid rgba(76,175,118,0.25); }
.price-highlight.free strong { color: var(--green-dd); }
.price-highlight.free span { color: var(--green-d); }
.price-highlight.duo { background: linear-gradient(135deg, rgba(201,168,76,0.22), rgba(201,168,76,0.08)); border: 1px solid rgba(201,168,76,0.45); }
.price-highlight.duo img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; flex-shrink: 0; }
.price-highlight.duo strong { color: #f1d98f; font-size: 15px; }
.price-highlight.duo span { color: rgba(255,255,255,0.7); }
.price-highlight.prestige { flex-direction: column; align-items: flex-start; gap: 3px; background: rgba(255,255,255,0.05); border: 1px dashed rgba(201,168,76,0.4); }
.price-highlight.prestige strong { color: var(--gold); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.price-highlight.prestige span { color: rgba(255,255,255,0.72); }
.price-actions { display: grid; gap: 10px; justify-items: center; }
.price-actions .price-btn { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; }
.price-note { font-size: 11.5px; color: var(--muted); }
.price-lang { font-size: 12px; color: rgba(255,255,255,0.55); text-decoration: none; }
.price-lang:hover { color: #fff; text-decoration: underline; }
.price-btn-filled { box-shadow: 0 8px 20px rgba(76,175,118,0.25); }
.price-btn-prestige-cta { background: transparent; color: var(--gold); border: 1.5px solid rgba(201,168,76,0.65); font-weight: 700; }
.price-btn-prestige-cta:hover { background: rgba(201,168,76,0.12); color: #f1d98f; }
.price-card.featured { transform: none; }
.price-card.featured:hover { transform: translateY(-4px); }
@media (min-width: 1025px) {
  .price-card.featured { transform: translateY(-10px); }
  .price-card.featured:hover { transform: translateY(-14px); }
}
.pricing-after { max-width: 1000px; margin: 34px auto 0; display: grid; gap: 16px; }
.pricing-shared { text-align: center; font-size: 14px; color: var(--ink-3); }
.compare { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.compare summary {
  list-style: none; cursor: pointer; padding: 16px 22px; font-weight: 700; font-size: 14.5px; display: flex; align-items: center; justify-content: space-between; min-height: 52px;
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: '+'; font-size: 20px; color: var(--muted); transition: transform 0.25s; }
.compare[open] summary::after { transform: rotate(45deg); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 13.5px; }
.compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.compare-table thead th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: #faf8f3; position: sticky; top: 0; }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--ink-2); }
.compare-table tr.is-highlight th { font-weight: 700; color: var(--ink); }
.compare-table tr.is-highlight { background: rgba(201,168,76,0.08); }
.cmp-yes { color: var(--green-d); font-weight: 800; }
.cmp-no { color: #c4c0b4; }
.pricing-whop { display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: left; font-size: 12.5px; color: var(--muted); max-width: 720px; margin: 0 auto; }
.pricing-whop svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 480px) {
  .price-card { padding: 30px 20px 24px; }
  .compare summary { padding: 14px 16px; }
}

/* ══════════════════════════════════════════════════════════════════
   COMMENT ÇA MARCHE · TÉMOIGNAGES · FAQ · CTA · FOOTER
   ══════════════════════════════════════════════════════════════════ */
.howit-steps { list-style: none; padding: 0; }
.howit-step { box-shadow: var(--shadow-card); }
.test-card { margin: 0; display: flex; flex-direction: column; }
.test-text { flex: 1; margin: 0 0 20px; }
.founder-quote { margin: 0; }

.faq-h { font: inherit; margin: 0; }
.faq-question { min-height: 60px; gap: 16px; }
.faq-item.open { border-color: rgba(76,175,118,0.3); box-shadow: var(--shadow-card); }
.faq-item.open .faq-answer { max-height: none; }
.faq-answer { transition: max-height 0.35s var(--ease-out); }
.faq-answer-inner { color: #66665a; }
.faq-answer-inner strong { color: var(--ink-2); }

.btn-lg { font-size: 16px; padding: 18px 40px; }
.btn-on-dark { border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.88); }
@media (max-width: 768px) {
  .final-cta .container { padding: 0 12px; }
  .final-cta-btns { align-items: stretch; }
  .final-cta-btns .btn-primary, .final-cta-btns .btn-secondary { justify-content: center; width: 100%; }
  .btn-lg { padding: 16px 22px; }
}

.footer-logo { margin-bottom: 8px; }
.footer-eco { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 10px; }
.footer-links a { display: inline-block; padding: 3px 0; }
.footer-lang { display: inline-flex; align-items: center; min-height: 32px; }
.disclaimer-title { font-family: var(--sans); font-weight: 700; }
.disclaimer-text { color: rgba(255,255,255,0.42); }
.disclaimer-text a { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .disclaimer-inner { padding: 0 20px; }
}

/* ══════════════════════════════════════════════════════════════════
   MODALE D'AUTHENTIFICATION
   ══════════════════════════════════════════════════════════════════ */
.modal-overlay { padding: 16px; overflow-y: auto; align-items: flex-start; }
.modal-overlay.active { display: flex; }
.modal.auth-modal { margin: auto; position: relative; }
/* Panneau de marque : contenu centré verticalement (au lieu d'être collé en bas) */
.auth-brand { align-items: center; }
.auth-form-side { padding: 18px 14px 14px; }
.auth-mode-note {
  margin: 30px 28px 0; padding: 10px 14px; border-radius: 12px; font-size: 12px; line-height: 1.5;
}
.auth-mode-note.preview { background: #fff8e6; border: 1px solid rgba(201,168,76,0.45); color: #6b5217; }
.auth-mode-note.disabled { background: var(--red-l); border: 1px solid rgba(217,79,61,0.3); color: #8a2c1f; }
.modal-title:focus { outline: none; }
.form-status { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.form-status.error { background: var(--red-l); color: #9a2f22; border: 1px solid rgba(217,79,61,0.3); }
.form-status.info { background: #f4f1ea; color: var(--ink-2); border: 1px solid var(--border-2); }
.form-status.success { background: var(--green-l); color: var(--green-dd); border: 1px solid rgba(76,175,118,0.3); }
.form-status .link-btn { color: inherit; }
.form-input { min-height: 46px; }
.form-input.has-error { border-color: var(--red); background: #fff; }
.form-input.has-error:focus { box-shadow: 0 0 0 3px rgba(217,79,61,0.15); }
.form-hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.form-aux { display: flex; justify-content: flex-end; margin: -6px 0 6px; font-size: 12.5px; }
.form-aux .link-btn { text-decoration: none; font-size: 12.5px; }
.form-aux .link-btn:hover { text-decoration: underline; }
.form-legal { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin: 4px 0 8px; }
.form-legal a { color: var(--ink-3); }
.form-plan-hint { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.5; }
.form-intro { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; line-height: 1.55; }
.form-footer { font-size: 13px; }
.form-footer .link-btn { text-decoration: none; }
.form-submit { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; }
.form-submit:disabled { cursor: wait; opacity: 0.85; }
.btn-spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff; animation: lvSpin 0.7s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
@keyframes lvSpin { to { transform: rotate(360deg); } }
.form-secondary {
  width: 100%; min-height: 46px; margin-top: 10px; background: transparent; border: 1.5px solid var(--border-2);
  border-radius: 10px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.form-secondary:hover { border-color: var(--green); color: var(--green-d); background: var(--green-l); }
.success-actions { max-width: 320px; margin: 22px auto 0; }
.form-success-msg { padding: 48px 28px 40px; }
.form-success-text { max-width: 420px; margin: 0 auto; }
@media (max-width: 768px) {
  .modal-overlay { padding: 0; align-items: stretch; }
  .modal.auth-modal { width: 100%; max-width: none; min-height: 100%; border-radius: 0; margin: 0; }
  .auth-form-side { padding: 56px 6px 20px; }
  .auth-mode-note { margin: 0 18px 6px; }
  .modal-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  /* 16 px minimum : évite le zoom automatique d'iOS sur les champs */
  .form-input, .chat-input, #dashboardPage input, #dashboardPage select, #simulatorPage input, #simulatorPage select { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ══════════════════════════════════════════════════════════════════
   MODALES V2 (Premium, World / Galaxy)
   ══════════════════════════════════════════════════════════════════ */
.lv-overlay {
  position: fixed; inset: 0; z-index: 100100; display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto; background: rgba(12,12,11,0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.22s ease;
}
.lv-overlay.active { opacity: 1; }
.lv-modal {
  position: relative; width: 100%; margin: auto; background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.45); transform: translateY(14px) scale(0.985); transition: transform 0.35s var(--ease-out);
}
.lv-overlay.active .lv-modal { transform: none; }
.modal-close.on-dark { background: rgba(10,12,11,0.6); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-close.on-dark:hover { background: rgba(10,12,11,0.85); color: #fff; }

.up-modal { max-width: 720px; padding: 34px 32px 26px; }
.up-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; padding-right: 36px; }
.up-head img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow-card); }
.up-eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 4px; }
.up-title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; margin-bottom: 6px; }
.up-desc { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.up-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.up-plan { border-radius: 18px; padding: 20px; background: linear-gradient(165deg, #2a2214 0%, #1c1810 100%); color: #fff; display: flex; flex-direction: column; gap: 14px; transition: opacity 0.3s; }
.up-plan.prestige { background: linear-gradient(165deg, #1c1c1c 0%, #0e0e0e 100%); }
.up-plan.is-dim { opacity: 0.55; }
.up-plan-name { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.up-plan ul { list-style: none; display: grid; gap: 7px; flex: 1; }
.up-plan li { font-size: 13px; color: rgba(255,255,255,0.8); padding-left: 18px; position: relative; }
.up-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.up-plan .price-btn { min-height: 46px; display: flex; align-items: center; justify-content: center; }
.up-guest { margin-top: 16px; font-size: 13px; color: var(--ink-3); text-align: center; }
.up-solo { margin-top: 16px; font-size: 13px; color: var(--ink-3); text-align: center; }
.cmp-note { font-weight: 400; font-size: 0.86em; color: var(--muted); }
.up-solo a { color: var(--green-d); font-weight: 600; }
.up-note { margin-top: 14px; font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.55; }
.up-note a { color: var(--ink-3); }
@media (max-width: 640px) {
  .up-modal { padding: 28px 18px 20px; border-radius: 20px; }
  .up-plans { grid-template-columns: 1fr; }
  .up-title { font-size: 24px; }
}

.uni-overlay { background: rgba(4,5,5,0.82); }
.uni-modal { max-width: 980px; background: #0f1311; color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid rgba(255,255,255,0.08); }
.uni-modal[data-theme="galaxy"] { background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(124,108,242,0.18), transparent 60%), #0e0f16; }
.uni-modal[data-theme="world"] { background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(201,168,76,0.14), transparent 60%), #10120f; }
.uni-modal-media { margin: 0; position: relative; background: #000; min-height: 100%; }
.uni-modal-media img, .uni-modal-media video { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; background: #000; }
.uni-modal-media img[hidden], .uni-modal-media video[hidden] { display: none; }
.uni-modal-media figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 11px; padding: 5px 10px; border-radius: 16px; background: rgba(0,0,0,0.6); color: rgba(255,255,255,0.8); }
.uni-modal-body { padding: 34px 30px 28px; display: flex; flex-direction: column; }
.uni-modal .uni-eyebrow { font-size: 24px; }
.uni-modal[data-theme="world"] .uni-eyebrow { color: #e3c77a; }
.uni-modal[data-theme="galaxy"] .uni-eyebrow { color: #b3a8ff; }
.uni-modal-title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin-bottom: 12px; }
.uni-modal-desc { font-size: 14.5px; color: rgba(255,255,255,0.68); line-height: 1.65; margin-bottom: 16px; }
.uni-modal-list { list-style: none; display: grid; gap: 9px; margin-bottom: 18px; }
.uni-modal-list li { font-size: 13.5px; color: rgba(255,255,255,0.82); padding-left: 22px; position: relative; line-height: 1.5; }
.uni-modal-list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(76,175,118,0.6); }
.uni-modal[data-theme="galaxy"] .uni-modal-list li::before { background: #9d90ff; box-shadow: 0 0 10px rgba(124,108,242,0.7); }
.uni-modal[data-theme="world"] .uni-modal-list li::before { background: var(--gold); box-shadow: 0 0 10px rgba(201,168,76,0.6); }
.uni-modal-learny { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 14px; }
.uni-modal-learny img { width: 44px; height: auto; flex-shrink: 0; }
.uni-modal-learny p { font-size: 13px; color: rgba(255,255,255,0.8); font-style: italic; line-height: 1.5; }
.uni-modal-status { font-size: 12.5px; color: rgba(255,255,255,0.62); line-height: 1.55; margin-bottom: 18px; }
.uni-modal-status strong { color: #fff; }
.uni-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 6px; vertical-align: middle; }
.uni-modal-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.uni-modal-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 700; text-decoration: none; background: var(--green); color: #fff;
}
.uni-modal[data-theme="galaxy"] .uni-modal-cta { background: linear-gradient(135deg, #8b7cf6 0%, #5b4bd6 100%); }
.uni-modal[data-theme="world"] .uni-modal-cta { background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%); color: #16130a; }
.uni-modal-ghost { min-height: 48px; padding: 12px 20px; border-radius: 12px; background: transparent; border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); font-family: var(--sans); font-size: 14px; font-weight: 600; cursor: pointer; }
.uni-modal-ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
@media (max-width: 860px) {
  .uni-modal { grid-template-columns: 1fr; }
  .uni-modal-media img, .uni-modal-media video { min-height: 0; aspect-ratio: 16 / 9; }
  .uni-modal-body { padding: 24px 20px 22px; }
  .uni-modal-title { font-size: 26px; }
  .uni-modal-actions > * { flex: 1 1 100%; }
}

/* DuoLearny (aperçu) */
.dlp-premium-pill { display: inline-block; padding: 1px 8px; border-radius: 10px; background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%); color: #16130a; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; }
.dlp-cta-note { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 10px; }

/* ══════════════════════════════════════════════════════════════════
   TABLEAU DE BORD
   ══════════════════════════════════════════════════════════════════ */
#dashboardPage .dash-nav-badge.included { background: var(--green); color: #fff; }
#dashboardPage .dash-preview-badge { margin: 10px 18px 0; padding: 6px 10px; border-radius: 10px; font-size: 10.5px; font-weight: 700; text-align: center; background: rgba(201,168,76,0.14); color: var(--gold); border: 1px dashed rgba(201,168,76,0.4); }
#dashboardPage .dash-greeting-title:focus { outline: none; }
#dashboardPage button.qg3-cta { border: none; cursor: pointer; font-family: var(--sans); }
/* Aperçu du simulateur sans compte : même apparence, curseurs figés ; un clic ouvre l'inscription */
#miniSim.is-locked input[type=range] { pointer-events: none; }
#miniSim.is-locked .mini-sim-fields, #miniSim.is-locked .sim-tab { cursor: pointer; }
/* Boutons d'inscription de la page d'accueil : un membre connecté voit « Aller à mon espace » */
body:not(.is-member) .acct-member, body.is-member .acct-guest { display: none !important; }
/* Logo des Guides éclairs : garder l'image carrée (les attributs width/height l'étiraient en hauteur) */
#dashboardPage .qg3-logo { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
/* Grilles du tableau de bord : autoriser le rétrécissement (débordements V1 sur mobile) */
#dashboardPage .dash-main, #dashboardPage .dash-two-col > *, #dashboardPage .budget-grid > *, #dashboardPage .profile-grid > * { min-width: 0; }
#dashboardPage .dlk-unlocked {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; margin-bottom: 22px;
  padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, #16241b 0%, #0f1612 100%);
  border: 1px solid rgba(76,175,118,0.35); box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}
#dashboardPage .dlk-unlocked-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(76,175,118,0.2); color: #8fe0b1; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }
#dashboardPage .dlk-unlocked-txt { flex: 1; min-width: 220px; }
#dashboardPage .dlk-unlocked-t { color: #fff; font-weight: 700; font-size: 15.5px; }
#dashboardPage .dlk-unlocked-s { color: rgba(255,255,255,0.6); font-size: 12.5px; margin-top: 3px; line-height: 1.5; }
/* Learny dans l'en-tête DuoLearny (fond sombre) : yeux animés via .learny-v3 ; on assombrit l'ombre au sol. */
#dashboardPage .dl3-visual .robot-shadow { background: radial-gradient(ellipse at center, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.22) 42%, transparent 72%); }

/* Parcours DuoLearny et jeux 3D (#jeuPage) : page complète, comme le simulateur (comptes ayant accès) */
:is(#duoPage, #jeuPage) { display: none; position: fixed; inset: 0; z-index: 9999; flex-direction: column; background: #faf3e8; font-family: var(--sans); animation: simFadeIn 0.4s ease; }
:is(#duoPage, #jeuPage).active { display: flex; }
:is(#duoPage, #jeuPage) .duo-hdr { flex-shrink: 0; position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 14px 32px; padding-top: max(14px, env(safe-area-inset-top)); background: var(--ink); box-shadow: 0 2px 24px rgba(0,0,0,0.28); }
:is(#duoPage, #jeuPage) .duo-hdr-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
:is(#duoPage, #jeuPage) .duo-hdr-brand { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
:is(#duoPage, #jeuPage) .duo-hdr-title { font-family: var(--serif); font-size: 18px; line-height: 1.15; color: #fff; }
:is(#duoPage, #jeuPage) .duo-hdr-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
:is(#duoPage, #jeuPage) .duo-hdr-r { margin-left: auto; display: flex; align-items: center; gap: 14px; min-width: 0; }
:is(#duoPage, #jeuPage) .duo-hdr-status { max-width: 360px; font-size: 12px; line-height: 1.4; text-align: right; color: rgba(255,255,255,0.55); }
:is(#duoPage, #jeuPage) .duo-page-body { position: relative; flex: 1; min-height: 0; }
:is(#duoPage, #jeuPage) .duo-page-body iframe { display: block; width: 100%; height: 100%; border: 0; }
:is(#duoPage, #jeuPage) .dl-app-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: linear-gradient(135deg, #1e1e1b 0%, #0d0d0c 100%); color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.55; }
:is(#duoPage, #jeuPage) .dl-app-msg[hidden] { display: none; }
:is(#duoPage, #jeuPage) .dl-app-msg p { max-width: 460px; }
:is(#duoPage, #jeuPage) .duo-retry { padding: 12px 24px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; color: #141414; background: linear-gradient(135deg, #E8C766 0%, #C9A84C 100%); box-shadow: 0 10px 26px rgba(201,168,76,0.35); }
body.dl-app-open #chatToggle, body.dl-app-open #chatTooltip, body.dl-app-open #chatPanel:not(.open):not(.active),
body.jeu-open #chatToggle, body.jeu-open #chatTooltip, body.jeu-open #chatPanel:not(.open):not(.active) { display: none !important; }
/* Jeux 3D (Prestige) : plein écran sans barre du site (retour au site par le menu du jeu), fond sombre */
#jeuPage { background: #05070b; }
#jeuPage .duo-page-body iframe { background: #05070b; }
#jeuPage .jeu-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#jeuPage .jeu-chargement { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(76,175,118,0.16) 0%, transparent 70%), #05070b; color: rgba(255,255,255,0.7); font-size: 14px; letter-spacing: 0.02em; }
#jeuPage .jeu-chargement[hidden] { display: none; }
#jeuPage .jeu-chargement img { border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,0.5); animation: jeuPulse 1.6s ease-in-out infinite; }
@keyframes jeuPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(0.96); } }
#jeuPage .jeu-msg-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
#jeuPage .jeu-msg-retour { padding: 12px 22px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); }
@media (prefers-reduced-motion: reduce) { #jeuPage .jeu-chargement img { animation: none; } }
@media (max-width: 700px) {
  :is(#duoPage, #jeuPage) .duo-hdr { gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
  :is(#duoPage, #jeuPage) .duo-hdr-logo { width: 34px; height: 34px; border-radius: 8px; }
  :is(#duoPage, #jeuPage) .duo-hdr-title { font-size: 15px; }
  :is(#duoPage, #jeuPage) .duo-hdr-status { display: none; }
}

/* Onglets réservés aux membres (tout achat Whop) : bandeau + aperçu flouté */
#dashboardPage .tlk-bar { margin: 20px 0 22px; }
/* flex-basis 0 : correct en ligne (grand écran) comme en colonne (≤ 700 px, règle DuoLearny) */
#dashboardPage .tlk-bar .dlk-lockbar-left { flex: 1 1 0%; min-width: min(100%, 300px); }
#dashboardPage .tlk-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 8px; }
#dashboardPage .tlk-actions .dlk-cta { text-decoration: none; }
#dashboardPage .tlk-refresh { background: none; border: 0; padding: 2px 4px; font: inherit; font-size: 12px; color: rgba(255,255,255,0.62); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#dashboardPage .tlk-refresh:hover, #dashboardPage .tlk-refresh:focus-visible { color: #fff; }
#dashboardPage .tlk-refresh:disabled { opacity: 0.6; cursor: progress; }
#dashboardPage .tlk-note { flex-basis: 100%; margin: 2px 0 0; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,0.45); }
#dashboardPage .dash-tab-panel.is-tool-locked .tlk-veiled { filter: blur(4px) saturate(0.7); opacity: 0.45; pointer-events: none; user-select: none; }
/* En-tête d'un onglet verrouillé : on garde le titre, on masque boutons et chiffres de l'outil */
#dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero button,
#dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero select,
#dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero input,
#dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero [onclick],
#dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero .nw-hero-stats { display: none !important; }
/* Onglet verrouillé : en-tête allégé pour que le bandeau reste dans le premier écran */
#dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero .qg3-visual { display: none !important; }
@media (max-width: 700px) {
  #dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero .fp-hero-stats,
  #dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero .qg2-cats,
  #dashboardPage .dash-tab-panel.is-tool-locked > .fp-hero .quick-guides-stats { display: none !important; }
}
/* Carte « Demander à Learny » verrouillée (onglet Ressources) */
#dashboardPage #rsLearnyCard.is-locked .fp-arrow { display: inline-flex; align-items: center; color: var(--gold); }
#dashboardPage .dash-nav-lock { display: inline-flex; align-items: center; margin-left: auto; padding-left: 8px; color: var(--gold); }
#dashboardPage .dash-nav-link.is-locked .dash-nav-badge + .dash-nav-lock { margin-left: 6px; padding-left: 0; }
#dashboardPage .dash-tool.is-locked { position: relative; }
@media (max-width: 700px) {
  #dashboardPage .tlk-bar .dlk-lockbar-left { flex: 0 0 auto; align-items: flex-start; width: 100%; }
  #dashboardPage .tlk-actions { align-items: stretch; width: 100%; }
  #dashboardPage .tlk-refresh { text-align: center; }
}
#dashboardPage .dlk-wrap.is-member-premium .dlk-lockbar { display: none; }
#dashboardPage .dlk-wrap.is-member-premium .dlk-veil { display: none; }
#dashboardPage .profile-plan-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 4px; flex-wrap: wrap; }
#dashboardPage .profile-plan-badge { padding: 4px 11px; border-radius: 14px; font-size: 11px; font-weight: 700; background: var(--cream-dark); color: var(--ink-3); }
#dashboardPage .profile-plan-badge[data-plan="premium"], #dashboardPage .profile-plan-badge[data-plan="prestige"] { background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%); color: #16130a; }
#dashboardPage .profile-plan-link { background: none; border: none; font: inherit; font-size: 12px; color: var(--green-d); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#dashboardPage .profile-save-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; }
#dashboardPage .profile-form .form-status { margin: 4px 0 0; }
#dashboardPage .settings-grid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 20px; align-items: start; }
#dashboardPage .settings-actions { display: flex; flex-direction: column; gap: 10px; }
#dashboardPage .settings-btn { text-align: left; padding: 14px 18px; justify-content: flex-start; font-size: 13px; min-height: 48px; }
#dashboardPage .settings-note { margin-top: 22px; padding: 14px 18px; background: var(--cream); border-radius: 11px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; border: 1px solid var(--border); }
#dashboardPage .settings-note strong { color: var(--ink); }
#dashboardPage .settings-note-plain { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; margin-bottom: 14px; }
#dashboardPage .preview-plan-select { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--border-2); background: var(--cream); font-family: var(--sans); font-size: 14px; }
@media (max-width: 1100px) { #dashboardPage .settings-grid { grid-template-columns: 1fr; } }
/* Rappel « Complète ton profil » (date de naissance et téléphone manquants) */
#dashboardPage .profile-complete-note {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; font-size: 13px; line-height: 1.5;
  background: #fff8e6; border: 1px solid rgba(201,168,76,0.45); color: #6b5217;
}
#dashboardPage .profile-complete-note[hidden] { display: none; }
#dashboardPage .profile-complete-note strong { color: #4d3b10; }
#dashboardPage .profile-complete-note button {
  min-height: 40px; padding: 8px 18px; border-radius: 10px; border: none; cursor: pointer;
  background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 600;
}
#dashboardPage .profile-complete-note button:hover { background: var(--green-d); }
#dashboardPage .profile-form-grp input.has-error { border-color: var(--red); background: #fff; }
@media (max-width: 768px) {
  #dashboardPage .dash-mobile-toggle { width: 44px; height: 44px; }
  #dashboardPage .dash-sidebar.open { box-shadow: 20px 0 60px rgba(0,0,0,0.35); }
  #dashboardPage .profile-grid { grid-template-columns: 1fr; }
  #dashboardPage .profile-card { padding: 24px 18px; }
  #dashboardPage .budget-form-card, #dashboardPage .budget-summary-card { padding: 22px 16px; }
  #dashboardPage .budget-row { grid-template-columns: minmax(0, 1fr) minmax(0, 104px) 32px; }
  #dashboardPage .budget-row input { min-width: 0; width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════
   SIMULATEUR COMPLET
   ══════════════════════════════════════════════════════════════════ */
#simulatorPage .field-unit { font-weight: 500; color: var(--muted); font-size: 0.92em; }
#simulatorPage .field-hint { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
#simulatorPage .msub-disclaimer { margin-top: 8px; font-size: 11px; font-style: italic; color: rgba(255,255,255,0.45); }
#simulatorPage .sim-insight { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; margin-bottom: 20px; box-shadow: var(--shadow-md); }
#simulatorPage .sim-insight-hdr { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
#simulatorPage .sim-insight-hdr img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
#simulatorPage .sim-insight-title { font-family: var(--serif); font-size: 18px; color: var(--ink); line-height: 1.2; }
#simulatorPage .sim-insight-sub { font-size: 12px; color: var(--muted); }
#simulatorPage .sim-insight-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: var(--cream-dark); }
#simulatorPage .sim-insight-bar span { height: 100%; transition: width 0.45s var(--ease-out); }
#simulatorPage .sim-insight-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 14px; font-size: 12px; color: var(--ink-3); }
#simulatorPage .sim-insight-legend li { display: flex; align-items: center; gap: 6px; }
#simulatorPage .sim-insight-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
#simulatorPage .sim-insight-legend b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
#simulatorPage .sim-levers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#simulatorPage .sim-lever { background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
#simulatorPage .sim-lever span { font-size: 11.5px; color: var(--ink-3); line-height: 1.35; }
#simulatorPage .sim-lever strong { font-family: var(--mono); font-size: 15px; font-weight: 500; }
#simulatorPage .sim-lever strong.up { color: var(--green-d); }
#simulatorPage .sim-lever strong.down { color: var(--red); }
#simulatorPage .sim-lever-note { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
#simulatorPage .sim-lever-note strong { color: var(--green-d); }
#simulatorPage .main > *, #simulatorPage .metrics > * { min-width: 0; }
/* Simulateur dans l'onglet de l'espace membre (comme le budget) : plus de page plein écran ni d'en-tête « Retour » */
#simulatorPage.sim-inline { position: static; inset: auto; z-index: auto; overflow: visible; min-height: 0; background: transparent; animation: none; margin-top: 18px; }
#simulatorPage.sim-inline .hdr { display: none; }
#simulatorPage.sim-inline .view-mode-bar { max-width: none; margin: 0 0 14px; padding: 0; }
#simulatorPage.sim-inline .main { max-width: none; padding: 0 0 24px; }
#simulatorPage.sim-inline .compare-wrap { max-width: none; padding-left: 0; padding-right: 0; }
@media (max-width: 1280px) { #simulatorPage.sim-inline .main { grid-template-columns: minmax(0, 1fr); } }
#simulatorPage .sim-sticky { display: none; }
@media (max-width: 1100px) {
  #simulatorPage .sim-sticky {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: sticky; bottom: 0; z-index: 30; margin-top: 8px;
    padding: 12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) 16px;
    background: rgba(17,17,17,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.08); color: #fff;
  }
  #simulatorPage .sim-sticky-txt span { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
  #simulatorPage .sim-sticky-txt strong { font-family: var(--serif); font-size: 22px; font-weight: 400; font-variant-numeric: tabular-nums; }
  #simulatorPage .sim-sticky-btn { min-height: 44px; padding: 10px 16px; border-radius: 10px; border: none; background: var(--green); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 13.5px; cursor: pointer; margin-right: 64px; }
  body.sim-open .chatbot-toggle { bottom: 12px; }
}
@media (max-width: 700px) {
  #simulatorPage .sim-levers { grid-template-columns: 1fr; }
  #simulatorPage .sim-back-label { display: none; }
  #simulatorPage .hdr { gap: 12px; }
  #simulatorPage .hdr-title { font-size: 15px; }
  #simulatorPage .hdr-badge { display: none; }
  #simulatorPage .sim-insight { padding: 16px; }
}

/* Chatbot : masqué pendant une modale, et ne recouvre pas les barres d'action sur mobile */
body.has-modal .chatbot-toggle, body.has-modal .chatbot-tooltip { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 480px) {
  .chatbot-toggle { bottom: max(16px, env(safe-area-inset-bottom)); right: 14px; width: 54px; height: 54px; }
}

/* Intro de marque plus courte et discrète */
#mz-intro { cursor: pointer; }

/* ══════════════════════════════════════════════════════════════════
   MOUVEMENT RÉDUIT
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .anim-item { opacity: 1 !important; transform: none !important; filter: none !important; }
  .mnav-links a { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════
   APERÇU DUOLEARNY (« Voir l'aperçu du parcours ») — fidèle au parcours actuel
   ══════════════════════════════════════════════════════════════════ */
.dlp-modal.dp { max-width: 860px; background: #faf3e8; }
.dp .dlp-close { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }
/* Héros */
.dp-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 190px; align-items: end; gap: 12px; padding: 34px 36px 0; color: #fff;
  background: radial-gradient(ellipse 70% 90% at 85% 30%, rgba(87,180,95,0.35) 0%, transparent 60%), linear-gradient(160deg, #173c29 0%, #0f2419 55%, #0b1711 100%); }
.dp-hero-glow { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.5), transparent), radial-gradient(1.5px 1.5px at 38% 12%, rgba(255,255,255,0.35), transparent), radial-gradient(1px 1px at 62% 30%, rgba(255,255,255,0.45), transparent), radial-gradient(1.5px 1.5px at 24% 64%, rgba(232,199,102,0.5), transparent), radial-gradient(1px 1px at 52% 58%, rgba(255,255,255,0.3), transparent); }
.dp-hero-txt { position: relative; z-index: 1; padding-bottom: 30px; }
.dp-eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #e8c766; margin-bottom: 10px; }
.dp-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); line-height: 1.08; color: #fff; margin: 0 0 12px; }
.dp-title em { color: #8fe0a0; font-style: italic; }
.dp-sub { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 0 20px; }
.dp-kpis { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px; }
.dp-kpis div { padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); text-align: center; }
.dp-kpis b { display: block; font-family: var(--serif); font-size: 22px; line-height: 1; color: #fff; }
.dp-kpis span { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.62); }
.dp-hero-learny { position: relative; z-index: 1; width: 100%; height: auto; align-self: end; margin-bottom: -6px; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45)); animation: dpFloat 5s ease-in-out infinite; }
@keyframes dpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* Corps */
.dp-body { padding: 26px 32px 8px; }
.dp-section-t { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 26px 0 12px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(42,35,25,0.55); }
.dp-section-t:first-child { margin-top: 0; }
.dp-section-t span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; font-style: italic; color: rgba(42,35,25,0.42); }
/* Fenêtre « application » */
.dp-app { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid rgba(47,122,77,0.18); box-shadow: 0 18px 40px rgba(20,40,28,0.12); }
.dp-app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #fffdf8; border-bottom: 1px solid rgba(42,35,25,0.07); }
.dp-app-brand { display: flex; align-items: center; gap: 10px; }
.dp-app-brand img { width: 30px; height: auto; }
.dp-app-brand b { display: block; font-size: 18px; font-weight: 800; color: #1c1c1a; line-height: 1; }
.dp-app-brand b em { font-style: normal; color: #2f7a4d; }
.dp-app-brand small { display: block; margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: 11px; color: rgba(42,35,25,0.55); }
.dp-app-pills { display: flex; gap: 6px; }
.dp-app-pills span { padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: #fbf6ec; border: 1px solid rgba(42,35,25,0.08); color: #c86a1c; white-space: nowrap; }
.dp-app-pills .h { color: #c0392b; }
.dp-app-pills .x { color: #b8891f; }
.dp-app-scene { position: relative; padding: 18px 18px 0; background: radial-gradient(ellipse 80% 55% at 50% 100%, rgba(87,180,95,0.16), transparent 70%), linear-gradient(180deg, #f6f9f1 0%, #eef5e7 100%); }
.dp-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #3f8f5c 0%, #2f7a4d 55%, #256b41 100%); box-shadow: 0 5px 0 #1f5c38, 0 14px 26px rgba(31,92,56,0.25); }
.dp-banner-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: rgba(255,255,255,0.16); }
.dp-banner-txt { position: relative; z-index: 1; min-width: 0; }
.dp-banner-sur { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8); }
.dp-banner-t { font-size: 20px; font-weight: 800; line-height: 1.2; }
.dp-banner-d { font-family: var(--serif); font-style: italic; font-size: 13px; color: rgba(255,255,255,0.85); }
.dp-banner-num { position: absolute; right: 78px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-style: italic; font-size: 72px; line-height: 1; color: rgba(255,255,255,0.1); pointer-events: none; }
.dp-banner-prog { margin-left: auto; position: relative; z-index: 1; flex-shrink: 0; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #3d2f0c; background: #f3e2a6; border: 2px solid #e8c766; }
/* Chemin */
.dp-path { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 0 70px; --k: 1; }
.dp-step { display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translateX(calc(var(--x) * var(--k) * 1px)); }
.dp-node { position: relative; width: 62px; height: 58px; border: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: default; font: inherit; }
.dp-node svg { width: 26px; height: 26px; }
.dp-node.done { color: #fff; background: #e0b23a; box-shadow: 0 6px 0 #b0861e, 0 10px 18px rgba(176,134,30,0.25); }
.dp-node.active { color: #fff; background: #3f9a5f; box-shadow: 0 6px 0 #266b40, 0 0 0 8px rgba(63,154,95,0.18), 0 12px 22px rgba(38,107,64,0.3); cursor: pointer; animation: dpPulse 2.2s ease-in-out infinite; }
.dp-node.active:hover { transform: translateY(-2px); }
.dp-node.chest { background: transparent; box-shadow: none; }
.dp-node.chest svg, .dp-node.lock.chest svg { width: 52px; height: 46px; }
.dp-node.lock { color: #b3aa99; background: #e9e3d7; box-shadow: 0 6px 0 #cfc6b4; }
.dp-node.lock.chest { background: transparent; box-shadow: none; filter: grayscale(1) opacity(0.55); }
.dp-node.boss { width: 74px; height: 70px; color: #e8c766; background: #2a2a27; box-shadow: 0 6px 0 #121210, 0 12px 22px rgba(0,0,0,0.2); }
.dp-node.boss svg { width: 32px; height: 32px; }
@keyframes dpPulse { 0%, 100% { box-shadow: 0 6px 0 #266b40, 0 0 0 6px rgba(63,154,95,0.22), 0 12px 22px rgba(38,107,64,0.3); } 50% { box-shadow: 0 6px 0 #266b40, 0 0 0 14px rgba(63,154,95,0.06), 0 12px 22px rgba(38,107,64,0.3); } }
.dp-tip { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); padding: 7px 12px; border-radius: 10px; background: #1c1c1a; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.dp-tip::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #1c1c1a; }
.dp-step-l { padding: 3px 9px; border-radius: 8px; background: rgba(255,255,255,0.88); font-size: 12px; font-weight: 700; color: #2b2a26; white-space: nowrap; }
.dp-step:has(.lock) .dp-step-l { color: rgba(42,35,25,0.45); background: rgba(255,255,255,0.6); }
.dp-step { position: relative; }
.dp-step.is-active { margin-top: 40px; } /* place pour l'étiquette « Commencer » */
.dp-step-learny { position: absolute; top: -10px; left: calc(50% + 44px); width: 70px; height: auto; filter: drop-shadow(0 8px 12px rgba(0,0,0,0.18)); animation: dpFloat 4.5s ease-in-out infinite; pointer-events: none; }
.dp-village { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; pointer-events: none; }
/* Territoires */
.dp-worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dp-world { position: relative; overflow: hidden; padding: 14px 16px 15px; border-radius: 16px; background: #fff; border: 1px solid rgba(42,35,25,0.08); box-shadow: 0 4px 0 color-mix(in srgb, var(--w) 70%, #000 30%), 0 10px 20px rgba(0,0,0,0.05); }
.dp-world::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--w); }
.dp-world-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-world-n { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--w); }
.dp-world-e { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: color-mix(in srgb, var(--w) 14%, #fff); }
.dp-world-lieu { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--w); }
.dp-world-t { margin-top: 2px; font-size: 15.5px; font-weight: 800; color: #1c1c1a; }
.dp-world-a { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 13px; color: rgba(42,35,25,0.65); }
.dp-world-m { margin-top: 10px; font-size: 11.5px; font-weight: 600; color: rgba(42,35,25,0.5); }
.dp-learny { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: #eef5e7; border: 1px solid rgba(47,122,77,0.18); }
.dp-learny img { flex-shrink: 0; width: 56px; height: auto; }
.dp-learny p { margin: 0; font-size: 14px; line-height: 1.55; color: #2b2a26; font-style: italic; }
.dp-learny strong { color: #2f7a4d; font-style: normal; }
/* Bouton d'achat toujours visible en bas de l'aperçu pendant le défilement */
.dlp-modal.dp .dp-foot { position: sticky; bottom: 0; z-index: 3; padding-top: 26px; padding-bottom: 20px; background: linear-gradient(180deg, rgba(250,243,232,0) 0%, #faf3e8 34%); }
.dlp-modal.dp .dp-foot .dlp-cta-note { margin: 0 0 8px; text-align: center; font-size: 12px; color: rgba(42,35,25,0.6); }
@media (max-width: 760px) {
  .dp-hero { grid-template-columns: 1fr 110px; padding: 28px 20px 0; }
  .dp-kpis { grid-template-columns: repeat(2, auto); }
  .dp-body { padding: 22px 16px 6px; }
  .dp-worlds { grid-template-columns: repeat(2, 1fr); }
  .dp-path { --k: 0.62; }
  .dp-step-learny { left: calc(50% + 36px); width: 54px; }
  .dp-banner-num { display: none; }
  .dp-banner-t { font-size: 17px; }
  .dp-app-pills span { padding: 5px 8px; font-size: 11.5px; }
}
@media (max-width: 480px) {
  .dp-hero { grid-template-columns: 1fr; }
  .dp-hero-learny { display: none; }
  .dp-worlds { grid-template-columns: 1fr; }
  .dp-app-brand small { display: none; }
  .dp-banner-ic { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   MODE IMMERSIF (30 sept. 2026) — « Apprenez chaque jour » sur fond foncé (esprit DuoLearny,
   comme « Entrez dans l'univers Learnovate ») + aperçu World/Galaxy dans la carte Prestige.
   Pour revenir en arrière : supprimer ce bloc et remettre LEARNY_ROBOT_SRC = 'assets/img/learny-robot.png' (app.js).
   ══════════════════════════════════════════════════════════════════ */
.learning {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 55% 40% at 12% 6%, rgba(201,168,76,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 28%, rgba(76,175,118,0.20) 0%, transparent 62%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(76,175,118,0.12) 0%, transparent 65%),
    linear-gradient(180deg, #0b120e 0%, #0f1b14 50%, #0b110d 100%);
}
.learning::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 10% 14%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 26% 62%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 47% 22%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 68% 8%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 81% 54%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 93% 18%, rgba(232,199,102,0.6), transparent 60%),
    radial-gradient(1px 1px at 5% 84%, rgba(255,255,255,0.45), transparent 60%);
}
.learning .container { position: relative; z-index: 1; }
.learning .section-tag { background: rgba(76,175,118,0.12); color: #8fe0b1; border: 1px solid rgba(76,175,118,0.25); }
.learning .section-title { color: #fff; }
.learning .section-title .accent-green { color: #7fd69a; }
.learning .section-desc { color: rgba(255,255,255,0.66); }
.learning .section-desc strong { color: #fff; }
/* Learny qui parle */
.learning .mf-stage {
  background: radial-gradient(ellipse 50% 80% at 78% 50%, rgba(87,180,95,0.24) 0%, transparent 62%), linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.learning .mf-grid-bg { opacity: 0.5; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); }
.learning .mf-intro { color: rgba(255,255,255,0.62); }
.learning .mf-intro strong { color: #fff; }
.learning .mf-type { color: #fff; }
.learning .mf-stage .robot-image { filter: drop-shadow(0 24px 36px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(143,224,160,0.12)); }
.learning .mf-stage .robot-shadow { background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 45%, transparent 72%); }
/* Learny v3 (accueil + en-tête DuoLearny) : rendu 3D sans yeux (learny-3d-v3-sans-yeux.webp) + yeux CSS
   qui suivent le curseur. Positions et tailles mesurées sur le rendu original (cadrage 798×940 du Learny.png). */
.learny-v3 .focus-ring, .learny-v3 .robot-face-polish, .learny-v3 .eye-shine { display: none; }
.learny-v3 .eyes-layer { transform: translate3d(calc(var(--look-x) * -2.5px), calc(var(--look-y) * -2px), 17px); transition: opacity 0.25s ease; }
.learny-v3:not(.is-ready) .eyes-layer { opacity: 0; }
.learny-v3 .robot-eye { filter: none; }
.learny-v3 .robot-eye-left  { left: 16.203%; top: 35.319%; width: 9.098%; height: 11.021%; }
.learny-v3 .robot-eye-right { left: 40.737%; top: 35.070%; width: 9.812%; height: 11.500%; }
.learny-v3 .robot-eye-inner { background: #fbfbfa; box-shadow: none; }
.learny-v3 .pupil {
  left: 48.7%; width: 62.6%; height: 60.6%; background: #050505;
  transform: translate(-50%, -50%) translate3d(calc(var(--eye-x) * 0.66%), calc(var(--eye-y) * 0.92%), 0);
}
.learny-v3.is-surprised .pupil { width: 56%; height: 54%; }
/* Cartes Guides éclairs et DuoLearny */
.learning .learning-card { background: linear-gradient(150deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.025) 100%); border-color: rgba(255,255,255,0.1); box-shadow: 0 30px 70px rgba(0,0,0,0.3); }
.learning .learning-card:hover { box-shadow: 0 34px 80px rgba(0,0,0,0.4); border-color: rgba(201,168,76,0.4); }
.learning .learning-card.qg-land { border-color: rgba(201,168,76,0.32); }
.learning .learning-card.dark { background: radial-gradient(ellipse 80% 60% at 90% 0%, rgba(76,175,118,0.22) 0%, transparent 60%), linear-gradient(150deg, #10231a 0%, #0d1a13 60%, #0b140f 100%); border-color: rgba(76,175,118,0.3); }
.learning .learning-card.dark:hover { border-color: rgba(143,224,160,0.55); }
.learning .learning-title { color: #fff; }
.learning .learning-desc { color: rgba(255,255,255,0.66); }
.learning .learning-desc strong { color: #fff; }
.learning .learning-chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.86); }
.learning .learning-stat strong { color: var(--gold); }
.learning .learning-stat span { color: rgba(255,255,255,0.48); }
.learning .learning-stat-div { background: rgba(255,255,255,0.12); }
.learning .learning-fine { color: rgba(255,255,255,0.52); }
/* Mini chemin du parcours dans la carte DuoLearny */
.learning-duo-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; margin-bottom: 18px; width: 100%; }
.learning-duo-top .learning-mascot { margin-bottom: 0; flex-shrink: 0; }
.ldp { position: relative; display: flex; align-items: center; gap: 10px; }
.ldp::before { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; border-top: 2px dashed rgba(255,255,255,0.18); z-index: 0; }
.ldp-n { position: relative; z-index: 1; width: 34px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.ldp-n svg { width: 15px; height: 15px; }
.ldp-n.done { color: #fff; background: #e0b23a; box-shadow: 0 3px 0 #b0861e; }
.ldp-n.chest { background: transparent; }
.ldp-n.chest svg { width: 30px; height: 26px; }
.ldp-n.active { color: #fff; background: #3f9a5f; box-shadow: 0 3px 0 #266b40, 0 0 0 5px rgba(63,154,95,0.25); animation: ldpPulse 2.2s ease-in-out infinite; }
.ldp-n.lock { color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.12); box-shadow: 0 3px 0 rgba(255,255,255,0.06); }
@keyframes ldpPulse { 0%, 100% { box-shadow: 0 3px 0 #266b40, 0 0 0 4px rgba(63,154,95,0.3); } 50% { box-shadow: 0 3px 0 #266b40, 0 0 0 9px rgba(63,154,95,0.06); } }
@media (max-width: 420px) { .ldp { gap: 6px; } .ldp-n { width: 28px; height: 27px; } .ldp-n svg { width: 13px; height: 13px; } .ldp-n.chest svg { width: 24px; height: 21px; } }
/* Carte Prestige : aperçu des deux univers 3D inclus */
.price-worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -6px 0 22px; }
.pw-item { position: relative; overflow: hidden; height: 84px; border-radius: 12px; border: 1px solid rgba(201,168,76,0.35); background: #111; }
.pw-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; transition: transform 0.6s var(--ease-out); }
.pw-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.78) 100%); pointer-events: none; }
.pw-item span { position: absolute; left: 9px; bottom: 7px; z-index: 1; font-family: 'Kaushan Script', cursive; font-size: 14px; line-height: 1; color: #e8c766; }
.pw-item.galaxy span { color: #b3a8ff; }
.price-card.prestige:hover .pw-item img { transform: scale(1.06); }
