/* Variables */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #2e2e41;
    --accent-color: #00c9a7;
    --light-color: #f8f9fa;
    --dark-color: #1a1a2e;
    --text-color: #4a4a68;
    --border-color: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #5a54d4 100%);
    --gradient-secondary: linear-gradient(135deg, #00c9a7 0%, #00a8b5 100%);
    --gradient-mesh: linear-gradient(135deg, #fafbff 0%, #f4f6fe 25%, #f0f2ff 50%, #f8f9fe 75%, #fafbff 100%);
    --gradient-section-light: linear-gradient(180deg, #ffffff 0%, #f8f9fe 50%, #fafbff 100%);
    --gradient-section-alt: linear-gradient(180deg, #f8f9fe 0%, #ffffff 30%, #f4f6fe 70%, #f8f9fe 100%);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --floating-speed: 15s;
    --floating-speed-alt: 20s;
    --gradient-animation: 8s;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient-mesh);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(108, 99, 255, 0.015) 1px, transparent 0);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

section {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 3.6rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: textFadeIn 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 20px rgba(108, 99, 255, 0.06);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-header:hover h2::after {
    width: 100%;
}

.section-line {
    width: 8rem;
    height: 0.4rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    margin: 0 auto;
    border-radius: 5rem;
    animation: gradient-line 4s ease infinite;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2.5rem;
    border-radius: 5rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a54d4 50%, var(--accent-color) 100%);
    background-size: 200% 100%;
    color: white;
    box-shadow: 
        0 4px 20px rgba(108, 99, 255, 0.35),
        0 2px 10px rgba(0, 201, 167, 0.2);
    transition: var(--transition), background-position 0.5s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background-position: 100% 0;
    box-shadow: 
        0 8px 25px rgba(108, 99, 255, 0.4),
        0 4px 15px rgba(0, 201, 167, 0.25);
}

.secondary-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fe 100%);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(108, 99, 255, 0.08);
}

.secondary-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(108, 99, 255, 0.35);
}

/* Barre de progression de lecture */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 254, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 2px 20px rgba(108, 99, 255, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(108, 99, 255, 0.06);
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    padding: 1rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 255, 0.97) 100%);
    box-shadow: 
        0 4px 25px rgba(108, 99, 255, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.06);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    font-size: 1.4rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
    position: relative;
    background: 
        radial-gradient(ellipse 150% 100% at 50% 50%, rgba(108, 99, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(0, 201, 167, 0.04) 0%, transparent 50%),
        #f8f9fe;
}

