/* Variables CSS complètes */
:root {
    --primary-color: #000000;
    --secondary-color: #2ECC40;
    --accent-color: #FF4136;
    --text-color: #000000;
    --text-light: #6C757D;
    --background-color: #FFFFFF;
    --card-background: rgba(255, 255, 255, 0.95);
    --border-color: #E9ECEF;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-family: 'Darker Grotesque', sans-serif;
    --max-width: 1200px;
    --section-padding: 5rem 0;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(15px);
    
    /* Compatibilité avec les versions courtes */
    --primary: var(--primary-color);
    --accent: var(--accent-color);
    --white: #FFFFFF;
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
    --font: var(--font-family);
    --radius: var(--border-radius);
    --shadow: var(--shadow-light);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prévention du débordement horizontal */
html {
    overflow-x: hidden;
    width: 100%;
}

* {
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    background: linear-gradient(-45deg, #f8f9fa, #ffffff, #f1f3f4, #e8eaed);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    will-change: background-position;
}

/* Animation de fond gradient optimisée */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Overlay avec particules flottantes globales */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 65, 54, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 65, 54, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: floatBackground 20s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatBackground {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* Formes géométriques flottantes */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, transparent 40%, rgba(255, 65, 54, 0.01) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0, 0, 0, 0.01) 50%, transparent 60%);
    background-size: 200px 200px, 150px 150px;
    background-position: 0 0, 50px 50px;
    pointer-events: none;
    z-index: -1;
    animation: geometricFloat 25s linear infinite;
    will-change: background-position;
}

@keyframes geometricFloat {
    0% {
        background-position: 0 0, 50px 50px;
    }
    100% {
        background-position: 200px 200px, 250px 250px;
    }
}

/* Skip link pour l'accessibilité */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 1000;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 6px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98); /* Augmentation de l'opacité */
    backdrop-filter: blur(15px); /* Plus de flou pour l'effet glassmorphism */
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Bordure subtile */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06); /* Ombre douce */
}

/* Effet au scroll pour plus de distinction */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}



.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Section Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    overflow: hidden;
}

/* Overlay spécial pour la section hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top left, rgba(255, 65, 54, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    animation: heroOverlay 12s ease-in-out infinite;
}

@keyframes heroOverlay {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

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

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.particle-small {
    width: 3px;
    height: 3px;
    background: rgba(255, 65, 54, 0.4);
    animation: floatParticleSmall 8s infinite linear;
}

.particle-medium {
    width: 6px;
    height: 6px;
    background: rgba(255, 65, 54, 0.2);
    animation: floatParticleMedium 12s infinite linear;
}

.particle-large {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    animation: floatParticleLarge 15s infinite linear;
}

@keyframes floatParticleSmall {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatParticleMedium {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    15% {
        opacity: 0.4;
        transform: translateY(80vh) translateX(-20px) rotate(45deg) scale(1);
    }
    85% {
        opacity: 0.4;
        transform: translateY(20vh) translateX(-40px) rotate(315deg) scale(1);
    }
    100% {
        transform: translateY(-100px) translateX(-60px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

@keyframes floatParticleLarge {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.3);
        opacity: 0;
    }
    20% {
        opacity: 0.3;
        transform: translateY(70vh) translateX(30px) rotate(60deg) scale(1);
    }
    80% {
        opacity: 0.3;
        transform: translateY(30vh) translateX(60px) rotate(300deg) scale(1);
    }
    100% {
        transform: translateY(-100px) translateX(90px) rotate(360deg) scale(0.3);
        opacity: 0;
    }
}



.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}


@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--accent-color);
    }
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-color);
    font-weight: 400;
    margin-left: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-button:hover {
    background: #e6392f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 65, 54, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 65, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 65, 54, 0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Container général */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

/* Section Solutions */
.solutions {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 65, 54, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255, 65, 54, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.solutions-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solutions-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.solutions-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    line-height: 1.6;
    font-weight: 400;
}

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

.solution-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    will-change: transform, box-shadow;
}

.solution-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
    box-shadow: 0 12px 40px rgba(255, 65, 54, 0.15);
}

.solution-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.solution-card.featured:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 30px 60px rgba(255, 65, 54, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2rem 0;
    margin-bottom: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.solution-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-color);
}

