/* ============================================================
   DataBridge Madagascar — main.css
   Design system: variables, reset, base, components, layout
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (design tokens)
   ------------------------------------------------------------ */
:root {
  /* Brand colors */
  --color-blue-deep:    #3B6EDB;
  --color-blue-bright:  #1E90FF;
  --color-navy:         #0D1B3E;
  --color-navy-mid:     #152347;
  --color-white:        #FFFFFF;
  --color-off-white:    #F4F7FF;
  --color-gray-light:   #E8EDF7;
  --color-gray-mid:     #9AAAC8;
  --color-gray-dark:    #4A5878;
  --color-text:         #1A2340;
  --color-text-muted:   #5A6A8A;

  /* Gradients */
  --gradient-brand:     linear-gradient(135deg, #3B6EDB 0%, #1E90FF 100%);
  --gradient-hero:      linear-gradient(160deg, #0D1B3E 0%, #152347 50%, #1a2d5a 100%);
  --gradient-section:   linear-gradient(135deg, #3B6EDB 0%, #0D1B3E 100%);

  /* Typography */
  --font-heading:       'Playfair Display', 'Georgia', serif;
  --font-body:          'Source Sans 3', 'Trebuchet MS', sans-serif;
  --font-accent:        'Montserrat', 'Trebuchet MS', sans-serif;

  /* Type scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   1.875rem;   /* 30px */
  --text-4xl:   2.25rem;    /* 36px */
  --text-5xl:   3rem;       /* 48px */
  --text-6xl:   3.75rem;    /* 60px */
  --text-7xl:   4.5rem;     /* 72px */

  /* Spacing */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;

  /* Layout */
  --container-max:      1200px;
  --container-wide:     1400px;
  --container-narrow:   800px;

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

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(13, 27, 62, 0.08), 0 1px 2px rgba(13, 27, 62, 0.06);
  --shadow-md:   0 4px 16px rgba(13, 27, 62, 0.12), 0 2px 6px rgba(13, 27, 62, 0.08);
  --shadow-lg:   0 10px 40px rgba(13, 27, 62, 0.16), 0 4px 12px rgba(13, 27, 62, 0.10);
  --shadow-blue: 0 8px 32px rgba(59, 110, 219, 0.30);

  /* Transitions */
  --transition-fast:    150ms ease;
  --transition-base:    250ms ease;
  --transition-slow:    400ms ease;

  /* Nav height */
  --nav-height: 72px;
}


/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  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;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  color: inherit;
}

p {
  max-width: 68ch;
}


/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
.text-xs    { font-size: var(--text-xs); }
.text-sm    { font-size: var(--text-sm); }
.text-base  { font-size: var(--text-base); }
.text-lg    { font-size: var(--text-lg); }
.text-xl    { font-size: var(--text-xl); }
.text-2xl   { font-size: var(--text-2xl); }
.text-3xl   { font-size: var(--text-3xl); }
.text-4xl   { font-size: var(--text-4xl); }
.text-5xl   { font-size: var(--text-5xl); }
.text-6xl   { font-size: var(--text-6xl); }

.font-heading { font-family: var(--font-heading); }
.font-accent  { font-family: var(--font-accent); }

.font-normal  { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }

.uppercase    { text-transform: uppercase; }
.tracking-wide{ letter-spacing: 0.08em; }
.tracking-wider{ letter-spacing: 0.12em; }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

/* Color utilities */
.text-white     { color: var(--color-white); }
.text-navy      { color: var(--color-navy); }
.text-blue      { color: var(--color-blue-deep); }
.text-blue-bright{ color: var(--color-blue-bright); }
.text-muted     { color: var(--color-text-muted); }
.text-gray      { color: var(--color-gray-mid); }


/* ------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-24);
}

.section--lg {
  padding-block: var(--space-32);
}

.section--sm {
  padding-block: var(--space-16);
}

/* Flex helpers */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-4        { gap: var(--space-4); }
.gap-6        { gap: var(--space-6); }
.gap-8        { gap: var(--space-8); }
.gap-12       { gap: var(--space-12); }

/* Grid helpers */
.grid         { display: grid; }
.grid-2       { grid-template-columns: repeat(2, 1fr); }
.grid-3       { grid-template-columns: repeat(3, 1fr); }
.grid-4       { grid-template-columns: repeat(4, 1fr); }

/* Spacing */
.mt-4   { margin-top: var(--space-4); }
.mt-6   { margin-top: var(--space-6); }
.mt-8   { margin-top: var(--space-8); }
.mt-12  { margin-top: var(--space-12); }
.mb-4   { margin-bottom: var(--space-4); }
.mb-6   { margin-bottom: var(--space-6); }
.mb-8   { margin-bottom: var(--space-8); }
.mb-12  { margin-bottom: var(--space-12); }

/* Background colors */
.bg-white     { background-color: var(--color-white); }
.bg-off-white { background-color: var(--color-off-white); }
.bg-navy      { background-color: var(--color-navy); }
.bg-navy-mid  { background-color: var(--color-navy-mid); }
.bg-gradient  { background: var(--gradient-brand); }


/* ------------------------------------------------------------
   5. NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base);
}

.nav.nav--scrolled {
  background-color: var(--color-navy);
  box-shadow: 0 2px 20px rgba(13, 27, 62, 0.4);
}

.nav.nav--light {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.nav.nav--light .nav__link,
.nav.nav--light .nav__logo-text {
  color: var(--color-navy);
}

.nav.nav--light .nav__link:hover {
  color: var(--color-blue-deep);
}

.nav__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav__logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 1px;
}

/* Nav links */
.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav__link:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.10);
}

