/* ===========================
   ALLIANCE & CO — FLOATING CTA
   Couleurs : Navy #101D33 / Gold #C5A059
   =========================== */

/* ══════════════════════════════
   DESKTOP — Panel latéral droit
   ══════════════════════════════ */
.fc-floating {
    position: fixed;
    right: 0;
    bottom: 30px;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
}

/* Toggle : supprimé sur desktop, le panel reste toujours visible */
.fc-toggle {
    display: none !important;
}

.fc-closed .fc-toggle {
    display: none !important;
}

/* Panel : toujours ouvert, compact */
.fc-panel {
    background: #101D33;
    border-radius: 10px 0 0 10px;
    padding: 16px 14px;
    min-width: 180px;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
    pointer-events: all;
    position: relative;
}

/* Bouton fermer : caché (plus de toggle) */
.fc-close {
    display: none;
}

/* Titre : caché */
.fc-title {
    display: none;
}

/* Actions desktop — compact */
.fc-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fc-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

.fc-action:hover {
    transform: translateX(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.fc-action-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(16, 29, 51, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fc-action-icon i {
    font-size: 13px;
    color: #101D33;
}

.fc-action span {
    font-size: 12px;
    font-weight: 600;
    color: #101D33;
    line-height: 1.3;
}

/* Barre mobile cachée sur desktop */
.fc-mobile-bar {
    display: none !important;
}

/* ══════════════════════════════
   MOBILE & TABLETTE — Barre fixe en bas
   ══════════════════════════════ */
@media (max-width: 1024px) {
    /* Cacher tout le desktop */
    .fc-toggle,
    .fc-closed .fc-toggle,
    .fc-panel,
    .fc-close {
        display: none !important;
    }

    .fc-floating {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        width: 100vw !important;
        max-width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .fc-mobile-bar {
        display: flex !important;
        flex-wrap: nowrap;
        width: 100% !important;
        background: #101D33;
        padding: 10px;
        gap: 8px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .fc-mobile-action {
        flex: 1 1 0%;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 14px 10px;
        background: #fff;
        border-radius: 10px;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        box-sizing: border-box;
        overflow: hidden;
    }

    .fc-mobile-action i {
        font-size: 18px;
        color: #101D33;
        flex-shrink: 0;
    }

    .fc-mobile-action span {
        font-size: 12px;
        font-weight: 600;
        color: #101D33;
        line-height: 1.3;
    }
}

/* ── Petits mobiles : texte plus petit ── */
@media (max-width: 400px) {
    .fc-mobile-bar {
        padding: 8px 6px;
        gap: 6px;
    }

    .fc-mobile-action {
        padding: 12px 8px;
        gap: 6px;
    }

    .fc-mobile-action i {
        font-size: 16px;
    }

    .fc-mobile-action span {
        font-size: 10px;
    }
}

/* ── Très petits écrans (<320px) : empiler verticalement ── */
@media (max-width: 320px) {
    .fc-mobile-bar {
        flex-wrap: wrap;
        padding: 8px;
        gap: 6px;
    }

    .fc-mobile-action {
        flex: 1 1 100%;
        justify-content: center;
        padding: 12px 16px;
    }

    .fc-mobile-action span {
        font-size: 12px;
    }

    .fc-mobile-action span br {
        display: none;
    }
}