/* ════════════════════════════════════════════════════════════════════
   HEMODYNES DESIGN SYSTEM — v3 (Navy + glow Cyan)
   Charte officielle :
     Navy   #0D263B   Cobalt #0E4276   Cyan #00AEEF
     Corail #F98F70   Gris   #EFEFEF
   Typo  : Montserrat (Marketing/Web)
   ════════════════════════════════════════════════════════════════════ */
:root {
  --navy: #0D263B;
  --cobalt: #0E4276;
  --cobalt-soft: #1a5290;
  --cyan: #00AEEF;
  --cyan-soft: #e6f7fd;
  --corail: #F98F70;
  --corail-soft: #fde6dd;
  --gris: #EFEFEF;
  --gris-neutre: #CACACA;
  --bg: #FAFCFE;
  --bg-alt: #F4F8FB;
  --text: #1F2D3D;
  --text-soft: #5A6A7A;
  --text-mute: #8A99AA;
  --border: #E4ECF3;
  --white: #ffffff;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --max: 1200px;
  --shadow-sm: 0 2px 8px rgba(13,38,59,0.06);
  --shadow-md: 0 8px 32px rgba(13,38,59,0.08);
  --shadow-lg: 0 24px 64px rgba(13,38,59,0.12);
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--cobalt); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer; border: none;
  transition: all var(--ease); text-decoration: none;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary { background: var(--corail); color: var(--white); box-shadow: 0 4px 14px rgba(249,143,112,0.35); }
.btn--primary:hover { background: #f57e5b; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,143,112,0.45); }
.btn--secondary { background: var(--cobalt); color: var(--white); }
.btn--secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cobalt); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--cobalt); background: var(--cobalt); color: var(--white); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--cobalt); }
.btn--white:hover { background: var(--gris); color: var(--cobalt); transform: translateY(-2px); }
/* Ghost on dark hero */
.hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.25); }
.hero .btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--white); color: var(--white); }
/* Secondary on dark hero */
.hero .btn--secondary { background: var(--cyan); color: var(--navy); }
.hero .btn--secondary:hover { background: #1cc4ff; color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,174,239,0.4); }

/* ───── NAV ───── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 14px 28px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-img { height: 44px; width: auto; display: block; }
/* legacy fallback styles (kept for safety) */
.nav__logo svg { width: 32px; height: auto; }
.nav__logo span {
  font-size: 1.25rem; font-weight: 700;
  color: var(--cobalt); letter-spacing: -0.02em;
}
.nav__links {
  display: flex; gap: 32px; align-items: center; list-style: none;
}
.nav__links > li > a {
  color: var(--text); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.005em;
}
.nav__links > li > a:hover { color: var(--cyan); }
.nav__links .active { color: var(--cobalt); font-weight: 700; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cobalt); color: var(--white) !important;
  font-weight: 600; padding: 10px 20px;
  border-radius: var(--r-pill); font-size: 0.85rem;
  transition: all var(--ease);
}
.nav__cta:hover { background: var(--corail); color: var(--white) !important; transform: translateY(-1px); }
.nav__cta.active { background: var(--corail); }
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__hamburger svg { width: 24px; height: 24px; stroke: var(--cobalt); }

