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

:root {
    /* Couleurs principales - Thème sombre */
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --primary-light: #33ddff;
    --accent-color: #ff6b35;
    --secondary-color: #00ff88;
    
    /* Couleurs neutres - Mode sombre */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-light: #808080;
    --background-primary: #0a0a0a;
    --background-secondary: #1a1a1a;
    --background-dark: #000000;
    --background-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    
    /* Espacements */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;
    
    /* Typographie */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 60px; /* Hauteur minimale pour la navbar */
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo-image {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-medium);
    max-width: 160px;
}

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

.nav-logo h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0;
}

.nav-logo .accent {
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

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

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-medium);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all var(--transition-medium);
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-btn::after {
    display: none;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--background-gradient);
    color: white;
    overflow: hidden;
    padding-top: 120px; /* Plus d'espace pour la navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.9) 0%, 
        rgba(0, 212, 255, 0.1) 30%, 
        rgba(255, 107, 53, 0.1) 70%, 
        rgba(26, 26, 26, 0.9) 100%);
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 120px); /* Hauteur moins la navbar */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    margin-top: 1rem; /* Marge supplémentaire en haut */
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}


.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Sections communes */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Ajustement pour les sections avec ancres */
section[id] {
    scroll-margin-top: 100px; /* Plus d'espace pour la navbar lors du scroll */
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--background-secondary);
}

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

.service-card {
    background: var(--background-secondary);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 1rem;
}

/* Expertise Section */
.expertise {
    padding: var(--section-padding);
    background: var(--background-primary);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.tech-category {
    background: var(--background-secondary);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: all var(--transition-medium);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
}

.tech-category h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    transition: all var(--transition-medium);
}

.tech-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.tech-logo-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-medium);
    margin: 5px; /* Ajouter de l'espace autour du conteneur */
}

.tech-item:hover .tech-logo-container {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.tech-item img {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all var(--transition-medium);
    filter: brightness(1.2);
}

.tech-item:hover img {
    filter: brightness(0) saturate(0) invert(1);
    transform: scale(1.1);
}

/* Logos personnalisés */
.custom-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    transition: all var(--transition-medium);
}

.shopify-logo .custom-logo {
    background: #95BF47;
    font-size: 16px;
}

.headless-cms-logo .custom-logo {
    background: #FF6B35;
    font-size: 12px;
}

.adobe-xd-logo .custom-logo {
    background: #9A3FFF;
    font-size: 14px;
}

.openai-logo .custom-logo {
    background: #412991;
    font-size: 14px;
    font-weight: bold;
}

.tensorflow-logo .custom-logo {
    background: #FF6F00;
    font-size: 12px;
    font-weight: bold;
}

.langchain-logo .custom-logo {
    background: #1C3A5B;
    font-size: 11px;
    font-weight: bold;
}

/* Effets hover pour les logos personnalisés */
.tech-item:hover .shopify-logo .custom-logo,
.tech-item:hover .headless-cms-logo .custom-logo,
.tech-item:hover .adobe-xd-logo .custom-logo,
.tech-item:hover .openai-logo .custom-logo,
.tech-item:hover .tensorflow-logo .custom-logo,
.tech-item:hover .langchain-logo .custom-logo {
    background: var(--primary-color);
    transform: scale(1.1);
    color: white;
}

.tech-item span {
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-medium);
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: var(--background-secondary);
    position: relative;
    z-index: 1;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.8), 
        rgba(139, 92, 246, 0.8));
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-image {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.6), 
        rgba(139, 92, 246, 0.6));
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.7));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6), 
        rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(4px);
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.2s ease;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.2s ease;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    transform: translateY(0);
    transition: all 0.2s ease;
}

.portfolio-tags span {
    background: rgba(0, 212, 255, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.portfolio-tags span:hover {
    background: rgba(255, 107, 53, 0.9);
    transform: scale(1.05);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    min-height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 50% !important;
    text-decoration: none;
    transform: translateY(0) scale(1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 212, 255, 0.3);
    flex-shrink: 0 !important;
}

.portfolio-link:hover {
    transform: translateY(-2px) scale(1.1);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
    border-color: var(--primary-color);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--background-primary);
}

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

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all var(--transition-medium);
}

.value-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.value-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all var(--transition-medium);
}

.value-item:hover i {
    color: white;
}

.value-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.value-item p {
    margin: 0;
    opacity: 0.8;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Partners Section */
.partners {
    padding: var(--section-padding);
    background: var(--background-secondary);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.partner-card {
    background: rgba(25, 25, 40, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.partner-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    background: rgba(25, 25, 40, 0.8);
}

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

.partner-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.partner-card:hover .partner-logo {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.partner-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
    transition: all var(--transition-medium);
}

.partner-card:hover .partner-logo img {
    filter: brightness(1.5) contrast(1.2);
    transform: scale(1.05);
}

/* Custom Partner Logos */
.custom-partner-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    color: white;
    transition: all var(--transition-medium);
}

.shopify-partner {
    background: #95BF47;
    font-size: 11px;
    text-transform: lowercase;
}

.adobe-partner {
    background: #FF0000;
    font-size: 13px;
    font-weight: 900;
}

.vercel-partner {
    background: #000000;
    font-size: 20px;
    color: white;
}

.supabase-partner {
    background: #3ECF8E;
    font-size: 16px;
    font-weight: bold;
}

.wordpress-partner {
    background: #21759B;
    font-size: 16px;
    font-weight: bold;
}

.partner-card:hover .custom-partner-logo {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.partner-info h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition-medium);
}

.partner-card:hover .partner-info h4 {
    color: var(--primary-color);
}

.partner-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.8;
    transition: all var(--transition-medium);
}

.partner-card:hover .partner-info p {
    opacity: 1;
    color: var(--text-primary);
}

/* Partners CTA */
.partners-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    position: relative;
    z-index: 2;
}

.partners-cta h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.partners-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-cta .btn {
    font-size: 1.1rem;
    padding: 18px 35px;
}

/* Modals Grille Tarifaire */
.pricing-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

.pricing-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: visible;
    opacity: 1;
}

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

.modal-content {
    background: var(--background-secondary);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(20px);
    animation: modalSlideIn 0.3s ease;
    position: relative;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 53, 0.05));
    border-radius: 25px 25px 0 0;
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.modal-close {
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-medium);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2.5rem;
}

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

.pricing-plan {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

.pricing-plan:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

.pricing-plan.featured {
    border: 2px solid var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.pricing-plan h4 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.price .amount {
    font-size: 2.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: block;
    margin: 0.5rem 0;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.features li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.features i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    min-width: 16px;
}

.modal-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.modal-footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-footer i {
    color: var(--primary-color);
}

.modal-contact {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .pricing-plans {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 2rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .pricing-plan {
        padding: 2rem 1.5rem;
    }
    
    .pricing-plan.featured {
        transform: none;
        margin: 1rem 0;
    }
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--background-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-secondary);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-medium);
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form {
    background: var(--background-secondary);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    transition: all var(--transition-medium);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo .footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(1.2);
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-logo .accent {
    color: var(--primary-color);
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero {
        padding-top: 140px; /* Encore plus d'espace sur mobile */
    }
    
    .hero .container {
        min-height: calc(100vh - 140px); /* Ajustement mobile */
    }
    
    section[id] {
        scroll-margin-top: 120px; /* Plus d'espace pour mobile */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-logo .logo-image {
        height: 35px;
    }
    
    .footer-logo .footer-logo-image {
        height: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 2rem; /* Plus de marge en haut sur mobile */
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}