/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales */
    --primary-color: #374151;
    --primary-dark: #1f2937;
    --secondary-color: #6b7280;
    --accent-color: #9ca3af;
    
    /* Couleurs neutres */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typographie */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Bordures */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Gradients et ombres complémentaires (manquants) */
    --gradient-primary: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.25);
    --border-radius-md: 0.75rem;

    /* Teintes bleu néon très discrètes */
    --neon-blue-light: rgba(0, 212, 255, 0.03);
    --neon-blue-medium: rgba(0, 212, 255, 0.06);
    --neon-blue-border: rgba(0, 212, 255, 0.15);
    --neon-blue-glow: 0 0 8px rgba(0, 212, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #374151;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(31, 41, 55, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-logo-svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: url(#nav-neon-glow);
    transition: transform 0.3s ease;
}

.nav-logo-svg:hover {
    transform: scale(1.1);
}

.nav-logo-image {
    border-radius: 50%;
    opacity: 0.9;
    width: 80px;
    height: 80px;
}

.ecg-trail {
    animation: drawTrail 5s ease-in-out 1s forwards;
}

.light-dot {
    opacity: 0;
    animation: dotGlow 2.5s ease-in-out 1s forwards;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #0099cc 50%, #00d4ff 100%);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6), 0 0 16px rgba(0, 212, 255, 0.3);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e5e7eb;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    overflow: hidden;
    padding-top: 120px;
}



.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(74, 158, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(74, 158, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 10%, rgba(0, 212, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 10% 60%, rgba(74, 158, 255, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 90% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 30% 20%, rgba(74, 158, 255, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 45%);
    opacity: 0.12;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.05);
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(1.1);
    }
    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight {
    background: linear-gradient(135deg, #9ca3af, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: var(--spacing-2xl);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease 0.8s forwards;
}

.hero-cta a:hover {
    box-shadow: var(--shadow-heavy);
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    bottom: 0;
    left: 20%;
    animation-delay: 4s;
}

.card-content {
    text-align: center;
}

.card-content i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gray-400);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 2px solid #d1d5db;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: #4a9eff;
    color: #4a9eff;
    background: rgba(74, 158, 255, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.1);
}

/* Sections */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(209, 213, 219, 0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6b7280, #9ca3af);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #3a3a3a 100%);
    border-color: #444444;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.service-card:hover .service-icon i {
    color: #4a9eff;
    text-shadow: 0 0 4px rgba(74, 158, 255, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: #6b7280;
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.95);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #2a2a2a 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    border: 1px solid #333333;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    pointer-events: none;
}

.service-icon i {
    font-size: 1.5rem;
    color: #c0c0c0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    z-index: 1;
    position: relative;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    padding: var(--spacing-sm) 0;
    color: var(--gray-700);
    position: relative;
    padding-left: var(--spacing-lg);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-weight: bold;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
    transition: var(--transition-fast);
}

.service-card:hover .service-price {
    color: #4a9eff;
    text-shadow: 0 0 4px rgba(74, 158, 255, 0.2);
}

/* Portfolio */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--gray-300);
    background: transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #6b7280;
    background: #6b7280;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.portfolio-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    background: var(--white);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: var(--white);
    padding: var(--spacing-lg);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.portfolio-info p {
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.portfolio-tech {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Témoignages */
.testimonials {
    background: var(--gray-50);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    text-align: center;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    background: var(--white);
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: var(--font-display);
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.testimonial-stars i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--spacing-2xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-2xl);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-dot.active,
.nav-dot:hover {
    background: var(--primary-color);
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.contact-item:hover .contact-icon i {
    color: #4a9eff;
    text-shadow: 0 0 4px rgba(74, 158, 255, 0.2);
}

.contact-details h3 {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
}

.contact-details p {
    color: var(--gray-600);
}


/* Formulaire */
.contact-form {
    background: var(--white);
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: #4a9eff;
}

.form-group label {
    position: absolute;
    left: var(--spacing-lg);
    top: var(--spacing-lg);
    color: var(--gray-500);
    transition: var(--transition-normal);
    pointer-events: none;
    background: var(--white);
    padding: 0 var(--spacing-xs);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.8rem;
    color: var(--primary-color);
    transform: translateY(-50%);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: block;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: #4a9eff;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--spacing-lg);
    text-align: center;
}


/* Section Mes Réalisations */
.realisations {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: var(--spacing-3xl) 0;
}

.realisations-content {
    max-width: 1200px;
    margin: 0 auto;
}

.realisations-intro {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.intro-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.6;
}

.coming-soon {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--neon-blue-light);
    color: #6b7280;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--neon-blue-medium);
    font-weight: 500;
    font-size: 0.9rem;
}

.coming-soon i {
    color: #6b7280;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
    min-height: 200px;
}

.realisation-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.realisation-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.realisation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--neon-blue-glow);
    border-color: var(--neon-blue-border);
}

