/* =============================================
   AFFLUX — Site Vitrine
   Design System — Charte Graphique officielle
   Bleu #1E3A8A · Vert #10B981 · Gris #F3F4F6
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400&display=swap');

/* ---- CSS Variables — Charte Graphique ---- */
:root {
  /* Brand Primary — Bleu Foncé */
  --brand-900: #0F2260;
  --brand-800: #152C6A;
  --brand-700: #1A3275;
  --brand-600: #1E3A8A;   /* couleur principale */
  --brand-500: #2D4FA0;
  --brand-400: #3D64B5;
  --brand-300: #6B8FD4;
  --brand-200: #B8CBF0;
  --brand-100: #E8EEFA;
  --brand-50:  #F0F4FC;

  /* Brand Accent — Vert Émeraude */
  --green-800: #065F46;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10B981;   /* couleur d'accent */
  --green-400: #34D399;
  --green-300: #6EE7B7;
  --green-200: #A7F3D0;
  --green-100: #D1FAE5;
  --green-50:  #ECFDF5;

  /* Neutrals — Gris */
  --gray-950: #0A0A0B;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;   /* fond neutre */
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Sans', 'Inter', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.13), 0 4px 12px rgba(0,0,0,.09);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.16), 0 8px 24px rgba(0,0,0,.10);
  --shadow-brand: 0 8px 32px rgba(30,58,138,.30);
  --shadow-green: 0 8px 32px rgba(16,185,129,.25);

  /* Borders */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --t-fast:   0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   0.40s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
svg { flex-shrink: 0; }

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section-py { padding: var(--section-py) 0; }
.bg-white { background: var(--white); }
.bg-gray  { background: var(--gray-100); }
.bg-brand { background: var(--brand-600); }
.bg-dark  { background: var(--gray-900); }

/* ---- Typography ---- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.display-sm {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.body-lg { font-size: 18px; line-height: 1.75; }
.body-md { font-size: 16px; line-height: 1.7; }
.body-sm { font-size: 14px; line-height: 1.6; }

/* ---- Section Label ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header .body-lg { color: var(--gray-500); margin-top: 16px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(16,185,129,.35);
}
.btn-brand {
  background: var(--brand-600);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.btn-brand:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(30,58,138,.40);
}
.btn-secondary {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.40);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--brand-600);
  border: 1.5px solid var(--brand-200);
}
.btn-outline:hover {
  background: var(--brand-50);
  border-color: var(--brand-300);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}
.btn-sm  { padding: 9px 18px; font-size: 14px; }
.btn-lg  { padding: 17px 36px; font-size: 16px; }
.btn-xl  { padding: 20px 44px; font-size: 17px; }
.w-full  { width: 100%; justify-content: center; }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-brand { background: var(--brand-100); color: var(--brand-600); }
.badge-gray  { background: var(--gray-100); color: var(--gray-600); }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.glass-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
}

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

/* Scroll animations */
.anim-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.anim-init.anim-visible { opacity: 1; transform: translateY(0); }
.anim-init.delay-1 { transition-delay: 0.1s; }
.anim-init.delay-2 { transition-delay: 0.2s; }
.anim-init.delay-3 { transition-delay: 0.3s; }
.anim-init.delay-4 { transition-delay: 0.4s; }
.anim-init.delay-5 { transition-delay: 0.5s; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--t-base);
}
.navbar.scrolled {
  background: rgba(30,58,138,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 4px 32px rgba(0,0,0,.25);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-800);
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--white);
  padding: 6px 12px 6px 8px;
  border-radius: 10px;
}
.navbar-logo-svg {
  width: 28px;
  height: 28px;
}
.navbar-logo-img {
  height: 26px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.navbar-nav a {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: all var(--t-fast);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.10);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-login {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.btn-login:hover { color: var(--white); background: rgba(255,255,255,.08); }

/* ── Sélecteur de langue ── */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  line-height: 1;
}
.lang-btn.active {
  background: var(--white);
  color: var(--brand-600);
}
.lang-btn:not(.active):hover {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.navbar-light .lang-switcher {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.10);
}
.navbar-light .lang-btn { color: var(--gray-500); }
.navbar-light .lang-btn.active { background: var(--brand-600); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: all var(--t-base);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--brand-800);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 90px 32px 40px;
  gap: 6px;
  transform: translateX(100%);
  transition: transform var(--t-slow);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--t-fast);
}
.mobile-menu a:hover { color: var(--green-400); }

