/* ============================================================
   DATATOP Design System v3
   Inspired by apple.com (ergonomics) + terminal-industries.com (animation)
   Dark heroes · clean sections · precision micro-interactions
   ============================================================ */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  /* Surfaces */
  --bg:      #FFFFFF;
  --bg-soft: #F7F8FA;
  --bg-mute: #F0F2F5;
  --surface: #FFFFFF;

  /* Dark */
  --dark:    #02020C;
  --dark-2:  #060618;
  --dark-3:  #0C0C28;

  /* Brand spectrum */
  --violet:  #6D28D9;
  --purple:  #7C3AED;
  --indigo:  #4F46E5;
  --blue:    #2563EB;
  --sky:     #0EA5E9;
  --teal:    #14B8A6;
  --emerald: #10B981;
  --green:   #34D399;

  /* Text */
  --text:       #0A0A18;
  --text-2:     #1E1E3A;
  --text-muted: #5E6278;
  --text-faint: #9CA3AF;

  /* Borders */
  --border:     rgba(10, 10, 24, 0.08);
  --border-md:  rgba(10, 10, 24, 0.13);
  --border-dk:  rgba(255, 255, 255, 0.08);
  --border-dk2: rgba(255, 255, 255, 0.14);

  /* Gradients */
  --g-hero:  linear-gradient(165deg, #02020C 0%, #07071E 30%, #0D0D38 58%, #1A1760 82%, #23208A 100%);
  --g-brand: linear-gradient(135deg, #6D28D9 0%, #4F46E5 50%, #2563EB 100%);
  --g-cta:   linear-gradient(135deg, #5B21B6 0%, #4338CA 38%, #2563EB 72%, #0284C7 100%);
  --g-text:  linear-gradient(135deg, #A78BFA 0%, #818CF8 32%, #60A5FA 62%, #34D399 100%);
  --g-light: linear-gradient(135deg, #7C3AED 0%, #4F46E5 50%, #2563EB 100%);
  --g-warm:  linear-gradient(135deg, #6D28D9 0%, #4F46E5 40%, #0EA5E9 100%);

  /* Shadows */
  --sh-xs:   0 1px 2px rgba(0,0,0,0.04);
  --sh-sm:   0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --sh-md:   0 8px 28px rgba(0,0,0,0.08), 0 3px 8px rgba(0,0,0,0.04);
  --sh-lg:   0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --sh-card: 0 20px 60px rgba(79,70,229,0.12), 0 8px 24px rgba(0,0,0,0.07);
  --sh-glow: 0 0 80px rgba(109,40,217,0.28);

  /* Layout */
  --r-xs: 6px;
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl:36px;
  --max:  1200px;

  /* Easing (Apple-grade) */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --spring:      cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Prevent white-bg flash before hero paints on home page */
body.is-home { background: #02020C; }

img, svg { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; margin: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px;
}

/* ============================================================
   Typography Utilities
   ============================================================ */
/* Works on dark backgrounds */
.text-gradient, .gradient-text {
  background: var(--g-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* Works on dark sections (more vivid) */
.text-gradient-vivid {
  background: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 20px;
  padding: 5px 14px;
  background: rgba(79,70,229,0.07);
  border: 1px solid rgba(79,70,229,0.16);
  border-radius: 999px;
}

/* Numbers precision */
.stat-num, .num, .cmetric strong {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-sm  { padding: 9px 18px; font-size: 13.5px; }
.btn-lg  { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* White — on dark backgrounds */
.btn-white {
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  border-color: rgba(255,255,255,0.95);
}
.btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.22);
}
.btn-white:active { transform: translateY(0); box-shadow: none; }

/* Ghost white — on dark backgrounds */
.btn-ghost-white {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.38);
  transform: translateY(-2px);
}

/* Primary gradient */
.btn-primary {
  background: var(--g-brand);
  color: #fff;
  box-shadow: 0 4px 18px rgba(79,70,229,0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,70,229,0.5);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost — light backgrounds */
.btn-ghost {
  background: transparent;
  color: var(--indigo);
  border-color: rgba(79,70,229,0.24);
}
.btn-ghost:hover {
  background: rgba(79,70,229,0.06);
  border-color: rgba(79,70,229,0.38);
  transform: translateY(-1px);
}

/* Soft */
.btn-soft {
  background: rgba(79,70,229,0.08);
  color: var(--indigo);
  border-color: rgba(79,70,229,0.12);
}
.btn-soft:hover {
  background: rgba(79,70,229,0.14);
  transform: translateY(-1px);
}

/* Nav CTA button */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn-nav:hover { background: rgba(255,255,255,0.18); color: #fff; transform: translateY(-1px); }

/* Nav CTA — scrolled to white nav */
.nav.scrolled .btn-nav {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  backdrop-filter: none;
}
.nav.scrolled .btn-nav:hover {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 4px 20px rgba(79,70,229,0.4);
}

/* Appel nav button — icon only */
.btn-appel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  transition: color .2s, border-color .2s, background .2s, transform .22s var(--ease-out), box-shadow .22s;
}
.btn-appel:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.13);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.nav.scrolled .btn-appel {
  color: var(--text-muted);
  border-color: var(--border-md);
  background: transparent;
}
.nav.scrolled .btn-appel:hover {
  color: var(--indigo);
  border-color: rgba(79,70,229,0.28);
  background: rgba(79,70,229,0.07);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79,70,229,0.12);
}


/* ============================================================
   Navigation — Universal (transparent → white on scroll)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0;
  background: transparent;
  transition: padding .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.nav.scrolled {
  padding: 2px 0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity .2s;
}
.logo:hover { opacity: 0.85; }
.logo-img {
  height: 74px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: none;
  flex-shrink: 0;
}

.logo-wordmark { display: none; }

/* Nav links — dark state (on dark hero) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  border-radius: var(--r-sm);
  letter-spacing: -0.005em;
  transition: color .18s, background .18s;
  position: relative;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.1); }

/* Nav links — scrolled (light state) */
.nav.scrolled .nav-links a { color: var(--text-muted); background: transparent; }
.nav.scrolled .nav-links a:hover { color: var(--indigo); background: rgba(79,70,229,0.06); }
.nav.scrolled .nav-links a[aria-current="page"] { color: var(--indigo); background: rgba(79,70,229,0.07); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Burger */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.nav-burger span {
  width: 18px; height: 1.5px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .18s;
  display: block;
}
.nav.scrolled .nav-burger { border-color: var(--border-md); background: var(--bg); }
.nav.scrolled .nav-burger span { background: var(--text-2); }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO — Homepage (full-screen)
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--g-hero);
}

/* Glow orbs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  will-change: transform;
}
.hero-orb-1 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(109,40,217,0.5) 0%, transparent 70%);
  top: -30%; left: -15%;
  animation: orb1 24s ease-in-out infinite;
}
.hero-orb-2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.4) 0%, transparent 70%);
  top: 10%; right: -12%;
  animation: orb2 30s ease-in-out infinite;
}
.hero-orb-3 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.3) 0%, transparent 70%);
  bottom: -18%; left: 36%;
  animation: orb3 20s ease-in-out infinite;
}
.hero-orb-4 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(52,211,153,0.18) 0%, transparent 70%);
  bottom: 22%; left: 8%;
  animation: orb1 34s ease-in-out infinite reverse;
}


/* Grid texture */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: 76px 76px;
}

.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 145px 36px 96px;
  gap: 0;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
  backdrop-filter: blur(12px);
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.2);
  flex-shrink: 0;
  animation: badge-pulse 2.8s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(52,211,153,0.05); }
}

/* Hero title */
.hero-title {
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 800;
  color: #fff;
  max-width: 940px;
  line-height: 1.02;
  letter-spacing: -0.048em;
  margin-bottom: 28px;
}

/* Word cycling — slide-in / slide-out */
.word-cycle {
  display: block;
  position: relative;
  overflow: hidden;
  height: 1.08em;
  margin-top: 0.06em;
}
.word-cycle > span {
  position: absolute;
  left: 0; right: 0; top: 0;
  display: block;
  text-align: center;
  white-space: nowrap;
  background: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: inherit;
}
.word-cycle > span.wc-enter { animation: wc-in  0.58s var(--ease-out) both; }
.word-cycle > span.wc-exit  { animation: wc-out 0.46s var(--ease-in-out) both; }
@keyframes wc-in  { from { transform: translateY(104%); } to { transform: translateY(0); } }
@keyframes wc-out { from { transform: translateY(0);    } to { transform: translateY(-110%); } }

/* Hero description */
.hero-desc {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,0.58);
  max-width: 580px;
  line-height: 1.72;
  margin-bottom: 50px;
}

/* Hero actions */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

/* Hero metrics — frosted glass bar */
.hero-metrics {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.hm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 44px;
  gap: 5px;
  position: relative;
}
.hm + .hm::before {
  content: '';
  position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.hm strong {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hm span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.46);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.28);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  animation: scroll-drift 2.6s ease-in-out infinite;
}
@keyframes scroll-drift {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.28; }
  50%      { transform: translateX(-50%) translateY(7px); opacity: 0.55; }
}

