/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Agne';
  src: url('../assets/fonts/Agne.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --blue: #124cef;
  --blue-dark: #0d38b3;
  --teal: #2d9caf;
  --teal-dark: #21778a;
  --gray: #888e8f;
  --ink: #1a2333;
  --ink-soft: #4b5563;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --border: #e3e8ef;
  --white: #ffffff;
  --navy: #0d2f52;
  --peach: #faf1e0;
  --peach-dark: #f0dcb8;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(18, 76, 239, 0.18);
  --gradient: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  --container: 1160px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Transition douce entre les pages : fondu croisé natif (Chrome/Edge) + fondu d'entrée en secours */
@view-transition { navigation: auto; }
@keyframes page-fade { from { opacity: 0; } to { opacity: 1; } }
main { animation: page-fade .35s ease; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* height:auto est indispensable depuis que les <img> portent des attributs width/height
   (anti-CLS) : sans lui, l'attribut height s'appliquerait tel quel et déformerait l'image. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: 'Agne', 'Manrope', serif; margin: 0 0 .5em; line-height: 1.15; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 12px;
}
.topbar__inner a { color: #fff; }
.topbar__inner a:hover { color: var(--teal); }

/* Le bandeau et l'en-tête utilisent un conteneur plus large que le contenu (1160px)
   pour que le menu complet tienne sur une seule ligne alignée avec le logo */
.topbar .container, .header .container { max-width: 1400px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 241, 224, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--peach-dark);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand__mark { height: 64px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: 'Agne', serif; font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.brand__name--okilys { color: var(--blue); }
.brand__name--life { color: var(--teal); margin-left: 0.28em; }
.brand__tagline {
  font-family: 'Manrope', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .brand__mark { height: 56px; }
  .brand__name { font-size: 1.2rem; }
  .brand__tagline { font-size: 0.56rem; }
}
@media (max-width: 480px) {
  .brand__tagline { font-size: 0.5rem; }
}
/* En-tête compact sur petit écran : logo réduit pour laisser la place au sélecteur de langue et au burger */
@media (max-width: 560px) {
  .header__inner { padding: 8px 12px; gap: 6px; }
  .brand { gap: 7px; min-width: 0; flex: 1; }
  .brand__mark { width: 40px; }
  .brand__text { min-width: 0; overflow: hidden; }
  .brand__name { font-size: 0.86rem; }
  .brand__tagline { font-size: 0.46rem; }
  .burger { width: 40px; height: 40px; }
  .lang-switch--mobile { margin-right: 4px; flex: none; }
  .lang-switch--mobile a { padding: 3px 7px; font-size: 0.66rem; }
}

/* Navigation : liens en ligne sur grand écran, tiroir + burger en dessous de 1320px (façon infrarch.fr) */
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 8px;
}
.nav a {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.028em;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--blue); border-color: var(--teal); }
.nav a.is-active { border-bottom-color: var(--teal); color: var(--blue); }
.nav__cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 9px 14px !important;
  border-radius: 999px;
  border: none !important;
  text-align: center;
}
/* Bouton de menu « OKILYS Suite » : distinct du reste du menu (pastille teal), sous-menu La suite / CTMS / eTMF */
.nav .nav__suite {
  background: var(--teal-bg, #eaf6f8);
  color: var(--teal-dark, #21778a) !important;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  padding: 7px 12px !important;
  font-weight: 800;
  white-space: nowrap;
}
.nav .nav__suite:hover, .nav .nav__suite.is-active { background: var(--teal); color: #fff !important; border-color: var(--teal); }
.nav .nav-item--suite .sub-menu .suite-bar__soon { margin-left: 6px; }
.nav__cta:hover { opacity: .92; border-color: transparent !important; }
.nav .lang-switch { margin-top: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--peach-dark);
  border-radius: 8px;
  flex: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* L'overlay n'est pas utilisé avec le menu déroulant (façon infrarch.fr) mais reste dans le
   HTML pour le script — il ne s'affiche jamais. */
.nav-overlay { display: none !important; }

/* Sur PC (au-dessus du seuil burger) : une seule ligne garantie, jamais de retour à la ligne */
@media (min-width: 1321px) {
  .nav { flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
}
/* Plage serrée : menu légèrement compressé */
@media (min-width: 1321px) and (max-width: 1500px) {
  .nav { gap: 4px 5px; }
  .nav a { font-size: 0.84rem; }
  .nav__cta { padding: 8px 11px !important; }
  .nav .nav__suite { padding: 6px 10px !important; }
  .header__inner { gap: 8px; }
  .brand { gap: 10px; }
  .brand__tagline { letter-spacing: 0.02em; }
}

@media (max-width: 1320px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 150px; /* recalé en JS à l'ouverture sur la position réelle du bas de l'en-tête */
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start; /* sinon le flex-end du desktop pousse le contenu hors du haut du panneau et bloque le défilement */
    gap: 4px;
    padding: 14px 24px 20px;
    display: none;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px -18px rgba(15,23,42,0.25);
    z-index: 60;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior: contain;
  }
  /* Les entrées du menu gardent leur hauteur naturelle : le contenu déborde et devient défilable
     (sans ceci, les enfants flex se compressent et le menu ne défile jamais) */
  .nav > * { flex-shrink: 0; }
  /* Menu ouvert : la page derrière ne défile plus, seul le menu défile */
  body.nav-open { overflow: hidden; }
  .nav.is-open { display: flex; }
  .nav a {
    width: 100%;
    font-size: 0.95rem;
    padding: 12px 2px;
    border-bottom: 1px solid var(--border);
  }
  .nav a.is-active { border-bottom-color: var(--teal); }
  .nav__cta { margin-top: 8px; }
  .nav .nav__suite { width: auto; display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 4px; }
  .nav .nav__suite .caret { width: 28px; height: 28px; margin: 0; }
  .nav .lang-switch { margin-top: 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  background: var(--blue);
  color: #fff;
}
.btn--ghost:hover { background: var(--blue-dark, #0d3ab8); color: #fff; }
.btn--linkedin {
  background: #0a66c2;
  color: #fff;
  gap: 10px;
}
/* Boutons pleins : pas de bordure transparente ni d'anneau — le fond s'arrête net au bord arrondi */
.btn--primary, .btn--ghost, .btn--linkedin, .btn--arrow { border: none; padding: 15px 28px; }
.btn--onblue {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}
.btn--onblue:hover { background: #fff; color: var(--blue-dark, #0d3ab8); transform: translateY(-2px); }
.btn--linkedin svg { width: 18px; height: 18px; fill: #fff; flex: none; }
.btn--linkedin:hover { background: #084e96; transform: translateY(-2px); }
.btn--arrow {
  background: var(--blue-dark, #0d3ab8);
  color: #fff;
  gap: 10px;
}
.btn--arrow .arrow { display: inline-block; transition: transform .2s; }
.btn--arrow:hover { background: var(--blue); }
.btn--arrow:hover .arrow { transform: translateX(5px); }
.btn--block { width: 100%; }

/* ---------- Hero band (bandeau d'en-tête uniforme, sans photo) ---------- */
.hero-band {
  position: relative;
  background: var(--gradient);
  padding: 64px 0;
  overflow: hidden;
}
.hero-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 320px at 88% 0%, rgba(255,255,255,0.16), transparent 70%);
  pointer-events: none;
}
.hero-band .container { position: relative; z-index: 2; }
.hero-band .eyebrow { color: #d9f0f5; }
.hero-band h1 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 0.35em;
}
.hero-band__lead {
  color: #eef4fb;
  font-size: 1.08rem;
  max-width: 56ch;
  margin-bottom: 0;
}
.hero-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-band__text .btn { margin-top: 26px; }
.hero-band__panel {
  flex: none;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 30px 34px;
  min-width: 300px;
}
.hero-band__panel-title {
  font-family: 'Agne', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 14px;
}
.hero-band__panel-title a { color: #fff; }
.hero-band__panel-title a:hover { text-decoration: underline; }
.hero-band__panel ul { display: flex; flex-direction: column; gap: 10px; }
.hero-band__panel li {
  color: #dce8f5;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.hero-band--center { text-align: center; }
.hero-band--center .hero-band__lead { margin: 0 auto; }
@media (max-width: 960px) {
  .hero-band__inner { flex-direction: column; align-items: flex-start; }
  .hero-band__panel { width: 100%; min-width: 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(45,156,175,0.12), transparent),
    var(--bg);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }
.hero__text h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--ink);
}
.hero__lead {
  font-size: 1.08rem;
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}
.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__stats strong {
  font-family: 'Agne', serif;
  font-size: 1.5rem;
  color: var(--blue);
}
.hero__stats span {
  font-size: 0.82rem;
  color: var(--gray);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.hero__icon {
  width: 42%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(18,76,239,0.25));
}
.hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
}
.hero__ring--1 { width: 100%; background: var(--bg-alt); }
.hero__ring--2 {
  width: 70%;
  border: 2px dashed rgba(45,156,175,0.35);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Values band ---------- */
.values {
  background: var(--ink);
  padding: 22px 0;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.value {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 600;
}
.value__icon {
  color: var(--teal);
  font-weight: 800;
}
.value p { margin: 0; color: #e2e8f0; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-align: center;
  max-width: 46ch;
  margin: 0 auto 16px;
}
.section__lead {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 48px;
  font-size: 1.02rem;
}
.section__lead--left { text-align: left; margin: 0 0 32px; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.about h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

.founder {
  margin-top: 32px;
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.founder__avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Agne', serif;
  font-size: 1.1rem;
}
.founder__name { margin: 0; font-weight: 800; color: var(--ink); }
.founder__role { margin: 2px 0 8px; color: var(--teal-dark); font-size: 0.88rem; font-weight: 700; }
.founder__text { font-size: 0.94rem; margin-bottom: 8px; }
.founder__certs {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.founder__linkedin {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue);
}
.founder__linkedin:hover { color: var(--teal); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.cards--2col { grid-template-columns: repeat(2, 1fr); }
.cards--3col { grid-template-columns: repeat(3, 1fr); }
.card__icon {
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-alt);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.step__number {
  display: inline-block;
  font-family: 'Agne', serif;
  font-size: 1.8rem;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--teal);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---------- Sectors ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sector {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 18px;
  min-height: 74px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial {
  margin: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.testimonial p {
  font-size: 1rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial cite {
  font-style: normal;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--teal-dark);
}

/* ---------- Contact ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact__list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact__list span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  font-weight: 800;
  margin-bottom: 2px;
}
.contact__list p { margin: 0; font-weight: 600; color: var(--ink); }
.contact__list a { color: var(--blue); }

.contact__form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-row input, .form-row textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  background: #fff;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,156,175,0.15);
}
.form-note { font-size: 0.88rem; color: var(--teal-dark); font-weight: 700; min-height: 1.2em; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--teal); color: #eaf6f8; padding: 56px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas:
    "brand legal"
    "nav   nav";
  gap: 8px 32px;
  padding-bottom: 40px;
}
.footer__logo {
  height: 116px;
  width: auto; /* neutralise l'attribut width du <img> (present pour l'anti-CLS) */
  /* logo-white.png export is broken (only a stray mark survives) — derive a clean
     white mark from the color logo instead of relying on a separate white asset */
  filter: brightness(0) invert(1);
}
.footer__brand { grid-area: brand; }
.footer__brand p { color: #eaf6f8; font-size: 0.9rem; }
.footer__nav {
  grid-area: nav;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.footer__nav a { color: #eaf6f8; font-size: 0.92rem; }
.footer__nav a:hover { color: var(--navy); }
.footer__legal { grid-area: legal; }
.footer__legal p { margin: 0 0 6px; font-size: 0.84rem; color: #dcf1f4; }
.footer__legal .social-icon { background: rgba(255,255,255,0.15); margin-top: 2px; }
.footer__bottom {
  padding: 16px 0;
  font-size: 0.82rem;
  color: #fff;
  background: var(--teal-dark);
}
.footer__bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.footer__bottom__brand { display: flex; align-items: center; gap: 10px; }
.footer__bottom__mark {
  height: 24px;
  width: auto;
  flex: none;
  display: block;
  margin-top: -2px;
  /* rendered in white (filter) instead of its native blue/teal — those colors
     are too close to the dark teal footer background to read clearly */
  filter: brightness(0) invert(1);
}
.footer__bottom p { color: #fff; }
.footer__bottom a { color: #fff; opacity: 0.9; }
.footer__bottom a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 720px) {
  .footer__bottom__inner { justify-content: center; text-align: center; }
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  flex: none;
}
.social-icon svg { width: 15px; height: 15px; fill: currentColor; }
.social-icon:hover { background: var(--navy); }

/* ---------- Photo hero (full-bleed, tinted, colored highlight box) ---------- */
.photo-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.photo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,47,82,0.75), rgba(45,156,175,0.55));
}
.photo-hero__inner {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}
.photo-hero__box {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 28px 32px;
  max-width: 620px;
}
.photo-hero__box h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 0.4em;
}
.photo-hero__box p {
  color: #eef2ff;
  margin: 0;
  font-size: 1.05rem;
}

/* Floating circular placeholder inside a hero without a real photo yet */
.photo-hero__floater {
  position: relative;
  z-index: 2;
  flex: none;
  width: 220px;
  aspect-ratio: 1 / 1;
  border: 2px dashed rgba(255,255,255,0.6);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 20px;
}
.photo-hero__floater__icon { font-size: 2.2rem; }

/* ---------- Home hero (Gingko banner) ---------- */
.photo-hero--home {
  background-position: center 22%;
}
.photo-hero--home::before {
  background: rgba(45,156,175,0.4);
}
.home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
  padding-right: 0;
  padding-left: max(24px, calc((100% - 1160px) / 2 + 24px));
}
.home-hero__text {
  max-width: 380px;
  flex: none;
}
.home-hero__text h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(13,47,82,0.5);
}
.home-hero__text p {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 20px;
  text-shadow: 0 2px 14px rgba(13,47,82,0.5);
}
.home-hero__services-link {
  position: relative;
  z-index: 3;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Agne', serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(13,47,82,0.55);
}
.home-hero__services-link:hover { text-decoration: underline; }
.home-hero__panel {
  flex: none;
  align-self: stretch;
  background: rgba(18,76,239,0.9);
  display: flex;
  align-items: center;
  padding: 40px 44px;
  min-width: 260px;
}
.home-hero__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.home-hero__panel li {
  color: #fff;
  font-family: 'Agne', serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}

/* ---------- Peach content block ---------- */
.peach-block {
  background: var(--peach);
  border-left: 6px solid var(--teal);
  padding: 40px;
  border-radius: var(--radius);
}
.peach-block h2 { margin-bottom: 14px; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Agne', serif;
  font-size: 1.15rem;
  color: var(--blue-dark);
}
.accordion__icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform .2s;
}
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.accordion__item.is-open .accordion__panel { max-height: 600px; }
.accordion__panel p { padding: 0 4px 20px; margin: 0; }

/* ---------- FAQ (simple Q&A) ---------- */
.faq { display: flex; flex-direction: column; gap: 18px; }
.faq__item { border-left: 4px solid var(--peach-dark); padding-left: 20px; }
.faq__item h3 { font-size: 1.08rem; color: var(--teal-dark); margin-bottom: 8px; }
.faq__item p { margin: 0; }
/* FAQ en accordéon (details/summary) */
details.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--teal-dark);
  padding: 6px 0;
}
details.faq__item summary::-webkit-details-marker { display: none; }
details.faq__item summary::after {
  content: '+';
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform .2s;
}
details.faq__item[open] summary::after { content: '−'; transform: rotate(180deg); }
details.faq__item p { margin: 8px 0 6px; }
/* Pastille de rôle sur la page Réalisations : associe visuellement chaque succès à son rôle */
.hl-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal-dark);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 8px;
}
.hl-key {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0 0 8px 6px;
}

/* Page Réalisations — proposition B validée : cartes teintées par famille de rôle
   (sélecteurs doublés .vstep.hl-card : la règle .vstep définie plus loin écrase sinon le bord gauche) */
.vstep.hl-card { border-left: 4px solid var(--rail, var(--teal)); }
.vstep.hl-card .vstep__num { background: var(--rail, var(--teal)); }
.hl-gap { height: 26px; }
.hl-context { margin: 0 0 4px; font-size: 0.94rem; color: var(--ink-soft); font-style: italic; }
.hl-arrows { list-style: none; margin: 8px 0 0; padding: 0; }
.hl-arrows li { padding-left: 24px; position: relative; margin: 7px 0; font-size: 0.94rem; }
.hl-arrows li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* Logo LinkedIn standard (carré arrondi, sans pastille ronde) */
.linkedin-glyph { display: inline-flex; align-items: center; }
.linkedin-glyph svg { width: 21px; height: 21px; fill: #0a66c2; }

/* ---------- Service icon (brand-colored pictogram, replaces photo placeholders) ---------- */
.service-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: var(--shadow);
}
.service-icon svg { width: 100%; height: 100%; }

/* ---------- Service blocks (stacked, with thumbnail) ---------- */
.service-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}
.service-block__media {
  flex: none;
  width: 120px;
}
.service-block__media .img-placeholder { min-height: 100px; padding: 10px; font-size: 0.7rem; }
.service-block__media .img-placeholder__icon { font-size: 1.3rem; }
.service-block__content { flex: 1; }

/* ---------- Image placeholder (photo à ajouter manuellement) ---------- */
.img-placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--gray);
  font-size: 0.82rem;
  text-align: center;
  padding: 32px 16px;
  min-height: 200px;
}
.img-placeholder__icon { font-size: 1.8rem; }
.img-placeholder--small { min-height: 110px; padding: 16px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 52px 0;
  background: linear-gradient(135deg, rgba(18,76,239,0.06), rgba(45,156,175,0.06));
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero__inner { max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.page-hero p { font-size: 1.05rem; max-width: 60ch; margin: 0 auto; }

/* ---------- Hero photo variant ---------- */
.hero__photo-wrap { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.hero__photo-wrap::before {
  content: '';
  position: absolute;
  inset: -18px;
  background: var(--gradient);
  opacity: 0.15;
  border-radius: 24px;
  transform: rotate(-4deg);
}
.hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Link cards (home overview) ---------- */
.link-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.link-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.link-card__icon {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-alt);
  margin-bottom: 14px;
}
.link-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.link-card p { font-size: 0.86rem; margin: 0 0 10px; }
.link-card__arrow { display: inline-block; font-weight: 800; color: var(--blue); font-size: 0.85rem; }

/* ---------- Domaines d'expertise icon grid ---------- */
.domaines-group { margin-bottom: 44px; }
.domaines-group:last-child { margin-bottom: 0; }
.domaines-group__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 20px;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 20px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.icon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon-card img { width: 56px; height: 56px; border-radius: 12px; }
.icon-card span { font-size: 0.8rem; font-weight: 700; color: var(--ink); }

/* ---------- Split image/text blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split--reverse .split__media { order: 2; }

/* ---------- Perks / culture list ---------- */
.perk-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.perk__icon { color: var(--teal); font-weight: 800; }
.perk p { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--ink); }

/* ---------- Job placeholder ---------- */
.job-empty {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.job-empty p { margin-bottom: 18px; }

/* ---------- Language switch ---------- */
.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-top: 12px;
  width: fit-content;
}
.lang-switch a {
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 999px;
  color: var(--ink-soft);
}
.lang-switch a.is-active { background: var(--gradient); color: #fff; }
.nav a.is-active { color: var(--blue); border-color: var(--teal); }
/* la règle .nav a.is-active ci-dessus ne doit jamais passer le texte du bouton de langue actif en bleu */
.nav .lang-switch a.is-active,
.nav .lang-switch a.is-active:hover { background: var(--gradient); color: #fff; border-color: transparent; }
/* Sélecteur de langue : toujours dans le bandeau, à droite (jamais dans le menu) —
   le menu reste ainsi sur une seule ligne, alignée verticalement avec le logo et la tagline */
.lang-switch--mobile { display: flex; margin-left: 4px; margin-top: 0; flex: none; }
.nav .lang-switch { display: none; }
@media (max-width: 1320px) {
  .lang-switch--mobile { margin-left: auto; margin-right: 12px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 220px; }
  .hero__icon { width: 38%; }
  .photo-hero__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .photo-hero__floater { width: 160px; }
  .home-hero__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px 24px; }
  .home-hero__services-link { order: 2; }
  .home-hero__panel { order: 3; width: 100%; align-self: auto; padding: 28px 24px; }
  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; padding: 24px; }
  .cards, .cards--2col, .cards--3col { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; grid-template-areas: "brand legal" "nav nav"; }
  .link-cards { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .split__media { order: -1; }
  .perk-list { grid-template-columns: 1fr; }
  .service-block { flex-direction: column; }
  .service-block__media { width: 100%; }
}

@media (max-width: 720px) {
  .topbar__inner { font-size: 0.72rem; flex-direction: column; gap: 2px; padding: 6px 16px; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .cards, .cards--2col, .cards--3col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; grid-template-areas: "brand" "legal" "nav"; text-align: left; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 40px; }
  .link-cards { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-switch { margin-left: 0; }
}

/* Nav overlay for mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.4);
  z-index: 30;
}
.nav-overlay.is-open { display: block; }

/* ---------- Infographie : cycle de vie d'une étude clinique ---------- */
.trial-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  counter-reset: tf;
}
.tf-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px 18px;
}
.tf-step::before {
  counter-increment: tf;
  content: counter(tf);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: 'Agne', serif;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.tf-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  top: 24px;
  right: -13px;
  font-family: 'Agne', serif;
  font-size: 1.5rem;
  color: var(--teal);
  z-index: 2;
}
.tf-step h3 { font-size: 0.98rem; margin-bottom: 6px; }
.tf-step p { font-size: 0.82rem; margin: 0; line-height: 1.45; }
.trial-flow__oversight {
  margin-top: 18px;
  background: var(--gradient);
  border-radius: var(--radius);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.trial-flow__oversight strong { font-family: 'Agne', serif; font-weight: 700; white-space: nowrap; }
.trial-flow__oversight span { font-size: 0.9rem; color: #eaf6fa; }
@media (max-width: 1100px) { .trial-flow { grid-template-columns: repeat(3, 1fr); } .tf-step:nth-child(3)::after { display: none; } }
@media (max-width: 640px) {
  .trial-flow { grid-template-columns: 1fr; }
  .tf-step::after { display: none !important; }
  .trial-flow__oversight { flex-direction: column; text-align: center; gap: 6px; }
}

/* ---------- Infographie : de la molécule au médicament ---------- */
.pipeline { display: flex; gap: 6px; }
.pipe-seg {
  flex: 1;
  color: #fff;
  padding: 18px 14px 16px 26px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 14px 50%);
}
.pipe-seg:first-child { padding-left: 18px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.pipe-seg--1 { background: #124cef; }
.pipe-seg--2 { background: #1e5fd8; }
.pipe-seg--3 { background: #2a72c1; }
.pipe-seg--4 { background: #2f86b8; }
.pipe-seg--5 { background: var(--navy); }
.pipe-seg--6 { background: #2d9caf; }
.pipe-seg h3 { color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.88rem; margin-bottom: 4px; white-space: nowrap; }
.pipe-seg p { color: rgba(255,255,255,0.85); font-size: 0.74rem; margin: 0; line-height: 1.4; }
.pipeline-axis {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-dark);
}
@media (max-width: 960px) {
  .pipeline { flex-direction: column; }
  .pipe-seg, .pipe-seg:first-child {
    clip-path: none;
    border-radius: 10px;
    padding: 14px 18px;
  }
  .pipe-seg h3 { white-space: normal; }
}

/* ---------- Infographie : étapes de l'étude x champs d'intervention OKILYS ---------- */
.coverage-wrap { overflow-x: auto; }
.coverage {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 0;
  min-width: 1080px;
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px);
  background-size: calc(100% / 7) 100%;
  padding-bottom: 6px;
}
.cov-phase {
  padding: 0 14px 14px;
  text-align: center;
}
.cov-phase .cov-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: 'Agne', serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cov-phase h3 { font-size: 0.95rem; margin-bottom: 2px; }
.cov-phase p { font-size: 0.74rem; margin: 0; line-height: 1.35; color: var(--gray); }
.cov-bar {
  margin: 0 10px;
  padding: 9px 16px;
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  /* Centré : chaque bande couvre une plage d'étapes. Un libellé au milieu montre
     l'étendue couverte, là où un alignement à gauche se lirait comme une liste
     ancrée en un point. La barre oversight était déjà centrée : tout l'est désormais. */
  justify-content: center;
  text-align: center;
}
.cov-bar--1 { background: #124cef; }
.cov-bar--2 { background: #1e5fd8; }
.cov-bar--3 { background: #2a72c1; }
.cov-bar--4 { background: #2d9caf; }
.cov-bar--5 { background: #21778a; }
.cov-bar--6 { background: #17566b; }
.cov-bar--7 { background: #2f86b8; }
.cov-bar--8 { background: var(--blue-dark); }
.cov-bar--oversight {
  background: var(--navy);
  justify-content: center;
  margin-top: 6px;
}
.coverage-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Frise allégée : phases cliquables + info-bulle au survol ---------- */
a.cov-phase { color: inherit; position: relative; display: block; cursor: pointer; }
a.cov-phase:hover h3 { color: var(--blue); }
a.cov-phase h3::after { content: " ↗"; font-size: 0.72em; color: var(--teal); }
.cov-tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 265px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 40;
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.45);
}
.cov-tip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--navy);
}
a.cov-phase:hover .cov-tip,
a.cov-phase:focus-visible .cov-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cov-phase--first .cov-tip { left: 0; transform: translate(0, 8px); }
.cov-phase--first .cov-tip::before { left: 34px; transform: rotate(45deg); }
a.cov-phase--first:hover .cov-tip,
a.cov-phase--first:focus-visible .cov-tip { transform: translate(0, 0); }
.cov-phase--last .cov-tip { left: auto; right: 0; transform: translate(0, 8px); }
.cov-phase--last .cov-tip::before { left: auto; right: 34px; transform: rotate(45deg); }
a.cov-phase--last:hover .cov-tip,
a.cov-phase--last:focus-visible .cov-tip { transform: translate(0, 0); }

/* Icônes des étapes de la frise (reprises des anciens blocs de services) */
.cov-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.cov-icon svg { width: 26px; height: 26px; }

/* Ancres : compenser le bandeau collant pour que les sections ciblées ne soient pas masquées */
section[id], .band[id] { scroll-margin-top: 135px; }

/* ---------- Développement clinique : sous-sections par type de produit ---------- */
.pipeline-block { margin-bottom: 48px; }
.pipeline-block:last-child { margin-bottom: 0; }
.pipeline-block__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 16px;
}
/* Segments hors périmètre OKILYS (préclinique, conception produit…) : grisés */
.pipe-seg--muted { background: #aeb9c2; }
.pipe-seg--muted h3 { color: #f4f7f9; }
.pipe-seg--muted p { color: rgba(255,255,255,0.85); }
/* Barre de périmètre sous le pipeline : "Recherche clinique — OKILYS intervient ici" */
.pipeline-scope { display: flex; gap: 6px; margin-top: 10px; }
.pipeline-scope__spacer { flex: 1; }
.pipeline-scope__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid var(--teal);
  background: rgba(45,156,175,0.08);
  border-radius: 10px;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 12px;
}
@media (max-width: 960px) {
  .pipeline-scope { display: none; }
}

/* Hero avec la photo gingko biloba sous le dégradé de charte */
.hero-band--gingko {
  background:
    linear-gradient(90deg, rgba(18,76,239,0.82) 0%, rgba(45,156,175,0.72) 100%),
    url('../assets/images/sections/gingko-accueil.webp') center 30% / cover no-repeat;
}
/* Sur grand écran : image agrandie et calée pour que la feuille soit centrée verticalement,
   dans l'espace libre entre le texte et le panneau Notre expertise */
@media (min-width: 960px) {
  .hero-band--gingko {
    background:
      linear-gradient(90deg, rgba(18,76,239,0.82) 0%, rgba(45,156,175,0.72) 100%),
      url('../assets/images/sections/gingko-accueil.webp') 100% 0% / 135% auto no-repeat;
  }
}

/* ---------- Sous-menu de navigation (Developpement clinique) ---------- */
.nav-item { position: relative; display: inline-flex; }
.nav-item > a .caret { font-size: 0.7em; margin-left: 1px; }
.nav-item .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 18px 30px -18px rgba(15, 23, 42, 0.25);
  z-index: 70;
}
/* Ouverture au survol : uniquement sur ordinateur — sur mobile (tactile), seul le bouton-flèche pilote l'ouverture */
@media (min-width: 1321px) {
  .nav-item:hover .sub-menu,
  .nav-item:focus-within .sub-menu { display: flex; }
}
.nav .sub-menu a {
  width: 100%;
  padding: 9px 12px;
  border-bottom: none;
  border-radius: 8px;
  font-size: 0.88rem;
}
.nav .sub-menu a:hover { background: var(--bg-alt); border-color: transparent; }
.nav .sub-menu a.is-active { background: var(--bg-alt); color: var(--blue); border-bottom: none; }
@media (max-width: 1320px) {
  .nav-item { display: block; width: 100%; }
  .nav-item > a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  /* La flèche devient un bouton développer/réduire avec une large zone tactile */
  .nav-item > a .caret {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    margin: -8px 0;
    border-radius: 8px;
    background: var(--bg-alt);
    font-size: 0.9rem;
    transition: transform .2s;
  }
  .nav-item.is-sub-open > a .caret { transform: rotate(180deg); }
  .nav-item .sub-menu {
    display: none;
    position: static;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0 0 0 18px;
    border-radius: 0;
  }
  .nav-item.is-sub-open .sub-menu { display: flex; }
  .nav .sub-menu a { border-bottom: 1px solid var(--border); border-radius: 0; }
}

/* ---------- Cartes Developpement clinique (accueil, 3 sous-pages) ---------- */
.link-cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .link-cards--3 { grid-template-columns: 1fr; } }

/* ---------- Frise verticale (sous-pages Medicament / DM / Donnees) ---------- */
.vpipe { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.vstep {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}
.vstep__num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.vstep h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.98rem; margin: 6px 0 4px; }
.vstep p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.vstep--muted { background: var(--bg-alt); }
.vstep--muted .vstep__num { background: #aeb9c2; }
.vstep--muted h3 { color: var(--gray); }
.vstep--muted p { color: var(--gray); }
.vscope {
  position: relative;
  border: 2px solid var(--teal);
  border-radius: 16px;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 6px 0;
}
.vscope__label {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #fff;
  padding: 0 10px;
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vpipe-axis {
  margin-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-dark);
}

/* Crédit INFRARCH : une ligne cliquable = icône (marque de www.infrarch.fr) + INFRARCH + tagline */
.infrarch-credit { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; margin: 0 4px; white-space: nowrap; text-decoration: none; }
.infrarch-credit__mark { height: 26px; width: auto; display: inline-block; }
.infrarch-credit__name { color: #007ebd; font-weight: 800; letter-spacing: 0.04em; }
.infrarch-credit__tag { color: #5f5f5f; font-size: 0.82rem; font-weight: 700; }
.infrarch-credit:hover .infrarch-credit__name { text-decoration: underline; }
.mod-card .infrarch-credit { flex-wrap: wrap; white-space: normal; }

/* Tagline de l'en-tête : sur mobile, retour à la ligne juste avant le « & » */
.tagline-br { display: none; }
@media (max-width: 720px) {
  .tagline-br { display: inline; }
  .brand__tagline { white-space: normal; }
}