/* =============================================
   BLURRED BACKGROUND PHOTO SYSTEM
   ============================================= */

/* Calque photo flouté générique */
.bg-photo-layer {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(18px);
  transform: scale(1.12);
  z-index: 0;
  transition: filter 0.4s ease;
}

/* Overlay coloré par-dessus la photo */
.bg-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Tout le contenu passe au-dessus */
.bg-photo-section { position: relative; overflow: hidden; }
.bg-photo-section > .container { position: relative; z-index: 2; }
.bg-photo-section > .section-header { position: relative; z-index: 2; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0F2260;
  overflow: hidden;
  padding-top: 88px;
}

/* Canvas animation — réseau de flux financiers */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* Overlay dégradé sur le canvas */
.hero-canvas-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 20%, rgba(15,34,96,.50) 100%),
    linear-gradient(to bottom, rgba(15,34,96,.45) 0%, transparent 25%, transparent 75%, rgba(15,34,96,.65) 100%),
    linear-gradient(to right, rgba(15,34,96,.50) 0%, transparent 20%, transparent 80%, rgba(15,34,96,.50) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Gardé pour compatibilité CSS — non utilisé dans le hero */
.hero-color-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(15,34,96,.97) 0%, rgba(30,58,138,.92) 45%, rgba(26,78,110,.95) 100%);
  z-index: 1;
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, black 40%, transparent 100%);
  z-index: 2;
}

/* Ambient glow blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,.18) 0%, transparent 70%);
  top: -100px; right: -50px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61,100,181,.25) 0%, transparent 70%);
  bottom: -60px; left: 5%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 3;
  padding: 80px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.30);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-400);
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(52,211,153,.5);
  animation: pulse-ring 1.8s ease-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title .highlight {
  color: var(--green-400);
  position: relative;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-value span { color: var(--green-400); font-size: 18px; }
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card-main {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  padding: 32px;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 32px 80px rgba(0,0,0,.30), 0 0 0 1px rgba(255,255,255,.05);
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.hero-card-row span:first-child { color: rgba(255,255,255,.45); }
.hero-card-row span:last-child { color: var(--white); font-weight: 600; }

.hero-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-card-mini {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.hero-card-mini-label {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-card-mini-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-card-mini-sub {
  font-size: 12px;
  margin-top: 4px;
  color: var(--green-400);
  font-weight: 600;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--white);
  padding: 36px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.trust-bar-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 28px;
}
.trust-bar-items {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--brand-600);
  background: var(--brand-50);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.trust-bar-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: var(--brand-100); }

/* =============================================
   PROBLEM SECTION
   ============================================= */
.problem-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.problem-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.problem-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.problem-image-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-image-badge-icon svg { color: var(--brand-600); }
.problem-pain-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  margin-bottom: 12px;
  transition: all var(--t-base);
}
.problem-pain-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}
.problem-pain-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-bg-red    { background: #FEE2E2; color: #DC2626; }
.icon-bg-orange { background: #FEF3C7; color: #D97706; }
.icon-bg-purple { background: #EDE9FE; color: #7C3AED; }
.icon-bg-brand  { background: var(--brand-100); color: var(--brand-600); }
.icon-bg-green  { background: var(--green-100); color: var(--green-600); }
.icon-bg-blue   { background: #DBEAFE; color: #2563EB; }
.icon-bg-navy   { background: var(--brand-100); color: var(--brand-700); }
.icon-bg-gray   { background: var(--gray-100); color: var(--gray-600); }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section {
  padding: var(--section-py) 0;
  background: var(--gray-100);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
}
.steps-connector {
  position: absolute;
  top: 40px;
  left: calc(25% - 8px);
  right: calc(25% - 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-200), var(--green-300));
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all var(--t-base);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.step-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--brand-600);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  box-shadow: var(--shadow-brand);
}
.step-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--brand-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand-600);
}
.step-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-900);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.step-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--brand-800);
}

