/* ============================================================
   MIKSO — Design System v3
   Source : identité visuelle Canva (Spécifications fonctionnelles)

   Fond : midnight indigo #080D2A → gradient sombre
   Cards : glass bleu-violet rgba(48,42,108,.55) + glow streak cyan
   Vagues : mesh SVG en décoration de fond
   Typos : Circular Std (titres) / Avenir Next Arabic (textes)
            → Google Fonts : Nunito (titres) / DM Sans (corps)
   ============================================================ */

/* ---------- Fonts ---------- */
/*
  IMPORTANT : remplacer par les vraies polices MIKSO :
  — Circular Std   → titres (h1–h4)
  — Avenir Next Arabic → corps (body, p, li…)

  Avec les fichiers .woff2, utiliser :
  @font-face {
    font-family: 'Circular Std';
    src: url('../fonts/CircularStd-Black.woff2') format('woff2');
    font-weight: 900; font-style: normal;
  }
  @font-face {
    font-family: 'Circular Std';
    src: url('../fonts/CircularStd-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal;
  }
  @font-face {
    font-family: 'Avenir Next Arabic';
    src: url('../fonts/AvenirNextArabic-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal;
  }
  @font-face {
    font-family: 'Avenir Next Arabic';
    src: url('../fonts/AvenirNextArabic-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal;
  }
  Puis remplacer les font-family ci-dessous.
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---------- Variables ---------- */
:root {
  /* Fond midnight indigo */
  --void:      #04061A;
  --midnight:  #080D2A;
  --indigo:    #0D1540;
  --indigo-mid:#162060;
  --indigo-lt: #1E2D80;

  /* Cards glass */
  --glass:       rgba(48,42,108,0.55);
  --glass-hover: rgba(58,52,128,0.70);
  --glass-light: rgba(80,70,160,0.35);
  --glass-bd:    rgba(100,120,210,0.25);
  --glass-bd-hover: rgba(120,150,255,0.45);

  /* Glow streak bas des cards */
  --glow-line:  rgba(70,150,255,0.80);
  --glow-soft:  rgba(80,130,255,0.30);

  /* Accents */
  --cyan:   #4DD9F0;
  --blue:   #5B8FFF;
  --violet: #8B5CF6;
  --white:  #FFFFFF;
  --w80:    rgba(255,255,255,0.80);
  --w60:    rgba(255,255,255,0.60);
  --w40:    rgba(255,255,255,0.40);
  --w15:    rgba(255,255,255,0.15);
  --w08:    rgba(255,255,255,0.08);

  /* Typo */
  --font-title: 'Nunito', 'Circular Std', sans-serif;
  --font-body:  'DM Sans', 'Avenir Next Arabic', 'Avenir Next', sans-serif;

  /* Layout */
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w:     1160px;
  --ease:      .22s ease;

  /* Gradient bg principal */
  --bg-grad: linear-gradient(145deg, var(--indigo-lt) 0%, var(--indigo) 35%, var(--midnight) 70%, var(--void) 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: .01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; letter-spacing: .03em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: .04em; }
p  { color: var(--w80); line-height: 1.75; }

/* Lead */
.lead { font-size: 1.05rem; color: var(--w60); max-width: 580px; line-height: 1.8; }

/* Eyebrow */
.eyebrow {
  display: block;
  font-family: var(--font-title);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .65rem;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; position: relative; overflow: hidden; }
.section-intro { margin-bottom: 3.5rem; }

/* ---------- Background sections ---------- */
.bg-dark {
  background: var(--bg-grad);
}
.bg-mid {
  background: linear-gradient(160deg, var(--indigo-mid) 0%, var(--indigo) 60%, var(--midnight) 100%);
}
.bg-void {
  background: linear-gradient(160deg, var(--midnight) 0%, var(--void) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: 100px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: all var(--ease);
  border: none;
  white-space: nowrap;
}

/* CTA primaire : fond blanc, texte midnight */
.btn-cta {
  background: var(--white);
  color: var(--midnight);
}
.btn-cta:hover { background: var(--cyan); color: var(--midnight); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(77,217,240,.3); }

/* Secondaire glass */
.btn-outline {
  background: var(--w08);
  color: var(--white);
  border: 1.5px solid var(--w40);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: var(--w15); border-color: var(--white); transform: translateY(-2px); }

/* Accent cyan */
.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--midnight);
  font-weight: 900;
  box-shadow: 0 4px 20px rgba(77,217,240,.35);
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(77,217,240,.5); }