/* ════════════════════════════════════════════════════════════════════
   HERO — Navy + glow Cyan
   ════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 110px;
  background: var(--navy);
  color: var(--white);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 75% 0%, rgba(0,174,239,0.35), transparent 55%),
    radial-gradient(ellipse 600px 500px at 15% 100%, rgba(249,143,112,0.15), transparent 60%),
    radial-gradient(ellipse 400px 400px at 95% 95%, rgba(0,174,239,0.18), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 56px; align-items: center;
}
.hero__inner--center { display: block; text-align: center; max-width: 820px; margin: 0 auto; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,174,239,0.12);
  border: 1px solid rgba(0,174,239,0.3);
  color: var(--cyan); font-size: 0.78rem; font-weight: 600;
  padding: 8px 16px; border-radius: var(--r-pill);
  margin-bottom: 22px; letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,174,239,0.25), 0 0 12px rgba(0,174,239,0.6);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,174,239,0.25), 0 0 12px rgba(0,174,239,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(0,174,239,0.15), 0 0 20px rgba(0,174,239,0.9); }
}
.hero h1 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan) 0%, #4dd6ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.hero__sub {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px; max-width: 520px;
}
.hero__inner--center .hero__sub { max-width: 700px; margin-left: auto; margin-right: auto; }
.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px;
}
.hero__inner--center .hero__actions { justify-content: center; }
.hero__trust {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__trust-item { display: flex; flex-direction: column; gap: 2px; }
.hero__trust-num {
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.02em;
}
.hero__trust-lbl {
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Hero stat cards (used on research.html) */
.hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  position: relative; z-index: 1;
}
.hero-stat {
  background: rgba(0,174,239,0.08);
  border: 1px solid rgba(0,174,239,0.2);
  border-radius: var(--r-md);
  padding: 24px; backdrop-filter: blur(10px);
  transition: all var(--ease);
}
.hero-stat:hover { background: rgba(0,174,239,0.12); transform: translateY(-2px); }
.hero-stat__number {
  font-size: 2.4rem; font-weight: 800;
  color: var(--cyan); line-height: 1;
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.hero-stat__label {
  font-size: 0.84rem; line-height: 1.5;
  color: rgba(255,255,255,0.75); font-weight: 500;
}

/* Visuel hero : duo H1 + plateforme avec glow Cyan */
.hero__visual {
  position: relative;
  min-height: 480px;
}
.hero__visual--single {
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
}
.hero__visual--single img {
  max-width: 100%; max-height: 460px; width: auto;
  border-radius: var(--r-md);
  filter:
    drop-shadow(0 30px 50px rgba(0,0,0,0.5))
    drop-shadow(0 0 60px rgba(0,174,239,0.3));
}
.hero__visual::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,174,239,0.25) 0%, rgba(0,174,239,0.05) 40%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(20px);
}
/* glow re-enabled — matches FR home behavior */
.hero__device {
  position: absolute; left: -10px; bottom: 30px;
  width: 56%; max-width: 360px;
  border-radius: var(--r-md);
  filter:
    drop-shadow(0 30px 50px rgba(0,0,0,0.5))
    drop-shadow(0 0 60px rgba(0,174,239,0.35));
  transition: transform var(--ease);
  z-index: 2;
}
.hero__device:hover { transform: translateY(-4px); }
.hero__platform {
  position: absolute; right: 0; top: 20px;
  width: 70%; max-width: 460px;
  border-radius: var(--r-md);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 80px rgba(0,174,239,0.15);
  overflow: hidden;
  transform: rotate(0.5deg);
  transition: transform var(--ease);
  z-index: 1;
  background: var(--white);
}
.hero__platform:hover { transform: rotate(0deg) translateY(-4px); }
.hero__pill {
  position: absolute;
  background: rgba(13,38,59,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-size: 0.78rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__pill--hw { left: 8%; top: 12%; }
.hero__pill--sw { right: 4%; bottom: 12%; }
.hero__pill .swatch {
  width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.hero__pill--hw .swatch { background: var(--corail); color: var(--corail); }
.hero__pill--sw .swatch { background: var(--cyan); color: var(--cyan); }

/* Secondary nav for intra-page anchors */
.legal-nav {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; position: relative; z-index: 1;
}
.legal-nav a {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 8px 18px; border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 500;
  transition: all var(--ease);
  backdrop-filter: blur(8px);
}
.legal-nav a:hover {
  background: var(--cyan); color: var(--navy);
  border-color: var(--cyan); transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════════
   STATS BAND — 4 colonnes (home)
   ════════════════════════════════════════════════════════════════════ */
.stats-band {
  padding: 64px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-card:last-child { border-right: none; }
.stat-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.stat-card__icon svg { width: 22px; height: 22px; }
.stat-card--challenge .stat-card__icon { background: var(--corail-soft); color: var(--corail); }
.stat-card--variable .stat-card__icon { background: var(--cyan-soft); color: var(--cyan); }
.stat-card--solution .stat-card__icon { background: rgba(14,66,118,0.08); color: var(--cobalt); }
.stat-card--ruo .stat-card__icon { background: var(--gris); color: var(--navy); }
.stat-card__num {
  font-size: 2.2rem; font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cobalt);
  line-height: 1; margin-bottom: 8px;
}
.stat-card--challenge .stat-card__num { color: var(--corail); }
.stat-card--variable .stat-card__num { color: var(--cyan); }
.stat-card__lbl {
  font-size: 0.82rem; font-weight: 600;
  color: var(--cobalt); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.stat-card__desc {
  font-size: 0.86rem; line-height: 1.6;
  color: var(--text-soft);
}

/* ════════════════════════════════════════════════════════════════════
   SECTIONS GÉNÉRIQUES
   ════════════════════════════════════════════════════════════════════ */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy {
  background: var(--navy);
  color: var(--white);
  position: relative; overflow: hidden;
}
.section--navy::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(0,174,239,0.15), transparent 60%),
    radial-gradient(ellipse 500px 400px at 10% 90%, rgba(249,143,112,0.08), transparent 60%);
  pointer-events: none;
}
.section--navy > * { position: relative; z-index: 1; }
.section__head {
  max-width: 760px; margin: 0 auto 56px;
  text-align: center;
}
.section__tag {
  display: inline-block;
  color: var(--cyan); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 14px;
}
.section--navy .section__tag { color: var(--cyan); }
.section__title {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.02em;
  color: var(--cobalt); margin-bottom: 18px;
}
.section--navy .section__title { color: var(--white); }
.section__title em { font-style: normal; color: var(--corail); }
.section--navy .section__title em {
  background: linear-gradient(90deg, var(--cyan), #4dd6ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section__desc {
  font-size: 1.02rem; line-height: 1.7;
  color: var(--text-soft);
}
.section--navy .section__desc { color: rgba(255,255,255,0.78); }

/* ════════════════════════════════════════════════════════════════════
   DUO HARDWARE / SOFTWARE — split visuel (home)
   ════════════════════════════════════════════════════════════════════ */
.duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.duo-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--ease);
  display: flex; flex-direction: column;
}
.duo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.duo-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.duo-card--hw .duo-card__media {
  background: linear-gradient(135deg, #f4f9fc 0%, #e8f4fa 100%);
}
.duo-card--sw .duo-card__media {
  background: linear-gradient(135deg, #fff5f0 0%, #fde6dd 100%);
}
.duo-card__media img { max-width: 80%; max-height: 80%; object-fit: contain; }
.duo-card--hw .duo-card__media img { filter: drop-shadow(0 20px 30px rgba(13,38,59,0.15)); border-radius: 6px;}
.duo-card--sw .duo-card__media img { box-shadow: 0 12px 32px rgba(13,38,59,0.12); border-radius: 6px; }
.duo-card__badge {
  position: absolute; top: 18px; left: 18px;
  z-index: 2;
  background: var(--white); color: var(--cobalt);
  font-size: 0.72rem; font-weight: 700;
  padding: 6px 12px; border-radius: var(--r-pill);
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 6px;
}
.duo-card__badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.duo-card--hw .duo-card__badge .dot { background: var(--cyan); }
.duo-card--sw .duo-card__badge .dot { background: var(--corail); }
.duo-card__body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.duo-card__title {
  font-size: 1.35rem; font-weight: 700;
  color: var(--cobalt); margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.duo-card__sub {
  font-size: 0.92rem; color: var(--text-soft);
  margin-bottom: 22px; line-height: 1.65;
}
.duo-card__list { list-style: none; margin-bottom: 24px; }
.duo-card__list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem; color: var(--text);
}
.duo-card__list li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300AEEF'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: contain;
  margin-top: 1px;
}
.duo-card--sw .duo-card__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F98F70'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}
.duo-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--cobalt);
}
.duo-card__cta svg { width: 16px; height: 16px; transition: transform var(--ease); }
.duo-card__cta:hover { color: var(--corail); }
.duo-card__cta:hover svg { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════════════
   BRIQUES — 3 cartes sur fond Navy
   ════════════════════════════════════════════════════════════════════ */
.bricks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.brick {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  transition: all var(--ease);
  display: flex; flex-direction: column;
  backdrop-filter: blur(8px);
}
.brick:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(0,174,239,0.3);
}
.brick__num {
  font-size: 0.72rem; font-weight: 700;
  color: var(--cyan); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.brick__num::before { content: ''; width: 24px; height: 1px; background: var(--cyan); }
.brick h3 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px;
  line-height: 1.3; letter-spacing: -0.01em;
}
.brick p {
  font-size: 0.92rem; line-height: 1.7;
  color: rgba(255,255,255,0.7); margin-bottom: 22px;
  flex: 1;
}
.brick__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--cyan); margin-top: auto;
}
.brick__cta svg { width: 14px; height: 14px; transition: transform var(--ease); }
.brick__cta:hover { color: var(--corail); }
.brick__cta:hover svg { transform: translateX(4px); }