/* ============================================================
   PAGE HERO — All inner pages (dark unified)
   ============================================================ */
.page-hero {
  padding: 152px 0 82px;
  min-height: 54vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--g-hero);
}

/* Orb accent layer */
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 72% 62% at 22% 0%, rgba(109,40,217,0.24), transparent 65%),
    radial-gradient(ellipse 55% 55% at 80% 30%, rgba(37,99,235,0.2), transparent 65%);
  pointer-events: none;
}

/* Grid texture layer */
.page-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.020) 1px, transparent 1px);
  background-size: 76px 76px;
  pointer-events: none;
}

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

.page-hero-tags {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.page-hero-tag {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.page-hero h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  color: #fff;
  margin-bottom: 18px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.page-hero p.lead {
  font-size: clamp(15.5px, 1.3vw, 18.5px);
  color: rgba(255,255,255,0.56);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Per-page accent overrides (just change orb colors) */
.conseil-hero::before {
  background:
    radial-gradient(ellipse 72% 62% at 22% 0%, rgba(29,78,216,0.3), transparent 65%),
    radial-gradient(ellipse 55% 55% at 80% 30%, rgba(14,165,233,0.22), transparent 65%);
}
.formation-hero::before {
  background:
    radial-gradient(ellipse 72% 62% at 22% 0%, rgba(14,165,233,0.28), transparent 65%),
    radial-gradient(ellipse 55% 55% at 80% 30%, rgba(20,184,166,0.2), transparent 65%);
}
.projets-hero::before {
  background:
    radial-gradient(ellipse 72% 62% at 22% 0%, rgba(79,70,229,0.28), transparent 65%),
    radial-gradient(ellipse 55% 55% at 80% 30%, rgba(37,99,235,0.2), transparent 65%);
}
.carrieres-hero::before {
  background:
    radial-gradient(ellipse 72% 62% at 22% 0%, rgba(16,185,129,0.25), transparent 65%),
    radial-gradient(ellipse 55% 55% at 80% 30%, rgba(14,165,233,0.18), transparent 65%);
}
.contact-hero::before {
  background:
    radial-gradient(ellipse 72% 62% at 22% 0%, rgba(79,70,229,0.26), transparent 65%),
    radial-gradient(ellipse 55% 55% at 80% 30%, rgba(109,40,217,0.18), transparent 65%);
}

/* Conseil hero metrics (white text) */
.conseil-metrics {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cmetric {
  text-align: center;
  padding: 0 44px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.cmetric:last-child { border-right: 0; }
.cmetric strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
}
.cmetric span { font-size: 12.5px; color: rgba(255,255,255,0.5); letter-spacing: 0.01em; }

/* Formation tracks (white pills in dark hero) */
.formation-tracks { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.track-pill {
  padding: 8px 18px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   TRUST BAND — Infinite marquee
   ============================================================ */
.trust {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #fff 0%, #F4F3FF 100%);
  border-top: 1px solid rgba(79,70,229,0.08);
  border-bottom: 1px solid rgba(79,70,229,0.08);
  overflow: hidden;
  position: relative;
}
.trust-label {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--g-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 56px;
}
.logos-scroller {
  overflow: hidden;
  position: relative;
  /* Force GPU compositing layer — fixes iOS Safari animation inside overflow:hidden */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.logos-scroller::before,
.logos-scroller::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.logos-scroller::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.logos-scroller::after {
  right: 0;
  background: linear-gradient(to left, #F4F3FF 0%, rgba(244,243,255,0) 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 20px 48px;
  /* No CSS animation — JS drives transform directly */
}
.partner-logo {
  height: 80px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: none;
  flex-shrink: 0;
  display: block;
  border-radius: 16px;
  background: #fff;
  padding: 10px 18px;
  box-shadow: 0 4px 22px rgba(79,70,229,0.09), 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out);
}
.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(79,70,229,0.17), 0 4px 12px rgba(0,0,0,0.07);
}
@-webkit-keyframes logos-scroll {
  from { -webkit-transform: translateX(0);    transform: translateX(0); }
  to   { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 108px 0; position: relative; }
.section.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }

/* Dark gradient section */
.section-dark {
  background: var(--g-hero);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 90% at 15% 50%, rgba(109,40,217,0.26), transparent),
    radial-gradient(ellipse 55% 80% at 85% 50%, rgba(37,99,235,0.2), transparent);
  pointer-events: none;
}
.section-dark::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.020) 1px, transparent 1px);
  background-size: 76px 76px;
  pointer-events: none;
}
.section-dark .eyebrow {
  background: rgba(167,139,250,0.13);
  border-color: rgba(167,139,250,0.22);
  color: #A78BFA;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p  { color: rgba(255,255,255,0.48); }

/* Section header */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.section-head h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  margin-bottom: 16px;
  letter-spacing: -0.035em;
}
.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   Grids
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* ============================================================
   Service Cards (homepage)
   ============================================================ */
.service-card-lg {
  display: flex;
  flex-direction: column;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  color: inherit;
  box-shadow: var(--sh-xs);
  transition: transform .55s var(--spring), box-shadow .45s var(--ease-out), border-color .3s var(--ease);
  will-change: transform;
}
/* Top accent line */
.service-card-lg::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2.5px;
  background: var(--g-cta);
  opacity: 0;
  transition: opacity .3s var(--ease);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.service-card-lg:hover {
  transform: translateY(-10px);
  box-shadow: var(--sh-card);
  border-color: rgba(79,70,229,0.13);
}
.service-card-lg:hover::before { opacity: 1; }

/* Generic card */
.card {
  position: relative;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: transform .5s var(--spring), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
  will-change: transform;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(79,70,229,0.18);
  box-shadow: var(--sh-md);
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card > p { color: var(--text-muted); margin: 0 0 16px; font-size: 14.5px; line-height: 1.65; }

/* Icon box */
.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.service-card-lg:nth-child(1) .icon-box { background: rgba(109,40,217,0.09); color: var(--purple); }
.service-card-lg:nth-child(2) .icon-box { background: rgba(14,165,233,0.09); color: var(--sky); }
.service-card-lg:nth-child(3) .icon-box { background: rgba(16,185,129,0.09); color: var(--emerald); }
.card .icon-box { background: rgba(79,70,229,0.08); color: var(--indigo); }
.service-card-lg:hover .icon-box { background: var(--indigo); color: #fff; transform: scale(1.05); }
.card:hover .icon-box { background: var(--indigo); color: #fff; }

.sc-category {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 10px;
}

.service-card-lg h3 { font-size: 21px; margin-bottom: 12px; line-height: 1.18; }
.service-card-lg > p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 24px;
}

.check-list {
  display: flex; flex-direction: column;
  gap: 10px; margin-bottom: 28px; flex: 1;
}
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
}
.check-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.45;
  flex-shrink: 0;
}

.sc-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--indigo); margin-top: auto;
  transition: gap .22s var(--ease-out);
}
.service-card-lg:hover .sc-arrow { gap: 13px; }

