/* ================================
   VARIABLES CSS
   ================================ */
   :root {
    /* Palette inspirée n8n */
    --bg-dark: #0A0D1A;
    --bg-card: #0F172A;
    --bg-elevated: #1E293B;
    
    /* Accents */
    --primary: #FF6B4A;
    --primary-hover: #FF8566;
    --secondary: #8B5CF6;
    --accent-blue: #3B82F6;
    
    /* Texte */
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    /* Success/Warning */
    --success: #10B981;
    --warning: #F59E0B;
    
    /* Borders */
    --border: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(148, 163, 184, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 107, 74, 0.3);
    
    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-width: 1280px;
  }
  
  /* ================================
     RESET & BASE STYLES
     ================================ */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* SUPPRIMÉ LE BACKGROUND QUI CAUSAIT LE PROBLÈME */
  }
  
  /* ================================
     CANVAS BACKGROUND
     ================================ */
  #canvas3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
  }
  
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
  }
  
  /* ================================
     LAYOUT & CONTAINERS
     ================================ */
  .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
  }
  
  /* ================================
     TOP BANNER
     ================================ */
  .top-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
  }
  
  .top-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 1rem;
    font-weight: 700;
  }
  
  /* ================================
     HEADER & NAVIGATION
     ================================ */
  header {
    position: sticky;
    top: 45px;
    z-index: 99;
    background: rgba(10, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  
  nav {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  
  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  
  .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--text-primary);
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  /* ================================
     BUTTONS
     ================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 74, 0.4);
  }
  
  .btn-secondary {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border);
  }
  
  .btn-secondary:hover {
    background: rgba(148, 163, 184, 0.15);
    border-color: var(--border-hover);
  }
  
  .btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.05rem;
  }
  
  /* ================================
     HERO SECTION
     ================================ */
  .hero {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 2rem;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
  }
  
  .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
  }
  
  .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
  }
  
  /* Social Proof */
  .social-proof {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .proof-item {
    text-align: center;
  }
  
  .proof-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  
  .proof-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
  }
  
  /* ================================
     SECTION HEADERS
     ================================ */
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }
  
  .section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
  }
  
  /* ================================
     FADE IN ANIMATIONS
     ================================ */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ================================
     WORKFLOW SECTION
     ================================ */
  .workflow-demo {
    position: relative;
  }
  
  .workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .workflow-node {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
  }
  
  .workflow-node::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .workflow-node:hover::before {
    opacity: 1;
  }
  
  .workflow-node:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
  }
  
  .workflow-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
  }
  
  .workflow-node h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
  }
  
  .workflow-node p {
    color: var(--text-secondary);
    font-size: 0.95rem;
  }
  
  .workflow-arrow {
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--secondary);
    font-weight: bold;
  }
  
  /* ================================
     FEATURE CARDS
     ================================ */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .feature-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }
  
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(139, 92, 246, 0.1),
      transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .feature-card:hover::before {
    opacity: 1;
  }
  
  .feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }
  
  .feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
  }
  
  /* ================================
     COMPARISON SECTION
     ================================ */
  .comparison-wrapper {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
  }
  
  .comparison-column {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
  }
  
  .comparison-column h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
  }
  
  .comparison-before {
    border-color: rgba(239, 68, 68, 0.3);
  }
  
  .comparison-after {
    border-color: rgba(16, 185, 129, 0.3);
  }
  
  .comparison-list {
    list-style: none;
  }
  
  .comparison-list li {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .comparison-before li::before {
    content: '✗';
    color: #EF4444;
    font-weight: 700;
    flex-shrink: 0;
  }
  
  .comparison-after li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
  }
  
  /* ================================
     PRICING SECTION
     ================================ */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .pricing-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
  }
  
  .pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
  }
  
  .pricing-popular {
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25);
  }
  
  .pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  }
  
  .pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }
  
  .pricing-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .pricing-price span {
    font-size: 1.25rem;
    opacity: 0.7;
  }
  
  .pricing-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
  }
  
  .pricing-features {
    list-style: none;
    margin-bottom: 2rem;
  }
  
  .pricing-features li {
    padding: 0.875rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
  }
  
  .pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
  }
  
  /* ================================
     TESTIMONIALS
     ================================ */
  .testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .testimonial-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
  }
  
  .testimonial-quote {
    font-size: 4rem;
    line-height: 1;
    color: var(--secondary);
    opacity: 0.2;
    margin-bottom: 1rem;
  }
  
  .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.125rem;
  }
  
  .testimonial-info h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
  }
  
  .testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
  }
  
  .testimonial-stars {
    color: var(--warning);
    font-size: 1.125rem;
    margin-top: 0.5rem;
  }
  
  /* ================================
     CTA BANNER
     ================================ */
  .cta-banner {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }
  
  .cta-banner p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
  }
  
  /* ================================
     CONTACT SECTION
     ================================ */
  .contact-section {
    background: rgba(15, 23, 42, 0.5);
  }
  
  .contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .contact-form {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
  }
  
  .contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(139, 92, 246, 0.1),
      transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .contact-form:hover::before {
    opacity: 1;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(10, 13, 26, 0.6);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  }
  
  .form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .form-group.checkbox input {
    width: auto;
    margin-top: 0.25rem;
  }
  
  .form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.875rem;
  }
  
  .btn-submit {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 74, 0.4);
  }
  
  .btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
  }
  
  .form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
  }
  
  .form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    display: block;
  }
  
  .form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
    display: block;
  }
  
  /* Contact Info Cards */
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .info-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(139, 92, 246, 0.1),
      transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .info-card:hover::before {
    opacity: 1;
  }
  
  .info-card:hover {
    transform: translateX(8px);
    border-color: rgba(139, 92, 246, 0.3);
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
  }
  
  .info-card a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .info-card a:hover {
    color: var(--primary);
  }
  
  .info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
  }
  
  /* ================================
     FOOTER
     ================================ */
  footer {
    background: rgba(10, 13, 26, 0.9);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-brand p {
    color: var(--text-secondary);
    margin: 1rem 0 1.5rem;
    line-height: 1.7;
  }
  
  .footer-social {
    display: flex;
    gap: 1rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
  }
  
  .footer-column h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--primary);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
  }
  
  /* ================================
     WHATSAPP FLOAT BUTTON - DÉSACTIVÉ
     ================================ */
  .whatsapp-float {
    display: none !important; /* Caché - on utilise le chatbot à la place */
  }
  
  /* ================================
     RESPONSIVE DESIGN
     ================================ */
  @media (max-width: 1024px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  
    .contact-container {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    nav {
      flex-wrap: wrap;
      gap: 1rem;
    }
  
    .nav-links {
      order: 3;
      width: 100%;
      flex-direction: column;
      gap: 0;
      display: none;
    }
  
    .hero {
      padding: 4rem 0 3rem;
    }
  
    .hero h1 {
      font-size: 2rem;
    }
  
    .hero-subtitle {
      font-size: 1rem;
    }
  
    .workflow-grid,
    .feature-grid,
    .pricing-grid,
    .testimonials-slider {
      grid-template-columns: 1fr;
    }
  
    .workflow-arrow {
      display: none;
    }
  
    .comparison-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-grid {
      grid-template-columns: 1fr;
    }
  
    .social-proof {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
  }
  
  /* ================================
     DEMO SECTION
     ================================ */
  .demo-section {
    background: rgba(15, 23, 42, 0.3);
    border-radius: 24px;
    padding: var(--section-padding) 0;
  }
  
  .demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
  }
  
  .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 74, 0.4);
  }
  
  .airtable-container {
    background: rgba(10, 13, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0;
    min-height: 600px;
    height: 600px;
    overflow: hidden;
    position: relative;
  }
  
  /* Animation de pulsation sur le bouton de démo pour attirer l'œil */
  @keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0); }
  }
  
  .cta-button.primary {
    animation: pulse-orange 2s infinite;
  }
  
  .airtable-container iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
    /* SUPPRIMÉ le filtre qui causait des problèmes d'affichage */
    border-radius: 12px;
    display: block;
  }
  
  /* ================================
     ROI CALCULATOR STYLES
     ================================ */
  .roi-input:focus {
    outline: none;
    border-color: #8B5CF6 !important;
    background: rgba(10, 13, 26, 0.9) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  }
  
  .roi-input:hover {
    border-color: rgba(148, 163, 184, 0.25) !important;
  }
  
  .result-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3) !important;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  }
  
  @media (max-width: 768px) {
    .roi-calculator-container {
      padding: 2rem 1.5rem !important;
    }
    
    .demo-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* ================================
     PRICING URGENCY BANNER
     ================================ */
  .pricing-urgency-banner {
    background: linear-gradient(135deg, #FF6B4A 0%, #FF8566 100%);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 74, 0.4);
    max-height: none;
    height: auto;
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Désactiver les effets de lumière au survol */
    pointer-events: auto;
  }
  
  /* Suppression complète du ::before qui causait le tremblement */
  .pricing-urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    /* Pas de radial-gradient, pas d'animation */
    z-index: 0;
    pointer-events: none;
  }
  
  .pricing-urgency-banner > * {
    position: relative;
    z-index: 1;
  }
  
  .pricing-urgency-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
  }
  
  .pricing-urgency-banner p {
    margin-bottom: 1.5rem;
  }
  
  #spotsLeft {
    animation: blink-spots-smooth 2s ease-in-out infinite;
    display: inline-block;
  }
  
  @keyframes blink-spots-smooth {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
  }
  
  /* Fix pour les grilles dans la bannière */
  .pricing-urgency-banner > div[style*="grid"] {
    position: relative;
    z-index: 2;
  }
  
  /* Désactiver les effets CSS de survol sur la bannière */
  .pricing-urgency-banner:hover {
    /* Pas de transformation */
    transform: none;
  }
  
  @media (max-width: 768px) {
    .pricing-urgency-banner {
      padding: 1.5rem;
    }
    
    .pricing-urgency-banner h2 {
      font-size: 1.5rem;
    }
  }

