/* ==========================================================================
   📱 JEREMOS - MOBILE & TOUCH STYLES (jeremos-mob.css)
   Adaptations tactiles, cartes mobile, bouton de bascule vers le bureau
   ========================================================================== */

/* ==========================================================================
   Bouton de Bascule Mobile -> Desktop (JeremOS Switcher)
   ========================================================================== */
.desktop-switch-section {
    max-width: 820px;
    margin: 20px auto 40px auto;
    padding: 0 16px;
    display: flex;
    justify-content: center;
}

.btn-desktop-switch {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 22px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    color: #f8fafc;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-desktop-switch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: 0.6s;
}

.btn-desktop-switch:hover::before {
    left: 100%;
}

.btn-desktop-switch:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(245, 158, 11, 0.35);
    background: rgba(26, 36, 56, 0.85);
}

.btn-desktop-switch:active {
    transform: translateY(0);
}

.btn-desktop-switch i.fa-desktop {
    font-size: 24px;
    color: #fbbf24;
    padding: 12px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-desktop-switch:hover i.fa-desktop {
    transform: scale(1.1);
    color: #f59e0b;
}

.btn-desktop-switch-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.btn-desktop-switch-title {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.3px;
}

.btn-desktop-switch-sub {
    font-size: 12.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.btn-desktop-switch-arrow {
    font-size: 16px;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-desktop-switch:hover .btn-desktop-switch-arrow {
    transform: translateX(4px);
    color: #fbbf24;
}

/* Masquer le bouton sur les grands écrans (≥ 1440px) où JeremOS s'affiche directement */
@media (min-width: 1440px) {
    .desktop-switch-section {
        display: none !important;
    }
}

