/* ============================================
   LAUNCHER — /launcher
   Hero screenshot + pourquoi obligatoire + fonctionnalites + config
   requise + avertissement SmartScreen + FAQ (classes blog-faq/editorial
   partagees, cf. blog.css / editorial.css).
   ============================================ */

.launcher-page {
    padding-top: calc(var(--navbar-height) + var(--space-xl));
    padding-bottom: var(--space-4xl);
    min-height: 100vh;
}

.launcher-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 1140px;
    margin: 0 auto var(--space-4xl);
}

.launcher-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: var(--red-subtle);
    border: 1px solid var(--red-primary);
    border-radius: var(--radius-full);
    color: var(--red-bright);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.launcher-hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    letter-spacing: 0.01em;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.launcher-hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: var(--space-xl);
}

.launcher-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.launcher-btn-disabled,
.launcher-btn-disabled:hover {
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    color: var(--text-tertiary);
    cursor: not-allowed;
    box-shadow: none;
}

.launcher-btn-disabled::before { display: none; }

.launcher-hero-note {
    color: var(--text-tertiary);
    font-size: 0.82rem;
}

.launcher-hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-lg);
}

.launcher-hero-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== Sections generiques ===== */
.launcher-section {
    max-width: 1140px;
    margin: 0 auto var(--space-4xl);
}

.launcher-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: 0.01em;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.launcher-section-intro {
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* ===== Pourquoi obligatoire ===== */
.launcher-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.launcher-why-card {
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.launcher-why-card i {
    font-size: 1.6rem;
    color: var(--red-bright);
    margin-bottom: var(--space-md);
    display: block;
}

.launcher-why-card h3 {
    font-size: 1.05rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.launcher-why-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== Fonctionnalites ===== */
.launcher-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.launcher-feature-card {
    padding: var(--space-lg);
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.launcher-feature-card i {
    font-size: 1.2rem;
    color: var(--red-bright);
    margin-top: 2px;
}

.launcher-feature-card h3 {
    font-size: 0.98rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.launcher-feature-card p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* ===== Configuration requise ===== */
.launcher-requirements {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.launcher-requirements th,
.launcher-requirements td {
    text-align: left;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.92rem;
}

.launcher-requirements th {
    color: var(--text-tertiary);
    font-weight: 600;
    width: 220px;
}

.launcher-requirements td {
    color: var(--text-secondary);
}

.launcher-requirements tr:last-child th,
.launcher-requirements tr:last-child td {
    border-bottom: none;
}

.launcher-requirements-note {
    margin-top: var(--space-md);
    color: var(--text-tertiary);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ===== Avertissement SmartScreen ===== */
.launcher-warning {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: rgba(232, 132, 42, 0.08);
    border: 1px solid rgba(232, 132, 42, 0.35);
    border-radius: var(--radius-lg);
}

.launcher-warning i {
    color: var(--faction-illegal);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.launcher-warning h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.launcher-warning p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: var(--space-sm);
}

.launcher-warning p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .launcher-hero {
        grid-template-columns: 1fr;
    }

    .launcher-hero-media { order: -1; }

    .launcher-why-grid,
    .launcher-feature-grid {
        grid-template-columns: 1fr;
    }

    .launcher-requirements th { width: 150px; }
}

/* ============================================
   v2 (15/10/2026) — état « bientôt », aperçu de l'app en CSS,
   captures (emplacements), étapes, sécurité
   ============================================ */
.launcher-hero-text h1 .text-red { color: var(--red-bright); }
.launcher-hero-note i { margin-right: 4px; }
.launcher-hero-media { border: none; box-shadow: none; overflow: visible; }

/* --- Aperçu stylisé de l'application (toujours sombre : c'est une capture d'app) --- */
.launcher-mock {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0b0b10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(230, 5, 62, 0.15);
    font-family: var(--font-body, 'Inter', sans-serif);
    color: #f2f0f5;
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
}
.launcher-mock-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #07070b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.launcher-mock-logo { font-family: var(--font-display); letter-spacing: 0.08em; font-size: 0.9rem; color: #e6053e; }
.launcher-mock-winbtns { display: flex; gap: 6px; }
.launcher-mock-winbtns i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: block; }
.launcher-mock-body { flex: 1; display: grid; grid-template-columns: 30% 1fr; min-height: 0; }
.launcher-mock-side {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 10px;
    background: #0e0e14;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.launcher-mock-nav { font-size: 0.68rem; padding: 6px 9px; border-radius: 8px; color: rgba(242, 240, 245, 0.6); }
.launcher-mock-nav.is-active { background: rgba(230, 5, 62, 0.16); color: #fff; box-shadow: inset 2px 0 0 #e6053e; }
.launcher-mock-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.launcher-mock-hero {
    flex: 1;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    background:
        linear-gradient(180deg, rgba(11, 11, 16, 0) 30%, rgba(11, 11, 16, 0.85) 100%),
        linear-gradient(160deg, #6fa8dc 0%, #f6cf98 55%, #e98a4e 80%, #3a5c3a 100%);
}
.launcher-mock-kicker { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.12em; color: #ffd27a; }
.launcher-mock-hero strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.03em; font-weight: 400; }
.launcher-mock-online { font-size: 0.6rem; color: rgba(242, 240, 245, 0.75); display: inline-flex; align-items: center; gap: 5px; }
.launcher-mock-online i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; display: block; box-shadow: 0 0 8px #3ddc84; }
.launcher-mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.launcher-mock-cards span { height: 34px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06); }
.launcher-mock-play {
    position: absolute;
    right: 24px;
    bottom: 64px;
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    padding: 8px 22px;
    border-radius: 999px;
    background: #e6053e;
    color: #fff;
    box-shadow: 0 8px 24px rgba(230, 5, 62, 0.45);
}

/* --- État du téléchargement --- */
.launcher-status {
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: grid;
    gap: var(--space-lg);
}
.launcher-status-head { display: flex; gap: var(--space-md); align-items: flex-start; }
.launcher-status-head h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: var(--text-primary); margin-bottom: 4px; letter-spacing: 0.01em; }
.launcher-status-head p { color: var(--text-secondary); line-height: 1.6; }
.launcher-status-dot {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--faction-illegal);
    box-shadow: 0 0 0 4px rgba(232, 132, 42, 0.2);
    animation: launcher-pulse 1.8s ease-in-out infinite;
}
@keyframes launcher-pulse { 50% { box-shadow: 0 0 0 9px rgba(232, 132, 42, 0); } }
.launcher-status-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-lg); }
.launcher-status-list li { display: flex; align-items: center; gap: var(--space-sm); color: var(--text-secondary); font-size: 0.92rem; }
.launcher-status-list li.is-done i { color: #2fb36d; }
.launcher-status-list li.is-progress i { color: var(--faction-illegal); }
.launcher-status-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* --- Captures --- */
.launcher-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.launcher-shot { margin: 0; }
.launcher-shot img,
.launcher-shot-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    object-fit: cover;
}
.launcher-shot-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--text-tertiary);
    font-size: 0.8rem;
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(127, 127, 127, 0.06) 14px 28px),
        var(--bg-card);
    border-style: dashed;
}
.launcher-shot-frame i { font-size: 1.4rem; opacity: 0.7; }
.launcher-shot figcaption { margin-top: var(--space-sm); font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.launcher-shot figcaption strong { color: var(--text-primary); margin-right: 4px; }

/* --- Étapes --- */
.launcher-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.launcher-step { display: flex; gap: var(--space-md); padding: var(--space-lg); background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); }
.launcher-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    background: var(--red-primary);
}
.launcher-step h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 4px; }
.launcher-step p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.55; }

