/* GP Solutions — High-Contrast Edition */

:root {
  --blue-deep:    #0D2540;
  --blue-mid:     #1A4A8A;
  --blue-accent:  #2563EB;
  --green:        #16A34A;
  --green-light:  #22C55E;
  --gold:         #B8860B;
  --gold-light:   #F5C518;
  --white:        #FFFFFF;
  --off-white:    #F8FAFC;
  --surface:      #EEF2F7;
  --surface-green:#EDF7F1;
  --ink:          #0A1628;
  --ink-muted:    #475569;
  --border:       #CBD5E1;
  --border-dark:  #94A3B8;
  --shadow-sm:    0 1px 3px rgba(10,22,40,.12), 0 1px 2px rgba(10,22,40,.08);
  --shadow-md:    0 4px 16px rgba(10,22,40,.14), 0 2px 6px rgba(10,22,40,.10);
  --shadow-lg:    0 12px 40px rgba(10,22,40,.18), 0 4px 12px rgba(10,22,40,.12);
  --shadow-xl:    0 24px 64px rgba(10,22,40,.24), 0 8px 24px rgba(10,22,40,.16);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 700; color: var(--ink); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p  { font-size: 1rem; line-height: 1.75; color: var(--ink-muted); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 32px rgba(10,22,40,.10);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }

/* ── Badge : image sur fond noir ── */
.nav-logo-badge {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: #000;
  border: 1.5px solid rgba(255,255,255,0.12);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34,197,94,0);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav-logo:hover .nav-logo-badge {
  border-color: rgba(34,197,94,0.5);
  box-shadow: 0 0 16px rgba(34,197,94,0.25);
}
.nav-logo-badge img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Wordmark ── */
.nav-logo-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 0.35s;
}
.nav-logo-wordmark em {
  font-style: italic;
  color: #e53e3e;  /* rouge du logo */
  -webkit-text-fill-color: #e53e3e;
}
.navbar.scrolled .nav-logo-wordmark { color: #0D2540; }
.navbar.scrolled .nav-logo-wordmark em { color: #cc2222; -webkit-text-fill-color: #cc2222; }
.navbar.scrolled .nav-logo-badge { border-color: rgba(0,0,0,0.15); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: color 0.2s;
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green-light);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.navbar.scrolled .nav-links a { color: var(--ink-muted); }
.navbar.scrolled .nav-links a:hover { color: var(--green); }
.navbar.scrolled .nav-links a::after { background: var(--green); }

.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 2px 8px rgba(22,163,74,.4) !important;
  transition: all 0.2s ease !important;
  border: 2px solid transparent !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue-deep) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(10,22,40,.3) !important; }
.navbar.scrolled .nav-cta { color: #fff !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
.navbar.scrolled .hamburger span { background: var(--ink); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--green); }

/* ===== HERO — CANVAS BACKGROUND ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #030a17;
}

/* Canvas covers full hero */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Bottom fade to white */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, #030a17 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

/* ── Hero badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(22,163,74,0.14);
  color: #4ade80;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(34,197,94,0.4);
  backdrop-filter: blur(10px);
  opacity: 0; /* animated in by Motion One */
}
.hero-badge svg { width: 14px; height: 14px; }

/* ── Hero title ── */
.hero-title {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  /* no text-shadow needed — canvas bg is dark */
}
.hero-title em {
  font-style: italic;
  /* fallback color pour no-JS (texte non splitté) */
  color: #4ade80;
}
/* après splitWords(), le gradient s'applique sur le span portant le texte réel */
.hero-title em .split-word {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero subtitle ── */
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.5rem;
  line-height: 1.85;
  max-width: 520px;
  opacity: 0; /* animated in */
}
.hero-subtitle strong { color: rgba(255,255,255,0.95); font-weight: 600; }

