/* ===== BOUTONS V2 - STYLES GLOBAUX ===== */

/* Base des boutons */
.btn {
    -webkit-appearance: initial;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: inline-block;
    font-size: 17px;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    line-height: inherit;
    border-radius: 0;
    text-transform: capitalize;
    width: auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease !important;
    transition: all 0.5s ease !important;
    text-decoration: none;
    cursor: pointer;
}

/* Tailles des boutons */
.btn.btn-small {
    font-size: 12px;
    padding: 4px 1.8em;
}

.btn.btn-medium {
    font-size: 12px;
    padding: 6px 1.8em;
}

.btn.btn-large {
    font-size: 14px;
    padding: 9px 34px;
    line-height: 1.8em;
}

.btn.btn-slider {
    font-size: 14px !important;
    padding: 9px 34px !important;
    line-height: 1.8em !important;
}

/* Formes des boutons */
.btn.btn-rounded {
    border-radius: 50px;
}

/* Couleurs de fond des boutons */
.btn.btn-white {
    background: #ffffff;
    border-color: #ffffff;
    color: #585858;
}

.btn.btn-transparent-white {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn.btn-transparent-black {
    background: transparent;
    border-color: #18212e;
    color: #18212e;
}

.btn.btn-black {
    background: #18212e;
    border-color: #18212e;
    color: #ffffff;
}

.btn.btn-blue {
    background: #03a9f5;
    border-color: #03a9f5;
    color: #ffffff;
}

.btn.btn-pink {
    background: #f023b6;
    border-color: #f023b6;
    color: #ffffff;
}

.btn.btn-purple {
    background: #7004bc;
    border-color: #7004bc;
    color: #ffffff;
}

/* Système d'effets hover avec animations */
.btn-hvr-setting {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.btn-hvr-setting-inner {
    position: relative;
    display: block;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn-hvr-effect {
    position: absolute;
    top: -5px;
    width: 40%;
    height: 100%;
    border-radius: 100%;
    -webkit-transform: translate3d(0, 150%, 0) scale(1.7);
    transform: translate3d(0, 150%, 0) scale(1.7);
    -webkit-transition: -webkit-transform 0.45s;
    transition: -webkit-transform 0.45s;
    transition: transform 0.45s !important;
    background: transparent;
    border-color: transparent;
    opacity: 0;
    visibility: hidden;
}

.btn-hvr-effect:nth-child(1) {
    left: -20%;
    -webkit-transition-delay: 0s;
    transition-delay: 0s !important;
}

.btn-hvr-effect:nth-child(2) {
    left: 20%;
    -webkit-transition-delay: 0.08s;
    transition-delay: 0.08s !important;
}

.btn-hvr-effect:nth-child(3) {
    left: 60%;
    -webkit-transition-delay: 0.16s;
    transition-delay: 0.16s !important;
}

.btn-hvr-effect:nth-child(4) {
    left: 100%;
    -webkit-transition-delay: 0.24s;
    transition-delay: 0.24s !important;
}

.btn-hvr-setting:hover .btn-hvr-effect,
.btn:hover .btn-hvr-effect,
.btn:active .btn-hvr-effect,
.btn:focus .btn-hvr-effect {
    -webkit-transform: translateZ(0) scale(1.7);
    transform: translateZ(0) scale(1.7) !important;
    opacity: 1;
    visibility: visible;
}

/* Effets hover spécifiques */
.btn.btn-hvr-white:hover,
.btn.btn-hvr-white:focus {
    color: #18212e !important;
    border-color: #fff;
    background: transparent !important;
}

.btn.btn-hvr-white .btn-hvr-effect {
    background: #fff;
    border-color: #fff;
}

/* Règle spécifique pour le bouton de connexion */
.nav-actions .btn.btn-hvr-white:hover,
.nav-actions .btn.btn-hvr-white:focus {
    color: #18212e !important;
}

.btn.btn-hvr-blue:hover,
.btn.btn-hvr-blue:focus {
    color: #fff;
    border-color: #03a9f5;
    background: transparent !important;
}

.btn.btn-hvr-blue .btn-hvr-effect {
    background: #03A9F5;
    border-color: #03A9F5;
}

.btn.btn-hvr-pink:hover,
.btn.btn-hvr-pink:focus {
    color: #fff;
    border-color: #f023b6;
    background: transparent !important;
}

.btn.btn-hvr-pink .btn-hvr-effect {
    background: #f023b6;
    border-color: #f023b6;
}

/* Effet hover spécial pour bouton gris */
.btn-hvr-grey .btn-hvr-effect {
    background: #00bcd4;
}

/* Focus et états désactivés */
.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: none;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.65;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .btn {
        font-size: 16px;
        padding: 8px 20px;
    }
    
    .btn.btn-large {
        font-size: 13px;
        padding: 8px 24px;
    }
    
    .btn.btn-slider {
        font-size: 13px !important;
        padding: 8px 24px !important;
    }
} 