.btn-lg { padding: 1rem 2.5rem; font-size: .95rem; }
.btn-sm { padding: .55rem 1.25rem; font-size: .8rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1120px;
  z-index: 1000;
  background: rgba(8,13,42,.68);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(100,120,210,0.22);
  border-radius: 100px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
  background: rgba(8,13,42,.94);
  border-color: rgba(100,120,210,0.38);
  box-shadow: 0 8px 40px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.07);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 1rem 0 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.navbar-nav { display: flex; align-items: center; gap: .05rem; }
.navbar-nav a {
  font-family: var(--font-body);
  color: var(--w60);
  font-size: .85rem;
  font-weight: 500;
  padding: .42rem .8rem;
  border-radius: 100px;
  transition: all var(--ease);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--white); background: var(--w08); }
.navbar-actions { display: flex; gap: .75rem; align-items: center; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: .5rem; }
.burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--ease); }
.mob-menu {
  display: none;
  background: var(--void);
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--w08);
}
.mob-menu a { display: block; color: var(--w80); padding: .75rem 0; border-bottom: 1px solid var(--w08); font-weight: 500; }
.mob-actions { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.mob-actions .btn { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-grad);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-content { max-width: 660px; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* Hero badge pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--w08);
  border: 1px solid var(--w15);
  color: var(--w80);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.hero-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

/* ---------- Wave mesh décoration ---------- */
.wave-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.wave-bg svg { width: 100%; height: 100%; }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(90deg, rgba(77,217,240,.15) 0%, rgba(91,143,255,.2) 50%, rgba(139,92,246,.15) 100%);
  border-top: 1px solid rgba(77,217,240,.15);
  border-bottom: 1px solid rgba(77,217,240,.15);
  padding: 1.5rem 0;
}
.stats-inner { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-val {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
  letter-spacing: -.04em;
}
.stat-lbl {
  font-size: .72rem;
  font-weight: 500;
  color: var(--w60);
  margin-top: .3rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ---------- Glass card (style Canva) ---------- */
.gcard {
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--ease);
}
/* Glow streak en bas — signature du design */
.gcard::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-line), transparent);
  box-shadow: 0 0 12px var(--glow-soft), 0 0 4px var(--glow-line);
}
.gcard:hover {
  background: var(--glass-hover);
  border-color: var(--glass-bd-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}

/* ---------- Section number prefix (style docs) ---------- */
.section-num {
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: .6rem;
}

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-center { align-items: center; }
.grid-23 { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: start; }

/* ---------- Pricing cards ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: start; }
.pcard {
  background: var(--glass-light);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--ease);
}
.pcard::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-line), transparent);
  box-shadow: 0 0 10px var(--glow-soft);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.5); border-color: rgba(77,217,240,.35); }
.pcard.featured { border-color: rgba(77,217,240,.55); box-shadow: 0 0 0 1px rgba(77,217,240,.25), 0 0 30px rgba(77,217,240,.12); }
.pcard-head { padding: 1.75rem 1.5rem 1.25rem; border-bottom: 1px solid var(--glass-bd); }
.pcard.featured .pcard-head { background: linear-gradient(135deg, rgba(77,217,240,.15), rgba(91,143,255,.1)); }
.pcard-badge {
  background: var(--cyan);
  color: var(--midnight);
  font-family: var(--font-title);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  border-radius: 100px;
  margin-bottom: .75rem;
  display: inline-block;
}
.pcard-head h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.pcard-head .tagline { font-size: .8rem; color: var(--w60); }
.pcard-body { padding: 1.5rem; }
.pcard-feat { display: flex; align-items: flex-start; gap: .55rem; margin-bottom: .65rem; font-size: .87rem; color: var(--w80); }
.pcard-feat .ck { color: var(--cyan); font-weight: 900; flex-shrink: 0; }
.pcard-foot { padding: 1.25rem 1.5rem; border-top: 1px solid var(--glass-bd); }
.pcard-foot .btn { width: 100%; justify-content: center; }

/* ---------- Steps méthode ---------- */
.msteps { display: flex; gap: 0; position: relative; }
.msteps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,217,240,.5), rgba(91,143,255,.5), transparent);
}
.mstep { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 .75rem; }
.mstep-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--midnight);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0 auto 1.1rem;
  position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(77,217,240,.4);
}
.mstep h4 { font-size: .9rem; margin-bottom: .3rem; color: var(--white); }
.mstep p { font-size: .78rem; color: var(--w60); }

