/* ============================================================
   INVENTIO SCIENCE — Design system
   Structure & layout modelled on apicescro.com
   Brand colours: Inventio navy + orange
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- TOKENS ---------- */
:root {
  /* Brand */
  --navy:        #223267;
  --navy-mid:    #2E4488;
  --navy-light:  #3D5199;
  --navy-dark:   #182549;
  --navy-deep:   #0E1733;
  --orange:      #FAA832;
  --orange-dark: #DC8D1A;
  --orange-light:#FFC066;

  /* Neutrals */
  --ink:        #101319;
  --ink-soft:   #3A3F4A;
  --muted:      #5F6470;
  --line:       #E2E6EE;
  --line-soft:  #EEF1F6;
  --offwhite:   #F5F7FB;
  --tint-navy:  #DCE4F3;
  --white:      #FFFFFF;

  /* Gradients (equivalent of Apices red→pink / red→orange) */
  --grad-primary:  linear-gradient(115deg, var(--navy) 0%, var(--navy-light) 55%, var(--orange) 140%);
  --grad-warm:     linear-gradient(115deg, var(--navy) 0%, var(--orange) 100%);
  --grad-orange:   linear-gradient(115deg, var(--orange) 0%, var(--orange-dark) 100%);
  --grad-deep:     linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 100%);

  /* Layout */
  --container: 1200px;
  --radius:    8px;
  --radius-lg: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- TYPO ---------- */
body {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .font-display {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  line-height: 1.12;
  color: var(--navy);
}
h1 { font-size: clamp(2.15rem, 4vw, 3.15rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.45rem); font-weight: 300; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }

.lead      { font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.72; color: var(--ink-soft); }
.text-just { text-align: left; hyphens: none; -webkit-hyphens: none; }
.accent    { color: var(--orange); }
.accent-navy { color: var(--navy); }
.hl        { color: var(--orange); font-weight: 700; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section       { padding: 96px 0; }
.section--tight{ padding: 64px 0; }
.section--lg   { padding: 128px 0; }
.section--grey { background: var(--offwhite); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.86); }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--lg { padding: 80px 0; }
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split--40-60 { grid-template-columns: 0.75fr 1fr; }
.split--60-40 { grid-template-columns: 1fr 0.75fr; }
@media (max-width: 900px) {
  .split, .split--40-60, .split--60-40 { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- PLACEHOLDER (visuel à remplacer) ---------- */
.ph {
  position: relative;
  background-color: var(--tint-navy);
  background-image:
    linear-gradient(45deg, rgba(34,50,103,0.09) 25%, transparent 25%, transparent 75%, rgba(34,50,103,0.09) 75%),
    linear-gradient(45deg, rgba(34,50,103,0.09) 25%, transparent 25%, transparent 75%, rgba(34,50,103,0.09) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
}
.ph::after {
  content: attr(data-ph);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(34,50,103,0.22);
  padding: 8px 14px;
  border-radius: 999px;
  text-align: center;
  max-width: 86%;
  line-height: 1.35;
  box-shadow: 0 4px 14px rgba(34,50,103,0.08);
}
.ph--dark {
  background-color: var(--navy);
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.07) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.07) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.07) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.07) 75%);
}
.ph--video::before {
  content: '';
  position: absolute;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 6px 24px rgba(34,50,103,0.18);
  top: 50%; left: 50%;
  transform: translate(-50%, calc(-50% - 44px));
}
.ph--video .ph-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-46%, calc(-50% - 44px));
  width: 0; height: 0;
  border-left: 17px solid var(--orange);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  z-index: 2;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 14px 30px;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(250,168,50,0.32);
}
.btn--primary:hover { box-shadow: 0 12px 28px rgba(250,168,50,0.42); }
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--navy:hover { background: var(--navy-dark); box-shadow: 0 12px 28px rgba(34,50,103,0.28); }
.btn--white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.btn--white:hover { color: var(--orange); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn--ghost-white:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 18px 0 14px;
}
.header.is-scrolled {
  box-shadow: 0 2px 18px rgba(16,19,25,0.07);
  border-color: var(--line-soft);
  padding: 10px 0 8px;
}
.header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.header__logo img {
  height: 46px;
  width: auto;
  transition: height 0.35s var(--ease);
}
.header.is-scrolled .header__logo img { height: 36px; }
.header__utility {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--navy);
  padding-top: 6px;
}
.header__utility a { transition: color 0.25s; }
.header__utility a:hover { color: var(--orange); }
.header__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 10px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.header.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.menu-open .burger span:nth-child(2) { opacity: 0; }
.header.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: flex; }
  .header__top { align-items: center; gap: 14px; }
  /* Téléphone + LinkedIn restent visibles, en icônes (texte masqué) */
  .header__utility { display: flex; margin-left: auto; padding-top: 0; gap: 10px; }
  .header__phone span { display: none; }
  .header__phone { width: 40px; height: 40px; justify-content: center; }
  .header__bottom { margin-top: 0; }
  .nav, .header__cta { display: none; }
  /* Menu déroulant : nav + CTA en flux vertical, le CTA se place SOUS les liens */
  .header.menu-open .header__bottom {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(16,19,25,0.10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    z-index: 100;
  }
  .header.menu-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .header.menu-open .header__cta { display: block; }
}

