/* ============================================================
   GENGESPOP — Design System v2 (inspired by axiomthemes lab)
   ============================================================ */

:root {
  /* Brand */
  --primary:    #0a1628;
  --secondary:  #0b5788;
  --accent:     #00b4d8;
  --accent2:    #14a085;

  /* Segments */
  --seg-patho:  #e74c3c;
  --seg-bio:    #27ae60;
  --seg-pest:   #f39c12;

  /* Neutrals */
  --light:      #f4f8fc;
  --light2:     #eaf1f8;
  --dark:       #07101f;
  --text:       #2d3748;
  --muted:      #6b7280;
  --border:     #dee6ef;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(10,22,40,.08);
  --shadow:     0 6px 30px rgba(10,22,40,.12);
  --shadow-lg:  0 16px 56px rgba(10,22,40,.18);

  /* Radii */
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Section spacing */
  --section-py: 5.5rem;
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
h1, h2 { font-family: 'Playfair Display', serif; }

a { color: var(--accent2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

/* ── Topbar ────────────────────────────────────────────────── */
.gng-topbar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: .45rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}
.gng-topbar a { color: rgba(255,255,255,.5); }
.gng-topbar a:hover { color: var(--accent); }
.topbar-divider { color: rgba(255,255,255,.18); margin: 0 .6rem; }
.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  transition: all .2s;
}
.topbar-social a:hover { background: var(--accent2); color: #fff; }

/* ── Navbar ────────────────────────────────────────────────── */
.gng-navbar {
  background: var(--primary);
  border-bottom: 3px solid var(--accent2);
  padding: .75rem 0;
  transition: background .3s, box-shadow .3s;
  z-index: 1030;
}
.gng-navbar.scrolled {
  background: rgba(10,22,40,.96);
  box-shadow: 0 4px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,180,216,.3);
}
.brand-icon-sm { width: 36px; height: 36px; border-radius: 9px; font-size: 1rem; }

.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  display: block;
  line-height: 1.1;
}
.brand-sub { font-size: .62rem; color: rgba(255,255,255,.4); letter-spacing: .5px; text-transform: uppercase; }

.gng-navbar .nav-link {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: 8px;
  transition: all .2s;
  position: relative;
}
.gng-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  transition: left .25s, right .25s;
  border-radius: 2px;
}
.gng-navbar .nav-link:hover,
.gng-navbar .nav-link.active { color: #fff; }
.gng-navbar .nav-link:hover::after,
.gng-navbar .nav-link.active::after { left: .9rem; right: .9rem; }

.btn-gng-accent {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
  padding: .5rem 1.25rem;
  box-shadow: 0 4px 14px rgba(0,180,216,.25);
  transition: all .25s;
}
.btn-gng-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,180,216,.4);
  color: #fff;
}

/* ── Hero ──────────────────────────────────────────────────── */
.gng-hero {
  position: relative;
  background: var(--dark);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.gng-hero-img {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.gng-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(20,160,133,.28) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 20%, rgba(0,180,216,.18) 0%, transparent 45%),
    linear-gradient(135deg, rgba(7,16,31,.92) 0%, rgba(10,45,90,.76) 55%, rgba(0,70,95,.65) 100%);
  z-index: 0;
}

/* Geometric rings */
.hero-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-pattern::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 650px; height: 650px;
  border-radius: 50%;
  border: 80px solid rgba(0,180,216,.04);
}
.hero-pattern::after {
  content: '';
  position: absolute;
  right: 40px; top: 60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(0,180,216,.1);
  animation: heroRotate 22s linear infinite;
}
@keyframes heroRotate { to { transform: rotate(360deg); } }