.realisation-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.realisation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.realisation-card:hover .realisation-image img {
    transform: scale(1.1);
}

.realisation-info {
    padding: var(--spacing-xl);
}

.realisation-info h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.realisation-info p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.realisation-tech {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.realisation-tech span {
    background: var(--neon-blue-light);
    color: #6b7280;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--neon-blue-medium);
}

.realisation-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Effet néon sur le slogan */
.neon-effect {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.neon-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: neonSweep 3s ease-in-out 1s forwards;
    z-index: 1;
}

.neon-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), rgba(107, 114, 128, 0.1), transparent);
    animation: neonSweep 3s ease-in-out 1.2s forwards;
    z-index: 1;
}

@keyframes neonSweep {
    0% {
        left: -100%;
    }
    50% {
        left: 0%;
    }
    100% {
        left: 100%;
    }
}

/* Page Mentions Légales */
.legal-page {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    min-height: 70vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--spacing-3xl);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    border-radius: 2px;
}

.legal-info-box {
    color: var(--gray-700);
    line-height: 1.6;
}

.legal-info-box p {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.legal-info-box a {
    color: #6b7280;
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-info-box a:hover {
    color: #9ca3af;
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-500);
    z-index: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--gray-900);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    padding: var(--spacing-3xl);
}

.modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.modal-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.modal-info p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.modal-tech {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.modal-tech span {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.modal-links {
    display: flex;
    gap: var(--spacing-md);
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Remerciement */
.thank-you-modal-content {
    max-width: 500px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalPopIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.thank-you-modal-body {
    padding: var(--spacing-3xl);
    text-align: center;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
}

.success-animation {
    margin-bottom: var(--spacing-xl);
}

.success-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    animation: successPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both;
}

.success-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #10b981;
    border-radius: 50%;
    animation: rippleEffect 1.5s ease-out 0.5s infinite;
}

.success-check {
    color: white;
    font-size: 2.5rem;
    animation: checkBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.8s both;
}

.thank-you-text h2 {
    color: #f8fafc;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    animation: textSlideIn 0.6s ease-out 0.4s both;
}

.thank-you-text p {
    color: #d1d5db;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    animation: textSlideIn 0.6s ease-out 0.6s both;
}

.response-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
    animation: textSlideIn 0.6s ease-out 0.8s both;
}

.response-info .highlight {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1rem;
}

.response-info .hours {
    color: #9ca3af;
    font-size: 0.9rem;
}

.thank-you-actions {
    animation: textSlideIn 0.6s ease-out 1s both;
}

.close-thank-you {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
    color: white !important;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none !important;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.close-thank-you:hover {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(156, 163, 175, 0.3) !important;
}

/* Styles spécifiques pour le bouton du formulaire de contact */
.contact-form .btn {
    width: 100%;
    margin-top: var(--spacing-lg);
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    color: white !important;
    font-size: 1.1rem;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(156, 163, 175, 0.3);
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    min-height: 50px;
}

.contact-form .btn:hover {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(156, 163, 175, 0.4);
}

.contact-form .btn:active {
    transform: translateY(-1px);
}

.contact-form .btn .btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-form .btn .btn-loading {
    color: white;
    font-size: 1.2rem;
}

/* Animations pour la modale */
@keyframes modalPopIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes checkBounce {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes rippleEffect {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-svg {
        width: 70px;
        height: 70px;
    }
    
    .nav-logo-image {
        width: 70px;
        height: 70px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .hero-name {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(31, 41, 55, 0.98);
        flex-direction: column;
        padding: var(--spacing-2xl);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .value-item {
        padding: var(--spacing-lg);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .testimonial-content {
        padding: var(--spacing-2xl);
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    /* Garder les animations visibles jusqu'à 768px (menu burger) */
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card,
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

    .value-item {
        padding: var(--spacing-md);
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}



/* Masquer les animations sur tablette et mobiles */
@media (max-width: 768px) {
    .particles {
        display: none !important;
    }

    .morphing-shape {
        display: none !important;
    }

    .animate-rotate {
        display: none !important;
    }

    .neonPulse,
    .navNeonPulse,
    .neonGlow {
        display: none !important;
    }

    /* Désactiver les animations complexes sur très petits écrans */
    .gpu-accelerated {
        transform: none !important;
        backface-visibility: visible !important;
        perspective: none !important;
    }

    /* Masquer les cartes flottantes qui peuvent se superposer */
    .floating-card {
        display: none !important;
    }
}

/* Section Garanties */
.guarantees {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: var(--spacing-3xl) 0;
}

.guarantees .section-title {
    color: #f8f9fa;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.guarantees .section-subtitle {
    color: #e9ecef;
    font-weight: 500;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.guarantee-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.guarantee-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 50%, #a0a0a0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.guarantee-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: metallicShine 3s infinite;
}

.guarantee-icon i {
    font-size: 2rem;
    color: #4a4a4a;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.guarantee-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: white;
}

.guarantee-card p {
    color: var(--gray-300);
    line-height: 1.6;
}

/* Garanties des services */
.service-guarantee {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(192, 192, 192, 0.1);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.service-guarantee i {
    color: #c0c0c0;
    font-size: 1rem;
}

.service-guarantee span {
    color: #c0c0c0;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-note {
    margin-top: var(--spacing-sm);
    text-align: center;
}

.service-note small {
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.8;
}

.service-note small::before {
    content: '';
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* Éléments de confiance Contact */
.contact-trust {
    margin: var(--spacing-lg) 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    border: none;
}

/* Accent subtil sur les éléments importants */
.highlight {
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a9eff 0%, rgba(74, 158, 255, 0.5) 100%);
    transition: width 0.3s ease;
}

.contact-trust .highlight:hover::after {
    width: 100%;
}



.trust-title {
    color: #e0e0e0;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    letter-spacing: 2px;
}

.trust-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c0c0c0, transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.trust-text {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--neon-blue-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--neon-blue-medium);
    transition: var(--transition-normal);
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.trust-text:hover {
    transform: translateX(5px);
}







.trust-text i {
    color: #000000;
    font-size: 1rem;
    text-shadow: none;
    z-index: 1;
    position: relative;
    filter: none;
}

.trust-text span {
    color: #000000;
    font-size: 1rem;
    font-weight: 400;
    text-shadow: none;
    z-index: 1;
    position: relative;
    letter-spacing: 0.1px;
}

/* Animation effet métallique brossé */
@keyframes metallicShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Section Nos Valeurs */
.values-content {
    margin-top: var(--spacing-3xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    place-items: start;
}

.value-item {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(209, 213, 219, 0.5);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 380px;
    justify-content: space-between;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--neon-blue-glow);
    border-color: var(--neon-blue-border);
    background: rgba(255, 255, 255, 0.92);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    flex-shrink: 0;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
}

.value-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.value-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.value-content p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    min-height: 4em;
    display: flex;
    align-items: center;
}

.value-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.value-content ul li {
    padding: var(--spacing-sm) 0;
    color: var(--gray-700);
    position: relative;
    padding-left: var(--spacing-lg);
}

.value-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-weight: bold;
}

/* Bouton Back to Top */
.back-to-top {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 50%, #a0a0a0 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.back-to-top:hover {
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: metallicShine 3s infinite;
}

.back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top i {
    color: #4a4a4a;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive pour les éléments de confiance */
@media (max-width: 768px) {
    .trust-badges {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top i {
        font-size: 1.2rem;
    }
}

/* Media queries pour les valeurs */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
        max-width: 1000px;
    }
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 500px;
    }

    .value-item {
        min-height: 300px;
        padding: var(--spacing-lg);
        justify-content: flex-start;
    }

    .value-content {
        justify-content: flex-start;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .value-item {
        min-height: auto;
        padding: var(--spacing-md);
    }

    .value-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}


/* ============================================
   AMÉLIORATIONS DESIGN - Identité Visuelle
   ============================================ */

:root {
    --accent-blue: #0ea5e9;
    --accent-cyan: #00d4ff;
    --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #00d4ff 100%);
    --shadow-accent: 0 4px 20px rgba(14, 165, 233, 0.3);
}

/* Titre hero - gradient vibrant */
.title-line.highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #00d4ff 55%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Boutons principaux - accentuation bleue */
.btn-primary {
    background: var(--gradient-accent) !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4) !important;
    transform: translateY(-2px);
}

/* Bouton secondaire dans le hero (fond sombre) */
.hero .btn-secondary {
    color: #e5e7eb;
    border-color: rgba(229, 231, 235, 0.45);
}

.hero .btn-secondary:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.07);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}

/* Icônes des cartes flottantes hero */
.card-content i {
    color: #0ea5e9 !important;
}

/* Décoration des titres de section */
.section-title {
    position: relative;
    padding-bottom: 1.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

/* ---- Services ---- */
.service-card::before {
    background: var(--gradient-accent) !important;
}

.service-card.featured {
    border: 2px solid rgba(0, 212, 255, 0.45) !important;
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.12), var(--shadow-xl) !important;
}

.service-card.featured::before {
    transform: scaleX(1) !important;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.4);
}

.service-card.featured .service-price {
    color: #0ea5e9;
}

.service-features li::before {
    color: #0ea5e9 !important;
}

.service-guarantee {
    background: rgba(14, 165, 233, 0.06) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
}

.service-guarantee i,
.service-guarantee span {
    color: #0ea5e9 !important;
}

/* Badge "populaire" */
.popular-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 14px 6px;
    border-radius: 0 0 10px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.35);
    z-index: 1;
}

/* ---- Section Valeurs ---- */
.portfolio {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.value-item:nth-child(1) .value-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.value-item:nth-child(2) .value-icon {
    background: linear-gradient(135deg, #0ea5e9, #00d4ff);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.value-item:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.value-item:nth-child(4) .value-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.value-content ul li::before {
    color: #0ea5e9 !important;
}

/* ---- Contact ---- */
.contact {
    background: linear-gradient(135deg, #f9fafb 0%, #f0f9ff 100%);
}

.contact-icon {
    background: var(--gradient-accent) !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.contact-item:hover .contact-icon i {
    color: white !important;
    text-shadow: none !important;
}

.contact-details a {
    color: var(--gray-600);
    text-decoration: none;
}

.contact-details a:hover {
    color: #0ea5e9;
}

.trust-text {
    background: rgba(14, 165, 233, 0.04) !important;
    border-color: rgba(14, 165, 233, 0.15) !important;
}

.trust-text i {
    color: #0ea5e9 !important;
    font-size: 1rem !important;
}

.trust-text span {
    color: var(--gray-700) !important;
    font-weight: 500 !important;
}

/* Bouton du formulaire */
.contact-form .btn {
    background: var(--gradient-accent) !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3) !important;
}

.contact-form .btn:hover {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45) !important;
}

/* ---- Réalisations ---- */
.realisation-tech span {
    background: rgba(14, 165, 233, 0.07) !important;
    color: #0ea5e9 !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
    font-weight: 600;
}

/* ---- Modale remerciement ---- */
.response-info .highlight {
    background: none;
    -webkit-text-fill-color: #00d4ff;
    color: #00d4ff;
    font-weight: 600;
}

.close-thank-you {
    background: var(--gradient-accent) !important;
}

.close-thank-you:hover {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3) !important;
}

/* ---- Bouton Back to Top ---- */
.back-to-top {
    background: var(--gradient-accent) !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4) !important;
}

.back-to-top:hover {
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.55) !important;
}

.back-to-top::before {
    display: none;
}

.back-to-top i {
    color: white !important;
    text-shadow: none !important;
}

/* ---- Footer ---- */
.footer {
    border-top: 3px solid #0ea5e9;
    box-shadow: 0 -2px 15px rgba(14, 165, 233, 0.15);
}