/* ============================================================
   BE ACADEMY — DESIGN SYSTEM
   Palette bleu/rouge inspirée du logo (Be Helpful Academy), sur
   fond clair froid. Toutes les pages du site partagent ce fichier.
   ============================================================ */

:root {
  --bg: #f4f6fb;
  --bg-2: #e8edf8;
  --ink: #0a1e42;
  --ink-soft: #1e3a6e;
  --mute: #64708c;
  --line: #d7deee;
  --ghost: #c2cee6;
  --card-bg: #fbfcfe;
  --on-dark: #e6ecfb;
  --blue-1: #0a2f8f;
  --blue-2: #1747c4;
  --blue-3: #3b6bdb;
  --blue-4: #9db8f2;
  --red-1: #8a0000;
  --red-2: #c80405;
  --red-3: #e13a3a;
  --red-4: #f2a3a3;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body {
  background: radial-gradient(120% 70% at 50% 0%, #f9fafd 0%, #f0f3fb 60%, #e4eaf7 100%);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible {
  outline: 2.5px solid var(--red-2);
  outline-offset: 3px;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 3px rgba(200, 4, 5, 0.2);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 246, 251, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(10, 25, 55, 0.25);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 16px;
  text-decoration: none;
  color: var(--ink);
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--blue-1), var(--red-2));
  box-shadow: 0 4px 8px -2px rgba(10, 40, 120, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 3px rgba(10, 20, 60, 0.3);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  background: var(--ink);
  color: #f7f9fd;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.4), 0 4px 8px -2px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav-cta:hover { transform: translateY(-2px); }

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--bg);
  padding: 100px 32px 40px;
  display: none;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .nav-cta { margin-top: 24px; align-self: flex-start; }

