/* CSS Variables pour la cohérence du design */
:root {
    --primary-color: #B8860B;
    --secondary-color: #DAA520;
    --accent-color: #CD853F;
    --accent-secondary: #D2691E;
    --success-color: #228B22;
    --danger-color: #DC143C;
    --text-primary: #2F2F2F;
    --text-secondary: #6B6B6B;
    --text-light: #ffffff;
    --background-light: #FAF6F2;
    --background-gradient: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    --background-dark: #1A1A1A;
    --border-color: #E8E0D6;
    --shadow-light: 0 1px 3px rgba(184, 134, 11, 0.1);
    --shadow-medium: 0 4px 6px rgba(184, 134, 11, 0.15);
    --shadow-heavy: 0 20px 30px rgba(184, 134, 11, 0.2);
    --shadow-glow: 0 0 20px rgba(184, 134, 11, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    --gradient-hero: linear-gradient(135deg, rgba(184, 134, 11, 0.9), rgba(218, 165, 32, 0.9));
    --gradient-card: linear-gradient(145deg, rgba(250, 246, 242, 0.1), rgba(250, 246, 242, 0.05));
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --section-padding: 120px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Touch-friendly improvements */
button, a, .hero-btn, .nav-link, .cta-button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations de base */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

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

.nav-logo img {
    height: 50px;
    transition: var(--transition);
    filter: brightness(1.1);
}

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

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.4);
}

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

.cta-button {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    filter: brightness(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: #0f1419;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
    z-index: 2;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: var(--text-light);
}

.hero-tagline {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2rem;
    border: 2px solid rgba(99, 102, 241, 0.4);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.title-accent {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 480px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.feature-item i {
    width: 20px;
    color: #6366f1;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.hero-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
    position: relative;
    opacity: 0;
    animation: fadeInRight 0.8s ease 1.2s forwards;
}

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
}

.overlay-content {
    display: flex;
    gap: 2rem;
}

.stat-box {
    text-align: center;
    color: white;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.stat-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.6s ease;
}

.section-header:hover .section-title::after {
    width: 60px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

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

.about-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition-bounce);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-heavy), 0 0 30px rgba(99, 102, 241, 0.2);
}

.about-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-medium);
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-bounce);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-heavy), 0 0 40px rgba(184, 134, 11, 0.4);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.15) rotate(-5deg);
    box-shadow: var(--shadow-heavy), 0 0 20px rgba(255, 255, 255, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: var(--transition);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: var(--background-light);
}

.portfolio-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    background: white;
}

.portfolio-track {
    display: flex;
    transition: transform 0.5s ease;
}

.portfolio-item {
    min-width: 100%;
    background: white;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
}

.portfolio-image {
    flex: 1;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    position: relative;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-image:hover::before {
    opacity: 0.1;
}

.portfolio-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-bounce);
}

.portfolio-image:hover img {
    transform: scale(1.08);
}

.portfolio-content {
    flex: 1;
}

.portfolio-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.portfolio-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
}

.portfolio-btn {
    width: 55px;
    height: 55px;
    border: none;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-medium);
}

.portfolio-btn:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.portfolio-btn:active {
    transform: scale(0.95);
}

/* Process Section */
.process {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--section-padding);
    overflow: hidden;
}

.process-steps-centered {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps-centered::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.process-step {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 120px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(184, 134, 11, 0.6);
}

.step-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content {
    margin-bottom: 1.5rem;
}

.step-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    background: rgba(184, 134, 11, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(184, 134, 11, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(184, 134, 11, 0.2);
    transform: translateY(-2px);
}

.step-connector {
    position: absolute;
    left: 40px;
    bottom: -1.5rem;
    width: 3px;
    height: 3rem;
    background: linear-gradient(to bottom, transparent, rgba(184, 134, 11, 0.4));
}

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

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

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 2px solid var(--border-color);
    background: transparent;
    font-size: 1rem;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-secondary);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    transform: translateY(-1.5rem);
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.form-group input:focus ~ .form-bar,
.form-group textarea:focus ~ .form-bar {
    width: 100%;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

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

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.submit-btn:active {
    transform: translateY(-1px) scale(1.02);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition-bounce);
    border-left: 4px solid transparent;
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-heavy);
    border-left-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-medium);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

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

.social-link {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Footer */
/* Logo optimizations */
.nav-logo img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.15);
}

.footer-logo img {
    height: 80px;
    width: auto;
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.15);
    object-fit: contain;
}

