/* Styles personnalisés Triboo */
/* Surcharges minimales - Tailwind gère l'essentiel */

html {
    scroll-behavior: smooth;
}

/* Personnalisation scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

main > div, main > section {
    animation: fadeIn 0.3s ease-out;
}

/* Cards hover effect */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-2px);
}

/* Loading shimmer */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* Print */
@media print {
    header, footer, #back-to-top { display: none; }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .line-clamp-2 {
        -webkit-line-clamp: 1;
    }
}
