/* ==========================================================================
   HCL Laboratoire® — Design System
   Charte : luxe parisien, haute cosmétique scientifique
   Typo   : Jost (titres, géométrique fin comme le logo) + Inter (texte)
   Palette : ivoire, champagne, or doux, rouge profond, anthracite chaud
   ========================================================================== */

/* ----- 1. Tokens / variables ------------------------------------------- */
:root {
  /* Couleurs de marque — palette chaude premium */
  --noir:        #1a1611;
  --noir-soft:   #231d16;
  --blanc:       #ffffff;
  --blanc-soft:  #faf7f2;

  /* Accents premium */
  --bleu:        #0a3d91;          /* bleu marine historique — accent principal restauré */
  --rouge:       #d52b1e;          /* rouge historique */
  --or:          #b89a5a;          /* or doux / champagne — accent secondaire */

  /* Drapeau français — réservé au filet tricolore (signature 🇫🇷) */
  --drapeau-bleu:  #0a3d91;
  --drapeau-rouge: #d52b1e;

  /* Gris chauds */
  --gris-900: #2a2520;
  --gris-700: #4a4440;
  --gris-500: #7a746e;
  --gris-300: #c9c4bc;
  --gris-200: #e4e0da;
  --gris-100: #f3ede3;

  /* Texte */
  --texte:        var(--noir);
  --texte-doux:   var(--gris-500);
  --texte-invert: var(--blanc);

  /* Mise en page */
  --max:        1200px;
  --gouttiere:  clamp(1.25rem, 4vw, 3rem);
  --rayon:      14px;
  --rayon-sm:   8px;

  /* Ombres */
  --ombre-douce: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.06);
  --ombre-forte: 0 10px 40px rgba(0,0,0,.12);

  /* Transitions */
  --t: .3s cubic-bezier(.4,0,.2,1);

  /* En-tête */
  --hauteur-header: 76px;
}

/* ----- 2. Reset léger -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ----- 3. Typographie -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 400; }
p  { color: var(--gris-700); }

.surtitre {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  font-weight: 500;
  color: var(--bleu);
  display: inline-block;
  margin-bottom: 1rem;
}
.surtitre--invert { color: var(--gris-300); }

/* ----- 4. Utilitaires de mise en page ---------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--sombre { background: var(--noir); color: var(--texte-invert); }
.section--sombre p { color: var(--gris-300); }
.section--gris { background: var(--blanc-soft); }
.centre { text-align: center; }
.mesure { max-width: 62ch; }
.mesure.centre { margin-inline: auto; }

/* Filet tricolore (signature de marque) */
.tricolore {
  display: inline-flex;
  height: 4px;
  width: 88px;
  border-radius: 4px;
  overflow: hidden;
}
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: var(--drapeau-bleu); }
.tricolore i:nth-child(2) { background: var(--blanc); }
.tricolore i:nth-child(3) { background: var(--drapeau-rouge); }
.section--sombre .tricolore i:nth-child(2),
.tricolore--bordure i:nth-child(2) { background: var(--gris-200); }
.tricolore.centre { margin-inline: auto; }
.mt-petit { margin-top: 1rem; }
.mt-moyen { margin-top: 2rem; }

/* ----- 5. Boutons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.7rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: var(--t);
  white-space: nowrap;
}
.btn--plein   { background: var(--noir); color: var(--blanc); }
.btn--plein:hover { background: var(--bleu); transform: translateY(-2px); }
.btn--clair   { background: var(--blanc); color: var(--noir); }
.btn--clair:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.btn--ligne   { border-color: currentColor; }
.btn--ligne:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.section--sombre .btn--ligne:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn .fleche { transition: transform var(--t); }
.btn:hover .fleche { transform: translateX(4px); }

/* ----- 6. En-tête / navigation ----------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--hauteur-header);
  display: flex;
  align-items: center;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.site-header .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-header__logo img { height: 38px; width: auto; transition: var(--t); }

/* Logo : clair par défaut (hero sombre), sombre quand le header devient blanc */
.logo-clair { display: block; }
.logo-sombre { display: none; }
.site-header.est-fige  { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--gris-200); }
.site-header.est-fige .logo-clair  { display: none; }
.site-header.est-fige .logo-sombre { display: block; }
.site-header.est-fige .nav a       { color: var(--noir); }
.site-header.est-fige .burger span { background: var(--noir); }