/* Photo de fond flouté des stats */
.stats-section .bg-photo-layer {
  /* Salle de marché / trading floor — données financières en temps réel */
  background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=1600&q=80');
  opacity: 0.14;
}
.stats-section .bg-photo-overlay {
  background: linear-gradient(135deg, rgba(21,44,106,.95) 0%, rgba(30,58,138,.92) 100%);
}

/* Dot grid par-dessus */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: 3;
}
.stat-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--green-400); font-size: .65em; }
.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 4px;
}
.stat-desc {
  font-size: 13px;
  color: rgba(255,255,255,.40);
}

/* =============================================
   VALUE PROPS / SOLUTIONS
   ============================================= */
.solutions-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.value-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: center;
  max-width: 480px;
}
.value-tab {
  flex: 1;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--t-base);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.value-tab svg { width: 16px; height: 16px; }
.value-tab.active {
  background: var(--white);
  color: var(--brand-600);
  box-shadow: var(--shadow-sm);
}
.value-panel { display: none; }
.value-panel.active { display: grid; }
.value-panel.grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.value-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--t-base);
  margin-bottom: 8px;
}
.value-feature:hover {
  background: var(--gray-50);
  border-color: var(--gray-200);
}
.value-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-feature-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
  font-size: 15px;
}
.value-feature-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.panel-visual {
  background: linear-gradient(145deg, var(--brand-800), var(--brand-600));
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.panel-visual-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-400);
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.panel-stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.panel-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}
.panel-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.panel-stat-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--green-400);
}

/* =============================================
   SECTORS
   ============================================= */
.sectors-section {
  padding: var(--section-py) 0;
  background: var(--gray-100);
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--t-base);
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
.sector-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--brand-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--brand-600);
  transition: all var(--t-base);
}
.sector-card:hover .sector-icon-wrap {
  background: var(--brand-600);
  color: var(--white);
}
.sector-name {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  font-size: 15px;
  font-family: var(--font-display);
}
.sector-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =============================================
   IMPACT / IMAGE SECTION
   ============================================= */
.impact-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.impact-image-wrap {
  position: relative;
}
.impact-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.impact-image-card {
  position: absolute;
  top: 28px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-xl);
  min-width: 180px;
}
.impact-image-card-2 {
  position: absolute;
  bottom: 28px;
  left: -24px;
  background: var(--brand-600);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-brand);
  min-width: 160px;
}
.impact-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.impact-list-item:last-child { border-bottom: none; }
.impact-check {
  width: 24px;
  height: 24px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-600);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: var(--section-py) 0;
  background: var(--gray-100);
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #F59E0B;
}
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-quote-icon {
  color: var(--brand-200);
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 28px;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  font-family: var(--font-display);
}
.testimonial-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 15px;
  margin-bottom: 2px;
}
.testimonial-role {
  font-size: 13px;
  color: var(--gray-400);
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  gap: 16px;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--brand-600); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: all var(--t-base);
  font-size: 18px;
  line-height: 1;
}
.faq-item.open .faq-question { color: var(--brand-600); }
.faq-item.open .faq-icon {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-500);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--green-800);
}

/* Photo de fond flouté du CTA */
.cta-banner .bg-photo-layer {
  /* Poignée de main partenariat B2B — fournisseur et grande entreprise */
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1600&q=80');
  opacity: 0.18;
}
.cta-banner .bg-photo-overlay {
  background: linear-gradient(135deg, rgba(6,95,70,.96) 0%, rgba(5,150,105,.93) 50%, rgba(16,185,129,.92) 100%);
}

