
/* ============================================================
   LIBURU — BOUTONS COMMUNS
   ============================================================ */

/* BASE COMMUNE */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 10px 17px;

    border: 1px solid transparent;
    border-radius: 10px;

    background: #191d35;
    color: #f5f5fa;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;
    text-decoration: none;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

/* SURVOL COMMUN */
.btn:hover {
    transform: translateY(-2px);
}

/* BOUTON PRINCIPAL */
.btn-primary {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
}

.btn-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

/* BOUTON SECONDAIRE */
.btn-secondary {
    background: #191d35;
    border-color: rgba(167, 139, 250, 0.4);
    color: #c4b5fd;
}

.btn-secondary:hover {
    background: #252a49;
    border-color: #8b5cf6;
    color: #ffffff;
}

/* BOUTON DISCRET */
.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: #b8bdd3;
}

.btn-ghost:hover {
    background: rgba(139, 92, 246, 0.12);
    color: #ffffff;
}

/* BOUTON DANGER */
.btn-danger {
    background: #7f1d2d;
    border-color: #be123c;
    color: #ffffff;
}

.btn-danger:hover {
    background: #9f1239;
    border-color: #e11d48;
}

/* BOUTON DÉSACTIVÉ */
.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* VERSION COMPACTE */
.btn-small {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 13px;
}

/* VERSION LARGE */
.btn-large {
    min-height: 48px;
    padding: 13px 22px;
    font-size: 16px;
}

/* BOUTON FIXE : RETOUR À LIBURU */
.btn-fixed {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.btn-fixed:hover {
    transform: translate(-50%, -2px);
}

/* MOBILE */
@media (max-width: 600px) {
    .btn-fixed {
        top: 12px;
    }
}