/* ---------- HERO (rounded card, Apices-style) ---------- */
.hero { padding: 22px 0 0; }
.hero__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
@media (max-width: 768px) { .hero__card { min-height: 440px; } }
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media .ph { width: 100%; height: 100%; border-radius: 0; }
.hero__media img,
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(14,23,51,0.94) 0%,
    rgba(34,50,103,0.86) 34%,
    rgba(34,50,103,0.52) 62%,
    rgba(250,168,50,0.28) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 64px 56px;
  max-width: 940px;
}
@media (max-width: 768px) { .hero__inner { padding: 44px 26px; } }
.hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  display: block;
}
.hero__title {
  color: #fff;
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 14px;
}
.hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.hero__text {
  color: rgba(255,255,255,0.94);
  font-size: 1rem;
  max-width: 620px;
  margin-bottom: 26px;
}
.hero--inner .hero__card { min-height: 380px; }
.hero--inner .hero__inner { max-width: 1000px; }

/* ---------- SECTION HEADER ---------- */
.sec-head { margin-bottom: 48px; max-width: 1000px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

/* ---------- BENTO TILE GRID ---------- */
.bento {
  display: grid;
  grid-template-columns: 0.85fr repeat(3, 1fr);
  grid-auto-rows: 208px;
  gap: 20px;
}
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .bento { grid-template-columns: 1fr; grid-auto-rows: 180px; } }
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,19,25,0.14); }
.tile span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}
.tile--tall { grid-row: span 2; }
.tile--navy      { background: var(--navy);       color: #fff; }
.tile--navy-mid  { background: var(--navy-mid);   color: #fff; }
.tile--navy-deep { background: var(--navy-deep);  color: var(--orange); }
.tile--orange    { background: var(--orange);     color: #fff; }
.tile--orange-dk { background: var(--orange-dark);color: #fff; }
.tile--tint      { background: var(--tint-navy);  color: var(--navy); }
.tile--grey      { background: var(--offwhite);   color: var(--navy); }
.tile--photo { padding: 0; }
.tile--photo .ph { width: 100%; height: 100%; border-radius: 0; }
.tile__plus {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  z-index: 3;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.tile:hover .tile__plus { transform: rotate(90deg); background: var(--orange); color: #fff; }
.tile--tint .tile__plus, .tile--grey .tile__plus { background: var(--navy); color: #fff; }

/* ---------- STAT CARDS ---------- */
.stats { display: grid; gap: 20px; }
.stats__hero { grid-template-columns: 1fr; }
.stat {
  border-radius: var(--radius);
  padding: 46px 30px;
  text-align: center;
  color: #fff;
  background: var(--grad-primary);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(34,50,103,0.22); }
.stat--warm { background: var(--grad-warm); }
.stat--deep { background: var(--grad-deep); }
.stat--orange { background: var(--grad-orange); }
.stat__num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 10px;
  font-feature-settings: 'tnum';
}
.stat__label { font-size: 0.96rem; opacity: 0.92; }

/* ---------- QUOTE BAND (full-bleed duotone) ---------- */
.quote-band {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.quote-band__media { position: absolute; inset: 0; z-index: 0; }
.quote-band__media .ph { width: 100%; height: 100%; border-radius: 0; }
.quote-band__media img { width: 100%; height: 100%; object-fit: cover; }
.quote-band__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(14,23,51,0.92) 0%, rgba(34,50,103,0.84) 48%, rgba(250,168,50,0.55) 100%);
  mix-blend-mode: multiply;
}
.quote-band__inner { position: relative; z-index: 2; width: 100%; padding: 90px 0; }
.quote-band blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.55rem, 3.4vw, 3rem);
  font-weight: 300;
  line-height: 1.24;
  color: rgba(255,255,255,0.96);
  max-width: 1050px;
}
.quote-band cite {
  display: block;
  margin-top: 26px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
}

/* ---------- LIST CARDS (services columns) ---------- */
.listcard {
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 30px;
}
.listcard--warm { background: var(--grad-warm); }
.listcard--orange { background: var(--grad-orange); }
.listcard h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.listcard ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.94);
}
.listcard ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
}
.listcard a { color: #fff; transition: opacity 0.25s; }
.listcard a:hover { opacity: 0.78; }

/* ---------- SUPPORT LINKS (left column list) ---------- */
.support-item { margin-bottom: 26px; }
.support-item h4 { color: var(--navy); margin-bottom: 4px; }
.support-item p { color: var(--ink-soft); font-size: 0.95rem; }
.support-item a { color: var(--navy); font-weight: 600; }
.support-item a:hover { color: var(--orange); }

/* ---------- CAROUSEL (auto-scroll cards) ---------- */
.carousel { overflow: hidden; position: relative; }
.carousel__track {
  display: flex;
  gap: 20px;
  will-change: transform;
}
.carousel--auto .carousel__track {
  animation: marquee 46s linear infinite;
}
.carousel--auto:hover .carousel__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}
.ccard {
  flex: 0 0 272px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.ccard--warm { background: var(--grad-warm); }
.ccard--orange { background: var(--grad-orange); }
.ccard--deep { background: var(--grad-deep); }
.ccard__media { height: 152px; flex-shrink: 0; }
.ccard__media .ph { width: 100%; height: 100%; border-radius: 0; }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; }
.ccard__body { padding: 22px 22px 26px; text-align: center; }
.ccard__body h3 { color: #fff; font-size: 1.14rem; margin-bottom: 10px; line-height: 1.25; }
.ccard__body p { font-size: 0.86rem; line-height: 1.55; color: rgba(255,255,255,0.92); }
@media (prefers-reduced-motion: reduce) {
  .carousel--auto .carousel__track { animation: none; }
}

/* ---------- NUMBERED LIST ---------- */
.numlist li {
  counter-increment: nl;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.numlist { counter-reset: nl; }
.numlist li::before {
  content: counter(nl) ".";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ---------- BULLET LIST ---------- */
.bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.bullets--tight li { margin-bottom: 7px; font-size: 0.95rem; }

/* ---------- FEATURE ROW (alternating photo/text) ---------- */
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 74px 0;
  border-top: 1px solid var(--line-soft);
}
.frow:first-of-type { border-top: 0; }
.frow--rev .frow__media { order: 2; }
.frow--rev .frow__body  { order: 1; }
@media (max-width: 900px) {
  .frow { grid-template-columns: 1fr; gap: 32px; padding: 52px 0; }
  .frow--rev .frow__media, .frow--rev .frow__body { order: initial; }
}
.frow__media { position: relative; }
.frow__media .ph { aspect-ratio: 3/2; width: 100%; }
.frow__media img { width: 100%; border-radius: var(--radius); }
.frow__body h3 { margin-bottom: 16px; }
.frow__kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

/* ---------- CTA CARD ---------- */
.ctacard {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grad-primary);
  color: #fff;
  padding: 66px 56px;
  isolation: isolate;
}
@media (max-width: 768px) { .ctacard { padding: 44px 26px; } }
.ctacard::after {
  content: '';
  position: absolute;
  right: -8%; top: -60%;
  width: 62%; height: 220%;
  background: radial-gradient(circle, rgba(250,168,50,0.32) 0%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.ctacard__inner { position: relative; z-index: 1; max-width: 860px; }
.ctacard h2 { color: #fff; margin-bottom: 14px; font-weight: 700; }
.ctacard p { color: rgba(255,255,255,0.92); }

/* ---------- CARD (generic) ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(250,168,50,0.5); box-shadow: 0 18px 40px rgba(16,19,25,0.10); }
.card--grey { background: var(--offwhite); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.card__kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}

/* ---------- PHOTO TILE (therapeutic area, service) ---------- */
.ptile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.ptile:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(16,19,25,0.16); }
.ptile__media { position: absolute; inset: 0; z-index: 0; }
.ptile__media .ph { width: 100%; height: 100%; border-radius: 0; }
.ptile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ptile:hover .ptile__media img { transform: scale(1.06); }
.ptile__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,23,51,0.18) 0%, rgba(14,23,51,0.55) 52%, rgba(14,23,51,0.88) 100%);
}
.ptile__body { position: relative; z-index: 2; padding: 26px 24px; width: 100%; }
.ptile__body h3 { color: #fff; font-size: 1.1rem; line-height: 1.25; }
.ptile--lg { min-height: 300px; }

/* ---------- ACCORDION / DETAIL BLOCK ---------- */
.detail { border-top: 1px solid var(--line); padding: 46px 0; }
.detail:first-of-type { border-top: 0; }
.detail__head { display: flex; gap: 20px; align-items: baseline; margin-bottom: 18px; }
.detail__head h3 { color: var(--navy); }

/* ---------- FORM ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font-family: 'Lato', sans-serif;
  font-size: 0.96rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(250,168,50,0.16);
}
.field textarea { resize: vertical; min-height: 132px; }
.checkline {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.88rem; color: var(--muted); line-height: 1.6;
  cursor: pointer;
}
.checkline input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--orange); }
.checkline a { color: var(--orange); text-decoration: underline; }
.fieldset-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 12px 0 -4px;
}
.radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.radio-pill input { accent-color: var(--orange); }
.radio-pill:has(input:checked) { border-color: var(--orange); background: rgba(250,168,50,0.1); color: var(--navy); font-weight: 600; }
@media (max-width: 640px) {
  .radio-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .radio-pill { display: flex; width: 100%; border-radius: 12px; padding: 12px 16px; gap: 11px; text-align: left; line-height: 1.35; }
  .radio-pill input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; }
}

/* ---------- CONTACT INFO ---------- */
.infocard {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  position: sticky;
  top: 150px;
}
@media (max-width: 900px) { .infocard { position: static; } }
.inforow { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.inforow:last-of-type { border-bottom: 0; }
.inforow__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(250,168,50,0.14);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.inforow h4 { color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.inforow p, .inforow a { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.inforow a:hover { color: var(--orange); }

/* ---------- LEGAL PAGES ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  margin: 48px 0 14px;
  color: var(--navy);
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.06rem; margin: 26px 0 10px; }
.legal p { color: var(--ink-soft); margin-bottom: 14px; }
.legal a { color: var(--orange); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal ul { margin: 6px 0 18px; }
.legal ul li {
  position: relative; padding-left: 24px; margin-bottom: 7px;
  color: var(--ink-soft);
}
.legal ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}
.legal__updated { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 12px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.78); padding: 76px 0 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 0.7fr;
  gap: 44px;
  padding-bottom: 46px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo img {
  height: 58px; width: auto;
  background: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  display: block;
}
.footer__tag { margin: 18px 0 22px; font-size: 0.93rem; line-height: 1.6; max-width: 300px; }
.footer h4 {
  color: #fff;
  font-size: 0.94rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer__list li { margin-bottom: 9px; }
.footer__list a { font-size: 0.92rem; transition: color 0.25s; }
.footer__list a:hover { color: var(--orange); }
.footer__contact { font-size: 0.9rem; line-height: 1.7; }
.footer__contact a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.3s, transform 0.3s;
}
.footer__social a:hover { background: var(--orange); transform: translateY(-2px); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--orange); }
.footer__ccra {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  max-width: 300px;
}
.footer__ccra-mark {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 0.8rem;
}
.footer__ccra strong { display: block; color: #fff; font-size: 0.85rem; }
.footer__ccra span { font-size: 0.76rem; color: rgba(255,255,255,0.6); }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-44px); transition: opacity 1.05s var(--ease), transform 1.05s var(--ease); }
.reveal-l.is-in { opacity: 1; transform: translateX(0); }
.reveal-r { opacity: 0; transform: translateX(44px);  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease); }
.reveal-r.is-in { opacity: 1; transform: translateX(0); }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
.reveal-d4 { transition-delay: 0.48s; }
.reveal-d5 { transition-delay: 0.60s; }
html:not(.has-js) .reveal,
html:not(.has-js) .reveal-l,
html:not(.has-js) .reveal-r { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- HERO SLIDER ---------- */
.slider { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: slideIn 0.9s var(--ease); }
@keyframes slideIn { from { opacity: 0; } to { opacity: 1; } }
.slider__dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.slider__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, transform 0.3s;
}
.slider__dots button.is-active { background: #fff; transform: scale(1.25); }

/* ---------- UTIL ---------- */
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px;
}

/* ---------- ARC TABLE (Preclinical to Clinical) ---------- */
.arc-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.arc-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.arc-row:first-child { border-top: 0; }
.arc-row > div { padding: 22px 22px; font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); }
.arc-row > div + div { border-left: 1px solid var(--line-soft); }
.arc-row--head > div {
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.arc-row--head > div + div { border-left-color: rgba(255,255,255,0.2); }
.arc-stage {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
  color: var(--navy) !important;
  background: var(--offwhite);
}
@media (max-width: 860px) {
  .arc-row { grid-template-columns: 1fr; }
  .arc-row > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
  .arc-row--head { display: none; }
  .arc-stage { font-size: 1rem !important; }
  .arc-row > div:nth-child(2)::before { content: 'Expert Partner'; display:block; font-family:'Montserrat',sans-serif; font-size:0.7rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--orange); margin-bottom:6px; }
  .arc-row > div:nth-child(3)::before { content: 'Inventio Science (In-House)'; display:block; font-family:'Montserrat',sans-serif; font-size:0.7rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--orange); margin-bottom:6px; }
}

.pathway-note {
  background: var(--grad-warm);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 34px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

/* ---------- WIZARD (Request a Proposal) ---------- */
.wizard { }
.wizard__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
  counter-reset: ws;
}
@media (max-width: 640px) { .wizard__steps { grid-template-columns: 1fr; gap: 8px; } }
.wizard__steps li {
  counter-increment: ws;
  border-top: 3px solid var(--line);
  padding-top: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.35s, border-color 0.35s;
}
.wizard__steps li::before {
  content: counter(ws) ". ";
  color: var(--orange);
  font-weight: 800;
}
.wizard__steps li.is-active { color: var(--navy); border-color: var(--orange); }
.wizard__steps li.is-done { color: var(--navy); border-color: var(--navy); }

.wizard__panel {
  display: none;
  border: 0;
  flex-direction: column;
  gap: 22px;
}
.wizard__panel.is-active { display: flex; animation: wizFade 0.5s var(--ease); }
@keyframes wizFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wizard__panel legend { padding: 0; }
.wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.radio-stack { display: flex; flex-direction: column; gap: 12px; }
.radio-block {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.radio-block input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--orange); }
.radio-block:hover { border-color: rgba(250,168,50,0.6); }
.radio-block:has(input:checked) {
  border-color: var(--orange);
  background: rgba(250,168,50,0.07);
  box-shadow: 0 0 0 3px rgba(250,168,50,0.12);
  color: var(--navy);
  font-weight: 600;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
  transition: border-color 0.3s, background 0.3s;
}
.check-item input { margin-top: 2px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--orange); }
.check-item:hover { border-color: rgba(250,168,50,0.6); }
.check-item:has(input:checked) { border-color: var(--orange); background: rgba(250,168,50,0.07); color: var(--navy); font-weight: 600; }


