/* ...existing code... */
body {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #000;
    color: #f5f5fa;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: auto; /* Pour le smooth scroll personnalisé */
}

/* Curseur personnalisé */
* {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="8" fill="rgba(180,138,255,0.3)" stroke="rgba(180,138,255,0.8)" stroke-width="1"/></svg>'), auto;
}

a, button, .hero-btn, .service-card, .result-card, .team-card {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="12" cy="12" r="10" fill="rgba(180,138,255,0.5)" stroke="rgba(180,138,255,1)" stroke-width="2"/></svg>'), pointer;
}

/* Sélection de texte personnalisée */
::selection {
    background: rgba(180, 138, 255, 0.3);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(180, 138, 255, 0.8);
}

::-moz-selection {
    background: rgba(180, 138, 255, 0.3);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(180, 138, 255, 0.8);
}
header {
    background: rgba(10, 6, 24, 0.95);
    color: #f5f5fa;
    padding: 38px 0 20px 0;
    text-align: center;
    box-shadow: 0 8px 40px rgba(108, 46, 182, 0.15), 0 2px 10px rgba(180, 138, 255, 0.1);
    border-bottom: 1px solid rgba(180, 138, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
h1 {
    margin: 0;
    font-size: 2.8em;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #b48aff 0%, #ffffff 20%, #b48aff 40%, #ffffff 60%, #b48aff 80%, #6c2eb6 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #b48aff; /* Fallback */
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    text-shadow: 0 0 30px rgba(180, 138, 255, 0.6), 0 0 60px rgba(108, 46, 182, 0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gradientShift 4s ease-in-out infinite;
}

h1::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(45deg, transparent, rgba(180, 138, 255, 0.15), transparent, rgba(108, 46, 182, 0.1), transparent);
    background-size: 400% 400%;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    animation: borderGlow 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes borderGlow {
    0%, 100% { 
        background-position: 0% 50%;
        opacity: 0;
    }
    50% { 
        background-position: 100% 50%;
        opacity: 0.3;
    }
}

h1:hover {
    transform: scale(1.08) translateY(-3px);
    text-shadow: 0 0 50px rgba(180, 138, 255, 1), 0 0 100px rgba(108, 46, 182, 0.7);
    background: linear-gradient(135deg, #ffffff 0%, #b48aff 15%, #ffffff 30%, #b48aff 45%, #ffffff 60%, #b48aff 75%, #6c2eb6 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 1s ease-in-out infinite;
}

h1:hover::before {
    opacity: 1;
    transform: scale(1.1);
    background: linear-gradient(45deg, rgba(180, 138, 255, 0.3), rgba(108, 46, 182, 0.2), rgba(180, 138, 255, 0.3));
    background-size: 200% 200%;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 0 0 30px rgba(180, 138, 255, 0.6), 0 0 60px rgba(108, 46, 182, 0.3);
    }
    50% { 
        text-shadow: 0 0 40px rgba(180, 138, 255, 0.8), 0 0 80px rgba(108, 46, 182, 0.5);
    }
}

h1.loaded {
    animation: titleGlow 3s ease-in-out infinite;
}

/* Indicateur de progression de scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #b48aff 0%, #ffffff 25%, #6c2eb6 50%, #ffffff 75%, #b48aff 100%);
    background-size: 300% 100%;
    z-index: 9999;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(180, 138, 255, 0.8), 0 0 40px rgba(108, 46, 182, 0.4);
    animation: progressGlow 3s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { 
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(180, 138, 255, 0.8), 0 0 40px rgba(108, 46, 182, 0.4);
    }
    50% { 
        background-position: 100% 50%;
        box-shadow: 0 0 30px rgba(180, 138, 255, 1), 0 0 60px rgba(108, 46, 182, 0.6);
    }
}
nav {
    margin: 28px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 44px;
}
nav a {
    color: #f5f5fa;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.12em;
    padding: 14px 32px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.5px;
    background: rgba(26, 9, 62, 0.4);
    border: 1px solid rgba(180, 138, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    overflow: hidden;
    transform-style: preserve-3d;
}
nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 255, 0.4), rgba(255, 255, 255, 0.3), rgba(180, 138, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
nav a::after {
    content: '';
    display: block;
    margin: 0 auto;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #b48aff 0%, #6c2eb6 100%);
    transition: width 0.3s;
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
}
nav a:hover {
    background: rgba(180, 138, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(108, 46, 182, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(180, 138, 255, 0.3);
    border-color: rgba(180, 138, 255, 0.6);
    transform: translateY(-4px) scale(1.05);
    text-shadow: 0 0 10px rgba(180, 138, 255, 0.8);
}
nav a:hover::before {
    left: 100%;
}
nav a:hover::after {
    width: 80%;
}
nav a.active {
    background: rgba(180, 138, 255, 0.2);
    color: #b48aff;
    border-color: rgba(180, 138, 255, 0.6);
    box-shadow: 0 4px 20px rgba(108, 46, 182, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
nav a.active::after {
    width: 100%;
    background: linear-gradient(90deg, #b48aff 0%, #ffffff 50%, #b48aff 100%);
}
nav a:active {
    transform: translateY(0px) scale(0.98);
}
.container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 24px;
}
.section {
    margin-bottom: 56px;
    padding: 120px 0 0 0; /* Ajout d'un padding-top pour compenser le header */
    background: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    transform: translateY(30px);
    animation: sectionFadeIn 0.8s ease-out forwards;
}

@keyframes sectionFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.4s; }
.section:nth-child(4) { animation-delay: 0.6s; }
.section:nth-child(5) { animation-delay: 0.8s; }
.section h2 {
    color: #b48aff;
    margin-bottom: 28px;
    font-size: 2em;
    font-weight: 700;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    text-shadow: 0 4px 20px rgba(108, 46, 182, 0.5);
    letter-spacing: 1px;
    background: linear-gradient(135deg, #b48aff 0%, #ffffff 50%, #b48aff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 3s ease-in-out infinite;
    position: relative;
}

@keyframes titleShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Animations supplémentaires pour une expérience ultra-fluide */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(180, 138, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(180, 138, 255, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Amélioration des transitions globales pour ultra-fluidité */
*, *::before, *::after {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity, filter;
}

/* Hardware acceleration pour les animations fluides */
.service-card, .result-card, .team-card, nav a, .hero-btn, #lang-switch button {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimisation pour les animations de langue */
h1, h2, p, button, a, input, textarea, .highlight {
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
}

/* Réduction des animations sur les appareils avec des préférences réduites */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(26, 9, 62, 0.8) 0%, rgba(45, 27, 105, 0.6) 50%, rgba(26, 9, 62, 0.8) 100%);
    border-radius: 32px;
    margin-bottom: 56px;
    box-shadow: 0 20px 60px rgba(108, 46, 182, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(180, 138, 255, 0.2);
    position: relative;
    overflow: hidden;
    padding-top: 0; /* Reset du padding pour la section hero */
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(180, 138, 255, 0.1) 0%, transparent 50%);
    animation: heroFloat 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}
.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-title {
    font-size: 2.4em;
    font-weight: 800;
    color: #b48aff;
    margin-bottom: 22px;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 18px #2e1a4f;
}
.hero-desc {
    font-size: 1.18em;
    color: #f5f5fa;
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-btn {
    font-size: 1.12em;
    padding: 20px 48px;
    margin-top: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6c2eb6 0%, #b48aff 50%, #6c2eb6 100%);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(108,46,182,0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.7px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.hero-btn:hover::before {
    left: 100%;
}
.hero-btn:hover {
    background: linear-gradient(135deg, #b48aff 0%, #ffffff 50%, #b48aff 100%);
    background-position: 100% 0;
    color: #1a0b3d;
    box-shadow: 0 16px 48px rgba(108,46,182,0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-6px) scale(1.08);
    text-shadow: 0 0 10px rgba(26, 11, 61, 0.8);
    animation: buttonPulse 0.6s ease-in-out;
}

@keyframes buttonPulse {
    0% { box-shadow: 0 16px 48px rgba(108,46,182,0.4); }
    50% { box-shadow: 0 16px 48px rgba(108,46,182,0.6), 0 0 30px rgba(180, 138, 255, 0.5); }
    100% { box-shadow: 0 16px 48px rgba(108,46,182,0.4); }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.highlight {
    color: #b48aff;
    font-weight: 700;
}

/* Slider d'images */
.image-slider {
    max-width: 540px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(108, 46, 182, 0.2);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 220px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.05);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 9, 62, 0.8);
    color: #b48aff;
    border: 2px solid rgba(180, 138, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(180, 138, 255, 0.2);
    border-color: #b48aff;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(108, 46, 182, 0.4);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(180, 138, 255, 0.3);
}

.dot:hover,
.dot.active {
    background: #b48aff;
    border-color: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(180, 138, 255, 0.5);
}
.portfolio-section {
    margin-bottom: 56px;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 32px;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(80,0,160,0.18);
    background: rgba(26, 9, 62, 0.7);
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid #23233a;
}
.portfolio-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(.4,2,.3,1), filter 0.3s;
    filter: brightness(0.92) grayscale(10%);
    border-radius: 22px;
}
.portfolio-item img.active,
.portfolio-item img:hover {
    transform: scale(1.07) rotate(-1deg);
    filter: brightness(1) grayscale(0%);
    box-shadow: 0 12px 48px rgba(108,46,182,0.22);
}
.portfolio-item::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, #b48aff33 0%, transparent 70%);
    z-index: 0;
}
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: flex-start;
}
.service-card {
    background: linear-gradient(135deg, rgba(26, 9, 62, 0.8) 0%, rgba(45, 27, 105, 0.6) 100%);
    border-radius: 24px;
    padding: 36px 30px;
    min-width: 240px;
    flex: 1 1 260px;
    box-shadow: 0 8px 32px rgba(108, 46, 182, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(180, 138, 255, 0.2);
    text-align: left;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(180, 138, 255, 0.3) 0%, transparent 70%);
    z-index: 0;
    transition: all 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(180, 138, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.service-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(180, 138, 255, 0.3) 0%, transparent 70%);
    z-index: 0;
    transition: all 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(180, 138, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.service-card h3 {
    color: #b48aff;
    margin-bottom: 14px;
    font-size: 1.22em;
    font-weight: 700;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.service-card p {
    color: #f5f5fa;
    font-size: 1.04em;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-12px) scale(1.06);
    box-shadow: 0 20px 60px rgba(108, 46, 182, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(180, 138, 255, 0.8);
}

.service-card:hover::before {
    transform: scale(1.3) rotate(45deg);
    background: radial-gradient(circle, rgba(180, 138, 255, 0.5) 0%, rgba(108, 46, 182, 0.3) 50%, transparent 70%);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover h3 {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(180, 138, 255, 0.8);
    transform: translateY(-2px);
}

.service-card:hover p {
    color: #ffffff;
    transform: translateY(-1px);
}
.btn {
    display: inline-block;
    background: linear-gradient(90deg, #6c2eb6 0%, #b48aff 100%);
    color: #fff;
    padding: 16px 36px;
    border: none;
    border-radius: 10px;
    font-size: 1.08em;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 2px 16px rgba(108, 46, 182, 0.12);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    letter-spacing: 0.5px;
}
.btn:hover {
    background: linear-gradient(90deg, #b48aff 0%, #6c2eb6 100%);
    color: #0a0618;
    box-shadow: 0 8px 32px rgba(108, 46, 182, 0.18);
    transform: translateY(-2px) scale(1.04);
}
input, textarea {
    background: rgba(26, 9, 62, 0.7);
    color: #f5f5fa;
    border: 1px solid #23233a;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #b48aff;
    background: #23233a;
}

/* Calculateur de revenus */
#calculator {
    background: linear-gradient(135deg, rgba(26, 9, 62, 0.9) 0%, rgba(10, 6, 24, 0.95) 100%);
    margin: 0 auto 40px auto;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(108, 46, 182, 0.2), 0 0 0 1px rgba(180, 138, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

/* Logos OnlyFans en arrière-plan */
#calculator::before {
    content: 'OF OF OF OF OF OF';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.8em;
    color: rgba(0, 162, 255, 0.08);
    word-spacing: 60px;
    line-height: 80px;
    z-index: 0;
    opacity: 0.4;
    transform: rotate(-15deg);
    overflow: hidden;
    animation: floatingLogos 20s ease-in-out infinite;
}

#calculator::after {
    content: '$ $ $ $ $ $';
    position: absolute;
    top: 20%;
    right: -10%;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    color: rgba(180, 138, 255, 0.1);
    word-spacing: 40px;
    line-height: 60px;
    z-index: 0;
    transform: rotate(20deg);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes floatingLogos {
    0%, 100% {
        transform: rotate(-15deg) translateY(0px);
        opacity: 0.4;
    }
    50% {
        transform: rotate(-15deg) translateY(-8px);
        opacity: 0.6;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
        transform: rotate(20deg) scale(1);
    }
    50% {
        opacity: 0.2;
        transform: rotate(20deg) scale(1.05);
    }
}

#calculator h2 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: #b48aff;
    margin-bottom: 8px;
    font-size: 1.8em;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 2;
}

#calculator-desc {
    text-align: center;
    color: #d0d0d5;
    font-size: 1em;
    margin-bottom: 30px;
    font-family: 'Inter', 'Montserrat', sans-serif;
    position: relative;
    z-index: 2;
}

.calculator-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 2;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.input-group label {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: #f5f5fa;
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0.3px;
    text-align: center;
}

.input-group input[type="number"] {
    font-family: 'Inter', 'Montserrat', sans-serif;
    background: rgba(35, 35, 58, 0.7);
    border: 2px solid rgba(180, 138, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #f5f5fa;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.input-group input[type="number"]:focus {
    border-color: #b48aff;
    background: rgba(35, 35, 58, 0.9);
    box-shadow: 0 0 0 3px rgba(180, 138, 255, 0.2);
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
}

.slider {
    flex: 1;
    height: 8px;
    background: rgba(35, 35, 58, 0.7);
    border-radius: 8px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid rgba(180, 138, 255, 0.2);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #b48aff 0%, #6c2eb6 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(180, 138, 255, 0.4);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(180, 138, 255, 0.6);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #b48aff 0%, #6c2eb6 100%);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(180, 138, 255, 0.4);
}

.slider-value {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: #b48aff;
    font-weight: 700;
    font-size: 1.1em;
    min-width: 50px;
    text-align: center;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.result-card {
    background: rgba(35, 35, 58, 0.6);
    border: 2px solid rgba(180, 138, 255, 0.15);
    border-radius: 16px;
    padding: 14px 12px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(180, 138, 255, 0.2);
    border-color: rgba(180, 138, 255, 0.3);
}

.result-card h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: #f5f5fa;
    margin: 0 0 12px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.revenue-amount {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 2.2em;
    font-weight: 800;
    color: #b48aff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(180, 138, 255, 0.3);
}

.revenue-amount.potential {
    color: #4ade80;
    text-shadow: 0 2px 10px rgba(74, 222, 128, 0.3);
}

.revenue-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: #d0d0d5;
    font-size: 0.95em;
}

.revenue-boost {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: #4ade80;
    font-weight: 600;
    font-size: 1.1em;
    margin-top: 8px;
}

.potential-revenue {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.05);
}

.cta-container {
    margin-top: 24px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.calculator-cta {
    font-family: 'Inter', 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #000;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3);
    letter-spacing: 0.5px;
}

.calculator-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(74, 222, 128, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* Responsive pour le calculateur */
@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    #calculator {
        margin: 0 15px 30px 15px;
        padding: 30px 20px;
    }
    
    #calculator h2 {
        font-size: 1.5em;
    }
    
    .revenue-amount {
        font-size: 1.8em;
    }
    
    .slider-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .slider-value {
        text-align: left;
    }
}

footer {
    background: rgba(20, 20, 30, 0.98);
    color: #b48aff;
    text-align: center;
    padding: 28px 0 16px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 56px;
    font-size: 1.08em;
    letter-spacing: 1px;
    box-shadow: 0 -4px 32px rgba(80,0,160,0.10);
    border-top: 1px solid #23233a;
    backdrop-filter: blur(6px);
}

/* Styles pour les boutons de langue */
#lang-switch button {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 36px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    perspective: 1000px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Styles spécifiques pour les emojis (navigateurs non-Chrome) */
#lang-switch button.emoji-mode {
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    font-weight: normal;
    letter-spacing: 0;
    min-height: 44px;
}

#lang-switch button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 255, 0.4), rgba(255, 255, 255, 0.3), rgba(180, 138, 255, 0.4), transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

#lang-switch button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(180, 138, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
}

#lang-switch button:hover::before {
    left: 100%;
}

#lang-switch button:hover::after {
    width: 200px;
    height: 200px;
}

