@keyframes loader {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0; }
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

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

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes glowing {
    0%, 100% { text-shadow: 0 0 20px rgba(26, 79, 139, 0.5); }
    50% { text-shadow: 0 0 40px rgba(26, 79, 139, 0.8); }
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --success: #10b981;
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
}

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

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

.loader-content {
    text-align: center;
}

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

.loader-logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: loader 1.5s infinite;
}

.loader-progress {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress::after {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: var(--gradient);
    animation: progress 1s ease forwards;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 600;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-container {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-links a {
    font-size: 1.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-footer {
    margin-top: auto;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom right, var(--surface), white);
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero-badge i {
    color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: white;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--surface);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.hero-card {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-clients {
    padding-top: 4rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.clients-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.clients-logos img {
    height: 2rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.clients-logos img:hover {
    opacity: 1;
}

/* Section Expertise Redesign */
.expertise {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom right, #f8fafc, #ffffff);
    position: relative;
    overflow: hidden;
}

.expertise-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

.expertise-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.expertise-badge i {
    font-size: 0.8rem;
    animation: rotate 4s linear infinite;
}

.expertise-title {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.expertise-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.expertise-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.expertise-card.featured {
    background: var(--gradient);
    color: white;
    transform: translateY(-20px);
}

.expertise-card.featured p,
.expertise-card.featured .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.expertise-card.featured .expertise-icon {
    background: white;
    color: var(--primary);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    transform: rotate(0deg) scale(1.1);
}

.expertise-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.expertise-card.featured .stat-value {
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Showcase Section */
.showcase-content h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 3rem;
}

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

.showcase-stat {
    text-align: center;
}

.showcase-stat .counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.showcase-stat .label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.showcase-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-showcase {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

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

    .showcase-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-card.featured {
        transform: translateY(0);
    }
}

/* Services Section Redesign */
.services {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom right, #f8fafc, #ffffff);
    position: relative;
    overflow: hidden;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.services-badge i {
    font-size: 1rem;
    color: var(--primary);
}

.services-header h2 {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.services-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card.premium {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
    backdrop-filter: blur(10px);
}

.service-card.premium .service-features li {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card.premium .service-button {
    background: white;
    color: var(--primary);
}

.service-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    color: white;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 1.8rem;
    transform: rotate(-5deg);
    transition: all 0.4s ease;
}

.service-card.premium .service-icon {
    background: white;
    color: var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-icon {
    transform: translateY(-10px) rotate(10deg);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-card.premium h3,
.service-card.premium p {
    color: white;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

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

.service-features li i {
    color: var(--primary);
    font-size: 1.2rem;
}

.service-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-price {
    text-align: right;
}

.service-price .price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.service-card.premium .service-price .price {
    color: white;
}

.service-price .period {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Header & Navigation */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin: 0 4px;
}

.cta-button {
    background: var(--gradient);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero-split {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: #64748b;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: #64748b;
}

.hero-partners {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

.partners-title {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    opacity: 0.7;
}

.partners-grid img {
    height: 2rem;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.partners-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Section Contact */
.contact {
    padding: 6rem 0;
    background: var(--surface);
}

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

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-header h2 {
        font-size: 2rem;
    }
}

/* Footer amélioré */
.footer {
    background: var(--surface);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

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

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

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.brand-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.footer-contact h4 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    position: relative;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.contact-cta {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

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

/* Barre d'annonce */
.announcement-bar {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

/* Nouvelles animations pour les sections */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(26, 79, 139, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Processus */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Animations au défilement */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Effet 3D pour les cartes */
.innovation-card {
    perspective: 1000px;
    height: 300px;
}

.card-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.innovation-card:hover .card-3d {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Section Parallaxe améliorée */
.parallax-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('path/to/parallax-bg.jpg');
    background-size: cover;
    background-position: center;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

.glowing-text {
    font-size: 4rem;
    color: var(--white);
    animation: glowing 3s infinite;
}

/* Compteurs animés */
.achievement-counter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.counter-item {
    text-align: center;
    color: var(--white);
}

.counter {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Témoignages améliorés */
.testimonial-card {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    margin: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.quote-mark {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

/* Nouveaux effets visuels */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,...'); /* Base64 noise pattern */
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

.gradient-sphere {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(37,99,235,0) 70%);
    border-radius: 50%;
    top: -400px;
    right: -400px;
    z-index: -1;
    animation: sphereFloat 20s infinite alternate ease-in-out;
}

/* Nouvelles animations */
@keyframes sphereFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-100px, 100px) rotate(180deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(2); opacity: 0; }
}

/* Améliorations des cartes services */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-card.premium {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
    backdrop-filter: blur(10px);
}

/* Améliorations des boutons */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--gradient);
    border: none;
    padding: 1rem 2.5rem;
    color: white;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
}

.btn-primary:hover::before {
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

/* Effets de survol améliorés */
.service-card:hover .service-icon {
    transform: translateY(-10px) rotate(10deg);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
}

/* Améliorations des transitions */
.service-card,
.expertise-card,
.btn-primary,
.nav-link {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Témoignages */
.testimonials {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom right, #f8fafc, #ffffff);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card.featured {
    background: var(--gradient);
    color: white;
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.testimonial-card.featured .testimonial-rating {
    color: white;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-card.featured .author-info span {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-trust {
        display: none;
    }
    
    .stats-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        width: 100%;
    }
}

/* Styles spécifiques pour la transformation digitale */
.service-hero.digital {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero.digital::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('path/to/grid-pattern.svg');
    opacity: 0.1;
    animation: moveGrid 20s linear infinite;
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    pointer-events: none;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: float 6s infinite ease-in-out;
}

.tech-icon:nth-child(2) { animation-delay: 1s; }
.tech-icon:nth-child(3) { animation-delay: 2s; }
.tech-icon:nth-child(4) { animation-delay: 3s; }

/* Solutions Section */
.digital-solutions {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom right, #f8fafc, #ffffff);
}

.solution-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.solution-card.featured {
    background: var(--gradient);
    color: white;
    transform: translateY(-20px);
}

.solution-card.featured .solution-icon {
    background: white;
    color: var(--primary);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transform: rotate(-5deg);
    transition: all 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.solution-card:hover .solution-icon {
    transform: rotate(0deg) scale(1.1);
}

.solution-features {
    list-style: none;
    margin: 2rem 0;
}

.solution-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.solution-card.featured .learn-more {
    color: white;
}

.learn-more:hover {
    gap: 1rem;
}

/* Process Section */
.digital-process {
    padding: 8rem 2rem;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    opacity: 0.2;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.step-duration {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: 1rem;
}

/* Technologies Section */
.technologies {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom right, #f8fafc, #ffffff);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.tech-category {
    text-align: center;
}

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

.tech-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.tech-logos img {
    height: 40px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tech-logos img:hover {
    opacity: 1;
    transform: translateY(-5px);
}

@keyframes moveGrid {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .solution-card.featured {
        transform: translateY(0);
    }
}

/* Styles pour la page Mentions Légales */
.legal-section {
    padding: 120px 0 60px;
    background: linear-gradient(to bottom right, var(--surface), white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    text-align: center;
}

.legal-block {
    margin-bottom: 2.5rem;
}

.legal-block h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.legal-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient);
}

.legal-block p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-block h2 {
        font-size: 1.3rem;
    }
}

/* Styles spécifiques pour la page Conseil Stratégique */
.service-hero {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom right, var(--surface), white);
    position: relative;
    overflow: hidden;
}

.service-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-hero-content {
    max-width: 600px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.service-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.service-hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.service-cta-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.service-hero-image {
    position: relative;
}

.service-hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* Section Méthodologie */
.methodology {
    padding: 8rem 2rem;
    background: white;
}

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

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

.methodology-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    opacity: 0.1;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-hero-content {
        max-width: 100%;
    }

    .service-cta-group {
        justify-content: center;
    }

    .service-stats {
        justify-content: center;
    }

    .methodology-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .methodology-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 2.5rem;
    }

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

    .service-stats {
        grid-template-columns: 1fr;
    }
}

/* Styles spécifiques pour la page Études de Marché */
.market-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.market-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('path/to/pattern.svg');
    opacity: 0.05;
    top: 0;
    left: 0;
}

.market-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.market-stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.market-stat-card:hover {
    transform: translateY(-5px);
}

.market-stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.market-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.market-stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Timeline Section */
.timeline-section {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

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

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    left: -30px;
}

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

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.market-services {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom right, var(--surface), white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.market-service-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.market-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.market-service-card:hover .service-icon {
    transform: rotate(0deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .market-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
}

@media (max-width: 768px) {
    .market-stats-grid {
        grid-template-columns: 1fr;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px;
    }
}

/* Widget Chat Amélioré */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: translateY(-5px);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-badge.pulse {
    animation: pulse 2s infinite;
}

.chat-container {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transform: scale(0);
    opacity: 0;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.chat-container.active {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.chat-header {
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    border-radius: 24px 24px 0 0;
    color: white;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agent-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid white;
}

.agent-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.agent-details p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.2rem;
    color: #10b981;
    font-weight: 500;
}

.status {
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.status i {
    color: #10b981;
    margin-right: 0.3rem;
    font-size: 0.9rem;
}

.chat-messages {
    height: 400px;
    padding: 1.5rem;
    overflow-y: auto;
    background: #f8fafc;
}

.message-timestamp {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 1rem 0;
}

.message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlide 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.message-avatar {
    width: 40px;
    height: 40px;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    flex: 1;
    max-width: 80%;
}

.message-name {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.message-content p {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.3rem;
    box-shadow: var(--shadow-sm);
}

.message.user .message-content p {
    background: var(--primary);
    color: white;
    margin-left: auto;
}

.message-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-reply {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quick-reply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: transparent;
}

.chat-input {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--border);
    border-radius: 0 0 24px 24px;
    display: flex;
    gap: 1rem;
}

.input-wrapper {
    flex: 1;
    position: relative;
    background: #f8fafc;
    border-radius: 50px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.chat-input input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.chat-input input:focus {
    outline: none;
}

.input-actions {
    display: flex;
    gap: 0.5rem;
}

.action-button {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    transform: scale(1.1);
}

.action-button:active {
    transform: scale(0.95);
}

.send-message {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

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

.send-message:hover {
    transform: scale(1.1) rotate(-15deg);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.send-message:hover::before {
    transform: translateX(100%);
}

.send-message:active {
    transform: scale(0.95) rotate(-15deg);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.send-message i {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.send-message:hover i {
    transform: translateX(3px);
    color: rgba(255, 255, 255, 1);
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@media (max-width: 768px) {
    .chat-container {
        width: calc(100vw - 4rem);
        bottom: 85px;
    }
}

/* Amélioration du bouton de fermeture du chat */
.chat-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-close:active {
    transform: rotate(90deg) scale(0.95);
}

.chat-close i {
    transition: all 0.3s ease;
}

.chat-close:hover i {
    color: #fff;
}

/* Optimisations Mobile */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none; /* Le menu principal est caché sur mobile */
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary);
        transition: all 0.3s ease;
    }

    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        text-align: center;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

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

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

    .service-card {
        padding: 2rem;
    }

    .service-cta {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .service-button {
        width: 100%;
        justify-content: center;
    }

    /* Chat Widget */
    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chat-container {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 90vh;
        border-radius: 24px 24px 0 0;
    }

    .chat-messages {
        height: calc(90vh - 180px); /* Ajuster la hauteur en fonction du header et input */
    }

    .quick-replies {
        flex-direction: column;
        gap: 0.8rem;
    }

    .quick-reply {
        width: 100%;
        text-align: center;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Menu Mobile Amélioré */
    .mobile-menu {
        padding-top: 2rem;
    }

    .mobile-menu-links {
        padding: 2rem 0;
    }

    .mobile-menu-links a {
        padding: 1rem 1.5rem;
        border-radius: 12px;
        background: var(--surface);
        transition: all 0.3s ease;
    }

    .mobile-menu-links a:hover {
        background: var(--primary);
        color: white;
        transform: translateX(10px);
    }

    /* Formulaire de contact */
    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Éviter le zoom sur iOS */
    }

    /* Témoignages */
    .testimonial-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    /* Animations plus légères pour mobile */
    .service-card:hover,
    .expertise-card:hover {
        transform: translateY(-5px);
    }

    /* Ajustements de la typographie */
    h1, h2 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    p {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }

    /* Ajustements des espacements */
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* Ajustements pour les très petits écrans */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-card,
    .expertise-card {
        padding: 1.5rem;
    }
}

/* Optimisations pour les tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Optimisations de performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Footer Contact Redesign */
.footer-contact {
    position: relative;
}

.footer-contact h4 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.3s ease;
}

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

.contact-item i {
    width: 32px;
    height: 32px;
    background: var(--surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--primary);
    color: white;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item p {
    font-size: 0.95rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-cta {
    grid-column: 1 / -1;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-cta:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-cta i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contact-item {
        justify-content: center;
    }

    .contact-item:hover {
        transform: none;
    }
}

/* Styles pour la page Contact */
.contact-hero {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom right, var(--surface), white);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23f3f4f6"/></svg>');
    opacity: 0.5;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 1.5rem 0;
    color: var(--secondary);
}

.contact-hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-hero-stats .stat {
    text-align: center;
}

.contact-hero-stats .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-hero-stats .stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-section {
    padding: 8rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: var(--surface);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-header p {
    color: var(--text-light);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

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

.contact-details p,
.contact-details a {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-details a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary);
}

.contact-social {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--text-light);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px;
    }

    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .contact-item {
        padding: 1rem;
    }
}

.chat-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.chat-loader p {
    margin: 1rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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