/* Tag list */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag-list span {
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text-2);
  border: 1px solid var(--border);
}

/* Card link */
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 13.5px; color: var(--indigo); margin-top: 14px;
}
.card-link span { transition: transform .22s var(--ease-out); display: inline-block; }
.card-link:hover span { transform: translateX(4px); }

/* ============================================================
   Feature items (How we work)
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.feature-item {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xs);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
  will-change: transform;
}
.feature-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-md);
  border-color: rgba(79,70,229,0.16);
}
.feature-num {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.feature-num::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--g-brand);
  border-radius: 2px;
  flex-shrink: 0;
}
.feature-item h3 { font-size: 19px; margin-bottom: 10px; }
.feature-item p  { font-size: 14.5px; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ============================================================
   Why items
   ============================================================ */
.why-item {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease-out), border-color .25s, box-shadow .3s;
}
.why-item:hover { border-color: rgba(79,70,229,0.18); transform: translateY(-4px); box-shadow: var(--sh-md); }
.why-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(79,70,229,0.07); margin-bottom: 14px; font-size: 22px;
}
.why-item h3 { font-size: 16px; margin-bottom: 6px; }
.why-item p  { color: var(--text-muted); font-size: 13.5px; margin: 0; line-height: 1.6; }

/* ============================================================
   STATS — Dark section
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative; z-index: 1;
}
.stat-card {
  padding: 50px 32px;
  background: rgba(255,255,255,0.03);
  text-align: center;
  transition: background .25s;
}
.stat-card:hover { background: rgba(255,255,255,0.07); }
.stat-num {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  background: var(--g-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 10px;
  letter-spacing: -0.048em;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 13.5px; color: rgba(255,255,255,0.44); font-weight: 500; }

/* Light section stats (fallback for pages not using section-dark) */
.section-alt .stats-grid,
.section:not(.section-dark) .stats-grid {
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
}
.section-alt .stat-card,
.section:not(.section-dark) .stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease-out), border-color .25s, box-shadow .3s;
}
.section-alt .stat-card:hover,
.section:not(.section-dark) .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79,70,229,0.18);
  box-shadow: var(--sh-md);
}
.section-alt .stat-num,
.section:not(.section-dark) .stat-num {
  background: var(--g-light);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-alt .stat-label,
.section:not(.section-dark) .stat-label { color: var(--text-muted); }

/* ============================================================
   Steps / Timeline
   ============================================================ */
.timeline-steps { display: grid; gap: 14px; }

.step-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .25s;
  align-items: start;
  will-change: transform;
}
.step-row:hover { border-color: rgba(79,70,229,0.18); box-shadow: var(--sh-md); transform: translateY(-3px); }
.step-row .num {
  font-size: 42px; font-weight: 800;
  background: var(--g-light);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.step-row h3 { font-size: 19px; margin-bottom: 7px; }
.step-row p  { color: var(--text-muted); margin: 0 0 14px; font-size: 14.5px; line-height: 1.65; }

/* ============================================================
   Case cards
   ============================================================ */
.case-card {
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
  will-change: transform;
}
.case-card:hover { transform: translateY(-6px); border-color: rgba(79,70,229,0.18); box-shadow: var(--sh-lg); }
.case-sector {
  display: inline-block; padding: 5px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px;
  background: rgba(79,70,229,0.07); color: var(--indigo); margin-bottom: 16px;
}
.case-card h3 { font-size: 20px; margin-bottom: 10px; }
.case-card > p { color: var(--text-muted); margin: 0 0 22px; font-size: 14.5px; line-height: 1.65; }
.case-results {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 14px; border-top: 1px solid var(--border); padding-top: 20px;
}
.case-result strong {
  display: block; font-size: 24px; font-weight: 800;
  color: var(--indigo); line-height: 1; margin-bottom: 4px;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.case-result span { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   Timeline (À propos)
   ============================================================ */
.timeline {
  position: relative; display: grid; gap: 20px;
  max-width: 720px; margin: 0 auto; padding-left: 36px;
}
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--sky), var(--indigo), var(--purple));
  border-radius: 1px; opacity: .3;
}
.tl-item {
  position: relative; padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease-out), border-color .25s, box-shadow .3s;
}
.tl-item:hover { border-color: rgba(79,70,229,0.18); transform: translateX(5px); box-shadow: var(--sh-md); }
.tl-item::before {
  content: ''; position: absolute; left: -31px; top: 26px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--indigo); border: 2.5px solid var(--bg);
  box-shadow: 0 0 0 2px rgba(79,70,229,0.2);
}
.tl-year { font-weight: 700; font-size: 12px; color: var(--indigo); letter-spacing: .06em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.tl-item h3 { font-size: 17px; margin-bottom: 6px; }
.tl-item p  { color: var(--text-muted); font-size: 13.5px; margin: 0; }

/* ============================================================
   Job cards
   ============================================================ */
.job-card {
  padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-xs);
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s;
  display: flex; flex-direction: column; will-change: transform;
}
.job-card:hover { transform: translateY(-6px); border-color: rgba(79,70,229,0.18); box-shadow: var(--sh-lg); }
.job-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.job-meta span {
  font-size: 10.5px; padding: 4px 11px; border-radius: 999px;
  background: rgba(79,70,229,0.07); color: var(--indigo); font-weight: 700;
  border: 1px solid rgba(79,70,229,0.14); letter-spacing: 0.04em;
}
.job-card h3 { font-size: 18px; margin-bottom: 8px; }
.job-card > p { color: var(--text-muted); font-size: 14px; margin: 0 0 16px; line-height: 1.65; }
.job-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.job-skills span {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text-2); border: 1px solid var(--border);
}
.job-card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   Value cards
   ============================================================ */