/* ── CTAs ── */
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: box-shadow 0.25s ease, filter 0.25s ease;
  border: none;
  box-shadow: 0 4px 20px rgba(22,163,74,.45), 0 0 0 0 rgba(34,197,94,.4);
  will-change: transform;
  opacity: 0; /* animated in */
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(22,163,74,.55), 0 0 0 6px rgba(34,197,94,.12);
  filter: brightness(1.08);
}
.btn-primary svg { transition: transform 0.25s ease; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-2px);
}
.hero-trust { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-trust-item svg { color: #4ade80; width: 15px; height: 15px; flex-shrink: 0; }

/* Hero right panel */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.10);
  transition: background 0.3s ease, border-color 0.3s ease;
  opacity: 0; /* animated in */
  cursor: default;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,197,94,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(34,197,94,0.35); }
.hero-card:hover::before { opacity: 1; }
.hero-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}
.hero-card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 20px; height: 20px; }
.hero-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.hero-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0; /* animated in */
}
.hero-scroll-hint svg { width: 20px; height: 20px; }

/* ===== STATS BAND ===== */
.stats-band {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0f2548 100%);
  padding: 4rem 2rem;
  border-top: 3px solid var(--green);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  color: #fff;
  opacity: 0; /* animated in */
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 20px rgba(245,197,24,.4);
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ===== SECTION BASE ===== */
.section { padding: 7rem 2rem; }
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(22,163,74,.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(22,163,74,.2);
  margin-bottom: 1.25rem;
  padding: 0.35rem 1rem;
  background: rgba(22,163,74,0.09);
  border-radius: 100px;
  border: 1px solid rgba(22,163,74,0.25);
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.section-tag {
  /* ... styles kept above ... */
  opacity: 0; /* animated in */
}
.section-title {
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
  opacity: 0; /* animated in */
}
.section-subtitle {
  opacity: 0; /* animated in */
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Divider accent */
.section-divider {
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue-accent));
  border-radius: 100px;
  margin: 1.5rem auto 0;
  transform-origin: left center;
  /* animated in by Motion One via scaleX */
}

/* ===== WHY GP SOLUTIONS ===== */
.why-section { background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.why-card {
  background: var(--white);
  border-radius: 22px;
  padding: 2.5rem;
  border: 1.5px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
  opacity: 0; /* animated in */
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue-mid));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.why-card:hover { box-shadow: var(--shadow-xl); border-color: rgba(22,163,74,.3); }
.why-card:hover::before { transform: scaleX(1); }
.why-card-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(10,22,40,.1);
}
.why-card-icon svg { width: 28px; height: 28px; }
.why-card h3 { color: var(--blue-deep); margin-bottom: 0.75rem; }
.why-card p { font-size: 0.9rem; }