/* Floating particles */
.dna-bg, .hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.dna-bg span, .hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,180,216,.07);
  animation: float 8s infinite ease-in-out;
}
.dna-bg span:nth-child(1), .hero-particles span:nth-child(1) { width:80px;height:80px;top:12%;left:7%;animation-delay:0s; }
.dna-bg span:nth-child(2), .hero-particles span:nth-child(2) { width:120px;height:120px;top:65%;left:12%;animation-delay:2.5s; }
.dna-bg span:nth-child(3), .hero-particles span:nth-child(3) { width:55px;height:55px;top:30%;left:72%;animation-delay:4s; }
.dna-bg span:nth-child(4), .hero-particles span:nth-child(4) { width:190px;height:190px;top:72%;left:82%;animation-delay:1s; }
.dna-bg span:nth-child(5), .hero-particles span:nth-child(5) { width:40px;height:40px;top:50%;left:50%;animation-delay:3.5s; }
@keyframes float {
  0%,100% { transform: translateY(0) scale(1);   opacity: .07; }
  50%      { transform: translateY(-28px) scale(1.05); opacity: .14; }
}

.hero-content { position: relative; z-index: 1; padding: 3rem 0; }

/* Badge/eyebrow */
.hero-badge, .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(0,180,216,.1);
  border: 1px solid rgba(0,180,216,.22);
  border-radius: 50px;
  padding: .4rem 1.15rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  color: #fff;
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .accent-text {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-actions .btn {
  border-radius: 50px;
  font-weight: 600;
  padding: .75rem 2rem;
  font-size: .95rem;
  transition: all .25s;
}
.hero-actions .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,255,255,.22);
}
.hero-actions .btn-outline-light {
  border-width: 1.5px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.06);
}
.hero-actions .btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-3px);
}

/* Hero visual (right) */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-ring {
  position: relative;
  width: 380px; height: 380px;
}
.hero-visual-ring::before,
.hero-visual-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0,180,216,.18);
  animation: heroRing 14s linear infinite;
}
.hero-visual-ring::after {
  inset: 30px;
  border-color: rgba(20,160,133,.22);
  animation-duration: 9s;
  animation-direction: reverse;
}
@keyframes heroRing { to { transform: rotate(360deg); } }

.hero-visual-core {
  position: absolute;
  inset: 65px;
  border-radius: 50%;
  background: rgba(0,180,216,.06);
  border: 1px solid rgba(0,180,216,.14);
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-core i {
  font-size: 5.5rem;
  color: var(--accent);
  opacity: .6;
  animation: pulse 4s ease-in-out infinite;
}
/* Legacy DNA animation */
.dna-animation {
  width: 320px; height: 320px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.dna-animation::before {
  content: '';
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(20,160,133,.3);
  position: absolute;
  animation: rotate 15s linear infinite;
}
.dna-animation::after {
  content: '';
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(0,180,216,.4);
  position: absolute;
  animation: rotate 10s linear infinite reverse;
}
.dna-animation i {
  font-size: 5rem;
  color: var(--accent2);
  opacity: .7;
  z-index: 1;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse  { 0%,100%{transform:scale(1);opacity:.6} 50%{transform:scale(1.1);opacity:.9} }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.hero-stat-lbl {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .3rem;
}

/* ── Section common ────────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }

/* New overline style */
.section-overline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: .75rem;
}
.section-overline::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent2);
  display: inline-block;
}

/* Legacy label */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: .5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title-white { color: #fff !important; }

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.8;
}
.section-lead-white { color: rgba(255,255,255,.65) !important; }

/* Dividers */
.section-divider, .section-rule {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 3px;
  margin: .75rem auto;
}
.section-divider.left, .section-rule.left { margin-left: 0; }

/* ── Stats band ────────────────────────────────────────────── */
.gng-stats-band {
  background: linear-gradient(135deg, var(--dark) 0%, #0b3460 55%, #094d6e 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.gng-stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,180,216,.14) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(20,160,133,.1) 0%, transparent 50%);
}
.stat-band-item {
  position: relative; z-index: 1;
  text-align: center;
  padding: 1rem 2rem;
}
.stat-band-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-band-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.stat-band-num sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: .5rem;
  display: inline-block;
}
.stat-band-lbl {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: .5rem;
}

