.mcc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 10px;
    font-family: "Jost Medium";
    font-size: 12px;
    font-weight: 400;
    line-height: 33px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
}

.mcc-btn:hover,
.mcc-btn:focus-visible {
    text-decoration: none;
}

/* Texte + flèche */
.mcc-btn-txt {
    display: inline-flex;
    align-items: center;
    color: var(--mcc-text-out, #000);
}

.mcc-btn-txt::after {
    content: "\e90b";
    font-family: icomoon;
    font-size: 15px;
    display: inline-block;
    position: relative;
    top: -2px;
    margin-left: 5px;
    transform: rotate(-90deg);
}

/* Calque du fond coloré, découpé à la largeur du curseur */
.mcc-btn-fill {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--mcc-bg, #f2f2f2);
    clip-path: inset(0 calc(100% - var(--mcc-fill, 60%)) 0 0);
    pointer-events: none;
    transition: 0.3s;
}

.mcc-btn-fill .mcc-btn-txt {
    color: var(--mcc-text, #000);
    transition: 0.3s;
}

/* Survol : le calque s'ouvre à 100 % */
.mcc-btn:hover .mcc-btn-fill,
.mcc-btn:focus-visible .mcc-btn-fill {
    clip-path: inset(0 0 0 0);
    background: var(--mcc-bg-hover, #bf2324);
}

.mcc-btn:hover .mcc-btn-fill .mcc-btn-txt,
.mcc-btn:focus-visible .mcc-btn-fill .mcc-btn-txt {
    color: var(--mcc-text-hover, #fff);
}

/* Variante <button> (formulaires) */
button.mcc-btn {
    appearance: none;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}