/* ===== EXPERTISE ===== */
.expertise-section {
  background: #07111f;
  background-image:
    radial-gradient(ellipse at 15% 50%, rgba(22,163,74,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(37,99,235,.10) 0%, transparent 55%);
}
.expertise-section .section-tag { color: #4ade80; background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.25); }
.expertise-section .section-tag::before { background: var(--green-light); }
.expertise-section .section-title { color: #fff; }
.expertise-section .section-subtitle { color: rgba(255,255,255,0.6); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.expertise-card {
  background: rgba(255,255,255,0.04);
  border-radius: 22px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  will-change: transform;
  opacity: 0; /* animated in */
}
.expertise-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.expertise-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(34,197,94,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
}
.expertise-card:hover::after { transform: scaleX(1); }
.expertise-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 0.5rem; right: 1.25rem;
  line-height: 1;
}
.expertise-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.expertise-icon svg { width: 26px; height: 26px; }
.expertise-card h3 { color: #fff; margin-bottom: 0.75rem; font-size: 1.05rem; }
.expertise-body .expertise-quote {
  border-left: 3px solid rgba(34,197,94,.5);
  padding-left: 0.9rem;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,.6);
  font-size: 0.82rem;
  line-height: 1.65;
}
.expertise-body .expertise-quote strong { color: rgba(255,255,255,.9); }
.expertise-body .expertise-quote:last-child { margin-bottom: 0; }
.expertise-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-light);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 1rem;
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
.expertise-link svg { width: 14px; height: 14px; }
.expertise-card:hover .expertise-link { gap: 0.7rem; }

/* ===== PRODUCTS ===== */
.products-section { background: var(--white); }
.products-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.product-tab {
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  border: 2px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink-muted);
  background: var(--white);
  letter-spacing: 0.01em;
}
.product-tab.active, .product-tab:hover {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--blue-deep);
  box-shadow: var(--shadow-md);
}
.products-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.products-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green);
}
.product-card-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.45s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-image svg { width: 68px; height: 68px; opacity: 0.9; transition: transform 0.3s; }
.product-card:hover .product-card-image svg { transform: scale(1.12); }
.product-card-body { padding: 1.5rem; }
.product-card-category {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.product-card h3 { color: var(--blue-deep); font-size: 1rem; margin-bottom: 0.5rem; }
.product-card p { font-size: 0.8rem; }
.product-specs {
  margin-top: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.spec-row { display: grid; grid-template-columns: 110px 1fr; gap: 0.5rem; align-items: baseline; }
.spec-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.spec-value { font-size: 0.8rem; color: var(--ink); line-height: 1.45; font-weight: 500; }
.product-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.product-tag {
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  border: 1px solid var(--border);
}
.product-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 1rem;
  transition: gap 0.2s;
}
.product-cta-link svg { width: 13px; height: 13px; }
.product-card:hover .product-cta-link { gap: 0.6rem; }

/* ===== PROCESS ===== */
.process-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue-mid));
  opacity: 0.25;
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; opacity: 0; /* animated in */ }
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-deep);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.process-step:hover .process-step-num {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
  transform: scale(1.08);
}
.process-step h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.process-step p { font-size: 0.78rem; color: var(--ink-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--blue-deep);
  background-image:
    radial-gradient(ellipse at 10% 50%, rgba(22,163,74,.12), transparent 60%),
    radial-gradient(ellipse at 90% 50%, rgba(26,74,138,.2), transparent 60%);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold-light), var(--green));
}
.cta-inner { max-width: 820px; margin: 0 auto; }
.cta-section .section-tag { color: var(--gold-light); background: rgba(245,197,24,.1); border-color: rgba(245,197,24,.3); }
.cta-section .section-tag::before { background: var(--gold-light); }
.cta-section .section-title { color: #fff; margin-bottom: 1.25rem; }
.cta-section p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--blue-deep);
  padding: 1rem 2.4rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,.45);
  transition: all 0.2s;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ===== CONTACT ===== */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info h3 { color: var(--blue-deep); margin-bottom: 1.5rem; font-size: 1.5rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact-detail-icon svg { width: 20px; height: 20px; color: var(--blue-deep); }
.contact-detail-text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}
.contact-detail-text span { font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 2.75rem;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-weight: 500;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  background: var(--blue-deep);
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}
.form-submit:hover { background: var(--green); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(22,163,74,.35); }