/* Vertical steps */
.vsteps { display: flex; flex-direction: column; }
.vstep { display: flex; gap: 1.5rem; align-items: flex-start; padding-bottom: 2.5rem; position: relative; }
.vstep::before {
  content: '';
  position: absolute;
  left: 21px; top: 52px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(77,217,240,.5), transparent);
}
.vstep:last-child::before { display: none; }
.vstep:last-child { padding-bottom: 0; }
.vstep-num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--midnight);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: .95rem; font-weight: 900;
  box-shadow: 0 4px 16px rgba(77,217,240,.35);
}
.vstep-body { padding-top: .4rem; }
.vstep-body h4 { margin-bottom: .4rem; color: var(--white); }
.vstep-body p { font-size: .92rem; color: var(--w60); }

/* ---------- Form ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-family: var(--font-title); font-size: .8rem; font-weight: 800; color: var(--w80); margin-bottom: .45rem; letter-spacing: .02em; }
.form-control {
  width: 100%;
  padding: .8rem 1.1rem;
  border: 1.5px solid var(--glass-bd);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--white);
  background: var(--glass-light);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-control::placeholder { color: var(--w40); }
.form-control:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(77,217,240,.12); }
select.form-control option { background: var(--indigo); color: var(--white); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ---------- Checklist ---------- */
.clist { display: flex; flex-direction: column; gap: .65rem; }
.clist li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; color: var(--w80); }
.clist li::before { content: '✓'; color: var(--cyan); font-weight: 900; flex-shrink: 0; }

/* Arrow list */
.alist { display: flex; flex-direction: column; gap: .65rem; }
.alist li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; color: var(--w80); }
.alist li::before { content: '›'; color: var(--cyan); font-size: 1.2rem; font-weight: 700; flex-shrink: 0; line-height: 1.4; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-grad);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(77,217,240,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: .75rem; }
.cta-band p { color: var(--w60); max-width: 480px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: var(--bg-grad);
  padding: 8.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero p { color: var(--w60); max-width: 540px; font-size: 1rem; margin-top: .75rem; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .76rem; color: var(--w40); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--w40); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--w20, rgba(255,255,255,.2)); }

/* ---------- Info box ---------- */
.info-box {
  background: rgba(77,217,240,.06);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
}
.info-box p { font-size: .88rem; color: var(--w80); margin: 0; }

/* ---------- Tag ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(77,217,240,.1);
  color: var(--cyan);
  font-family: var(--font-title);
  font-size: .72rem; font-weight: 800;
  padding: .25rem .7rem;
  border-radius: 100px;
  border: 1px solid rgba(77,217,240,.25);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--void);
  border-top: 1px solid var(--w08);
  padding: 4rem 0 1.75rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { margin-bottom: .75rem; }
.footer-logo .logo-img { height: 42px; }
.footer-brand p { font-size: .875rem; color: var(--w40); line-height: 1.75; }
.footer-col h5 { font-family: var(--font-title); color: var(--w60); font-size: .72rem; font-weight: 800; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-col a { display: block; font-size: .875rem; margin-bottom: .55rem; color: var(--w40); transition: color var(--ease); }
.footer-col a:hover { color: var(--cyan); }
.footer-col address { font-style: normal; font-size: .875rem; color: var(--w40); line-height: 1.9; }
.footer-col address a { display: inline; margin: 0; }
.footer-bottom { border-top: 1px solid var(--w08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--w40); flex-wrap: wrap; gap: .75rem; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { color: var(--w40); transition: color var(--ease); }
.footer-legal a:hover { color: var(--cyan); }

/* ---------- Mentions légales ---------- */
.legal-content h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--glass-bd); }
.legal-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-content h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.legal-content p { margin-bottom: 1rem; font-size: .93rem; color: var(--w80); }
.legal-content ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-content ul li { font-size: .93rem; color: var(--w60); margin-bottom: .4rem; list-style: disc; }
.legal-content a { color: var(--cyan); }