.hero-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Mobile-First Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 4rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }

    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        display: block;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

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

    .cta-button {
        display: none;
    }

    /* Hero Mobile Optimized */
    .hero {
        min-height: 100vh;
        padding: 100px 0 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-tagline {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .hero-description {
        max-width: 100%;
        font-size: clamp(0.95rem, 3vw, 1rem);
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-features {
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-visual {
        order: -1;
        margin: 0 auto;
        max-width: 300px;
    }

    .hero-img {
        height: 200px;
        width: 100%;
        object-fit: contain;
        border-radius: 12px;
    }

    .image-overlay {
        padding: 1.5rem;
    }

    .overlay-content {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-desc {
        font-size: 0.8rem;
    }

    /* Sections Mobile */
    .section {
        padding: var(--section-padding);
    }

    .section-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 2.5rem;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

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

    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        padding: 0 1rem;
    }

    .about-image {
        order: -1;
        margin: 0 1rem;
    }

    /* Portfolio Mobile */
    .portfolio-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .portfolio-image {
        order: -1;
        margin: 0;
    }

    .portfolio-image img {
        border-radius: 12px;
    }

    .portfolio-content {
        padding: 0;
    }

    /* Process Mobile */
    .process-steps-centered {
        padding: 0 1rem;
    }

    .process-steps-centered::before {
        left: 30px;
        width: 2px;
    }

    .process-step {
        margin-bottom: 3rem;
        padding-left: 80px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        left: 0;
    }

    .step-title {
        font-size: 1.5rem;
    }

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

    .step-features {
        justify-content: center;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Contact Mobile */
    .contact {
        padding: 3rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
        margin-top: 1.5rem;
    }

    .contact-info {
        order: -1;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .contact-item:hover {
        transform: translateY(-5px);
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact-details h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .contact-details p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

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

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1.2rem;
        font-size: 1rem;
        justify-content: center;
    }

    .social-links {
        margin-top: 1.5rem;
        gap: 0.8rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-logo img {
        height: 60px;
        max-width: 150px;
    }

    .footer-section h4 {
        font-size: 1.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0;
    }

    .hero-btn {
        max-width: 100%;
        padding: 1rem;
    }

    .hero-img {
        height: 200px;
    }

    .footer-logo img {
        height: 50px;
        max-width: 120px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .portfolio-item {
        padding: 1rem;
    }

    .contact {
        padding: 2rem 0;
    }

    .contact-content {
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .contact-item {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-details h4 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.85rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0;
    }

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

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.6rem;
        margin-top: 1rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .about-text,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-controls {
        position: static;
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Animations personnalisées */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: var(--shadow-medium);
    }
    50% {
        box-shadow: var(--shadow-heavy), var(--shadow-glow);
    }
}

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

/* Smooth scroll pour les navigateurs qui ne le supportent pas nativement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Effet parallaxe */
.hero-bg-image {
    will-change: transform;
}

/* Optimisation des performances */
.service-card,
.about-card,
.portfolio-btn,
.contact-item {
    will-change: transform;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states pour l'accessibilité */
.nav-link:focus,
.cta-button:focus,
.hero-cta:focus,
.portfolio-btn:focus,
.submit-btn:focus,
.social-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* États de chargement */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Styles pour les écrans haute résolution */
@media (min-resolution: 2dppx) {
    .hero-bg-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Styles d'amélioration visuelle */
.hero-title {
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    letter-spacing: 1px;
}

.services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.process {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e7e5f4 100%);
}

/* Ajout d'effets de brillance */
.service-card,
.about-card,
.portfolio-item,
.contact-item {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

/* Animation de pulsation pour les éléments importants */
.hero-cta {
    animation: heroButtonPulse 3s infinite;
}

@keyframes heroButtonPulse {
    0% {
        box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4), var(--shadow-heavy);
        transform: translateY(-4px) scale(1.08);
    }
    50% {
        box-shadow: 0 25px 50px rgba(245, 158, 11, 0.6), var(--shadow-heavy);
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4), var(--shadow-heavy);
        transform: translateY(-4px) scale(1.08);
    }
}

/* Amélioration de la lisibilité */
.form-group input:focus,
.form-group textarea:focus {
    background: rgba(99, 102, 241, 0.05);
}

/* Effet de surbrillance pour les liens */
.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

/* Amélioration du footer */
.footer {
    background: linear-gradient(135deg, var(--background-dark), #1e293b);
}

/* Effet de dégradé sur les cartes de portfolio */
.portfolio-content h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} 