/* ================================
   WORKFLOW CODE VIEWER - NOUVEAU
   ================================ */
.workflow-code-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.code-tabs {
  display: flex;
  background: rgba(10, 13, 26, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  overflow-x: auto;
  scrollbar-width: thin;
}

.code-tab {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.code-tab:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.05);
}

.code-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(255, 107, 74, 0.05);
}

.code-content {
  padding: 2rem;
  min-height: 400px;
  position: relative;
}

.code-panel {
  display: none;
  animation: fadeInCode 0.4s ease;
}

.code-panel.active {
  display: block;
}

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

.code-panel pre {
  background: rgba(10, 13, 26, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 0;
}

.code-panel code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #E2E8F0;
}

/* Syntax Highlighting basique */
.code-panel code {
  display: block;
  white-space: pre;
}

/* Simulation de coloration syntaxique */
.language-json {
  color: #CBD5E1;
}

.code-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(10, 13, 26, 0.6);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

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

.code-stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

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

/* ================================
   PERFORMANCE INDICATOR
   ================================ */
.performance-indicator {
  position: fixed;
  bottom: 80px;
  right: 20px;
  padding: 8px 12px;
  background: rgba(10, 13, 26, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  z-index: 999;
  display: none;
  font-family: monospace;
}

.performance-indicator.visible {
  display: block;
}

/* ================================
   RESPONSIVE ENHANCEMENTS
   ================================ */
@media (max-width: 1024px) {
  .workflow-code-container {
    padding: 0;
  }
  
  .code-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  
  .code-content {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .code-tab {
    font-size: 0.85rem;
    padding: 0.875rem 1rem;
  }
  
  .code-panel pre {
    padding: 1rem;
    font-size: 0.75rem;
  }
  
  .code-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .code-stat-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .code-stats {
    grid-template-columns: 1fr;
  }
}
/* ================================
   MODAL DÉMO INTERACTIVE - Nouveau
   ================================ */

/* SVG Icons */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.svg-icon svg {
  width: 100%;
  height: 100%;
}

.svg-icon-sm { width: 16px; height: 16px; }
.svg-icon-md { width: 20px; height: 20px; }
.svg-icon-lg { width: 24px; height: 24px; }
.svg-icon-xl { width: 32px; height: 32px; }

/* Modal Overlay */
.demo-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 13, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow-y: auto;
}

.demo-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Modal Container */
.demo-modal-container {
  position: relative;
  width: 95%;
  max-width: 1200px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  padding: 3rem;
  margin: 2rem;
  animation: modalSlideUp 0.5s ease;
}

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

/* Bouton Fermeture */
.demo-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 74, 0.1);
  border: 1px solid rgba(255, 107, 74, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.demo-close-btn:hover {
  background: rgba(255, 107, 74, 0.2);
  border-color: rgba(255, 107, 74, 0.5);
  transform: rotate(90deg);
}

.demo-close-btn svg {
  width: 24px;
  height: 24px;
  stroke: #FF6B4A;
}

/* Header Modal */
.demo-modal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.demo-modal-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF6B4A 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.demo-modal-header p {
  font-size: 1.125rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
}

/* Workflow Animation Container */
.workflow-animation {
  position: relative;
  width: 100%;
  height: 400px;
  background: rgba(10, 13, 26, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Workflow Steps */
.workflow-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 2rem;
  position: relative;
}

/* Step Node */
.workflow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: scale(0.8);
  animation: stepAppear 0.6s ease forwards;
  z-index: 2;
}

.workflow-step:nth-child(1) { animation-delay: 0.2s; }
.workflow-step:nth-child(2) { animation-delay: 0.6s; }
.workflow-step:nth-child(3) { animation-delay: 1.0s; }
.workflow-step:nth-child(4) { animation-delay: 1.4s; }

@keyframes stepAppear {
  to { opacity: 1; transform: scale(1); }
}

.workflow-step-node {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  animation: nodePulse 3s ease-in-out infinite;
}

.workflow-step:nth-child(1) .workflow-step-node {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.workflow-step:nth-child(2) .workflow-step-node {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.workflow-step:nth-child(3) .workflow-step-node {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.workflow-step:nth-child(4) .workflow-step-node {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

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

.workflow-step-node svg {
  width: 48px;
  height: 48px;
  stroke: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.workflow-step-label {
  text-align: center;
  max-width: 140px;
}

.workflow-step-label h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 0.25rem;
}

.workflow-step-label p {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.4;
}

/* Connexions animées */
.workflow-connection {
  position: absolute;
  top: 50%;
  height: 3px;
  background: linear-gradient(90deg, 
    rgba(59, 130, 246, 0) 0%,
    rgba(59, 130, 246, 0.6) 50%,
    rgba(59, 130, 246, 0) 100%
  );
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0;
  animation: connectionAppear 0.8s ease forwards;
}

.workflow-connection:nth-child(5) { left: 15%; width: 18%; animation-delay: 0.4s; }
.workflow-connection:nth-child(6) { left: 36%; width: 18%; animation-delay: 0.8s; }
.workflow-connection:nth-child(7) { left: 57%; width: 18%; animation-delay: 1.2s; }

@keyframes connectionAppear {
  to { opacity: 1; }
}

/* Data Packet Animation */
.data-packet {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #3B82F6;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: packetFlow 4s ease-in-out infinite;
}

.data-packet:nth-child(2) { animation-delay: 1s; }
.data-packet:nth-child(3) { animation-delay: 2s; }

@keyframes packetFlow {
  0% { left: 15%; opacity: 0; }
  10% { opacity: 1; }
  33% { left: 36%; }
  66% { left: 57%; }
  90% { opacity: 1; }
  100% { left: 78%; opacity: 0; }
}

/* Info Cards */
.demo-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.demo-info-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.demo-info-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.demo-info-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-info-card p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* CTA Button */
.demo-cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.demo-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #FF6B4A 0%, #FF8566 100%);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 74, 0.3);
}

.demo-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 107, 74, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
  .workflow-steps {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    height: auto;
  }
  
  .workflow-connection,
  .data-packet {
    display: none;
  }
  
  .demo-modal-container {
    padding: 2rem 1.5rem;
  }
  
  .demo-modal-header h2 {
    font-size: 1.875rem;
  }
}

  /* Modal Overlay */
  .demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
  }
  
  .demo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: modalFadeIn 0.4s ease;
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* Modal Container */
  .demo-modal-container {
    position: relative;
    width: 95%;
    max-width: 1200px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    padding: 3rem;
    margin: 2rem;
    animation: modalSlideUp 0.5s ease;
  }
  
  @keyframes modalSlideUp {
    from {
      transform: translateY(50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Bouton Fermeture */
  .demo-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 107, 74, 0.1);
    border: 1px solid rgba(255, 107, 74, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .demo-close-btn:hover {
    background: rgba(255, 107, 74, 0.2);
    border-color: rgba(255, 107, 74, 0.5);
    transform: rotate(90deg);
  }
  
  .demo-close-btn svg {
    width: 24px;
    height: 24px;
    stroke: #FF6B4A;
  }
  
  /* Header Modal */
  .demo-modal-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .demo-modal-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B4A 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
  }
  
  .demo-modal-header p {
    font-size: 1.125rem;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Workflow Animation Container */
  .workflow-animation {
    position: relative;
    width: 100%;
    height: 400px;
    background: rgba(10, 13, 26, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
  }
  
  /* Workflow Steps */
  .workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 2rem;
    position: relative;
  }
  
  /* Step Node */
  .workflow-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: scale(0.8);
    animation: stepAppear 0.6s ease forwards;
    z-index: 2;
  }
  
  .workflow-step:nth-child(1) { animation-delay: 0.2s; }
  .workflow-step:nth-child(2) { animation-delay: 0.6s; }
  .workflow-step:nth-child(3) { animation-delay: 1.0s; }
  .workflow-step:nth-child(4) { animation-delay: 1.4s; }
  
  @keyframes stepAppear {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  .workflow-step-node {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
      0 10px 30px rgba(59, 130, 246, 0.3),
      0 0 60px rgba(139, 92, 246, 0.2);
    position: relative;
    transition: all 0.4s ease;
    animation: nodePulse 3s ease-in-out infinite;
  }
  
  .workflow-step:nth-child(1) .workflow-step-node {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  }
  
  .workflow-step:nth-child(2) .workflow-step-node {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  }
  
  .workflow-step:nth-child(3) .workflow-step-node {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
  }
  
  .workflow-step:nth-child(4) .workflow-step-node {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  }
  
  @keyframes nodePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  
  .workflow-step-node svg {
    width: 48px;
    height: 48px;
    stroke: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  }
  
  .workflow-step-label {
    text-align: center;
    max-width: 140px;
  }
  
  .workflow-step-label h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 0.25rem;
  }
  
  .workflow-step-label p {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.4;
  }
  
  /* Connexions animées */
  .workflow-connection {
    position: absolute;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, 
      rgba(59, 130, 246, 0) 0%,
      rgba(59, 130, 246, 0.6) 50%,
      rgba(59, 130, 246, 0) 100%
    );
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0;
    animation: connectionAppear 0.8s ease forwards;
  }
  
  .workflow-connection:nth-child(5) { 
    left: 15%;
    width: 18%;
    animation-delay: 0.4s;
  }
  
  .workflow-connection:nth-child(6) { 
    left: 36%;
    width: 18%;
    animation-delay: 0.8s;
  }
  
  .workflow-connection:nth-child(7) { 
    left: 57%;
    width: 18%;
    animation-delay: 1.2s;
  }
  
  @keyframes connectionAppear {
    to { opacity: 1; }
  }
  
  /* Data Packet Animation */
  .data-packet {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #3B82F6;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    top: 50%;
    left: 15%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: packetFlow 4s ease-in-out infinite;
  }
  
  .data-packet:nth-child(2) {
    animation-delay: 1s;
  }
  
  .data-packet:nth-child(3) {
    animation-delay: 2s;
  }
  
  @keyframes packetFlow {
    0% {
      left: 15%;
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    33% {
      left: 36%;
    }
    66% {
      left: 57%;
    }
    90% {
      opacity: 1;
    }
    100% {
      left: 78%;
      opacity: 0;
    }
  }
  
  /* Info Cards */
  .demo-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .demo-info-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
  }
  
  .demo-info-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
  }
  
  .demo-info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .demo-info-card p {
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.6;
  }
  
  /* CTA Button */
  .demo-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
  }
  
  .demo-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FF6B4A 0%, #FF8566 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 74, 0.3);
  }
  
  .demo-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 74, 0.4);
  }
  
  /* Responsive */
  @media (max-width: 968px) {
    .workflow-steps {
      flex-direction: column;
      gap: 2rem;
      padding: 2rem 1rem;
      height: auto;
    }
    
    .workflow-connection {
      display: none;
    }
    
    .data-packet {
      display: none;
    }
    
    .demo-modal-container {
      padding: 2rem 1.5rem;
    }
    
    .demo-modal-header h2 {
      font-size: 1.875rem;
    }
  }