/* ---------- HIGHLIGHT CALLOUT (home) ---------- */
.highlight {
  background: var(--tint-navy);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 30px 34px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy);
}

/* ---------- AWARDS ---------- */
.award {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.award:hover { transform: translateY(-4px); border-color: rgba(250,168,50,0.5); box-shadow: 0 18px 40px rgba(16,19,25,0.10); }
.award__img {
  background: var(--offwhite);
  padding: 26px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  border-bottom: 1px solid var(--line);
}
.award__img img { max-height: 150px; width: auto; }
.award__body { padding: 22px 22px 26px; }
.award__year {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.award h3 { font-size: 1.06rem; margin-bottom: 8px; }
.award p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- DONUT (therapeutic areas) ---------- */
.donut { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.donut svg { width: 100%; max-width: 380px; height: auto; }
.donut svg circle[stroke-dasharray] {
  transition: stroke-width 0.4s var(--ease);
}
.donut__legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 18px;
  width: 100%;
}
@media (max-width: 520px) { .donut__legend { grid-template-columns: 1fr; } }
.donut__legend li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.3;
}
.donut__legend span {
  width: 12px; height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ---------- ARC TITLE (preclinical) ---------- */
.arc-title {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

/* ---------- JUSTIFY: desactive sur colonnes etroites ---------- */
@media (max-width: 760px) {
  .text-just { text-align: left; hyphens: none; }
}
.card .text-just, .ccard .text-just, .rwe-type-card .text-just {
  text-align: left;
  hyphens: none;
}

/* ============================================================
   CORRECTIFS
   ============================================================ */

/* --- FIX overflow: les enfants de grid/flex ne doivent pas s'etirer --- */
.split > *, .grid > *, .split--40-60 > *, .split--60-40 > * { min-width: 0; }
.carousel { width: 100%; max-width: 100%; min-width: 0; }
.carousel__track { width: max-content; }

/* --- TITRES : une seule ligne quand c'est possible --- */
.sec-head { max-width: none; }
.sec-head > p, .sec-head > .lead { max-width: 940px; }
.sec-head--center > p, .sec-head--center > .lead { margin-left: auto; margin-right: auto; }
h1, h2, h3 { text-wrap: balance; }
.hero__title { text-wrap: balance; }
.nowrap-title { white-space: nowrap; }

/* --- PAGES LEGALES : bandeau titre sobre --- */
.legal-head {
  background: var(--offwhite);
  border-bottom: 1px solid var(--line);
  padding: 74px 0 54px;
}
.legal-head h1 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 10px;
}
.legal-head__updated { color: var(--muted); font-size: 0.94rem; font-style: italic; }

/* --- PRECLINICAL : colonnes coloree partner / in-house --- */
.arc-row--head .arc-partner { color: #fff; }
.arc-row--head .arc-inhouse {
  background: var(--orange);
  color: #fff !important;
}
.arc-cell-inhouse { background: rgba(250,168,50,0.07); }
@media (max-width: 860px) {
  .arc-row > div:nth-child(3)::before { color: var(--orange); }
}

/* --- DONUT : labels externes relies par un trait --- */
.donut-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  justify-items: center;
}
.donut-chart { width: 100%; max-width: 560px; }
.donut-chart svg { width: 100%; height: auto; overflow: visible; }
.donut-chart .lbl {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  fill: var(--navy);
}
.donut-chart .lbl-line { stroke: var(--line); stroke-width: 1.2; }
.donut-chart .lbl-dot { r: 4; }

/* ============================================================
   TITRES : maximiser le remplissage de ligne
   ============================================================ */
h1, h2, h3, .hero__title {
  hyphens: none;
  -webkit-hyphens: none;
  text-wrap: balance;
}

/* Hero : occuper toute la largeur disponible */
.hero__inner { max-width: 100%; }
.hero--inner .hero__inner { max-width: 100%; }
.hero__title { font-size: clamp(1.72rem, 2.72vw, 2.42rem); line-height: 1.14; }
.hero__text, .hero__sub { max-width: 900px; }

/* Titres de section pleine largeur */
.sec-head h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }

/* Titres dans une colonne (split) : plus compacts */
.split h2, .split--40-60 h2, .split--60-40 h2 {
  font-size: clamp(1.5rem, 2.05vw, 1.82rem);
}
/* Ces proportions ne valent que sur desktop : hors media query elles annulaient
   l'empilement mobile declare ligne 122 (colonnes de 116 px sur telephone). */
@media (min-width: 901px) {
  .split--40-60 { grid-template-columns: 0.68fr 1fr; }
  .split--60-40 { grid-template-columns: 1fr 0.68fr; }
  .split { gap: 56px; }
}

/* CTA card : titre large */
.ctacard h2 { font-size: clamp(1.55rem, 2.35vw, 2.05rem); }
.ctacard__inner { max-width: 960px; }

/* Ajustement fin : titres qui manquaient de quelques pixels */
.hero__title { font-size: clamp(1.68rem, 2.6vw, 2.32rem); }
.split h2, .split--40-60 h2, .split--60-40 h2 { font-size: clamp(1.46rem, 1.96vw, 1.74rem); }
.hero__card { padding-left: 0; padding-right: 0; }
.hero__inner { padding-left: 48px; padding-right: 48px; }
.hero__inner { padding-left: 40px; padding-right: 40px; }
.hero__title { font-size: clamp(1.66rem, 2.55vw, 2.27rem); }

/* Diagramme : pleine largeur, labels lisibles */
.donut-chart { max-width: 1000px; margin: 0 auto; }
.donut-chart .lbl { font-size: 15px; }
.donut-chart .lbl-line { stroke: #C7D0E2; stroke-width: 1.4; }

/* Etiquette de placeholder : en bas a droite sur les fonds de hero/bande */
.hero__media .ph::after,
.quote-band__media .ph::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 60%;
}
.hero__media .ph, .quote-band__media .ph { align-items: flex-end; justify-content: flex-end; }
.ph--video::before, .ph--video .ph-play { display: none; }


/* ---------- BARRE UTILITAIRE : telephone + LinkedIn ---------- */
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.header__phone svg { color: var(--navy); flex: none; }
.header__phone:hover { color: var(--orange); }
.header__phone:hover svg { color: var(--orange); }
.header__li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.header__li:hover { background: var(--orange); transform: translateY(-2px); }
@media (max-width: 900px) {
  .header__phone span { display: none; }
}

/* ---------- FORMULAIRE : message d'erreur visible ---------- */
.wizard__error {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 13px 18px;
  border-radius: var(--radius);
  background: #FDF1E3;
  border: 1px solid var(--orange);
  color: #8A5205;
  font-size: 0.94rem;
  font-weight: 600;
}
.wizard__panel.has-error .wizard__error { display: flex; }
.wizard__panel.has-error .radio-card,
.wizard__panel.has-error .radio-pill { border-color: var(--orange); }
@keyframes wz-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.wizard__panel.has-error { animation: wz-shake 0.45s var(--ease); }


/* ---------- PULLQUOTE (mise en valeur d'un texte fort) ---------- */
.pullquote {
  position: relative;
  margin-top: 28px;
  padding: 26px 30px 26px 34px;
  background: var(--offwhite);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.55;
  color: var(--navy);
}
.pullquote--wide { margin-top: 0; padding: 40px 46px 40px 50px; }
.pullquote__lead {
  font-weight: 700 !important;
  font-size: clamp(1.16rem, 1.75vw, 1.42rem) !important;
  margin-bottom: 12px !important;
}
.pullquote--wide p:not(.pullquote__lead) {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
}
@media (max-width: 640px) {
  .pullquote { padding: 22px 20px 22px 24px; }
  .pullquote--wide { padding: 28px 22px 28px 26px; }
}


/* ---------- VISUELS INTEGRES ---------- */
.ph--filled {
  background-image: none;
  background-color: var(--tint-navy);
}
.ph--filled::after { content: none; }
.ph-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.hero__media .ph--filled,
.quote-band__media .ph--filled { border-radius: 0; }

/* Aplats de couleur pour les emplacements sans visuel */
.ph--solid {
  background-image: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px;
  min-height: 190px;
}
.ph--solid::after { content: none; }
.ph--solid span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(0.98rem, 1.25vw, 1.16rem);
  line-height: 1.35;
  color: #fff;
  text-wrap: balance;
}
.ph--solid-navy { background-color: var(--navy); }
.ph--solid-orange { background-color: var(--orange); }
.ph--solid-orange span { color: var(--navy-dark); }