.launcher-security { background: rgba(47, 179, 109, 0.07); border-color: rgba(47, 179, 109, 0.35); }
.launcher-security > i { color: #2fb36d; }
.launcher-requirements-note a { color: var(--red-bright); }

@media (max-width: 900px) {
    .launcher-shots, .launcher-steps { grid-template-columns: 1fr; }
    .launcher-status-list { grid-template-columns: 1fr; }
    .launcher-hero-media { order: 0; }
}
@media (max-width: 560px) {
    .launcher-mock-side { display: none; }
    .launcher-mock-body { grid-template-columns: 1fr; }
    .launcher-requirements th, .launcher-requirements td { display: block; width: auto; }
    .launcher-requirements th { padding-bottom: 0; border-bottom: none; }
    .launcher-hero-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .launcher-status-dot { animation: none; } }

/* ============================================
   Interrupteur launcher_mode (15/10/2026 soir) — chargement + version teaser floutée
   ============================================ */
.launcher-root { min-height: 70vh; }
.launcher-loading { display: flex; align-items: center; justify-content: center; min-height: 70vh; color: var(--text-muted); font-size: 1.4rem; }
.launcher-teaser {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.launcher-teaser-blur {
    filter: blur(9px) saturate(0.85);
    transform: scale(1.04);
    pointer-events: none;
    user-select: none;
}
.launcher-teaser-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(5, 5, 7, 0.78);
    border: 1px solid rgba(230, 5, 62, 0.55);
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.launcher-teaser-badge i { color: #e6053e; font-size: 0.85em; }
