/* ==========================================================================
   Woremixe — Page de téléchargement du launcher
   ========================================================================== */
.launcher-hero { min-height: 0; padding: 120px 0 64px; flex-direction: column; align-items: stretch; }
.launcher-hero .hero-bg { opacity: .55; }
.launcher-hero-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.launcher-hero h1 { font-size: clamp(38px, 5vw, 64px); }

.download-card { margin-top: 30px; padding: 18px; border: 1px solid var(--border-2); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(22, 26, 44, .9), rgba(12, 14, 25, .92)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.download-file { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.file-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: none; border-radius: var(--r); background: rgba(26, 140, 255, .14); border: 1px solid rgba(90, 174, 255, .35); color: var(--blue-hi); }
.download-file strong { display: block; font-family: var(--mono); font-size: 15px; }
.download-file span { color: var(--text-3); font-size: 13px; }
.download-button { width: 100%; }
.download-button .i { width: 20px; height: 20px; }
.download-note { margin-top: 10px; color: var(--text-3); font-size: 13px; text-align: center; }
.download-note.warn { color: #ffd98f; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; }
.hero-checks .i { color: var(--green); width: 16px; height: 16px; }

/* Fenêtre launcher simulée */
.launcher-preview { perspective: 1600px; }
.window { overflow: hidden; border: 1px solid var(--border-3); border-radius: 14px; background: #07080f; box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 80px -20px rgba(26, 140, 255, .45); transform: rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease); }
.launcher-preview:hover .window { transform: none; }
.window-bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 14px; background: linear-gradient(180deg, #161a2a, #0f1220); border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f57; }
.dots i:first-child { background: #ff5f72; } .dots i:nth-child(2) { background: #eab54d; } .dots i:nth-child(3) { background: #3ee29b; }
.window-title { color: var(--text-3); font-size: 12px; font-weight: 500; }
.window img { width: 100%; }
.window-footer { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: linear-gradient(180deg, #0f1220, #0a0c16); border-top: 1px solid var(--border); }
.progress { flex: 1; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-2), var(--cyan)); box-shadow: 0 0 12px rgba(63, 216, 255, .6); animation: fill 2.4s var(--ease) both; }
.play-state { color: #9ff0c8; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.fake-play { pointer-events: none; min-width: 96px; }

/* Étapes */
.install-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.install-step { position: relative; padding: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: border-color .25s, transform .25s var(--ease); }
.install-step:hover { border-color: var(--border-2); transform: translateY(-4px); }
.install-step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -17px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.step-num { position: absolute; top: 18px; right: 20px; color: rgba(255, 255, 255, .08); font: 700 54px/1 var(--display); }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: rgba(26, 140, 255, .12); border: 1px solid rgba(90, 174, 255, .35); color: var(--blue-hi); box-shadow: 0 0 24px rgba(26, 140, 255, .2); }
.install-step h3 { font-size: 20px; margin-bottom: 8px; }
.install-step p { color: var(--text-2); font-size: 14.5px; }
.install-step code, .install-help code { padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, .06); color: #9cd0ff; font-size: .9em; }
.inline-link { color: var(--blue-hi); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(90, 174, 255, .35); text-underline-offset: 3px; }
.inline-link:hover { color: #fff; }
.install-help { display: flex; gap: 16px; margin-top: 16px; padding: 18px 20px; border: 1px solid rgba(234, 181, 77, .28); border-radius: var(--r-lg); background: rgba(234, 181, 77, .06); }
.install-help > .i { color: var(--gold); margin-top: 2px; }
.install-help strong { display: block; margin-bottom: 4px; }
.install-help p { color: var(--text-2); font-size: 14px; }

/* Comparateur avant / après */
.compare { position: relative; }
.compare-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--border-2); border-radius: var(--r-lg); background: #000; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(63, 216, 255, .9); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; border: 2px solid #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.compare-label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(5, 6, 12, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.compare-label.left { left: 14px; }
.compare-label.right { right: 14px; color: #9cd0ff; }
.compare-range { margin: 14px auto 0; max-width: 420px; }
.compare-range input { padding: 0; min-height: 0; height: 6px; border: 0; border-radius: 999px; background: var(--surface-3); appearance: none; -webkit-appearance: none; cursor: pointer; }
.compare-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 10px rgba(26, 140, 255, .8); }
.compare-range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; }
.compare-range input:focus { box-shadow: 0 0 0 3px rgba(26, 140, 255, .3); }

.spot { position: absolute; border: 2px solid var(--cyan); border-radius: 6px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .55), 0 0 24px rgba(63, 216, 255, .8); opacity: 0; transform: scale(1.04); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; z-index: 3; }
.spot.active { opacity: 1; transform: none; }
.spot-mode { left: 35%; top: 33.6%; width: 32.8%; height: 15.6%; }
.spot-panel { left: 68.6%; top: 23.4%; width: 17%; height: 41.6%; }
.spot-paragon { left: 20%; top: .6%; width: 60%; height: 3.2%; }
.spot-bars { left: 34.5%; top: 85.5%; width: 31%; height: 14%; }
.spot-player { left: 30.3%; top: 65.6%; width: 13%; height: 8.6%; }
.spot-minimap { left: 87.8%; top: 5.8%; width: 11%; height: 19%; border-radius: 50%; }
.spot-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.spot-list button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--border-2); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: 13.5px; font-weight: 500; transition: all .2s; }
.spot-list button:hover { color: #fff; border-color: var(--border-3); }
.spot-list button[aria-pressed="true"] { color: #fff; border-color: rgba(63, 216, 255, .6); background: rgba(63, 216, 255, .12); }
.spot-list button[aria-pressed="true"] .i { color: var(--cyan); }

/* Grille des fonctions */
.edit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.edit-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: border-color .25s, transform .25s var(--ease); }
.edit-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.edit-card h3 { font-size: 19px; }
.edit-card p { color: var(--text-2); font-size: 14px; }
.edit-card .chip { align-self: flex-start; }
.edit-card-wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.edit-card-wide + .edit-card-tall { grid-column: 4; grid-row: 1; }
.edit-copy { display: flex; flex-direction: column; gap: 10px; }
.edit-shot { margin: 0; overflow: hidden; border: 1px solid var(--border-2); border-radius: var(--r); background: #000; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.edit-shot img { width: 100%; }
.ticks { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 10px; color: var(--text-2); font-size: 14px; }
.ticks .i { color: var(--cyan); width: 16px; height: 16px; margin-top: 3px; }
.ticks b { color: var(--text); font-weight: 600; }
.edit-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(63, 216, 255, .1); border: 1px solid rgba(63, 216, 255, .3); color: var(--cyan); }
.edit-icon-gold { background: rgba(234, 181, 77, .1); border-color: rgba(234, 181, 77, .35); color: var(--gold); }
.edit-icon-violet { background: rgba(141, 99, 255, .12); border-color: rgba(141, 99, 255, .4); color: #b69bff; }
.edit-icon-green { background: rgba(62, 226, 155, .1); border-color: rgba(62, 226, 155, .3); color: var(--green); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-title { margin: 14px 0 12px; font-size: clamp(28px, 3.6vw, 42px); }
.faq-intro { color: var(--text-2); margin-bottom: 20px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--border-2); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--blue-hi); font-size: 18px; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--text-2); font-size: 14.5px; }

.final-cta { display: flex; align-items: center; gap: 28px; margin-top: clamp(48px, 6vw, 72px); padding: 28px 32px; border: 1px solid var(--border-2); border-radius: 20px; background: linear-gradient(120deg, rgba(26, 140, 255, .16), rgba(141, 99, 255, .1) 50%, transparent), var(--surface); }
.final-cta img { width: 140px; mix-blend-mode: lighten; flex: none; }
.final-cta > div { flex: 1; }
.final-cta h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.final-cta p { color: var(--text-2); }
.launcher-page .site-footer { margin-top: 0; }

@keyframes fill { from { width: 8%; } }

@media (max-width: 1180px) {
  .edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edit-card-wide { grid-column: 1 / -1; }
  .edit-card-wide + .edit-card-tall { grid-column: auto; grid-row: auto; }
}
@media (max-width: 960px) {
  .launcher-hero { padding: 96px 0 56px; }
  .launcher-hero-inner, .faq-grid { grid-template-columns: 1fr; }
  .launcher-hero .hero-content { text-align: left; margin: 0; max-width: none; }
  .launcher-hero .hero-badges, .hero-checks { justify-content: flex-start; }
  .window { transform: none; }
  .install-steps { grid-template-columns: 1fr; }
  .install-step:not(:last-child)::after { display: none; }
  .edit-card-wide { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .edit-grid { grid-template-columns: 1fr; }
  x { max-width: 300px; }
  .compare-label { top: 8px; font-size: 10.5px; }
  .compare-label.left { left: 8px; } .compare-label.right { right: 8px; }
  .compare-handle span { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .final-cta { flex-direction: column; text-align: center; }
  .final-cta .button { width: 100%; }
  .window-footer .play-state { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .window { transform: none; }
}

/* Capture réelle du launcher */
.launcher-app { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-3); background: #0b0e1d;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 90px -20px rgba(141, 99, 255, .55);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transition: transform .6s var(--ease); }
.launcher-preview:hover .launcher-app { transform: none; }
.launcher-app img { width: 100%; }
.launcher-app::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 30%); pointer-events: none; }
.launcher-tour { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 48px 0 0; padding: 0; list-style: none; }
.launcher-tour li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-lg); background: rgba(14, 17, 29, .75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tour-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(141, 99, 255, .14); border: 1px solid rgba(141, 99, 255, .4); color: #c1abff; }
.launcher-tour strong { display: block; font-size: 14px; }
.launcher-tour span { color: var(--text-2); font-size: 13px; }
@media (max-width: 1180px) { .launcher-tour { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .launcher-app { transform: none; } }
@media (max-width: 640px) { .launcher-tour { grid-template-columns: 1fr; margin-top: 28px; } }

/* Sous-navigation de page (reste sous la barre globale) */
.page-subnav { position: sticky; top: 64px; z-index: 50; border-block: 1px solid var(--border); background: rgba(6, 7, 13, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.page-subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.page-subnav .container::-webkit-scrollbar { display: none; }
.page-subnav a { position: relative; flex: none; display: flex; align-items: center; height: 48px; padding: 0 14px; color: var(--text-2); font-size: 13.5px; font-weight: 500; transition: color .2s; }
.page-subnav a:hover { color: #fff; }
.page-subnav a.active { color: #fff; }
.page-subnav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.launcher-page section[id] { scroll-margin-top: 120px; }

/* Client HD */
.hd-panel { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--border-2); border-radius: 22px;
  background: radial-gradient(circle at 85% 40%, rgba(141, 99, 255, .35), transparent 45%), linear-gradient(135deg, #121634, #0b0e1f 60%, #090b16); }
.hd-copy h2 { margin: 14px 0 16px; font-size: clamp(30px, 4vw, 48px); }
.hd-copy > p { color: var(--text-2); font-size: 16px; line-height: 1.75; max-width: 560px; }
.hd-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px 0 28px; }
.hd-specs div { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); background: rgba(5, 6, 12, .45); }
.hd-specs dt { color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hd-specs dd { margin: 4px 0 0; font-weight: 600; }
.hd-specs small { color: var(--text-3); font-weight: 500; }
.hd-art { position: relative; align-self: stretch; display: grid; place-items: end center; min-height: 320px; margin: calc(-1 * clamp(28px, 5vw, 56px)) 0; }
.hd-art img { width: min(100%, 520px); mask-image: radial-gradient(ellipse 60% 62% at 50% 48%, #000 55%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 48%, #000 55%, transparent 100%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); animation: float 9s ease-in-out infinite; }
.hd-badge { position: absolute; z-index: 2; top: 18%; right: 12%; padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255, 214, 140, .6); background: linear-gradient(180deg, #f5c867, var(--gold-2)); color: #1d1406; font: 800 18px/1 var(--display); letter-spacing: .08em; box-shadow: 0 8px 30px rgba(234, 181, 77, .35); transform: rotate(6deg); }
.hd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.hd-card { --accent: var(--blue); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%), linear-gradient(180deg, var(--surface-2), var(--surface)); transition: transform .25s var(--ease), border-color .25s; }
.hd-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.hd-card h3 { font-size: 19px; }
.hd-card p { color: var(--text-2); font-size: 14px; }
.hd-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: color-mix(in srgb, var(--accent) 60%, white); }
.hd-card-npc { --accent: var(--gold); }
.hd-card-char { --accent: var(--violet); }
.hd-card-base { --accent: var(--blue); }
@media (max-width: 960px) { .hd-panel { grid-template-columns: 1fr; } .hd-art { margin: 0; min-height: 0; order: -1; } .hd-art img { width: min(80%, 360px); } .hd-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hd-specs { grid-template-columns: 1fr; } .page-subnav { top: 64px; } }
