/* ═══════════════════════════════════════════════════════════════
   SYNAPS PHARMA — Feuille de styles principale
   Pour modifier les couleurs : changer les variables dans :root {}
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables — Charte Synaps Pharma ─────────────────────── */
/*
   Vert sauge #94B09A → couleur de marque (logo)
   Teal #11B5A4       → accent « synapse » : énergie & signaux
   Police : Sora (titres) + Inter (corps)
*/
:root {
  /* Marque — vert sauge */
  --color-primary:    #94B09A;
  --color-primary-d:  #6E9278;
  --color-primary-l:  #C9D8CD;

  /* Accent — teal synapse */
  --color-accent:     #11B5A4;
  --color-accent-d:   #0C8F82;
  --color-accent-l:   #5FD3C6;

  /* Spark — ambre (touches ponctuelles) */
  --color-spark:      #E8B14C;

  /* Neutres */
  --color-dark:       #232E28;   /* charbon légèrement verdi */
  --color-dark-d:     #14201B;   /* quasi-noir hero */
  --color-light:      #F1F6F2;   /* fond clair teinté sauge */
  --color-white:      #FFFFFF;
  --color-muted:      #6B7A6E;   /* texte secondaire gris-sauge */
  --color-border:     #DCE6DD;   /* bordures légères */

  /* Dégradés */
  --grad-hero: linear-gradient(135deg, rgba(20,32,27,.95) 0%, rgba(20,32,27,.78) 45%, rgba(17,181,164,.40) 100%);
  --grad-band: linear-gradient(115deg, #6E9278 0%, #11B5A4 100%);
  --grad-btn:  linear-gradient(135deg, #14C3B1 0%, #0C8F82 100%);
  --grad-line: linear-gradient(90deg, #11B5A4 0%, #94B09A 100%);
  --grad-text: linear-gradient(100deg, #11B5A4 0%, #6E9278 100%);
  --grad-soft: linear-gradient(160deg, #F1F6F2 0%, #E3EFE9 100%);

  /* Typographie */
  --font-heading: 'Sora', 'Inter', sans-serif;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rayons */
  --radius-xs:   8px;
  --radius-sm:   12px;
  --radius:      20px;
  --radius-lg:   28px;
  --radius-pill: 100px;

  /* Ombres */
  --shadow-xs:     0 1px 3px rgba(20,32,27,.06);
  --shadow:        0 6px 20px rgba(20,32,27,.08);
  --shadow-md:     0 12px 32px rgba(20,32,27,.12);
  --shadow-lg:     0 20px 48px rgba(20,32,27,.16);
  --shadow-accent: 0 10px 28px rgba(17,181,164,.32);
  --glow-accent:   0 0 0 4px rgba(17,181,164,.18);

  --transition: .25s ease;
  --ease-out:   cubic-bezier(.22,1,.36,1);
  --nav-h: 72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ── Conteneur ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Boutons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(17,181,164,.42);
}
.btn--primary:active { transform: translateY(-1px); }
.btn--outline {
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }
.btn--full { width: 100%; justify-content: center; }
.btn--lg { padding: 17px 38px; font-size: 1rem; }

/* ── En-têtes de section ───────────────────────────────────── */
.section { padding: 96px 0; }
.section--light { background: var(--color-light); }
.section--dark  { background: var(--color-dark); }
.section--white { background: var(--color-white); }

.section__header { text-align: center; margin-bottom: 64px; }
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.section__label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(17,181,164,.16);
}
.section__label--light { color: var(--color-accent-l); }
.section__label--light::before { background: var(--color-accent-l); box-shadow: 0 0 0 4px rgba(95,211,198,.16); }
.section__title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 16px;
}
.section__title--light { color: #fff; }
.section__title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__title--light em {
  background: linear-gradient(100deg, #5FD3C6 0%, #C9D8CD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Filet « synapse » sous les titres de section */
.section__header .section__title::after {
  content: "";
  display: block;
  width: 54px; height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: var(--grad-line);
}
.section__sub { max-width: 620px; margin: 0 auto; color: var(--color-muted); font-size: 1.05rem; }
.section__sub--light { color: rgba(255,255,255,.72); }

.link { color: var(--color-accent); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  height: var(--nav-h);
}
.nav.scrolled {
  background: rgba(20,32,27,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-img { height: 46px; width: auto; display: block; }
.nav__logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
}
.nav__logo-text strong { color: var(--color-accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent-l);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; }
.nav__link--cta {
  background: var(--grad-btn);
  color: #fff;
  margin-left: 10px;
  padding: 10px 20px;
  box-shadow: 0 6px 18px rgba(17,181,164,.3);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,181,164,.42); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--color-dark-d);
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .3;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}
/* Canvas réseau synapse animé */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  max-width: 780px;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-accent-l);
  margin-bottom: 22px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(95,211,198,.32);
  border-radius: var(--radius-pill);
  background: rgba(17,181,164,.08);
}
.hero__label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent-l);
  box-shadow: 0 0 0 0 rgba(95,211,198,.6);
  animation: pulse-node 2.6s ease-out infinite;
}
@keyframes pulse-node {
  0%   { box-shadow: 0 0 0 0 rgba(95,211,198,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(95,211,198,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,211,198,0); }
}
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #5FD3C6 0%, #94B09A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 1.16rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
/* Mini-stats inline du hero */
.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat b {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.hero__stat span {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}
.hero__stat + .hero__stat { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  animation: bounce 2s infinite;
  z-index: 2;
}
.hero__scroll svg { width: 32px; height: 32px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Animations entrée Hero */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .7s ease forwards;
}
.animate-up:nth-child(1) { animation-delay: .1s; }
.animate-up:nth-child(2) { animation-delay: .25s; }
.animate-up:nth-child(3) { animation-delay: .4s; }
.animate-up:nth-child(4) { animation-delay: .55s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   CHIFFRES CLÉS
══════════════════════════════════════════════════════════════ */
.chiffres {
  background: var(--grad-band);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
/* Trame de nœuds synapse en fond */
.chiffres::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 1.5px, transparent 1.6px);
  background-size: 38px 38px;
  opacity: .6;
}
.chiffres__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.chiffre-item {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
/* Ligne « circuit » reliant les chiffres */
.chiffre-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px; right: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.chiffre-item__val {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
}
.chiffre-item__label {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  margin-top: 8px;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   À PROPOS
══════════════════════════════════════════════════════════════ */
.apropos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.apropos__lead {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-dark);
}
.apropos__texte p { margin-bottom: 16px; color: var(--color-muted); }
.apropos__texte .section__title { margin-bottom: 24px; color: var(--color-dark); }

.apropos__valeurs {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.valeur {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
}
.valeur__icon { width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }
.valeur__icon svg { width: 100%; height: 100%; }
.valeur div { display: flex; flex-direction: column; }
.valeur strong { font-weight: 700; color: var(--color-dark); margin-bottom: 2px; }
.valeur span { font-size: .9rem; color: var(--color-muted); }

.apropos__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--color-border);
}
/* Badge flottant « 100% participatif » */
.apropos__badge {
  position: absolute;
  right: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(20,32,27,.82);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
}
.apropos__badge::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-accent-l);
  box-shadow: 0 0 0 4px rgba(95,211,198,.25);
}
.apropos__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.img-placeholder {
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-border) 100%);
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(95,211,198,.16);
  border-radius: var(--radius);
  padding: 34px 30px;
  overflow: hidden;
  transition: transform .3s var(--ease-out), background .3s ease, border-color .3s ease;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.service-card:hover {
  background: rgba(17,181,164,.10);
  border-color: rgba(95,211,198,.45);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(17,181,164,.14);
  color: var(--color-accent-l);
  transition: background .3s ease, transform .3s var(--ease-out);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon {
  background: rgba(17,181,164,.24);
  transform: scale(1.08);
}
.service-card__title {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.service-card__desc { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════
   CARTE
══════════════════════════════════════════════════════════════ */
.carte__wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  height: 560px;
  margin-top: 48px;
}
.carte__map {
  height: 100%;
  z-index: 1;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
}
.carte__liste {
  height: 100%;
  overflow-y: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: none;
}
.carte__liste::-webkit-scrollbar { width: 4px; }
.carte__liste::-webkit-scrollbar-track { background: var(--color-light); }
.carte__liste::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

.pharma-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition);
}
.pharma-item:hover, .pharma-item.active { background: var(--color-light); }
.pharma-item__img {
  width: 56px; height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-border);
}
.pharma-item__info { flex: 1; min-width: 0; }
.pharma-item__nom { font-weight: 700; font-size: .9rem; color: var(--color-dark); margin-bottom: 2px; }
.pharma-item__adresse { font-size: .82rem; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pharma-item__ville { font-size: .82rem; color: var(--color-muted); }

/* Popup Leaflet personnalisé */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
  border: none !important;
}
.popup-content { max-width: 240px; }
.popup-content img {
  width: 100%; height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  background: var(--color-border);
}
.popup-content h3 { font-size: .95rem; font-weight: 700; color: var(--color-dark); margin-bottom: 4px; }
.popup-content p  { font-size: .83rem; color: var(--color-muted); margin-bottom: 2px; }
.popup-content a  { color: var(--color-primary); font-size: .83rem; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   LABORATOIRES
══════════════════════════════════════════════════════════════ */
.labos .section__header { margin-bottom: 48px; }
.labos__track-wrap {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  margin: 0 0 40px;
}
.labos__track-wrap::before,
.labos__track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.labos__track-wrap::before { left: 0;  background: linear-gradient(to right, #fff, transparent); }
.labos__track-wrap::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }

.labos__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: scroll-track 35s linear infinite;
}
.labos__track:hover { animation-play-state: paused; }

.labo-item {
  flex-shrink: 0;
  padding: 16px 40px;
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
  transition: var(--transition);
}
.labo-item:hover { background: var(--color-light); border-radius: var(--radius-sm); }
.labo-item img {
  max-height: 44px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .6;
  transition: var(--transition);
}
.labo-item:hover img { filter: none; opacity: 1; }
.labo-item__name {
  font-weight: 700;
  font-size: .85rem;
  color: var(--color-muted);
  text-align: center;
  transition: color var(--transition);
}
.labo-item:hover .labo-item__name { color: var(--color-primary); }

@keyframes scroll-track {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.labos__note {
  text-align: center;
  color: var(--color-muted);
  font-size: .95rem;
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS / ÉVÉNEMENTS
══════════════════════════════════════════════════════════════ */
.animations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.event-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-l);
}
.event-card__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-border);
}
.event-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.event-card:hover .event-card__img-wrap img { transform: scale(1.04); }
/* Carte avec fondu enchaîné entre plusieurs photos */
.event-card__img-wrap--slideshow { position: relative; }
.event-card__img-wrap--slideshow img {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease, transform .4s ease;
}
.event-card__img-wrap--slideshow img.is-active { opacity: 1; }
.event-card__body { padding: 24px; }
.event-card__tag {
  display: inline-block;
  background: rgba(148,176,154,.18);
  color: var(--color-primary-d);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.event-card__body h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-dark); margin-bottom: 4px; }