/* Dot grid */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 2;
}
.cta-banner > .container { position: relative; z-index: 3; }
.cta-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 28px;
}
.cta-banner-tag svg { color: rgba(255,255,255,.8); }
.cta-banner h2 { color: var(--white); margin-bottom: 20px; }
.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,.70);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: var(--white);
  color: var(--green-700);
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,.20);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--brand-900);
  padding: 72px 0 0;
  color: rgba(255,255,255,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.footer-logo-svg { width: 30px; height: 30px; }
.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  margin-bottom: 28px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  background: rgba(255,255,255,.14);
  color: var(--white);
  border-color: rgba(255,255,255,.20);
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.5);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,.30);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  color: rgba(255,255,255,.30);
  font-size: 13px;
  transition: color var(--t-fast);
}
.footer-legal-links a:hover { color: rgba(255,255,255,.60); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .impact-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-image-wrapper { display: none; }
  .impact-image-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .navbar-nav, .navbar-actions { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 100svh; padding-top: 72px; }
  .hero-content { padding: 48px 0; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-connector { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(even) { border-bottom: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .value-panel.grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-mini-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .trust-bar-items { gap: 24px; }
}

/* =============================================
   BACKWARD-COMPAT — variables remappées
   ============================================= */
:root {
  --navy-950: var(--brand-900);
  --navy-900: var(--brand-900);
  --navy-800: var(--brand-800);
  --navy-700: var(--brand-700);
  --navy-600: var(--brand-500);
  --navy-500: var(--brand-400);
  --blue-700: var(--brand-700);
  --blue-600: var(--brand-600);
  --blue-500: var(--brand-500);
  --blue-400: var(--brand-400);
  --blue-300: var(--brand-300);
  --blue-100: var(--brand-100);
  --gold-700: var(--green-700);
  --gold-600: var(--green-600);
  --gold-500: var(--green-500);
  --gold-400: var(--green-400);
  --gold-300: var(--green-300);
  --gold-100: var(--green-100);
  --shadow-gold: var(--shadow-green);
  --shadow-blue: var(--shadow-brand);
  --transition: var(--t-base);
  --transition-slow: var(--t-slow);
  --font-display: 'DM Sans', 'Inter', sans-serif;
  --font-primary: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* =============================================
   PAGE HERO — utilisé sur les sous-pages
   ============================================= */
.page-hero {
  background: #0F2260;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

/* Photo flouée de fond (ajoutée via JS ou inline style sur .page-hero-photo) */
.page-hero-photo {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.12);
  z-index: 0;
  opacity: 0.15;
}

/* Overlay coloré */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(15,34,96,.97) 0%, rgba(30,58,138,.93) 55%, rgba(26,78,110,.96) 100%);
  z-index: 1;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, black 40%, transparent 100%);
  z-index: 2;
}

.page-hero > .container,
.page-hero > div[style*="position:relative"] {
  position: relative !important;
  z-index: 3;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 2;
}

/* Navbar sur fond clair (light mode) */
.navbar-light .navbar-nav a { color: var(--gray-700); }
.navbar-light .navbar-nav a:hover { color: var(--brand-600); background: var(--brand-50); }
.navbar-light .navbar-logo { color: var(--brand-800); }
.navbar-light .btn-login { color: var(--gray-700); }

/* Old logo icon class */
.navbar-logo-icon {
  width: 34px; height: 34px;
  background: var(--green-500);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: white;
  font-family: var(--font-display);
}

/* =============================================
   CONTACT PAGE COMPONENTS
   ============================================= */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--t-base);
}
.contact-info-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--brand-600);
}
.contact-info-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}

/* =============================================
   GENERIC UTILITY CLASSES (autres pages)
   ============================================= */
.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--font-display);
}
.stars { color: #F59E0B; font-size: 18px; letter-spacing: 2px; }
.icon-bg-gold { background: var(--green-100); color: var(--green-700); }

/* Ancienne class stats */
.stat-item-old {
  text-align: center;
  padding: 40px 24px;
}

/* Carte feature générique */
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t-base);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--t-base);
}
.feature-card:hover .feature-icon {
  background: var(--brand-600);
  color: var(--white);
}
.feature-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--gray-900);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.feature-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Blog card */
.blog-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(30,58,138,.12);
  border-color: var(--brand-200);
}
.blog-card-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}
.blog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-photo img {
  transform: scale(1.04);
}
.blog-card-image {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--brand-100);
}
.blog-card-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.45;
  font-family: var(--font-display);
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.blog-card-date {
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-600);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.blog-card:hover .blog-card-link { gap: 8px; }

