/* ============================================
   Styles Personnalisés MetalaPayTicket
   ============================================ */

/* Classes utilitaires personnalisées */
.section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .section {
        padding: 6rem 0;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-primary {
    background-color: #1E40AF;
    color: white;
}

.badge-secondary {
    background-color: #EA580C;
    color: white;
}

.card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    outline: none;
}

.btn:focus {
    box-shadow: 0 0 0 2px #1E40AF, 0 0 0 4px rgba(30, 64, 175, 0.2);
}

.btn-primary {
    background-color: #1E40AF;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #1E3A8A;
}

.btn-secondary {
    background-color: #EA580C;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background-color: #92400E;
}

.btn-outline {
    background-color: transparent;
    color: #1E40AF;
    border: 2px solid #1E40AF;
}

.btn-outline:hover {
    background-color: #1E40AF;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out;
}

.animate-bounce-light {
    animation: bounce 2s infinite;
}

/* Utilitaires */
.text-gradient {
    background: linear-gradient(to right, #1E40AF, #EA580C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-blue-orange {
    background: linear-gradient(to right, #1E40AF, #EA580C);
}

.container-max {
    @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}

/* Accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focus:not-sr-only {
    position: static;
    width: auto;
    height: auto;
    padding: initial;
    margin: initial;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