.value-card {
  padding: 30px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-xs); text-align: center;
  transition: transform .3s var(--ease-out), border-color .25s, box-shadow .3s;
}
.value-card:hover { border-color: rgba(79,70,229,0.18); transform: translateY(-4px); box-shadow: var(--sh-md); }
.value-card .v-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px;
  display: grid; place-items: center; background: rgba(79,70,229,0.07); font-size: 26px;
}
.value-card h3 { font-size: 16px; margin-bottom: 8px; }
.value-card p  { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ============================================================
   Process steps
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.process-step {
  padding: 24px; text-align: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-xs); transition: transform .3s var(--ease-out), border-color .25s;
}
.process-step:hover { border-color: rgba(79,70,229,0.18); transform: translateY(-3px); }
.process-step .ps-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--g-brand); color: #fff;
  font-size: 14px; font-weight: 800; margin-bottom: 12px; font-variant-numeric: tabular-nums;
}
.process-step h4 { font-size: 15px; margin-bottom: 4px; }
.process-step p  { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ============================================================
   CTA Banner — Dark premium, matching site hero aesthetic
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 108px 72px;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, #060616 0%, #0B0B2E 38%, #131050 65%, #0B0B2E 100%);
  border: 1px solid rgba(255,255,255,0.09);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
/* Glow orbs */
.cta-banner::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 72% 88% at 7% 14%, rgba(109,40,217,0.36), transparent 56%),
    radial-gradient(ellipse 56% 72% at 93% 85%, rgba(37,99,235,0.28), transparent 58%),
    radial-gradient(ellipse 44% 56% at 50% -8%, rgba(79,70,229,0.22), transparent 54%);
  pointer-events: none;
}
/* Grid texture */
.cta-banner::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .eyebrow {
  background: rgba(167,139,250,0.13);
  border-color: rgba(167,139,250,0.24);
  color: #A78BFA;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(28px, 4.2vw, 54px);
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}
.cta-banner h2 .gradient-text,
.cta-banner h2 .text-gradient {
  background: var(--g-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-banner p {
  color: rgba(255,255,255,0.52);
  font-size: 17.5px;
  max-width: 520px; margin: 0 auto 48px; line-height: 1.74;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* CTA — primary / white button (solid white on dark bg) */
.cta-banner .btn-white,
.cta-banner .btn-primary {
  background: #fff;
  color: var(--dark);
  border-color: transparent;
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
}
.cta-banner .btn-white:hover,
.cta-banner .btn-primary:hover {
  background: #f5f4ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.32);
}
/* CTA — ghost button (frosted glass on dark) */
.cta-banner .btn-ghost-white,
.cta-banner .btn-ghost {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.86);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.cta-banner .btn-ghost-white:hover,
.cta-banner .btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* ============================================================
   Forms
   ============================================================ */
.form-wrap {
  max-width: 640px; margin: 0 auto; padding: 44px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--sh-md);
}
.form-wrap form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-wrap label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; color: var(--text-2); font-weight: 600; letter-spacing: 0.01em;
}
.form-wrap input, .form-wrap textarea, .form-wrap select {
  font-family: inherit; font-size: 15px; padding: 13px 16px;
  background: var(--bg); border: 1.5px solid var(--border-md);
  border-radius: var(--r); color: var(--text);
  transition: border-color .2s, box-shadow .2s; resize: vertical;
  -webkit-appearance: none;
}
.form-wrap input:focus, .form-wrap textarea:focus, .form-wrap select:focus {
  outline: none; border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.1);
}
.form-wrap input::placeholder, .form-wrap textarea::placeholder { color: var(--text-faint); }

.file-input {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--bg-soft); border: 1.5px dashed var(--border-md);
  border-radius: var(--r); cursor: pointer; transition: background .2s, border-color .2s;
  font-size: 14px; color: var(--text-2);
}
.file-input:hover { background: rgba(79,70,229,0.04); border-color: rgba(79,70,229,0.3); }
.file-input input[type="file"] { display: none; }
.file-input .file-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: var(--r-sm); background: var(--indigo); color: #fff;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.file-input .file-name { flex: 1; color: var(--text-muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-input.has-file .file-name { color: var(--text); font-weight: 500; }
.form-success {
  background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0;
  padding: 12px 16px; border-radius: var(--r); font-size: 14px; text-align: center;
}

/* Contact info */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; max-width: 900px; margin: 0 auto 32px; }
.contact-info {
  padding: 26px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); text-align: center; box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease-out), border-color .25s, box-shadow .3s;
}
.contact-info:hover { border-color: rgba(79,70,229,0.18); transform: translateY(-4px); box-shadow: var(--sh-md); }
.contact-info .ci-icon {
  width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(79,70,229,0.08); color: var(--indigo);
}
.contact-info h4 { font-size: 10.5px; text-transform: uppercase; letter-spacing: .15em; color: var(--text-faint); font-weight: 700; margin-bottom: 6px; }
.contact-info a, .contact-info span { color: var(--text); font-weight: 600; font-size: 14.5px; }
.contact-info a:hover { color: var(--indigo); }