/* Pages à fond clair : header solide d'emblée */
.site-header--solide { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--gris-200); }
.site-header--solide .logo-clair  { display: none; }
.site-header--solide .logo-sombre { display: block; }
.site-header--solide .nav a       { color: var(--noir); }
.site-header--solide .burger span { background: var(--noir); }

.nav ul { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  color: var(--blanc);
  font-size: .95rem;
  font-weight: 500;
  position: relative;
  padding: .3rem 0;
  transition: color var(--t);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--bleu);
  transition: width var(--t);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .btn { color: var(--blanc); }
.site-header.est-fige .nav .btn,
.site-header--solide .nav .btn { color: var(--blanc); }

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  z-index: 110;
}
.burger span { width: 26px; height: 2px; background: var(--blanc); transition: var(--t); }
.burger.est-ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.est-ouvert span:nth-child(2) { opacity: 0; }
.burger.est-ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- 7. Hero --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--noir);
  background: radial-gradient(120% 120% at 50% 35%, #f1f1f2 0%, #c9c9cc 100%);
  overflow: hidden;
  padding-top: var(--hauteur-header);
}
.hero__contenu { position: relative; z-index: 2; padding-block: 2rem 3rem; }
.hero__logo { width: min(300px, 56vw); margin: 0 auto 2.2rem; display: block; }
.hero h1 { font-weight: 200; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.hero p { color: var(--gris-300); font-size: clamp(1.05rem, 2vw, 1.25rem); margin-top: 1.2rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
/* Hero "image hcl 2" : composition sombre sur fond clair */
.hero .hero__titre {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase; color: var(--noir);
}
.hero .hero__sous-titre {
  font-size: clamp(.7rem, 1.2vw, .8rem); letter-spacing: .3em; text-transform: uppercase;
  color: #6a6a6e; margin-top: .9rem;
}
.hero .hero__texte {
  max-width: 52ch; margin: 1.6rem auto 0; color: #3d3d41;
  font-size: clamp(.95rem, 1.5vw, 1.05rem); line-height: 1.7;
}
.hero .hero__texte strong { font-weight: 600; color: var(--noir); }
.hero__pictos {
  list-style: none; padding: 0; margin: 2.4rem auto 0;
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(1.6rem, 4vw, 3.2rem); flex-wrap: wrap;
}
.hero__pictos li {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: var(--noir); max-width: 8.5rem;
}
.hero__pictos svg { width: 30px; height: 30px; }
.hero__pictos span {
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: #55555a;
}
/* ----- 8. Grilles & cartes --------------------------------------------- */
.grille {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

.carte {
  background: var(--blanc);
  border: 1px solid var(--gris-200);
  border-radius: var(--rayon);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}
.carte:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); border-color: transparent; }
.carte__media {
  aspect-ratio: 4 / 3;
  background: var(--gris-100);
  display: grid; place-items: center;
  color: var(--gris-300);
  overflow: hidden;
}
.carte__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte__media--solution {
  aspect-ratio: 16 / 10;
  display: block;
  background: #d4a151;
}
.carte__media--solution img { object-position: center center; }
.carte:hover .carte__media img { transform: scale(1.05); }
.carte__corps { padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.carte__corps h3 { margin-bottom: .2rem; }
.carte__lien { margin-top: auto; padding-top: 1rem; font-weight: 500; color: var(--bleu); display: inline-flex; gap: .5rem; align-items: center; }

/* Carte « valeur / engagement » */
.valeur { text-align: left; }
.valeur__icone {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.section:not(.section--sombre) .valeur__icone { background: var(--blanc); border-color: var(--gris-200); box-shadow: var(--ombre-douce); }
.valeur h3 { margin-bottom: .4rem; }

/* ----- 9. Bloc « à propos » en deux colonnes --------------------------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.duo__media {
  aspect-ratio: 3 / 4;
  border-radius: var(--rayon);
  background: var(--gris-100);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--gris-300);
}
.duo__media img { width: 100%; height: 100%; object-fit: cover; }

/* ----- 10. Bandeau CTA ------------------------------------------------- */
.bandeau-cta { text-align: center; }
.bandeau-cta h2 { margin-bottom: 1rem; }

/* ----- 11. Pied de page ------------------------------------------------ */
.site-footer { background: var(--noir); color: var(--gris-300); padding-block: 4rem 2rem; }
.site-footer a:hover { color: var(--blanc); }
.footer-haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-marque img { height: 46px; margin-bottom: 1.2rem; }
.footer-marque p { color: var(--gris-500); max-width: 34ch; font-size: .92rem; }
.footer-col h4 { font-family: 'Jost'; font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blanc); margin-bottom: 1.2rem; }
.footer-col li { margin-bottom: .7rem; font-size: .95rem; }
.footer-col a { color: var(--gris-300); transition: color var(--t); }
.footer-bas {
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: var(--gris-500);
}
.footer-bas .tricolore { width: 70px; }

/* ----- 12. Fil d'Ariane / en-tête de page intérieure ------------------- */
.page-hero {
  padding-top: calc(var(--hauteur-header) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--blanc-soft);
  border-bottom: 1px solid var(--gris-200);
}
.fil { font-size: .85rem; color: var(--texte-doux); margin-bottom: 1rem; }
.fil a:hover { color: var(--bleu); }

/* ----- 13. Animations à l'apparition ----------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----- 14. Responsive -------------------------------------------------- */
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .footer-haut { grid-template-columns: 1fr 1fr; }
  .nav {
    position: fixed; inset: 0; background: var(--noir);
    transform: translateX(100%); transition: transform var(--t);
    display: flex; align-items: center; justify-content: center;
  }
  .nav.est-ouvert { transform: none; }
  .nav ul { flex-direction: column; gap: 1.8rem; }
  .nav a { color: var(--blanc) !important; font-size: 1.4rem; }
  .site-header.est-fige .nav a,
  .site-header--solide .nav a { color: var(--blanc) !important; }
  .burger { display: flex; }
}
@media (max-width: 520px) {
  .footer-haut { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   COMPOSANTS LHCL — ajouts dans le MÊME langage visuel (rien de l'existant
   n'est modifié). Pages : innovation, brevet, équipe, solutions, investisseurs…
   ========================================================================== */

/* ----- Marques déposées (CP-RCELLSOME™, RENAISSANCE™…) ----------------- */
.marque { font-family: 'Jost', sans-serif; letter-spacing: .03em; font-weight: 500; }

/* ----- Hero : ligne d'accroche anglaise ------------------------------- */
.hero__en {
  font-family: 'Jost', sans-serif; text-transform: uppercase;
  letter-spacing: .32em; font-size: clamp(.7rem, 1.4vw, .85rem);
  color: var(--gris-500); margin-top: 1.6rem;
}

/* ----- Texte long / éditorial (Histoire, Vision, R&D…) ---------------- */
.prose { max-width: 70ch; }
.prose.centre { margin-inline: auto; }
.prose > p { margin-top: 1.15rem; }
.prose > p:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.8rem; margin-bottom: .5rem; }
.prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--noir); font-weight: 600; }
.section--sombre .prose strong { color: var(--blanc); }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--gris-700); line-height: 1.55; }
.section--sombre .lead { color: var(--gris-300); }

