html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html:has(.modal-open){
    overflow: hidden;
}

body.modal-open {
    overflow: visible !important;
    padding-right: 0 !important;
}

h1, h2, h3, .font-alt {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

header {
    z-index: 1000 !important;
}

.btn-login {
    width: 150px;
}

.btn-main:hover {
    filter: brightness(1.2);
    color: white;
    transform: translateY(-2px);
}

.text-primary-custom {
    color: var(--primary) !important;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.bg-accent-custom {
    background-color: var(--accent) !important;
}

.transition-up {
    transition: all 0.3s ease-in-out;
}

.transition-up:hover {
    transform: translateY(-10px);
}

#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--primary); /* Tu peux changer pour ta couleur de thème */
    color: white;
    border: none;
    border-radius: 8px; /* Design plus moderne qu'un rond parfait */
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* États du bouton */
.btt-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btt-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: color-mix(in srgb, var(--primary), black 20%);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

#back-to-top:active {
    transform: translateY(0);
}

.contrast-light { color: #1a1a1a !important; }
.contrast-dark { color: #ffffff !important; }

/* Réseaux sociaux */
.social-icon-wrapper {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.social-card:hover .social-icon-wrapper {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}
/* Style commun pour les icônes injectées */
.social-link-unike {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #eee; color: #333;
    transition: all 0.3s; text-decoration: none;
}
.social-link-unike:hover { transform: translateY(-3px); filter: brightness(0.9); color: white; }

footer .social-link-unike i {
    font-size: 1.5rem;
}

/* Couleurs spécifiques */
.btn-social-facebook:hover { background: #3b5998; }
.btn-social-instagram:hover { background: #e1306c; }
.btn-social-linkedin:hover { background: #0077b5; }
.btn-social-x-twitter:hover { background: #000; }

/* Style Barre Flottante */
.social-floating-bar {
    position: fixed; left: 0; top: 50%; transform: translateY(-50%);
    flex-direction: column; z-index: 10000; gap: 2px;
}
.social-floating-bar .social-link-unike {
    border-radius: 0 5px 5px 0; width: 45px;
}