/* Featured article */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(15,34,96,.2);
  min-height: 400px;
}
.blog-featured-photo {
  position: relative;
  overflow: hidden;
}
.blog-featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.6s ease;
}
.blog-featured:hover .blog-featured-photo img { transform: scale(1.03); }
.blog-featured-body {
  background: linear-gradient(145deg, var(--brand-900), #0D2347);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

/* Filter pills */
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s;
}
.blog-filter-btn.active, .blog-filter-btn:hover {
  background: var(--brand-600);
  color: white;
  border-color: var(--brand-600);
}

/* Pricing/plan cards */
.plan-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: all var(--t-base);
}
.plan-card.featured {
  background: linear-gradient(145deg, var(--brand-800), var(--brand-600));
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

/* Form elements */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  transition: all var(--t-fast);
  outline: none;
}
.form-input:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(30,58,138,.10);
}
.form-input::placeholder { color: var(--gray-400); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.10);
  color: var(--white);
  font-size: 15px;
  outline: none;
  transition: all var(--t-fast);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.50); background: rgba(255,255,255,.15); }

/* Timeline (pour les pages process) */
.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-brand);
}

/* Security badges */
.security-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--t-base);
}
.security-badge:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-sm);
}
.security-badge-icon {
  width: 40px; height: 40px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
}

/* CTA section générique */
.cta-section {
  background: linear-gradient(155deg, var(--brand-800), var(--brand-600));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p {
  color: rgba(255,255,255,.65);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.40);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.65);
  transform: translateY(-2px);
}

/* FAQ responsive override */
@media (max-width: 768px) {
  .faq-section > .container > div { grid-template-columns: 1fr !important; gap: 32px; }
  .contact-info-item { flex-direction: column; text-align: center; }
}

/* Careers page */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--t-base);
}
.job-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.job-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* About page team cards */
.team-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--t-base);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 200px;
  height: 260px;
  border-radius: 16px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  font-family: var(--font-display);
  overflow: hidden;
  border: 3px solid var(--brand-100);
  box-shadow: 0 4px 24px rgba(30,58,138,.12);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-name { font-weight: 700; color: var(--gray-900); font-size: 17px; margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--green-600); font-weight: 600; margin-bottom: 10px; }
.team-bio { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ============================================================
   PARTNER LOGOS CAROUSEL
   ============================================================ */
.logos-carousel-section {
  padding: 36px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

/* Scrolling track wrapper — masks the edges */
.logos-carousel-track-wrapper {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}
.logos-carousel-track-wrapper:hover .logos-carousel-track {
  animation-play-state: paused;
}

/* The actual scrolling track — doubled set for seamless loop */
.logos-carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logos-scroll 28s linear infinite;
}
@keyframes logos-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual logo items */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  height: 60px;
  flex-shrink: 0;
  border-right: 1px solid var(--gray-200);
}
.logo-item:last-child { border-right: none; }

.logo-item-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: .8;
  transition: opacity var(--t-base);
}
.logo-item-inner:hover {
  opacity: 1;
}

/* Real logo image */
.logo-img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .logos-carousel-section { padding: 40px 0 32px; }
  .logo-item { padding: 0 28px; }
  .logo-name { font-size: 13px; }
  .logo-icon { width: 26px; height: 26px; font-size: 13px; }
}

/* ============================================================
   RESPONSIVE — CORRECTIONS COMPLÈTES
   ============================================================ */

/* ---- TABLET 1024px ---- */
@media (max-width: 1024px) {
  .blog-featured { grid-template-columns: 1fr; min-height: auto; }
  .blog-featured-photo { height: 340px; }
  .blog-featured-body { padding: 40px; }

  .about-mvp-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .about-story-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

  .contact-main-grid { grid-template-columns: 1fr !important; }
  .contact-cards-grid { grid-template-columns: 1fr 1fr !important; }

  .faq-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .faq-grid > div:first-child { position: static !important; }
}