/* ============ BUTTONS (shared) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1), background 0.3s, color 0.3s;
}
.btn-dark {
  background: var(--ink);
  color: #f7f9fd;
  box-shadow: 0 14px 24px -8px rgba(0, 0, 0, 0.4), 0 5px 10px -2px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}
.btn-dark:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #f7f9fd; }
.btn-accent {
  background: linear-gradient(135deg, var(--red-1), var(--red-2));
  color: #fff;
  box-shadow: 0 14px 24px -8px rgba(200, 4, 5, 0.45);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-block { width: 100%; justify-content: center; }
.btn .ar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red-1), var(--red-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ============ PAGE HERO (bannière des pages internes) ============ */
.page-hero {
  padding: 170px 32px 70px;
  text-align: center;
  position: relative;
  z-index: 5;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 820px;
  margin: 0 auto;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-2), var(--red-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p {
  margin: 18px auto 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
}

/* ============ SECTION / LAYOUT UTILITIES ============ */
.section { padding: 90px 40px; position: relative; z-index: 5; }
.section-tight { padding: 50px 40px 90px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-inner-md { max-width: 920px; margin: 0 auto; }

.section-head,
.team-head {
  max-width: 1280px;
  margin: 0 auto 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section-head h2,
.team-head h2 {
  font-weight: 700;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 620px;
}
.section-head h2 em,
.team-head h2 em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-2), var(--red-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p,
.team-head p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 340px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.badge-accent {
  background: rgba(23, 71, 196, 0.1);
  color: var(--blue-2);
  border-color: rgba(23, 71, 196, 0.25);
}

/* ============ HERO (Accueil uniquement) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 32px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.small-team {
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 92px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  text-align: center;
  z-index: 4;
  position: relative;
}
.small-team .word { display: inline-block; overflow: hidden; vertical-align: top; }
.small-team .word > span { display: inline-block; transform: translateY(105%); }

.big-results-wrap {
  position: relative;
  width: 100%;
  margin-top: -20px;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.big-results {
  font-style: italic;
  font-weight: 800;
  font-size: clamp(110px, 21vw, 300px);
  letter-spacing: -0.045em;
  line-height: 0.85;
  color: var(--ghost);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
  text-shadow: 0 4px 12px rgba(120, 100, 50, 0.04);
}
.big-results .letter { display: inline-block; transform-origin: bottom; }

.cards-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 340px;
  z-index: 3;
  pointer-events: none;
}
.cards-row > * { pointer-events: auto; }

.card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-1) 0%, var(--blue-2) 35%, var(--blue-3) 70%, var(--blue-4) 100%);
  box-shadow: 0 30px 50px -16px rgba(10, 40, 110, 0.5), 0 14px 26px -8px rgba(8, 30, 90, 0.32),
    0 5px 10px -2px rgba(5, 20, 60, 0.2), inset 0 2px 0 rgba(210, 225, 255, 0.45),
    inset 0 -4px 8px rgba(5, 20, 70, 0.4);
  cursor: pointer;
  will-change: transform;
  transition: box-shadow 0.5s cubic-bezier(0.6, 0, 0.2, 1);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.25) 0%, transparent 30%, transparent 70%, rgba(8, 18, 55, 0.25) 100%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 2;
}
.card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.card:hover {
  box-shadow: 0 44px 70px -20px rgba(10, 40, 110, 0.6), 0 22px 38px -10px rgba(8, 30, 90, 0.38),
    0 8px 14px -3px rgba(5, 20, 60, 0.22), inset 0 2px 0 rgba(210, 225, 255, 0.5),
    inset 0 -4px 8px rgba(5, 20, 70, 0.4);
}

.card-1 { width: 160px; height: 220px; left: 4%;  top: 55px;  z-index: 2; }
.card-2 { width: 205px; height: 280px; left: 23%; top: 15px;  z-index: 4; }
.card-3 { width: 250px; height: 335px; left: 44%; top: -10px; z-index: 5; }
.card-4 { width: 205px; height: 280px; left: 65%; top: 15px;  z-index: 4; }
.card-5 { width: 160px; height: 220px; left: 84%; top: 55px;  z-index: 2; }

.subline { margin-top: 180px; text-align: center; z-index: 4; position: relative; }
.subline .arrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #f7f9fd;
  border: none;
  padding: 12px 20px 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 14px 24px -8px rgba(0, 0, 0, 0.4), 0 5px 10px -2px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.subline .arrow-pill:hover { transform: translateY(-2px); }
.subline .arrow-pill .ar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red-1), var(--red-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.subline .arrow-pill:hover .ar { transform: rotate(45deg); }
.subline-text { margin-top: 22px; font-size: 13px; color: var(--mute); letter-spacing: 0.06em; }

/* ============ MARQUEE / TICKER ============ */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-track span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.marquee-track span::before { content: "●"; color: var(--red-2); font-size: 8px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ TEAM / MENTORS GRID (réutilisé Accueil + À Propos) ============ */
.team-section { padding: 120px 40px 80px; position: relative; z-index: 5; }
.team-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.t-card {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-1) 0%, var(--blue-2) 35%, var(--blue-3) 70%, var(--blue-4) 100%);
  position: relative;
  box-shadow: 0 24px 40px -16px rgba(10, 40, 110, 0.4), 0 10px 22px -6px rgba(8, 30, 90, 0.22),
    inset 0 2px 0 rgba(210, 225, 255, 0.4), inset 0 -3px 6px rgba(5, 20, 70, 0.3);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1), box-shadow 0.5s;
}
.t-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.22) 0%, transparent 30%, transparent 70%, rgba(8, 18, 55, 0.22) 100%);
  pointer-events: none;
  z-index: 2;
}
.t-card:hover { transform: translateY(-10px) rotate(-1deg); }
.t-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.t-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(8, 16, 40, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f7f9fd;
  padding: 12px 16px;
  border-radius: 14px;
  z-index: 3;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.t-card:hover .t-meta { transform: translateY(0); opacity: 1; }
.t-meta .nm { font-weight: 700; font-size: 14px; }
.t-meta .rl { font-size: 11px; color: rgba(255, 255, 255, 0.65); margin-top: 2px; letter-spacing: 0.03em; }

/* ============ FEATURE GRID (Pourquoi BE Academy / Pédagogie) ============ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1280px; margin: 0 auto; }
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--line);
  transition: transform 0.4s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .fi {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }

/* ============ DOMAIN CARDS (aperçu des domaines) ============ */
.domains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1280px; margin: 0 auto; }
.domain-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.4s;
}
.domain-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 4, 5, 0.35), transparent 65%);
  top: -100px;
  right: -80px;
  filter: blur(20px);
}
.domain-card:hover { transform: translateY(-6px); }
.domain-card .dn { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red-3); position: relative; z-index: 1; }
.domain-card h3 { font-size: 20px; font-weight: 700; margin-top: 10px; position: relative; z-index: 1; }
.domain-card .dc { font-size: 12px; color: var(--mute); margin-top: 6px; position: relative; z-index: 1; }
.domain-card .da { margin-top: 16px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: #fff; position: relative; z-index: 1; }

/* ============ TESTIMONIALS ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-stars { color: var(--red-2); font-size: 13px; letter-spacing: 2px; }
.testi-quote { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testi-who .n { font-size: 13px; font-weight: 700; }
.testi-who .p { font-size: 11.5px; color: var(--mute); }

/* ============ NEWSLETTER BAND ============ */
.newsletter-band {
  background: linear-gradient(120deg, var(--blue-1), var(--blue-2));
  border-radius: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-band h3 { font-size: 24px; font-weight: 700; max-width: 420px; position: relative; z-index: 1; }
.newsletter-band p { font-size: 13px; opacity: 0.9; margin-top: 8px; position: relative; z-index: 1; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.newsletter-form input {
  padding: 13px 18px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  min-width: 240px;
}
.newsletter-form button {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.newsletter-msg { font-size: 12.5px; margin-top: 10px; opacity: 0.95; position: relative; z-index: 1; }

/* ============ STATS SECTION ============ */
.stats { padding: 80px 40px 140px; position: relative; z-index: 5; }
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 36px;
  padding: 80px 60px;
  color: var(--on-dark);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: end;
  box-shadow: 0 40px 80px -30px rgba(20, 8, 0, 0.45), 0 16px 32px -12px rgba(20, 8, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -3px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.stats-inner::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 4, 5, 0.35), transparent 65%);
  top: -200px;
  right: -100px;
  filter: blur(40px);
}
.stats-inner::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 184, 242, 0.25), transparent 65%);
  bottom: -150px;
  left: 20%;
  filter: blur(30px);
}
.stats h3 { font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -0.03em; position: relative; z-index: 1; }
.stats h3 em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-4), var(--red-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-block { position: relative; z-index: 1; }
.stat-block .num {
  font-weight: 700;
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-block .num small { font-size: 0.42em; color: var(--mute); font-weight: 500; }
.stat-block .lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mute);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============ TIMELINE (À Propos) ============ */
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 34px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 4px rgba(200, 4, 5, 0.15);
}
.timeline-item .ty { font-size: 12px; font-weight: 700; color: var(--red-2); letter-spacing: 0.06em; }
.timeline-item h4 { font-size: 19px; font-weight: 700; margin-top: 6px; letter-spacing: -0.01em; }
.timeline-item p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; line-height: 1.6; max-width: 560px; }

