/* Hero Welcome Section */
.welcome-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, rgba(30, 41, 59, 0.05) 100%);
    overflow: hidden;
}

.welcome-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 113, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.welcome-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Animated Background Balls */
.welcome-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.welcome-floating-ball {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(1px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Boule 1 - Bleu */
.welcome-ball-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 8%;
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.8) 0%, rgba(59, 130, 246, 0.8) 100%);
    animation: welcomeFloat1 20s infinite ease-in-out;
    animation-delay: 0s;
}

/* Boule 2 - Violet */
.welcome-ball-2 {
    width: 60px;
    height: 60px;
    top: 35%;
    right: 12%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.8) 0%, rgba(168, 85, 247, 0.8) 100%);
    animation: welcomeFloat2 18s infinite ease-in-out;
    animation-delay: 2s;
}

/* Boule 3 - Rose */
.welcome-ball-3 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 15%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.8) 0%, rgba(244, 114, 182, 0.8) 100%);
    animation: welcomeFloat3 22s infinite ease-in-out;
    animation-delay: 4s;
}

/* Boule 4 - Cyan */
.welcome-ball-4 {
    width: 70px;
    height: 70px;
    top: 60%;
    right: 8%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.8) 0%, rgba(34, 211, 238, 0.8) 100%);
    animation: welcomeFloat4 19s infinite ease-in-out;
    animation-delay: 1s;
}

/* Boule 5 - Orange */
.welcome-ball-5 {
    width: 50px;
    height: 50px;
    bottom: 15%;
    right: 20%;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.8) 0%, rgba(249, 115, 22, 0.8) 100%);
    animation: welcomeFloat5 17s infinite ease-in-out;
    animation-delay: 3s;
}

/* Boule 6 - Vert */
.welcome-ball-6 {
    width: 90px;
    height: 90px;
    top: 10%;
    left: 50%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8) 0%, rgba(74, 222, 128, 0.8) 100%);
    animation: welcomeFloat6 21s infinite ease-in-out;
    animation-delay: 5s;
}

/* Boule 7 - Jaune */
.welcome-ball-7 {
    width: 65px;
    height: 65px;
    bottom: 40%;
    left: 45%;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.8) 0%, rgba(250, 204, 21, 0.8) 100%);
    animation: welcomeFloat7 23s infinite ease-in-out;
    animation-delay: 2.5s;
}

/* Boule 8 - Indigo */
.welcome-ball-8 {
    width: 55px;
    height: 55px;
    top: 45%;
    left: 25%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(129, 140, 248, 0.8) 100%);
    animation: welcomeFloat8 16s infinite ease-in-out;
    animation-delay: 1.5s;
}

/* Boule 9 - Rouge */
.welcome-ball-9 {
    width: 75px;
    height: 75px;
    bottom: 30%;
    right: 30%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8) 0%, rgba(248, 113, 113, 0.8) 100%);
    animation: welcomeFloat9 24s infinite ease-in-out;
    animation-delay: 4.5s;
}

/* Animations variées pour chaque boule */
@keyframes welcomeFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(40px, -50px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-30px, -20px) rotate(180deg) scale(0.9); }
    75% { transform: translate(30px, 40px) rotate(270deg) scale(1.05); }
}

@keyframes welcomeFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(-35px, 45px) rotate(120deg) scale(1.15); }
    66% { transform: translate(50px, -25px) rotate(240deg) scale(0.85); }
}

@keyframes welcomeFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(60px, -40px) rotate(72deg) scale(1.2); }
    40% { transform: translate(-45px, 30px) rotate(144deg) scale(0.9); }
    60% { transform: translate(35px, 50px) rotate(216deg) scale(1.1); }
    80% { transform: translate(-50px, -35px) rotate(288deg) scale(0.95); }
}

@keyframes welcomeFloat4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    30% { transform: translate(-40px, -30px) rotate(108deg) scale(1.1); }
    60% { transform: translate(45px, 35px) rotate(216deg) scale(0.9); }
}

@keyframes welcomeFloat5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(25px, -35px) rotate(90deg) scale(1.2); }
    50% { transform: translate(-30px, 25px) rotate(180deg) scale(0.8); }
    75% { transform: translate(35px, 30px) rotate(270deg) scale(1.1); }
}

