/* ============================================================
   DESIGN TOKENS — refonte Code4U (palette éditoriale premium)
   Noms de variables conservés : la couche platform.css et les
   12k lignes existantes consomment ces tokens. Recolorer ici
   recolore tout le site de façon cohérente.
   ------------------------------------------------------------
   Light = papier ivoire + encre charcoal + UN accent cobalt.
   Plus de cyan/orange/dégradés "IA".
   ============================================================ */
:root {
    --primary-color: #14131a;   /* encre — surfaces/CTA sombres */
    --primary-hover: #000000;
    --primary-light: #3a3942;
    --secondary-color: #4a5bf0; /* cobalt clair (paire dégradé progress) */
    --accent-color: #1d6fe6;    /* accent unique de marque — bleu Code4U */
    --success-color: #1f9d6b;
    --warning-color: #c0871c;
    --text-primary: #14131a;    /* encre */
    --text-secondary: #5c5a66;  /* texte secondaire (AA sur papier) */
    --bg-primary: #fcfbf9;      /* papier ivoire (canvas) */
    --bg-secondary: #f4f1eb;    /* section alternée chaude */
    --bg-tertiary: #ece7dd;     /* fond chaud plus profond */
    --border-color: #e7e2d8;    /* filet chaud */
    --shadow-sm: 0 1px 2px 0 rgb(20 19 26 / 0.04);
    --shadow-md: 0 4px 16px -2px rgb(20 19 26 / 0.06);
    --shadow-lg: 0 14px 36px -8px rgb(20 19 26 / 0.10);
    --shadow-xl: 0 28px 64px -16px rgb(20 19 26 / 0.14);
    --gradient-primary: linear-gradient(135deg, #14131a 0%, #2e2d38 100%);
    --gradient-secondary: linear-gradient(135deg, #2e40e5 0%, #4a5bf0 100%);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

[data-theme="dark"] {
    --primary-color: #5b66f0;   /* cobalt vif — accent principal */
    --primary-hover: #7380f4;
    --primary-light: #9ba5f9;
    --secondary-color: #8a92f8;
    --accent-color: #7380f4;
    --success-color: #25b07a;
    --warning-color: #d69528;
    --text-primary: #edebed;    /* blanc cassé chaud */
    --text-secondary: #9b98a8;  /* gris lisible sur fond sombre */
    --bg-primary: #0c0b12;      /* quasi-noir bleuté */
    --bg-secondary: #131220;    /* surface de carte */
    --bg-tertiary: #1b1a2a;     /* hover / éléments actifs */
    --bg-300: #1a1927;          /* top-bar */
    --border-color: #252438;    /* contour discret */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.45);
    --shadow-md: 0 4px 16px -2px rgb(0 0 0 / 0.55);
    --shadow-lg: 0 14px 36px -8px rgb(0 0 0 / 0.65);
    --shadow-xl: 0 28px 64px -16px rgb(0 0 0 / 0.75);
    --gradient-primary: linear-gradient(135deg, #131220 0%, #1e1d2e 100%);
    --gradient-secondary: linear-gradient(135deg, #5b66f0 0%, #8a92f8 100%);
    --cobalt-glow: rgba(91, 102, 240, 0.22);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

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

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

.section-tag {
    display: none;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.top-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1200;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar-item:hover {
    color: var(--primary-color);
}

.top-bar-item i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}


.top-bar-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-social a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.top-bar-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1300;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.top-bar {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(12, 11, 18, 0.95);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(12, 11, 18, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .top-bar {
    background: var(--bg-300);
    border-bottom-color: var(--border-color);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Si nav-container a aussi la classe container, utiliser les styles de container */
.nav-container.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo a {
    text-decoration: none !important;
}

.logo-img {
    max-height: 30px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex: 1;
    max-width: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0;
}

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
    background: transparent;
}

.nav-link:not(.btn-contact)::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:not(.btn-contact):hover::after,
.nav-link:not(.btn-contact).active::after {
    transform: scaleX(1);
}


/* Right side navigation (Contact + Options) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    justify-self: end;
}

/* Hide btn-member and old theme toggles - now in options menu */
.nav-link.btn-member {
    display: none;
}

/* Hide backdrop on desktop - only for mobile */
.nav-backdrop {
    display: none;
}

/* Hide mobile-only elements on desktop */
.mobile-solutions-section {
    display: none;
}

.theme-label {
    display: none;
}

/* Hide dropdown chevrons on desktop */
.dropdown-chevron {
    display: none;
}

/* Options Menu (Minimalist - Three Dots) */
.nav-options {
    position: relative;
    z-index: 10001; /* Ensure it's above navbar */
}

.options-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    padding: 0;
    position: relative;
    z-index: 1;
}

.options-toggle:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.nav-options.active .options-toggle {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.options-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 180px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000 !important; /* High z-index to ensure visibility */
    overflow: hidden;
    padding: 0.5rem;
    pointer-events: none; /* Prevent interaction when hidden */
}

[data-theme="dark"] .options-dropdown {
    box-shadow: 0 4px 20px rgba(91, 102, 240, 0.22);
}

.nav-options.active .options-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* Enable interaction when visible */
}

.options-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
}

.options-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.options-item i {
    width: 18px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    font-size: 0.9rem;
    text-align: center;
}

.options-item:hover i {
    color: var(--primary-color);
}

.options-item span {
    flex: 1;
}

/* Navigation Dropdown */
/* Navigation Dropdown - Mega Menu Full Width */
.nav-dropdown {
    position: static;
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100vw;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    pointer-events: none;
    /* Zone de transition invisible pour maintenir le hover */
    padding-top: 15px;
    margin-top: -15px;
}

[data-theme="dark"] .mega-menu {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Le mega menu reste ouvert quand on survole le nav-dropdown OU le mega-menu */
.nav-dropdown:hover .mega-menu,
.mega-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Classe pour forcer la fermeture */
.mega-menu.closed {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-20px) !important;
    pointer-events: none !important;
}

.mega-menu-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    /* Compenser le padding-top du mega-menu */
    margin-top: 15px;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.mega-menu-section {
    display: flex;
    flex-direction: column;
}

.mega-menu-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

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

.mega-menu-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.mega-menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mega-menu-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mega-menu-item:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 64, 229, 0.15);
}

.mega-menu-item-image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-primary);
}

.mega-menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mega-menu-item:hover .mega-menu-item-image img {
    transform: scale(1.1);
}

.mega-menu-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mega-menu-item-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.mega-menu-item-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.mega-menu-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.mega-menu-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    margin: 0.25rem;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dropdown-item-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.1), rgba(46, 64, 229, 0.1));
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.dropdown-item-icon-wrapper i {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover .dropdown-item-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1) rotate(5deg);
}

.dropdown-item:hover .dropdown-item-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

.dropdown-item-content {
    flex: 1;
    min-width: 0;
}

.dropdown-item-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
    transition: color 0.2s ease;
}

.dropdown-item-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 0.75rem;
    transition: color 0.2s ease;
}

.dropdown-item:hover .dropdown-item-title {
    color: var(--primary-color);
}

.dropdown-item:hover .dropdown-item-desc {
    color: var(--text-primary);
}

.dropdown-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.dropdown-item-price {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.dropdown-item-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(46, 64, 229, 0.3);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.nav-link span:first-child {
    font-size: 0.95rem;
}

.nav-link-hint {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.7;
    font-weight: 400;
    transition: var(--transition);
}

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

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
    background: transparent;
}

.nav-link.active .nav-link-hint {
    color: var(--primary-color);
    opacity: 1;
}

[data-theme="dark"] .nav-link.active {
    color: var(--primary-color);
    background: transparent;
}

.nav-link.btn-contact {
    background: #000;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.nav-link.btn-contact:hover {
    background: #333;
    color: white !important;
}

.nav-link.btn-member.active {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--secondary-color) 100%);
}

.nav-link.btn-member i {
    font-size: 1.1rem;
}

.desktop-only {
    display: none;
}

/* Ensure chevrons are hidden on desktop */
@media (min-width: 1025px) {
    .dropdown-chevron {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .desktop-only {
        display: inline;
    }
}

.nav-link.btn-contact {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: var(--radius-sm);
    border: none;
}

.nav-link.btn-contact:hover {
    background: var(--primary-hover);
    color: white !important;
}

.nav-link.btn-contact.active {
    background: var(--primary-hover);
    color: white !important;
}

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

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Hide old theme toggles - now in options menu */
.desktop-theme-wrapper,
.mobile-theme-wrapper {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

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

/* ========================================
   Loading Screen
   ======================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(91, 102, 240, 0.08) 0%, transparent 70%);
    animation: loadingGlow 3s ease-in-out infinite;
}

.loading-screen.hidden,
.loading-screen[style*="display: none"],
.loading-screen[style*="opacity: 0"] {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
    z-index: -1 !important;
    position: fixed !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.loading-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    animation: loadingLogoFloat 3s ease-in-out infinite;
}

.loading-logo-img {
    max-height: 90px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 12px rgba(91, 102, 240, 0.22));
}

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

.loading-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.02em;
}

.loading-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
}

.loading-progress {
    width: 100%;
    height: 3px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0;
    animation: loadingProgress 2s ease forwards, loadingShimmer 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(91, 102, 240, 0.35);
}

@keyframes loadingLogoFloat {
    0%, 100% { 
        transform: translateY(0);
        opacity: 1;
    }
    50% { 
        transform: translateY(-8px);
        opacity: 0.95;
    }
}

@keyframes loadingGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

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

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

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

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

@keyframes loadingProgress {
    to { width: 100%; }
}

/* ========================================
   Hero Section - Clean & Simple
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    animation: shapeFloat 20s infinite ease-in-out;
    filter: blur(80px);
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.hero-shape-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

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


.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: particleFloat 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(91, 102, 240, 0.2);
    opacity: 0.2;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
    background: var(--secondary-color);
}

.particle:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
    animation-duration: 18s;
    background: var(--accent-color);
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 15s;
    background: var(--primary-color);
}

.particle:nth-child(4) {
    left: 70%;
    top: 10%;
    animation-delay: 6s;
    animation-duration: 20s;
    background: var(--secondary-color);
}

.particle:nth-child(5) {
    left: 50%;
    top: 60%;
    animation-delay: 8s;
    animation-duration: 14s;
    background: var(--accent-color);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 0.3;
    }
    50% {
        transform: translate(-20px, -100px) scale(0.8);
        opacity: 0.25;
    }
    75% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.25;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-title {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    animation: fadeInUp 1s ease-out 0.3s backwards;
    letter-spacing: -0.01em;
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

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

.hero-subtitle {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.3;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.5s backwards;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

.btn-hero {
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn i {
    font-size: 0.8rem;
}

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

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

.btn-hero.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-lg);
    border: none;
}

.btn-hero.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.btn-hero.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.btn-hero.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn i {
    font-size: 1rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-secondary);
    font-size: 1.5rem;
    animation: bounceDown 2s infinite;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hero-scroll-indicator:hover {
    color: var(--secondary-color);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
    justify-content: center;
}


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

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: var(--radius-md);
    opacity: 0.05;
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

/* ========================================
   Logos Section
   ======================================== */
.logos-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logos-title {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    align-items: center;
}

.logo-item {
    text-align: center;
    font-size: 3rem;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
    filter: grayscale(100%);
}

.logo-item:hover {
    transform: scale(1.2);
    filter: grayscale(0%);
    color: var(--primary-color);
}

/* ========================================
   Solutions Section
   ======================================== */
.solutions {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--bg-secondary) 0%, 
        var(--bg-primary) 50%, 
        rgba(46, 64, 229, 0.05) 100%);
    z-index: -1;
}

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

/* Services Grid - Premium Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
    margin-top: 2.25rem;
}

.service-card {
    --service-accent: var(--primary-color);
    --service-accent-soft: rgba(46, 64, 229, 0.12);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: 18px;
    background: var(--bg-primary);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    
    /* Animation initiale */
    opacity: 0;
    transform: translateY(60px) scale(0.95);
}

.service-card.animate-in {
    animation: slideUpFade 0.8s ease-out forwards;
}

/* Animation décalée pour chaque carte */
.service-card:nth-child(1).animate-in {
    animation-delay: 0.1s;
}

.service-card:nth-child(2).animate-in {
    animation-delay: 0.2s;
}

.service-card:nth-child(3).animate-in {
    animation-delay: 0.3s;
}