/* ============ FILTER TABS (Formations / Ressources) ============ */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 0 auto 50px; max-width: 1280px; }
.filter-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s;
}
.filter-tab.active,
.filter-tab:hover { background: var(--ink); border-color: var(--ink); color: #f7f9fd; }

/* ============ FORMATION CARDS ============ */
.formations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.formation-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s;
}
.formation-card:hover { transform: translateY(-6px); }
.formation-card .fc-img { width: 100%; height: 170px; overflow: hidden; }
.formation-card .fc-img img { width: 100%; height: 100%; object-fit: cover; }
.formation-card .fc-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.formation-card .fc-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.formation-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.formation-card .fc-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.formation-card .fc-meta { font-size: 12px; color: var(--mute); display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.formation-card .fc-cta { margin-top: 8px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--mute); font-size: 14px; grid-column: 1 / -1; }

/* ============ EVENT LIST ============ */
.events-list { display: flex; flex-direction: column; gap: 18px; max-width: 920px; margin: 0 auto; }
.event-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}
.event-date { background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 8px; text-align: center; }
.event-date .d { font-size: 24px; font-weight: 700; line-height: 1; }
.event-date .m { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-4); margin-top: 4px; }
.event-body h3 { font-size: 16px; font-weight: 700; }
.event-body .em { font-size: 12.5px; color: var(--mute); margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.event-body .ed { font-size: 13px; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; max-width: 480px; }
.event-cta { text-align: right; }
.event-places { font-size: 11px; color: var(--mute); margin-top: 8px; }

/* ============ RESOURCE CARDS ============ */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.resource-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s;
}
.resource-card:hover { transform: translateY(-6px); }
.resource-card .ri {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-card h3 { font-size: 16px; font-weight: 700; }
.resource-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; flex: 1; }