@keyframes welcomeFloat6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(-50px, 40px) rotate(72deg) scale(1.15); }
    40% { transform: translate(40px, -50px) rotate(144deg) scale(0.9); }
    60% { transform: translate(-35px, -40px) rotate(216deg) scale(1.05); }
    80% { transform: translate(50px, 35px) rotate(288deg) scale(0.95); }
}

@keyframes welcomeFloat7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(30px, 45px) rotate(120deg) scale(1.1); }
    66% { transform: translate(-45px, -30px) rotate(240deg) scale(0.9); }
}

@keyframes welcomeFloat8 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(-35px, -40px) rotate(90deg) scale(1.2); }
    50% { transform: translate(40px, 30px) rotate(180deg) scale(0.85); }
    75% { transform: translate(-30px, 45px) rotate(270deg) scale(1.1); }
}

@keyframes welcomeFloat9 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(50px, -35px) rotate(72deg) scale(1.15); }
    40% { transform: translate(-40px, 50px) rotate(144deg) scale(0.9); }
    60% { transform: translate(35px, -45px) rotate(216deg) scale(1.05); }
    80% { transform: translate(-50px, 40px) rotate(288deg) scale(0.95); }
}

.welcome-hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.welcome-image-left,
.welcome-image-right {
    position: absolute;
    width: 300px;
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    bottom: 0;
}

.welcome-image-left {
    left: 0;
    animation: fadeInLeft 1.2s ease-out 0.4s both;
}

.welcome-image-right {
    right: 0;
    animation: fadeInRight 1.2s ease-out 0.4s both;
}

.welcome-image-left:hover,
.welcome-image-right:hover {
    transform: scale(1.1);
    z-index: 3;
}

.welcome-image-left img,
.welcome-image-right img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
    /*max-width: 900px;*/
    margin: 0 auto;
    padding: 2rem;
}

.welcome-logo {
    width: 280px;
    height: auto;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInScale 1s ease-out 0.5s both;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.welcome-logo:hover {
    transform: scale(1.05);
}

.welcome-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.welcome-description {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 500;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.welcome-description p {
    margin: 0;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(82, 113, 255, 0.3);
    position: relative;
    display: inline-block;
}

.welcome-description h1 {
    margin: 0;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(82, 113, 255, 0.3);
    position: relative;
    display: inline-block;
}

.welcome-description p.line-after::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    border-radius: 2px;
    opacity: 0.6;
}

.h1 {
    font-size: 1.5em;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.welcome-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.welcome-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.welcome-btn-primary {
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(82, 113, 255, 0.4);
}

.welcome-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(82, 113, 255, 0.6);
    color: white;
}

.welcome-btn-secondary {
    background: transparent;
    color: var(--text-dark, #1e293b);
    border: 2px solid rgba(82, 113, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.welcome-btn-secondary:hover {
    background: rgba(82, 113, 255, 0.1);
    border-color: rgba(82, 113, 255, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(82, 113, 255, 0.3);
    color: var(--text-dark, #1e293b);
}

.welcome-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.welcome-btn:hover i {
    transform: translateX(5px);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .welcome-image-left,
    .welcome-image-right {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .welcome-image-left,
    .welcome-image-right {
        width: 200px;
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .welcome-hero {
        min-height: 75vh;
        padding: 4rem 0;
    }
    
    .welcome-image-left,
    .welcome-image-right {
        width: 150px;
        opacity: 0.5;
    }
    
    .welcome-logo {
        width: 200px;
        margin-bottom: 2rem;
    }
    
    .welcome-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .welcome-description p {
        font-size: 1.4rem;
    }
    
    .welcome-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem;
    }
    
    .welcome-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 2rem;
    }
}

@media (max-width: 480px) {
    .welcome-image-left,
    .welcome-image-right {
        display: none;
    }
    
    .welcome-logo {
        width: 160px;
    }
    
    .welcome-description {
        font-size: 1rem;
    }
    
    .welcome-description p {
        font-size: 1.2rem;
    }
    
    .welcome-btn {
        font-size: 1rem;
        padding: 0.85rem 1.5rem;
    }
}

/* Portfolio Preview Section */
.portfolio-preview-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, rgba(30, 41, 59, 0.05) 100%);
    overflow: hidden;
}

/* Effet de grille diagonale animée */
.portfolio-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(82, 113, 255, 0.04) 20px,
            rgba(82, 113, 255, 0.04) 22px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 20px,
            rgba(138, 43, 226, 0.03) 20px,
            rgba(138, 43, 226, 0.03) 22px
        );
    background-size: 100% 100%, 100% 100%;
    opacity: 0.6;
    z-index: 0;
    animation: portfolioGridMove 20s linear infinite;
}

@keyframes portfolioGridMove {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 40px 40px, -40px 40px;
    }
}

/* Effet de lumière focalisée */
.portfolio-preview-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(
            ellipse at center,
            rgba(82, 113, 255, 0.08) 0%,
            rgba(138, 43, 226, 0.06) 30%,
            transparent 60%
        );
    transform: translate(-50%, -50%);
    opacity: 0.5;
    z-index: 0;
    animation: portfolioLightPulse 8s ease-in-out infinite;
}