.service-card:nth-child(4).animate-in {
    animation-delay: 0.4s;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animation pour les titres de section */
.solutions .section-header,
.solutions .section-title {
    opacity: 0;
    transform: translateY(-30px);
}

.solutions .section-header.fade-in-down,
.solutions .section-title.fade-in-down {
    animation: fadeInDown 0.7s ease-out forwards;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card__glow {
    display: none;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--service-accent);
    background: var(--service-accent-soft);
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.service-card.animate-in .service-card__icon {
    animation: bounceIcon 0.6s ease-out 0.3s backwards;
}

@keyframes bounceIcon {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.15) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-card__description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.service-card__features li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.service-card__features i {
    font-size: 0.75rem;
    margin-top: 0.18rem;
    color: var(--service-accent);
}

.service-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: color 0.25s ease, gap 0.25s ease;
    align-self: center;
}

.service-card__cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-card:hover,
.service-card.animate-in:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 50px rgba(20, 19, 26, 0.14);
    border-color: var(--service-accent);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.06) 0%, var(--bg-primary) 100%);
}

.service-card:hover .service-card__cta {
    color: var(--service-accent);
    gap: 0.6rem;
}

.service-card:hover .service-card__cta i {
    transform: translateX(4px);
}

.service-card--web {
    --service-accent: #4a5bf0;
    --service-accent-soft: rgba(46, 64, 229, 0.12);
}

.service-card--software {
    --service-accent: #ec4899;
    --service-accent-soft: rgba(236, 72, 153, 0.12);
}

.service-card--pc {
    --service-accent: #f97316;
    --service-accent-soft: rgba(249, 115, 22, 0.12);
}

.service-card--support {
    --service-accent: #10b981;
    --service-accent-soft: rgba(16, 185, 129, 0.12);
}

.service-card--consulting {
    --service-accent: #f59e0b;
    --service-accent-soft: rgba(245, 158, 11, 0.12);
}

.service-card__price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.service-card__price .price-from {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-card__price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--service-accent);
    line-height: 1;
}