/* ============================================================
   Course meta (Formation)
   ============================================================ */
.course-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.course-level { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .07em; text-transform: uppercase; }
.level-beginner      { background: #DCFCE7; color: #15803D; }
.level-intermediate  { background: #FEF3C7; color: #B45309; }
.level-advanced      { background: #FEE2E2; color: #B91C1C; }
.course-duration { font-size: 12px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }

/* ============================================================
   FOOTER — Dark
   ============================================================ */
.footer {
  background: #06061A;
  padding: 76px 0 38px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}
.footer .logo-img {
  height: 64px;
  filter: none;
}
.footer .logo-wordmark { display: none; }
.footer-brand p {
  color: rgba(255,255,255,0.38);
  font-size: 13.5px;
  margin: 18px 0 22px;
  max-width: 270px;
  line-height: 1.75;
}
.social-links { display: flex; gap: 9px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.44);
  transition: background .22s, border-color .22s, color .22s, transform .22s var(--ease-out);
}
.social-links a:hover { background: rgba(79,70,229,0.25); border-color: rgba(79,70,229,0.4); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; color: rgba(255,255,255,0.46); padding: 5px 0; transition: color .18s; }
.footer-col a:hover { color: rgba(255,255,255,0.88); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(255,255,255,0.24); flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a:hover { color: rgba(255,255,255,0.66); }

/* ============================================================
   Animations — defined in Fluidity v2 + Premium v6 below
   ============================================================ */

/* ============================================================
   Utilities
   ============================================================ */
.bg-orbs { display: none; }
main { position: relative; }

::selection { background: var(--indigo); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border-md); border-radius: 5px; border: 2.5px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  .container { padding: 0 24px; }

  /* Mobile nav drawer */
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch;
    gap: 2px; padding: 12px;
    background: rgba(6,6,26,0.96);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-lg);
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    z-index: 10;
  }
  .nav-links.open { display: flex; }
  .nav.scrolled .nav-links { background: rgba(255,255,255,0.97); border-color: var(--border); box-shadow: var(--sh-lg); }
  .nav.scrolled .nav-links a { color: var(--text-2); }
  .nav.scrolled .nav-links a:hover { color: var(--indigo); background: rgba(79,70,229,0.06); }
  .nav-burger { display: flex; }

  .hero-inner { padding: 130px 24px 80px; }
  .hero-metrics { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hm { padding: 16px 28px; }

  .grid-3, .grid-2, .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .step-row { grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; }
  .step-row .num { font-size: 34px; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 72px 40px; }
  .cta-banner .btn-lg { padding: 14px 22px; font-size: 15px; }
  .partner-logo { height: 68px; padding: 8px 14px; }
  .logos-track { gap: 36px; }
  .conseil-metrics { flex-wrap: wrap; }
  .cmetric { padding: 14px 28px; }
}

@media (max-width: 760px) {
  /* On mobile hide text Contact, Appel stays as icon-only circle */
  .btn-nav { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 118px 0 56px; min-height: 48vh; }
  .hero-metrics { flex-direction: column; gap: 0; }
  .hm + .hm::before { display: none; }
  .hm + .hm { border-top: 1px solid rgba(255,255,255,0.08); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 48px 22px; border-radius: 20px; }
  .cta-banner h2 { font-size: clamp(24px, 7.5vw, 38px); margin-bottom: 14px; }
  .cta-banner p  { font-size: 15px; max-width: 100%; margin-bottom: 32px; }
  .cta-banner .eyebrow { font-size: 10px; }
  .cta-banner .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .cta-banner .btn-lg {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 14px 18px;
    font-size: 15px;
  }
  .conseil-metrics { flex-direction: column; }
  .cmetric { padding: 16px 24px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .cmetric:last-child { border-bottom: 0; }
  .footer .logo-img { height: 52px; }
  .logo-img { height: 62px; }
  .partner-logo { height: 58px; padding: 8px 12px; }
  .logos-track { gap: 24px; }
  .trust { padding: 60px 0 68px; }
  .form-wrap { padding: 28px 22px; }
  .section-head { margin-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in, .reveal { opacity: 1; transform: none; clip-path: none; }
  .hero-orb { animation: none; }
  .badge-dot { animation: none; }
  .scroll-hint { animation: none; }
  .word-cycle > span { animation: none; }
  /* logos-track animation handled by JS — no CSS override needed */
}

/* ============================================================
   Design v4 — Hero Canvas · Logo · Premium Polish
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--indigo), var(--sky));
  z-index: 9999;
  pointer-events: none;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .08s linear;
}

/* Hero canvas particle network */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}


/* Enhanced hero inner content layering */
.hero-inner { z-index: 2; }
.scroll-hint { z-index: 2; }

/* Better focus */
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* Service card gradient glow on hover */
.service-card-lg:hover {
  box-shadow: var(--sh-card), 0 0 0 1px rgba(79,70,229,0.18);
}

/* Section divider accent */
.section-accent-line {
  width: 48px; height: 3px;
  background: var(--g-brand);
  border-radius: 99px;
  margin: 0 auto 20px;
}

/* Smooth stat card pulse on hover (dark section) */
.section-dark .stat-card:hover .stat-num {
  filter: brightness(1.12);
}

/* Hero metrics glass enhanced */
.hero-metrics {
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.07);
}

/* Page hero bottom gradient fade */
.page-hero::after {
  z-index: 1;
}
.page-hero > .container { z-index: 2; }

/* Improved card border glow */
.card:hover, .feature-item:hover, .step-row:hover {
  box-shadow: var(--sh-md), 0 0 0 1px rgba(79,70,229,0.12);
}

/* Nav link active indicator (bottom line) */
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,0.6);
}
.nav.scrolled .nav-links a[aria-current="page"]::after {
  background: var(--indigo);
}

/* Floating CTA glow */
.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(79,70,229,0.55), 0 4px 12px rgba(0,0,0,0.15);
}

/* Footer brand word spacing */
.footer-brand .logo { margin-bottom: 4px; }

/* Legal pages */
.legal-page { padding: 140px 0 100px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 12px; }
.legal-page .legal-date { color: var(--text-muted); font-size: 13.5px; margin-bottom: 56px; display: block; }
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin: 44px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal-body h3 { font-size: 15.5px; font-weight: 700; margin: 24px 0 8px; color: var(--text-2); }
.legal-body p, .legal-body li {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.78;
}
.legal-body ul { list-style: disc; padding-left: 22px; margin: 10px 0 16px; display: flex; flex-direction: column; gap: 6px; }
.legal-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--purple); }
.legal-info-box {
  background: rgba(79,70,229,0.05);
  border: 1px solid rgba(79,70,229,0.14);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin: 28px 0;
}
.legal-info-box p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.legal-info-box strong { color: var(--text); }