/* ----- Liste à puce « filet » (tiret bleu) ---------------------------- */
.liste-points { margin-top: 1.2rem; }
.liste-points li { position: relative; padding-left: 1.7rem; margin-bottom: .75rem; color: var(--gris-700); }
.liste-points li::before { content: ''; position: absolute; left: 0; top: .62em; width: 15px; height: 2px; background: var(--bleu); }
.section--sombre .liste-points li { color: var(--gris-300); }

/* ----- Déclaration / citation forte ----------------------------------- */
.declaration {
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.25; letter-spacing: -.01em;
  color: var(--noir);
}
.section--sombre .declaration { color: var(--blanc); }
.declaration .accent { color: var(--bleu); }

/* ----- Bloc générique (carte de contenu sobre) ------------------------ */
.bloc {
  background: var(--blanc); border: 1px solid var(--gris-200);
  border-radius: var(--rayon); padding: clamp(1.6rem, 3vw, 2.2rem); height: 100%;
}
.bloc h3 { margin-bottom: .55rem; }
.bloc .num { font-family: 'Jost'; color: var(--bleu); font-size: .8rem; font-weight: 500; letter-spacing: .22em; display: block; margin-bottom: .9rem; }
.section--gris .bloc { background: var(--blanc); }
.section--sombre .bloc { background: var(--noir-soft); border-color: rgba(255,255,255,.12); }
.section--sombre .bloc p { color: var(--gris-300); }