/* ================================
   NEW STYLES: ROI Calculator (cleaned from inline)
   ================================ */
.roi-calculator-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.roi-input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.75rem;
}

.roi-input-wrapper {
  position: relative;
}

.roi-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  opacity: 0.5;
}

.roi-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(10, 13, 26, 0.6);
  border: 1.5px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  color: #F1F5F9;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.roi-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.roi-input-hint {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.5rem;
  font-style: italic;
}

.roi-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.result-card {
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.result-card-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.result-label {
  font-size: 0.875rem;
  color: #94A3B8;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.result-value-primary { color: #FF6B4A; }
.result-value-success { color: #10B981; }

.result-unit {
  font-size: 1rem;
  opacity: 0.7;
}

.result-description {
  font-size: 0.875rem;
  color: #64748B;
}

.roi-cta-box {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 16px;
  border: 1px dashed rgba(255, 107, 74, 0.3);
}

.roi-cta-text {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #E2E8F0;
}

.roi-reassurance {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.roi-reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94A3B8;
}

.roi-disclaimer {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 1.5rem;
  font-style: italic;
}

/* ================================
   PRICING LAUNCH BANNER (honnête)
   ================================ */
.pricing-launch-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  box-shadow: 0 20px 60px rgba(255, 107, 74, 0.2);
}

.pricing-launch-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.pricing-launch-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

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

.pricing-launch-perk {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}

.pricing-launch-perk strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: white;
}

.pricing-launch-perk p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-launch-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.pricing-launch-cta {
  background: white !important;
  color: var(--primary) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-monthly-cost {
  background: rgba(139, 92, 246, 0.1);
  padding: 0.75rem;
  border-radius: 8px;
  margin: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #94A3B8;
}

.pricing-payment-option {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ================================
   GUARANTEE BOX
   ================================ */
.guarantee-box {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
}

.guarantee-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.guarantee-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.guarantee-text {
  font-weight: 600;
  color: #CBD5E1;
}

/* ================================
   USE CASES (replaces fake testimonials)
   ================================ */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.use-case-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.use-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.use-case-industry {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
}

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

.use-case-problem,
.use-case-solution {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.use-case-problem strong { color: #EF4444; }
.use-case-solution strong { color: #10B981; }

.use-case-metrics {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.use-case-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.use-case-metric-value {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.use-case-metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-content {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
}

.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.about-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.about-tagline {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 2rem;
}

.about-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: left;
}

.about-stack {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

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

.about-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tech-tag {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--secondary);
}

/* ================================
   HAMBURGER MENU
   ================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 13, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .pricing-launch-perks {
    grid-template-columns: 1fr;
  }

  .roi-inputs-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-items {
    gap: 1.5rem;
  }
}

/* ================================
   SVG ICON UTILITY
   ================================ */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svg-icon svg {
  width: 100%;
  height: 100%;
}

.svg-icon-md {
  width: 20px;
  height: 20px;
}
/* FAQ Styles */
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 15px; overflow: hidden; }
.faq-btn { width: 100%; padding: 20px; background: none; border: none; color: white; text-align: left; font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.faq-panel { max-height: 0; padding: 0 20px; transition: 0.3s ease-out; color: var(--text-secondary); background: rgba(0,0,0,0.2); }
.faq-item.active .faq-panel { max-height: 200px; padding: 15px 20px; }
.faq-item.active .faq-btn span { transform: rotate(45deg); color: var(--primary); }

/* ================================
   CHATBOT WIDGET - VERSION COMPLÈTE RESPONSIVE
   ================================ */

/* Container principal */
.wa-bot-container { 
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  z-index: 9999; 
  font-family: 'Inter', sans-serif; 
}

/* Bouton launcher WhatsApp */
.wa-launcher { 
  width: 60px; 
  height: 60px; 
  background: #25D366; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); 
  position: relative;
  transition: transform 0.2s ease;
}

.wa-launcher:hover { transform: scale(1.05); }
.wa-launcher:active { transform: scale(0.95); }
.wa-launcher img { width: 32px; height: 32px; }

/* Animation pulse du bouton */
.wa-pulse { 
  position: absolute; 
  width: 100%; 
  height: 100%; 
  border-radius: 50%; 
  background: #25D366; 
  animation: pulseChatbot 2s infinite; 
  opacity: 0.5; 
  z-index: -1; 
}

@keyframes pulseChatbot { 
  0% { transform: scale(1); opacity: 0.5; } 
  100% { transform: scale(1.6); opacity: 0; } 
}

/* Fenêtre de chat - DESKTOP */
.wa-window { 
  position: absolute; 
  bottom: 80px; 
  right: 0; 
  width: 380px; 
  height: 550px; 
  background: #0B141A; 
  border-radius: 20px; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  display: none; 
  flex-direction: column; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  overflow: hidden;
}

.wa-window.active { 
  display: flex; 
  animation: slideUpChat 0.3s ease; 
}

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

/* Header du chat */
.wa-header { 
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%); 
  padding: 16px; 
  display: flex; 
  gap: 12px; 
  align-items: center;
  color: white;
  flex-shrink: 0;
}

.wa-avatar-status {
  position: relative;
  flex-shrink: 0;
}

.wa-avatar { 
  width: 42px; 
  height: 42px; 
  background: #FF6B4A; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 700;
  font-size: 18px;
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10B981;
  border: 2px solid #075E54;
  border-radius: 50%;
}

.wa-header-text {
  flex: 1;
  min-width: 0;
}

.wa-header-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.wa-header-text small {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}

/* Zone des messages */
.wa-messages { 
  flex: 1; 
  padding: 16px; 
  overflow-y: auto; 
  overflow-x: hidden;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); 
  background-size: 400px;
  background-opacity: 0.05; 
  display: flex; 
  flex-direction: column; 
  gap: 12px;
  scroll-behavior: smooth;
}

/* Scrollbar personnalisée */
.wa-messages::-webkit-scrollbar {
  width: 6px;
}

.wa-messages::-webkit-scrollbar-track {
  background: transparent;
}

.wa-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.wa-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Messages */
.m-bot, .m-user { 
  padding: 10px 14px; 
  border-radius: 12px; 
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
  word-wrap: break-word;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.m-bot { 
  background: #202C33; 
  color: #E9EDEF; 
  align-self: flex-start;
  border-radius: 12px 12px 12px 2px;
}

.m-user { 
  background: #005C4B; 
  color: white; 
  align-self: flex-end;
  border-radius: 12px 12px 2px 12px;
}

/* Animation typing indicator */
.m-bot.typing {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  width: fit-content;
}

.m-bot.typing span {
  width: 8px;
  height: 8px;
  background: #8696A0;
  border-radius: 50%;
  animation: bounceDot 1.4s infinite ease-in-out;
}

.m-bot.typing span:nth-child(1) { animation-delay: -0.32s; }
.m-bot.typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounceDot {
  0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* Zone d'input */
.wa-input-area { 
  padding: 12px 16px; 
  background: #111B21; 
  display: flex; 
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-input-area input { 
  flex: 1; 
  background: #2A3942; 
  border: none; 
  padding: 11px 14px; 
  border-radius: 22px; 
  color: #E9EDEF; 
  outline: none;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.wa-input-area input::placeholder {
  color: #8696A0;
}

.wa-input-area input:focus {
  background: #323C44;
}

.wa-input-area button {
  width: 42px;
  height: 42px;
  background: #00A884;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.wa-input-area button:hover {
  background: #06CF9C;
}

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

.wa-input-area button:disabled {
  background: #2A3942;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Focus visible pour accessibilité */
.wa-launcher:focus-visible,
.wa-input-area button:focus-visible {
  outline: 2px solid #00A884;
  outline-offset: 2px;
}

/* ================================
   RESPONSIVE - MOBILE
   ================================ */

@media (max-width: 768px) {
  /* Container sur mobile */
  .wa-bot-container { 
    bottom: 15px; 
    right: 15px; 
  }

  /* Bouton launcher plus petit sur mobile */
  .wa-launcher { 
    width: 56px; 
    height: 56px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  .wa-launcher img {
    width: 28px;
    height: 28px;
  }

  /* Fenêtre en plein écran avec height: 100dvh pour gérer le clavier */
  .wa-window { 
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100dvh !important; /* Dynamic Viewport Height (s'adapte au clavier) */
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    display: none;
    flex-direction: column;
  }

  .wa-window.active {
    display: flex !important;
  }

  /* Header sticky toujours visible en haut */
  .wa-header { 
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 16px;
    padding-top: max(14px, env(safe-area-inset-top));
    flex-shrink: 0; /* Ne rétrécit jamais */
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  }

  .wa-avatar { 
    width: 38px; 
    height: 38px;
    font-size: 16px;
  }

  .wa-header-text strong {
    font-size: 16px;
  }

  .wa-header-text small {
    font-size: 13px;
  }

  /* Messages mobile avec scroll */
  .wa-messages { 
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    padding-bottom: 80px; /* Espace pour que dernier message visible */
  }

  .m-bot, .m-user { 
    max-width: 90%;
    font-size: 15px;
  }

  /* Input area sticky en bas */
  .wa-input-area { 
    position: sticky;
    bottom: 0;
    z-index: 100;
    padding: 10px 12px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: #111B21;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0; /* Ne rétrécit jamais */
  }

  .wa-input-area input { 
    font-size: 16px !important; /* Évite le zoom sur iOS */
    padding: 10px 14px;
  }

  .wa-input-area button {
    width: 40px;
    height: 40px;
  }

  /* Bouton X toujours visible même avec clavier */
  .wa-window::after {
    content: '×';
    position: fixed !important; /* Fixed pour rester visible */
    top: max(12px, env(safe-area-inset-top)) !important;
    right: 12px !important;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 32px;
    text-align: center;
    color: white;
    cursor: pointer;
    z-index: 101 !important; /* Au-dessus du header */
    font-weight: 300;
  }
}

/* Fallback pour navigateurs qui ne supportent pas dvh */
@supports not (height: 100dvh) {
  @media (max-width: 768px) {
    .wa-window {
      height: 100vh !important;
      max-height: 100vh !important;
    }
  }
}

/* ================================
   RESPONSIVE - PETITS MOBILES
   ================================ */

@media (max-width: 380px) {
  .wa-launcher { 
    width: 52px; 
    height: 52px;
  }

  .wa-launcher img {
    width: 26px;
    height: 26px;
  }

  .m-bot, .m-user { 
    font-size: 14px;
    padding: 9px 12px;
  }

  .wa-header { 
    padding: 12px 14px;
    padding-top: max(12px, env(safe-area-inset-top));
  }
}

/* ================================
   RESPONSIVE - TABLETTES
   ================================ */

@media (min-width: 769px) and (max-width: 1024px) {
  .wa-window { 
    width: 400px; 
    height: 600px; 
  }
}