/* ── Segment cards ─────────────────────────────────────────── */
.segment-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s, box-shadow .35s;
  height: 100%;
  background: #fff;
}
.segment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.segment-card-header {
  padding: 2.5rem 2rem 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.segment-card-header::before {
  content: attr(data-num);
  position: absolute;
  right: 1.25rem; top: .75rem;
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.07);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  pointer-events: none;
}
.segment-card-header::after {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.segment-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.18);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.segment-card-body { padding: 1.75rem 2rem 2rem; background: #fff; }

/* ── Feature boxes (about highlights) ─────────────────────── */
.feature-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  height: 100%;
}
.feature-box:hover {
  border-color: var(--accent2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
/* Legacy card for "about highlights" */
.gng-card.p-3 { transition: all .3s; }
.gng-card.p-3:hover { border-color: var(--accent2); box-shadow: var(--shadow); transform: translateY(-3px); }

/* ── Membre card ───────────────────────────────────────────── */
.membre-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all .35s;
}
.membre-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.membre-photo-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--light);
}
.membre-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.membre-card:hover .membre-photo-wrap img { transform: scale(1.08); }
.membre-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.82) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.membre-card:hover .membre-overlay { opacity: 1; }
.membre-info { padding: 1.25rem; }
.membre-nom { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.membre-grade { font-size: .78rem; color: var(--muted); margin-bottom: .5rem; }
.membre-segment-badge {
  font-size: .68rem;
  padding: .2rem .65rem;
  border-radius: 50px;
  font-weight: 600;
  color: #fff;
}

/* ── Publication card ──────────────────────────────────────── */
.pub-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: all .3s;
}
.pub-card:hover {
  border-color: var(--accent2);
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}
.pub-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
}
.pub-type-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  padding: .22rem .65rem;
  border-radius: 50px;
  background: var(--light); color: var(--secondary);
  text-transform: uppercase; letter-spacing: .5px;
}
.pub-year { font-weight: 700; color: var(--accent); font-size: .85rem; }
.pub-title { font-size: .95rem; font-weight: 700; color: var(--primary); margin: .6rem 0 .4rem; line-height: 1.45; }
.pub-authors { font-size: .82rem; color: var(--muted); }
.pub-journal { font-size: .82rem; color: var(--secondary); font-style: italic; }

/* ── CTA section ───────────────────────────────────────────── */
.gng-cta {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #0b3460 55%, #083952 100%);
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
}
.gng-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 28% 50%, rgba(0,180,216,.14) 0%, transparent 55%),
    radial-gradient(circle at 75% 50%, rgba(20,160,133,.1) 0%, transparent 55%);
}
.gng-cta::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,.03);
}
.gng-cta .container { position: relative; z-index: 1; }
.gng-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: 1rem; }
.gng-cta p  { color: rgba(255,255,255,.62); font-size: 1.05rem; max-width: 540px; margin: 0 auto 2.25rem; }

/* ── Sidebar ───────────────────────────────────────────────── */
.gng-sidebar {
  background: var(--dark);
  min-height: calc(100vh - 70px);
  width: 260px;
  flex-shrink: 0;
  padding: 1.5rem 0;
}
.sidebar-user {
  padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: .5rem;
}
.sidebar-avatar {
  width: 56px; height: 56px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--accent);
  margin-bottom: .75rem;
}
.sidebar-name { color: #fff; font-weight: 600; font-size: .95rem; }
.sidebar-role { color: rgba(255,255,255,.4); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; }
.sidebar-nav { padding: 0 .75rem; }
.sidebar-section {
  font-size: .62rem; font-weight: 700;
  color: rgba(255,255,255,.28);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1.25rem 1rem .5rem;
}
.sidebar-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 1rem;
  border-radius: 10px;
  color: rgba(255,255,255,.62);
  font-size: .875rem; font-weight: 500;
  transition: all .2s;
  text-decoration: none;
  margin-bottom: 2px;
}
.sidebar-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar-link.active { background: var(--accent2); color: #fff; }
.sidebar-link i { width: 18px; text-align: center; opacity: .8; }
.gng-content { flex: 1; background: var(--light); min-height: calc(100vh - 70px); padding: 2rem; }

/* ── Page hero (sub-pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0b3460 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(0,180,216,.1) 0%, transparent 50%);
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 350px; height: 350px;
  border-radius: 50%;
  border: 70px solid rgba(255,255,255,.025);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.62); font-size: 1.05rem; }

/* ── Segment tabs ──────────────────────────────────────────── */
.segment-tabs .nav-link {
  border-radius: 50px !important;
  font-size: .85rem; font-weight: 600;
  padding: .5rem 1.35rem;
  color: var(--text);
  border: 2px solid var(--border);
  margin: .2rem;
  transition: all .2s;
}
.segment-tabs .nav-link:hover { border-color: var(--accent2); color: var(--accent2); }
.segment-tabs .nav-link.active {
  background: var(--accent2) !important;
  border-color: var(--accent2) !important;
  color: #fff !important;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: .65rem 1rem;
  font-size: .9rem;
  transition: all .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(20,160,133,.12);
}
.form-label { font-weight: 600; font-size: .85rem; color: var(--text); margin-bottom: .4rem; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn { transition: all .22s; font-weight: 600; }

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  border-radius: 50px;
  padding: .65rem 1.75rem;
}
.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10,22,40,.22);
}
.btn-secondary-gng {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
  border-radius: 50px;
  padding: .65rem 1.75rem;
}
.btn-secondary-gng:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  border-radius: 50px;
  padding: .65rem 1.75rem;
  border-width: 2px;
}
.btn-outline-primary:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light { border-radius: 50px; }