/* ----- Chiffres clés (investisseurs) ---------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2.5rem 2rem; }
.stat { text-align: center; }
.stat__chiffre { font-family: 'Jost', sans-serif; font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.stat__chiffre .unite { font-size: .5em; color: var(--bleu); margin-left: .1em; }
.stat__label { margin-top: .7rem; font-size: .9rem; color: var(--texte-doux); }
.section--sombre .stat__label { color: var(--gris-300); }

/* ----- Gammes (RENAISSANCE™, EPIGENELUX™, LUMINESCENCE™) --------------- */
.gamme__nom { font-family: 'Jost', sans-serif; font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: .02em; }
.gamme__tagline { color: var(--bleu); font-size: .98rem; margin-top: .25rem; font-weight: 500; }

/* ----- Équipe : rôle --------------------------------------------------- */
.membre__role { color: var(--bleu); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: .3rem; }

/* ----- Actualités (liste) --------------------------------------------- */
.actu { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; padding: 1.7rem 0; border-bottom: 1px solid var(--gris-200); align-items: start; }
.actu:first-child { border-top: 1px solid var(--gris-200); }
.actu__date { font-family: 'Jost'; color: var(--texte-doux); font-size: .9rem; letter-spacing: .04em; }
.actu__cat { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); margin-bottom: .4rem; }
@media (max-width: 600px) { .actu { grid-template-columns: 1fr; gap: .4rem; } }

/* ----- Logos partenaires (placeholders) -------------------------------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 260px)); justify-content: center; gap: 1rem; }
.logos div { aspect-ratio: 3 / 2; border: 1px solid var(--gris-200); border-radius: var(--rayon-sm); display: grid; place-items: center; color: var(--gris-300); font-size: .8rem; text-align: center; padding: 1rem; }
.logos img { width: auto; max-width: 82%; max-height: 72px; object-fit: contain; }

/* ----- Bandeau d'accroche scientifique (encadré filet) ---------------- */
.encadre { border: 1px solid var(--gris-200); border-left: 3px solid var(--bleu); border-radius: var(--rayon-sm); padding: 1.5rem 1.8rem; background: var(--blanc); }
.section--sombre .encadre { background: var(--noir-soft); border-color: rgba(255,255,255,.12); border-left-color: var(--bleu); }