/* ---------- Table comparatif ---------- */
.compare-wrap { overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; }
.ctable th, .ctable td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--glass-bd); font-size: .87rem; }
.ctable th { background: rgba(255,255,255,.04); font-family: var(--font-title); font-weight: 800; color: var(--w80); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.ctable th.feat { background: rgba(77,217,240,.1); color: var(--cyan); }
.ctable td { color: var(--w80); }
.ctable td.feat { background: rgba(77,217,240,.04); }
.ctable td.crit { font-weight: 600; color: var(--white); }
.ctable .yes { color: var(--cyan); font-weight: 900; }
.ctable .no  { color: var(--w40); }
@media (max-width: 768px) { .ctable { min-width: 560px; } }

/* ================================================================
   HERO DASHBOARD — nouveau hero spectaculaire
================================================================ */

/* Layout split 50/50 */
.hero-dashboard {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0; /* neutralise le padding de la classe .hero partagée */

  /* Base noire profonde avec touche de bleu nuit */
  background:
    /* Halo cyan derrière le dashboard (droite) */
    radial-gradient(ellipse 900px 800px at 88% 50%, rgba(77,217,240,.16) 0%, transparent 60%),
    /* Aurora violet gauche */
    radial-gradient(ellipse 700px 700px at -8% 55%, rgba(139,92,246,.18) 0%, transparent 55%),
    /* Halo bleu électrique centre-bas */
    radial-gradient(ellipse 800px 500px at 55% 115%, rgba(91,143,255,.16) 0%, transparent 55%),
    /* Reflet cyan chaud en haut à droite */
    radial-gradient(ellipse 500px 400px at 95% 5%, rgba(0,210,255,.12) 0%, transparent 50%),
    /* Fond de base profond */
    linear-gradient(165deg, #03051A 0%, #060921 35%, #080D2A 65%, #06091F 100%);
}

.hero-split {
  display: grid;
  grid-template-columns: 52fr 48fr;
  align-items: center;
  gap: 5rem;
  padding: 9rem 0 6rem;
  position: relative;
  z-index: 2;
}

/* --- Fond : blobs, grille, lignes --- */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hb-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Blob 1 — Grand halo cyan derrière le dashboard */
.hb-blob-1 {
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(77,217,240,.22) 0%, rgba(0,180,255,.10) 40%, transparent 70%);
  filter: blur(90px);
  top: -20%; right: -12%;
  animation: blob-drift-a 22s ease-in-out infinite alternate;
}

/* Blob 2 — Violet/indigo chaleureux côté texte */
.hb-blob-2 {
  width: 750px; height: 750px;
  background: radial-gradient(circle, rgba(139,92,246,.24) 0%, rgba(100,60,220,.12) 45%, transparent 70%);
  filter: blur(100px);
  top: 15%; left: -10%;
  animation: blob-drift-b 28s ease-in-out infinite alternate;
}

/* Blob 3 — Bleu électrique bas-centre pour profondeur */
.hb-blob-3 {
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(91,143,255,.20) 0%, rgba(60,100,255,.10) 50%, transparent 70%);
  filter: blur(110px);
  bottom: -15%; left: 25%;
  border-radius: 40% 60% 55% 45%;
  animation: blob-drift-c 20s ease-in-out infinite alternate;
}

/* Blob 4 — Accent cyan pur, centré sur la zone dashboard */
.hb-blob-4 {
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,230,255,.18) 0%, transparent 65%);
  filter: blur(70px);
  top: 35%; right: 15%;
  border-radius: 60% 40% 50% 50%;
  animation: blob-drift-d 16s ease-in-out infinite alternate;
}

@keyframes blob-drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(-70px, 50px) scale(1.12); } }
@keyframes blob-drift-b { from { transform: translate(0,0) scale(1); } to { transform: translate(50px, -60px) scale(1.08); } }
@keyframes blob-drift-c { from { transform: translate(0,0); } to { transform: translate(-40px, -30px); } }
@keyframes blob-drift-d { from { transform: translate(0,0) scale(1); } to { transform: translate(30px, -40px) scale(1.15); } }