.founder-card { flex-direction: column; gap: 8px; }
.ph--solid .founder-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: #fff;
  line-height: 1.25;
}
.ph--solid .founder-card__role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

/* FIX mobile : la carte contact ne doit pas deborder */
.infocard { max-width: 100%; min-width: 0; }
.inforow { min-width: 0; }
.inforow > div { min-width: 0; }
.inforow p, .inforow a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .infocard { padding: 26px 20px; }
  .inforow { gap: 12px; }
}

/* FIX mobile : aucun enfant de grille ne doit deborder */
.frow > *, .frow__body, .frow__media { min-width: 0; }
.frow__body h3, .frow__body p, .frow__body span { overflow-wrap: break-word; }
@media (max-width: 640px) {
  .frow__body .text-just { text-align: left; hyphens: none; }
}


/* ---------- CONFIRMATION D'ENVOI FORMULAIRE ---------- */
.form-success {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-left: 4px solid #2E9E5B;
  border-radius: var(--radius);
  padding: 40px 38px;
  text-align: center;
}
.form-success__icon {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(46,158,91,0.12);
  color: #2E9E5B;
  display: flex; align-items: center; justify-content: center;
}
.form-success h3 { color: var(--navy); margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); max-width: 460px; margin: 0 auto; }


.ph-media[src$="photo-41.jpg"]{object-position:center 40%}
/* ---------- RECENTRAGE PHOTOS (retour Duchesse) ---------- */
.ph-media[src$="photo-04.jpg"]{object-position:center 30%}
.ph-media[src$="photo-08.jpg"]{object-position:center 40%}
.ph-media[src$="photo-11.jpg"]{object-position:center 35%}
.ph-media[src$="video-12.mp4"]{object-position:center 45%}
.ph-media[src$="photo-16.jpg"]{object-position:center 42%}
.ph-media[src$="photo-17.jpg"]{object-position:center 24%}
.ph-media[src$="photo-18.jpg"]{object-position:center 14%}
.ph-media[src$="photo-19.jpg"]{object-position:center 50%}
.ph-media[src$="photo-20.jpg"]{object-position:center 5%}
.ph-media[src$="photo-21.jpg"]{object-position:center 30%}
.ph-media[src$="photo-25.jpg"]{object-position:center 38%}
.ph-media[src$="photo-29.jpg"]{object-position:center}
.ph-media[src$="photo-44.jpg"]{object-position:center 25%}
.ph-media[src$="video-26.mp4"]{object-position:center 35%}