.nav__link--active {
  color: var(--color-white);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__dropdown-toggle::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 1px;
  transition: transform var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-toggle::after,
.nav__dropdown--open .nav__dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--transition-fast),
              visibility var(--transition-fast),
              transform var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown--open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav__dropdown-item:hover {
  background-color: var(--color-off-white);
  color: var(--color-blue-deep);
}

/* Lang toggle */
.nav__lang {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: var(--space-4);
  flex-shrink: 0;
}

.nav__lang-btn {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav__lang-btn:hover,
.nav__lang-btn--active {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.12);
}

.nav__lang-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--text-xs);
}

/* Mobile toggle */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.nav__hamburger:hover {
  background-color: rgba(255, 255, 255, 0.10);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ------------------------------------------------------------
   6. HERO SECTIONS
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-navy); /* solid fallback if gradient fails */
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero--medium {
  min-height: 70vh;
}

.hero--short {
  min-height: 50vh;
}

/* Background image overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 27, 62, 0.85) 0%, rgba(21, 35, 71, 0.75) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
  padding-block-start: var(--space-10);
  padding-block-end: var(--space-20);
  color: var(--color-white);
}

/* Eyebrow label above headline */
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue-bright);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.hero__title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.80);
  max-width: 52ch;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Decorative gradient orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--color-blue-bright);
  top: -100px;
  right: -100px;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: var(--color-blue-deep);
  bottom: -50px;
  left: 20%;
}


/* ------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-8);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast),
              color var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary — filled gradient (the Learning Hub CTA) */
.btn--primary {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(30, 144, 255, 0.45);
}

/* Secondary — ghost on dark */
.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.75);
}

/* Outline — on light backgrounds */
.btn--outline {
  background: transparent;
  color: var(--color-blue-deep);
  border-color: var(--color-blue-deep);
}

.btn--outline:hover {
  background: var(--color-blue-deep);
  color: var(--color-white);
}

/* Ghost on light */
.btn--ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-gray-light);
}

.btn--ghost:hover {
  background: var(--color-off-white);
  border-color: var(--color-gray-mid);
}

/* Sizes */
.btn--sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-5);
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
}

/* The ONE main CTA — always btn--primary, always visible */
.cta-main {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-blue);
}

.cta-main:hover {
  box-shadow: 0 14px 48px rgba(30, 144, 255, 0.50);
  transform: translateY(-3px);
}


/* ------------------------------------------------------------
   8. SECTION HEADERS
   ------------------------------------------------------------ */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue-deep);
  margin-bottom: var(--space-3);
}

/* On dark backgrounds */
.section-label--light {
  color: var(--color-blue-bright);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: var(--space-5);
}

.section-title--light {
  color: var(--color-white);
}

.section-title em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 58ch;
}

.section-intro--light {
  color: rgba(255, 255, 255, 0.75);
}


/* ------------------------------------------------------------
   9. CARDS
   ------------------------------------------------------------ */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  width: 100%;
  aspect-ratio: 3/1;
  background-color: var(--color-gray-light);
  overflow: hidden;
  position: relative;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

/* Placeholder when no image */
.card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-off-white) 100%);
  color: var(--color-gray-mid);
  font-size: var(--text-sm);
  font-family: var(--font-accent);
}

.card__body {
  padding: var(--space-6);
}

.card__tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue-deep);
  background-color: rgba(59, 110, 219, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.card__footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Pillar cards (Think / Learn / Connect) */
.pillar-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59, 110, 219, 0.12);
  border-color: rgba(59, 110, 219, 0.20);
}

.pillar-card__icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pillar-card__label {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue-deep);
}

.pillar-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.pillar-card__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex-grow: 1;
}


/* ------------------------------------------------------------
   10. TEAM MEMBER CARDS
   ------------------------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-8);
}

.team-card {
  text-align: center;
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-blue-bright) 100%);
  margin-inline: auto;
  margin-bottom: var(--space-4);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(59, 110, 219, 0.25);
  position: relative;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder initials */
.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: var(--text-xl);
  background: var(--gradient-brand);
}

.team-card__name {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}