/* ===== FOOTER ===== */
footer {
  background: #060E1A;
  color: rgba(255,255,255,.7);
  padding: 5rem 2rem 2.5rem;
  border-top: 3px solid var(--green);
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2.5rem;
}
.footer-brand > p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  margin-top: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.75;
}
.footer-logo { display: flex; align-items: center; gap: 0.7rem; }
.footer-logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue-mid), var(--green));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.05rem;
}
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.footer-certifs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.certif-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  transition: all 0.2s;
}
.social-link:hover { background: var(--green); color: #fff; border-color: var(--green); }
.social-link svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  transition: color 0.2s;
  font-weight: 500;
}
.footer-col ul li a:hover { color: var(--green-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,.3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.3); font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

/* ===== TAB CATEGORY BANNER ===== */
.tab-hero {
  position: relative;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
}
.tab-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tab-hero:hover img { transform: scale(1.04); }
.tab-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.85) 0%, rgba(10,22,40,.3) 60%, transparent 100%);
}
.tab-hero-text {
  position: relative;
  z-index: 1;
  padding: 1.75rem 2rem;
  width: 100%;
}
.tab-hero-text h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.tab-hero-text p {
  color: rgba(255,255,255,.75);
  font-size: 0.875rem;
  margin: 0;
}
.tab-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(22,163,74,.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

/* ===== SPLIT SECTION (image + texte) ===== */
.split-section {
  padding: 0;
  overflow: hidden;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split-image {
  position: relative;
  overflow: hidden;
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.split-image:hover img { transform: scale(1.03); }
.split-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.5) 0%, transparent 60%);
}
.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background: var(--blue-deep);
}
.split-content-light {
  background: var(--off-white);
}
.split-content .section-title { color: #fff; margin-bottom: 1.5rem; }
.split-content-light .section-title { color: var(--blue-deep); }
.split-content p { color: rgba(255,255,255,.7); margin-bottom: 1rem; line-height: 1.8; font-size: 0.95rem; }
.split-content-light p { color: var(--ink-muted); }
.split-certifs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.split-certif {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  letter-spacing: 0.5px;
}
.split-certif-dark {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

/* ===== EXPERTISE CARD IMAGE ===== */
.expertise-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}
.expertise-card:hover .expertise-card-img { opacity: 1; transform: scale(1.02); }

@media (max-width: 1024px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-image { height: 320px; }
  .split-content { padding: 3rem 2rem; }
}

/* ===== ANIMATIONS — WAAPI gère toutes les entrées ===== */
/* Les éléments démarrent invisibles, WAAPI les anime avec fill:'forwards' */
.fade-up { opacity: 0; }

/* Reduced motion : tout visible immédiatement */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .why-card, .expertise-card, .stat-item, .process-step,
  .hero-badge, .hero-subtitle, .hero-card, .hero-scroll-hint,
  .section-tag, .section-title, .section-subtitle, .section-divider,
  .hero-trust-item, .split-word, .contact-detail, .contact-form,
  .split-img-col, .split-text-col, .product-card,
  .contact-info, .cta-buttons, .split-image, .split-content, .split-certifs {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Fallback JS-disabled: tout visible */
@media (scripting: none) {
  .fade-up, .section-tag, .section-title, .section-subtitle,
  .contact-info, .cta-buttons, .split-certifs {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--blue-deep);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,255,255,.15);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--green); transform: translateY(-2px); }
.scroll-top svg { width: 22px; height: 22px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 8rem 2rem 5rem; }
  .hero-subtitle { max-width: 100%; }
  .hero-ctas { justify-content: flex-start; }
  .hero-panel { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .products-grid-4, .products-grid-3 { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .products-grid-4, .products-grid-3 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .spec-row { grid-template-columns: 90px 1fr; }
  .hero-ctas { flex-direction: column; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-up { opacity: 1; transform: none; }
}
*:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   BENTO GRID SYSTEM
   ============================================================ */

/* ── Section wrapper ── */
.bento-section {
  padding: 7rem 0;
  background: #060e1c;
  position: relative;
  overflow: hidden;
}
.bento-section::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(22,197,94,.06) 0%, transparent 70%);
  pointer-events: none;
}
.bento-section.bento-dark {
  background: #040b18;
}
.bento-section.bento-dark::before {
  background: radial-gradient(ellipse at center, rgba(37,99,235,.07) 0%, transparent 70%);
}
.bento-section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Section header ── */
.bento-section-header {
  margin-bottom: 3.5rem;
}
.bento-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 100px;
}
.bento-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.bento-section-header h2 em {
  font-style: italic;
  background: linear-gradient(135deg, #22c55e, #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Base grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

/* ── Base card ── */
.bc {
  background: #0b1a2e;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.75rem;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.5s ease, transform 0.5s ease;
}
.bc:hover {
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 8px 40px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.06) inset;
}
.bc.visible {
  opacity: 1;
  transform: none;
}

/* ── Column spans ── */
.bc-3  { grid-column: span 3; }
.bc-4  { grid-column: span 4; }
.bc-5  { grid-column: span 5; }
.bc-6  { grid-column: span 6; }
.bc-7  { grid-column: span 7; }
.bc-8  { grid-column: span 8; }
.bc-12 { grid-column: span 12; }

/* ── Row spans ── */
.br-2  { grid-row: span 2; }
.br-3  { grid-row: span 3; }

/* ============================================================
   FLAGSHIP CARD
   ============================================================ */
.bc-flagship {
  background: linear-gradient(145deg, #0e2244 0%, #071526 55%, #060f1e 100%);
  border-color: rgba(34,197,94,.15);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bc-flagship::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(34,197,94,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(37,99,235,.07) 0%, transparent 60%);
  pointer-events: none;
}
.bc-flagship-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.025) 39px, rgba(255,255,255,.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.025) 39px, rgba(255,255,255,.025) 40px);
  pointer-events: none;
}
.bc-flagship-content { position: relative; z-index: 1; }
.bc-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.25rem;
}
.bc-flagship-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.bc-flagship-title em {
  font-style: italic;
  color: #86efac;
}
.bc-flagship-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 1.75rem;
}
.bc-flagship-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bc-fstat { display: flex; flex-direction: column; }
.bc-fstat strong {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bc-fstat span {
  font-size: 0.72rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

/* Supply chain nodes animation */
.bc-flagship-chain {
  display: flex;
  align-items: center;
}
.chain-node {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  flex-shrink: 0;
  animation: chainPulse 3s ease-in-out infinite;
}
.chain-node:nth-child(1) { animation-delay: 0s; border-color: rgba(34,197,94,.4); color: #4ade80; }
.chain-node:nth-child(3) { animation-delay: 0.6s; }
.chain-node:nth-child(5) { animation-delay: 1.2s; }
.chain-node:nth-child(7) { animation-delay: 1.8s; }
.chain-node-last       { animation-delay: 2.4s; border-color: rgba(201,168,76,.35); color: #d4aa50; }
@keyframes chainPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50%     { box-shadow: 0 0 0 6px rgba(255,255,255,.04); }
}
.chain-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  position: relative; overflow: hidden;
}
.chain-line::after {
  content: '';
  position: absolute; top: -1px; left: -100%;
  width: 50%; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,.6), transparent);
  animation: chainFlow 2.5s linear infinite;
}
.chain-line:nth-child(2)::after { animation-delay: 0.6s; }
.chain-line:nth-child(4)::after { animation-delay: 1.2s; }
.chain-line:nth-child(6)::after { animation-delay: 1.8s; }
@keyframes chainFlow {
  0%  { left: -50%; }
  100%{ left: 150%; }
}