@keyframes portfolioLightPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

.portfolio-preview-container {
    position: relative;
    z-index: 2;
}

.portfolio-preview-header {
    text-align: center;
    margin-bottom: 4rem;
}

.portfolio-preview-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.portfolio-preview-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    opacity: 0.7;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.portfolio-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1200px) {
    .portfolio-preview-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .portfolio-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .portfolio-preview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.portfolio-preview-card {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    background: transparent;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform: translateY(0);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out both;
    text-decoration: none;
    display: block;
}

.portfolio-preview-card:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-preview-card:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-preview-card:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-preview-card:nth-child(4) {
    animation-delay: 0.4s;
}

.portfolio-preview-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.portfolio-preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.8s ease;
    filter: brightness(1) contrast(1) saturate(1);
}

.portfolio-preview-card:hover .portfolio-preview-image-wrapper {
    box-shadow: 0 20px 60px rgba(82, 113, 255, 0.3);
    transform: translateY(-8px);
}

.portfolio-preview-card:hover .portfolio-preview-image {
    transform: scale(1.1);
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

.portfolio-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(82, 113, 255, 0.4) 50%, rgba(138, 43, 226, 0.6) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border-radius: 20px;
}

.portfolio-preview-card:hover .portfolio-preview-overlay {
    opacity: 0.85;
}

.portfolio-preview-overlay-icon {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
}

.portfolio-preview-card:hover .portfolio-preview-overlay-icon {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.portfolio-preview-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    border-radius: 0 0 20px 20px;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.portfolio-preview-card:hover .portfolio-preview-info {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    transform: translateY(-5px);
}

.portfolio-preview-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(5px);
    opacity: 0.9;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-preview-card:hover .portfolio-preview-card-title {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-preview-card-category {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(5px);
    opacity: 0.8;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.portfolio-preview-card:hover .portfolio-preview-card-category {
    transform: translateY(0);
    opacity: 1;
    color: rgba(255, 255, 255, 1);
}

.portfolio-preview-cta {
    text-align: center;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.portfolio-preview-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(82, 113, 255, 0.4);
    border: 2px solid transparent;
}

.portfolio-preview-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(82, 113, 255, 0.6);
    color: white;
}

.portfolio-preview-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.portfolio-preview-btn:hover i {
    transform: translateX(5px);
}

/* Formes géométriques carrées/diamants pour portfolio */
.portfolio-floating-ball {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    border: 2px solid;
}

.portfolio-ball-1 {
    width: 70px;
    height: 70px;
    top: 12%;
    left: 8%;
    border-color: rgba(82, 113, 255, 0.25);
    background: rgba(82, 113, 255, 0.08);
    transform: rotate(45deg);
    box-shadow: 0 0 25px rgba(82, 113, 255, 0.15);
    animation: portfolioDiamondFloat1 17s infinite ease-in-out;
}

.portfolio-ball-2 {
    width: 90px;
    height: 90px;
    top: 65%;
    right: 10%;
    border-color: rgba(138, 43, 226, 0.25);
    background: rgba(138, 43, 226, 0.08);
    transform: rotate(45deg);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.15);
    animation: portfolioDiamondFloat2 19s infinite ease-in-out;
    animation-delay: 1.5s;
}

.portfolio-ball-3 {
    width: 60px;
    height: 60px;
    bottom: 22%;
    left: 15%;
    border-color: rgba(82, 113, 255, 0.22);
    background: rgba(82, 113, 255, 0.06);
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(82, 113, 255, 0.12);
    animation: portfolioDiamondFloat3 21s infinite ease-in-out;
    animation-delay: 3s;
}

@keyframes portfolioDiamondFloat1 {
    0%, 100% { 
        transform: translate(0, 0) rotate(45deg) scale(1);
        opacity: 0.6;
    }
    33% { 
        transform: translate(40px, -50px) rotate(135deg) scale(1.15);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-30px, 35px) rotate(-45deg) scale(0.9);
        opacity: 0.5;
    }
}