.ruo-note {
  margin-top: 48px; padding: 26px 30px;
  background: rgba(0,174,239,0.08);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-md);
  max-width: 100%;
}
.ruo-note p {
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem; line-height: 1.7; margin: 0;
}
.ruo-note strong { color: var(--cyan); font-weight: 700; }

/* ════════════════════════════════════════════════════════════════════
   TIMELINE
   ════════════════════════════════════════════════════════════════════ */
.timeline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
.timeline::before {
  content: ''; position: absolute;
  top: 64px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--gris-neutre) 0%, var(--cobalt-soft) 50%, var(--cyan) 100%);
  z-index: 0;
}
.tl-step {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative; z-index: 1;
  transition: all var(--ease);
}
.tl-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl-step__year {
  font-size: 1.85rem; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px; line-height: 1;
}
.tl-step--past .tl-step__year { color: var(--gris-neutre); }
.tl-step--present .tl-step__year { color: var(--cobalt); }
.tl-step--future .tl-step__year {
  color: var(--corail);
  background: linear-gradient(90deg, var(--corail), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tl-step h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--cobalt); margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.tl-step p { font-size: 0.9rem; line-height: 1.65; color: var(--text-soft); margin: 0; }
.tl-step--future {
  background: linear-gradient(135deg, var(--cyan-soft) 0%, var(--corail-soft) 100%);
  border: 1px solid var(--cyan);
}

/* ════════════════════════════════════════════════════════════════════
   PARTENAIRES — marquee
   ════════════════════════════════════════════════════════════════════ */
.partners-track-wrapper {
  overflow: hidden; width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.partners-track {
  display: flex; align-items: center; gap: 64px;
  width: max-content;
  animation: scroll-partners 10s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes scroll-partners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partners__item {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: opacity var(--ease);
  opacity: 0.55;
}
.partners__item:hover { opacity: 1; }
.partners__item img {
  max-height: 44px; width: auto;
  filter: grayscale(100%);
  transition: filter var(--ease);
}
.partners__item:hover img { filter: grayscale(0%); }

/* ════════════════════════════════════════════════════════════════════
   FONDATEURS
   ════════════════════════════════════════════════════════════════════ */
.founders {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 1000px; margin: 0 auto;
}
.founder {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--ease);
}
.founder:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}
.founder__photo {
  width: 120px; height: 120px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 18px;
  background: var(--gris);
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(13,38,59,0.1);
}
.founder__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--ease);
}
.founder:hover .founder__photo img { filter: grayscale(0%); }
.founder__role {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  color: var(--corail); text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 8px;
  padding: 4px 12px;
  background: var(--corail-soft);
  border-radius: var(--r-pill);
}
.founder__name {
  font-size: 1.1rem; font-weight: 700;
  color: var(--cobalt); margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.founder__title {
  font-size: 0.82rem; font-weight: 600;
  color: var(--cyan); margin-bottom: 14px;
}
.founder__bio { font-size: 0.86rem; color: var(--text-soft); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════════════
   PRODUCT PAGE — split, specs, applications
   ════════════════════════════════════════════════════════════════════ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.split--reverse > .split__content { order: 2; }
.split__content h3 {
  font-size: 1.7rem; color: var(--cobalt);
  font-weight: 700; margin-bottom: 18px;
  line-height: 1.25; letter-spacing: -0.015em;
}
.split__content p {
  color: var(--text-soft); line-height: 1.75;
  margin-bottom: 16px;
}
.split__visual {
  background: linear-gradient(135deg, var(--white-soft) 0%, var(--bg-alt) 100%);
  border-radius: var(--r-lg); min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
}
.split__visual img { max-width: 100%; max-height: 380px; }

.specs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 32px;
}
.spec-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  transition: all var(--ease);
}
.spec-item:hover { border-left-color: var(--corail); transform: translateX(2px); }
.spec-item strong {
  color: var(--cobalt); display: block;
  font-size: 1.05rem; margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.spec-item span {
  color: var(--text-soft); font-size: 0.84rem;
}

/* Applications cards (dark section) */
.apps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: all var(--ease);
  backdrop-filter: blur(8px);
}
.app-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(0,174,239,0.3);
}
.app-card__tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  color: var(--cyan); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 14px;
  padding: 4px 10px;
  background: rgba(0,174,239,0.12);
  border-radius: var(--r-pill);
}
.app-card h3 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px;
  line-height: 1.3; letter-spacing: -0.01em;
}
.app-card p {
  font-size: 0.9rem; line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

/* RUO box (page Viscosimètre) */
.ruo-box {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  padding: 32px 36px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.ruo-box h4 {
  color: var(--cobalt); margin-bottom: 16px;
  font-size: 1.1rem; font-weight: 700;
}
.ruo-box ul { list-style: none; margin-bottom: 20px; }
.ruo-box li {
  padding: 8px 0;
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text); font-size: 0.94rem;
}
.ruo-box li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300AEEF'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: contain;
}
.ruo-box strong { color: var(--cobalt); }
.ruo-box p {
  color: var(--text-soft); font-size: 0.9rem;
  line-height: 1.65; margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   RESEARCH PAGE — stats inline, bridge, lit cards
   ════════════════════════════════════════════════════════════════════ */
.stats-inline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.stat-card-r {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 4px solid var(--corail);
  transition: all var(--ease);
}
.stat-card-r:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card-r__number {
  font-size: 2.6rem; font-weight: 800;
  color: var(--corail); line-height: 1;
  margin-bottom: 12px; letter-spacing: -0.025em;
}
.stat-card-r__desc {
  font-size: 0.95rem; line-height: 1.6;
  color: var(--text); margin-bottom: 14px;
}
.stat-card-r__source {
  font-size: 0.78rem; color: var(--text-mute);
  font-style: italic; padding-top: 12px;
  border-top: 1px solid var(--border);
}

.bridge {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.bridge__prose p {
  color: var(--text-soft);
  line-height: 1.75; margin-bottom: 16px;
  font-size: 1rem;
}
.bridge__chain {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.bridge__chain h3 {
  color: var(--cobalt); font-size: 1.15rem;
  margin-bottom: 24px; font-weight: 700;
  letter-spacing: -0.01em;
}
.chain-step {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.chain-step:last-child { border-bottom: none; }
.chain-step__num {
  flex-shrink: 0; width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--cyan), var(--cobalt));
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,174,239,0.25);
}
.chain-step__content h4 {
  font-size: 0.98rem; font-weight: 700;
  color: var(--cobalt); margin-bottom: 4px;
}
.chain-step__content p {
  font-size: 0.86rem; color: var(--text-soft);
  margin: 0; line-height: 1.55;
}

.lit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.lit-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--corail);
  transition: all var(--ease);
}
.lit-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-left-color: var(--cyan);
}
.lit-card__badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  color: var(--corail); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--corail-soft);
  border-radius: var(--r-pill);
}
.lit-card h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--cobalt); margin-bottom: 8px;
  line-height: 1.35;
}
.lit-card__ref {
  font-size: 0.8rem; color: var(--text-mute);
  margin-bottom: 12px; font-style: italic;
}
.lit-card p {
  font-size: 0.88rem; color: var(--text-soft);
  line-height: 1.65; margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px; align-items: start;
}
.contact-form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form h2 {
  font-size: 1.5rem; font-weight: 700;
  color: var(--cobalt); margin-bottom: 28px;
  letter-spacing: -0.015em;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 0.85rem;
  font-weight: 600; color: var(--cobalt);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font); font-size: 0.94rem;
  color: var(--text);
  background: var(--bg);
  transition: all var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,174,239,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info h2 {
  font-size: 1.5rem; font-weight: 700;
  color: var(--cobalt); margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 20px 22px;
  border: 1px solid var(--border);
  transition: all var(--ease);
}
.info-card:hover { border-color: var(--cyan); transform: translateX(2px); }
.info-card__icon {
  flex-shrink: 0; width: 42px; height: 42px;
  background: var(--cyan-soft);
  color: var(--cyan);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.info-card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; }