/* ============================================================
   MADE IN FRANCE CARD
   ============================================================ */
.bc-mif {
  background: linear-gradient(145deg, #0d1f35, #091729);
  border-color: rgba(255,255,255,.08);
}
.bc-mif-flag {
  display: flex; height: 5px;
  border-radius: 3px; overflow: hidden;
  width: 44px; margin-bottom: 1.25rem; gap: 2px;
}
.flag-blue  { flex: 1; background: #0055A4; border-radius: 2px; }
.flag-white { flex: 1; background: #FFFFFF; }
.flag-red   { flex: 1; background: #EF4135; border-radius: 2px; }
.bc-mif h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: #fff; margin-bottom: 0.6rem;
}
.bc-mif p {
  font-size: 0.8rem; color: rgba(255,255,255,.5);
  line-height: 1.6; margin-bottom: 1rem;
}
.bc-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.bc-badges span {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; padding: 0.2rem 0.55rem;
}

/* ============================================================
   CLÉ EN MAIN CARD
   ============================================================ */
.bc-cle { display: flex; flex-direction: column; }
.bc-cle h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: #fff; margin-bottom: 1rem;
}
.bc-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.bc-checklist li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; color: rgba(255,255,255,.55); line-height: 1.4;
}
.bc-checklist li svg { width: 13px; height: 13px; flex-shrink: 0; color: #4ade80; }
.bc-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.25rem; font-size: 0.76rem; font-weight: 700;
  color: #4ade80; transition: gap 0.2s ease;
}
.bc-cta svg { width: 13px; height: 13px; }
.bc-cta:hover { gap: 0.85rem; }

/* ============================================================
   STAT CARDS
   ============================================================ */
.bc-stat {
  display: flex; flex-direction: column;
  justify-content: flex-end; min-height: 160px;
}
.bc-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 800; line-height: 1;
  color: #fff; margin-bottom: 0.4rem;
}
.bc-stat-num sup { font-size: 50%; vertical-align: super; color: rgba(255,255,255,.5); }
.bc-stat-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.bc-stat-icon {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 34px; height: 34px; color: rgba(255,255,255,.12);
}
.bc-stat-icon svg { width: 100%; height: 100%; }
.bc-stat-green .bc-stat-num {
  background: linear-gradient(135deg, #22c55e, #86efac);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bc-stat-green .bc-stat-icon { color: rgba(34,197,94,.18); }

/* ============================================================
   CERTIFICATIONS CARD
   ============================================================ */
.bc-certif h4 {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 1rem;
}
.cert-stack { display: flex; flex-direction: column; gap: 0.5rem; }
.cert-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,.65);
}
.cert-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cert-green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.cert-blue  { background: #3b82f6; box-shadow: 0 0 6px rgba(59,130,246,.5); }
.cert-gold  { background: #d4aa50; box-shadow: 0 0 6px rgba(212,170,80,.5); }
.cert-red   { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,.5); }

/* ============================================================
   MONACO CARD
   ============================================================ */
.bc-monaco {
  background: linear-gradient(145deg, #0e1a2e, #091525);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
}
.bc-monaco-pin { width: 30px; height: 30px; color: #e53e3e; margin-bottom: 0.75rem; }
.bc-monaco-pin svg { width: 100%; height: 100%; }
.bc-monaco-city {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem;
}
.bc-monaco-sub { font-size: 0.72rem; color: rgba(255,255,255,.38); line-height: 1.6; }

/* ============================================================
   EXPERTISE BENTO
   ============================================================ */
.bc-expertise-card { display: flex; flex-direction: column; }
.expertise-num-bento {
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 2px; color: rgba(255,255,255,.18);
  margin-bottom: 0.5rem;
}
.bc-expertise-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.65rem;
}
.bc-expertise-icon svg { width: 18px; height: 18px; }
.bc-expertise-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 0.4rem;
}
.bc-expertise-card p { font-size: 0.78rem; color: rgba(255,255,255,.42); line-height: 1.6; flex: 1; }
.bc-expertise-link {
  font-size: 0.73rem; font-weight: 700;
  color: rgba(255,255,255,.3); transition: color 0.2s ease; margin-top: 0.75rem;
}
.bc-expertise-link:hover { color: #22c55e; }

.bc-gold-tint   { border-color: rgba(201,168,76,.15); }
.bc-purple-tint { border-color: rgba(123,45,139,.2); }
.bc-blue-tint   { border-color: rgba(37,99,235,.15); }

/* Image bg card */
.bc-img-bg { position: relative; padding: 0; min-height: 260px; }
.bc-img-bg.bc-img-short { min-height: 200px; }
.bc-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.bc-img-bg:hover .bc-bg-img { transform: scale(1.04); }
.bc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,14,28,.95) 0%, rgba(6,14,28,.6) 50%, rgba(6,14,28,.18) 100%);
}
.bc-img-overlay-heavy {
  background: linear-gradient(to top, rgba(4,11,24,.98) 0%, rgba(4,11,24,.75) 50%, rgba(4,11,24,.35) 100%);
}
.bc-img-content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem;
}
.bc-img-content .expertise-num-bento { color: rgba(255,255,255,.3); }
.bc-img-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: 0.5rem; line-height: 1.25;
}
.bc-img-content p { font-size: 0.78rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 1rem; }
.bc-img-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; color: #4ade80; transition: gap 0.2s ease;
}
.bc-img-link svg { width: 13px; height: 13px; }
.bc-img-link:hover { gap: 0.85rem; }
.bc-certif-row { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.bc-certif-row span {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px; padding: 0.18rem 0.45rem;
}

/* ============================================================
   BENTO RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .bc-7 { grid-column: span 12; }
  .bc-5 { grid-column: span 6; }
  .bc-3 { grid-column: span 6; }
  .bc-4 { grid-column: span 6; }
  .br-2 { grid-row: span 1; }
  .bc-flagship { min-height: auto; }
  .bento-grid-expertise .bc-5.bc-img-bg { grid-column: span 12; }
}
@media (max-width: 768px) {
  .bc,
  .bc-3, .bc-4, .bc-5, .bc-6,
  .bc-7, .bc-8, .bc-12 { grid-column: 1 / -1; }
  .bc-flagship-chain { display: none; }
  .bc-flagship-stats { flex-wrap: wrap; gap: 1rem; }
  .bento-section { padding: 4.5rem 0; }
  .bento-section-header h2 { font-size: 2rem; }
  .bc-img-bg, .bc-img-bg.bc-img-short { min-height: 220px; }
}