/* ── Cards ─────────────────────────────────────────────────── */
.gng-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.gng-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: .5rem;
}

/* ── Stat cards ────────────────────────────────────────────── */
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid;
  display: flex; align-items: center; gap: 1rem;
}
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.stat-num { font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-lbl { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* ── Login ─────────────────────────────────────────────────── */
.login-wrapper {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #0b3460 60%, #083952 100%);
}
.login-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 440px;
}

/* ── Tables ────────────────────────────────────────────────── */
.table-gng th {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  border: none; padding: .9rem 1rem;
}
.table-gng td { vertical-align: middle; font-size: .875rem; padding: .9rem 1rem; }
.table-gng tbody tr:hover { background: var(--light); }

/* ── Profile ───────────────────────────────────────────────── */
.profile-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0b3460 100%);
  padding: 3.5rem 0; color: #fff;
}
.profile-avatar {
  width: 140px; height: 140px;
  border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

/* ── Pre-footer ────────────────────────────────────────────── */
.gng-prefooter {
  background: linear-gradient(135deg, var(--accent2) 0%, #0d7377 100%);
  padding: 2.75rem 0;
}
.gng-prefooter h4 { color: #fff; font-size: 1.35rem; margin-bottom: .35rem; font-family: 'Inter', sans-serif; font-weight: 700; }
.gng-prefooter p  { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0; }

/* ── Footer ────────────────────────────────────────────────── */
.gng-footer {
  background: var(--dark);
}
.gng-footer-top {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand-desc {
  color: rgba(255,255,255,.42);
  font-size: .875rem;
  line-height: 1.75;
  margin-top: .75rem;
}
.footer-heading {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: rgba(255,255,255,.42);
  font-size: .875rem;
  transition: all .2s;
  display: flex; align-items: center; gap: .4rem;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item {
  display: flex; gap: .75rem;
  color: rgba(255,255,255,.42);
  font-size: .875rem;
  margin-bottom: .8rem;
  line-height: 1.5;
}
.footer-contact-item i { color: var(--accent2); flex-shrink: 0; margin-top: 2px; }
.gng-footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-copy { color: rgba(255,255,255,.32); font-size: .82rem; }
.footer-bottom-links a { color: rgba(255,255,255,.32); font-size: .82rem; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ── Alerts ────────────────────────────────────────────────── */
.alert { border-radius: var(--radius); border: none; font-size: .9rem; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger  { background: #fee2e2; color: #991b1b; }
.alert-info    { background: #dbeafe; color: #1e40af; }
.alert-warning { background: #fef3c7; color: #92400e; }

/* Banner preview (admin) */
.banner-preview {
  width: 100%; height: 220px;
  object-fit: cover; border-radius: var(--radius);
  border: 2px dashed var(--border);
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
}
.banner-preview img { width:100%; height:220px; object-fit:cover; border-radius:var(--radius); }

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Utilities ─────────────────────────────────────────────── */
.bg-primary-gng  { background: var(--primary); }
.bg-secondary-gng{ background: var(--secondary); }
.bg-accent       { background: var(--accent); }
.text-accent     { color: var(--accent); }
.text-accent2    { color: var(--accent2); }
.text-secondary-gng { color: var(--secondary); }
.rounded-xl      { border-radius: var(--radius); }
.rounded-2xl     { border-radius: var(--radius-lg); }
.section-py      { padding-top: var(--section-py); padding-bottom: var(--section-py); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .gng-sidebar { width: 100%; min-height: auto; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-band-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 1.5rem; }
  .stat-band-item:last-child { border-bottom: none; }
}
@media (max-width: 767.98px) {
  :root { --section-py: 4rem; }
  .hero-visual-ring { width: 260px; height: 260px; }
}
@media (max-width: 575.98px) {
  .hero-title { font-size: 2.2rem; }
  .segment-card-header { padding: 1.75rem 1.5rem 1.25rem; }
  .gng-topbar { display: none; }
  .hero-stats { gap: 1.25rem; }
}

/* ── Animations ────────────────────────────────────────────── */
.fade-in { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }


/* ════════════════════════════════════════════════════════════
   SEGMENTS V2  — Full-gradient cards
   ════════════════════════════════════════════════════════════ */

.seg-v2-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .38s cubic-bezier(.25,.8,.25,1), box-shadow .38s, filter .38s;
  height: 100%;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.seg-v2-card:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.06);
}

/* Large ghost number */
.seg-v2-card::before {
  content: attr(data-num);
  position: absolute;
  right: 1rem; top: -1.5rem;
  font-size: 9rem;
  font-weight: 900;
  color: rgba(255,255,255,.055);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

/* Decorative circle bottom-right */
.seg-v2-card::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
  z-index: 0;
}

.seg-v2-inner {
  padding: 2.5rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Step badge */
.seg-v2-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  align-self: flex-start;
  letter-spacing: .5px;
}

/* Icon box */
.seg-v2-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

/* Title & tagline */
.seg-v2-title { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: .35rem; font-family: 'Inter', sans-serif; }
.seg-v2-tag   { font-size: .82rem; color: rgba(255,255,255,.68); margin-bottom: 0; }

/* Separator */
.seg-v2-sep {
  width: 36px; height: 2px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* Description */
.seg-v2-desc { font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.75; margin-bottom: 1.25rem; }

/* Key points list */
.seg-v2-list {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
}
.seg-v2-list li {
  font-size: .84rem;
  color: rgba(255,255,255,.78);
  padding: .3rem 0;
  display: flex; align-items: center; gap: .55rem;
}
.seg-v2-list li i { font-size: .72rem; opacity: .85; flex-shrink: 0; }

/* CTA link */
.seg-v2-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .55rem 1.35rem;
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  margin-top: auto;
  transition: all .22s;
  text-decoration: none;
  width: fit-content;
}
.seg-v2-cta:hover {
  background: rgba(255,255,255,.24);
  color: #fff;
  gap: .75rem;
}


/* ════════════════════════════════════════════════════════════
   ABOUT V2  — Metrics panel + narrative text
   ════════════════════════════════════════════════════════════ */

/* Left: dark metrics card */
.about-metrics-card {
  background: linear-gradient(145deg, var(--primary) 0%, #0b3460 60%, #094d6e 100%);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.about-metrics-card::before {
  content: '';
  position: absolute;
  right: -50px; bottom: -50px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 50px solid rgba(0,180,216,.06);
  pointer-events: none;
}
.about-metrics-card::after {
  content: '';
  position: absolute;
  left: -30px; top: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(20,160,133,.07);
  pointer-events: none;
}

.about-metrics-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  position: relative;
  z-index: 1;
}
.about-metrics-label::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--accent2);
  display: inline-block;
  border-radius: 2px;
}

.about-metric-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background .25s, border-color .25s;
  position: relative;
  z-index: 1;
  height: 100%;
}
.about-metric-box:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(0,180,216,.3);
}
.about-metric-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.about-metric-num sup {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  vertical-align: top;
  margin-top: .4rem;
  display: inline-block;
}
.about-metric-lbl {
  font-size: .74rem;
  color: rgba(255,255,255,.52);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .5rem;
  line-height: 1.4;
}
.about-metric-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--accent2);
  margin: 0 auto .75rem;
}

/* Right: narrative text */
.about-quote {
  background: var(--light);
  border-left: 4px solid var(--accent2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: .95rem;
  color: var(--primary);
  font-style: italic;
  line-height: 1.7;
  position: relative;
}
.about-quote::before {
  content: '\201C';
  position: absolute;
  top: -.5rem; left: .75rem;
  font-size: 3.5rem;
  color: var(--accent2);
  opacity: .3;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

/* Capability pills */
.about-cap-list {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 1.5rem;
}
.about-cap-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  transition: all .2s;
}
.about-cap-pill:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  background: rgba(20,160,133,.06);
}
.about-cap-pill i { font-size: .75rem; }


/* ════════════════════════════════════════════════════════════
   IMAGES — Gallery, parallax strip, lab photo
   ════════════════════════════════════════════════════════════ */

/* ── Lab photo (above metrics card) ───────────────────────── */
.about-lab-photo {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  height: 300px;
  position: relative;
}
.about-lab-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.about-lab-photo:hover img { transform: scale(1.05); }

/* Caption badge inside photo */
.about-lab-badge {
  position: absolute;
  bottom: .85rem; left: .85rem;
  background: rgba(10,22,40,.82);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: .3rem .85rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.about-lab-badge i { color: var(--accent2); }

/* metrics card flush with photo */
.about-metrics-card.flush-top {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ── Parallax mission strip ────────────────────────────────── */
.gng-parallax-strip {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 7rem 0;
  overflow: hidden;
}
.gng-parallax-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(7,16,31,.58) 0%,
    rgba(10,48,90,.52) 45%,
    rgba(9,70,100,.48) 100%);
}
.gng-parallax-strip .container { position: relative; z-index: 1; }

.parallax-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,180,216,.12);
  border: 1px solid rgba(0,180,216,.22);
  border-radius: 50px;
  padding: .35rem 1rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.parallax-quote {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-family: 'Playfair Display', serif;
  color: #fff;
  line-height: 1.4;
  max-width: 760px;
  font-style: italic;
}
.parallax-quote strong {
  color: var(--accent);
  font-style: normal;
}

.parallax-divider {
  width: 48px; height: 3px;
  background: var(--accent2);
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* ── Gallery mosaic ────────────────────────────────────────── */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  display: block;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.25,.8,.25,1), opacity .4s;
  opacity: .92;
}
.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}