.card-badge {
    background: linear-gradient(135deg, var(--accent-color), #e6392f);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 65, 54, 0.3);
}

.card-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.card-content {
    padding: 0 2rem 2rem;
}

.card-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.solution-card:hover h3 {
    color: var(--accent-color);
}

.card-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    background: rgba(255, 65, 54, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 65, 54, 0.2);
    transition: all 0.3s ease;
}

.solution-card:hover .feature-item {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.duration {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.price-indicator {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(30px);
    backdrop-filter: blur(10px);
}

.solution-card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.overlay-content {
    text-align: center;
    max-width: 100%;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.overlay-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--white), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overlay-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.features-list {
    text-align: left;
}

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.check-icon {
    background: var(--accent-color);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.solutions-cta {
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 65, 54, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.solutions-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 65, 54, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.solutions-cta p {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-secondary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 65, 54, 0.3);
}

.cta-secondary:hover::before {
    left: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section Pourquoi nous choisir */
.why-choose-us {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(255, 65, 54, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 60%),
        linear-gradient(45deg, rgba(255, 65, 54, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 65, 54, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 65, 54, 0.2);
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

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

.feature h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature:hover h3 {
    color: var(--accent-color);
}

.feature p {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Section Portfolio */
.portfolio {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 60% 40%, rgba(255, 65, 54, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 60%, rgba(0, 0, 0, 0.015) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.portfolio-item {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: all var(--transition);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.portfolio-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image svg,
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.portfolio-content p {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-type {
    background: var(--medium-gray);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.view-project {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.view-project:hover {
    background: #e6392f;
    transform: scale(1.05);
}

/* Section Partenaires */
.partners {
    background: rgba(248, 249, 250, 0.75);
    backdrop-filter: blur(18px);
    text-align: center;
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(255, 65, 54, 0.025) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

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

.partners-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.commission-highlight {
    background: var(--accent-color);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    display: inline-block;
}

.commission-rate {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.commission-text {
    font-size: 1.2rem;
    font-weight: 500;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step p {
    color: var(--medium-gray);
}

/* Section Contact */
.contact {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    padding: 5rem 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 20%, rgba(255, 65, 54, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 60%, rgba(255, 65, 54, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.contact-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #e6392f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

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

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-item:hover h3 {
    color: var(--accent-color);
}

.contact-item p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-item:hover p {
    color: var(--primary-color);
}

/* Styles uniformes pour tous les boutons de contact */
.contact-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 65, 54, 0.2);
    text-align: center;
    min-width: 200px;
}

.contact-button:hover {
    background: #e6392f;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 65, 54, 0.4);
    color: var(--white) !important;
}

/* Suppression des anciens styles pour les liens dans le texte */
.contact-item a:not(.contact-button) {
    color: inherit;
    text-decoration: none;
}

.contact-item a:not(.contact-button):hover {
    color: inherit;
    text-decoration: none;
}

.contact-detail {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-detail {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* Styles spécifiques pour la carte de formulaire */
.contact-form-card {
    background: linear-gradient(135deg, var(--light-gray), #f8f9fa);
    position: relative;
}

.contact-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 65, 54, 0.05), rgba(255, 65, 54, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-form-card:hover::after {
    opacity: 1;
}

/* Suppression des anciens styles form-link-button */
/* .form-link-button styles are now replaced by .contact-button */

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--medium-gray);
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
}

.toast {
    background: var(--white);
    border-left: 4px solid var(--success-color);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    animation: toastSlideIn 0.3s ease;
    position: relative;
    max-width: 300px;
}

.toast.error {
    border-left-color: var(--error-color);
}

.toast-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--medium-gray);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Focus styles pour l'accessibilité */
*:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Supprimer l'outline orange pour les liens de navigation uniquement */
.nav-link:focus {
    outline: none;
}

/* Optionnel : améliorer l'indication de focus pour l'accessibilité */
.nav-link:focus {
    outline: none;
    background-color: rgba(255, 65, 54, 0.1);
    border-radius: 4px;
}

/* Responsive Design */

/* Emojis flottants */
.floating-emojis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
    animation: floatEmoji 12s linear infinite;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
    transform: translateZ(0);
}

@keyframes floatEmoji {
    0% {
        transform: translateY(100vh) translateX(-10px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(50vh) translateX(10px) rotate(180deg) scale(1);
        opacity: 0.8;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) translateX(-10px) rotate(360deg) scale(0.6);
        opacity: 0;
    }
}

/* Variations d'animation pour plus de naturel */
.floating-emoji:nth-child(2n) {
    animation-duration: 14s;
    animation-delay: 1s;
}

.floating-emoji:nth-child(3n) {
    animation-duration: 10s;
    animation-delay: 2s;
}

.floating-emoji:nth-child(4n) {
    animation-duration: 16s;
    animation-delay: 0.5s;
}

.floating-emoji:nth-child(5n) {
    animation-duration: 13s;
    animation-delay: 1.5s;
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .contact {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .contact-item {
        padding: 1.5rem;
        margin-bottom: 0;
    }
    
    .contact-item:hover {
        transform: translateY(-4px);
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .contact-item h3 {
        font-size: 1.2rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
    
    .contact-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 180px;
    }

    .solutions {
        padding: 3rem 0;
        overflow-x: hidden;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .solution-card {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .solution-card.featured {
        transform: none;
    }
    
    .solution-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .solution-card.featured:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .solutions-cta {
        padding: 2rem 1rem;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .solutions-cta p {
        font-size: 1.2rem;
    }
    
    .overlay-content {
        text-align: center;
        padding: 1rem;
    }
    
    .overlay-content h4 {
        font-size: 1.2rem;
    }
    
    .overlay-content p {
        font-size: 0.9rem;
    }
    
    .overlay-content li {
        font-size: 0.85rem;
        justify-content: center;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Désactiver les particules sur mobile */
    .particles-container {
        display: none;
    }
    
    .floating-emoji {
        font-size: 1.5rem;
        animation-duration: 10s;
    }
    
    .floating-emoji:nth-child(2n) {
        animation-duration: 12s;
    }
    
    .floating-emoji:nth-child(3n) {
        animation-duration: 8s;
    }
    
    .floating-emoji:nth-child(4n) {
        animation-duration: 14s;
    }
    
    .floating-emoji:nth-child(5n) {
        animation-duration: 11s;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        max-width: 900px;
    }
    
    .contact-item {
        padding: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .modal-content {
        width: 95%;
        padding: 1rem;
    }

    .toast {
        max-width: 250px;
    }
    
    .contact {
        padding: 2rem 0;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .contact-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-detail {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .contact-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 160px;
    }
    
    /* Corrections pour éviter le scroll horizontal */
    .solutions-grid,
    .portfolio-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .container {
        padding: 0 0.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    /* Corrections spécifiques pour la section solutions */
    .solutions {
        padding: 2rem 0;
        overflow-x: hidden;
    }
    
    .solutions-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .solutions-header h2 {
        font-size: 1.8rem;
    }
    
    .solutions-subtitle {
        font-size: 1rem;
    }
    
    .solutions-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .solution-card {
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    .card-header {
        padding: 1.5rem 1.5rem 0;
    }
    
    .card-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .solutions-cta {
        padding: 1.5rem 1rem;
        margin: 1rem 0.5rem 0;
        border-radius: 15px;
    }
    
    .solutions-cta p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Préférences utilisateur pour les animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particles-container {
        display: none;
    }
    
    .floating-emoji {
        animation-duration: 20s;
        opacity: 0.3;
    }
    
    @keyframes floatEmoji {
        0% {
            transform: translateY(100vh) scale(0.8);
            opacity: 0;
        }
        50% {
            opacity: 0.3;
        }
        100% {
            transform: translateY(-10vh) scale(0.8);
            opacity: 0;
        }
    }
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.logo-white {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 2rem;
    font-weight: 700;
}

.logo-text {
    color: var(--white);
    letter-spacing: 2px;
}

.logo-dot {
    color: var(--accent-color);
    font-size: 2.5rem;
    line-height: 1;
    margin-left: 0rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition);
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-tagline {
    color: var(--accent-color);
    font-weight: 500;
    font-style: italic;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-white {
        justify-content: center;
    }
}