/* ==============================================
   APP.CSS - Styles globaux
   ============================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Scrollbar custom */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0e27;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00a8cc;
}

/* Gradient animé pour les titres */
@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient-flow {
    animation: gradient-flow 3s ease infinite;
}

/* Selection de texte */
::selection {
    background-color: rgba(0, 212, 255, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background-color: rgba(0, 212, 255, 0.3);
    color: #ffffff;
}

/* Smooth transitions globales */
a, button {
    transition: all 0.3s ease;
}

/* Links */
a {
    text-decoration: none;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus visible pour accessibilité */
*:focus-visible {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* Backgrounds gradients custom */
.bg-gradient-radial {
    background: radial-gradient(circle, var(--tw-gradient-stops));
}