@keyframes portfolioDiamondFloat2 {
    0%, 100% { 
        transform: translate(0, 0) rotate(45deg) scale(1);
        opacity: 0.55;
    }
    25% { 
        transform: translate(-40px, 50px) rotate(135deg) scale(1.2);
        opacity: 0.75;
    }
    50% { 
        transform: translate(45px, -35px) rotate(225deg) scale(0.85);
        opacity: 0.6;
    }
    75% { 
        transform: translate(-35px, -45px) rotate(315deg) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes portfolioDiamondFloat3 {
    0%, 100% { 
        transform: translate(0, 0) rotate(45deg) scale(1);
        opacity: 0.6;
    }
    33% { 
        transform: translate(45px, -40px) rotate(135deg) scale(1.25);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-38px, 42px) rotate(-45deg) scale(0.9);
        opacity: 0.45;
    }
}

/* Lignes de connexion entre les diamants */
.portfolio-connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
}

.portfolio-connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(82, 113, 255, 0.5), transparent);
}

.portfolio-connection-line-1 {
    width: 200px;
    top: 18%;
    left: 12%;
    transform: rotate(35deg);
    animation: portfolioLinePulse 4s ease-in-out infinite;
}

.portfolio-connection-line-2 {
    width: 180px;
    top: 68%;
    right: 15%;
    transform: rotate(-28deg);
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), transparent);
    animation: portfolioLinePulse 4s ease-in-out infinite 1.5s;
}

.portfolio-connection-line-3 {
    width: 160px;
    bottom: 26%;
    left: 20%;
    transform: rotate(22deg);
    animation: portfolioLinePulse 4s ease-in-out infinite 3s;
}

@keyframes portfolioLinePulse {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleX(1.4);
    }
}

@media (max-width: 768px) {
    .portfolio-preview-section {
        padding: 4rem 0;
    }
    
    .portfolio-preview-title {
        font-size: 2rem;
    }
    
    .portfolio-preview-subtitle {
        font-size: 1.1rem;
    }
    
    .portfolio-preview-grid {
        gap: 1.5rem;
    }
}

/* Stats Section */
.stats-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    color: white;
    overflow: hidden;
}

/* Effet d'impression 3D - Lignes de couches */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    background-size: 100% 8px, 8px 100%;
    opacity: 0.6;
    z-index: 0;
    animation: printLayers 20s linear infinite;
}

@keyframes printLayers {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 100px, 100px 0;
    }
}

/* Motif de remplissage hexagonal (honeycomb) */
.stats-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    opacity: 0.4;
    z-index: 0;
    animation: honeycombMove 30s linear infinite;
}

@keyframes honeycombMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(60px, 60px) rotate(360deg);
    }
}

/* Formes 3D flottantes */
.stats-3d-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.stats-3d-shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(1px);
}

.stats-3d-shape-1 {
    width: 120px;
    height: 80px;
    top: 10%;
    left: 5%;
    border-radius: 8px;
    transform: perspective(500px) rotateX(45deg) rotateY(-15deg);
    animation: float3d1 15s ease-in-out infinite;
    box-shadow: 
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 255, 255, 0.05);
}

.stats-3d-shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 8%;
    border-radius: 12px;
    transform: perspective(500px) rotateX(-30deg) rotateY(20deg);
    animation: float3d2 18s ease-in-out infinite;
    box-shadow: 
        inset 0 0 25px rgba(255, 255, 255, 0.1),
        0 0 35px rgba(255, 255, 255, 0.05);
}