#lang-switch button:hover {
    background: rgba(180, 138, 255, 0.25) !important;
    border-color: #b48aff !important;
    transform: scale(1.08) translateY(-2px) rotateY(5deg);
    box-shadow: 0 8px 30px rgba(108, 46, 182, 0.5), 0 0 40px rgba(180, 138, 255, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(1.2) saturate(1.3);
}

#lang-switch button:active {
    transform: scale(0.95) translateY(1px) rotateY(0deg);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Styles pour les images d'équipe */
#team img {
    transition: all 0.6s cubic-bezier(.4,2,.3,1);
    filter: brightness(0.95) grayscale(5%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(108, 46, 182, 0.2);
}

#team img:hover {
    transform: scale(1.2) rotate(-3deg) translateY(-5px);
    filter: brightness(1.1) grayscale(0%) saturate(1.2);
    box-shadow: 0 12px 40px rgba(108, 46, 182, 0.5), 0 0 30px rgba(180, 138, 255, 0.4);
    border: 3px solid rgba(180, 138, 255, 0.6);
}

#team .team-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(26, 9, 62, 0.8) 0%, rgba(45, 27, 105, 0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(180, 138, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Styles spécifiques pour les cartes cliquables (liens) */
#team a.team-card {
    cursor: pointer;
}