.event-card__date { font-size: .82rem; color: var(--color-primary-d); font-weight: 600; margin-bottom: 8px; }
.event-card__body p { font-size: .9rem; color: var(--color-muted); }

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact__intro {
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact__details li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
}
.contact__details svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-primary); }
.contact__details a:hover { color: var(--color-accent); }
.contact__socials { display: flex; gap: 12px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }

.contact__form-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--color-dark); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: var(--glow-accent);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form__note { text-align: center; font-size: .82rem; color: var(--color-muted); margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-dark-d);
  color: rgba(255,255,255,.65);
  padding: 48px 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__logo { height: 44px; width: auto; display: block; }
.footer__logo-text { font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer__logo-text strong { color: var(--color-primary); }
.footer__brand p { font-size: .85rem; font-style: italic; }
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.footer__nav a { font-size: .85rem; transition: color var(--transition); }
.footer__nav a:hover { color: var(--color-primary); }
.footer__copy { text-align: right; font-size: .8rem; line-height: 1.7; }
.footer__copy small { opacity: .6; }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS AU DÉFILEMENT
══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal--right { transform: translateX(34px); }
.reveal--left  { transform: translateX(-34px); }
.reveal--scale { transform: scale(.94); }
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}
/* Cascade : délai incrémental sur les enfants directs d'une grille */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: .09s; }
.stagger > .reveal:nth-child(3) { transition-delay: .18s; }
.stagger > .reveal:nth-child(4) { transition-delay: .27s; }
.stagger > .reveal:nth-child(5) { transition-delay: .36s; }
.stagger > .reveal:nth-child(6) { transition-delay: .45s; }

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION LABORATOIRES — B2B
══════════════════════════════════════════════════════════════ */
.labos-pro__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.labos-pro__card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.labos-pro__card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.labos-pro__card:hover {
  border-color: var(--color-accent-l);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.labos-pro__card:hover::before { transform: scaleX(1); }
.labos-pro__icon {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--grad-soft);
  color: var(--color-accent);
  transition: transform .3s var(--ease-out);
}
.labos-pro__icon svg { width: 28px; height: 28px; }
.labos-pro__card:hover .labos-pro__icon { transform: scale(1.08); }
.labos-pro__card h3 {
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.labos-pro__card p { font-size: .88rem; color: var(--color-muted); line-height: 1.6; }
.labos-pro__cta { text-align: center; }

/* ══════════════════════════════════════════════════════════════
   FRISE — NOTRE HISTOIRE
══════════════════════════════════════════════════════════════ */
.frise { position: relative; margin-top: 24px; }
.frise__line {
  position: absolute;
  top: 8px; left: 12%; right: 12%;
  height: 4px;
  background: var(--color-border);
  border-radius: 4px;
}
.frise__progress {
  display: block; height: 100%; width: 0;
  background: var(--grad-line);
  border-radius: 4px;
  transition: width 1.2s var(--ease-out);
}
.frise__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.frise__step { text-align: center; }
.frise__node {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-primary);
  margin: 0 auto;
  position: relative; z-index: 2;
  transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.frise__step.visible .frise__node {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(17,181,164,.16);
}
.frise__node--now { background: var(--color-accent); }
.frise__year {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--color-accent);
  margin: 16px 0 12px;
}
.frise__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.frise__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.frise__card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--color-dark); margin-bottom: 8px; }
.frise__card p { font-size: .87rem; color: var(--color-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   VALEURS
══════════════════════════════════════════════════════════════ */
.valeurs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.valeur-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.valeur-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.valeur-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-l);
}
.valeur-card:hover::before { transform: scaleX(1); }
.valeur-card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--grad-soft);
  color: var(--color-accent);
  margin-bottom: 18px;
  transition: transform .3s var(--ease-out);
}
.valeur-card__icon svg { width: 28px; height: 28px; }
.valeur-card:hover .valeur-card__icon { transform: scale(1.08); }
.valeur-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.valeur-card p { font-size: .9rem; color: var(--color-muted); line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════
   TÉMOIGNAGES
══════════════════════════════════════════════════════════════ */
.temoignages__viewport { overflow: hidden; margin-top: 8px; }
.temoignages__track { display: flex; transition: transform .5s var(--ease-out); }
.temoignage { flex: 0 0 100%; padding: 10px 8px 18px; }
.temoignage__card {
  display: flex;
  gap: 30px;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}
.temoignage__photo {
  width: 116px; height: 116px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--color-primary-l);
  background: var(--color-border);
}
.temoignage__body { flex: 1; }
.temoignage__quote {
  position: relative;
  font-size: 1.06rem;
  color: var(--color-dark);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 18px;
}
.temoignage__quote::before {
  content: "\201C";
  position: absolute; top: -26px; left: -10px;
  font-family: var(--font-heading);
  font-size: 3.4rem;
  color: var(--color-accent-l);
  opacity: .55;
}
.temoignage__name { font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); }
.temoignage__pharma { font-size: .86rem; color: var(--color-accent-d); font-weight: 600; margin-top: 2px; }
.temoignages__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 26px;
}
.temoignages__arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.temoignages__arrow:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.temoignages__arrow svg { width: 20px; height: 20px; }
.temoignages__dots { display: flex; gap: 8px; }
.temoignages__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.temoignages__dot.is-active { background: var(--color-accent); width: 26px; border-radius: 5px; }

