* {
    font-family: 'Outfit', sans-serif;
}
code, pre {
    font-family: 'JetBrains Mono', monospace;
}
.sidebar {
    transition: width 0.3s ease-in-out;
}
.sidebar.collapsed {
    width: 80px;
}
.sidebar.expanded {
    width: 280px;
}
.menu-text {
    transition: opacity 0.2s ease-in-out;
}
.sidebar.collapsed .menu-text {
    opacity: 0;
    pointer-events: none;
}
.sidebar.collapsed #sidebarToggle {
    justify-content: center;
}
.main-content {
    transition: margin-left 0.3s ease-in-out;
}
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 50;
        height: 100vh;
    }
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0 !important;
    }
}
.gradient-mesh {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.code-block {
    position: relative;
}
.copy-btn {
    opacity: 0;
    transition: opacity 0.2s;
}
.code-block:hover .copy-btn {
    opacity: 1;
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-get { background: #10b981; color: white; }
.badge-post { background: #3b82f6; color: white; }
.badge-delete { background: #ef4444; color: white; }
.badge-required { background: #fbbf24; color: #78350f; }
.badge-optional { background: #e5e7eb; color: #374151; }

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Smooth scroll offset pour la navigation sticky */
section {
    scroll-margin-top: 100px;
}