/* Permanent bottom gradient (légende toujours lisible) */
.gallery-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top,
    rgba(5,12,24,.82) 0%,
    rgba(5,12,24,.40) 55%,
    transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Top gradient on hover (vignette complète) */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5,12,24,.28) 0%,
    transparent 40%);
  opacity: 0;
  transition: opacity .4s;
  z-index: 1;
}
.gallery-item:hover::after { opacity: 1; }

/* Caption — toujours visible */
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.75rem;
  z-index: 2;
}
.gallery-caption-cat {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent);
  margin-bottom: .35rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.gallery-caption-cat::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
}
.gallery-caption-title {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* Zoom indicator on hover */
.gallery-item:hover .gallery-caption-title::after {
  content: ' →';
  color: var(--accent);
  font-size: .8rem;
}

/* Size helpers */
.gh-520 { height: 520px; }
.gh-460 { height: 460px; }
.gh-340 { height: 340px; }
.gh-260 { height: 260px; }
.gh-248 { height: 248px; }
.gh-220 { height: 220px; }
.gh-240 { height: 240px; }

/* Full-width gallery wrapper */
.gallery-fw {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Segment image strip (inside seg-v2-card) */
.seg-img-strip {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.seg-img-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .08;
  mix-blend-mode: luminosity;
}

/* ════════════════════════════════════════════════════════════
   RECHERCHE PAGE — axes, methodology, hero
   ════════════════════════════════════════════════════════════ */

/* ── Page hero enrichi (recherche) ────────────────────────── */
.rech-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.rech-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(7,16,31,.68) 0%,
    rgba(10,48,90,.60) 50%,
    rgba(0,68,90,.52) 100%);
}
.rech-hero .container { position: relative; z-index: 1; }