/* ---- MOBILE 768px ---- */
@media (max-width: 768px) {
  /* Grids */
  .grid-2 { grid-template-columns: 1fr !important; }

  /* Blog */
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-photo { height: 260px; }
  .blog-featured-body { padding: 28px 24px; }
  .blog-filters { gap: 6px; }
  .blog-filter-btn { padding: 6px 14px; font-size: 12px; }
  .blog-card-photo { height: 200px; }

  /* Navbar logo — plus compact */
  .navbar-logo { font-size: 16px; padding: 5px 10px 5px 6px; gap: 2px; }
  .navbar-logo-img { height: 22px; }

  /* Hero */
  .hero-stat-value { font-size: 22px; }
  .hero-stat-label { font-size: 11px; }
  .hero-card-main { padding: 20px 16px; }

  /* About */
  .about-mvp-grid { grid-template-columns: 1fr !important; gap: 16px !important; margin-bottom: 48px !important; }
  .about-story-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .team-avatar { width: 160px; height: 210px; }

  /* Contact */
  .contact-cards-grid { grid-template-columns: 1fr !important; gap: 12px !important; transform: none !important; margin-bottom: 40px !important; }
  .contact-main-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .faq-grid > div:first-child { position: static !important; }

  /* Job cards */
  .job-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .job-card .btn { width: 100%; justify-content: center; text-align: center; }

  /* Newsletter */
  .newsletter-form { flex-direction: column !important; }
  .newsletter-form input,
  .newsletter-form button { border-radius: 12px !important; width: 100% !important; }

  /* Page hero */
  .page-hero { padding: 110px 0 56px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 44px) !important; }

  /* Sections à panneaux (solutions) */
  .value-panel.grid-2 { grid-template-columns: 1fr !important; gap: 32px !important; }
  .panel-visual { min-height: 220px; }

  /* CTA banner */
  .cta-banner .display-md { font-size: clamp(22px, 6vw, 32px); }

  /* Sectors inline grid */
  .sectors-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  /* Steps */
  .steps-grid { gap: 24px; }

  /* Trust bar */
  .trust-bar-items { flex-wrap: wrap; gap: 20px; justify-content: center; }

  /* Testimonial card */
  .testimonial-card { padding: 24px 20px; }

  /* Footer logo */
  .footer-logo { font-size: 17px; }
  .footer-logo-img { height: 24px; }
}

/* ---- SMALL MOBILE 480px ---- */
@media (max-width: 480px) {
  /* Container padding */
  .container { padding: 0 16px; }

  /* Hero stats — 2×2 grid */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-stat { border-right: none !important; border-bottom: none !important; }
  .hero-stat-value { font-size: 20px; }

  /* Blog featured */
  .blog-featured-photo { height: 200px; }
  .blog-featured-body { padding: 20px 16px; }
  .blog-featured-body h2 { font-size: 18px !important; }

  /* Blog cards photo smaller */
  .blog-card-photo { height: 180px; }

  /* Team section */
  .team-avatar { width: 140px; height: 180px; }

  /* Stats section */
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 0 !important; }
  .stat-item { padding: 24px 16px; }

  /* Sectors */
  .sectors-grid { grid-template-columns: 1fr 1fr !important; }

  /* Page hero */
  .page-hero { padding: 90px 0 48px; }

  /* Navbar logo minimal */
  .navbar-logo { font-size: 15px; padding: 4px 8px 4px 5px; }
  .navbar-logo-img { height: 20px; }

  /* Headings */
  .display-lg { font-size: clamp(26px, 8vw, 44px); }
  .display-md { font-size: clamp(20px, 6vw, 32px); }
  .display-sm { font-size: clamp(18px, 5vw, 26px); }

  /* Buttons */
  .btn-lg { padding: 14px 24px; font-size: 15px; }

  /* Contact cards */
  .contact-cards-grid { grid-template-columns: 1fr !important; }

  /* About mission grid */
  .about-mvp-grid > div { padding: 24px !important; }

  /* Footer bottom */
  .footer-bottom { gap: 12px; }
  .footer-legal-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
}
