/* ============================================================
   BIZME.FR — StyleHP v3.0 — Design System 2026
   Nova COO — Mars 2026
   ============================================================ */

/* ── Variables ── */
:root {
  --bz-primary:   #4A3AFF;
  --bz-primary-d: #3528e0;
  --bz-primary-l: #7B5FFF;
  --bz-accent:    #06b6d4;
  --bz-dark:      #0f0e1a;
  --bz-dark-2:    #1a1830;
  --bz-gray:      #6b7280;
  --bz-gray-l:    #f4f4f8;
  --bz-white:     #ffffff;
  --bz-radius:    16px;
  --bz-radius-sm: 10px;
  --bz-radius-lg: 24px;
  --bz-shadow:    0 4px 24px rgba(74,58,255,.10);
  --bz-shadow-lg: 0 12px 48px rgba(74,58,255,.18);
  --bz-grad:      linear-gradient(135deg, var(--bz-primary), var(--bz-primary-l));
  --bz-grad-dark: linear-gradient(135deg, #0f0e1a 0%, #1e1a40 100%);
  --bz-transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #1f1f2e;
  background: var(--bz-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Gradient Text ── */
.bizme-gradient-text {
  background: var(--bz-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  padding: 0 0;
  height: 68px;
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74,58,255,.08);
  transition: var(--bz-transition);
  z-index: 1050;
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(74,58,255,.12);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.navbar .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
  padding: .4rem .9rem;
  border-radius: 8px;
  transition: var(--bz-transition);
}

.navbar .nav-link:hover {
  color: var(--bz-primary);
  background: rgba(74,58,255,.06);
}

.btn {
  font-weight: 700;
  border-radius: 50px;
  transition: var(--bz-transition);
}

.btn-primary {
  background: var(--bz-grad);
  border: none;
  box-shadow: 0 4px 20px rgba(74,58,255,.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--bz-primary-d), var(--bz-primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,58,255,.45);
}

.btn-outline-primary {
  color: var(--bz-primary);
  border: 2px solid var(--bz-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--bz-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,58,255,.3);
}

.btn-lg { padding: .75rem 2rem; font-size: 1rem; }
.btn-sm { padding: .4rem 1rem; font-size: .85rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: var(--bz-grad-dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(74,58,255,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(123,95,255,.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-section .lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
}

/* Fade-in animations */
.fade-in          { animation: fadeInUp .7s ease both; }
.fade-in-delay    { animation: fadeInUp .7s .15s ease both; }
.fade-in-delay-2  { animation: fadeInUp .7s .3s ease both; }

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

/* Profile selector cards */
.profile-selector { display: flex; flex-direction: column; gap: 14px; }

.profile-card-choice {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--bz-radius);
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--bz-transition);
  backdrop-filter: blur(12px);
  color: white;
}

.profile-card-choice:hover {
  background: rgba(74,58,255,.25);
  border-color: rgba(74,58,255,.6);
  transform: translateX(8px);
  box-shadow: 0 8px 32px rgba(74,58,255,.25);
}

.profile-card-enterprise {
  background: rgba(74,58,255,.12);
  border-color: rgba(74,58,255,.35);
}

.profile-choice-icon { font-size: 2rem; flex-shrink: 0; }
.profile-choice-title { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.profile-choice-title strong { color: #c4b5fd; }
.profile-card-enterprise .profile-choice-title strong { color: #67e8f9; }
.profile-choice-sub { font-size: 0.82rem; color: rgba(255,255,255,.6); }
.profile-choice-arrow { margin-left: auto; color: rgba(255,255,255,.35); flex-shrink: 0; transition: var(--bz-transition); }
.profile-card-choice:hover .profile-choice-arrow { color: #fff; transform: translateX(5px); }

/* Hero float cards */
.hero-visual-placeholder { position: relative; height: 360px; width: 100%; }

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--bz-radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card--2 { top: 38%; right: 4%; animation-delay: 1.8s; }
.hero-float-card--3 { bottom: 6%; left: 8%; animation-delay: 3.5s; }

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

.hfc-icon { font-size: 1.6rem; }
.hfc-text strong { font-size: 0.95rem; display: block; }
.hfc-text small { opacity: .65; font-size: .78rem; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--bz-white);
  padding: 80px 0;
}

.stats-section h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.counter-card {
  text-align: center;
  border-radius: var(--bz-radius-lg);
  padding: 40px 32px;
  background: var(--bz-white);
  border: 2px solid #ede9fe;
  box-shadow: var(--bz-shadow);
  transition: var(--bz-transition);
}

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

.counter-card .display-4 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar-section {
  background: var(--bz-gray-l);
  padding: 32px 0;
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.trust-bar-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--bz-gray);
  margin-bottom: 16px;
}

.trust-logos-track { overflow: hidden; }

.trust-logos-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: scrollTrust 28s linear infinite;
  width: max-content;
}

@keyframes scrollTrust {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-logos-track:hover .trust-logos-inner { animation-play-state: paused; }

.trust-logo {
  font-weight: 800;
  font-size: .9rem;
  color: #9ca3af;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: color .2s;
  flex-shrink: 0;
}

.trust-logo:hover { color: var(--bz-primary); }
.trust-bar-more { text-align: center; margin-top: 16px; font-size: .82rem; color: var(--bz-gray); }

/* ============================================================
   SECTIONS GÉNÉRALES — Cards
   ============================================================ */
.bizme-card {
  background: var(--bz-white);
  border-radius: var(--bz-radius-lg);
  padding: 36px 32px;
  border: 1.5px solid #ede9fe;
  box-shadow: var(--bz-shadow);
  transition: var(--bz-transition);
  position: relative;
  overflow: hidden;
}

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

/* ============================================================
   ENTERPRISE SECTION
   ============================================================ */
.enterprise-highlight-section {
  background: linear-gradient(180deg, #f8f7ff 0%, #fff 100%);
  padding: 96px 0;
}

.enterprise-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(74,58,255,.1);
  color: var(--bz-primary);
  border: 1.5px solid rgba(74,58,255,.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.enterprise-features-list { display: flex; flex-direction: column; gap: 14px; }

.ent-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(74,58,255,.04);
  border-radius: var(--bz-radius-sm);
  border: 1px solid rgba(74,58,255,.1);
  font-size: .95rem;
  color: #374151;
  transition: var(--bz-transition);
}

.ent-feature-item:hover {
  background: rgba(74,58,255,.08);
  border-color: rgba(74,58,255,.2);
}

.ent-icon { color: var(--bz-primary); font-size: 1.1rem; flex-shrink: 0; width: 22px; }

.enterprise-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ent-stat-card {
  background: var(--bz-white);
  border-radius: var(--bz-radius);
  padding: 28px 20px;
  border: 2px solid #e5e7eb;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: var(--bz-transition);
}

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

.ent-stat-accent {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border-color: #c4b5fd;
}

.ent-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--bz-primary);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.ent-stat-label {
  font-size: .78rem;
  color: var(--bz-gray);
  line-height: 1.4;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section { padding: 96px 0; background: var(--bz-white); }

.feature-card {
  text-align: left;
  padding: 40px 32px;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bz-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(74,58,255,.12), rgba(123,95,255,.08));
  border-radius: var(--bz-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--bz-transition);
  border: 1.5px solid rgba(74,58,255,.15);
}

.feature-card:hover .feature-icon {
  background: var(--bz-grad);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(74,58,255,.35);
}

.feature-icon i {
  font-size: 1.4rem;
  color: var(--bz-primary);
  transition: color .25s;
}

.feature-card:hover .feature-icon i { color: #fff; }

.feature-card h4 { font-size: 1.15rem; font-weight: 800; color: #1f1f2e; letter-spacing: -.01em; }
.feature-card p { font-size: .92rem; color: var(--bz-gray); line-height: 1.65; }

/* ============================================================
   ALTERNATING CONTENT SECTIONS (IA, Contracts, Metamoteur)
   ============================================================ */
.section-alt { padding: 96px 0; }
.section-alt.bg-light { background: var(--bz-gray-l) !important; }

.section-alt h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.feature-icon-small {
  width: 38px;
  height: 38px;
  background: var(--bz-grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(74,58,255,.35);
}

.feature-icon-small i { color: #fff; font-size: .9rem; }

.float-animation {
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(.5deg); }
  66%       { transform: translateY(-5px) rotate(-.5deg); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  padding: 36px 32px;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  bottom: 20px;
  right: 28px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(74,58,255,.07);
  font-family: Georgia, serif;
  font-weight: 900;
}

.testimonial-card .fw-bold { color: #1f1f2e; font-size: 1rem; }
.testimonial-card .text-muted { font-size: .92rem; line-height: 1.65; font-style: italic; }

.text-warning { color: #f59e0b !important; }
.text-warning .fas { font-size: .85rem; }

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section { padding: 96px 0; background: var(--bz-gray-l) !important; }

.pricing-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.pricing-card h4 {
  font-weight: 800;
  font-size: 1.2rem;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.pricing-card .display-4 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-card hr {
  border-color: #e5e7eb;
  margin: 20px 0;
  opacity: 1;
}

.pricing-card ul li {
  font-size: .92rem;
  padding: 8px 0;
  border-bottom: 1px dashed #f0f0f5;
  color: #374151;
}

.pricing-card ul li:last-child { border-bottom: none; }

.pricing-card .btn { margin-top: 8px; padding: .8rem 1.5rem; width: 100%; }

/* Featured (Populaire) */
.pricing-card.featured {
  background: var(--bz-grad-dark);
  border-color: var(--bz-primary);
  box-shadow: 0 20px 60px rgba(74,58,255,.35);
  transform: scale(1.04);
}

.pricing-card.featured:hover { transform: scale(1.06) translateY(-4px); }

.pricing-card.featured h4 { color: rgba(255,255,255,.7); }
.pricing-card.featured .display-4 { color: #fff; -webkit-text-fill-color: #fff; }
.pricing-card.featured ul li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.1); }
.pricing-card.featured hr { border-color: rgba(255,255,255,.15); }

.pricing-card.featured .badge {
  background: var(--bz-primary-l) !important;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  top: -14px !important;
  border-radius: 50px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bz-grad-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(74,58,255,.3) 0%, transparent 70%),
    radial-gradient(ellipse 35% 50% at 15% 60%, rgba(6,182,212,.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
}

.cta-section .lead { color: rgba(255,255,255,.65); font-size: 1.1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.styleFooter {
  background: var(--bz-dark) !important;
  padding: 24px !important;
  border-top: 1px solid rgba(255,255,255,.08);
}

.styleFooter a {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .2s;
}

.styleFooter a:hover { color: rgba(255,255,255,.9); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   UTILITY
   ============================================================ */
.rounded-4 { border-radius: var(--bz-radius) !important; }
.rounded-5 { border-radius: var(--bz-radius-lg) !important; }

section h2 {
  font-weight: 800;
  letter-spacing: -.02em;
}

section .lead {
  font-size: 1.05rem;
  color: var(--bz-gray);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   METAMOTEUR CARD
   ============================================================ */
.metamoteur-demo-card {
  background: var(--bz-white);
  border-radius: var(--bz-radius-lg);
  padding: 36px 32px;
  border: 2px solid #ede9fe;
  box-shadow: var(--bz-shadow-lg);
  position: relative;
  overflow: hidden;
}

.metamoteur-demo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bz-grad);
}

.meta-source-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bz-gray-l);
  border-radius: var(--bz-radius-sm);
  border: 1px solid #e5e7eb;
  margin-bottom: 10px;
  transition: var(--bz-transition);
}

.meta-source-row:hover {
  border-color: var(--bz-primary);
  background: rgba(74,58,255,.04);
}

.meta-source-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}

.meta-source-name { font-weight: 600; font-size: .9rem; color: #374151; flex: 1; }
.meta-source-count { font-size: .8rem; font-weight: 700; color: var(--bz-gray); }

/* ============================================================
   ENTERPRISE SECURITY BADGE
   ============================================================ */
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #86efac;
  border-radius: 50px;
  font-size: .84rem;
  color: #166534;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-section { padding: 90px 0 60px; min-height: auto; }
  .hero-section h1 { font-size: 2rem; }
  .features-section,
  .enterprise-highlight-section,
  .pricing-section,
  .cta-section { padding: 64px 0; }
  .section-alt { padding: 64px 0; }
  .pricing-card.featured { transform: scale(1); }
}

@media (max-width: 767px) {
  .hero-section { padding: 80px 0 48px; }
  .hero-section h1 { font-size: 1.75rem; }
  .enterprise-stats-grid { grid-template-columns: 1fr 1fr; }
  .bizme-card { padding: 28px 22px; }
  .counter-card { padding: 28px 20px; }
  .pricing-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .enterprise-stats-grid { grid-template-columns: 1fr; }
  .hero-section h1 { font-size: 1.55rem; }
}