/* Quick-link axis badges in hero */
.rech-axis-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.rech-axis-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .5rem 1.25rem;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .22s;
  backdrop-filter: blur(6px);
}
.rech-axis-link:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}
.rech-axis-link .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Intro numbers strip ───────────────────────────────────── */
.rech-intro-strip {
  background: var(--light);
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
}
.rech-intro-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}
.rech-intro-lbl {
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .3rem;
}
.rech-intro-divider {
  width: 1px;
  background: var(--border);
  height: 40px;
  margin: auto 0;
}

/* ── Research axis rows ────────────────────────────────────── */
.research-axis {
  display: flex;
  min-height: 600px;
  overflow: hidden;
}
.research-axis.rax-reverse { flex-direction: row-reverse; }

/* Image side */
.rax-img {
  position: relative;
  flex: 0 0 46%;
  overflow: hidden;
}
.rax-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.25,.8,.25,1);
}
.research-axis:hover .rax-img img { transform: scale(1.05); }

/* Color overlay on image */
.rax-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity .4s;
}
.research-axis:hover .rax-img-overlay { opacity: .75; }

/* Axis number badge top-left on image */
.rax-badge {
  position: absolute;
  top: 2rem; left: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rax-num {
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.88);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.rax-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

/* Image bottom: title overlay */
.rax-img-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 2rem 2rem;
  z-index: 2;
  background: linear-gradient(to top, rgba(5,12,24,.80) 0%, transparent 100%);
}
.rax-img-title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  margin-bottom: .3rem;
  line-height: 1.2;
}
.rax-img-sub {
  color: rgba(255,255,255,.68);
  font-size: .84rem;
}