.stats-3d-shape-3 {
    width: 80px;
    height: 120px;
    bottom: 15%;
    left: 15%;
    border-radius: 6px;
    transform: perspective(500px) rotateX(20deg) rotateY(25deg);
    animation: float3d3 20s ease-in-out infinite;
    box-shadow: 
        inset 0 0 15px rgba(255, 255, 255, 0.1),
        0 0 25px rgba(255, 255, 255, 0.05);
}

.stats-3d-shape-4 {
    width: 90px;
    height: 90px;
    top: 40%;
    right: 20%;
    border-radius: 50%;
    transform: perspective(500px) rotateX(35deg) rotateZ(45deg);
    animation: float3d4 16s ease-in-out infinite;
    box-shadow: 
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 255, 255, 0.05);
}

@keyframes float3d1 {
    0%, 100% {
        transform: perspective(500px) rotateX(45deg) rotateY(-15deg) translate(0, 0);
    }
    33% {
        transform: perspective(500px) rotateX(50deg) rotateY(-10deg) translate(20px, -30px);
    }
    66% {
        transform: perspective(500px) rotateX(40deg) rotateY(-20deg) translate(-15px, 20px);
    }
}

@keyframes float3d2 {
    0%, 100% {
        transform: perspective(500px) rotateX(-30deg) rotateY(20deg) translate(0, 0);
    }
    33% {
        transform: perspective(500px) rotateX(-25deg) rotateY(25deg) translate(-25px, 25px);
    }
    66% {
        transform: perspective(500px) rotateX(-35deg) rotateY(15deg) translate(20px, -20px);
    }
}

@keyframes float3d3 {
    0%, 100% {
        transform: perspective(500px) rotateX(20deg) rotateY(25deg) translate(0, 0);
    }
    50% {
        transform: perspective(500px) rotateX(25deg) rotateY(30deg) translate(30px, -25px);
    }
}

@keyframes float3d4 {
    0%, 100% {
        transform: perspective(500px) rotateX(35deg) rotateZ(45deg) translate(0, 0);
    }
    50% {
        transform: perspective(500px) rotateX(40deg) rotateZ(50deg) translate(-20px, 30px);
    }
}

/* Lignes de contour 3D */
.stats-contour-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.stats-contour-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.stats-contour-line-1 {
    width: 2px;
    height: 200px;
    top: 20%;
    left: 10%;
    transform: rotate(15deg);
    animation: contourPulse 3s ease-in-out infinite;
}

.stats-contour-line-2 {
    width: 200px;
    height: 2px;
    top: 50%;
    right: 15%;
    transform: rotate(-10deg);
    animation: contourPulse 3s ease-in-out infinite 0.5s;
}

.stats-contour-line-3 {
    width: 2px;
    height: 150px;
    bottom: 20%;
    left: 25%;
    transform: rotate(-20deg);
    animation: contourPulse 3s ease-in-out infinite 1s;
}

@keyframes contourPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9) !important;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Services Section */
.services-preview-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, rgba(30, 41, 59, 0.05) 100%);
    overflow: hidden;
}

/* Effet de vagues animées */
.services-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(82, 113, 255, 0.08) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(138, 43, 226, 0.06) 50%, transparent 100%);
    background-size: 100% 250px, 100% 300px;
    background-position: 0 0, 0 100px;
    opacity: 1;
    z-index: 0;
    animation: servicesWave1 15s ease-in-out infinite;
    mask-image: 
        radial-gradient(ellipse 85% 55% at 50% 50%, black 35%, transparent 75%);
    -webkit-mask-image: 
        radial-gradient(ellipse 85% 55% at 50% 50%, black 35%, transparent 75%);
}

@keyframes servicesWave1 {
    0%, 100% {
        background-position: 0 0, 0 100px;
        transform: translateY(0);
    }
    50% {
        background-position: 0 120px, 0 220px;
        transform: translateY(-25px);
    }
}

/* Effet de rayons de lumière */
.services-preview-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(82, 113, 255, 0.06) 3px,
            rgba(82, 113, 255, 0.06) 6px
        );
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.5;
    z-index: 0;
    animation: servicesRays 25s linear infinite;
}

@keyframes servicesRays {
    0% {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(405deg);
    }
}