/* ══════════════════════════════════════════════════════════════
   BANDE CTA
══════════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  background: var(--grad-band);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 1.5px, transparent 1.6px);
  background-size: 40px 40px;
  opacity: .5;
}
.cta-band__inner {
  position: relative;
  text-align: center;
  padding: 76px 24px;
}
.cta-band__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 12px;
}
.cta-band__sub {
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 28px;
}
.btn--white { background: #fff; color: var(--color-accent-d); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0,0,0,.26); }

/* ══════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════ */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq__item.is-open { border-color: var(--color-accent-l); box-shadow: var(--shadow); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-dark);
}
.faq__icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  border-radius: 2px;
}
.faq__icon::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq__icon::after  { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: transform .28s var(--ease-out); }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq__a p { padding: 0 24px 20px; color: var(--color-muted); font-size: .93rem; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablette (≤ 900px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .apropos__grid { grid-template-columns: 1fr; gap: 48px; }
  .apropos__visuel { order: -1; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .carte__wrap { grid-template-columns: 1fr; height: auto; }
  .carte__map { height: 400px; border-radius: var(--radius) var(--radius) 0 0; }
  .carte__liste { border-radius: 0 0 var(--radius) var(--radius); border-left: 1px solid var(--color-border); border-top: none; height: 320px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer__brand { align-items: center; }
  .footer__copy { text-align: center; }
  .chiffres__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .chiffre-item::after { display: none; }
  .labos-pro__grid { grid-template-columns: repeat(2, 1fr); }
  .valeurs__grid { grid-template-columns: repeat(2, 1fr); }
  .frise__line { display: none; }
  .frise__steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero__stat + .hero__stat { padding-left: 20px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 640px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--color-primary);
    padding: 32px 24px;
    gap: 8px;
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__link { font-size: 1.1rem; padding: 12px 16px; }
  .nav__burger { display: flex; }
  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: 18px; }
  .hero__stat + .hero__stat { padding-left: 18px; }
  .services__grid { grid-template-columns: 1fr; }
  .animations__grid { grid-template-columns: 1fr; }
  .chiffres__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .labos-pro__grid { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 28px 20px; }
  .valeurs__grid { grid-template-columns: 1fr; }
  .frise__steps { grid-template-columns: 1fr; gap: 28px; }
  .temoignage__card { flex-direction: column; text-align: center; padding: 30px 24px; gap: 20px; }
  .temoignage__quote::before { display: none; }
}
