/* ============================================================
   fusion.css — styles additionnels pour les pages issues de la fusion
   (vitrine personnelle de Lydie Parsus x OKILYS Life Science)
   Chargé APRES styles.css, sur index.html et fondatrice.html.
   Réutilise les tokens définis dans styles.css (:root).
   ============================================================ */

/* ---------- Bandeau statistiques (index.html) ---------- */
.stats { background: var(--navy); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,0.12); }
.stat:first-child { border-left: none; }
.stat strong { display: block; font-family: 'Agne', serif; font-size: 2rem; color: #fff; letter-spacing: -0.01em; }
.stat span { font-size: 0.8rem; color: #b9d4e8; }

/* ---------- Cadres réglementaires (pages Produits de santé) ----------
   Simple énoncé des textes applicables par zone — pas de commentaire de fond. */
.reg-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.reg-list li { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.reg-list__zone {
  display: inline-block; min-width: 152px;
  font-weight: 800; color: var(--teal-dark);
}
@media (max-width: 640px) {
  .reg-list__zone { display: block; min-width: 0; margin-bottom: 2px; }
}

/* ---------- Infographie combinée (schéma SVG horizontal à couloirs, issu des notes Produits de santé) ---------- */
.combo { margin: 22px 0 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 12px 10px; overflow-x: auto; }
.combo svg { display: block; min-width: 780px; width: 100%; height: auto; }
.combo figcaption { font-size: 0.85rem; color: var(--ink-soft); padding: 10px 8px 4px; border-top: 1px dashed var(--border); margin-top: 10px; }
.combo .box { fill: #fff; stroke: var(--border); stroke-width: 1.4; }
.combo .flow { stroke: var(--gray); stroke-width: 1.6; fill: none; }
.combo text { font-family: 'Manrope', sans-serif; }
.combo .t { font-size: 13px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.combo .t2 { font-size: 13px; font-weight: 700; fill: #fff; text-anchor: middle; }
.combo .s { font-size: 10.5px; fill: var(--ink-soft); text-anchor: middle; }
.combo .lane { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-anchor: start; }

/* ---------- Etapes du déroulé d'une étude (variante des .step existants, libellé de phase) ---------- */
.step__phase {
  font-family: 'Agne', serif; font-size: 0.82rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; display: block;
}

/* ---------- Section Fondatrice (fondatrice.html) : mise en page image + texte ---------- */
.founder-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: start; }
.founder-photo {
  background: var(--bg-alt); border: 2px dashed var(--border); border-radius: var(--radius);
  min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--gray); font-size: 0.84rem; text-align: center; padding: 30px;
}
.founder-photo__icon { font-size: 2rem; }
.proof-list { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 30px; }
.proof-item { display: flex; gap: 12px; align-items: flex-start; }
.proof-item__mark {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff;
  font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.proof-item p { margin: 0; font-size: 0.95rem; color: var(--ink); font-weight: 600; }

/* ---------- Carte fondatrice enrichie (disponibilité + actions) ---------- */
.founder__avail { font-size: 0.86rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.founder__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.founder__body { flex: 1; min-width: 220px; }

/* ---------- Portrait de la fondatrice + carte empilée dessous ---------- */
/* Portrait réduit d'un tiers (2/3 de la largeur de colonne) et centré : laisser l'image
   calée à gauche aurait creusé un vide en haut à droite, au-dessus de la carte fondatrice. */
.founder-portrait { display: block; width: 67%; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.founder--stack { flex-direction: column; margin-top: 20px; }

/* ---------- Attribution des recommandations ----------
   Sous le nom : la fonction de la personne, puis le rôle tenu par OKILYS sur la mission
   dont elle parle — sans quoi le lecteur ne sait pas à quelle expertise le propos se
   rapporte. Les citations restent dans leur langue d'origine (anglais), y compris sur
   le site français : traduire ferait dire à ces personnes des phrases qu'elles n'ont
   pas écrites. */
.testimonial cite { display: block; }
.testimonial__role {
  display: block; margin-top: 4px;
  font-size: 0.8rem; color: var(--gray); line-height: 1.45;
}
/* Le rôle tenu par OKILYS s'enchaîne sur la même ligne, séparé par une barre oblique */
.testimonial__mission { font-weight: 800; color: var(--blue-dark); }

/* ---------- Mur de logos (sociétés & partenaires) ----------
   Tuiles de taille fixe : les logos ont des proportions très différentes, seule une boîte
   commune avec object-fit:contain donne un alignement propre. La hauteur fixe évite aussi
   tout décalage de mise en page pendant le chargement des images. */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-wall__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 186px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 20px; text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.logo-wall__item:hover, .logo-wall__item:focus-visible {
  border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px);
}
.logo-wall__item img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
/* Repli typographique, pour une société dont on n'aurait pas de logo exploitable */
.logo-wall__item--text { font-weight: 800; font-size: 0.95rem; color: var(--ink); line-height: 1.3; }

@media (max-width: 640px) {
  .logo-wall { gap: 12px; }
  .logo-wall__item { width: calc(50% - 6px); height: 84px; padding: 12px 14px; }
  .logo-wall__item img { max-height: 42px; }
  .logo-wall__item--text { font-size: 0.86rem; }
}

/* ---------- Témoignage vide (emplacement à compléter) ---------- */
.testimonial--empty { border-left-color: var(--border); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--gray); }
.testimonial--empty p { font-style: normal; color: var(--gray); font-size: 0.88rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .founder-split { grid-template-columns: 1fr; }
  .founder-photo { min-height: 220px; }
}
@media (max-width: 640px) {
  /* Sur téléphone : une seule colonne, séparateurs horizontaux — le 2x2 était déséquilibré */
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 24px; }
  .stat:first-child { border-top: none; }
}

/* ---------- Valeurs OKILYS « HOME » (accueil) ----------
   Quatre tuiles, la lettre en grand dans une pastille dégradée. HOME se lit dans les deux langues. */
.home-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.home-value {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 10px;
}
.home-value__letter {
  width: 54px; height: 54px; border-radius: 50%; background: var(--gradient); color: #fff;
  font-family: 'Agne', serif; font-size: 1.7rem; display: flex; align-items: center; justify-content: center;
}
.home-value h3 { margin: 4px 0 0; font-size: 1.05rem; color: var(--teal-dark); }
.home-value p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 960px) { .home-values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .home-values { grid-template-columns: 1fr; } }

/* ---------- Photos de section : quatre styles, panachés ----------
   A : photo en vis-à-vis du texte · B : bandeau naturel + carte-titre · C : photo en filigrane · D : vignette ronde */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.split__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.split__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split .section__title { text-align: left; margin-left: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__img { aspect-ratio: 16/9; } }

.band { position: relative; height: 300px; background-size: cover; background-position: center; }
.band--sub { height: 240px; }
.band__card {
  position: absolute; left: 50%; bottom: -48px; transform: translateX(-50%);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 36px; text-align: center; min-width: 360px; max-width: calc(100% - 32px);
}
.band__card .eyebrow { margin: 0 0 6px; }
.band__card h1, .band__card h2 { margin: 0; font-size: 1.7rem; }
.band + .section { padding-top: 92px; }
@media (max-width: 900px) { .band { height: 220px; } .band__card { min-width: 0; left: 16px; right: 16px; transform: none; } }

.wash { position: relative; background-size: cover; background-position: center; }
.wash::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.88); }
.wash > .container { position: relative; }

.thumb-head { display: flex; align-items: center; gap: 28px; justify-content: center; margin: 0 auto 26px; }
.thumb-head__img { flex: none; width: 170px; height: 170px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); border: 4px solid #fff; }
.thumb-head .eyebrow { margin: 0 0 4px; text-align: left; }
.thumb-head .section__title { margin: 0; text-align: left; }
@media (max-width: 640px) { .thumb-head { flex-direction: column; text-align: center; } .thumb-head .eyebrow, .thumb-head .section__title { text-align: center; } }

/* ---------- Navigation avant/arrière entre pages (étapes d'expertise et produits de santé) ----------
   Ton bleu-vert pour distinguer ces boutons des actions principales (frise complète, contact).
   Sur mobile : les deux boutons restent sur une même ligne, chacun à une extrémité, comme sur PC. */
.pagenav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 44px; }
.btn--step { background: var(--teal-dark); color: #fff; border: none; padding: 15px 28px; }
.btn--step:hover { background: var(--teal); color: #fff; }
@media (max-width: 640px) {
  .pagenav { gap: 8px; }
  .pagenav .btn { padding: 11px 14px; font-size: 0.8rem; }
}

/* ---------- Rangée d'actions en bas de page (frise complète + contact) : boutons espacés, repli propre ---------- */
.actions-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* ---------- Barre OKILYS suite (au-dessus de l'en-tête, harmonisée avec le CTMS) ----------
   Même dessin que la .suite-bar du CTMS : fond encre, outil courant en dégradé, badge « à venir ». */
.topbar.suite-bar { font-size: 0.76rem; color: #d9e3ee; }
.suite-bar__inner { display: flex; align-items: center; gap: 6px; padding: 5px 24px; }
.suite-bar__brand { color: #9fb3c8; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; font-size: 0.68rem; white-space: nowrap; }
.suite-bar__tool { color: #eef4fb; padding: 3px 10px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
a.suite-bar__tool:hover { background: rgba(255,255,255,0.08); color: #fff; }
.suite-bar__tool.is-current { background: var(--gradient); color: #fff; font-weight: 700; }
.suite-bar__tool.is-soon { color: #9fb3c8; cursor: default; }
.suite-bar__soon { background: #d97706; color: #fff; font-size: 0.62rem; padding: 1px 6px; border-radius: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.suite-bar__tag { margin-left: auto; color: #9fb3c8; }
@media (max-width: 900px) { .suite-bar__tag { display: none; } }
@media (max-width: 560px) {
  .suite-bar__brand { display: none; }
  .suite-bar__inner { justify-content: center; padding: 5px 8px; gap: 3px; }
  .suite-bar__tool { padding: 3px 7px; font-size: 0.7rem; }
}

/* ---------- Page OKILYS CTMS (page produit) ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 26px; }
.mod-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.mod-card__code { display: inline-block; background: var(--bg-alt); color: var(--teal-dark); font-weight: 800; font-size: 0.72rem; border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; letter-spacing: 0.04em; }
.mod-card h3 { font-size: 1rem; margin: 0 0 6px; }
.mod-card p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.ctms-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 26px; }
.ctms-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.ctms-step__num { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.ctms-step h3 { font-size: 0.98rem; margin: 0 0 6px; }
.ctms-step p { margin: 0; font-size: 0.86rem; }

/* ---------- Encart « OKILYS suite » (accueil) ----------
   Bandeau sombre assorti à la barre suite : une carte par produit de la suite. */
.suite-panel { background: var(--ink); }
.suite-panel .eyebrow { color: #9fb3c8; }
.suite-panel .section__title { color: #fff; }
.suite-panel .section__lead { color: #b9d4e8; }
.suite-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 430px)); gap: 20px; justify-content: center; margin-top: 30px; }
.suite-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius);
  padding: 26px 28px; display: block; transition: border-color .2s, background .2s, transform .2s;
}
.suite-card:hover, .suite-card:focus-visible { border-color: var(--teal); background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.suite-card h3 { color: #fff; margin: 0 0 8px; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.suite-card p { color: #c6d4e2; font-size: 0.92rem; margin: 0 0 14px; line-height: 1.55; }
.suite-card__arrow { color: var(--teal); font-weight: 800; font-size: 0.9rem; }

/* ---------- Grille de 4 tuiles : 2 x 2 (tuiles larges) plutôt que 3 + 1 ; une colonne sur mobile ---------- */
.mod-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .mod-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Pages produit (CTMS, eTMF) : photos et icônes ----------
   Photos et pictogrammes issus des dossiers Communication d'OKILYS (redimensionnés dans assets/images/suite/). */
.product-hero .section__title { text-align: left; margin-left: 0; }
.product-hero .eyebrow { text-align: left; }
.split--rev .split__img { order: -1; }
@media (max-width: 900px) { .split--rev .split__img { order: 0; } }
.product-list { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.product-list li { position: relative; padding-left: 26px; font-size: 0.93rem; }
.product-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800; }
.product-list--center { max-width: 560px; margin-left: auto; margin-right: auto; }
.product-modhead { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; margin-bottom: 8px; }
.product-modhead .section__title, .product-modhead .section__lead { text-align: left; margin: 0 0 10px; }
.product-modhead .eyebrow { text-align: left; }
.product-modhead__img { width: 100%; height: auto; }
@media (max-width: 720px) { .product-modhead { grid-template-columns: 1fr; } .product-modhead__img { max-width: 200px; margin: 0 auto; } }
.mod-card--ico { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.mod-card__icon { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: var(--bg-alt); padding: 8px; box-sizing: border-box; display: block; }
.mod-card__icon--svg svg { width: 100%; height: 100%; display: block; }
.section.wash .section__title, .section.wash h2 { color: var(--ink); }

/* ---------- Actualités : bandeau-diaporama de l'accueil ----------
   Glissement horizontal droite-gauche, une actualité à la fois, flèches + points, défilement automatique. */
.news-band { background: var(--bg-alt); padding: 40px 0 34px; }
.news-band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.news-band__head .eyebrow { margin: 0; }
.news-band__all { font-size: 0.88rem; font-weight: 700; color: var(--teal-dark); }
.news-band__all:hover { color: var(--blue); }
.news-carousel { position: relative; }
.news-carousel__viewport { overflow: hidden; border-radius: var(--radius); }
.news-carousel__track { display: flex; transition: transform .55s ease; }
.news-slide {
  flex: 0 0 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 90px 26px; text-align: center;
}
.news-slide__date { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 8px; }
.news-slide h3 { font-size: 1.3rem; margin: 0 0 8px; }
.news-slide p { max-width: 640px; margin: 0 auto 16px; font-size: 0.92rem; }
.news-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--teal-dark); font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
}
.news-carousel__arrow:hover { border-color: var(--teal); color: var(--blue); }
.news-carousel__arrow--prev { left: 14px; }
.news-carousel__arrow--next { right: 14px; }
.news-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.news-carousel__dot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; background: var(--border); cursor: pointer; }
.news-carousel__dot.is-active { background: var(--teal); }
@media (max-width: 640px) {
  .news-slide { padding: 22px 18px 20px; }
  .news-carousel__arrow { display: none; } /* au doigt : glissement tactile via les points */
}

/* ---------- Page Actualités ---------- */
.news-article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; margin-top: 22px; scroll-margin-top: 150px; }
.news-article h2 { font-size: 1.35rem; margin: 0 0 10px; text-align: left; }
.news-article p:last-of-type { margin-bottom: 0; }
.news-article .news-slide__date { margin-bottom: 6px; }
.news-article__cta { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--teal-dark); font-size: 0.92rem; }
.news-article__cta:hover { color: var(--blue); }
