/* Styles de base */
* {
    box-sizing: border-box;
}

 :root{
      --brand:#36007A; /* couleur principale */
      --brand-700:#2B0061;
      --brand-600:#30006E;
      --brand-500:#36007A;
      --brand-400:#5A21A9;
      --brand-300:#7A3ED1;
      --neon:#38f56f; /* couleur accent 1 */
      --cyan:#00E5FF; /* nouvelle couleur vive 1 */
      --magenta:#FF00E5; /* nouvelle couleur vive 2 */
    }

html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* body {
    background-color: #0f172a;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 25% 70%, rgba(16, 185, 129, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 75% 80%, rgba(59, 130, 246, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 45% 15%, rgba(236, 72, 153, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 65% 60%, rgba(251, 191, 36, 0.2) 1px, transparent 1px);
    background-size: 
        200px 200px, 250px 250px, 180px 180px, 220px 220px, 160px 160px, 190px 190px;
    animation: floatingPattern 30s ease-in-out infinite;
} */

@keyframes floatingPattern {
    0%, 100% { 
        background-position: 0 0, 100px 50px, 200px 100px, 50px 150px, 150px 200px, 250px 250px;
        opacity: 0.6;
    }
    50% { 
        background-position: 50px 25px, 150px 75px, 250px 125px, 100px 175px, 200px 225px, 300px 275px;
        opacity: 0.8;
    }
}

/* Arrière-plans et dégradés */
.gradient-bg {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Styles des sections de services */
.service-detail-section:nth-child(odd) {
    background-color: #1e293b;
}

.service-detail-section:nth-child(even) {
    background-color: #0f172a;
}

.service-icon {
    transition: all 0.3s ease;
}

.service-detail-section:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Styles pour le menu fixe lors du défilement */
.navbar-scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Styles pour le bouton de retour en haut */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: rgba(37, 99, 235, 0.8);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 40;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: rgba(37, 99, 235, 1);
}