.hb-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(100,160,255,.22) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 85% at 72% 38%, rgba(0,0,0,.9) 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 72% 38%, rgba(0,0,0,.9) 15%, transparent 72%);
}

.hb-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

/* --- Left column --- */
.hero-left { max-width: 560px; }

.hero-left h1 {
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 1.25rem 0 1.4rem;
  text-shadow: 0 0 80px rgba(77,217,240,.08);
}
.hero-left h1 em {
  background: linear-gradient(125deg, #4DD9F0 0%, #5B8FFF 40%, #A78BFA 75%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  filter: drop-shadow(0 0 20px rgba(77,217,240,.35));
}

/* Trust indicators sous les CTAs */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.trust-item { display: flex; align-items: baseline; gap: .4rem; }
.trust-num {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -.04em;
}
.trust-lbl { font-size: .72rem; color: var(--w40); text-transform: uppercase; letter-spacing: .08em; }
.trust-sep { width: 1px; height: 24px; background: rgba(255,255,255,.1); }

/* --- Right column : dashboard --- */
.hero-right {
  position: relative;
  height: 500px;
}

.dash-scene {
  position: absolute;
  inset: 0;
  transform: perspective(1100px) rotateY(-10deg) rotateX(4deg);
  transform-style: preserve-3d;
}

/* --- Cards glassmorphism premium --- */
.dash-card {
  position: absolute;
  background: linear-gradient(160deg, rgba(20,18,65,.85) 0%, rgba(28,24,80,.78) 100%);
  border: 1px solid rgba(110,160,255,.28);
  border-radius: 18px;
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  box-shadow:
    0 30px 70px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.05),
    0 0 50px rgba(77,217,240,.07);
  padding: 1.1rem 1.25rem;
  overflow: hidden;
}
.dash-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120,180,255,.50), rgba(77,217,240,.40), transparent);
}
.dash-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,143,255,.45), transparent);
  box-shadow: 0 0 14px rgba(77,217,240,.18);
}

/* Card 1 — primaire avec accent cyan */
.dc-card-1 {
  border-color: rgba(77,217,240,.35);
  box-shadow:
    0 30px 70px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.05),
    0 0 70px rgba(77,217,240,.14),
    inset 0 0 40px rgba(77,217,240,.03);
}

/* Positions des 3 cards */
.dc-card-1 { top: 0; left: 0; right: 0; animation: dash-float-a 5s ease-in-out infinite; border-color: rgba(77,217,240,.38); }
.dc-card-2 { top: 190px; left: 0; right: 60px; animation: dash-float-b 6s ease-in-out infinite; border-color: rgba(139,92,246,.32); }
.dc-card-3 { top: 350px; left: 30px; right: 0; animation: dash-float-c 7s ease-in-out infinite; border-color: rgba(91,143,255,.30); }

@keyframes dash-float-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes dash-float-b { 0%,100%{transform:translateY(-4px)} 50%{transform:translateY(5px)} }
@keyframes dash-float-c { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

/* Header des cards */
.dc-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
}
.dc-label { font-family: var(--font-title); font-size: .78rem; font-weight: 800; color: rgba(255,255,255,.8); flex: 1; }
.dc-time, .dc-chart-meta { font-size: .68rem; color: rgba(255,255,255,.35); }

/* Dots de statut */
.dc-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dc-green  { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,.6); animation: dc-ping 2.5s ease-in-out infinite; }
.dc-orange { background: #fb923c; box-shadow: 0 0 6px rgba(251,146,60,.5); }

@keyframes dc-ping { 0%,100%{box-shadow:0 0 6px rgba(74,222,128,.6)} 50%{box-shadow:0 0 12px rgba(74,222,128,.9)} }

/* Card 1 – Intervention */
.dc-service-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: .6rem .75rem;
  margin-bottom: .85rem;
}
.dc-icon { font-size: 1.2rem; flex-shrink: 0; }
.dc-service-name { font-family: var(--font-title); font-size: .82rem; font-weight: 700; color: #fff; }
.dc-service-loc { font-size: .68rem; color: rgba(255,255,255,.45); margin-top: .1rem; }
.dc-status-badge {
  margin-left: auto; flex-shrink: 0;
  font-size: .65rem; font-weight: 800;
  padding: .2rem .55rem;
  border-radius: 20px;
  background: rgba(77,217,240,.15);
  color: var(--cyan);
  border: 1px solid rgba(77,217,240,.3);
}
.dc-progress-wrap {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: .4rem;
}
.dc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(77,217,240,.5);
}
.dc-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: .62rem;
  color: rgba(255,255,255,.3);
}