.services-preview-container {
    position: relative;
    z-index: 1;
}

/* Cercles flottants élégants */
.services-3d-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.services-3d-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.services-3d-shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    border-color: rgba(82, 113, 255, 0.25);
    background: radial-gradient(circle, rgba(82, 113, 255, 0.1) 0%, transparent 70%);
    box-shadow: 0 0 30px rgba(82, 113, 255, 0.15);
    animation: servicesCircleFloat1 20s ease-in-out infinite;
}

.services-3d-shape-2 {
    width: 120px;
    height: 120px;
    top: 70%;
    right: 8%;
    border-color: rgba(138, 43, 226, 0.25);
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.15);
    animation: servicesCircleFloat2 18s ease-in-out infinite;
}

.services-3d-shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    border-color: rgba(82, 113, 255, 0.22);
    background: radial-gradient(circle, rgba(82, 113, 255, 0.08) 0%, transparent 70%);
    box-shadow: 0 0 25px rgba(82, 113, 255, 0.12);
    animation: servicesCircleFloat3 22s ease-in-out infinite;
}

.services-3d-shape-4 {
    width: 110px;
    height: 110px;
    top: 50%;
    right: 20%;
    border-color: rgba(138, 43, 226, 0.22);
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.12);
    animation: servicesCircleFloat4 19s ease-in-out infinite;
}

@keyframes servicesCircleFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(50px, -60px) scale(1.2);
        opacity: 0.8;
    }
    66% {
        transform: translate(-40px, 40px) scale(0.9);
        opacity: 0.5;
    }
}

@keyframes servicesCircleFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }
    50% {
        transform: translate(-55px, 45px) scale(1.3);
        opacity: 0.75;
    }
}

@keyframes servicesCircleFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(45px, -50px) scale(1.15);
        opacity: 0.8;
    }
    66% {
        transform: translate(-35px, 38px) scale(0.95);
        opacity: 0.45;
    }
}

@keyframes servicesCircleFloat4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }
    50% {
        transform: translate(50px, -40px) scale(1.25);
        opacity: 0.75;
    }
}

/* Points de connexion animés */
.services-contour-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.services-contour-line {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(82, 113, 255, 0.6);
    box-shadow: 0 0 15px rgba(82, 113, 255, 0.5), 0 0 30px rgba(82, 113, 255, 0.3);
}

.services-contour-line-1 {
    top: 15%;
    left: 10%;
    animation: servicesDotPulse 3s ease-in-out infinite;
}

.services-contour-line-2 {
    top: 70%;
    right: 12%;
    background: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5), 0 0 30px rgba(138, 43, 226, 0.3);
    animation: servicesDotPulse 3s ease-in-out infinite 1s;
}

.services-contour-line-3 {
    bottom: 25%;
    left: 25%;
    animation: servicesDotPulse 3s ease-in-out infinite 2s;
}

@keyframes servicesDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(2.5);
        opacity: 1;
    }
}

.services-preview-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-preview-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.services-preview-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    opacity: 0.7;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(82, 113, 255, 0.08);
    border: 1px solid rgba(82, 113, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(82, 113, 255, 0.6) 0%, rgba(138, 43, 226, 0.6) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(82, 113, 255, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    border-color: rgba(82, 113, 255, 0.25);
    box-shadow: 0 16px 48px rgba(82, 113, 255, 0.15);
    transform: translateY(-10px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.12) 0%, rgba(138, 43, 226, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(82, 113, 255, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.2) 0%, rgba(138, 43, 226, 0.2) 100%);
    box-shadow: 0 8px 25px rgba(82, 113, 255, 0.2);
}

.service-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.service-card-description {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-card-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-card-features li:hover {
    opacity: 1;
    transform: translateX(5px);
}

.service-card-features li i {
    color: rgba(82, 113, 255, 1);
    font-size: 1rem;
    flex-shrink: 0;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(82, 113, 255, 1);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.service-card-link:hover {
    gap: 0.75rem;
    color: rgba(138, 43, 226, 1);
}

.service-card-link i {
    transition: transform 0.3s ease;
}

.service-card-link:hover i {
    transform: translateX(5px);
}

.services-preview-cta {
    text-align: center;
    margin-top: 3rem;
}

.services-preview-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(82, 113, 255, 0.4);
    border: 2px solid transparent;
}

.services-preview-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(82, 113, 255, 0.6);
    color: white;
}

.services-preview-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.services-preview-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .services-preview-section {
        padding: 4rem 0;
    }
    
    .services-preview-title {
        font-size: 2rem;
    }
    
    .services-preview-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Partners Section - Same style as stats-section */
.partners-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    color: white;
    overflow: hidden;
}

