/**
 * Live Desk — téléchargement (layout & composants page uniquement).
 * Coque : fs-config-shell.css (.fs-hub-page)
 */

.live-desk-page .max-w-7xl.mx-auto {
    max-width: min(72rem, 100%);
}

/* ── En-tête (aligné hub Marche / Mon compte) ── */
.ld-page-header {
    margin-bottom: 1.75rem;
}

.ld-back-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s ease;
}

.ld-back-link:hover {
    color: #fff;
}

.ld-page-header__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ld-page-header__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.ld-page-header__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(0, 0, 0, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.ld-page-header__icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 6px;
}

.ld-page-header__title {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.ld-page-header__sub {
    font-size: 0.88rem;
    color: #9ca3af;
    margin: 0.35rem 0 0;
    max-width: 36rem;
    line-height: 1.45;
}

.ld-badge-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

/* ── Grille hero ── */
.ld-layout {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
    .ld-layout {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: stretch;
    }
}

.ld-intro {
    padding: 1.5rem 1.65rem;
}

.ld-intro-lead {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.ld-intro-lead strong {
    color: #fdba74;
    font-weight: 600;
}

.ld-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 560px) {
    .ld-features {
        grid-template-columns: 1fr 1fr;
    }
}

.ld-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
}

.ld-feature-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: #fb923c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.ld-features li div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.ld-features li strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.ld-features li span {
    color: #9ca3af;
    font-size: 0.8rem;
    line-height: 1.35;
}

.ld-intro-note {
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: #71717a;
    line-height: 1.45;
}

/* ── Carte téléchargement ── */
.ld-download {
    padding: 1.5rem 1.65rem 1.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ld-download-visual {
    position: relative;
    width: 100%;
    max-width: 12rem;
    aspect-ratio: 1;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ld-download-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.35) 0%, transparent 70%);
    filter: blur(8px);
}

.ld-download-icon {
    position: relative;
    font-size: 3.5rem;
    color: #f97316;
    text-shadow: 0 8px 32px rgba(249, 115, 22, 0.45);
}

.ld-download-kicker {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #d4d4d8;
}

.ld-btn-download {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.05rem;
    padding: 0.9rem 1.5rem;
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.28);
    margin-top: 0.35rem;
}
.ld-btn-download-secondary {
    font-size: 0.88rem;
    padding: 0.65rem 1.1rem;
    box-shadow: none;
    margin-top: 0.5rem;
}

.ld-btn-download:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.ld-release-meta {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    color: #9ca3af;
    min-height: 1.25rem;
}

.ld-download-trust {
    list-style: none;
    margin: 1.15rem 0 0;
    padding: 1rem 0 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: #71717a;
    text-align: left;
}

.ld-download-trust li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.ld-download-trust i {
    color: #52525b;
    width: 1rem;
    text-align: center;
}

.banner-unavailable {
    width: 100%;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #fde68a;
    text-align: left;
}

/* ── Étapes ── */
.ld-steps {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .ld-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ld-step {
    padding: 1.15rem 1.25rem;
    position: relative;
}

.ld-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ld-step h3 {
    font-size: 0.95rem;
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.ld-step p {
    margin: 0;
    font-size: 0.84rem;
    color: #9ca3af;
    line-height: 1.45;
}

.ld-step code {
    font-size: 0.78rem;
    color: #e5e7eb;
}

/* ── Fichiers ── */
.ld-files {
    padding: 1.15rem 1.35rem 1.35rem;
}

.ld-files-title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.ld-file-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ld-file-chips code {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d4d4d8;
}