/* Card 2 – Sites */
.dc-badge-pill {
  font-size: .65rem; font-weight: 800;
  padding: .18rem .5rem;
  border-radius: 20px;
  background: rgba(77,217,240,.12);
  color: var(--cyan);
  border: 1px solid rgba(77,217,240,.25);
}
.dc-sites-list { display: flex; flex-direction: column; gap: .45rem; }
.dc-site {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  color: rgba(255,255,255,.65);
  padding: .3rem 0;
}
.dc-site sup { font-size: .6em; }
.dc-site-more {
  font-size: .68rem;
  color: var(--cyan);
  font-weight: 700;
  padding-left: 1.1rem;
}

/* Card 3 – Graphique */
.dc-trend { font-size: .72rem; font-weight: 800; color: #4ade80; }
.dc-chart-wrap { margin: .6rem 0 .5rem; }
.dc-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
}
.dc-bar {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(91,143,255,.3);
  border-radius: 3px 3px 0 0;
  transition: background .3s;
}
.dc-bar-active {
  background: linear-gradient(180deg, var(--cyan), rgba(91,143,255,.6));
  box-shadow: 0 0 10px rgba(77,217,240,.3);
}
.dc-chart-meta { font-size: .68rem; color: rgba(255,255,255,.35); }

/* --- Responsive hero dashboard --- */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 3rem; padding: 8rem 0 4rem; }
  .hero-left { max-width: none; }
  .hero-right { height: 360px; }
  .dc-card-1 { right: 10%; }
  .dc-card-2 { top: 155px; right: 18%; }
  .dc-card-3 { top: 280px; left: 5%; right: 5%; }
  .dash-scene { transform: perspective(900px) rotateY(-4deg) rotateX(2deg); }
}
@media (max-width: 768px) {
  .hero-split { padding: 5rem 0 3.5rem; }
  .hero-right { display: none; }
  .hero-left h1 { font-size: 2.4rem; }
  .hero-trust { flex-wrap: wrap; gap: .75rem; }
}

/* ---------- Utils ---------- */
.text-center { text-align: center; }
.text-cyan   { color: var(--cyan); }
.text-white  { color: var(--white); }
.text-dim    { color: var(--w60); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 4rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.75rem; }
.mb-4 { margin-bottom: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-sm { gap: .75rem; }

/* ---------- Dividers ---------- */
.div-dark { height: 1px; background: var(--glass-bd); margin: 2.5rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .msteps { flex-wrap: wrap; }
  .msteps::before { display: none; }
  .mstep { flex: 0 0 calc(50% - 1rem); }
  /* Pill réduit sur tablette */
  .navbar { top: 10px; width: calc(100% - 24px); }
  .page-hero { padding: 8rem 0 4rem; }
}
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .grid-2, .grid-3, .grid-4, .price-grid, .grid-23 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Navbar — retour full-width sticky sur mobile */
  .navbar {
    position: sticky;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(100,120,210,0.20);
    background: rgba(8,13,42,.95);
    box-shadow: none;
  }
  .navbar-inner { padding: 0 1.25rem; height: 60px; }
  .logo-img { height: 36px; }
  .navbar-nav, .navbar-actions { display: none; }
  .burger { display: flex; }
  /* Page hero — moins de padding top en sticky */
  .page-hero { padding: 5.5rem 0 3.5rem; }
  .hero { padding: 5rem 0 4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-inner { gap: 1.75rem; }
  .mstep { flex: 0 0 100%; }
  .form-grid2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .navbar-inner { padding: 0 1rem; }
}

/* ================================================================
   WATERMARK PREVIEW — à retirer avant mise en prod
   ================================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='170'%3E%3Ctext x='160' y='85' transform='rotate(-30 160 85)' text-anchor='middle' dominant-baseline='middle' font-family='system-ui%2Csans-serif' font-size='13' font-weight='700' fill='white' letter-spacing='2'%3E%40studio_mk_design%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 320px 170px;
  opacity: .10;
}
