/* Base body fix pour éviter la barre blanche */
  * {
    box-sizing: border-box;
  }

  html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  body {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  #bodyaccueil {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Wrapper pour tout le contenu sauf le footer */
  .hero,
  .social-proof,
  .problems-section,
  .features,
  .pricing,
  .newsletter,
  .blog,
  .contact {
    flex: 0 0 auto;
    width: 100%;
    overflow-x: hidden;
  }

  footer {
    margin-top: auto !important;
    flex-shrink: 0;
    width: 100%;
  }

  /* Nouveaux styles pour hero moderne */
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 2px solid #e9ecef;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: fadeInDown 0.6s ease;
  }

  .badge-icon {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
  }

  .hero h1 .gradient-text {
    background: linear-gradient(135deg, #0056d2 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .trust-item i {
    color: #10b981;
    font-size: 1.2rem;
  }

  /* Section Problèmes */
  .problems-section {
    padding: 6rem 1rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  }

  .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0056d2 0%, #7C3AED 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
  }

  .section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .problem-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
  }

  .problem-card:hover {
    border-color: #0056d2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 86, 210, 0.15);
  }

  .problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .problem-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
  }

  .problem-card p {
    color: #64748b;
    line-height: 1.7;
  }

  .solution-cta {
    text-align: center;
    background: linear-gradient(135deg, #0056d2 0%, #7C3AED 100%);
    padding: 3rem 2rem;
    border-radius: 24px;
    color: white;
    max-width: 800px;
    margin: 0 auto;
  }

  .solution-cta h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
  }

  .solution-cta .btn-main {
    background: white;
    color: #0056d2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .solution-cta .btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  }

  /* Section Social Proof */
  .social-proof {
    padding: 4rem 1rem;
    background: white;
    border-bottom: 1px solid #e9ecef;
  }

  .social-proof-text {
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 2rem;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }

  .stat-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
  }

  .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 86, 210, 0.1);
  }

  .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0056d2;
    margin-bottom: 0.5rem;
  }

  .stat-label {
    color: #64748b;
    font-size: 0.875rem;
  }

  /* Pricing Section Styles */
  .pricing {
    padding: 6rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    width: 100%;
    overflow-x: hidden;
    position: relative;
  }

  .pricing .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }

  .pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 1rem;
  }

  .pricing > .container > p {
    text-align: center;
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 4rem;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto 3rem;
  }

  .pricing-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .pricing-card:hover {
    border-color: #0056d2;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 210, 0.15);
  }

  /* Carte Gratuite */
  .pricing-card.free {
    border-color: #10b981;
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 30%, white 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
  }

  .pricing-card.free:hover {
    border-color: #059669;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.25);
  }

  .pricing-card.free .badge.free-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6); }
  }

  /* Désactiver l'animation pulse sur mobile */
  @media (max-width: 768px) {
    .pricing-card.free .badge.free-badge {
      animation: none !important;
    }
  }

  /* Carte Featured */
  .pricing-card.featured {
    border-color: #0056d2;
    border-width: 3px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 30%, white 100%);
    box-shadow: 0 10px 30px rgba(0, 86, 210, 0.2);
    transform: scale(1.05);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.07);
    box-shadow: 0 25px 50px rgba(0, 86, 210, 0.3);
  }

  .pricing-card .badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .pricing-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .pricing-card .price {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
  }

  .pricing-card .price .amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0056d2;
    display: inline-block;
  }

  .pricing-card .price .period {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 600;
  }

  .pricing-card .price-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
  }

  .pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
  }

  .pricing-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #475569;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .pricing-card ul li:before {
    content: "✓";
    color: #10b981;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
  }

  .pricing-card ul li strong {
    color: #1a202c;
    font-weight: 700;
  }

  .pricing-card ul li.feature-highlight {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1.75rem;
    font-weight: 700;
    color: #92400E;
  }

  .pricing-card ul li.feature-highlight:before {
    color: #F59E0B;
  }

  /* Fonctionnalités désactivées (freemium) */
  .pricing-card ul li.disabled {
    color: #94a3b8;
    opacity: 0.6;
  }

  .pricing-card ul li.disabled:before {
    content: "";
    display: none;
  }

  .pricing-card ul li.disabled i {
    color: #cbd5e1;
    font-size: 0.9rem;
  }

  /* Badge de limite */
  .limit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    color: #78350F;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-right: 0.3rem;
    min-width: 1.5rem;
  }

  .btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    background: #f8f9fa;
    color: #1a202c;
    padding: 1.1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .btn-pricing:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .btn-pricing.free-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    font-size: 1.05rem;
  }

  .btn-pricing.free-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    transform: translateY(-3px) scale(1.02);
  }

  .btn-pricing.popular {
    background: linear-gradient(135deg, #0056d2 0%, #003d99 100%);
    color: white;
    border-color: #0056d2;
    box-shadow: 0 6px 20px rgba(0, 86, 210, 0.4);
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
  }

  .btn-pricing.popular::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }

  .btn-pricing.popular:hover::before {
    width: 300px;
    height: 300px;
  }

  .btn-pricing.popular:hover {
    background: linear-gradient(135deg, #003d99 0%, #002966 100%);
    box-shadow: 0 10px 30px rgba(0, 86, 210, 0.5);
    transform: translateY(-3px) scale(1.02);
  }

  .pricing-note {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 2rem;
    font-weight: 500;
  }

  .pricing-note i {
    color: #10b981;
    margin-right: 0.5rem;
  }

  /* Responsive */
  @media (max-width: 768px) {
    html, body {
      overflow-x: hidden !important;
      width: 100% !important;
    }

    /* DÉSACTIVER TOUTES LES ANIMATIONS SUR MOBILE POUR PERFORMANCE */
    *,
    *::before,
    *::after {
      animation-duration: 0s !important;
      animation-delay: 0s !important;
      transition-duration: 0s !important;
    }

    /* Forcer l'affichage immédiat des éléments */
    [data-animate] {
      opacity: 1 !important;
      transform: none !important;
    }

    .pricing-card {
      opacity: 1 !important;
      transform: none !important;
    }

    .hero h1 {
      font-size: 2.5rem;
    }

    .hero-trust {
      gap: 1rem;
    }

    .section-header-center h2 {
      font-size: 2rem;
    }

    .problems-grid {
      grid-template-columns: 1fr;
    }

    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    /* Fix pour la section pricing */
    .pricing {
      overflow-x: hidden !important;
      padding: 4rem 0 !important;
      width: 100% !important;
    }

    .pricing .container {
      width: 100% !important;
      padding: 0 1rem !important;
      max-width: 100% !important;
    }

    .pricing h2 {
      font-size: 1.8rem !important;
      padding: 0 0.5rem !important;
    }

    .pricing > .container > p {
      font-size: 1rem !important;
      padding: 0 0.5rem !important;
    }

    .pricing-grid {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    .pricing-card {
      padding: 1.5rem !important;
      margin: 0 0 2rem 0 !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    .pricing-card.featured {
      transform: scale(1) !important;
    }

    .pricing-card.featured:hover {
      transform: translateY(-5px) scale(1) !important;
    }

    .pricing-card .price .amount {
      font-size: 2.5rem !important;
    }

    .pricing-card .badge {
      top: -12px;
      right: 15px;
      padding: 0.5rem 1rem;
      font-size: 0.75rem;
    }

    .pricing-card ul {
      padding: 0 !important;
    }

    .pricing-card ul li {
      font-size: 0.9rem !important;
    }

    .pricing-card ul li.feature-highlight {
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding-left: 1rem !important;
    }

    .limit-badge {
      font-size: 0.7rem;
      padding: 0.15rem 0.5rem;
    }

    .pricing-note {
      padding: 0 1rem !important;
    }
  }

/* New Trust Elements */
.hero-trust-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.trust-avatars {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.avatar-stack {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -15px;
  object-fit: cover;
}

.avatar-stack:first-child {
  margin-left: 0;
}

.trust-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1.3;
}

.stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Mobile adjustments for new elements */
@media (max-width: 768px) {
  .hero-trust {
    justify-content: center;
  }
  
  .hero-trust-text {
    text-align: center;
  }
}