/* ----- Menus déroulants dans la navigation ---------------------------- */
.nav > ul > li { display: flex; align-items: center; }
.a-sous-menu { position: relative; }
.a-sous-menu > a .chevron { font-size: .65em; opacity: .65; margin-left: .35rem; display: inline-block; transition: transform var(--t); }
.a-sous-menu:hover > a .chevron { transform: rotate(180deg); }
.sous-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--blanc); border: 1px solid var(--gris-200); border-radius: var(--rayon-sm);
  box-shadow: var(--ombre-forte); padding: .5rem; min-width: 260px;
  display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t); z-index: 60;
}
.a-sous-menu:hover .sous-menu, .a-sous-menu:focus-within .sous-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sous-menu a { color: var(--noir) !important; padding: .65rem .9rem; border-radius: 7px; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.sous-menu a::after { display: none; }
.sous-menu a:hover { background: var(--gris-100); color: var(--bleu) !important; }
/* le lien parent reste lisible quel que soit l'état du header */
.a-sous-menu.actif > a { color: var(--bleu); }

/* Resserre un peu l'espacement pour accueillir plus d'items */
@media (min-width: 1081px) { .nav ul { gap: 1.7rem; } }

/* ----- Navigation mobile (seuil relevé à 1080px pour les nouveaux items) */
@media (max-width: 1080px) {
  .burger { display: flex; }
  .site-header.menu-ouvert {
    height: 100vh;
    height: -webkit-fill-available;
    height: 100dvh;
    height: var(--hauteur-menu-mobile);
    inset: 0;
    z-index: 1000;
    align-items: flex-start;
    background: var(--noir);
    backdrop-filter: none;
    box-shadow: none;
    overflow: hidden;
  }
  .site-header.menu-ouvert .conteneur {
    min-height: 100%;
    align-items: flex-start;
  }
  .site-header.menu-ouvert .burger span { background: var(--blanc); }
  .nav {
    position: fixed; inset: 0; width: 100vw;
    height: 100vh; height: -webkit-fill-available; height: 100dvh; height: var(--hauteur-menu-mobile);
    min-height: 100vh; min-height: -webkit-fill-available; min-height: 100dvh; min-height: var(--hauteur-menu-mobile);
    background: var(--noir);
    transform: translateX(100%); transition: transform var(--t);
    display: block; padding: calc(var(--hauteur-header) + 1.5rem) 2rem 3rem; overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.est-ouvert { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .3rem; }
  .nav > ul > li { flex-direction: column; align-items: stretch; }
  .nav a { color: var(--blanc) !important; font-size: 1.15rem; padding: .55rem 0; }
  .site-header.est-fige .nav a, .site-header--solide .nav a { color: var(--blanc) !important; }
  .nav .btn { display: inline-block; margin-top: 1rem; color: var(--blanc) !important; text-align: center; }
  .a-sous-menu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
  }
  .a-sous-menu > a .chevron { display: inline-block; margin-left: auto; }
  .a-sous-menu:hover > a .chevron { transform: none; }
  .a-sous-menu.est-ouvert > a .chevron { transform: rotate(180deg); }
  .sous-menu {
    position: static; left: auto; right: auto; transform: none;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    box-shadow: none; border: none; background: transparent; padding: 0 0 0 1.1rem; min-width: 0;
    transition: max-height var(--t), opacity var(--t), padding var(--t);
  }
  .a-sous-menu:hover > .sous-menu,
  .a-sous-menu:focus-within > .sous-menu {
    transform: none; opacity: 0; visibility: hidden;
  }
  .a-sous-menu.est-ouvert > .sous-menu,
  .a-sous-menu.est-ouvert:hover > .sous-menu,
  .a-sous-menu.est-ouvert:focus-within > .sous-menu {
    max-height: 22rem; opacity: 1; visibility: visible; padding-bottom: .6rem;
  }
  .sous-menu a { color: var(--gris-300) !important; font-size: 1rem; padding: .4rem 0; }
  .sous-menu a:hover { background: transparent; color: var(--blanc) !important; }
}

/* ==========================================================================
   MULTILINGUE — sélecteur de langue, droite-à-gauche (arabe), polices
   ========================================================================== */

/* ----- Sélecteur de langue -------------------------------------------- */
.lang-switch .lang-courante { display: inline-flex; align-items: center; gap: .4rem; }
.lang-switch .globe { font-size: 1rem; line-height: 1; }
.lang-switch .sous-menu { left: auto; right: 0; transform: translateY(10px); min-width: 170px; }
.lang-switch:hover .sous-menu, .lang-switch:focus-within .sous-menu { transform: translateY(0); }
.sous-menu--lang a { display: flex; justify-content: space-between; }
.sous-menu--lang a.actif { background: var(--gris-100); color: var(--bleu) !important; font-weight: 600; }

@media (max-width: 1080px) {
  .lang-switch { margin-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }
  .lang-switch .lang-courante { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gris-500) !important; }
  .lang-switch .sous-menu { right: auto; transform: none; }
  .lang-switch:hover .sous-menu,
  .lang-switch:focus-within .sous-menu { transform: none; }
  .sous-menu--lang a.actif { background: transparent; }
}