/* ============================================================
   Fluidity v2 — Full GPU-accelerated smooth motion
   Replaces clip-path reveals with clean transform+opacity
   ============================================================ */


/* Orb animations — GPU-composited translate3d */
@keyframes orb1 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  33%      { transform: translate3d(80px,-60px,0) scale(1.12); }
  66%      { transform: translate3d(-45px,70px,0) scale(0.93); }
}
@keyframes orb2 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  33%      { transform: translate3d(-65px,55px,0) scale(1.09); }
  66%      { transform: translate3d(55px,-65px,0) scale(1.04); }
}
@keyframes orb3 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(-75px,-55px,0) scale(1.15); }
}

/* Page entry — spring-like (non-home pages) */
main {
  animation: pageEnter .55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Home: hero bg should show instantly; children have their own fade-in */
.is-home main { animation: none; background: var(--bg); }
@keyframes pageEnter {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Cards — own composite layer for buttery hover */
.service-card-lg,
.card,
.feature-item,
.step-row,
.stat-card,
.case-card,
.job-card,
.value-card,
.why-item,
.contact-info {
  backface-visibility: hidden;
  isolation: isolate;
}
.service-card-lg:hover { transform: translate3d(0, -10px, 0); }
.card:hover            { transform: translate3d(0, -5px, 0); }
.feature-item:hover    { transform: translate3d(0, -7px, 0); }
.step-row:hover        { transform: translate3d(0, -3px, 0); }
.case-card:hover       { transform: translate3d(0, -6px, 0); }
.job-card:hover        { transform: translate3d(0, -6px, 0); }
.value-card:hover      { transform: translate3d(0, -4px, 0); }
.why-item:hover        { transform: translate3d(0, -4px, 0); }

/* Hero orbs — composite layer */
.hero-orb { will-change: transform; }

/* Hero inner — ready for JS parallax */
.hero-inner {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Scroll hint — will-change */
.scroll-hint { will-change: opacity; }


/* Hero metrics hover */
.hm {
  transition: background .2s var(--ease);
  border-radius: var(--r);
}
.hm:hover { background: rgba(255,255,255,0.07); }


/* Stat card hover lift */
.section-dark .stat-card {
  transition: background .3s var(--ease), transform .35s cubic-bezier(0.16,1,0.3,1);
}
.section-dark .stat-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translate3d(0, -4px, 0);
}

/* CTA banner entrance */
.cta-banner {
  transition: transform .4s cubic-bezier(0.16,1,0.3,1), box-shadow .4s var(--ease);
}

/* Btn micro-interactions — spring scale */
.btn {
  transition:
    transform .3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow .3s var(--ease),
    background .18s, color .18s, border-color .18s;
}
.btn:active { transform: scale(0.97) !important; }

/* Logo hover */
.logo { will-change: opacity; }

/* Scrollbar refinement */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f0f8; }
::-webkit-scrollbar-thumb { background: rgba(79,70,229,0.2); border-radius: 4px; border: 2px solid #f0f0f8; }
::-webkit-scrollbar-thumb:hover { background: rgba(79,70,229,0.38); }

/* reduced-motion guard */
@media (prefers-reduced-motion: reduce) {
  .hero-inner { will-change: auto !important; transition: none !important; }
  .reveal { transition-duration: 0.01ms !important; }
}

/* ============================================================
   Hero KPIs — floating glass stat cards
   ============================================================ */
.hero-kpis {
  display: flex;
  gap: 14px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-kpi {
  flex: 1 1 0;
  min-width: 130px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-lg);
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .3s var(--ease-out), transform .35s var(--ease-out), border-color .3s var(--ease);
  backface-visibility: hidden;
  isolation: isolate;
}

.hero-kpi::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}

.hero-kpi:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translate3d(0, -5px, 0);
}

.hero-kpi strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.hero-kpi span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* ============================================================
   Hero Trust badges row
   ============================================================ */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 99px;
  padding: 6px 13px;
  letter-spacing: 0.01em;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.hero-trust span:hover {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.88);
}

.hero-trust span svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ============================================================
   Hero primary CTA button — premium white fill
   ============================================================ */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0a0a18 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 99px;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 8px 32px rgba(0,0,0,0.32);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), background .2s;
  backface-visibility: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109,40,217,0.08), rgba(37,99,235,0.08));
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.btn-hero-primary:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.24), 0 16px 48px rgba(0,0,0,0.4);
}

.btn-hero-primary:hover::before { opacity: 1; }
.btn-hero-primary:active { transform: scale(0.97) !important; }

/* Responsive adjustments */
@media (max-width: 640px) {
  .btn-hero-primary { font-size: 14px; padding: 13px 22px; }
}

/* ============================================================
   Premium polish — v5
   ============================================================ */

/* Hero metrics — max width so it doesn't stretch on wide screens */
.hero-metrics {
  max-width: 760px;
  width: 100%;
}
.hm { padding: 22px 36px; }