/* Styles pour les cartes non-cliquables (div) */
#team div.team-card {
    cursor: default;
}

#team div.team-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(108, 46, 182, 0.2) !important;
    border-color: rgba(180, 138, 255, 0.4) !important;
}

#team a.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

#team a.team-card:hover::before {
    left: 100%;
}

#team a.team-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 60px rgba(108, 46, 182, 0.4) !important;
    border-color: rgba(180, 138, 255, 0.8) !important;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.9) 0%, rgba(26, 9, 62, 0.8) 100%);
}

#team a.team-card:hover h3 {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(180, 138, 255, 0.8);
    transform: translateY(-2px);
}

#team a.team-card:hover p {
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Ajout d'un indicateur visuel pour montrer que c'est cliquable */
#team a.team-card::after {
    content: '🔗';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1em;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    transform: scale(0.8);
    color: #b48aff;
}

#team a.team-card:hover::after {
    opacity: 0.9;
    transform: scale(1.2);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(180, 138, 255, 0.6);
}

/* Styles pour la section Témoignages */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(26, 9, 62, 0.9) 0%, rgba(45, 27, 105, 0.7) 100%);
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(180, 138, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(180, 138, 255, 0.2) 0%, transparent 70%);
    transition: all 0.6s ease;
    z-index: 0;
}