/* ----- Droite-à-gauche (arabe) ---------------------------------------- */
[dir="rtl"] .liste-points li { padding-left: 0; padding-right: 1.7rem; }
[dir="rtl"] .liste-points li::before { left: auto; right: 0; }
[dir="rtl"] .encadre { border-left: 1px solid var(--gris-200); border-right: 3px solid var(--bleu); }
[dir="rtl"] .section--sombre .encadre { border-left-color: rgba(255,255,255,.12); border-right-color: var(--bleu); }
[dir="rtl"] .fleche { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .fleche { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .carte__lien, [dir="rtl"] .hero__actions { } /* l'ordre suit déjà la direction */

/* ----- Polices chinois / arabe ---------------------------------------- */
html.lang-zh, html.lang-zh body { font-family: 'Noto Sans SC', 'Inter', system-ui, sans-serif; }
html.lang-zh h1, html.lang-zh h2, html.lang-zh h3, html.lang-zh h4,
html.lang-zh .declaration, html.lang-zh .stat__chiffre, html.lang-zh .gamme__nom,
html.lang-zh .surtitre, html.lang-zh .num, html.lang-zh .footer-col h4 { font-family: 'Noto Sans SC', sans-serif; }
html.lang-zh .surtitre, html.lang-zh .hero__en { letter-spacing: .12em; }

html.lang-ar, html.lang-ar body { font-family: 'Noto Kufi Arabic', 'Inter', system-ui, sans-serif; }
html.lang-ar h1, html.lang-ar h2, html.lang-ar h3, html.lang-ar h4,
html.lang-ar .declaration, html.lang-ar .stat__chiffre, html.lang-ar .gamme__nom,
html.lang-ar .surtitre, html.lang-ar .num, html.lang-ar .footer-col h4 { font-family: 'Noto Kufi Arabic', sans-serif; }
/* l'arabe n'a ni majuscules ni interlettrage : on neutralise */
html.lang-ar .surtitre, html.lang-ar .hero__en, html.lang-ar .membre__role, html.lang-ar .actu__cat { text-transform: none; letter-spacing: normal; }
/* on garde les noms de marque (CP-RCELLSOME™, RENAISSANCE™…) en latin */
html.lang-ar .marque, html.lang-zh .marque { font-family: 'Jost', sans-serif; }

/* ==========================================================================
   MÉDIAS — fond vidéo du hero, images de pages, bandeaux immersifs
   ========================================================================== */

/* ----- Fond image du hero --------------------------------------------- */
.hero__image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* Le contenu (logo, textes, pictos) est en HTML par-dessus l'image vierge :
   voile réduit à deux dégradés (lisibilité du header en haut, du lien défiler en bas). */
.hero__voile {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 26%, rgba(11,11,12,0) 62%, rgba(11,11,12,.60) 100%);
}
/* (le contenu .hero__contenu est déjà en z-index 2) */

/* ----- Remplissage des emplacements média existants ------------------- */
.duo__media img, .carte__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ----- Grande image (bandeau dans la grille de contenu) --------------- */
.media-large { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre-douce); }
.media-large img { width: 100%; height: clamp(260px, 44vh, 520px); object-fit: cover; display: block; transition: transform .8s ease; }
.media-large:hover img { transform: scale(1.04); }