/* Effet d'impression 3D - Lignes de couches */
.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    background-size: 100% 8px, 8px 100%;
    opacity: 0.6;
    z-index: 0;
    animation: printLayers 20s linear infinite;
}

/* Motif de remplissage hexagonal (honeycomb) */
.partners-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    opacity: 0.4;
    z-index: 0;
    animation: honeycombMove 30s linear infinite;
}

.partners-container {
    position: relative;
    z-index: 1;
}

.partners-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partners-scroll-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.partners-scroll {
    display: flex;
    gap: 4rem;
    width: fit-content;
    will-change: transform;
    animation: scrollPartners 40s linear infinite;
}

@keyframes scrollPartners {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.partner-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.partner-logo-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.partner-logo-item:hover img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .partners-title {
        font-size: 2rem;
    }
    
    .partner-logo-item {
        width: 150px;
        height: 90px;
        padding: 1rem;
    }
    
    .partners-scroll {
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .partners-title {
        font-size: 1.5rem;
    }
    
    .partner-logo-item {
        width: 120px;
        height: 70px;
        padding: 0.75rem;
    }
    
    .partners-scroll {
        gap: 2rem;
    }
}

/* About Preview */
.about-preview {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(82, 113, 255, 1) 0%, rgba(138, 43, 226, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(82, 113, 255, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Dark Mode Styles for Home Page
   ============================================ */

body.dark-mode .welcome-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.3) 0%, rgba(30, 41, 59, 0.4) 100%);
}

body.dark-mode .welcome-description h1 {
    color: var(--text-dark);
}

body.dark-mode .welcome-description p {
    color: var(--text-light);
}

body.dark-mode .portfolio-preview-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(30, 41, 59, 0.5) 100%);
}

body.dark-mode .portfolio-preview-title {
    color: var(--text-dark);
}

body.dark-mode .portfolio-preview-subtitle {
    color: var(--text-light);
}

body.dark-mode .portfolio-preview-card:hover .portfolio-preview-image-wrapper {
    box-shadow: 0 20px 60px rgba(82, 113, 255, 0.4);
}

body.dark-mode .stats-section {
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.9) 0%, rgba(138, 43, 226, 0.9) 100%);
}

body.dark-mode .stat-number {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .services-preview-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(30, 41, 59, 0.5) 100%);
}

body.dark-mode .services-preview-title {
    color: var(--text-dark);
}

body.dark-mode .services-preview-subtitle {
    color: var(--text-light);
}

/* Dark Mode Service Cards */
body.dark-mode .service-card {
    background-color: rgba(26, 26, 46, 0.9);
    border-color: rgba(82, 113, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-card:hover {
    border-color: rgba(82, 113, 255, 0.4);
    box-shadow: 0 16px 48px rgba(82, 113, 255, 0.2);
}

body.dark-mode .service-card-title {
    color: var(--text-dark);
}

body.dark-mode .service-card-description {
    color: var(--text-light);
}

body.dark-mode .service-card-features li {
    color: var(--text-light);
}

body.dark-mode .service-card-features li i {
    color: var(--primary-color);
}

body.dark-mode .service-card-link {
    color: var(--primary-light);
}

body.dark-mode .service-card-link:hover {
    color: var(--primary-color);
}

body.dark-mode .service-icon {
    background: rgba(82, 113, 255, 0.1);
}

body.dark-mode .service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(82, 113, 255, 0.25) 0%, rgba(138, 43, 226, 0.25) 100%);
}

/* Dark Mode About Section */
body.dark-mode .about-preview {
    background-color: var(--bg-dark);
}

body.dark-mode .about-text p {
    color: var(--text-light);
}

body.dark-mode .about-image {
    box-shadow: 0 10px 40px rgba(82, 113, 255, 0.3);
}