/* Content side */
.rax-content {
  flex: 1;
  padding: 4rem 4.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.rax-content::before {
  content: attr(data-num);
  position: absolute;
  right: 2rem; top: 1rem;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(10,22,40,.04);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  pointer-events: none;
}

.rax-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: .6rem;
  display: flex; align-items: center; gap: .5rem;
}
.rax-label::before {
  content: '';
  width: 20px; height: 2px;
  border-radius: 2px;
  display: inline-block;
}
.rax-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.rax-text {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.82;
  margin-bottom: 1.75rem;
}

/* Research items list */
.rax-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.rax-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .5rem 0;
  font-size: .88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.rax-list li:last-child { border-bottom: none; }
.rax-list-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Methodology section ───────────────────────────────────── */
.rech-method {
  background: linear-gradient(135deg, var(--dark) 0%, #0b3460 55%, #094d6e 100%);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.rech-method::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(0,180,216,.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(20,160,133,.10) 0%, transparent 50%);
}
.rech-method .container { position: relative; z-index: 1; }

/* Step connector */
.method-steps-row { position: relative; }
.method-steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,216,.3), rgba(20,160,133,.3), transparent);
}

.method-step-card {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.method-step-num-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.method-step-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(0,180,216,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: all .3s;
}
.method-step-card:hover .method-step-circle {
  background: rgba(0,180,216,.12);
  border-color: var(--accent);
  transform: scale(1.1);
}
.method-step-nbadge {
  position: absolute;
  top: -4px; right: -4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent2);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.method-step-title {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.method-step-desc {
  color: rgba(255,255,255,.48);
  font-size: .8rem;
  line-height: 1.6;
}

/* ── Responsive recherche ──────────────────────────────────── */
@media (max-width: 991.98px) {
  .research-axis,
  .research-axis.rax-reverse { flex-direction: column; }
  .rax-img { flex: none; height: 360px; }
  .rax-content { padding: 2.5rem 1.75rem; }
  .rax-num { font-size: 3.5rem; }
  .method-steps-row::before { display: none; }
  .rech-hero { min-height: auto; padding: 5rem 0; }
}
@media (max-width: 575.98px) {
  .rax-img { height: 260px; }
  .rach-intro-strip .rech-intro-divider { display: none; }
}

/* ── Responsive gallery ────────────────────────────────────── */
@media (max-width: 767.98px) {
  .gh-460, .gh-520 { height: 280px; }
  .gh-340 { height: 220px; }
  .gh-260 { height: 200px; }
  .gng-parallax-strip { background-attachment: scroll; padding: 4.5rem 0; }
  .about-lab-photo { height: 200px; }
}