/* ----- Section immersive (image plein cadre + texte par-dessus) -------- */
.section--image { position: relative; color: var(--blanc); background: var(--noir); overflow: hidden; }
.section--image > .section__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .55;
}
.section--image::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(11,11,12,.6), rgba(11,11,12,.78));
}
.section--image > .conteneur { position: relative; z-index: 2; }
.section--image p { color: var(--gris-300); }
.section--image .surtitre { color: var(--gris-300); }

/* Décalage pour les ancres (#distribution…) afin que l'en-tête fixe ne masque pas la cible */
:target { scroll-margin-top: 100px; }

/* ----- Formulaire (contact + pages contact thématiques) -------------- */
.form-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.champ { display: flex; flex-direction: column; gap: .5rem; }
.champ.pleine-largeur { grid-column: 1 / -1; }
.champ label { font-size: .85rem; font-weight: 500; color: var(--gris-700); }
.champ input, .champ select, .champ textarea {
  font: inherit; padding: .85rem 1rem; border: 1px solid var(--gris-300);
  border-radius: var(--rayon-sm); background: var(--blanc); transition: border-color var(--t);
}
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); }
.champ textarea { resize: vertical; min-height: 140px; }
@media (max-width: 560px) { .form-grille { grid-template-columns: 1fr; } }

/* ----- En-tête « univers » (hero image des pages Contact thématiques) - */
.univers-hero {
  position: relative; color: var(--blanc); overflow: hidden; background: var(--noir);
  padding-top: calc(var(--hauteur-header) + clamp(3.5rem, 8vw, 7rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.univers-hero > .section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .5; }
.univers-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(11,11,12,.5), rgba(11,11,12,.82)); }
.univers-hero > .conteneur { position: relative; z-index: 2; }
.univers-hero .surtitre { color: var(--gris-300); }
.univers-hero p { color: var(--gris-300); }
.univers-hero .fil, .univers-hero .fil a { color: var(--gris-300); }

/* ==========================================================================
   PALETTE CHAUDE PREMIUM — anthracite chaud / brun profond
   Boutons, zones sombres, footer : ambiance luxe parisien.
   ========================================================================== */
:root { --fonce: #5a5a5a; --fonce-soft: #4d4d4d; }

/* Boutons → anthracite chaud */
.btn--plein { background: var(--fonce); }
.btn--ligne:hover { background: var(--fonce); border-color: var(--fonce); }
.section--sombre .btn--ligne:hover { background: var(--blanc); color: var(--fonce); border-color: var(--blanc); }

/* Sections sombres + pied de page + menu mobile → brun profond */
.section--sombre { background: var(--fonce); }
.site-footer { background: var(--fonce); }
@media (max-width: 1080px) { .nav { background: var(--fonce); } }

/* Blocs / encadrés à l'intérieur des zones sombres */
.section--sombre .bloc, .section--sombre .encadre { background: var(--fonce-soft); border-color: rgba(255,255,255,.18); }

/* Lisibilité du texte clair sur fond sombre chaud */
.section--sombre p, .section--sombre .lead, .section--sombre .stat__label,
.section--sombre .liste-points li, .surtitre--invert { color: var(--gris-200); }
.footer-marque p, .footer-col a, .footer-bas { color: var(--gris-200); }
.footer-col a:hover, .site-footer a:hover { color: var(--blanc); }

/* ----- Logo desktop agrandi (statutaire, premium) ----------------------- */
@media (min-width: 1081px) {
  .site-header__logo img { height: 52px; }
}

/* ----- Vidéo section (innovation.html) ---------------------------------- */
.media-video { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre-douce); background: var(--gris-100); }
.media-video video { width: 100%; display: block; }
.media-video__fallback { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gris-100), var(--blanc-soft)); color: var(--gris-500); font-size: .9rem; text-align: center; padding: 2rem; }