/* ============ BLOG CARDS ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card .bc-img { height: 180px; overflow: hidden; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .bc-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.blog-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.blog-card .bc-meta { font-size: 11.5px; color: var(--mute); display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }

/* ============ MODAL (réservation / article) ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 35, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--card-bg);
  border-radius: 26px;
  max-width: 540px;
  width: 100%;
  padding: 38px;
  position: relative;
  max-height: 86vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-box .eyebrow { margin-bottom: 10px; }
.modal-box h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.modal-box .modal-sub { font-size: 13px; color: var(--mute); margin-bottom: 22px; }
.modal-box .article-body { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.modal-box .article-body p { margin-bottom: 14px; }

/* ============ FORMS ============ */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--red-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toggle-group { display: flex; gap: 10px; margin-bottom: 22px; }
.toggle-btn {
  flex: 1;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}
.toggle-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-msg { font-size: 13px; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: rgba(60, 140, 90, 0.12); color: #2d6b46; }
.form-msg.error { background: rgba(200, 4, 5, 0.1); color: var(--red-2); }

/* ============ CONTACT LAYOUT ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1280px; margin: 0 auto; align-items: start; }
.contact-info-block { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 40px; }
.contact-info-block h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-info-item:first-of-type { border-top: none; }
.contact-info-item .ci { width: 36px; height: 36px; border-radius: 10px; background: rgba(200, 4, 5, 0.18); color: var(--red-3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .cl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }
.contact-info-item .cv { font-size: 14px; margin-top: 3px; }

/* ============ FAQ ACCORDION ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 15px; gap: 20px; }
.faq-q .fic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.faq-item.open .fic { transform: rotate(45deg); background: var(--red-2); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }
.faq-item.open .faq-a { max-height: 320px; padding-top: 14px; }

/* ============ SERVICES (B2B) ============ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.service-card .si {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-card ul li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.service-card ul li::before { content: "→"; color: var(--red-2); font-weight: 700; flex-shrink: 0; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1280px; margin: 0 auto; }
.case-card { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-md); padding: 28px; }
.case-card .ce { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red-3); margin-bottom: 12px; }
.case-card .cr { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.case-card p { font-size: 13px; color: rgba(230, 236, 251, 0.8); line-height: 1.55; }
.case-card .cn { font-size: 12px; font-weight: 700; margin-top: 14px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 70px 40px 30px; position: relative; z-index: 5; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--mute); line-height: 1.6; max-width: 260px; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mute); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--on-dark); text-decoration: none; font-size: 14px; opacity: 0.85; transition: opacity 0.3s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1280px;
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--mute);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ REVEAL UTILITY ============ */
.reveal { opacity: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 50px 30px; }
  .stats h3 { grid-column: 1 / -1; }
  .features-grid,
  .domains-grid,
  .testi-grid,
  .formations-grid,
  .resources-grid,
  .blog-grid,
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
}
@media (max-width: 750px) {
  .nav { padding: 16px 18px; }
  .nav-links, .nav .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 100px 16px 40px; }
  .small-team { font-size: 10vw; }
  .big-results { font-size: 24vw; }
  .cards-row { height: 230px; top: 52%; }
  .card-1 { width: 95px; height: 130px; left: 2%; top: 35px; }
  .card-2 { width: 122px; height: 168px; left: 23%; top: 10px; }
  .card-3 { width: 148px; height: 200px; left: 45%; top: -8px; }
  .card-4 { width: 122px; height: 168px; left: 67%; top: 12px; }
  .card-5 { width: 95px; height: 130px; left: 87%; top: 35px; }
  .subline { margin-top: 120px; }
  .team-section { padding: 80px 20px 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats { padding: 20px 20px 60px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; gap: 24px; }
  .section, .section-tight { padding: 60px 20px; }
  .page-hero { padding: 130px 20px 50px; }
  .features-grid,
  .domains-grid,
  .testi-grid,
  .formations-grid,
  .resources-grid,
  .blog-grid,
  .case-grid,
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .newsletter-band { padding: 34px 26px; flex-direction: column; align-items: flex-start; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-form button { width: 100%; justify-content: center; }
  .event-card { grid-template-columns: 1fr; text-align: left; }
  .event-cta { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