/* ------------------------------------------------------------
   11. STAT / NUMBER CALLOUTS
   ------------------------------------------------------------ */
.stat-block {
  text-align: center;
}

.stat-block__number {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-block__label {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* On dark backgrounds — matches both parent modifier and same-element usage */
.stat-block--light .stat-block__label,
.stat-block__label.stat-block--light {
  color: rgba(255, 255, 255, 0.70);
}


/* ------------------------------------------------------------
   12. DARK SECTIONS (navy background)
   ------------------------------------------------------------ */
.section--dark {
  background: var(--gradient-hero);
  color: var(--color-white);
}

.section--dark .section-title {
  color: var(--color-white);
}

.section--dark .section-intro {
  color: rgba(255, 255, 255, 0.75);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.80);
}

.section--gradient {
  background: var(--gradient-section);
  color: var(--color-white);
}


/* ------------------------------------------------------------
   13. FORMS (waitlist / contact)
   ------------------------------------------------------------ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-label--light {
  color: rgba(255, 255, 255, 0.85);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-blue-deep);
  box-shadow: 0 0 0 3px rgba(59, 110, 219, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}


/* ------------------------------------------------------------
   14. BADGES / TAGS / CHIPS
   ------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.badge--blue {
  color: var(--color-blue-deep);
  background: rgba(59, 110, 219, 0.10);
}

.badge--white {
  color: var(--color-navy);
  background: var(--color-white);
}

.badge--outline {
  color: var(--color-white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

/* "Coming soon" badge */
.badge--soon {
  color: var(--color-blue-bright);
  background: rgba(30, 144, 255, 0.12);
}


/* ------------------------------------------------------------
   15. DIVIDERS & DECORATIVE ELEMENTS
   ------------------------------------------------------------ */
.divider {
  width: 64px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
  margin-block: var(--space-5);
}

.divider--center {
  margin-inline: auto;
}

.divider--sm {
  width: 40px;
  height: 2px;
}

/* Section wave separator */
.wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave svg {
  display: block;
  width: 100%;
}

/* Number accent (e.g. 01, 02, 03 in process sections) */
.step-number {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.18;
  user-select: none;
}


/* ------------------------------------------------------------
   16. QUOTE / HIGHLIGHT BLOCKS
   ------------------------------------------------------------ */
.highlight-block {
  background: var(--color-off-white);
  border-left: 4px solid var(--color-blue-deep);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-6) var(--space-8);
}

.highlight-block--dark {
  background: rgba(59, 110, 219, 0.10);
  border-left-color: var(--color-blue-bright);
}

.highlight-block__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.5;
}

.highlight-block__text--light {
  color: var(--color-white);
}


/* ------------------------------------------------------------
   17. PARTNER LOGOS / TRUST STRIP
   ------------------------------------------------------------ */
.partners-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.partner-logo {
  width: 280px;
  height: auto;
  object-fit: contain;
  margin-block: -24px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.partner-logo-placeholder {
  height: 40px;
  padding: var(--space-2) var(--space-5);
  background: var(--color-gray-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  color: var(--color-gray-mid);
  opacity: 0.7;
}


/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--space-20);
  padding-bottom: var(--space-10);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.60);
  max-width: 32ch;
}

.footer__col-title {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.60);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.40);
}


/* ------------------------------------------------------------
   19. UTILITY CLASSES
   ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden { display: none !important; }

.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

.w-full  { width: 100%; }
.h-full  { height: 100%; }

.rounded-full { border-radius: var(--radius-full); }
.rounded-lg   { border-radius: var(--radius-lg); }

/* Lang content — hide/show via JS */
[lang="fr"] .en-content { display: none; }
[lang="en"] .fr-content { display: none; }

/* Fade-in animation (triggered by JS intersection observer)
   opacity: 0 is only applied AFTER JS adds .js-ready to <body>.
   Without JS, all elements remain fully visible. */
.fade-in {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.js-ready .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in-stagger > * {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .fade-in-stagger > * {
  opacity: 0;
  transform: translateY(20px);
}

.js-ready .fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0ms;   opacity: 1; transform: translateY(0); }
.js-ready .fade-in-stagger.visible > *:nth-child(2) { transition-delay: 80ms;  opacity: 1; transform: translateY(0); }
.js-ready .fade-in-stagger.visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.js-ready .fade-in-stagger.visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.js-ready .fade-in-stagger.visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.js-ready .fade-in-stagger.visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.js-ready .fade-in-stagger.visible > *:nth-child(7) { transition-delay: 480ms; opacity: 1; transform: translateY(0); }


/* ------------------------------------------------------------
   20. GOOGLE FONTS IMPORT
   ------------------------------------------------------------ */
/* Loaded inline in <head> for performance — listed here for reference:
   Playfair Display: 700
   Source Sans 3: 400, 600
   Montserrat: 500, 600, 700
*/