.testimonial-card:hover::before {
    transform: scale(1.5) rotate(45deg);
    background: radial-gradient(circle, rgba(180, 138, 255, 0.4) 0%, rgba(108, 46, 182, 0.2) 50%, transparent 70%);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(108, 46, 182, 0.4);
    border-color: rgba(180, 138, 255, 0.6);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.stars {
    color: #FFD700;
    font-size: 1.2em;
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.testimonial-text {
    color: #f5f5fa;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: -10px;
    top: -5px;
    font-size: 2em;
    color: rgba(180, 138, 255, 0.3);
    font-family: serif;
}

.testimonial-text::after {
    content: '"';
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 2em;
    color: rgba(180, 138, 255, 0.3);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h4 {
    color: #b48aff;
    margin: 0 0 4px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.author-info span {
    color: rgba(245, 245, 250, 0.7);
    font-size: 0.9em;
}

/* Animation au scroll pour les témoignages */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    animation: none;
}

.testimonial-card.animate {
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour la section FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(26, 9, 62, 0.8) 0%, rgba(45, 27, 105, 0.6) 100%);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(180, 138, 255, 0.2);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(180, 138, 255, 0.4);
    box-shadow: 0 8px 32px rgba(108, 46, 182, 0.3);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.faq-question:hover::before {
    left: 100%;
}

.faq-question h3 {
    color: #b48aff;
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.faq-question:hover h3 {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(180, 138, 255, 0.6);
}

.faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #b48aff;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    min-width: 30px;
    text-align: center;
}

.faq-question:hover .faq-toggle {
    color: #ffffff;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(180, 138, 255, 0.8);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(45, 27, 105, 0.3);
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: #f5f5fa;
    font-size: 1em;
    line-height: 1.6;
    margin: 16px 0 0 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.1s;
}

.faq-answer.active p {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour les cartes de résultats */
.result-card {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: linear-gradient(135deg, rgba(26, 9, 62, 0.8) 0%, rgba(45, 27, 105, 0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(180, 138, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.result-card:hover {
    transform: translateY(-15px) scale(1.08) rotateY(5deg);
    box-shadow: 0 25px 70px rgba(108, 46, 182, 0.5) !important;
    border-color: rgba(180, 138, 255, 0.9) !important;
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.9) 0%, rgba(26, 9, 62, 0.8) 100%);
}

.result-card:hover::before {
    left: 100%;
}

.result-card:hover div:first-child {
    transform: scale(1.2) translateY(-3px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 20px rgba(180, 138, 255, 0.8);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1100px) {
    .container {
        max-width: 98vw;
        padding: 32px 8px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }
    
    /* Responsive slider - tablet */
    .image-slider {
        max-width: 90vw;
        margin: 0 auto 32px auto;
    }
    
    .slider-container {
        height: 180px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Responsive slider */
    .image-slider {
        max-width: 90vw;
        margin: 0 auto 32px auto;
    }
    
    .slider-container {
        height: 180px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    .hero-title {
        font-size: 1.7em;
    }
    nav {
        gap: 24px;
    }
    nav a {
        padding: 10px 20px;
        font-size: 1.05em;
    }
}

@media (max-width: 768px) {
    header {
        padding: 24px 0 16px 0;
    }
    
    h1 {
        font-size: 2.2em;
        letter-spacing: 1px;
        text-shadow: 0 0 25px rgba(180, 138, 255, 0.5), 0 0 50px rgba(108, 46, 182, 0.2);
    }
    
    h1:hover {
        transform: scale(1.03);
    }
    
    nav {
        gap: 16px;
        flex-wrap: wrap;
        margin: 20px 0 0 0;
    }
    
    nav a {
        padding: 8px 16px;
        font-size: 1em;
        border-radius: 8px;
    }
    
    .hero {
        min-height: 50vh;
        border-radius: 20px;
        margin-bottom: 32px;
        padding: 20px;
        padding-top: 20px; /* Garde le padding normal sur mobile */
    }
    
    .hero-title {
        font-size: 1.8em;
        margin-bottom: 16px;
    }
    
    .hero-desc {
        font-size: 1.1em;
        margin-bottom: 20px;
    }
    
    .hero-btn {
        font-size: 1em;
        padding: 14px 28px;
        margin: 8px 4px;
        flex: 1;
        min-width: 200px;
        max-width: 280px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-list {
        gap: 20px;
    }
    
    .service-card {
        min-width: unset;
        width: 100%;
        padding: 20px 16px;
        margin-bottom: 16px;
    }
    
    .result-card {
        min-width: 140px !important;
        max-width: 160px !important;
        padding: 20px 16px !important;
        margin: 8px;
    }
    
    .result-card div:first-child {
        font-size: 1.8em !important;
    }
    
    .team-card {
        min-width: 200px !important;
        max-width: 240px !important;
        padding: 20px 16px !important;
        margin: 8px;
    }
    
    #team img {
        width: 70px !important;
        height: 70px !important;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px !important;
    }
    
    .portfolio-item img {
        height: 180px !important;
    }
    
    #lang-switch {
        margin-top: 12px !important;
        gap: 12px !important;
    }
    
    #lang-switch button {
        padding: 6px 12px !important;
        font-size: 1.2em !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
    
    /* Ajustements spécifiques pour les emojis sur mobile */
    #lang-switch button.emoji-mode {
        font-size: 1.3em !important;
        min-height: 40px !important;
    }
    
/* Bouton scroll-to-top amélioré */
#scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c2eb6 0%, #b48aff 100%);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(108, 46, 182, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.8);
}

#scroll-top-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#scroll-top-btn:hover::before {
    opacity: 1;
    animation: rotateGlow 1s linear infinite;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#scroll-top-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

#scroll-top-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 46, 182, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #b48aff 0%, #ffffff 50%, #b48aff 100%);
}

#scroll-top-btn:hover img {
    filter: brightness(0) invert(0);
    transform: translateY(-2px);
}

#scroll-top-btn:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1100px) {
    .container {
        padding: 16px 4px;
    }
    
    h1 {
        font-size: 1.8em;
        text-shadow: 0 0 20px rgba(180, 138, 255, 0.4), 0 0 40px rgba(108, 46, 182, 0.2);
    }
    
    h1:hover {
        transform: scale(1.02);
    }
    
    nav {
        gap: 12px;
    }
    
    nav a {
        padding: 6px 12px;
        font-size: 0.95em;
    }
    
    .hero {
        min-height: 40vh;
        border-radius: 16px;
        margin-bottom: 24px;
        padding: 16px;
        padding-top: 16px; /* Garde le padding normal sur mobile */
    }
    
    .hero-title {
        font-size: 1.5em;
        line-height: 1.3;
    }
    
    .hero-desc {
        font-size: 1em;
    }
    
    .hero-btn {
        font-size: 0.95em;
        padding: 12px 20px;
    }
    
    #member-counter {
        font-size: 2.2em !important;
    }
    
    #client-satisfait {
        font-size: 1.1em !important;
    }
    
    .result-card {
        min-width: 120px !important;
        max-width: 140px !important;
        padding: 16px 12px !important;
    }
    
    .result-card div:first-child {
        font-size: 1.6em !important;
    }
    
    .team-card {
        min-width: 180px !important;
        max-width: 200px !important;
        padding: 16px 12px !important;
    }
    
    /* Mobile responsive slider */
    .image-slider {
        max-width: 95vw;
        margin: 0 auto 20px auto;
    }
    
    .slider-container {
        height: 160px;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .slider-btn.prev {
        left: 5px;
    }
    
    .slider-btn.next {
        right: 5px;
    }
    
    .slider-dots {
        margin-top: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    #team img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .faq-container {
        margin: 0 8px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 1em;
    }
    
    .faq-answer.active {
        padding: 0 20px 18px 20px;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 8px;
    }
    
    .testimonial-card {
        padding: 24px 20px;
    }
    
    .testimonial-text {
        font-size: 1em;
    }
    
    .service-card {
        padding: 16px 12px;
    }
    
    .service-card h3 {
        font-size: 1.1em;
    }
    
    .service-card p {
        font-size: 0.95em;
    }
    
    .portfolio-item img {
        height: 140px !important;
    }
    
    footer {
        padding: 20px 0 12px 0;
        font-size: 0.95em;
    }
}
}