/* Service cards — very subtle warm gradient so they don't look flat */
.service-card-lg {
  background: linear-gradient(158deg, #ffffff 0%, #f7f7ff 100%);
}

/* Feature items — left accent on hover via inset shadow (no layout shift) */
.feature-item:hover {
  box-shadow: var(--sh-md), inset 3px 0 0 var(--indigo);
}

/* Stat numbers — subtle glow on count completion (dark section) */
.section-dark .stat-num {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 60%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Trust section label — more refined */
.trust-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  margin-bottom: 28px;
}

/* ============================================================
   DATATOP Premium v6 — Matte · Navy · Apple-grade spacing
   Full visual override — structure unchanged
   ============================================================ */

/* --- Tokens --- */
:root {
  --navy:    #1B3A6B;
  --navy-dk: #0D1F3C;
  --blue:    #2563EB;
  --cyan:    #3BB8F0;

  --bg:      #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-mute: #F1F5F9;

  --text:       #0A0F1E;
  --text-2:     #1C2B3A;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  --indigo:  #2563EB;
  --purple:  #1B3A6B;
  --violet:  #1B3A6B;
  --sky:     #3BB8F0;
  --teal:    #3BB8F0;
  --emerald: #3BB8F0;

  --border:     rgba(15, 23, 42, 0.07);
  --border-md:  rgba(15, 23, 42, 0.11);
  --border-dk:  rgba(255, 255, 255, 0.07);
  --border-dk2: rgba(255, 255, 255, 0.12);

  --g-hero:  linear-gradient(175deg, #0A0F1E 0%, #0D1F3C 55%, #0F2647 100%);
  --g-brand: linear-gradient(135deg, #1B3A6B 0%, #2563EB 100%);
  --g-cta:   linear-gradient(135deg, #1B3A6B 0%, #2563EB 100%);
  --g-text:  linear-gradient(135deg, #1B3A6B 0%, #2563EB 55%, #3BB8F0 100%);
  --g-light: linear-gradient(135deg, #2563EB 0%, #3BB8F0 100%);
  --g-warm:  linear-gradient(135deg, #1B3A6B 0%, #2563EB 100%);

  --sh-xs:   0 1px 2px rgba(0,0,0,0.04);
  --sh-sm:   0 2px 8px rgba(0,0,0,0.05);
  --sh-md:   0 8px 28px rgba(0,0,0,0.07);
  --sh-lg:   0 20px 48px rgba(0,0,0,0.09);
  --sh-card: 0 8px 32px rgba(37,99,235,0.09), 0 2px 8px rgba(0,0,0,0.04);
  --sh-glow: 0 0 56px rgba(37,99,235,0.18);

  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* --- Global typography --- */
h1, h2, h3, h4 { letter-spacing: -0.04em; line-height: 1.06; }
p { font-weight: 400; line-height: 1.78; }

/* --- Apple-grade section spacing --- */
.section { padding: 136px 0; }
.section-head { margin-bottom: 88px; }
.section-head h2 {
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 800;
  letter-spacing: -0.043em;
  line-height: 1.04;
  margin-bottom: 18px;
}
.section-head p {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Hero — deep navy, flat, no noise --- */
.hero { background: var(--g-hero); }

.hero-orb-1 { background: radial-gradient(circle, rgba(37,99,235,0.22) 0%, transparent 68%); }
.hero-orb-2 { background: radial-gradient(circle, rgba(59,184,240,0.13) 0%, transparent 68%); }
.hero-orb-3 { background: radial-gradient(circle, rgba(27,58,107,0.28) 0%, transparent 68%); }
.hero-orb-4 { background: radial-gradient(circle, rgba(37,99,235,0.09) 0%, transparent 68%); }
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
}
.hero-inner { padding: 162px 48px 112px; }

.hero-badge {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.22);
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.badge-dot {
  background: #3BB8F0;
  box-shadow: 0 0 0 3px rgba(59,184,240,0.2);
}
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(59,184,240,0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(59,184,240,0.04); }
}

.hero-title {
  font-size: clamp(46px, 6.6vw, 90px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 0.98;
  color: #fff;
  margin-bottom: 26px;
}
.word-cycle > span {
  background: linear-gradient(130deg, #60A5FA 0%, #3BB8F0 60%, #93C5FD 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: clamp(15px, 1.35vw, 17.5px);
  font-weight: 400;
  color: rgba(255,255,255,0.46);
  line-height: 1.84;
  max-width: 500px;
  margin-bottom: 44px;
  letter-spacing: 0;
}
.hero-actions { margin-bottom: 0; }

.hero-metrics {
  margin-top: 64px;
  background: rgba(255,255,255,0.032);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
  max-width: 720px;
}
.hm { padding: 22px 36px; }
.hm strong { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.04em; }
.hm span   { font-size: 10.5px; color: rgba(255,255,255,0.36); letter-spacing: 0.06em; text-transform: uppercase; }

/* --- Animations: calm, purposeful --- */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUpClean 0.65s ease-out both;
}
.fade-in:nth-child(1) { animation-delay: 0.06s; }
.fade-in:nth-child(2) { animation-delay: 0.16s; }
.fade-in:nth-child(3) { animation-delay: 0.26s; }
.fade-in:nth-child(4) { animation-delay: 0.38s; }
.fade-in:nth-child(5) { animation-delay: 0.50s; }
@keyframes fadeUpClean { to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  clip-path: none !important;
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.reveal.in { opacity: 1; transform: translateY(0); clip-path: none !important; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }
.reveal:nth-child(5) { transition-delay: .28s; }
.reveal:nth-child(6) { transition-delay: .35s; }
.reveal:nth-child(7) { transition-delay: .42s; }
.reveal:nth-child(8) { transition-delay: .49s; }

/* --- Buttons --- */
.btn {
  border-radius: 10px;
  letter-spacing: -0.01em;
  font-weight: 600;
  transition: transform 0.3s ease-out, background 0.25s, box-shadow 0.28s, border-color 0.25s, color 0.25s;
}
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: #2563EB; border-color: #2563EB; box-shadow: none;
}
.btn-primary:hover {
  background: #1D4ED8; border-color: #1D4ED8;
  box-shadow: 0 6px 24px rgba(37,99,235,0.26);
  transform: translateY(-2px);
}
.btn-hero-primary { border-radius: 10px; box-shadow: none; }
.btn-hero-primary:hover { box-shadow: none; transform: translateY(-2px); }

.btn-ghost-white {
  backdrop-filter: none; -webkit-backdrop-filter: none;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.3); transform: translateY(-2px);
}
.btn-ghost { border-color: var(--border-md); color: var(--text-2); }
.btn-ghost:hover {
  background: var(--bg-soft); border-color: rgba(37,99,235,0.2);
  color: #2563EB; transform: translateY(-2px);
}
.btn-white {
  background: #fff; color: #0A0F1E !important; border-color: #fff;
  box-shadow: none; border-radius: 10px; font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,0.92); box-shadow: none; transform: translateY(-2px); }

/* --- Service cards --- */
.service-card-lg {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: none;
  border-radius: 22px;
  padding: 44px;
}
.service-card-lg::before,
.service-card-lg:hover::before { display: none !important; opacity: 0 !important; }
.service-card-lg:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.09);
  border-color: rgba(37,99,235,0.13);
  transform: translateY(-5px);
}
.service-card-lg:nth-child(1) .icon-box { background: rgba(27,58,107,0.07); color: #2563EB; }
.service-card-lg:nth-child(2) .icon-box { background: rgba(37,99,235,0.07); color: #2563EB; }
.service-card-lg:nth-child(3) .icon-box { background: rgba(59,184,240,0.08); color: #3BB8F0; }
.service-card-lg:hover .icon-box { background: #2563EB; color: #fff; transform: none; }

/* --- Approach cards --- */
.feature-item {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: none;
  border-radius: 20px;
  padding: 42px;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.08), inset 3px 0 0 #2563EB;
  border-color: rgba(37,99,235,0.1);
  transform: translateY(-4px);
}
.feature-num { color: #2563EB; font-size: 10px; letter-spacing: 0.18em; }
.feature-num::before { background: #2563EB; }
.feature-item h3 { font-size: 20px; letter-spacing: -0.03em; }

/* --- Stats (light section) --- */
.section-alt { background: #F8FAFC; }
.section-alt .stat-card,
.section:not(.section-dark) .stat-card {
  background: #fff; border: 1px solid rgba(15,23,42,0.07); box-shadow: none; border-radius: 20px;
}
.section-alt .stat-card:hover,
.section:not(.section-dark) .stat-card:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.12); transform: translateY(-4px);
}
.section-alt .stat-num,
.section:not(.section-dark) .stat-num {
  background: linear-gradient(135deg, #1B3A6B, #2563EB);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.05em;
}
.section-alt .stat-label,
.section:not(.section-dark) .stat-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.section-dark .stat-num {
  background: linear-gradient(135deg, #fff 0%, #93c5fd 55%, #60a5fa 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* --- CTA banner --- */
.cta-banner {
  background: #0D1F3C;
  border-radius: 28px;
  box-shadow: none;
  padding: 96px 80px;
}
.cta-banner::before, .cta-banner::after { display: none; }
.cta-banner .eyebrow { color: #3BB8F0; }
.cta-banner h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.042em; }
.cta-banner p { color: rgba(255,255,255,0.5); font-size: 17px; }

/* --- Card + Why + Job --- */
.card { border: 1px solid rgba(15,23,42,0.07); box-shadow: none; border-radius: 18px; }
.card:hover { box-shadow: 0 8px 28px rgba(37,99,235,0.07); border-color: rgba(37,99,235,0.12); transform: translateY(-4px); }
.why-item { border: 1px solid rgba(15,23,42,0.07); box-shadow: none; border-radius: 18px; }
.why-item:hover { box-shadow: 0 6px 24px rgba(37,99,235,0.07); border-color: rgba(37,99,235,0.11); transform: translateY(-3px); }
.job-card { border: 1px solid rgba(15,23,42,0.07); box-shadow: none; }
.job-card:hover { box-shadow: 0 8px 28px rgba(37,99,235,0.07); border-color: rgba(37,99,235,0.12); }
.case-card { border: 1px solid rgba(15,23,42,0.07); box-shadow: none; }
.case-card:hover { box-shadow: 0 8px 28px rgba(37,99,235,0.07); border-color: rgba(37,99,235,0.12); }

/* --- Eyebrow --- */
.eyebrow { color: #2563EB; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; }
.section-dark .eyebrow { color: #3BB8F0; }

/* --- Gradient text --- */
.gradient-text, .text-gradient, .text-gradient-light {
  background: linear-gradient(135deg, #1B3A6B 0%, #2563EB 55%, #3BB8F0 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.sc-arrow { color: #2563EB; }
.sc-category { color: #2563EB; }

.nav.scrolled { box-shadow: 0 1px 0 rgba(15,23,42,0.07); }

/* --- Page heroes (subpages) --- */
.page-hero { background: linear-gradient(175deg, #0A0F1E 0%, #0D1F3C 55%, #0F2647 100%); }

/* --- Trust band --- */
.trust {
  border-top: 1px solid rgba(15,23,42,0.06);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

/* --- Scroll progress --- */
.scroll-progress { background: linear-gradient(90deg, #2563EB, #3BB8F0); height: 2px; }

/* --- Scrollbar --- */
::-webkit-scrollbar-thumb { background: rgba(37,99,235,0.14); }
::-webkit-scrollbar-thumb:hover { background: rgba(37,99,235,0.28); }

/* --- Responsive --- */
@media (max-width: 860px) {
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 64px; }
  .hero-inner { padding: 130px 24px 88px; }
  .cta-banner { padding: 72px 48px; }
  .cta-banner .btn-lg { padding: 14px 22px; font-size: 15px; }
  .service-card-lg { padding: 36px; }
  .feature-item { padding: 32px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 48px; }
  .hero-title { letter-spacing: -0.04em; }
  .cta-banner { padding: 48px 22px; border-radius: 20px; }
  .cta-banner h2 { font-size: clamp(24px, 7.5vw, 38px); }
  .cta-banner p  { font-size: 15px; max-width: 100%; }
  .cta-banner .cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .cta-banner .btn-lg { width: 100%; justify-content: center; white-space: normal; text-align: center; padding: 14px 18px; font-size: 15px; }
  .service-card-lg { padding: 28px; border-radius: 18px; }
}
/* Partner logo cards */
.partner-logo-full {
  display: block;
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .fade-in { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   PAGE VEIL — Fade transition between pages
   ============================================================ */
.page-veil {
  position: fixed;
  inset: 0;
  background: #07091A;
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-veil.revealed { opacity: 0; }


/* ============================================================
   PREMIUM FLUIDITY — Water-smooth interactions
   ============================================================ */

/* Button spring lift */
.btn {
  transition: transform .45s var(--spring), box-shadow .4s var(--ease-out),
              background .22s var(--ease), color .22s, border-color .22s;
}
.btn:hover { transform: translateY(-3px) scale(1.012); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: .12s; }

/* Nav links — smooth underline slide */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s var(--spring);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Partner logo spring lift */
.partner-logo {
  transition: transform .5s var(--spring), box-shadow .45s var(--ease-out);
}
.partner-logo:hover {
  transform: translateY(-6px) scale(1.04);
}

/* Service card spring lift */
.service-card-lg:hover { transform: translateY(-10px); }
.feature-item:hover    { transform: translateY(-7px); }
.case-card:hover       { transform: translateY(-6px); }
.job-card:hover        { transform: translateY(-6px); }

/* Feature item transition */
.feature-item {
  transition: transform .5s var(--spring), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}

/* Value card & why item spring */
.value-card, .why-item {
  transition: transform .5s var(--spring), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}
.value-card:hover { transform: translateY(-5px); }

/* Stat card subtle lift */
.stat-card {
  transition: transform .5s var(--spring), box-shadow .4s var(--ease-out);
}
.stat-card:hover { transform: translateY(-4px); }

/* Job card */
.job-card {
  transition: transform .5s var(--spring), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}

/* Timeline item */
.tl-item {
  transition: transform .5s var(--spring);
}
.tl-item:hover { transform: translateX(6px); }

/* CTA banner button group — stagger on hover handled via :hover nth-child */
.cta-buttons .btn:last-child { transition-delay: .04s; }

/* Scroll hint animation — softer pulse */
@keyframes scroll-hint-float {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 1;   }
}
.scroll-hint { animation: scroll-hint-float 2.4s var(--ease-in-out) infinite; }

/* Focus ring — accessible + beautiful */
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