.ptile__media .ph-media{object-position:center 22%}

/* Recadrage par tuile Services : les tuiles passent en paysage sous 900px,
   ces valeurs remontent les visages au-dessus du bandeau de titre. */
.ptile__media .ph-media[src$="photo-16t.jpg"]{object-position:center 50%}
.ptile__media .ph-media[src$="photo-17t.jpg"]{object-position:center 34%}
.ptile__media .ph-media[src$="photo-18t.jpg"]{object-position:center 26%}
.ptile__media .ph-media[src$="photo-19t.jpg"]{object-position:center 51%}
.ptile__media .ph-media[src$="photo-20t.jpg"]{object-position:center 10%}
/* photo-19 sert aussi de tuile PASS (Observational Studies) : cadrage propre à cet usage */
.ptile__media .ph-media[src$="photo-19.jpg"]{object-position:center 65%}

/* Sur petit ecran, les libelles de CTA longs doivent pouvoir revenir a la ligne :
   le white-space:nowrap de .btn (ligne 197) coupait le bouton Observational Studies. */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
}


/* Photo 29 (Autoimmune) : image portrait affichee en entier, geste des medicaments visible */
.frow__media--tall .ph { aspect-ratio: 1211 / 1800; width: 100%; max-width: 430px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .frow__media--tall .ph { max-width: 340px; } }

/* Mobile : les animations glissent verticalement (pas de decalage horizontal -> zero debordement) */
@media (max-width: 640px) {
  .reveal-l, .reveal-r { transform: translateY(26px); }
  .reveal-l.is-in, .reveal-r.is-in { transform: translateY(0); }
}