.info-card h3 {
  font-size: 0.92rem; font-weight: 700;
  color: var(--cobalt); margin-bottom: 4px;
}
.info-card p {
  font-size: 0.88rem; color: var(--text-soft);
  margin: 0; line-height: 1.55;
}
.info-note {
  background: var(--corail-soft);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-top: 4px;
}
.info-note p {
  font-size: 0.86rem; color: var(--text);
  margin: 0; line-height: 1.65;
}
.info-note strong { color: var(--corail); }

/* ════════════════════════════════════════════════════════════════════
   LEGAL PAGE
   ════════════════════════════════════════════════════════════════════ */
.legal-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section .container { max-width: 920px; }
.legal-section__tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  color: var(--cyan); text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--cyan-soft);
  border-radius: var(--r-pill);
}
.legal-section h2 {
  font-family: var(--font); font-size: 1.9rem;
  font-weight: 700; color: var(--cobalt);
  line-height: 1.2; margin-bottom: 28px;
  letter-spacing: -0.015em;
}
.legal-section h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--cobalt); margin-top: 32px; margin-bottom: 12px;
}
.legal-section p {
  font-size: 0.95rem; color: var(--text);
  line-height: 1.75; margin-bottom: 14px;
}
.legal-section ul { margin: 0 0 14px 22px; }
.legal-section li {
  font-size: 0.95rem; color: var(--text);
  line-height: 1.75; margin-bottom: 8px;
}
.legal-section strong { color: var(--cobalt); }
.legal-section .address {
  background: var(--bg-alt);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin: 14px 0 20px;
  max-width: 460px;
  font-size: 0.92rem;
  line-height: 1.7;
}
.cookie-table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cookie-table th,
.cookie-table td {
  padding: 12px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.cookie-table th {
  background: var(--cobalt); color: var(--white);
  font-weight: 600; letter-spacing: 0.02em;
}
.cookie-table tr:last-child td { border-bottom: none; }

/* ════════════════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--navy) 100%);
  color: var(--white); padding: 80px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 20% 50%, rgba(0,174,239,0.2), transparent 60%),
    radial-gradient(ellipse 500px 300px at 80% 50%, rgba(249,143,112,0.15), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700; margin-bottom: 16px;
  line-height: 1.2; letter-spacing: -0.015em;
}
.cta-band p {
  font-size: 1.02rem; opacity: 0.85;
  margin-bottom: 32px; max-width: 620px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.6);
  padding: 64px 0 30px; font-size: 0.88rem;
}
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 44px;
}
.footer__brand p { max-width: 320px; line-height: 1.7; margin-top: 16px; }
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo-img { height: 38px; width: auto; display: block; }
/* legacy fallback styles (kept for safety) */
.footer__logo svg { width: 30px; }
.footer__logo span { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.footer__col h4 {
  color: var(--white); font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 18px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: rgba(255,255,255,0.6); }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.footer__legal a:hover { color: var(--cyan); }
.footer__ruo {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.76rem; color: rgba(255,255,255,0.4);
  line-height: 1.65; max-width: 920px;
}
.footer__ruo strong { color: rgba(255,255,255,0.6); }

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */

/* === SINGLE VISUAL OVERRIDE START ===
   Pour les pages avec image unique (viscomètre FR + viscometer EN) :
   on rééquilibre la grille en faveur de la colonne texte (+25%)
   sans toucher aux autres pages. =============================== */
.hero__inner:has(.hero__visual--single) {
  grid-template-columns: 1.8fr 0.8fr;
}
/* === SINGLE VISUAL OVERRIDE END === */

@media (max-width: 1080px) {
  .hero__inner { gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(1), .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  .lit-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }

  /* Hero visual : passe d'une composition absolue à un stack flex propre */
  .hero__visual {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 12px 0 4px;
  }
  .hero__visual::before {
    width: 80%; height: 80%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .hero__device,
  .hero__platform {
    position: static;
    transform: none;
    width: auto;
    max-width: 100%;
    border: none;
  }
  /* Ordre mobile : chaque pill est adjacente à son image
     pill--hw (texte "Software · Plateforme") → platform image
     pill--sw (texte "Hardware · Viscosimètre H1") → device image */
  .hero__pill {
    position: static;
    align-self: center;
    transform: none;
  }
  .hero__pill--hw  { order: 1; }
  .hero__platform  { order: 2;
    max-width: 100%;
    border-radius: var(--r-md);
    box-shadow:
      0 14px 32px rgba(0,0,0,0.45),
      0 0 0 1px rgba(255,255,255,0.08),
      0 0 48px rgba(0,174,239,0.18);
  }
  .hero__pill--sw  { order: 3; }
  .hero__device    { order: 4;
    max-width: 240px;
    height: auto;
    filter:
      drop-shadow(0 16px 28px rgba(0,0,0,0.45))
      drop-shadow(0 0 36px rgba(0,174,239,0.32));
  }

  .hero__stats { max-width: 460px; margin: 0 auto; }
  .duo { grid-template-columns: 1fr; }
  .bricks { grid-template-columns: 1fr; gap: 18px; }
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .timeline::before { display: none; }
  .founders { grid-template-columns: 1fr; max-width: 360px; gap: 18px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse > .split__content { order: 0; }
  .split__visual { min-height: auto; padding: 32px; }
  .split__visual img { max-height: 280px; }
  .specs-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; gap: 18px; }
  .stats-inline { grid-template-columns: 1fr; gap: 18px; }
  .bridge { grid-template-columns: 1fr; gap: 32px; }

  /* Hero "single image" page Viscosimètre */
  .hero__visual--single { padding: 0; }
  .hero__visual--single img { max-height: 380px; }

  /* Burger menu : nav__links déployable */
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 12px 24px 18px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav--open .nav__links li { padding: 4px 0; border-bottom: 1px solid var(--border); }
  .nav--open .nav__links li:last-child { border-bottom: none; padding-top: 12px; }
  .nav--open .nav__links a {
    display: block;
    padding: 12px 4px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--cobalt);
  }
  .nav--open .nav__links .nav__cta {
    text-align: center;
    border-radius: var(--r-pill);
    padding: 14px 20px;
    margin-top: 4px;
  }
  .nav__hamburger { transition: transform var(--ease); }
  .nav--open .nav__hamburger { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .hero { padding: 60px 0 70px; }
  .section { padding: 70px 0; }
  .legal-section { padding: 56px 0; }
  .stats-band { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:last-child { border-bottom: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.4rem); word-break: normal; }
  .hero h1 em { white-space: normal; }
  .hero__eyebrow { font-size: 0.72rem; padding: 7px 14px; max-width: 92%; }
  .hero__sub { font-size: 0.98rem; }
  .hero__trust { gap: 18px; }
  .hero__trust-num { font-size: 1.15rem; }
  .hero__visual { padding-top: 8px; gap: 12px; }
  .hero__device { max-width: 200px; }
  .hero__visual--single img { max-height: 300px; }
  .hero__stats { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .legal-section h2 { font-size: 1.5rem; }
  .legal-nav { justify-content: center; }
  .cookie-table th, .cookie-table td { padding: 8px 10px; font-size: 0.8rem; }
}

/* ═══════════════ I18N — language switcher & placeholder banner ═══════════════ */
.nav__lang {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 18px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.nav__lang-current {
  color: var(--cobalt);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(14, 66, 118, 0.08);
}
.nav__lang-link {
  color: var(--ink-soft, #6b7280);
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__lang-link:hover {
  color: var(--cobalt);
  background: rgba(14, 66, 118, 0.05);
}

/* Placeholder banner shown on /en/ pages while content is being translated */
.i18n-placeholder {
  background: linear-gradient(90deg, #fff7ed 0%, #fef3e6 100%);
  border-bottom: 1px solid #fde4cb;
  color: #9a4b16;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.i18n-placeholder__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f98f70;
  display: inline-block;
  flex-shrink: 0;
}

/* Mobile: stack the language switcher cleanly */
@media (max-width: 880px) {
  .nav__lang { margin-left: 0; margin-right: 8px; order: 2; }
  .i18n-placeholder { font-size: 0.78rem; padding: 8px 16px; }
}


/* ════════════════════════════════════════════════════════════════════
   RESEARCH ARTICLE — scientific notes (research.html / en/research.html)
   ════════════════════════════════════════════════════════════════════ */
.research-body { background: var(--bg); }

/* TOC sticky under the nav */
.research-toc {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(13,38,59,0.04);
}
.research-toc__inner {
  max-width: 980px; margin: 0 auto; padding: 12px 28px;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 0.82rem;
}
.research-toc a {
  color: var(--text-soft); font-weight: 500;
  border-bottom: 1px solid transparent;
  padding: 2px 0; transition: all var(--ease);
}
.research-toc a:hover { color: var(--cobalt); border-bottom-color: var(--cyan); }
.research-toc__num {
  display: inline-block; width: 18px; color: var(--cyan); font-weight: 700;
}

/* Article container */
.research-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 28px 96px;
}
.research-article section { margin-bottom: 64px; scroll-margin-top: 140px; }

.research-article h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.25; letter-spacing: -0.015em;
  color: var(--cobalt);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.research-article h2::before {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 64px; height: 2px; background: var(--cyan);
}
.research-article h2 .subtitle {
  display: block;
  font-family: var(--font);
  font-size: 0.95rem; font-weight: 400; font-style: italic;
  color: var(--text-soft);
  margin-top: 10px;
  letter-spacing: 0;
}
.research-article h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cobalt);
  margin-top: 38px;
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
}
.research-article h4 {
  font-size: 0.98rem; font-weight: 600;
  color: var(--cobalt); margin-top: 22px; margin-bottom: 8px;
}
.research-article p {
  font-size: 0.98rem; line-height: 1.75;
  color: var(--text); margin-bottom: 14px;
}
.research-article ul, .research-article ol {
  padding-left: 22px; margin-bottom: 18px;
}
.research-article ul li, .research-article ol li {
  font-size: 0.96rem; line-height: 1.7; margin-bottom: 8px;
  color: var(--text);
}
.research-article strong { color: var(--cobalt); font-weight: 700; }
.research-article em { color: inherit; }

.research-article sup a {
  color: var(--cobalt);
  font-weight: 700;
  font-size: 0.72em;
  text-decoration: none;
  padding: 0 2px;
}
.research-article sup a:hover { color: var(--cyan); }

/* Eyebrow article */
.research-eyebrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}
.research-eyebrow__tag {
  display: inline-block;
  color: var(--cyan); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-top: 24px; margin-bottom: 10px;
}
.research-eyebrow__meta {
  font-size: 0.85rem; color: var(--text-mute);
  margin-top: 6px;
}

/* Figure */
.research-figure {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  margin: 26px 0;
  box-shadow: var(--shadow-sm);
}
.research-figure svg { max-width: 100%; height: auto; }
.research-figure__caption {
  font-size: 0.86rem; color: var(--text-soft);
  line-height: 1.6; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.research-figure__caption .src {
  display: block; margin-top: 6px;
  font-size: 0.78rem; color: var(--text-mute);
}

/* Pull-quote on Navy background */
.research-pullquote {
  background: var(--navy);
  color: var(--white);
  padding: 28px 32px;
  margin: 28px 0;
  border-left: 4px solid var(--cyan);
  border-radius: var(--r-md);
  position: relative; overflow: hidden;
}
.research-pullquote::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 300px at 100% 100%, rgba(0,174,239,0.18), transparent 60%);
  pointer-events: none;
}
.research-pullquote p {
  position: relative; z-index: 1;
  color: var(--white); margin: 0;
  font-size: 1rem; line-height: 1.7;
}
.research-pullquote p strong { color: var(--cyan); }

/* Strength / Limit cards */
.research-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.research-card--strength { border-left-color: #2d9d6f; }
.research-card--limit { border-left-color: var(--corail); }
.research-card__label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.7rem; letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 6px;
}
.research-card--strength .research-card__label { color: #2d9d6f; }
.research-card--limit .research-card__label { color: var(--corail); }
.research-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--cobalt);
}
.research-card p { font-size: 0.94rem; margin-bottom: 0; }

/* Callout on light cyan background */
.research-callout {
  background: var(--cyan-soft);
  border: 1px solid rgba(0,174,239,0.25);
  border-left: 4px solid var(--cyan);
  padding: 18px 22px;
  margin: 18px 0;
  border-radius: var(--r-md);
}
.research-callout h4 {
  margin: 0 0 8px;
  font-size: 0.98rem; color: var(--cobalt);
}
.research-callout p { font-size: 0.94rem; margin-bottom: 6px; }
.research-callout p:last-child { margin-bottom: 0; }
.research-callout ul { margin: 0; padding-left: 22px; }
.research-callout ul li { font-size: 0.94rem; }

/* Formula */
.research-formula {
  background: linear-gradient(135deg, #f4f9fc 0%, #e8f4fa 100%);
  border: 1px solid rgba(0,174,239,0.18);
  border-left: 3px solid var(--cyan);
  padding: 18px 22px;
  margin: 16px 0;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--navy);
  border-radius: var(--r-sm);
  overflow-x: auto;
}
.research-formula em { color: var(--text-mute); font-style: normal; font-size: 0.85em; }
.research-meta {
  font-size: 0.82rem; color: var(--text-mute); margin-top: 8px;
}

/* References */
.research-refs {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 32px;
  margin-top: 56px;
}
.research-refs h2 { border: none; padding: 0; margin-bottom: 16px; }
.research-refs h2::before { display: none; }
.research-refs ol { padding-left: 24px; margin: 0; }
.research-refs li {
  font-size: 0.84rem;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.6;
}
.research-refs a {
  color: var(--cobalt);
  border-bottom: 1px dotted var(--gris-neutre);
}
.research-refs a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.research-refs strong { color: var(--cobalt); font-weight: 600; }

/* Hero adapted to the article */
.research-hero .hero__inner { display: block; max-width: 880px; }
.research-hero .hero__sub { max-width: 720px; }
.research-hero .hero__meta {
  display: inline-flex; gap: 18px; flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.research-hero .hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.research-hero .hero__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

@media (max-width: 720px) {
  .research-article { padding: 40px 20px 60px; }
  .research-toc { top: 60px; }
  .research-toc__inner { gap: 8px 14px; font-size: 0.78rem; }
  .research-pullquote { padding: 22px 24px; }
  .research-formula { font-size: 0.82rem; }
}