.service-card__price .price-period {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .services-grid {
        gap: 1.75rem;
    }

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

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

@media (max-width: 768px) {
    /* Service Cards - Centrer le contenu sur mobile */
    .service-card {
        text-align: center;
    }
    
    .service-card__icon {
        margin: 0 auto;
    }
    
    .service-card__title {
        text-align: center;
    }
    
    .service-card__description {
        text-align: center;
    }
    
    .service-card__features {
        align-items: center;
    }
    
    .service-card__features li {
        justify-content: center;
        text-align: center;
    }
    
    .service-card__cta {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    
    /* Autres types de cards - Centrer sur mobile */
    .project-type-card,
    .service-feature {
        text-align: center;
    }
    
    .project-type-icon,
    .service-feature-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .process-step-item {
        text-align: center;
    }
    
    .process-step-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.85rem;
    }
}

@media (max-width: 520px) {
    .service-card {
        padding: 1.65rem;
    }

    .service-card__icon {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }

    .service-card__title {
        font-size: 1.2rem;
    }

    .service-card__features li {
        font-size: 0.85rem;
    }
}

/* ========================================
   Process Section - Innovative Grid Layout
   ======================================== */
.process {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.process-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(-100px) rotate(-5deg);
}

/* Animation "tombée du ciel" */
.process-step.fall-in {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    animation: fallFromSky 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fallFromSky {
    0% {
        opacity: 0;
        transform: translateY(-150px) rotate(-8deg) scale(0.8);
    }
    60% {
        transform: translateY(10px) rotate(2deg) scale(1.02);
    }
    80% {
        transform: translateY(-5px) rotate(-1deg) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* Délais progressifs pour effet cascade */
.process-step:nth-child(1).fall-in {
    animation-delay: 0.1s;
}

.process-step:nth-child(2).fall-in {
    animation-delay: 0.25s;
}

.process-step:nth-child(3).fall-in {
    animation-delay: 0.4s;
}

.process-step:nth-child(4).fall-in {
    animation-delay: 0.55s;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: top;
}

.process-step:hover::before {
    transform: scaleY(1);
}

.process-step:nth-child(1)::before { background: var(--primary-color); }
.process-step:nth-child(2)::before { background: var(--accent-color); }
.process-step:nth-child(3)::before { background: var(--secondary-color); }
.process-step:nth-child(4)::before { background: var(--success-color); }

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    opacity: 0.1;
    line-height: 1;
}

.process-step:nth-child(1) .step-number { color: var(--primary-color); opacity: 0.2; }
.process-step:nth-child(2) .step-number { color: var(--accent-color); opacity: 0.2; }
.process-step:nth-child(3) .step-number { color: var(--secondary-color); opacity: 0.2; }
.process-step:nth-child(4) .step-number { color: var(--success-color); opacity: 0.2; }

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition);
}

.process-step:nth-child(1) .step-icon {
    color: var(--primary-color);
}

.process-step:nth-child(2) .step-icon {
    color: var(--accent-color);
}

.process-step:nth-child(3) .step-icon {
    color: var(--secondary-color);
}

.process-step:nth-child(4) .step-icon {
    color: var(--success-color);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    background: var(--bg-primary);
}

.process-step:nth-child(1):hover .step-icon {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.process-step:nth-child(2):hover .step-icon {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.process-step:nth-child(3):hover .step-icon {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.process-step:nth-child(4):hover .step-icon {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Tarifs Section
   ======================================== */
.tarifs {
    padding: 6rem 0 0 0;
    position: relative;
    overflow: hidden;
}

.tarifs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(315deg, 
        var(--bg-secondary) 0%, 
        var(--bg-primary) 50%, 
        rgba(236, 72, 153, 0.05) 100%);
    z-index: -1;
}

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

.tarif-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tarif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.05), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.tarif-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.tarif-card:hover::before {
    opacity: 1;
}

.tarif-card-featured {
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: var(--shadow-xl);
}

.tarif-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
}

.tarif-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tarif-badge {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.tarif-badge-featured {
    background: var(--gradient-secondary);
}

.tarif-price {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-from {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
}

.price-period {
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.tarif-pricing {
    margin-bottom: 2rem;
}

.pricing-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.tarif-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

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

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

.tarif-features i {
    color: var(--primary-color);
}

/* Tarifs en gros */
.tarifs-gros {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.tarifs-gros .section-header {
    margin-bottom: 2rem;
}

.tarifs-gros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tarif-gros-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.tarif-gros-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tarif-gros-card.tarif-gros-featured {
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
}

.tarif-gros-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tarif-gros-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tarif-gros-badge {
    padding: 0.35rem 0.75rem;
    background: var(--success-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
}

.tarif-gros-price {
    margin-bottom: 1.25rem;
}

.tarif-gros-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.tarif-gros-unit {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.tarif-gros-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.tarif-gros-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tarif-gros-features i {
    color: var(--success-color);
}

/* Testimonials Ticker */
.testimonials-ticker {
    width: 100%;
    overflow: hidden;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 2rem;
}

.ticker-track {
    display: flex;
    gap: 3rem;
    animation: tickerScroll 30s linear infinite;
    width: max-content;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-size: 1rem;
    color: var(--text-secondary);
}

.ticker-item i {
    color: var(--warning-color);
    font-size: 0.875rem;
}

.ticker-item span {
    font-style: italic;
}

/* ========================================
   Team Section
   ======================================== */
.team {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.team-grid {
    max-width: 600px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.team-member:hover .member-avatar {
    transform: scale(1.05);
}

.member-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 450px;
    margin: 0 auto;
}

/* ========================================
   Clients Section - Logo Slider
   ======================================== */
.clients-section {
    padding: 0;
    background: var(--bg-primary);
    position: relative;
}

.clients-section .container {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.clients-section .section-header {
    margin-bottom: 2rem;
}

.clients-slider {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 2rem 0;
    position: relative;
}

.clients-slider::before,
.clients-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.clients-track {
    display: flex;
    gap: 2.5rem;
    animation: scrollLogos 50s linear infinite;
    width: max-content;
    align-items: center;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 6));
    }
}

.client-logo {
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    min-width: 100px;
    height: 80px;
    transition: all 0.3s ease;
}

.client-logo:hover .logo-container {
    transform: translateY(-5px);
}

.logo-container i {
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.logo-container span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.client-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 120px;
    max-height: 70px;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.client-logo:hover .client-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Couleurs spécifiques par logo (maintenant inutiles car on utilise des images) */
.client-logo:nth-child(4n+1) .logo-container i {
    color: #DC2626; /* Chrono Pizza - Rouge */
}

.client-logo:nth-child(4n+2) .logo-container i {
    color: #F59E0B; /* Mon Estimation Travaux - Orange */
}

.client-logo:nth-child(4n+3) .logo-container i {
    color: #10B981; /* Kangal Kebab - Vert */
}

.client-logo:nth-child(4n+4) .logo-container i {
    color: #2563EB; /* Oui Pneu - Bleu */
}

.client-logo:hover .logo-container i {
    transform: scale(1.1);
}

.client-logo:hover .logo-container span {
    color: var(--text-primary);
}

/* Dark mode adjustments */
[data-theme="dark"] .clients-slider::before {
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

[data-theme="dark"] .clients-slider::after {
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-secondary);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(46, 64, 229, 0.03) 0%, 
        transparent 50%, 
        rgba(46, 64, 229, 0.03) 100%);
    z-index: 0;
}

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

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

.about-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    justify-content: space-between;
}

.about-left .section-header {
    text-align: left;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.about-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.value-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    min-width: 24px;
}

.about-tech h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.tech-badge:hover {
    border-color: var(--primary-color);
    background: rgba(46, 64, 229, 0.1);
    transform: translateY(-2px);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    justify-content: space-between;
}

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

.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 160px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 64, 229, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

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

.about-highlight {
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    min-height: 140px;
}

.highlight-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.highlight-content > i {
    font-size: 3rem;
    opacity: 0.9;
    min-width: 48px;
}

.highlight-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.highlight-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ========================================
   Testimonials Section (removed - now ticker)
   ======================================== */
.testimonials {
    display: none;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%, 
        rgba(46, 64, 229, 0.03) 50%, 
        var(--bg-secondary) 100%);
    z-index: -1;
}

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

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(46, 64, 229, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-icon {
    display: none;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.about-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

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

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

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

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

.contact-info-col h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info-col p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

.contact-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

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

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

.contact-item span {
    color: var(--text-secondary);
}

.contact-form-col {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.contact-wrapper,
.contact-simple {
    display: none;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

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

.method-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.method-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group label {
    display: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

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

.form-group textarea {
    resize: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    position: relative;
    z-index: 20;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

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

.footer-description {
    color: var(--text-secondary);
    margin: 1rem 0;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.legal-section a {
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ========================================
   Chatbot
   ======================================== */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    color: white;
    font-size: 1.5rem;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-header-info i {
    color: #22c55e;
    font-size: 0.5rem;
}

.chatbot-header-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chatbot-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-close:hover {
    color: var(--text-primary);
}

.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-message {
    display: flex;
    gap: 0.75rem;
    max-width: 85%;
    animation: fadeInUp 0.3s ease-out;
    margin-bottom: 0.5rem;
}

.chatbot-message p {
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

/* Chatbot Suggestions & Actions */
.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    margin: 0.5rem 0;
    width: 100%;
}

.chatbot-suggestions.quick-start {
    flex-direction: column;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin: 1rem 0;
}

.chatbot-actions {
    width: 100%;
    margin: 0.5rem 0;
    animation: fadeInUp 0.3s ease-out;
}

.suggestions-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: left;
}

.suggestion-btn {
    padding: 0.625rem 1.125rem;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.suggestion-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 64, 229, 0.3);
}

.suggestion-btn:active {
    transform: translateY(0);
}

.quick-start .suggestion-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
}

.quick-start .suggestion-btn:hover {
    transform: translateX(5px);
}

.message-avatar {
    width: 35px;
    height: 35px;
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1rem;
}

.message-content {
    background: var(--bg-secondary);
    padding: 0.875rem 1rem;
    border-radius: 18px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(46, 64, 229, 0.25);
    border: none;
}

.message-content strong {
    font-weight: 600;
    color: inherit;
}

.user-message .message-content strong {
    color: white;
}

.chatbot-input {
    display: flex;
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
    gap: 0.75rem;
    background: var(--bg-primary);
}

.chatbot-input input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 64, 229, 0.1);
}

.chatbot-input button {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(46, 64, 229, 0.3);
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(46, 64, 229, 0.4);
}

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

.direct-chat-indicator {
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.1) 0%, rgba(46, 64, 229, 0.1) 100%);
    border: 1px solid rgba(46, 64, 229, 0.2);
    border-left: 3px solid var(--primary-color);
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.3s ease-out;
    align-self: center;
    max-width: 90%;
}

.direct-chat-indicator i {
    font-size: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   Scroll to Top
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Top Bar Mobile */
    .top-bar {
        display: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    .navbar {
        top: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
    }
    
    .nav-wrapper {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* S'assurer qu'il n'y a pas d'espace en haut */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    html {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    #header-placeholder {
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    main#main-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    section#main-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .hero {
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    .hero-background {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin: 0;
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 1.5rem 0;
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(1.4rem, 5.5vw, 2.25rem);
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 2vw, 0.95rem);
        margin-bottom: 1.75rem;
        line-height: 1.3;
    }

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

    .btn-hero {
        width: 100%;
        padding: 0.9rem 1.75rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    .hero-scroll-indicator {
        bottom: 1.5rem;
        font-size: 1.25rem;
        z-index: 2;
    }

    .loading-screen {
        z-index: 99999 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        position: fixed !important;
    }

    .loading-screen.hidden {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }

    body.loading-active {
        overflow: hidden !important;
        height: 100vh !important;
        height: 100dvh !important;
        position: fixed !important;
        width: 100% !important;
    }

    body:not(.loading-active) {
        overflow: auto !important;
        position: static !important;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-left,
    .about-right {
        width: 100%;
    }

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

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

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    /* Mega Menu Mobile */
    .mega-menu {
        display: none !important;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mega-menu-container {
        padding: 2rem 1rem;
    }
    
    .mega-menu-item {
        flex-direction: column;
    }
    
    .mega-menu-item-image {
        width: 100%;
        height: 150px;
    }
    
    /* Navigation Mobile - Mobile First */
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem 1rem !important;
        margin: 0 !important;
    }
    
    .nav-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .nav-wrapper .logo {
        position: static;
    }
    
    .nav-wrapper .nav-menu {
        grid-column: auto;
    }
    
    .nav-wrapper .nav-right {
        display: none;
    }
    
    .nav-wrapper .menu-toggle {
        position: static;
    }
    
    /* Show dropdown chevron on mobile */
    .dropdown-chevron {
        display: inline-block !important;
        margin-left: 0.5rem;
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-chevron {
        transform: rotate(180deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        width: min(340px, 85vw);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 5rem 0 2rem;
        background: var(--bg-primary);
        border-left: 1px solid var(--border-color);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
        z-index: 1200;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-shadow: none;
        max-width: none;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    [data-theme="dark"] .nav-menu.active {
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu > li {
        width: 100%;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 2rem;
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-primary);
        transition: all 0.2s ease;
        position: relative;
    }
    
    /* Mobile dropdown submenu */
    .nav-dropdown.active .mega-menu {
        display: block !important;
        position: static;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        margin: 0;
        padding: 0;
    }
    
    .nav-dropdown.active .mega-menu-container {
        padding: 1rem 0;
    }
    
    .nav-dropdown.active .mega-menu-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-dropdown.active .mega-menu-section {
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-dropdown.active .mega-menu-section:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown.active .mega-menu-header {
        padding: 1rem 2rem;
        margin-bottom: 0;
    }
    
    .nav-dropdown.active .mega-menu-items {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-dropdown.active .mega-menu-item {
        flex-direction: row;
        padding: 1rem 2rem;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border-color);
        background: transparent;
    }
    
    .nav-dropdown.active .mega-menu-item:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown.active .mega-menu-item-image {
        width: 60px;
        height: 60px;
        min-width: 60px;
        border-radius: var(--radius-sm);
    }
    
    .nav-dropdown.active .mega-menu-item-content {
        flex: 1;
        padding-left: 1rem;
    }
    
    .nav-dropdown.active .mega-menu-item-content h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .nav-dropdown.active .mega-menu-item-content p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .nav-dropdown.active .mega-menu-price {
        font-size: 0.9rem;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: var(--bg-secondary);
        color: var(--primary-color);
    }
    
    /* Contact button in mobile menu */
    .nav-menu .nav-link.btn-contact {
        margin: 1rem 2rem;
        padding: 0.85rem 1.5rem;
        background: #000;
        color: white;
        border-radius: 8px;
        font-weight: 600;
        text-align: center;
        justify-content: center;
        width: calc(100% - 4rem);
    }
    
    .nav-menu .nav-link.btn-contact:hover {
        background: #333;
        color: white;
    }
    
    /* Hide desktop mega menu on mobile, but allow dropdown toggle */
    .nav-dropdown .mega-menu {
        display: none !important;
    }
    
    .nav-dropdown.active .mega-menu {
        display: block !important;
        position: static;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        margin: 0;
        padding: 0;
    }
    
    .nav-dropdown.active .mega-menu-container {
        padding: 1rem 0;
    }
    
    .nav-dropdown.active .mega-menu-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-dropdown.active .mega-menu-section {
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-dropdown.active .mega-menu-section:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown.active .mega-menu-header {
        padding: 1rem 2rem;
        margin-bottom: 0;
    }
    
    .nav-dropdown.active .mega-menu-items {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-dropdown.active .mega-menu-item {
        flex-direction: row;
        padding: 1rem 2rem;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border-color);
        background: transparent;
    }
    
    .nav-dropdown.active .mega-menu-item:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown.active .mega-menu-item-image {
        width: 60px;
        height: 60px;
        min-width: 60px;
        border-radius: var(--radius-sm);
    }
    
    .nav-dropdown.active .mega-menu-item-content {
        flex: 1;
        padding-left: 1rem;
    }
    
    .nav-dropdown.active .mega-menu-item-content h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .nav-dropdown.active .mega-menu-item-content p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .nav-dropdown.active .mega-menu-price {
        font-size: 0.9rem;
    }
    
    .dropdown-menu {
        display: none;
    }
    
    /* Show dropdown chevron on mobile */
    .dropdown-chevron {
        display: inline-block;
        margin-left: 0.5rem;
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-chevron {
        transform: rotate(180deg);
    }
    
    /* Mobile dropdown toggle */
    .nav-link-dropdown {
        position: relative;
        cursor: pointer;
    }
    
    /* Mobile Solutions Section */
    .mobile-solutions-item {
        display: none;
    }
    
    .mobile-solutions-section {
        display: block !important;
        width: 100%;
        margin: 1rem 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-secondary);
    }
    
    .mobile-section-title {
        padding: 0.5rem 2rem;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-secondary);
        margin-bottom: 0.5rem;
    }
    
    .mobile-submenu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .mobile-submenu li {
        width: 100%;
    }
    
    .mobile-submenu-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.85rem 2rem;
        color: var(--text-primary);
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .mobile-submenu-link i {
        font-size: 1.1rem;
        color: var(--primary-color);
        width: 24px;
        text-align: center;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }
    
    .mobile-submenu-link:hover,
    .mobile-submenu-link:focus {
        background: var(--bg-primary);
        color: var(--primary-color);
        padding-left: 2.5rem;
    }
    
    .mobile-submenu-link:hover i {
        transform: scale(1.2) rotate(5deg);
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1300;
        position: relative;
    }
    
    .menu-toggle span {
        position: absolute;
    }
    
    .menu-toggle span:nth-child(1) {
        transform: translateY(-7px);
    }
    
    .menu-toggle span:nth-child(2) {
        transform: translateY(0);
    }
    
    .menu-toggle span:nth-child(3) {
        transform: translateY(7px);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(0) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(0) rotate(-45deg);
    }
    
    .nav-backdrop {
        display: none !important;
    }

    .nav-backdrop.active {
        display: none !important;
    }

    body.nav-open {
        overflow: hidden;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        width: min(340px, 85vw);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 5rem 0 2rem;
        background: var(--bg-primary);
        border-left: 1px solid var(--border-color);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
        z-index: 1200;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-shadow: none;
        max-width: none;
    }
    
    /* Add Contact and Options to mobile menu */
    .nav-menu::after {
        content: '';
        display: block;
        width: 100%;
    }
    
    .nav-menu.active::after {
        display: none;
    }
    
    
    .nav-menu.active {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    [data-theme="dark"] .nav-menu.active {
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu > li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.active > li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active > li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active > li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active > li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active > li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active > li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active > li:nth-child(6) { transition-delay: 0.3s; }
    
    /* Main nav links */
    .nav-link {
        display: flex;
        align-items: center;
        padding: 1rem 2rem;
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-primary);
        transition: all 0.2s ease;
        position: relative;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: var(--primary-color);
        transition: height 0.2s ease;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: var(--bg-secondary);
        color: var(--primary-color);
    }
    
    .nav-link:hover::before {
        height: 60%;
    }
    
    /* Contact button in mobile menu */
    .nav-menu .nav-link.btn-contact {
        margin: 1rem 2rem;
        padding: 0.85rem 1.5rem;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #4a5bf0) 100%);
        color: white;
        border-radius: 8px;
        font-weight: 600;
        text-align: center;
        justify-content: center;
        width: calc(100% - 4rem);
        box-shadow: 0 4px 12px rgba(46, 64, 229, 0.3);
        order: 99; /* Before options */
    }
    
    .nav-menu .nav-link.btn-contact::before {
        display: none;
    }
    
    .nav-menu .nav-link.btn-contact:hover {
        background: linear-gradient(135deg, var(--primary-hover) 0%, #4a5bf0 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(46, 64, 229, 0.4);
    }
    
    /* Allow dropdown on mobile - only hide mega menu by default */
    .nav-dropdown {
        position: relative;
    }
    
    .nav-dropdown .mega-menu {
        display: none !important;
    }
    
    .nav-dropdown.active .mega-menu {
        display: block !important;
        position: static;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        margin: 0;
        padding: 0;
    }
    
    .dropdown-menu {
        display: none;
    }
    
    /* Mobile Solutions Section */
    .mobile-solutions-section {
        display: block !important;
        width: 100%;
        margin: 1rem 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-secondary);
    }
    
    .mobile-section-title {
        padding: 0.5rem 2rem;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-secondary);
        margin-bottom: 0.5rem;
    }
    
    .mobile-submenu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .mobile-submenu li {
        width: 100%;
    }
    
    .mobile-submenu-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.85rem 2rem;
        color: var(--text-primary);
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .mobile-submenu-link i {
        font-size: 1.1rem;
        color: var(--primary-color);
        width: 24px;
        text-align: center;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }
    
    .mobile-submenu-link > div {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        flex: 1;
    }
    
    .mobile-submenu-link > div small {
        font-size: 0.75rem;
        color: var(--text-secondary);
        font-weight: 400;
    }
    
    .mobile-submenu-link:hover,
    .mobile-submenu-link:focus {
        background: var(--bg-primary);
        color: var(--primary-color);
        padding-left: 2.5rem;
    }
    
    .mobile-submenu-link:hover i {
        transform: scale(1.2) rotate(5deg);
    }
    
    .mobile-submenu-link:hover > div small {
        color: var(--primary-color);
    }
    
    /* Mobile Theme Toggle - Enhanced Style */
    .mobile-theme-wrapper {
        display: block !important;
        width: 100%;
        margin-top: auto;
        padding: 1.5rem 2rem;
        border-top: 1px solid var(--border-color);
        background: linear-gradient(to bottom, transparent, var(--bg-secondary));
    }
    
    [data-theme="dark"] .mobile-theme-wrapper {
        background: linear-gradient(to bottom, transparent, rgba(91, 102, 240, 0.06));
        border-top-color: var(--border-color);
    }
    
    /* Options menu in mobile menu - Display items directly */
    .nav-menu .nav-options {
        margin-top: auto;
        padding-top: 1rem;
        border-top: 2px solid var(--border-color);
        width: 100%;
        order: 100; /* Place at the end */
        opacity: 1 !important;
        transform: translateX(0) !important;
        pointer-events: auto !important;
        position: relative;
        z-index: 1;
    }
    
    /* Hide the toggle button in mobile menu */
    .nav-menu .options-toggle {
        display: none !important;
    }
    
    /* Show dropdown items directly in mobile menu */
    .nav-menu .options-dropdown {
        position: static !important;
        width: 100%;
        margin-top: 0;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        pointer-events: auto !important;
    }
    
    /* Style options items in mobile menu */
    .nav-menu .options-item {
        display: flex !important;
        align-items: center;
        gap: 1rem;
        padding: 1rem 2rem;
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.2s ease;
        border-radius: 0;
        width: 100%;
        background: none;
        border: none;
        cursor: pointer !important;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 500;
        text-align: left;
        position: relative;
        pointer-events: auto !important;
        z-index: 10;
        -webkit-tap-highlight-color: rgba(46, 64, 229, 0.2);
    }
    
    .nav-menu .options-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: var(--primary-color);
        transition: height 0.2s ease;
        pointer-events: none;
    }
    
    .nav-menu .options-item:hover,
    .nav-menu .options-item:focus,
    .nav-menu .options-item:active {
        background: var(--bg-secondary);
        color: var(--primary-color);
    }
    
    .nav-menu .options-item:hover::before,
    .nav-menu .options-item:focus::before,
    .nav-menu .options-item:active::before {
        height: 60%;
    }
    
    .nav-menu .options-item i {
        width: 20px;
        color: var(--text-secondary);
        transition: color 0.2s ease;
        font-size: 1.1rem;
        text-align: center;
        pointer-events: none;
    }
    
    .nav-menu .options-item:hover i,
    .nav-menu .options-item:focus i,
    .nav-menu .options-item:active i {
        color: var(--primary-color);
    }
    
    .nav-menu .options-item span {
        flex: 1;
        pointer-events: none;
    }
    
    /* Show dropdown chevron on mobile */
    .dropdown-chevron {
        display: inline-block !important;
        margin-left: 0.5rem;
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-chevron {
        transform: rotate(180deg);
    }
    
    /* Mobile dropdown toggle */
    .nav-link-dropdown {
        cursor: pointer;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1300;
        position: relative;
    }
    
    .menu-toggle span {
        position: absolute;
    }
    
    .menu-toggle span:nth-child(1) {
        transform: translateY(-7px);
    }
    
    .menu-toggle span:nth-child(2) {
        transform: translateY(0);
    }
    
    .menu-toggle span:nth-child(3) {
        transform: translateY(7px);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(0) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(0) rotate(-45deg);
    }
    
    .nav-backdrop {
        display: none !important;
    }

    .nav-backdrop.active {
        display: none !important;
    }

    body.nav-open {
        overflow: hidden;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    /* Sections Mobile */
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Grids Mobile */
    .solutions-grid,
    .expertises-grid,
    .tarifs-grid,
    .testimonials-grid,
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Bento Grid Mobile - Stack circles */
    .bento-grid {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }
    
    .bento-card {
        width: 160px;
        height: 160px;
    }
    
    .bento-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
    }
    
    .bento-title {
        font-size: 0.9375rem;
        padding: 0 0.75rem;
    }
    
    .solution-modal-content {
        max-width: 95%;
    }
    
    .solution-modal-body {
        padding: 2rem 1.5rem;
    }
    
    .chatbot-window {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
    
    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        bottom: 100px;
        left: 20px;
    }
    
    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-content {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-content > i {
        font-size: 2.5rem;
    }
    
    /* Contact Grid Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-col {
        padding: 1.5rem;
    }
    
    /* AI Generator Mobile */
    .ai-generator-section {
        padding: 2rem 1.5rem;
    }
    
    .ai-generator-box {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .generator-options {
        grid-template-columns: 1fr;
    }
    
    .mockup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* AI Mockup Generator Mobile */
    .mockup-hero {
        padding: 2rem 1.5rem;
    }
    
    .mockup-form-container {
        padding: 1.5rem;
    }
    
    .progress-bar-container {
        padding: 1.5rem 1rem;
    }
    
    .progress-steps {
        gap: 0.5rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .progress-line {
        max-width: 50px;
        margin: 0 0.25rem;
    }
    
    .wizard-title {
        font-size: 1.5rem;
    }
    
    .project-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .color-picker-group-modern {
        grid-template-columns: 1fr;
    }
    
    .preview-colors {
        gap: 1rem;
    }
    
    .preview-color-large {
        width: 80px;
        height: 80px;
    }
    
    .style-options-grid {
        grid-template-columns: 1fr;
    }
    
    .wizard-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-wizard {
        width: 100%;
        justify-content: center;
    }
    
    .btn-next,
    .btn-generate {
        margin-left: 0;
    }
    
    .mockup-result {
        grid-template-columns: 1fr;
    }
    
    /* Cookie Banner Mobile */
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-icon {
        font-size: 1.5rem;
    }
    
    .cookie-text {
        min-width: 100%;
    }
    
    .cookie-text h3 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.8125rem;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.25rem;
    }
    
    .cookie-modal-content {
        max-width: 95%;
        margin: 1rem;
    }
    
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section li {
        text-align: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 2rem;
    }
    
    .footer-section a {
        text-align: center;
    }
    
    /* Process Timeline Mobile */
    .process-timeline {
        padding: 0;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .step-header {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .step-number {
        position: static;
        margin-bottom: 0;
        font-size: 1.75rem;
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .step-content {
        flex: 1;
    }
    
    .step-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .step-description {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* About Values Mobile */
    .about-values {
        gap: 1rem;
    }
    
    .value-item {
        font-size: 0.9375rem;
    }
    
    .tech-badges {
        justify-content: center;
    }
    
    /* Clients Section Mobile */
    .clients-section {
        padding: 0;
    }
    
    .clients-section .container {
        padding-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .clients-section .section-header {
        margin-bottom: 1.5rem;
    }
    
    .clients-slider {
        padding: 1.5rem 0;
    }
    
    .clients-slider::before,
    .clients-slider::after {
        width: 80px;
    }
    
    .clients-track {
        gap: 2.5rem;
    }
    
    .logo-container {
        min-width: 150px;
        height: 120px;
        padding: 1.5rem 2rem;
    }
    
    .logo-container i {
        font-size: 2.5rem;
    }
    
    .logo-container span {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    /* Container extra small */
    .container {
        padding: 0 16px;
    }
    
    /* Hero Extra Small */
    .hero {
        min-height: 85vh;
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    /* Section Titles Extra Small */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Cards Extra Small */
    .tarif-card,
    .solution-card,
    .expertise-card {
        padding: 1.5rem;
    }
    
    .tarif-price {
        margin-bottom: 0.75rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    /* About Section Extra Small */
    .about-stats-grid {
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Process Section Extra Small */
    .process-step {
        padding: 1.5rem;
    }
    
    .step-number {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    /* Contact Form Extra Small */
    .contact-form-col {
        padding: 1.25rem;
    }
    
    /* Footer Extra Small */
    .footer-content {
        gap: 2rem;
    }
    
    .footer-column {
        margin-bottom: 1rem;
    }
    
    /* Tech Badges Extra Small */
    .tech-badges {
        gap: 0.5rem;
    }
    
    .tech-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Bento Grid Extra Small - 2 columns */
    .bento-grid {
        gap: 1.5rem;
    }
    
    .bento-card {
        width: 140px;
        height: 140px;
    }
    
    .bento-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .bento-title {
        font-size: 0.875rem;
        padding: 0 0.5rem;
    }
    
    /* Cookie Banner Extra Small */
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-text h3 {
        font-size: 0.9375rem;
    }
    
    .cookie-text p {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .cookie-btn {
        font-size: 0.8125rem;
        padding: 0.75rem 1rem;
    }
    
    /* Footer Extra Small */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-description {
        font-size: 0.875rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links {
        font-size: 0.875rem;
    }
    
    /* Chatbot Extra Small */
    .chatbot-window {
        width: calc(100% - 20px);
        right: 10px;
        left: 10px;
        height: 500px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-messages {
        padding: 1rem;
    }
    
    .chatbot-input {
        padding: 0.875rem;
    }
    
    /* Scroll Top Extra Small */
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 85px;
        left: 15px;
    }
    
    /* Process Timeline Extra Small */
    .process-timeline {
        gap: 1rem;
    }
    
    .process-step {
        padding: 1.5rem 1.25rem;
    }
    
    .step-header {
        gap: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .step-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Clients Section Extra Small */
    .clients-section {
        padding: 0;
    }
    
    .clients-section .container {
        padding-top: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .clients-section .section-header {
        margin-bottom: 1rem;
    }
    
    .clients-slider {
        padding: 1rem 0;
    }
    
    .clients-slider::before,
    .clients-slider::after {
        width: 50px;
    }
    
    .clients-track {
        gap: 2rem;
    }
    
    .logo-container {
        min-width: 130px;
        height: 100px;
        padding: 1.25rem 1.5rem;
    }
    
    .logo-container i {
        font-size: 2rem;
    }
    
    .logo-container span {
        font-size: 0.875rem;
    }
}

/* ========================================
   Cookie Banner & Modal
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--primary-color);
    animation: cookiePulse 2s ease-in-out infinite;
}

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

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cookie-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.cookie-info {
    margin-top: 0.5rem;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cookie-btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cookie-btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

.cookie-modal.active {
    display: flex;
}

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

.cookie-modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease-out;
}

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

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-modal-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cookie-category {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.cookie-category:hover {
    border-color: var(--primary-color);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.cookie-category-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cookie-category-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cookie-category-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Cookie Switch Toggle */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    min-width: 50px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: var(--transition);
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background: var(--gradient-primary);
}

input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:focus + .cookie-slider {
    box-shadow: 0 0 1px var(--primary-color);
}

.cookie-modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.cookie-modal-footer .cookie-btn {
    flex: 1;
    justify-content: center;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        text-align: left;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .cookie-btn {
        flex: 1;
        justify-content: center;
    }
    
    .cookie-modal-header {
        padding: 1.5rem;
    }
    
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    .cookie-modal-footer {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   Accessibility Improvements
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Remove default focus outlines */
*:focus {
    outline: none !important;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10002;
    border-radius: 0 0 8px 0;
}

/* Keep focus for skip link (accessibility) */
.skip-link:focus {
    top: 0;
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px;
}

/* Better contrast for links */
a {
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
    }
    
    [data-theme="dark"] {
        --border-color: #ffffff;
    }
}

/* ========================================
   Service Detail Pages
   ======================================== */
.service-detail {
    padding: 0;
}

/* ========================================
   Hero Section Fixe
   ======================================== */
.service-hero-fixed {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: visible;
    padding: 8rem 0 4rem;
    z-index: 10;
    transition: opacity 0.5s ease;
    margin-top: 80px; /* Espace pour le header sticky */
}

.service-hero-fixed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(46, 64, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 64, 229, 0.15) 0%, transparent 50%);
    opacity: 0.5;
    animation: heroGlow 15s ease-in-out infinite;
    pointer-events: none;
}

.service-hero-fixed .service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* ========================================
   Parallax Scroll System - Fixed Canvas
   Style inspiré de dogstudio.co
   ======================================== */
html {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    overflow-x: hidden;
}

/* ========================================
   Barre de progression
   ======================================== */
.scroll-progress-bar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2000;
    pointer-events: none;
}

[data-theme="dark"] .scroll-progress-bar {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #4a5bf0 100%);
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(46, 64, 229, 0.5);
}


/* Numéro de section dans le contenu */
/* Désactivé pour web.html */
body:not(.web-page) .parallax-section {
    position: relative;
}

.section-number {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(46, 64, 229, 0.08);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

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

.parallax-scroll-fixed {
    position: relative;
    width: 100%;
    z-index: 1;
    pointer-events: auto;
}

.parallax-scroll-fixed .parallax-element {
    pointer-events: auto;
}

.parallax-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.scroll-spacer {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   Story Steps - Histoire narrative
   ======================================== */
.story-step {
    position: relative;
    overflow: hidden;
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.65) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
    width: 100%;
    height: 100%;
}

.story-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    line-height: 1.7;
}

.story-step-number {
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 0;
}

.story-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.story-text {
    font-size: clamp(1.125rem, 2.2vw, 1.625rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 3rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(0, 0, 0, 0.3);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.story-visual {
    margin-top: 3.5rem;
    position: relative;
    z-index: 2;
}

.story-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.story-icon:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.story-step .section-background {
    position: absolute;
    top: -10%;
    left: 0;
    right: 0;
    bottom: -10%;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    filter: brightness(0.5) contrast(1.1);
    z-index: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.story-step.active .section-background {
    opacity: 0.5;
}

.step-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.step-cta .story-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.step-cta .story-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.step-cta .story-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* Désactivé pour web.html - géré par web.css */
body:not(.web-page) .parallax-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    margin: 0;
    overflow: hidden;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    /* Assure qu'il n'y a pas de gaps visuels */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Force le rendu GPU pour performance */
    transform-style: preserve-3d;
}

body:not(.web-page) .parallax-section.active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.section-intro {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 200%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.section-intro .section-background {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.section-tech .section-background {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.section-projects .section-background {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.section-process .section-background {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.section-cta .section-background {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

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

.section-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.service-description {
    text-align: left;
}

.service-description h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-description p:last-child {
    margin-bottom: 0;
}

.section-tech-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.section-projects .container,
.section-process .container,
.section-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.story-visual {
    position: relative;
}

.story-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(4rem, 8vw, 8rem);
    color: white;
    opacity: 0.9;
}

.section-tech {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.section-projects {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.section-process {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.section-cta {
    position: relative;
    overflow: hidden;
}

.section-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    color: white;
    min-height: 70vh;
}

.parallax-element {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.parallax-element.visible {
    opacity: 1;
}

.parallax-element.active {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.6s ease;
}

/* Directions de mouvement - valeurs réduites pour éviter les chevauchements */
.parallax-element[data-direction="left"] {
    transform: translateX(-150px) translateY(0) rotate(0deg) scale(0.85);
}

.parallax-element[data-direction="right"] {
    transform: translateX(150px) translateY(0) rotate(0deg) scale(0.85);
}

.parallax-element[data-direction="top"] {
    transform: translateX(0) translateY(-100px) rotate(0deg) scale(0.9);
}

.parallax-element[data-direction="bottom"] {
    transform: translateX(0) translateY(100px) rotate(0deg) scale(0.9);
}

.parallax-element[data-direction="center"] {
    transform: translateX(0) translateY(0) rotate(0deg) scale(0.8);
}

/* État actif - éléments centrés et visibles */
.parallax-element.active {
    transform: translateX(0) translateY(0) rotate(0deg) scale(1) !important;
    opacity: 1 !important;
}

/* Service Hero Section */
.panel-hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.panel-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(46, 64, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 64, 229, 0.15) 0%, transparent 50%);
    opacity: 0.5;
    animation: heroGlow 15s ease-in-out infinite;
    pointer-events: none;
}

.panel-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 64, 229, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.panel-intro {
    background: var(--bg-primary);
}

.panel-tech {
    background: var(--bg-secondary);
}

.panel-projects {
    background: var(--bg-primary);
}

.panel-process {
    background: var(--bg-secondary);
}

.panel-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    min-height: 80vh;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(46, 64, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 64, 229, 0.1) 0%, transparent 50%);
    opacity: 0.5;
    animation: heroGlow 15s ease-in-out infinite;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    margin: 0 auto 2rem;
    box-shadow: 0 20px 60px rgba(46, 64, 229, 0.3);
    animation: float 3s ease-in-out infinite;
}

.service-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-lead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Sections */
.service-section {
    padding: 6rem 0;
}

.service-section--dark {
    background: var(--bg-secondary);
}

.service-section--light {
    background: var(--bg-primary);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-description {
    text-align: center;
}

.service-description h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-description p:last-child {
    margin-bottom: 0;
}

/* AI Generator Section */
.ai-generator-section {
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(46, 64, 229, 0.3);
}

.ai-generator-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.ai-badge i {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

.ai-generator-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

.ai-generator-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.ai-generator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.generator-input-section label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.generator-input-section textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    resize: vertical;
    transition: var(--transition);
    line-height: 1.6;
}

.generator-input-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.generator-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.option-checkbox:hover {
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.option-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.option-checkbox span {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.btn-generate {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.btn-generate.loading {
    pointer-events: none;
}

.btn-generate.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.generator-output {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
}

.output-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-secondary);
}

.output-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.output-content {
    animation: fadeIn 0.5s ease-in;
}

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

.output-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.output-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.output-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.output-section h3 i {
    font-size: 1rem;
}

.output-section p,
.output-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.output-section ul {
    list-style: none;
    padding-left: 0;
}

.output-section li {
    padding-left: 1.5rem;
    position: relative;
}

.output-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.mockup-preview {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-top: 1rem;
}

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

.mockup-element {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.quote-summary {
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-top: 1rem;
}

.quote-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.quote-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.timeline-list {
    margin-top: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-left: 3px solid var(--primary-color);
    margin-bottom: 0.75rem;
    border-radius: var(--radius-sm);
}

.timeline-week {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
}

.timeline-task {
    color: var(--text-primary);
}

/* AI Mockup Generator Modern Styles */
.ai-mockup-generator {
    max-width: 1400px;
    margin: 0 auto 5rem;
}

.mockup-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.mockup-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.mockup-hero-content {
    position: relative;
    z-index: 1;
}

.ai-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-badge-large i {
    font-size: 1.25rem;
    animation: float 3s ease-in-out infinite;
}

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

.mockup-hero h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.mockup-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Wizard Form Container */
.mockup-form-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-bar-container {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 64, 229, 0.4);
    transform: scale(1.1);
}

.progress-step.completed .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.progress-step.completed .step-circle::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--border-color);
    position: relative;
    margin: 0 1rem;
    max-width: 150px;
}

.progress-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.progress-step.completed ~ .progress-line::after,
.progress-step.active ~ .progress-line::after {
    width: 100%;
}

/* Wizard Steps */
.wizard-step {
    display: none;
    animation: fadeInSlide 0.4s ease;
    min-height: 400px;
}

.wizard-step.active {
    display: block;
}

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

.wizard-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Project Type Cards */
.project-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.type-card {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.type-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(46, 64, 229, 0.2);
}

.type-card input[type="radio"]:checked + .card-icon {
    background: var(--primary-color);
    color: white;
}

.type-card input[type="radio"]:checked ~ .card-icon,
.type-card:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.1), rgba(46, 64, 229, 0.1));
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.card-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Color Picker Section */
.color-picker-section {
    max-width: 700px;
    margin: 0 auto;
}

.color-picker-group-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.color-picker-item label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.color-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.color-input-wrapper input[type="color"] {
    width: 80px;
    height: 80px;
    border: 3px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.color-input-wrapper input[type="color"]:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.color-input-wrapper input[type="text"] {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    text-align: center;
    text-transform: uppercase;
}

.color-preview-box {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.preview-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.preview-colors {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.preview-color-large {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    border: 3px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.preview-color-large:hover {
    transform: scale(1.05);
}

/* Style Cards for Step 3 */
.style-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.style-card {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.style-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(46, 64, 229, 0.2);
}

.style-card:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.1), rgba(46, 64, 229, 0.1));
    box-shadow: 0 0 0 3px rgba(46, 64, 229, 0.1);
}

.style-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.style-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.style-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Description Section */
.description-section {
    max-width: 700px;
    margin: 0 auto;
}

.description-section textarea {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    resize: vertical;
    transition: var(--transition);
    line-height: 1.8;
}

.description-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(46, 64, 229, 0.1);
}

.char-count {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.btn-wizard {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-prev {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-prev:hover {
    background: var(--bg-primary);
    border-color: var(--text-primary);
    transform: translateX(-3px);
}

.btn-next {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 64, 229, 0.3);
    margin-left: auto;
}

.btn-next:hover {
    background: #4a5bf0;
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(46, 64, 229, 0.4);
}

.btn-generate {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    box-shadow: 0 10px 40px rgba(46, 64, 229, 0.4);
    margin-left: auto;
    position: relative;
    overflow: hidden;
}

.btn-generate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

.btn-generate:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(46, 64, 229, 0.5);
}

/* Style Chips */
.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-group-modern label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.style-description-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.style-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.style-chip {
    position: relative;
    cursor: pointer;
}

.style-chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.style-chip span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.style-chip:hover span {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.style-chip input[type="radio"]:checked + span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 64, 229, 0.4);
}

.form-group-modern textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    resize: vertical;
    transition: var(--transition);
    line-height: 1.6;
}

.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

/* Generate Button */
.generate-section {
    text-align: center;
    padding-top: 2rem;
}

.btn-generate-modern {
    position: relative;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(46, 64, 229, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-generate-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(46, 64, 229, 0.5);
}

.btn-generate-modern:active {
    transform: translateY(-1px);
}

.btn-generate-modern.loading {
    pointer-events: none;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.btn-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.mockup-output-section {
    margin-top: 3rem;
    animation: fadeIn 0.5s ease;
}

.mockup-gallery {
    min-height: 300px;
}

/* Generation Steps Animation */
.generating-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 3rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

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

.generating-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.generating-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    width: 100%;
}

.gen-step {
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gen-step.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.1), rgba(46, 64, 229, 0.1));
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(46, 64, 229, 0.2);
}

.gen-step.completed {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.gen-step.completed::before {
    content: '✓';
    font-weight: 700;
}

.error-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    color: var(--text-secondary);
    padding: 3rem;
}

.error-placeholder i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

/* Results Header */
.results-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.1), rgba(46, 64, 229, 0.1));
    border-radius: var(--radius-lg);
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #10b981;
    color: white;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.success-badge i {
    font-size: 1.25rem;
}

.results-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.results-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Pages Grid */
.mockup-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.page-mockup-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-mockup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.page-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.page-preview {
    position: relative;
    background: var(--bg-secondary);
    aspect-ratio: 16/10;
    overflow: hidden;
}

.page-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.page-mockup-card:hover .page-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-view:hover {
    background: #4a5bf0;
    transform: translateY(-2px);
}

.page-info {
    padding: 1.5rem;
}

.page-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Analysis Section */
.analysis-section {
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.analysis-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.recommendation-box {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.recommendation-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.recommendation-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.features-highlight,
.selling-points {
    margin-top: 2rem;
}

.features-highlight h4,
.selling-points h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.feature-chip {
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-chip i {
    color: var(--primary-color);
}

.selling-points ul {
    list-style: none;
    padding-left: 0;
}

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

.selling-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.dynamic-features {
    margin-top: 2rem;
}

.dynamic-features h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-chip-dynamic {
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.1), rgba(46, 64, 229, 0.1));
    border-color: var(--primary-color);
}

.feature-chip-dynamic i {
    color: #f59e0b;
}

/* Recommendations Advanced */
.recommendations-advanced {
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.05), rgba(46, 64, 229, 0.05));
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 3rem;
}

.recommendations-advanced h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.recommendations-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.recommendation-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color, #8b5cf6));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.recommendation-card:hover::before {
    transform: scaleY(1);
}

.recommendation-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 64, 229, 0.2);
}

.recommendation-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.recommendation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-card li {
    padding: 0.625rem 0 0.625rem 1.75rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.recommendation-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.recommendation-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 2px dashed var(--primary-color);
}

.recommendation-cta p {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.05), rgba(46, 64, 229, 0.05));
    border-radius: var(--radius-lg);
}

.color-palette-display {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: var(--bg-primary);
    border-radius: 50px;
    border: 2px solid var(--border-color);
}

.palette-title {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.color-display {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.25rem 2.5rem !important;
    font-size: 1.125rem !important;
    border-radius: 50px !important;
}

/* Modal */
.mockup-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content-large {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
}

.modal-content-large h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-right: 3rem;
}

.modal-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.mockup-result {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

.mockup-image-container {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.generated-mockup {
    width: 100%;
    height: auto;
    display: block;
}

.mockup-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.mockup-image-container:hover .mockup-overlay {
    opacity: 1;
}

.btn-download,
.btn-regenerate {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-download {
    background: var(--primary-color);
    color: white;
}

.btn-download:hover {
    background: #4a5bf0;
}

.btn-regenerate {
    background: white;
    color: var(--text-primary);
}

.btn-regenerate:hover {
    background: var(--bg-secondary);
}

.mockup-details {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.mockup-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-of-type {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 500;
    color: var(--text-primary);
}

.color-swatches {
    display: flex;
    gap: 0.5rem;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Legal Pages */
.legal-page {
    padding: 10rem 0 6rem;
    background: var(--bg-primary);
}

.legal-page h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.legal-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.legal-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

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

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-section li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.legal-section a:hover {
    color: #4a5bf0;
}

.legal-date {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 2rem 0;
    font-style: italic;
}

.legal-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Rights Grid for RGPD */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    transition: var(--transition);
}

.right-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(46, 64, 229, 0.1);
}

.right-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.right-card h3 i {
    color: var(--primary-color);
}

.right-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 2rem;
}

.service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-lead {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-description {
    text-align: center;
    margin-bottom: 4rem;
}

.service-description h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.service-feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-feature:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-feature:hover::before {
    transform: scaleX(1);
}

.service-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 24px rgba(46, 64, 229, 0.25);
}

.service-feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-feature p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Project Types Grid */
.project-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-type-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-type-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

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

.project-type-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(46, 64, 229, 0.25);
}

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

.project-type-card > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-type-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-type-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.project-type-features i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.project-type-price {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.project-type-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.process-step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    transition: var(--transition);
}

.process-step-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.process-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(46, 64, 229, 0.25);
}

.process-step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.process-step-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Service CTA Section */
.service-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5bf0 100%);
    color: white;
    text-align: center;
}

.service-cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.service-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.service-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-secondary.btn-large {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary.btn-large:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ========================================
   Responsive Styles for Service Pages
   ======================================== */
@media (max-width: 1024px) {
    .service-hero {
        min-height: 60vh;
        padding: 6rem 0 4rem;
    }

    .service-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .project-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .process-step-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

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

@media (max-width: 768px) {
    .service-hero {
        min-height: 50vh;
        padding: 5rem 0 3rem;
    }

    .service-icon-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

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

    .service-lead {
        font-size: 1.125rem;
    }

    .service-section {
        padding: 4rem 0;
    }

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

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

    .project-types-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .project-type-card {
        padding: 2rem 1.5rem;
    }

    .process-steps {
        gap: 1.5rem;
    }

    .process-step-item {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .process-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .process-step-content h3 {
        font-size: 1.25rem;
    }

    .service-cta-section {
        padding: 4rem 0;
    }

    .service-cta-content h2 {
        font-size: 2rem;
    }

    .service-cta-content p {
        font-size: 1.125rem;
    }

    .service-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }

    .service-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .service-hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .parallax-panel {
        min-height: 90vh;
        padding: 4rem 0 2rem;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

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

    .service-section {
        padding: 3rem 0;
    }

    .service-description h2 {
        font-size: 1.75rem;
    }

    .service-description p {
        font-size: 1rem;
    }

    .service-feature-icon,
    .project-type-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    /* Réduire les offsets sur mobile pour animations plus subtiles */
    .parallax-element[data-direction="left"],
    .parallax-element[data-direction="right"] {
        transform: translateX(0) translateY(0) rotate(0deg) scale(0.8);
    }
    
    .parallax-element[data-direction="top"],
    .parallax-element[data-direction="bottom"] {
        transform: translateX(0) translateY(0) rotate(0deg) scale(0.8);
    }
    
    /* Désactiver les rotations complexes sur mobile */
    .parallax-element {
        transform: translateX(0) translateY(0) rotate(0deg) scale(0.9) !important;
    }
    
    .parallax-element.active {
        transform: translateX(0) translateY(0) rotate(0deg) scale(1) !important;
    }
}

/* Optimisation pour les performances */
@media (prefers-reduced-motion: reduce) {
    .parallax-element {
        transform: none !important;
        transition: opacity 0.3s ease !important;
    }
    
    .parallax-panel {
        transform: none !important;
    }
}

.service-pricing {
    text-align: center;
    margin-bottom: 3rem;
}

.price-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 3rem;
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-unit {
    font-size: 1rem;
    color: var(--text-secondary);
}

.service-cta {
    text-align: center;
}

/* ========================================
   Print Styles
   ======================================== */
/* ========================================
   Solution Pages - Modern Layout
   ======================================== */

/* Solution Hero */
.solution-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.solution-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: 
        radial-gradient(circle at 20% 50%, var(--hero-color, var(--primary-color)) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--hero-color, var(--primary-color)) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, var(--accent-color) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.1); }
}

.solution-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

.solution-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(46, 64, 229, 0.1);
    border: 1px solid rgba(46, 64, 229, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

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

.solution-badge i {
    font-size: 1.25rem;
}

.solution-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.solution-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.solution-hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 64, 229, 0.3);
}

.btn-lg i {
    transition: transform 0.3s ease;
}

.btn-lg:hover i {
    transform: translateX(5px);
}

.solution-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Solution Intro */
.solution-intro {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.intro-checklist {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.intro-checklist i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.intro-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.visual-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    animation: fadeInScale 0.6s ease-out backwards;
}

.visual-card-1 { animation-delay: 0.1s; }
.visual-card-2 { animation-delay: 0.2s; grid-column: span 2; }
.visual-card-3 { animation-delay: 0.3s; grid-column: span 2; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.visual-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.visual-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.visual-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.visual-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* Solution Features */
.solution-features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header-center p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

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

.feature-card-modern {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(46, 64, 229, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-icon-modern {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

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

.feature-card-modern h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card-modern p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Solution Clients */
.solution-clients {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Solution Use Cases */
.solution-use-cases {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

/* Solution Tech Stack */
.solution-tech-stack {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Solution FAQ */
.solution-faq {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(46, 64, 229, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question span {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-question .fa-question-circle {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.faq-icon {
    font-size: 1rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Devis Simulator - Minimal */
.devis-simulator {
    max-width: 600px;
    margin: 0 auto;
}

.simulator-form {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2rem;
}

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

.form-group-minimal label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.input-minimal {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.input-minimal:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Style pour Google Places Autocomplete */
.pac-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
    z-index: 10000;
}

.pac-item {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background: var(--bg-secondary);
}

.pac-item-query {
    color: var(--text-primary);
    font-weight: 600;
}

.pac-matched {
    color: var(--primary-color);
    font-weight: 700;
}

.pac-icon {
    display: none;
}

.radio-group-minimal {
    display: flex;
    gap: 1.5rem;
}

.radio-minimal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
}

.radio-minimal input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.simulator-result {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: white;
    animation: fadeInScale 0.5s ease-out;
}

.result-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.price-label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.result-details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.result-note {
    opacity: 0.85;
    font-size: 0.9rem;
    margin: 0;
}

.result-note i {
    margin-right: 0.5rem;
}

/* Solution CTA */
.solution-cta {
    padding: 8rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.solution-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaGlow 10s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.cta-content .btn {
    background: white;
    color: var(--primary-color);
    border: none;
}

.cta-content .btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .solution-hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    
    .solution-title {
        font-size: 2.5rem;
    }
    
    .solution-hero-stats {
        gap: 2rem;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .solution-intro {
        padding: 4rem 0;
    }
    
    .solution-features,
    .solution-clients,
    .solution-use-cases,
    .solution-tech-stack,
    .solution-faq {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* ========================================
   Clients Ticker Section
   ======================================== */
.clients-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

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

.clients-ticker {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.clients-ticker::before,
.clients-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.clients-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.clients-track {
    display: flex;
    gap: 3rem;
    animation: scroll-clients 30s linear infinite;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.client-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Use Cases Section
   ======================================== */
.use-cases {
    margin: 5rem 0;
}

.use-cases h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text-primary);
}

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

.use-case-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.use-case-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 64, 229, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* ========================================
   Tech Stack Section
   ======================================== */
.tech-stack {
    margin: 5rem 0;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.tech-stack h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text-primary);
}

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

.tech-category {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.tech-category h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-category h3 i {
    color: var(--primary-color);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-item {
    padding: 0.5rem 1rem;
    background: rgba(46, 64, 229, 0.1);
    border: 1px solid rgba(46, 64, 229, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(46, 64, 229, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    margin: 5rem 0;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item h3 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Service CTA Enhancement
   ======================================== */
.service-cta {
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.service-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* ========================================
   AI CHATBOT GENERATOR - GROQ
   ======================================== */

.ai-chatbot-container {
    margin: 4rem 0;
    padding: 0;
}

.chatbot-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem 1.5rem;
    border-radius: 16px 16px 0 0;
    text-align: center;
    color: white;
}

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

.ai-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.ai-badge-large i {
    font-size: 1rem;
}

.chatbot-hero h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.chatbot-hero p {
    font-size: 1rem;
    opacity: 0.95;
}

.ai-chatbot-box {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.chatbot-messages-area {
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.chatbot-messages-area::-webkit-scrollbar {
    width: 10px;
}

.chatbot-messages-area::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.chatbot-messages-area::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.ai-message {
    display: flex;
    gap: 1rem;
    max-width: 80%;
    animation: fadeInUp 0.4s ease;
}

.ai-message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-message.bot-message {
    align-self: flex-start;
}

.ai-message .message-content {
    background: white;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ai-message.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ai-message .message-content strong {
    color: #667eea;
    font-weight: 600;
}

.ai-message.user-message .message-content strong {
    color: white;
}

.ai-message .message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.ai-message .message-content li {
    margin: 0.3rem 0;
}

.chatbot-input-area {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border-top: 2px solid var(--border-color);
}

.chatbot-input-area input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.chatbot-input-area input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.chatbot-input-area button {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-input-area button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Typing indicator */
.typing-indicator {
    max-width: 80px !important;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.85rem 1rem;
    background: white;
    border-radius: 16px;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    background: #667eea;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Quick suggestions */
.quick-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0.85rem 0;
}

.quick-title {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.quick-btn {
    padding: 0.85rem 1.25rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
}

.quick-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateX(5px);
}

.quick-btn-generate {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border-color: transparent !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: pulseGenerate 2s infinite;
}

.quick-btn-generate:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

@keyframes pulseGenerate {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    }
}

/* Generate CTA */
.generate-cta {
    text-align: center;
    margin: 1.5rem 0;
}

.generate-demo-btn {
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.generate-demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

/* Features */
.chatbot-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0 0 16px 16px;
    margin-top: -2px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.feature-item i {
    font-size: 1.6rem;
    color: #667eea;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   DEMO PREVIEW MODAL
   ======================================== */

.demo-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.demo-preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.demo-preview-container {
    background: var(--bg-primary);
    border-radius: 20px;
    width: 100%;
    max-width: 1400px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.demo-preview-modal.active .demo-preview-container {
    transform: scale(1);
}

.demo-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.demo-preview-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.demo-preview-actions {
    display: flex;
    gap: 1rem;
}

.demo-action-btn,
.demo-close-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-action-btn:hover,
.demo-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.demo-close-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}

.demo-preview-body {
    flex: 1;
    background: #f0f0f0;
    overflow: hidden;
}

.demo-preview-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.demo-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-radius: 0 0 20px 20px;
    gap: 1rem;
}

.demo-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.demo-info i {
    color: #667eea;
}

.demo-contact-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

/* Protection anti-copie */
.ai-chatbot-container,
.demo-preview-modal {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ai-chatbot-container *,
.demo-preview-modal * {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .chatbot-hero {
        padding: 2rem 1.25rem;
    }
    
    .chatbot-hero h2 {
        font-size: 1.5rem;
    }
    
    .chatbot-messages-area {
        height: 350px;
        padding: 1.25rem;
    }
    
    .chatbot-input-area {
        padding: 1rem 1.25rem;
    }
    
    .chatbot-features {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        padding: 1.5rem 1.25rem;
    }
    
    .demo-preview-container {
        height: 95vh;
    }
    
    .demo-preview-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .demo-preview-title {
        font-size: 1rem;
    }
    
    .demo-action-btn span {
        display: none;
    }
    
    .demo-preview-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem;
    }
    
    .demo-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .chatbot-hero h2 {
        font-size: 1.35rem;
    }
    
    .chatbot-messages-area {
        height: 300px;
        padding: 1rem;
    }
    
    .chatbot-features {
        grid-template-columns: 1fr;
    }
    
    .ai-badge-large {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .chatbot-input-area {
        padding: 1rem;
    }
}

@media print {
    .navbar,
    .chatbot-container,
    .scroll-top,
    .hero-shapes,
    .cookie-banner,
    .cookie-modal,
    .demo-preview-modal,
    .ai-chatbot-container {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* ========================================
   Chatbot Ticket System Styles
   ======================================== */

.ticket-helper {
    background: rgba(46, 64, 229, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 1rem;
    margin: 0.5rem 0;
    animation: fadeInUp 0.3s ease-out;
}

.ticket-helper p {
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    font-weight: 500;
}

.ticket-progress {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ticket-progress span {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .ticket-progress span {
    background: rgba(255, 255, 255, 0.05);
}

.ticket-progress span.active {
    background: var(--primary-color);
    color: white;
    animation: pulse 2s infinite;
}

.ticket-progress span.completed {
    background: var(--success-color);
    color: white;
}

.ticket-success {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.1) 0%, rgba(46, 64, 229, 0.1) 100%);
    border: 2px solid var(--success-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.ticket-number-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 2px dashed var(--success-color);
}

.ticket-number-display i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.ticket-number-display strong {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

.ticket-success p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* ========================================
   Responsive Styles for Parallax Sections
   ======================================== */
@media (max-width: 1024px) {
    .section-navigation {
        right: 1rem;
    }
    
    .section-nav-preview {
        width: 100px;
    }
    
    .section-nav-item:hover .section-nav-preview,
    .section-nav-item.active .section-nav-preview {
        width: 160px;
    }
    
    .section-nav-image {
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section-nav-content {
        padding: 0.75rem;
    }
    
    .section-nav-label {
        font-size: 0.75rem;
    }
    
    .section-number {
        font-size: 6rem;
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .section-intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-visual {
        order: -1;
        max-width: 400px;
    }
    
    .service-description {
        text-align: center;
    }
    
    .section-tech-content,
    .section-projects .container,
    .section-process .container {
        padding: 0 1.5rem;
    }
    
    .service-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-types-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-navigation {
        right: 0.5rem;
    }
    
    .section-nav-preview {
        width: 80px;
    }
    
    .section-nav-item:hover .section-nav-preview,
    .section-nav-item.active .section-nav-preview {
        width: 120px;
    }
    
    .section-nav-image {
        height: 50px;
        font-size: 1.25rem;
    }
    
    .section-nav-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .section-nav-label {
        font-size: 0.7rem;
    }
    
    .section-number {
        font-size: 4rem;
        top: 1rem;
        left: 1rem;
    }
    
    .parallax-section {
        padding: 3rem 0;
    }
    
    .section-intro-content {
        gap: 2rem;
    }
    
    .story-image {
        max-width: 100%;
    }
    
    .image-placeholder {
        font-size: 4rem;
    }
    
    .service-description h2 {
        font-size: 1.75rem;
    }
    
    .service-description p {
        font-size: 1rem;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-feature {
        padding: 1.5rem;
    }
    
    .process-steps {
        gap: 1.5rem;
    }
    
    .process-step-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .section-tech-content,
    .section-projects .container,
    .section-process .container,
    .section-cta .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .section-navigation {
        display: none; /* Masquer sur très petits écrans */
    }
    
    .section-number {
        font-size: 3rem;
        top: 0.75rem;
        left: 0.75rem;
    }
    
    .parallax-section {
        padding: 2rem 0;
    }
    
    .section-intro-content {
        gap: 1.5rem;
    }
    
    .image-placeholder {
        font-size: 3rem;
    }
    
    .service-description h2 {
        font-size: 1.5rem;
    }
    
    .service-feature-icon,
    .project-type-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .service-cta-content h2 {
        font-size: 1.75rem;
    }
    
    .service-cta-content p {
        font-size: 1rem;
    }
    
    .service-cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* ========================================
   Styles spécifiques pour web.html
   ======================================== */
body.web-page .navbar {
    position: fixed;
    top: 40px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 1300;
    width: 100%;
}

body.web-page .navbar.scrolled {
    top: 0;
}

body.web-page .navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] body.web-page .navbar {
    background: rgba(12, 11, 18, 0.99);
    border-bottom-color: var(--border-color);
}

body.web-page .top-bar {
    position: sticky;
    top: 0;
    z-index: 1301;
}

/* Désactivé pour web.html - géré par web.css */
/*
body.web-page .parallax-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    position: relative;
    margin: 0;
    overflow: hidden;
}
*/

body.web-page .parallax-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: block;
    z-index: 1;
    pointer-events: none;
}

body.web-page .parallax-scroll-fixed {
    position: relative;
    width: 100%;
    overflow: visible;
    min-height: 100vh;
}

body.web-page .scroll-spacer {
    position: relative;
    width: 100%;
    height: 0;
    pointer-events: none;
    display: block;
    z-index: 0;
}

body.web-page .story-content {
    padding: 6rem 2rem;
    margin: 0 auto;
    min-height: 100vh;
}

body.web-page .story-step-number {
    margin-bottom: 1rem;
    font-size: 12rem;
}

body.web-page .story-title {
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

body.web-page .story-text {
    margin-bottom: 3rem;
    line-height: 1.75;
    font-size: clamp(1.125rem, 2.2vw, 1.625rem);
}

body.web-page .story-visual {
    margin-top: 3.5rem;
}

body.web-page .story-icon {
    width: 160px;
    height: 160px;
    font-size: 4rem;
}

body.web-page .story-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* ========================================
   Layout Alterné avec Animations depuis les Côtés
   ======================================== */

.story-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    will-change: transform, opacity;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.step-content-left,
.step-content-right {
    position: relative;
    z-index: 2;
}

/* Animations d'entrée depuis les côtés */
.step-left .step-content-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-left.active .step-content-left {
    opacity: 1;
    transform: translateX(0);
}

.step-left .step-content-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.step-left.active .step-content-right {
    opacity: 1;
    transform: translateX(0);
}

.step-right .step-content-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.step-right.active .step-content-left {
    opacity: 1;
    transform: translateX(0);
}

.step-right .step-content-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-right.active .step-content-right {
    opacity: 1;
    transform: translateX(0);
}

/* Badge numéro d'étape */
.step-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.step-number-1 { border-color: rgba(46, 64, 229, 0.5); background: rgba(46, 64, 229, 0.2); }
.step-number-2 { border-color: rgba(236, 72, 153, 0.5); background: rgba(236, 72, 153, 0.2); }
.step-number-3 { border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.2); }
.step-number-4 { border-color: rgba(245, 158, 11, 0.5); background: rgba(245, 158, 11, 0.2); }
.step-number-5 { border-color: rgba(59, 130, 246, 0.5); background: rgba(59, 130, 246, 0.2); }
.step-number-6 { border-color: rgba(46, 64, 229, 0.5); background: rgba(46, 64, 229, 0.2); }
.step-number-7 { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.2); }

.step-number-badge:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Icônes avec styles différents */
.step-icon-wrapper {
    margin: 2rem 0;
}

.step-icon-circle,
.step-icon-square,
.step-icon-hexagon,
.step-icon-terminal,
.step-icon-shield,
.step-icon-rocket,
.step-icon-heart {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.step-icon-circle {
    border-radius: 50%;
    background: rgba(46, 64, 229, 0.2);
    border: 2px solid rgba(46, 64, 229, 0.4);
    box-shadow: 0 8px 32px rgba(46, 64, 229, 0.3);
}

.step-icon-square {
    border-radius: 20px;
    background: rgba(236, 72, 153, 0.2);
    border: 2px solid rgba(236, 72, 153, 0.4);
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.3);
    transform: rotate(45deg);
}

.step-icon-square i {
    transform: rotate(-45deg);
}

.step-icon-hexagon {
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.step-icon-terminal {
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.step-icon-shield {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.step-icon-rocket {
    border-radius: 50%;
    background: rgba(46, 64, 229, 0.2);
    border: 2px solid rgba(46, 64, 229, 0.4);
    box-shadow: 0 8px 32px rgba(46, 64, 229, 0.3);
    position: relative;
}

.step-icon-heart {
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.step-icon-circle:hover,
.step-icon-square:hover,
.step-icon-hexagon:hover,
.step-icon-terminal:hover,
.step-icon-shield:hover,
.step-icon-rocket:hover,
.step-icon-heart:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Titres et textes */
.step-content-right .story-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.step-content-right .story-text {
    font-size: clamp(1.125rem, 1.8vw, 1.5rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Overlays spécifiques par étape */
.step-overlay-1 {
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.step-overlay-2 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.step-overlay-3 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.step-overlay-4 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.step-overlay-5 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.step-overlay-6 {
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.step-overlay-7 {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* ========================================
   Styles Interactifs Uniques par Étape
   ======================================== */

/* Étape 1 - Tags interactifs */
.step-1 {
    --step-color: #4a5bf0;
}

.step-icon-1 .step-icon-circle {
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 64, 229, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(46, 64, 229, 0); }
}

.step-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.step-feature-tag {
    padding: 0.75rem 1.5rem;
    background: rgba(46, 64, 229, 0.2);
    border: 1px solid rgba(46, 64, 229, 0.4);
    border-radius: 25px;
    font-size: 0.875rem;
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.step-1.active .step-feature-tag {
    opacity: 1;
    transform: translateY(0);
}

.step-feature-tag:nth-child(1) { transition-delay: 0.1s; }
.step-feature-tag:nth-child(2) { transition-delay: 0.2s; }
.step-feature-tag:nth-child(3) { transition-delay: 0.3s; }

.step-feature-tag:hover {
    background: rgba(46, 64, 229, 0.4);
    transform: translateY(-3px) scale(1.05);
}

/* Étape 2 - Barres de progression */
.step-2 {
    --step-color: #ec4899;
}

.step-icon-2 .step-icon-square {
    animation: rotateSquare 4s ease-in-out infinite;
}

@keyframes rotateSquare {
    0%, 100% { transform: rotate(45deg) scale(1); }
    25% { transform: rotate(50deg) scale(1.05); }
    75% { transform: rotate(40deg) scale(1.05); }
}

.step-progress-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-progress-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
}

.step-2.active .step-progress-item {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease-out;
}

.step-progress-item:nth-child(1) { transition-delay: 0.1s; }
.step-progress-item:nth-child(2) { transition-delay: 0.3s; }
.step-progress-item:nth-child(3) { transition-delay: 0.5s; }

.step-progress-item span {
    min-width: 120px;
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ec4899 0%, #f472b6 100%);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-out 0.5s;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.step-2.active .progress-fill[data-width="85"] { width: 85%; }
.step-2.active .progress-fill[data-width="70"] { width: 70%; }
.step-2.active .progress-fill[data-width="90"] { width: 90%; }

/* Étape 3 - Couleurs et Design */
.step-3 {
    --step-color: #10b981;
}

.step-icon-3 .step-icon-hexagon {
    animation: hexagonRotate 8s linear infinite;
}

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

.step-color-swatches {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

.step-3.active .color-swatch {
    opacity: 1;
    transform: scale(1);
    animation: colorBounce 2s ease-in-out infinite;
}

.color-swatch:nth-child(1) { animation-delay: 0s; transition-delay: 0.1s; }
.color-swatch:nth-child(2) { animation-delay: 0.2s; transition-delay: 0.2s; }
.color-swatch:nth-child(3) { animation-delay: 0.4s; transition-delay: 0.3s; }
.color-swatch:nth-child(4) { animation-delay: 0.6s; transition-delay: 0.4s; }

@keyframes colorBounce {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-8px); }
}

.color-swatch:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.step-design-elements {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.design-element {
    padding: 1rem 1.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.step-3.active .design-element {
    opacity: 1;
    transform: translateY(0);
}

.design-element:nth-child(1) { transition-delay: 0.1s; }
.design-element:nth-child(2) { transition-delay: 0.2s; }
.design-element:nth-child(3) { transition-delay: 0.3s; }

.design-element:hover {
    background: rgba(16, 185, 129, 0.3);
    transform: translateY(-3px) scale(1.05);
}

/* Étape 4 - Terminal */
.step-4 {
    --step-color: #f59e0b;
}

.step-terminal {
    background: rgba(12, 11, 18, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(245, 158, 11, 0.4);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease-out;
}

.step-4.active .step-terminal {
    opacity: 1;
    transform: scale(1);
}

.terminal-header {
    background: rgba(245, 158, 11, 0.15);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.terminal-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: terminalBlink 2s ease-in-out infinite;
}

.terminal-dots span:nth-child(1) { background: #ef4444; animation-delay: 0s; }
.terminal-dots span:nth-child(2) { background: #f59e0b; animation-delay: 0.2s; }
.terminal-dots span:nth-child(3) { background: #10b981; animation-delay: 0.4s; }

@keyframes terminalBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.terminal-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.step-icon-4 .step-icon-terminal {
    animation: terminalPulse 2s ease-in-out infinite;
}

@keyframes terminalPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
}

.step-tech-stack {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tech-item {
    padding: 0.875rem 1.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.step-4.active .tech-item {
    opacity: 1;
    transform: translateY(0);
}

.tech-item:nth-child(1) { transition-delay: 0.1s; }
.tech-item:nth-child(2) { transition-delay: 0.2s; }
.tech-item:nth-child(3) { transition-delay: 0.3s; }

.tech-item:hover {
    background: rgba(245, 158, 11, 0.3);
    transform: translateY(-3px) scale(1.05);
}

/* Étape 5 - Checklist */
.step-5 {
    --step-color: #3b82f6;
}

.step-icon-5 .step-icon-shield {
    animation: shieldPulse 3s ease-in-out infinite;
}

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

.step-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.step-5.active .checklist-item {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease-out;
}

.checklist-item:nth-child(1) { transition-delay: 0.1s; }
.checklist-item:nth-child(2) { transition-delay: 0.2s; }
.checklist-item:nth-child(3) { transition-delay: 0.3s; }
.checklist-item:nth-child(4) { transition-delay: 0.4s; }

.checklist-item:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateX(10px);
    border-color: rgba(59, 130, 246, 0.5);
}

.checklist-item i {
    color: #3b82f6;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Étape 6 - Rocket */
.step-6 {
    --step-color: #8b5cf6;
}

.step-icon-6 {
    position: relative;
}

.step-icon-6 .step-icon-rocket {
    animation: rocketLaunch 3s ease-in-out infinite;
}

@keyframes rocketLaunch {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.rocket-flame {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 35px;
    background: linear-gradient(180deg, rgba(46, 64, 229, 0.8) 0%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flameFlicker 0.3s ease-in-out infinite;
    z-index: -1;
}

@keyframes flameFlicker {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.step-launch-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.launch-stat {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(46, 64, 229, 0.15);
    border: 1px solid rgba(46, 64, 229, 0.3);
    border-radius: 16px;
    min-width: 120px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.step-6.active .launch-stat {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.launch-stat:nth-child(1) { transition-delay: 0.1s; }
.launch-stat:nth-child(2) { transition-delay: 0.2s; }
.launch-stat:nth-child(3) { transition-delay: 0.3s; }

.launch-stat:hover {
    background: rgba(46, 64, 229, 0.25);
    transform: translateY(-5px) scale(1.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Étape 7 - Cœur */
.step-7 {
    --step-color: #ef4444;
}

.step-icon-7 {
    position: relative;
}

.step-icon-7 .step-icon-heart {
    animation: heartPulse 1.5s ease-in-out infinite;
    color: #ef4444;
}

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

.heart-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
    pointer-events: none;
}

.heart-ripple:nth-child(2) { animation-delay: 0s; }
.heart-ripple:nth-child(3) { animation-delay: 1s; }

@keyframes ripple {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.step-support-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.support-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    color: white;
    min-width: 150px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.step-7.active .support-feature {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.support-feature:nth-child(1) { transition-delay: 0.1s; }
.support-feature:nth-child(2) { transition-delay: 0.2s; }
.support-feature:nth-child(3) { transition-delay: 0.3s; }

.support-feature:hover {
    background: rgba(239, 68, 68, 0.25);
    transform: translateY(-5px) scale(1.05);
}

.support-feature i {
    font-size: 2rem;
    color: #ef4444;
}

/* Responsive pour les étapes interactives */
@media (max-width: 968px) {
    .story-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1.5rem;
    }
    
    .step-content-left,
    .step-content-right {
        text-align: center;
    }
    
    .step-left .step-content-left,
    .step-left .step-content-right,
    .step-right .step-content-left,
    .step-right .step-content-right {
        transform: translateY(30px);
    }
    
    .step-left.active .step-content-left,
    .step-left.active .step-content-right,
    .step-right.active .step-content-left,
    .step-right.active .step-content-right {
        transform: translateY(0);
    }
    
    .step-progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .step-progress-item span {
        min-width: auto;
    }
    
    .step-launch-stats,
    .step-support-features {
        justify-content: center;
    }
    
    .step-color-swatches {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body.web-page .service-hero-fixed {
        margin-top: 60px;
        padding: 4rem 0 2rem;
    }
    
    body.web-page .story-content {
        padding: 3rem 1.5rem;
    }
    
    body.web-page .story-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    body.web-page .story-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}


.parallax-step {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.parallax-step.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.15) translateY(0);
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.2s ease;
    opacity: 0;
    will-change: transform, opacity;
    filter: brightness(0.7);
}

.parallax-step.active .background-image {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: brightness(0.8);
}

/* Parallax effect on scroll within step */
.parallax-step.active .background-image {
    animation: parallaxFloat 20s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.05) translateY(-2%);
    }
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.85) 0%, rgba(26, 26, 26, 0.9) 100%);
    z-index: 1;
    transition: opacity 1s ease;
}

.parallax-step[data-step="2"] .background-overlay {
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.85) 0%, rgba(74, 91, 240, 0.9) 100%);
}

.parallax-step[data-step="3"] .background-overlay {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.85) 0%, rgba(249, 115, 22, 0.9) 100%);
}

.parallax-step[data-step="4"] .background-overlay {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.85) 0%, rgba(124, 58, 237, 0.9) 100%);
}

.parallax-step[data-step="5"] .background-overlay {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.85) 0%, rgba(16, 185, 129, 0.9) 100%);
}

.parallax-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 8rem 0 4rem;
    color: #ffffff;
}

.step-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-number-large {
    font-size: clamp(8rem, 15vw, 15rem);
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    color: #ffffff;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(-60px);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.parallax-step.active .step-number-large {
    opacity: 0.2;
    transform: translateX(0);
}

.step-content-wrapper {
    flex: 1;
}

/* Animation states */
[data-animate] {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fadeInUp"] {
    transform: translateY(50px);
}

[data-animate="fadeInLeft"] {
    transform: translateX(-50px);
}

[data-animate="fadeInRight"] {
    transform: translateX(50px);
}

.parallax-step.active [data-animate] {
    opacity: 1;
    transform: translate(0, 0) !important;
}

.step-icon-large {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.step-title-large {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.step-description-large {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.step-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffffff;
}

/* Progress Indicator */
.parallax-progress {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.6);
}

.progress-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.progress-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Services Overview Section */
.services-overview {
    position: relative;
    z-index: 20;
    background: var(--bg-primary);
    padding: 6rem 0;
    margin-top: 0;
}

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

.service-overview-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.service-overview-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

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

.service-overview-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-overview-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

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

.service-overview-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

.service-price {
    font-size: 1.2rem;
    color: var(--text-primary);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

/* Scroll Spacer for Parallax */
.parallax-process::before {
    content: '';
    display: block;
    height: 500vh; /* 5 steps * 100vh each */
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .step-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .step-number-large {
        font-size: clamp(6rem, 12vw, 10rem);
        transform: translateY(-30px);
    }
    
    .parallax-step.active .step-number-large {
        transform: translateY(0);
    }
    
    .step-features {
        grid-template-columns: 1fr;
    }
    
    .parallax-progress {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .parallax-content {
        padding: 6rem 0 3rem;
    }
    
    .step-wrapper {
        padding: 0 1.5rem;
    }
    
    .step-icon-large {
        font-size: 3rem;
    }
    
    .step-title-large {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .step-description-large {
        font-size: 1rem;
    }
    
    .feature-item {
        font-size: 1rem;
    }
    
    .parallax-progress {
        right: 0.5rem;
    }
    
    .progress-dot {
        width: 10px;
        height: 10px;
    }
    
    .services-grid-overview {
        grid-template-columns: 1fr;
    }
    
    .service-overview-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .step-number-large {
        font-size: 5rem;
    }
    
    .step-icon-large {
        font-size: 2.5rem;
    }
    
    .parallax-progress {
        display: none;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .services-overview {
    background: var(--bg-primary);
}

[data-theme="dark"] .service-overview-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .service-overview-card:hover {
    border-color: var(--primary-color);
}

/* Realisations carousel */
.work {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--bg-primary);
}

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

.work-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.work-carousel__viewport {
    overflow: hidden;
    border-radius: 8px;
}

.work-grid {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.25rem;
}

.work-grid::-webkit-scrollbar {
    display: none;
}

.work-card {
    flex: 0 0 clamp(300px, 30vw, 360px) !important;
    width: clamp(300px, 30vw, 360px);
    max-width: 360px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover,
.work-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(46, 64, 229, 0.55);
    box-shadow: var(--shadow-lg);
}

.work-card__media {
    aspect-ratio: 16 / 10;
    background: var(--bg-primary);
    overflow: hidden;
}

.work-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-card__media--placeholder {
    display: grid;
    place-items: center;
    color: var(--text-secondary);
    background:
        linear-gradient(135deg, rgba(46, 64, 229, 0.08), rgba(255, 184, 0, 0.1)),
        var(--bg-primary);
    text-align: center;
}

.work-card__media--placeholder i {
    font-size: 2rem;
    margin-bottom: 0.35rem;
}

.work-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem;
}

.work-card__tag {
    width: fit-content;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(46, 64, 229, 0.1);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
}

.work-card__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.15;
}

.work-card__desc {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.work-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: auto;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.work-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.work-card__meta i {
    color: var(--accent-color);
}

.work-carousel__control {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.work-carousel__control:hover,
.work-carousel__control:focus-visible {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.work-carousel__control:disabled {
    cursor: default;
    opacity: 0.4;
    transform: none;
}

.work-carousel__dots {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    min-height: 12px;
}

.work-carousel__dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: var(--border-color);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.work-carousel__dot.is-active {
    width: 24px;
    background: var(--primary-color);
}

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

    .work-carousel__viewport {
        grid-row: 1;
    }

    .work-carousel__control {
        position: absolute;
        top: 42%;
        z-index: 2;
        width: 42px;
        height: 42px;
    }

    .work-carousel__control--prev {
        left: 0.5rem;
    }

    .work-carousel__control--next {
        right: 0.5rem;
    }

    .work-card {
        flex-basis: calc(100vw - 3rem) !important;
        width: calc(100vw - 3rem);
        max-width: none;
    }
}

/* ============================================================
   DARK THEME — Surcharges globales premium
   Palette : encre #0c0b12, cobalt #5b66f0, ivoire #edebed
   ============================================================ */

/* ── Surfaces & cartes ───────────────────────────────────────── */
[data-theme="dark"] .service-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    --service-accent-soft: rgba(91, 102, 240, 0.12);
}

[data-theme="dark"] .service-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px -8px rgba(91, 102, 240, 0.28);
}

[data-theme="dark"] .solution-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .feature-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .solution-card:hover,
[data-theme="dark"] .pricing-card:hover,
[data-theme="dark"] .feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 16px 48px -12px rgba(91, 102, 240, 0.32);
}

/* ── Hero & particules ───────────────────────────────────────── */
[data-theme="dark"] .hero {
    background: #0c0b12;
}

/* Hero background : gradient profond avec reflets cobalt */
[data-theme="dark"] .hero-background {
    background:
        radial-gradient(ellipse 900px 700px at 75% 15%, rgba(91, 102, 240, 0.13) 0%, transparent 65%),
        radial-gradient(ellipse 700px 500px at 15% 85%, rgba(46, 64, 229, 0.09) 0%, transparent 60%),
        linear-gradient(160deg, #0c0b12 0%, #100f1c 55%, #0c0b12 100%);
}

/* Shapes : plus visibles sur fond sombre */
[data-theme="dark"] .hero-shape {
    opacity: 0.07;
}

[data-theme="dark"] .hero-shape-1 {
    background: var(--primary-color);
    opacity: 0.09;
}

[data-theme="dark"] .hero-shape-2 {
    background: var(--accent-color);
    opacity: 0.07;
}

[data-theme="dark"] .hero-shape-3 {
    background: var(--secondary-color);
    opacity: 0.05;
}

/* Title highlight : blanc → cobalt (plus lisible sur fond noir) */
[data-theme="dark"] .hero-title-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #b0bcff 55%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

/* Bouton secondaire : transparent + contour cobalt (pas noir sur noir) */
[data-theme="dark"] .btn-hero.btn-secondary {
    background: rgba(91, 102, 240, 0.10);
    border-color: rgba(91, 102, 240, 0.40);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-hero.btn-secondary:hover {
    background: rgba(91, 102, 240, 0.20);
    border-color: var(--primary-color);
}

/* Particules */
[data-theme="dark"] .particle {
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(91, 102, 240, 0.22);
    opacity: 0.20;
}

/* ── Loading screen ──────────────────────────────────────────── */
[data-theme="dark"] .loading-screen {
    background: var(--bg-primary);
}

/* ── Sections alternées ──────────────────────────────────────── */
[data-theme="dark"] .solutions::before {
    background: linear-gradient(135deg,
        var(--bg-secondary) 0%,
        var(--bg-primary) 50%,
        rgba(46, 64, 229, 0.04) 100%);
}

[data-theme="dark"] .stats-section,
[data-theme="dark"] .about-section,
[data-theme="dark"] .process-section {
    background: var(--bg-secondary);
}

/* ── Formulaires & inputs ────────────────────────────────────── */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 102, 240, 0.18);
    outline: none;
}

/* ── Navigation mobile ───────────────────────────────────────── */
[data-theme="dark"] .nav-menu {
    background: var(--bg-primary);
    border-right-color: var(--border-color);
}

[data-theme="dark"] .nav-menu .nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

[data-theme="dark"] .nav-menu .nav-link.btn-contact {
    box-shadow: 0 4px 16px rgba(91, 102, 240, 0.30);
}

[data-theme="dark"] .nav-menu .nav-link.btn-contact:hover {
    box-shadow: 0 6px 20px rgba(91, 102, 240, 0.42);
}

/* ── Dropdown menus ──────────────────────────────────────────── */
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .mega-menu {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .dropdown-item:hover {
    background: var(--bg-tertiary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .mega-menu-item {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .mega-menu-item:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(91, 102, 240, 0.18);
}

/* ── Boutons ─────────────────────────────────────────────────── */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .cta-button {
    box-shadow: 0 4px 16px rgba(91, 102, 240, 0.30);
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .cta-button:hover {
    box-shadow: 0 8px 24px rgba(91, 102, 240, 0.42);
}

[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-outline {
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(91, 102, 240, 0.10);
}

/* ── Badges & tags ───────────────────────────────────────────── */
[data-theme="dark"] .dropdown-item-badge {
    box-shadow: 0 2px 8px rgba(91, 102, 240, 0.30);
}

[data-theme="dark"] .work-card__tag {
    background: rgba(91, 102, 240, 0.14);
    color: var(--primary-color);
}

[data-theme="dark"] .work-card:hover {
    border-color: rgba(91, 102, 240, 0.50);
}

/* ── Chatbot & tickets ───────────────────────────────────────── */
[data-theme="dark"] .ticket-helper {
    background: rgba(91, 102, 240, 0.10);
    border-color: var(--primary-color);
}

[data-theme="dark"] .ticket-success {
    background: linear-gradient(135deg, rgba(37, 176, 122, 0.12) 0%, rgba(91, 102, 240, 0.10) 100%);
    border-color: var(--success-color);
}

/* ── Suggestion buttons ──────────────────────────────────────── */
[data-theme="dark"] .suggestion-btn:hover {
    box-shadow: 0 4px 12px rgba(91, 102, 240, 0.30);
}

/* ── Section gradients & arrière-plans ───────────────────────── */
[data-theme="dark"] .parallax-step[data-step="2"] .background-overlay {
    background: linear-gradient(135deg, rgba(46, 64, 229, 0.85) 0%, rgba(74, 91, 240, 0.9) 100%);
}

/* ── Scrollbar ───────────────────────────────────────────────── */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ── Sélection de texte ──────────────────────────────────────── */
[data-theme="dark"] ::selection {
    background: rgba(91, 102, 240, 0.30);
    color: var(--text-primary);
}