/* ----- Accents or doux (utilisation sélective) -------------------------- */
.gamme__tagline { color: var(--or); }
.stat__chiffre .unite { color: var(--or); }
.bloc .num { color: var(--or); }
.actu__cat { color: var(--or); }
.membre__role { color: var(--or); }

/* ==========================================================================
   PHOTOS DE FOND IMMERSIVES RETIRÉES → FOND BLANC, TEXTE FONCÉ LISIBLE
   (sections "section--image" et "univers-hero" qui avaient du texte par-dessus)
   ========================================================================== */
.section--image > .section__bg,
.univers-hero  > .section__bg { display: none; }       /* photo masquée */
.section--image::after,
.univers-hero::after { content: none; }                 /* voile sombre retiré */

.section--image,
.univers-hero { background: var(--blanc); color: var(--texte); }

/* Titres / déclarations / mots forts → foncé */
.section--image h1, .section--image h2, .section--image h3,
.section--image .declaration, .section--image .prose strong,
.univers-hero h1, .univers-hero h2, .univers-hero h3,
.univers-hero .declaration, .univers-hero .prose strong { color: var(--noir); }

/* Paragraphes / listes → gris foncé lisible */
.section--image p, .section--image .lead, .section--image .liste-points li,
.univers-hero p, .univers-hero .lead, .univers-hero .liste-points li { color: var(--gris-700); }

/* Surtitres + accents → bleu marine (lisible sur blanc) */
.section--image .surtitre, .section--image .surtitre--invert, .section--image .accent,
.univers-hero .surtitre, .univers-hero .surtitre--invert, .univers-hero .accent { color: var(--bleu); }

/* Fil d'Ariane des heros contact */
.section--image .fil, .section--image .fil a,
.univers-hero .fil, .univers-hero .fil a { color: var(--texte-doux); }

/* Boutons "clairs" (blancs) seraient invisibles sur blanc → style plein lisible */
.section--image .btn--clair, .univers-hero .btn--clair { background: var(--fonce); color: var(--blanc); border-color: var(--fonce); }
.section--image .btn--clair:hover, .univers-hero .btn--clair:hover { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }

/* Blocs sombres restants SANS photo (ex. accueil CP-RCELLSOME, vision) :
   l'accent bleu marine y serait illisible → bleu clair sur le gris. */
.section--sombre:not(.section--image) .accent { color: #9bb8e3; }

/* ==========================================================================
   ESPACES IMAGE À GÉNÉRER — cadres avec prompt prêt à copier-coller (ChatGPT)
   ========================================================================== */
.img-prompt {
  border: 1.5px dashed var(--gris-300);
  border-radius: var(--rayon);
  background: var(--blanc-soft);
  padding: clamp(1.3rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: .7rem;
  height: 100%;
}
.img-prompt__tag    { font-family:'Jost',sans-serif; text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; font-weight:600; color:var(--bleu); }
.img-prompt__specs  { font-family:'Jost',sans-serif; font-weight:500; font-size:.82rem; color:var(--noir); border-bottom:1px solid var(--gris-200); padding-bottom:.7rem; }
.img-prompt__text   { font-size:.86rem; line-height:1.55; color:var(--gris-700); }
.img-prompt__text strong { color: var(--noir); }
.duo .img-prompt { align-self: stretch; }

/* ==========================================================================
   EN-TÊTE DE PAGE EN VIDÉO (hero vidéo des pages intérieures)
   ========================================================================== */
.page-hero--video {
  position: relative;
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
  border-bottom: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.page-hero--video > .page-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.page-hero--video > .page-hero__voile {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(11,11,12,.45) 0%, rgba(11,11,12,.72) 100%);
}
.page-hero--video > .conteneur { position: relative; z-index: 2; width: 100%; }
.page-hero--video .fil, .page-hero--video .fil a { color: var(--gris-300); }
.page-hero--video .surtitre { color: var(--gris-300); }
.page-hero--video h1 { color: var(--blanc); }
.page-hero--video .lead { color: var(--gris-200); }