.hero-content {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-section h1 {
    font-family: var(--font-secondary);
    font-size: 6.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.glitch-effect {
    position: relative;
    color: var(--secondary-color);
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 2s infinite;
}

.glitch-effect span {
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                    0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                    0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.hero-section .subtitle {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
}

.hero-trust-block {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-response-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.hero-response-badge i {
    font-size: 1.2rem;
}

.hero-testimonial-teaser {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.hero-testimonial-teaser:hover {
    color: var(--primary-color);
}

.hero-stars {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.hero-teaser-text {
    opacity: 0.9;
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.geometric-shape {
    display: none;
}

@keyframes morphShape {
    0% {
        border-radius: 35% 65% 60% 40% / 45% 45% 55% 55%;
    }
    25% {
        border-radius: 25% 75% 70% 30% / 55% 30% 70% 45%;
    }
    50% {
        border-radius: 65% 35% 30% 70% / 35% 65% 35% 65%;
    }
    75% {
        border-radius: 55% 45% 40% 60% / 45% 60% 40% 50%;
    }
    100% {
        border-radius: 35% 65% 60% 40% / 45% 45% 55% 55%;
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* About Section */
.about-section {
    background: 
        radial-gradient(ellipse 70% 60% at 10% 30%, rgba(108, 99, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 90% 70%, rgba(0, 201, 167, 0.05) 0%, transparent 50%),
        var(--gradient-section-light);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 6rem;
    align-items: center;
}

.about-image {
    flex: 1;
}

.image-container {
    position: relative;
    max-width: 40rem;
    margin: 0 auto;
}

.image-container img {
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.availability-status {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00c9a7;
    display: inline-block;
    animation: blink 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 201, 167, 0.6);
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-weight: 600;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* Skills Section */
.skills-section {
    background: 
        radial-gradient(ellipse 70% 90% at 85% 10%, rgba(108, 99, 255, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse 60% 70% at 10% 90%, rgba(0, 201, 167, 0.1) 0%, transparent 45%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 152, 0, 0.04) 0%, transparent 60%),
        linear-gradient(180deg, #f8f9fe 0%, #f2f5ff 40%, #f8f9fe 80%, #fafbff 100%);
    position: relative;
    overflow: hidden;
}

.skills-content {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.skill-category {
    margin-bottom: 4rem;
}

.skill-category:nth-child(1) h3::before {
    background: var(--gradient-primary);
}

.skill-category:nth-child(2) h3::before {
    background: var(--gradient-secondary);
}

.skill-category:nth-child(3) h3::before {
    background: linear-gradient(135deg, #ff9800 0%, #ff7043 100%);
}

.skill-category h3 {
    font-family: var(--font-secondary);
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    padding-left: 1.5rem;
}

.skill-category h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.6rem;
    height: 2.5rem;
    border-radius: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2.5rem;
}

.skill-item {
    background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 
        0 4px 20px rgba(108, 99, 255, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(108, 99, 255, 0.1);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 0 3px 3px 0;
    transition: height 0.35s ease;
}

.skill-item:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 16px 40px rgba(108, 99, 255, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(108, 99, 255, 0.18);
}

.skill-item:hover::before {
    height: 100%;
}

.skill-category:nth-child(2) .skill-item::before {
    background: var(--gradient-secondary);
}

.skill-category:nth-child(3) .skill-item::before {
    background: linear-gradient(180deg, #ff9800, #ff7043);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1.2rem;
    background: var(--gradient-primary);
    color: white;
    margin-right: 1.5rem;
    font-size: 2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 18px rgba(108, 99, 255, 0.35);
}

.skill-category:nth-child(2) .skill-icon {
    background: var(--gradient-secondary);
    box-shadow: 0 6px 18px rgba(0, 201, 167, 0.35);
}

.skill-category:nth-child(3) .skill-icon {
    background: linear-gradient(135deg, #ff9800 0%, #ff7043 100%);
    box-shadow: 0 6px 18px rgba(255, 152, 0, 0.35);
}

.skill-item:hover .skill-icon {
    transform: scale(1.08) rotate(-5deg);
}

.skill-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    padding-right: 3.5rem;
}

.skill-info h4 {
    font-size: 1.7rem;
    margin-bottom: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.skill-bar {
    height: 0.7rem;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.skill-category:nth-child(2) .skill-bar {
    background: rgba(0, 201, 167, 0.12);
}

.skill-category:nth-child(3) .skill-bar {
    background: rgba(255, 152, 0, 0.12);
}

.skill-info::after {
    content: attr(data-percent) '%';
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
    line-height: 1;
}

.skill-category:nth-child(2) .skill-info::after {
    color: var(--accent-color);
}

.skill-category:nth-child(3) .skill-info::after {
    color: #ff9800;
}

.skill-level {
    height: 100%;
    border-radius: 1rem;
    width: 0 !important;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-category:nth-child(1) .skill-level {
    background: linear-gradient(90deg, #6c63ff 0%, #8b85ff 100%);
}

.skill-category:nth-child(2) .skill-level {
    background: linear-gradient(90deg, #00c9a7 0%, #00e5c0 100%);
}

.skill-category:nth-child(3) .skill-level {
    background: linear-gradient(90deg, #ff9800 0%, #ffb74d 100%);
}

.skill-item.appear .skill-level {
    width: attr(data-level) !important;
}

/* Projects Section */
.projects-section {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(0, 201, 167, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 70% 40% at 85% 70%, rgba(108, 99, 255, 0.07) 0%, transparent 45%),
        var(--gradient-section-light);
    position: relative;
    overflow: hidden;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, #f8f9fe 0%, #f0f2ff 100%);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: 3rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.04);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
    gap: 3rem;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-item {
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcff 100%);
    box-shadow: 
        0 4px 20px rgba(108, 99, 255, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(108, 99, 255, 0.06);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    z-index: -1;
    opacity: 0;
    border-radius: 1rem;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-item:hover::before {
    opacity: 0.05;
    transform: scale(1.05);
}

.project-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 45px rgba(108, 99, 255, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(108, 99, 255, 0.2);
    cursor: pointer;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.project-item:hover .project-image {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Style amélioré pour l'icône centrale du projet */
.project-icon {
    position: relative;
    z-index: 1;
    font-size: 5.5rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: inherit;
    pointer-events: none;
}

/* Animation au survol de l'icône */
.project-item:hover .project-icon {
    transform: scale(1.2) translateY(-5px);
    color: white;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
}

/* Effet de halo autour de l'icône */
.project-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.5s ease;
}

.project-item:hover .project-icon::after {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

/* Masquer complètement l'overlay et l'image */
.project-overlay, .project-image img {
    display: none;
}

/* Ajout d'un effet de particules subtil */
.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 10%),
                      radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 8%),
                      radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 5%),
                      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.07) 0%, transparent 7%);
    z-index: 0;
}

/* Amélioration de l'ombre pour donner plus de profondeur */
.project-item {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Masquer l'overlay standard car nous utilisons maintenant l'icône directement */
.project-overlay {
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.8) 0%, rgba(0, 201, 167, 0.8) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: scale(1);
}

.project-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    cursor: pointer;
}

.project-item:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-info {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.project-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.8rem;
    cursor: inherit;
}

.project-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.project-item:hover .project-info h3::after {
    width: 80px;
}

.project-info p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-color-light);
    line-height: 1.6;
    cursor: inherit;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tags span {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: inherit;
}

.project-tags span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: width 0.3s ease;
    z-index: -1;
    opacity: 0.15;
}

.project-tags span:hover {
    color: var(--primary-color);
}

.project-tags span:hover::before {
    width: 100%;
}

/* Blog Section */
.blog-section {
    padding: 12rem 2rem 8rem;
    background: linear-gradient(180deg, #fafbff 0%, #f4f6fe 50%, #f8f9fe 100%);
    position: relative;
    scroll-margin-top: 120px;
}

.blog-section .section-header {
    margin-bottom: 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(108, 99, 255, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(108, 99, 255, 0.2);
}

.blog-card-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(0, 201, 167, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary-color);
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.blog-card h3 {
    font-size: 1.6rem;
    font-family: var(--font-secondary);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 1.35rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-card-link:hover {
    gap: 0.8rem;
    color: #5a54d4;
}

@media (max-width: 768px) {
    .blog-section {
        padding: 6rem 1.5rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Timeline Section */
.timeline-section {
    background: 
        radial-gradient(ellipse 70% 60% at 80% 20%, rgba(108, 99, 255, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse 50% 70% at 15% 60%, rgba(0, 201, 167, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #f8f9fe 0%, #fafbff 30%, #f4f6fe 60%, #f8f9fe 100%);
    position: relative;
    overflow: hidden;
}

.timeline-container {
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    width: 50%;
    padding-right: 5rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 5rem;
    transform: translateX(30px);
}

.timeline-dot {
    position: absolute;
    top: 0;
    right: -0.9rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -0.9rem;
}

.timeline-date {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(120%);
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: 0;
    transform: translateX(-120%);
}

.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #fcfcff 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 
        0 4px 15px rgba(108, 99, 255, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(108, 99, 255, 0.08);
}

.timeline-content h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.timeline-location {
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.timeline-item.appear {
    opacity: 1;
    transform: translateX(0);
}

/* Motivation Section */
.motivation-section {
    background-color: white;
}

.motivation-content {
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.letter-container {
    background: white;
    border-radius: 1rem;
    padding: 4rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.letter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background: var(--gradient-primary);
    border-radius: 1rem 1rem 0 0;
}

.letter-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.letter-info p, 
.letter-date p {
    margin-bottom: 0.5rem;
}

.letter-body {
    line-height: 1.8;
    text-align: justify;
}

.letter-body p {
    margin-bottom: 1.5rem;
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 2.4rem;
    color: var(--secondary-color);
    margin-top: 3rem;
    text-align: right;
}

/* FAQ Section */
.faq-section {
    padding: 10rem 2rem;
    background: 
        radial-gradient(ellipse 70% 60% at 20% 30%, rgba(108, 99, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(0, 201, 167, 0.05) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fe 50%, #fafbff 100%);
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcff 100%);
    border: 1px solid rgba(108, 99, 255, 0.08);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.04);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 2.5rem 2rem;
    margin: 0;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.5rem;
}

.faq-section .section-header,
.faq-section .faq-container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 6rem 1.5rem;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.5rem 1.5rem;
        font-size: 1.5rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
        font-size: 1.4rem;
    }
}

/* Contact Section */
.contact-section {
    background: 
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(108, 99, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(0, 201, 167, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #f4f6fe 0%, #f8f9fe 40%, #fafbff 100%);
    position: relative;
    overflow: hidden;
}

.contact-content {
    display: flex;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 5rem;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    margin-bottom: 3rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    background: var(--gradient-primary);
    color: white;
    margin-right: 2rem;
    font-size: 2.4rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-social h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: white;
    color: var(--text-color);
    font-size: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcff 100%);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 
        0 8px 35px rgba(108, 99, 255, 0.08),
        0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(108, 99, 255, 0.08);
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header h3 {
    margin-bottom: 0.5rem;
}

.contact-form .response-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
    border-radius: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-form h3 {
    font-size: 2.4rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.contact-form .form-row {
    display: flex;
    gap: 2rem;
}

.contact-form .form-row--two .form-group {
    flex: 1;
}

@media (max-width: 600px) {
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-group input,
.form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #f8f9fe 0%, #f0f2ff 100%);
    border: 1px solid rgba(108, 99, 255, 0.1);
    transition: var(--transition);
    font-family: inherit;
    font-size: 1.5rem;
}

.contact-form .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c63ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 4rem;
}

.form-group input:focus,
.form-group textarea:focus,
.contact-form .form-group select:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.submit-btn {
    width: 100%;
    justify-content: center;
}

.submit-btn i {
    margin-left: 1rem;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 1.4rem;
}

.footer-bottom .fa-heart {
    color: #ff6b6b;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    html {
        font-size: 56.25%; /* 9px */
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .image-container {
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 8rem;
        right: -100%;
        width: 60%;
        height: calc(100vh - 8rem);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        transition: 0.5s;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .burger {
        display: block;
    }
    
    .burger.active .line1 {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .burger.active .line2 {
        opacity: 0;
    }
    
    .burger.active .line3 {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero-section h1 {
        font-size: 5rem;
    }
    
    .hero-visual {
        width: 100%;
        height: 100%;
        opacity: 0.2;
    }
    
    .geometric-shape {
        width: 35rem;
        height: 35rem;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 6rem;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 6rem;
    }
    
    .timeline-dot {
        left: 2rem;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 2rem;
    }
    
    .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        position: relative;
        left: 0;
        right: auto;
        transform: none;
        margin-bottom: 1rem;
        display: inline-block;
    }
}

@media screen and (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }

    .hero-trust-block {
        margin-top: 2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-section h1 {
        font-size: 4rem;
    }
    
    .letter-container {
        padding: 2.5rem;
    }
    
    .letter-header {
        flex-direction: column;
    }
    
    .letter-date {
        margin-top: 1.5rem;
    }
    
    .project-badge {
        top: -20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .project-badge i {
        font-size: 24px;
    }
}

/* Cursor Styles */
* {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.3);
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-trail {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.3);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s, width 0.1s, height 0.1s, background-color 0.1s;
}

a, button, .btn, input[type="submit"], .filter-btn, .close-modal {
    cursor: none;
}

a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor,
.btn:hover ~ .custom-cursor,
input[type="submit"]:hover ~ .custom-cursor,
.filter-btn:hover ~ .custom-cursor,
.close-modal:hover ~ .custom-cursor {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 201, 167, 0.2);
}

/* Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    max-width: 80%;
    position: relative;
}

.loader-logo {
    font-family: var(--font-secondary);
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite alternate;
    display: inline-block;
    position: relative;
}

.loader-logo::after {
    content: 'L';
    position: absolute;
    top: 0;
    left: 110%;
    color: var(--accent-color);
    animation: appear 2s forwards;
    opacity: 0;
}

@keyframes appear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
    }
    100% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(108, 99, 255, 0.8);
    }
}

.loader-progress {
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.loader-bar {
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: loading 2s ease forwards;
}

@keyframes loading {
    0% {
        width: 0;
    }
    50% {
        width: 60%;
    }
    100% {
        width: 100%;
    }
}

.loader-text {
    color: white;
    font-family: var(--font-primary);
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.loader-text::after {
    content: '.';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40%, 60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}

.loader-content::before,
.loader-content::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    z-index: -1;
}

.loader-content::before {
    top: -50px;
    left: -100px;
    animation: pulse-slow 4s infinite alternate;
}

.loader-content::after {
    bottom: -30px;
    right: -60px;
    animation: pulse-slow 4s 0.5s infinite alternate;
    background: var(--accent-color);
}

@keyframes pulse-slow {
    0% {
        transform: scale(0.8);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: white;
    width: 80%;
    max-width: 900px;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.8rem;
    color: var(--text-color);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.modal h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.personality-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.personality-section {
    transition: var(--transition);
}

.personality-section:hover {
    transform: translateY(-5px);
}

.personality-section h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.personality-section h3 i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.8rem;
}

.personality-section p {
    color: var(--text-color);
    line-height: 1.7;
}

/* CTA Buttons Group */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media screen and (max-width: 768px) {
    .personality-content {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 90%;
        padding: 2.5rem 2rem;
    }
}

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

/* Contenu des sections au premier plan */
.about-section .about-content,
.about-section .section-header,
.skills-section .skills-content,
.skills-section .section-header,
.services-section .section-header,
.services-section .services-container,
.process-section .section-header,
.process-section .process-container,
.why-choose-section .section-header,
.why-choose-section .why-scroll-wrapper,
.projects-section .section-header,
.projects-section .filter-buttons,
.projects-section .projects-grid,
.timeline-section .section-header,
.timeline-section .timeline-container,
.testimonials-section .section-header,
.testimonials-section .testimonials-carousel-wrapper,
.faq-section .section-header,
.faq-section .faq-container,
.contact-section .section-header,
.contact-section .contact-content {
    position: relative;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.2;
    z-index: -1;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: floatingY var(--floating-speed) ease-in-out infinite alternate;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: floatingX var(--floating-speed-alt) ease-in-out infinite alternate;
}

.shape-3 {
    bottom: 10%;
    left: 20%;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph var(--floating-speed) ease-in-out infinite alternate;
}

.shape-4 {
    top: 30%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 30% 70% 50% 50% / 40% 60% 40% 60%;
    animation: floatingRotate var(--floating-speed) ease-in-out infinite alternate;
}

@keyframes floatingY {
    0% {
        transform: translateY(0) rotate(0);
    }
    100% {
        transform: translateY(50px) rotate(20deg);
    }
}

@keyframes floatingX {
    0% {
        transform: translateX(0) rotate(0);
    }
    100% {
        transform: translateX(-40px) rotate(-30deg);
    }
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

@keyframes floatingRotate {
    0% {
        transform: rotate(0) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(0.8);
    }
}

/* Gradient dynamique animé */
.gradient-border {
    position: relative;
    padding: 3px;
    border-radius: 1rem;
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--accent-color), 
        var(--secondary-color), 
        var(--primary-color));
    background-size: 400% 400%;
    z-index: -1;
    border-radius: inherit;
    animation: gradient-animation var(--gradient-animation) ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation de texte pour les titres de section */
@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet parallax pour le fond */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: radial-gradient(circle at 10% 20%, rgba(108, 99, 255, 0.05) 0%, rgba(0, 201, 167, 0.07) 90%);
    z-index: -1;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Effet 3D Tilt pour les cartes */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tilt-card-inner {
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tilt-card:hover .tilt-card-inner {
    transform: translateZ(20px);
}

.tilt-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.tilt-card:hover .tilt-card-shine {
    opacity: 1;
}

/* Animation de scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    opacity: 0;
}

.fade-in-up.appear {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Délai d'animation */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Cercles animés dans la section hero */
.animated-circles {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse-circles 8s infinite alternate;
}

.circle-1 {
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    animation-delay: 0s;
}

.circle-2 {
    top: 40%;
    right: 25%;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    animation-delay: 2s;
}

.circle-3 {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    animation-delay: 4s;
}

@keyframes pulse-circles {
    0% {
        transform: scale(0.8);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.15;
    }
}

/* Bulles flottantes */
.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color) 0%, rgba(255, 255, 255, 0.3) 100%);
    opacity: 0.1;
    filter: blur(1px);
    animation: float-up 20s infinite linear;
}

.b1 {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 15s;
}

.b2 {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 18s;
    animation-delay: 1s;
}

.b3 {
    width: 50px;
    height: 50px;
    left: 30%;
    animation-duration: 16s;
    animation-delay: 3s;
}

.b4 {
    width: 30px;
    height: 30px;
    left: 40%;
    animation-duration: 19s;
    animation-delay: 2s;
}

.b5 {
    width: 45px;
    height: 45px;
    left: 50%;
    animation-duration: 17s;
    animation-delay: 4s;
}

.b6 {
    width: 25px;
    height: 25px;
    left: 60%;
    animation-duration: 20s;
}

.b7 {
    width: 35px;
    height: 35px;
    left: 70%;
    animation-duration: 22s;
    animation-delay: 3s;
}

.b8 {
    width: 55px;
    height: 55px;
    left: 80%;
    animation-duration: 25s;
    animation-delay: 5s;
}

@keyframes float-up {
    0% {
        bottom: -100px;
        transform: translateX(0) rotate(0);
    }
    50% {
        transform: translateX(30px) rotate(180deg);
    }
    100% {
        bottom: 100vh;
        transform: translateX(-20px) rotate(360deg);
    }
}

/* Animation du parcours */
.journey-path {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background: transparent;
    z-index: -1;
    pointer-events: none;
    display: none;
}

.journey-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    animation: path-grow 3s ease-out forwards;
}

.journey-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
    opacity: 0;
}

.journey-start {
    top: 0;
    animation: dot-appear 0.5s ease-out 0.5s forwards;
}

.journey-mid {
    top: 50%;
    animation: dot-appear 0.5s ease-out 1.5s forwards;
}

.journey-end {
    bottom: 0;
    animation: dot-appear 0.5s ease-out 2.5s forwards;
}

@keyframes path-grow {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

@keyframes dot-appear {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* Vagues du footer */
.wave-container {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    pointer-events: none;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%236c63ff"/></svg>');
    background-size: 1200px 60px;
    animation: wave-animation 10s linear infinite;
}

.wave1 {
    opacity: 0.3;
    animation-duration: 10s;
}

.wave2 {
    opacity: 0.2;
    animation-duration: 8s;
}

.wave3 {
    opacity: 0.1;
    animation-duration: 6s;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Effet de survol glow pour les boutons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn:hover {
    filter: url('#glow');
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn:hover::before {
    transform: rotate(45deg) translateY(-300%);
}

/* Amélioration de l'effet glitch du titre */
.glitch-effect {
    position: relative;
    color: var(--secondary-color);
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 2s infinite;
}

.glitch-effect span {
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                    0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                    0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

/* Amélioration des effets de survol des cartes de projet */
.project-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2) 0%, rgba(0, 201, 167, 0.1) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    border-radius: 1rem;
    filter: url('#turbulence');
}

.project-item:hover::after {
    opacity: 1;
}

/* Badges pour les projets */
.project-badge {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-badge i {
    font-size: 34px;
    color: white;
    transition: transform 0.3s ease;
}

.project-item:hover .project-badge {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(108, 99, 255, 0.5);
}

.project-item:hover .project-badge i {
    transform: scale(1.1);
}

/* Animation du fond des projets */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Icône pour fa-chart-network */
.fa-chart-network::before {
    content: "\f643"; /* Utiliser l'icône fa-network-wired */
}

/* Style pour le bouton "Voir plus de projets" */
.more-projects {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.more-projects .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.more-projects .btn i {
    transition: transform 0.3s ease;
}

.more-projects .btn:hover i {
    transform: translateX(4px);
}

.more-projects .btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: height 0.3s ease;
    z-index: -1;
}

.more-projects .btn:hover::after {
    height: 100%;
}

/* Amélioration des animations pour les éléments de la page */
.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-down.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Amélioration de l'interaction du titre de section */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-header:hover h2::after {
    width: 100%;
}

/* Amélioration de l'aspect des informations du projet */
.project-info {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.project-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.8rem;
    cursor: inherit;
}

.project-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.project-item:hover .project-info h3::after {
    width: 80px;
}

.project-info p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-color-light);
    line-height: 1.6;
    cursor: inherit;
}

/* Bouton spécial pour la galerie */
.special-btn {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.special-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.special-btn:hover::before {
    opacity: 1;
}

.special-btn i {
    font-size: 1.2em;
}

/* Modal Galerie */
.gallery-modal-content {
    max-width: 90%;
    width: 1200px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
}

.gallery-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.gallery-category {
    padding: 0.5rem 1.2rem;
    background: var(--light-bg);
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.gallery-category.active,
.gallery-category:hover {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-info h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gallery-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transform: scale(0);
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-zoom {
    transform: scale(1);
}

.gallery-zoom:hover {
    background: white;
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .gallery-modal-content {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .gallery-categories {
        gap: 0.5rem;
    }
    
    .gallery-category {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 576px) {
    .special-btn {
        margin-top: 0.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-modal-content {
        padding: 1rem;
    }
}

/* Suppression des badges et de l'overlay - AJOUT FINAL */
.project-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.project-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ajustement final des icônes */
.project-icon {
    font-size: 6rem !important;
    opacity: 1 !important;
} 

/* Style pour la description de la galerie */
.gallery-description {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Icônes flottantes de marketing digital */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.8); /* Augmentation de l'opacité */
    filter: drop-shadow(0 0 15px rgba(108, 99, 255, 0.7)); /* Renforcement de la lueur */
    z-index: 2;
    animation: float-icon 8s linear infinite; /* Animation plus rapide */
    opacity: 0.9; /* Opacité de base plus élevée */
    transition: all 0.3s ease;
    font-size: 2.8rem !important; /* Taille plus grande */
}

.floating-icon:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Animation des icônes flottantes */
@keyframes float-icon {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(25px, 25px) rotate(10deg); /* Mouvements plus amples */
    }
    50% {
        transform: translate(-20px, 40px) rotate(-10deg); /* Mouvements plus amples */
    }
    75% {
        transform: translate(-30px, 15px) rotate(10deg); /* Mouvements plus amples */
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Effet de couleur permanente pour certaines icônes */
.floating-icon.fab.fa-tiktok {
    color: rgba(238, 29, 82, 0.8);
}

.floating-icon.fab.fa-instagram {
    color: rgba(193, 53, 132, 0.8);
}

.floating-icon.fab.fa-facebook {
    color: rgba(66, 103, 178, 0.8);
}

.floating-icon.fab.fa-snapchat {
    color: rgba(255, 252, 0, 0.8);
}

.floating-icon.fab.fa-wordpress {
    color: rgba(33, 117, 155, 0.8);
}

.floating-icon.fab.fa-twitter {
    color: rgba(29, 161, 242, 0.8);
}

.floating-icon.fab.fa-youtube {
    color: rgba(255, 0, 0, 0.8);
}

.floating-icon.fab.fa-linkedin {
    color: rgba(10, 102, 194, 0.8);
}

.floating-icon.fab.fa-shopify {
    color: rgba(122, 181, 92, 0.8);
}

.floating-icon.fab.fa-google {
    color: rgba(66, 133, 244, 0.8);
}

.floating-icon.fas.fa-hashtag,
.floating-icon.fas.fa-ad,
.floating-icon.fas.fa-chart-line,
.floating-icon.fas.fa-envelope,
.floating-icon.fas.fa-shopping-cart,
.floating-icon.fas.fa-search {
    color: rgba(108, 99, 255, 0.8);
}

/* Positionnement et taille des icônes */
.floating-icon:nth-child(1) {
    top: 15%;
    left: 10%;
    font-size: 2.5rem;
    animation-duration: 18s;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 25%;
    left: 85%;
    font-size: 2.2rem;
    animation-duration: 20s;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    top: 45%;
    left: 20%;
    font-size: 1.8rem;
    animation-duration: 17s;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    top: 65%;
    left: 70%;
    font-size: 2.3rem;
    animation-duration: 22s;
    animation-delay: 3s;
}

.floating-icon:nth-child(5) {
    top: 75%;
    left: 30%;
    font-size: 2.4rem;
    animation-duration: 25s;
    animation-delay: 4s;
}

.floating-icon:nth-child(6) {
    top: 10%;
    left: 60%;
    font-size: 2rem;
    animation-duration: 19s;
    animation-delay: 5s;
}

.floating-icon:nth-child(7) {
    top: 80%;
    left: 85%;
    font-size: 2.6rem;
    animation-duration: 21s;
    animation-delay: 6s;
}

.floating-icon:nth-child(8) {
    top: 35%;
    left: 45%;
    font-size: 1.9rem;
    animation-duration: 23s;
    animation-delay: 7s;
}

.floating-icon:nth-child(9) {
    top: 50%;
    left: 5%;
    font-size: 2.2rem;
    animation-duration: 24s;
    animation-delay: 8s;
}

.floating-icon:nth-child(10) {
    top: 20%;
    left: 30%;
    font-size: 2.3rem;
    animation-duration: 26s;
    animation-delay: 9s;
}

.floating-icon:nth-child(11) {
    top: 65%;
    left: 55%;
    font-size: 1.7rem;
    animation-duration: 18s;
    animation-delay: 10s;
}

.floating-icon:nth-child(12) {
    top: 40%;
    left: 80%;
    font-size: 2.1rem;
    animation-duration: 16s;
    animation-delay: 11s;
}

.floating-icon:nth-child(13) {
    top: 85%;
    left: 15%;
    font-size: 2.4rem;
    animation-duration: 19s;
    animation-delay: 12s;
}

.floating-icon:nth-child(14) {
    top: 15%;
    left: 75%;
    font-size: 2rem;
    animation-duration: 22s;
    animation-delay: 13s;
}

.floating-icon:nth-child(15) {
    top: 30%;
    left: 65%;
    font-size: 1.8rem;
    animation-duration: 20s;
    animation-delay: 14s;
}

.floating-icon:nth-child(16) {
    top: 55%;
    left: 40%;
    font-size: 2.2rem;
    animation-duration: 21s;
    animation-delay: 15s;
}

/* Animation des icônes flottantes */
@keyframes float-icon {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, 15px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, 30px) rotate(-5deg);
    }
    75% {
        transform: translate(-20px, 10px) rotate(5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Effet de couleur au survol */
.floating-icon.fab.fa-tiktok:hover {
    color: #EE1D52;
}

.floating-icon.fab.fa-instagram:hover {
    color: #C13584;
}

.floating-icon.fab.fa-facebook:hover {
    color: #4267B2;
}

.floating-icon.fab.fa-snapchat:hover {
    color: #FFFC00;
}

.floating-icon.fab.fa-wordpress:hover {
    color: #21759B;
}

.floating-icon.fab.fa-twitter:hover {
    color: #1DA1F2;
}

.floating-icon.fab.fa-youtube:hover {
    color: #FF0000;
}

.floating-icon.fab.fa-linkedin:hover {
    color: #0A66C2;
}

.floating-icon.fab.fa-shopify:hover {
    color: #7AB55C;
}

.floating-icon.fab.fa-google:hover {
    color: #4285F4;
}

.floating-icon.fas.fa-hashtag:hover,
.floating-icon.fas.fa-ad:hover,
.floating-icon.fas.fa-chart-line:hover,
.floating-icon.fas.fa-envelope:hover,
.floating-icon.fas.fa-shopping-cart:hover,
.floating-icon.fas.fa-search:hover {
    color: #6c63ff;
}

/* Animation d'apparition des icônes au chargement */
.floating-icon {
    animation-name: float-icon, fade-in;
    animation-duration: 15s, 1.5s;
    animation-timing-function: linear, ease-in;
    animation-iteration-count: infinite, 1;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* Adaptation mobile */
@media screen and (max-width: 768px) {
    .floating-icon {
        font-size: 1.5rem !important;
    }
}

/* Styles pour le formulaire de contact / devis */
.form-status {
    margin-top: 15px;
    display: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-status.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border-left: 4px solid #27ae60;
}

.form-status.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
}

.success-message {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border-left: 4px solid #27ae60;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.success-message i, .error-message i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Animation pour l'apparition des messages */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-status {
    animation: fadeInUp 0.4s ease forwards;
}

/* Mise en évidence du formulaire de contact */
.highlight-form {
    animation: highlight-pulse 2s ease-in-out;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.7);
}

@keyframes highlight-pulse {
    0% {
        box-shadow: 0 0 5px rgba(108, 99, 255, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(108, 99, 255, 0.7);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 5px rgba(108, 99, 255, 0.4);
        transform: scale(1);
    }
}

.protected-email {
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px dashed #6c63ff;
    transition: all 0.3s ease;
}

.protected-email:hover {
    color: #6c63ff;
    border-bottom-style: solid;
}

.protected-email::after {
    content: '\f0d8';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #6c63ff;
    opacity: 0;
    transition: all 0.3s ease;
}

.protected-email:hover::after {
    opacity: 1;
    bottom: -16px;
}

/* Style pour l'icône de profil qui remplace la photo */
.profile-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6c63ff, #5a54d4);
    border-radius: 10px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.profile-icon i {
    font-size: 3rem;
    margin: 10px 0;
    animation: pulse 2s infinite alternate;
}

.profile-icon i:nth-child(2) {
    font-size: 4rem;
    margin: 15px 0;
    animation-delay: 0.5s;
}

.profile-icon i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Section Compatibilité */
.compatibility-section {
    background-color: #f9f9ff;
    padding: 100px 20px;
}

.compatibility-content {
    max-width: 1000px;
    margin: 0 auto;
}

.compatibility-intro {
    text-align: center;
    margin-bottom: 40px;
}

.compatibility-intro p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.compatibility-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-step h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.step-indicator {
    font-size: 16px;
    color: #6c63ff;
    font-weight: 500;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

.range-wrapper {
    position: relative;
    margin: 15px 0;
}

.range-input {
    width: 100%;
    height: 6px;
    background-color: #f0f0f0;
    outline: none;
    -webkit-appearance: none;
    border-radius: 5px;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #6c63ff;
    border-radius: 50%;
    cursor: pointer;
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: #6c63ff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #777;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-group.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: #6c63ff;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.text-btn {
    background: none;
    border: none;
    color: #6c63ff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 0;
}

.text-btn i {
    margin-right: 5px;
}

.text-btn:hover {
    text-decoration: underline;
}

.company-info {
    display: flex;
    gap: 15px;
}

.company-info input {
    flex: 1;
}

/* Résultats de compatibilité */
.compatibility-results {
    display: none;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.compatibility-results.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.results-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.results-loading.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #6c63ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results-content {
    display: none;
    text-align: left;
    padding: 20px 0;
}

.results-content.active {
    display: block;
}

.results-content h4 {
    color: #6c63ff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.compatibility-score {
    margin: 30px auto;
    max-width: 200px;
}

.score-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
}

.score-chart {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.score-circle-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 3;
}

.score-circle-fill {
    fill: none;
    stroke: #6c63ff;
    stroke-width: 3;
    stroke-dasharray: 100 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1s ease;
}

.score-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: 700;
    color: #6c63ff;
}

.score-label {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.compatibility-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.strength-item {
    background-color: #f5f5ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.strength-item h5 {
    color: #333;
    margin-bottom: 8px;
}

.opportunity-item {
    background-color: #fff6e8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.opportunity-item h5 {
    color: #ff9800;
    margin-bottom: 8px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .company-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .compatibility-form {
        padding: 20px;
    }
    
    .compatibility-cta {
        flex-direction: column;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-percentage {
        font-size: 24px;
    }
}

/* Améliorations du formulaire de compatibilité */
.custom-input-container {
    display: none;
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
}

.custom-input-container.active {
    display: block;
}

.custom-input-container input[type="text"],
.custom-input-container textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e0f0;
    border-radius: 8px;
    background-color: #f8f8ff;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.custom-input-container input[type="text"]:focus,
.custom-input-container textarea:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
    outline: none;
}

/* Améliorations de range slider avec affichage du pourcentage - Version futuriste */
.range-wrapper.improved {
    position: relative;
    margin: 35px 0;
    padding: 0 10px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.range-value-display {
    position: absolute;
    top: -32px;
    left: 50%; /* Position initiale centrée, sera ajustée par JS */
    transform: translateX(-50%) translateZ(5px);
    background: linear-gradient(145deg, #6c63ff, #4f47d8);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4),
                0 0 0 2px rgba(255, 255, 255, 0.1) inset,
                0 0 30px rgba(108, 99, 255, 0.4);
    min-width: 45px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

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

.range-value-display:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #6c63ff;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, 
        #e0e0f0 0%, 
        rgba(108, 99, 255, 0.7) 100%);
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2),
                0 0 0 1px rgba(255,255,255,0.2),
                0 0 15px rgba(108, 99, 255, 0.1);
    transition: all 0.3s ease;
}

.range-input:focus {
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2), inset 0 2px 5px rgba(0,0,0,0.2),
                0 0 20px rgba(108, 99, 255, 0.2);
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f0f0ff);
    border: 3px solid #6c63ff;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3),
                0 0 0 2px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
    transform: translateY(-1px);
}

.range-input::-webkit-slider-thumb:hover {
    background: linear-gradient(135deg, #ffffff, #e0e0ff);
    transform: scale(1.15) translateY(-1px);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.6), 
                0 5px 15px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(255, 255, 255, 0.5) inset;
}

.range-input:active::-webkit-slider-thumb {
    background: linear-gradient(135deg, #ffffff, #d0d0ff);
    transform: scale(1.2) translateY(-1px);
    box-shadow: 0 0 25px rgba(108, 99, 255, 0.8), 
                0 5px 15px rgba(0, 0, 0, 0.3),
                0 0 0 3px rgba(255, 255, 255, 0.5) inset;
}

.range-input::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f0f0ff);
    border: 3px solid #6c63ff;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3),
                0 0 0 2px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
}

.range-input::-moz-range-thumb:hover {
    background: linear-gradient(135deg, #ffffff, #e0e0ff);
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.6), 
                0 5px 15px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(255, 255, 255, 0.5) inset;
}

.range-input:active::-moz-range-thumb {
    background: linear-gradient(135deg, #ffffff, #d0d0ff);
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(108, 99, 255, 0.8), 
                0 5px 15px rgba(0, 0, 0, 0.3),
                0 0 0 3px rgba(255, 255, 255, 0.5) inset;
}

.range-input::-moz-range-progress {
    background: linear-gradient(90deg, #4f47d8, #6c63ff);
    height: 10px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.4);
}

.range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    left: 10px;
    right: 10px;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(to right, #e9e9ff, #f0f0ff);
    z-index: 1;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1),
                0 0 0 1px rgba(255,255,255,0.3);
}

.range-track-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        #4f47d8, 
        #6c63ff 70%, 
        #837dff);
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.6),
                0 0 2px rgba(255, 255, 255, 0.5) inset;
    border-radius: 10px;
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.range-track-glow {
    position: absolute;
    top: 0;
    right: -20px;
    width: 40px;
    height: 100%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.8) 0%, rgba(108, 99, 255, 0) 70%);
    animation: pulse 1.5s infinite alternate;
    z-index: 2;
    filter: blur(5px);
}

@keyframes pulse {
    0% {
        opacity: 0.7;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0.3;
        transform: translateX(-5px) scale(1.1);
    }
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
    padding: 0 5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.range-labels span {
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.range-input:focus ~ .range-labels span,
.range-input:active ~ .range-labels span {
    color: #6c63ff;
    opacity: 1;
    text-shadow: 0 0 4px rgba(108, 99, 255, 0.2);
}

/* Animation d'entrée pour le slider */
@keyframes sliderAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group .range-wrapper.improved {
    animation: sliderAppear 0.5s forwards;
}

/* Amélioration des cases à cocher */
.checkbox-group.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 12px;
    background-color: #f8f8ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 2px solid #6c63ff; /* Bordure plus visible */
}

.checkbox-container:hover {
    background-color: #f0f0ff;
    border-color: #d0d0ff;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #6c63ff;
}

.checkbox-container span {
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

/* Responsive fixes */
@media (max-width: 600px) {
    .checkbox-group.responsive-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .range-labels {
        font-size: 11px;
    }
    
    .form-step h3 {
        font-size: 18px;
    }
}

/* États d'interaction pour les sliders */
.range-wrapper.improved.hover .range-track {
    background: linear-gradient(to right, #e5e5ff, #f0f0ff);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1),
                0 0 0 1px rgba(255,255,255,0.5),
                0 0 10px rgba(108, 99, 255, 0.1);
}

.range-wrapper.improved.active .range-track {
    background: linear-gradient(to right, #e0e0ff, #f0f0ff);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1),
                0 0 0 1px rgba(255,255,255,0.6),
                0 0 15px rgba(108, 99, 255, 0.15);
}

.range-wrapper.improved.active .range-value-display {
    transform: translateX(-50%) scale(1.1) translateZ(15px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.5),
                0 0 0 2px rgba(255, 255, 255, 0.2) inset,
                0 0 30px rgba(108, 99, 255, 0.5);
    background: linear-gradient(145deg, #7c73ff, #5f56e8);
}

.range-wrapper.improved.updating .range-track-glow {
    opacity: 1;
    animation: glowPulse 0.5s ease-out;
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        width: 0;
        filter: blur(3px);
    }
    50% {
        opacity: 1;
        width: 60px;
        filter: blur(8px);
    }
    100% {
        opacity: 0.3;
        width: 40px;
        filter: blur(5px);
    }
}

/* Autres effets visuels futursitiques */
.range-wrapper.improved::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(108, 99, 255, 0) 0%, 
        rgba(108, 99, 255, 0.3) 20%, 
        rgba(108, 99, 255, 0.5) 50%, 
        rgba(108, 99, 255, 0.3) 80%, 
        rgba(108, 99, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.range-wrapper.improved.hover::before,
.range-wrapper.improved.active::before {
    opacity: 1;
}

.range-wrapper.improved.initialized .range-track-fill {
    animation: fillTrack 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fillTrack {
    0% {
        width: 0%;
    }
}

/* Effet focus sur le label lors de l'interaction */
.range-wrapper.improved.active + label,
.range-wrapper.improved.hover + label {
    color: #6c63ff;
}

/* Amélioration responsive */
@media (max-width: 768px) {
    .range-wrapper.improved {
        margin: 30px 0;
    }
    
    .range-input::-webkit-slider-thumb {
        width: 22px;
        height: 22px;
    }
    
    .range-input::-moz-range-thumb {
        width: 22px;
        height: 22px;
    }
}

/* Styles améliorés pour les menus déroulants (select) */
select {
    appearance: none;
    width: 100%;
    padding: 15px 20px;
    margin-top: 10px;
    background-color: #ffffff;
    border: 3px solid #6c63ff;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.15);
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c63ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: right 15px center;
    background-size: 20px;
    background-repeat: no-repeat;
    position: relative;
}

/* Style pour option par défaut non sélectionnée */
select:invalid,
select option[value=""] {
    color: #999;
}

/* Style pour texte sélectionné */
select:valid {
    color: #333;
    font-weight: bold;
}

/* Placeholder pour indiquer où cliquer */
select:not(:focus):not(:valid)::before {
    content: "CLIQUEZ ICI";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c63ff;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
}

select:focus {
    outline: none;
    border-color: #6c63ff;
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.25), 0 4px 15px rgba(108, 99, 255, 0.2);
    background-color: #ffffff;
}

select:hover {
    border-color: #8d85ff;
    background-color: #f8f8ff;
}

select option {
    background-color: #ffffff;
    color: #333;
    padding: 12px;
    font-weight: normal;
}

/* Renforcement visuel du label */
.form-group label {
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Ajouter un indicateur après le label */
.form-group:has(select) label::after {
    content: " ↓";
    color: #6c63ff;
    font-weight: bold;
}

/* Styles améliorés pour les cases à cocher (checkboxes) */
.checkbox-container {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 15px;
    background-color: #f8f8ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 2px solid #6c63ff; /* Bordure visible */
}

.checkbox-container:hover {
    background-color: #f0f0ff;
    border-color: #8d85ff;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(108, 99, 255, 0.2);
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #d0d0ff;
    border-radius: 5px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.checkbox-container:hover .checkmark {
    border-color: #6c63ff;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background-color: #6c63ff;
    border-color: #6c63ff;
}

.checkbox-container .checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container input[type="checkbox"]:checked ~ span {
    color: #6c63ff;
    font-weight: 500;
}

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

/* Résultats de compatibilité améliorés */
.compatibility-results {
    display: none;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.compatibility-results.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.results-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.results-loading.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #6c63ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results-content {
    display: none;
    text-align: left;
    padding: 20px 10px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.08);
}

.results-content.active {
    display: block;
}

.results-content h4 {
    color: #6c63ff;
    margin-top: 28px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 20px;
    border-bottom: 2px solid rgba(108, 99, 255, 0.2);
    padding-bottom: 8px;
    position: relative;
}

.results-content h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background-color: #6c63ff;
}

.analysis-intro {
    background: linear-gradient(135deg, #f5f5ff, #f0f0ff);
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    font-style: italic;
    color: #555;
    border-left: 4px solid #6c63ff;
}

.strength-item, 
.opportunity-item,
.conclusion-item {
    background-color: #fcfcff;
    padding: 18px 22px;
    margin-bottom: 18px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f0f0ff;
}

.strength-item:hover, 
.opportunity-item:hover,
.conclusion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(108, 99, 255, 0.1);
    border-color: rgba(108, 99, 255, 0.3);
}

.strength-item h5, 
.opportunity-item h5,
.conclusion-item h5 {
    color: #444;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.strength-item h5::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    color: #6c63ff;
    margin-right: 10px;
    font-weight: 900;
    font-size: 14px;
    padding: 5px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opportunity-item h5::before {
    content: '\f0d0';
    font-family: 'Font Awesome 5 Free';
    color: #6c63ff;
    margin-right: 10px;
    font-weight: 900;
    font-size: 14px;
    padding: 5px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conclusion-item {
    background: linear-gradient(145deg, #f8f8ff, #fff);
    border-left: 4px solid #6c63ff;
}

.conclusion-item p {
    font-size: 15px;
    line-height: 1.6;
}

.conclusion-item strong {
    color: #6c63ff;
    font-size: 18px;
}

.compatibility-score {
    margin: 35px auto 40px;
    max-width: 220px;
}

.score-circle {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 20px;
}

.score-circle svg {
    transform: rotate(-90deg);
    overflow: visible;
}

.score-circle-bg {
    fill: none;
    stroke: #f0f0ff;
    stroke-width: 4;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.score-circle-fill {
    fill: none;
    stroke: #6c63ff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 0 100;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 6px rgba(108, 99, 255, 0.5));
}

.score-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 700;
    color: #6c63ff;
    text-shadow: 0 2px 5px rgba(108, 99, 255, 0.2);
}

.score-label {
    font-size: 18px;
    font-weight: 600;
    color: #555;
    text-align: center;
    margin-top: 5px;
}

.compatibility-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.compatibility-cta .btn {
    min-width: 220px;
    text-align: center;
}

/* Modal Détails Projet */
.project-details-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.project-details-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.project-details-icon {
    font-size: 4rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0.05) 100%);
    border-radius: 1.5rem;
    flex-shrink: 0;
}

.project-details-title-section {
    flex: 1;
}

.project-details-title-section h2 {
    font-size: 3.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.project-details-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.project-details-body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-details-section {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.project-details-section:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.project-details-section h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-details-section h3 i {
    color: var(--primary-color);
    font-size: 2rem;
}

.project-details-section p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.6rem;
}

.project-details-section ul {
    list-style: none;
    padding: 0;
}

.project-details-section ul li {
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.6rem;
}

.project-details-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.8rem;
}

.project-details-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    transition: var(--transition);
}

.tech-tag:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.challenge-item {
    background: white;
    padding: 2rem;
    border-radius: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.challenge-problem {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 0.5rem;
    color: #856404;
    font-size: 1.5rem;
    line-height: 1.7;
}

.challenge-problem strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #856404;
}

.challenge-solution {
    padding: 1rem;
    background: #d1ecf1;
    border-left: 4px solid var(--accent-color);
    border-radius: 0.5rem;
    color: #0c5460;
    font-size: 1.5rem;
    line-height: 1.7;
}

.challenge-solution strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #0c5460;
}

.results-list {
    list-style: none;
    padding: 0;
}

.results-list li {
    padding: 1.2rem 0;
    padding-left: 3rem;
    position: relative;
    color: var(--text-color);
    font-size: 1.6rem;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
}

.results-list li:last-child {
    border-bottom: none;
}

.results-list li i {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.8rem;
}

.project-close-modal {
    cursor: pointer;
    z-index: 1001;
}

@media screen and (max-width: 768px) {
    .project-details-content {
        width: 95%;
        padding: 2rem 1.5rem;
        max-height: 95vh;
    }

    .project-details-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .project-details-icon {
        width: 60px;
        height: 60px;
        font-size: 3rem;
    }

    .project-details-title-section h2 {
        font-size: 2.4rem;
    }

    .project-details-section {
        padding: 1.5rem;
    }

    .project-details-section h3 {
        font-size: 1.8rem;
    }

    .tech-tag {
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (min-width: 768px) {
    .compatibility-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* Animation pour les résultats */
@keyframes highlight {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.conclusion-item strong {
    background: linear-gradient(90deg, #6c63ff, #837dff, #6c63ff);
    background-size: 200% auto;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    animation: highlight 3s ease infinite;
    display: inline-block;
}

/* Section Avis */
.testimonials-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section.testimonials-featured .section-header {
    margin-bottom: 1rem;
}

.testimonials-section.testimonials-featured .section-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-top: 1rem;
}

.testimonials-section.testimonials-featured {
    padding: 10rem 2rem;
    background: linear-gradient(135deg, #f0f2ff 0%, #fafbff 50%, #ffffff 100%);
}

/* Révélation au scroll - Section Avis */
.testimonials-header-reveal,
.testimonial-stat-card--animate,
.testimonials-carousel-wrapper.testimonials-reveal,
.testimonials-dots-reveal,
.testimonial-card--reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonials-header-reveal.revealed,
.testimonial-stat-card--animate.revealed,
.testimonials-carousel-wrapper.revealed,
.testimonials-dots-reveal.revealed,
.testimonial-card--reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-carousel-wrapper .testimonial-card--reveal {
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}


/* Stats bloc Avis */
.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 4rem auto 5rem;
    position: relative;
    z-index: 1;
}

.testimonial-stat-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,249,254,0.98) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 99, 255, 0.12);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(108, 99, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(108, 99, 255, 0.12);
    border-color: rgba(108, 99, 255, 0.2);
}

.testimonial-stat-card:hover::before {
    opacity: 1;
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.12) 0%, rgba(108, 99, 255, 0.06) 100%);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.testimonial-stat-card:hover .stat-card-icon {
    background: linear-gradient(135deg, #6c63ff 0%, #5a54d4 100%);
    color: #fff;
    transform: scale(1.05);
}

.stat-card-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4a4a68 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.testimonial-stat-card.stat-highlight .stat-card-number {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-stat-card.stat-highlight .stat-card-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(251, 191, 36, 0.15) 100%);
    color: #f59e0b;
}

.testimonial-stat-card.stat-highlight:hover .stat-card-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #fff;
}

.stat-card-label {
    font-size: 1.4rem;
    color: #666;
    font-weight: 500;
}

@media (max-width: 900px) {
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 3rem auto 4rem;
    }

    .stat-card-number {
        font-size: 2.8rem;
    }

    .testimonial-stat-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 500px) {
    .testimonials-stats {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 2.5rem auto 3.5rem;
    }
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(108, 99, 255, 0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* Carousel Avis */
.testimonials-carousel-wrapper {
    max-width: 1200px;
    margin: 5rem auto 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonials-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(108, 99, 255, 0.3);
    background: #fff;
    color: #6c63ff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.testimonials-arrow:hover {
    background: linear-gradient(135deg, #6c63ff 0%, #5a54d4 100%);
    color: #fff;
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.35);
}

.testimonials-arrow:active {
    transform: scale(0.98);
}

.testimonials-carousel {
    flex: 1;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0.5rem 0;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.67rem);
    min-width: 0;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcff 100%);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(108, 99, 255, 0.06);
    box-shadow: 
        0 4px 20px rgba(108, 99, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    color: rgba(108, 99, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(108, 99, 255, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(108, 99, 255, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c63ff 0%, #5a54d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.testimonial-role {
    font-size: 1.4rem;
    color: #888;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    color: #ffc107;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.testimonials-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.testimonials-dot:hover {
    background: rgba(108, 99, 255, 0.5);
}

.testimonials-dot.active {
    background: linear-gradient(135deg, #6c63ff 0%, #00c9a7 100%);
    transform: scale(1.25);
}

/* Responsive pour la section Avis */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 6rem 1.5rem;
    }

    .testimonials-carousel-wrapper {
        margin-top: 3rem;
        position: relative;
        padding: 0 4.5rem;
    }

    .testimonials-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
        z-index: 3;
    }

    .testimonials-arrow--prev {
        left: 0.5rem;
    }

    .testimonials-arrow--next {
        right: 0.5rem;
    }

    .testimonials-arrow:hover {
        transform: translateY(-50%) scale(1.08);
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 2rem;
    }

    .testimonials-track {
        gap: 2rem;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-rating {
        margin-top: 1rem;
    }
}

/* Section Services */
.services-section {
    padding: 10rem 2rem;
    background: 
        radial-gradient(ellipse 60% 50% at 15% 20%, rgba(108, 99, 255, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse 70% 60% at 85% 70%, rgba(0, 201, 167, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fe 40%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 201, 167, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.services-section .section-header h2 {
    color: var(--secondary-color);
}

.services-section .section-header h2::after {
    background: linear-gradient(90deg, #6c63ff, #00c9a7);
}

.section-subtitle {
    font-size: 1.7rem;
    color: #888;
    text-align: center;
    margin-top: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.services-container {
    max-width: 1200px;
    margin: 6rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #fcfcff 100%);
    padding: 3.5rem 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(108, 99, 255, 0.08);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #ddd;
}

.service-card[data-accent="blue"]:hover { box-shadow: 0 25px 50px -12px rgba(108, 99, 255, 0.15); }
.service-card[data-accent="green"]:hover { box-shadow: 0 25px 50px -12px rgba(0, 201, 167, 0.15); }
.service-card[data-accent="purple"]:hover { box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.15); }
.service-card[data-accent="orange"]:hover { box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.15); }

.service-number {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: 0;
    letter-spacing: -0.05em;
    font-family: var(--font-secondary);
}

.service-card:hover .service-number {
    color: rgba(0, 0, 0, 0.06);
}

.service-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.service-card[data-accent="blue"] .service-icon {
    background: rgba(108, 99, 255, 0.1);
    color: #6c63ff;
}
.service-card[data-accent="green"] .service-icon {
    background: rgba(0, 201, 167, 0.1);
    color: #00b894;
}
.service-card[data-accent="purple"] .service-icon {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}
.service-card[data-accent="orange"] .service-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

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

.service-card[data-accent="blue"]:hover .service-icon { background: rgba(108, 99, 255, 0.18); }
.service-card[data-accent="green"]:hover .service-icon { background: rgba(0, 201, 167, 0.18); }
.service-card[data-accent="purple"]:hover .service-icon { background: rgba(124, 58, 237, 0.18); }
.service-card[data-accent="orange"]:hover .service-icon { background: rgba(245, 158, 11, 0.18); }

.service-text {
    flex: 1;
}

.service-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    font-size: 1.45rem;
    line-height: 1.7;
    color: #777;
    margin: 0;
}

.service-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    font-size: 1.3rem;
    color: #666;
    padding: 0.55rem 1.3rem;
    background: #f5f5f8;
    border: 1px solid #eee;
    border-radius: 10rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-card[data-accent="blue"] .service-features li:hover {
    background: rgba(108, 99, 255, 0.1);
    border-color: rgba(108, 99, 255, 0.25);
    color: #6c63ff;
}
.service-card[data-accent="green"] .service-features li:hover {
    background: rgba(0, 201, 167, 0.1);
    border-color: rgba(0, 201, 167, 0.25);
    color: #00b894;
}
.service-card[data-accent="purple"] .service-features li:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.25);
    color: #7c3aed;
}
.service-card[data-accent="orange"] .service-features li:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #d97706;
}

.service-learn-more {
    margin-top: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(108, 99, 255, 0.08);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 10rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.service-learn-more:hover {
    background: rgba(108, 99, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
.service-card[data-accent="blue"] .service-learn-more { color: #6c63ff; background: rgba(108, 99, 255, 0.08); border-color: rgba(108, 99, 255, 0.25); }
.service-card[data-accent="blue"] .service-learn-more:hover { background: rgba(108, 99, 255, 0.15); border-color: #6c63ff; }
.service-card[data-accent="green"] .service-learn-more { color: #00c9a7; background: rgba(0, 201, 167, 0.08); border-color: rgba(0, 201, 167, 0.25); }
.service-card[data-accent="green"] .service-learn-more:hover { background: rgba(0, 201, 167, 0.15); border-color: #00c9a7; }
.service-card[data-accent="purple"] .service-learn-more { color: #7c3aed; background: rgba(124, 58, 237, 0.08); border-color: rgba(124, 58, 237, 0.25); }
.service-card[data-accent="purple"] .service-learn-more:hover { background: rgba(124, 58, 237, 0.15); border-color: #7c3aed; }
.service-card[data-accent="orange"] .service-learn-more { color: #d97706; background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.25); }
.service-card[data-accent="orange"] .service-learn-more:hover { background: rgba(245, 158, 11, 0.15); border-color: #d97706; }

/* Modal Offre Service */
.service-offer-modal-content {
    padding-top: 1rem;
}
.service-offer-header {
    text-align: center;
    margin-bottom: 2rem;
}
.service-offer-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.2rem;
    font-size: 2rem;
    color: white;
}
.service-offer-icon.blue { background: linear-gradient(135deg, #6c63ff, #5a54d4); }
.service-offer-icon.green { background: linear-gradient(135deg, #00c9a7, #00a8b5); }
.service-offer-icon.purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.service-offer-icon.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.service-offer-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-top: 0.5rem;
}
.service-offer-body h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
}
.service-offer-prices {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.service-offer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    background: #f8f9fe;
    border-radius: 0.8rem;
    border: 1px solid #eee;
}
.service-offer-label { font-size: 1.35rem; color: #333; }
.service-offer-price { font-weight: 600; color: var(--primary-color); font-size: 1.35rem; }
.service-offer-note {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-offer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive pour la section Services */
@media (max-width: 768px) {
    .services-section {
        padding: 6rem 1.5rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .service-card {
        padding: 2.5rem 2rem;
    }

    .service-card-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-number {
        font-size: 4rem;
        top: 1.5rem;
        right: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }
}

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

    .service-card {
        padding: 2.5rem 2rem;
    }
}

/* Bloc philosophie */
.services-philosophy {
    max-width: 1200px;
    margin: 5rem auto 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.philosophy-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.philosophy-badge {
    padding: 2.5rem 2rem;
    border-radius: 1.4rem;
    text-align: center;
    background: #f9f9fc;
    border: 1px solid #eee;
    transition: all 0.35s ease;
}

.philosophy-badge:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.badge-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.philosophy-badge:nth-child(1) .badge-icon-wrap { background: rgba(108, 99, 255, 0.1); }
.philosophy-badge:nth-child(2) .badge-icon-wrap { background: rgba(124, 58, 237, 0.1); }
.philosophy-badge:nth-child(3) .badge-icon-wrap { background: rgba(0, 201, 167, 0.1); }
.philosophy-badge:nth-child(4) .badge-icon-wrap { background: rgba(245, 158, 11, 0.1); }

.philosophy-badge:hover .badge-icon-wrap {
    transform: scale(1.1);
}

.philosophy-badge:nth-child(1) .badge-icon-wrap i { color: #6c63ff; }
.philosophy-badge:nth-child(2) .badge-icon-wrap i { color: #7c3aed; }
.philosophy-badge:nth-child(3) .badge-icon-wrap i { color: #00b894; }
.philosophy-badge:nth-child(4) .badge-icon-wrap i { color: #d97706; }

.philosophy-badge .badge-icon-wrap i {
    font-size: 2rem;
}

.philosophy-badge h4 {
    font-size: 1.7rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.philosophy-badge p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #888;
    margin: 0;
}

/* Responsive pour la philosophie badges */
@media (max-width: 1024px) {
    .philosophy-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-philosophy {
        margin-top: 3rem;
    }

    .philosophy-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .philosophy-badge {
        padding: 2rem 1.5rem;
    }

    .philosophy-badge h4 {
        font-size: 1.5rem;
    }

    .philosophy-badge p {
        font-size: 1.25rem;
    }
}

/* Section Processus */
.process-section {
    padding: 10rem 2rem;
    background: linear-gradient(180deg, #fff 0%, #f8f9fc 50%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.2), transparent);
}

.process-section .section-header h2 {
    color: var(--secondary-color);
}

.process-section .section-subtitle {
    color: #888;
    font-size: 1.6rem;
    margin-top: 1.5rem;
}

.process-container {
    max-width: 1200px;
    margin: 6rem auto 0;
    position: relative;
    z-index: 1;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(108, 99, 255, 0.2) 0%, 
        rgba(108, 99, 255, 0.4) 25%,
        rgba(0, 201, 167, 0.4) 75%,
        rgba(0, 201, 167, 0.2) 100%);
    z-index: 0;
}

.process-step {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcff 100%);
    padding: 3rem 2.5rem;
    border-radius: 1.8rem;
    box-shadow: 
        0 4px 20px rgba(108, 99, 255, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(108, 99, 255, 0.06);
    border: 1px solid #f0f0f5;
    transition: all 0.4s ease;
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6c63ff 0%, #00c9a7 100%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    z-index: 2;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(0, 201, 167, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c63ff;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2) 0%, rgba(0, 201, 167, 0.2) 100%);
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.step-content p {
    font-size: 1.45rem;
    line-height: 1.7;
    color: #777;
    margin: 0;
}

/* Responsive pour la section Processus */
@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 6rem 1.5rem;
    }

    .process-container {
        margin-top: 3rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step {
        padding: 2.5rem 2rem;
    }

    .step-number {
        left: 2rem;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        top: -18px;
    }

    .step-icon {
        width: 56px;
        height: 56px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.8rem;
    }

    .step-content p {
        font-size: 1.35rem;
    }
}

/* Section Pourquoi me choisir */
.why-choose-section {
    padding: 10rem 2rem;
    background: 
        radial-gradient(ellipse 70% 50% at 30% 20%, rgba(108, 99, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 70% 80%, rgba(0, 201, 167, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #fafbff 0%, #f4f6fc 50%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(108, 99, 255, 0.04) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.why-choose-section .section-header h2 {
    color: var(--secondary-color);
    font-size: 3.8rem;
    letter-spacing: -0.03em;
}

.why-choose-section .section-subtitle {
    color: #6b7280;
    font-size: 1.7rem;
    margin-top: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Wrapper avec dégradés pour indiquer le scroll */
.why-scroll-wrapper {
    position: relative;
    max-width: 100%;
    margin: 5rem auto 0;
    padding: 0 1rem;
    z-index: 1;
}

.why-scroll-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 2;
}

.why-scroll-fade--left {
    left: 0;
    background: linear-gradient(90deg, #fafbff 20%, transparent);
}

.why-scroll-fade--right {
    right: 0;
    background: linear-gradient(270deg, #fafbff 20%, transparent);
}

.why-choose-container {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 99, 255, 0.5) rgba(0, 0, 0, 0.04);
    padding: 1.5rem 0.5rem 2.5rem;
}

.why-choose-container::-webkit-scrollbar {
    height: 6px;
}

.why-choose-container::-webkit-scrollbar-track {
    background: rgba(108, 99, 255, 0.06);
    border-radius: 8px;
}

.why-choose-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #6c63ff, #00c9a7);
    border-radius: 8px;
}

.why-choose-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #5a54d4, #00a8b5);
}

.why-card {
    flex: 0 0 min(340px, 85vw);
    scroll-snap-align: start;
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(108, 99, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(108, 99, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c63ff 0%, #00c9a7 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.why-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(108, 99, 255, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(108, 99, 255, 0.2);
}

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

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.6rem;
    border-radius: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.why-card:nth-child(1) .why-icon { 
    color: #d97706; 
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.08) 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}
.why-card:nth-child(2) .why-icon { 
    color: #6c63ff; 
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(108, 99, 255, 0.05) 100%);
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.2);
}
.why-card:nth-child(3) .why-icon { 
    color: #059669; 
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.15) 0%, rgba(0, 201, 167, 0.05) 100%);
    box-shadow: 0 4px 14px rgba(0, 201, 167, 0.2);
}
.why-card:nth-child(4) .why-icon { 
    color: #7c3aed; 
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(124, 58, 237, 0.05) 100%);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.2);
}
.why-card:nth-child(5) .why-icon { 
    color: #dc2626; 
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
}
.why-card:nth-child(6) .why-icon { 
    color: #0891b2; 
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.2);
}
.why-card:nth-child(7) .why-icon { 
    color: #059669; 
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.why-card:hover .why-icon {
    transform: scale(1.12) rotate(-3deg);
}

.why-card h3 {
    font-size: 1.7rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.why-card p {
    font-size: 1.4rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Sur grand écran : grille 3 colonnes, le 7ème centré */
@media (min-width: 1200px) {
    .why-scroll-wrapper {
        max-width: 1150px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 2rem;
    }
    
    .why-scroll-fade {
        display: none;
    }
    
    .why-choose-container {
        overflow: visible;
        scroll-snap-type: none;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        padding: 0;
    }
    
    .why-card {
        flex: none;
        max-width: none;
        scroll-snap-align: none;
    }
    
    .why-card:nth-child(7) {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 6rem 1.5rem;
    }

    .why-choose-section .section-header h2 {
        font-size: 3rem;
    }

    .why-scroll-wrapper {
        margin-top: 3rem;
        padding: 0 0.5rem;
    }

    .why-scroll-fade {
        width: 30px;
    }

    .why-scroll-fade--left {
        background: linear-gradient(90deg, #fafbff 30%, transparent);
    }

    .why-scroll-fade--right {
        background: linear-gradient(270deg, #fafbff 30%, transparent);
    }

    .why-choose-container {
        gap: 2rem;
        padding: 1rem 0.5rem 2rem;
    }

    .why-card {
        flex: 0 0 min(300px, 88vw);
        padding: 2.5rem 2rem;
    }

    .why-icon {
        width: 56px;
        height: 56px;
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .why-card h3 {
        font-size: 1.55rem;
    }

    .why-card p {
        font-size: 1.3rem;
    }
}