/* ==========================================================================
   Sycomia : feuille de style principale
   Construite pas à pas. Version précédente : assets/css/v1/style.css
   ========================================================================== */

:root {
  /* Couleurs de la charte */
  --c-slate: #4f5d75;      /* texte, logo */
  --c-orange: #ef8354;     /* accent */
  --c-dark: #2d3142;       /* titres */
  --c-bg: #f6f6f6;         /* fond des pages */
  --c-white: #ffffff;
  --c-footer: #ececec;

  /* Typographie */
  --f-body: "Roboto", Arial, sans-serif;                          /* texte courant, menu, boutons */
  --f-head: "Barlow Semi Condensed", "Arial Narrow", sans-serif;  /* police signature : logo, titres */
  --f-display: var(--f-head);

  --container: 1240px;
  --header-h: 96px;         /* en-tête en haut de page */
  --header-h-small: 64px;   /* en-tête réduit après défilement */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;   /* le pied de page reste en bas */
  font: 400 17px/1.6 var(--f-body);
  color: var(--c-slate);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-orange); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; color: var(--c-dark); }

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

/* ---------- Utilitaires ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font: 500 16px/1 var(--f-body);
  border-radius: 999px; padding: 14px 26px; border: 2px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-primary { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-white); }
.btn-primary:hover, .btn-primary:focus-visible { background: transparent; color: var(--c-orange); }
/* « Réserver un appel » : contour orange, se remplit d'orange au survol et au clic */
.btn-call { background: rgba(255, 255, 255, .6); border-color: var(--c-orange); color: var(--c-orange); }
.btn-call:hover, .btn-call:focus-visible, .btn-call:active { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-white); }
.btn-outline { background: rgba(255, 255, 255, .6); border-color: var(--c-slate); color: var(--c-slate); }   /* bouton secondaire */
.btn-outline:hover, .btn-outline:focus-visible { background: var(--c-slate); color: var(--c-white); }

/* ---------- En-tête ----------
   Fixé en haut ; l'espace qu'il occupe est réservé par le padding du body, pour que le contenu
   ne saute pas quand il se réduit au défilement (classe .is-scrolled ajoutée par main.js). */
html { scroll-padding-top: calc(var(--header-h-small) + 16px); }   /* ancres non masquées par l'en-tête */
body { padding-top: var(--header-h); }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--c-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -10px rgba(45, 49, 66, .25); }
.header-inner {
  display: flex; align-items: stretch; justify-content: space-between; gap: 24px;
  min-height: var(--header-h); transition: min-height .3s ease;
}
.is-scrolled .header-inner { min-height: var(--header-h-small); }
.brand { display: flex; align-items: center; gap: 4px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 72px; height: auto; transition: width .3s ease; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 48px/1 var(--f-head); letter-spacing: -.3px; color: var(--c-slate); transition: font-size .3s ease; }
.brand-tagline {
  font: 400 14px/1.3 var(--f-body); color: var(--c-dark); margin-top: 4px;
  max-height: 20px; overflow: hidden; transition: max-height .3s ease, opacity .2s ease, margin .3s ease;
}
/* Version réduite : logo + « Sycomia » plus petits, slogan masqué */
.is-scrolled .brand-mark { width: 44px; }
.is-scrolled .brand-name { font-size: 32px; }
.is-scrolled .brand-tagline { max-height: 0; opacity: 0; margin-top: 0; }

/* Menu principal (bureau) */
.main-nav { display: flex; align-items: stretch; gap: 28px; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: stretch; gap: 6px; }
.menu-item { display: flex; align-items: center; }
.menu-item.has-dropdown { position: relative; }
.menu-link {
  display: flex; align-items: center; height: 100%;
  padding: 0 10px; font-size: 18px; font-weight: 500;
  color: var(--c-slate); text-decoration: none; position: relative;
  transition: color .2s;
}
.menu-link::after {          /* soulignement orange au survol / page active */
  content: ""; position: absolute; left: 10px; right: 10px; bottom: calc(50% - 18px); height: 2px;
  background: var(--c-orange); transform: scaleX(0); transition: transform .25s;
}
.menu-item:hover > .menu-link, .menu-item.is-active > .menu-link { color: var(--c-orange); }
.menu-item:hover > .menu-link::after, .menu-item.is-active > .menu-link::after { transform: scaleX(1); }
.submenu-toggle {
  display: grid; place-items: center; width: 22px; height: 22px; margin-left: -8px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--c-slate);
}
.submenu-toggle svg { width: 20px; height: 20px; fill: currentColor; transition: transform .25s; }
.menu-item:hover > .submenu-toggle svg, .menu-item.is-open > .submenu-toggle svg { transform: rotate(180deg); }

/* Panneaux déroulants : ouverts au survol, au clavier (focus) ou au clic sur la flèche */
.mega, .dropdown {
  position: absolute; top: 100%; z-index: 10;
  background: var(--c-white); border-top: 3px solid var(--c-orange);
  box-shadow: 0 18px 40px -12px rgba(45, 49, 66, .25);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.menu-item:hover > .mega, .menu-item:hover > .dropdown,
.menu-item:focus-within > .mega, .menu-item:focus-within > .dropdown,
.menu-item.is-open > .mega, .menu-item.is-open > .dropdown {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.menu-item.is-closed > .mega, .menu-item.is-closed > .dropdown { opacity: 0; visibility: hidden; }

/* Grand menu "Services" : pleine largeur sous l'en-tête */
.mega { left: 0; right: 0; border-radius: 0 0 18px 18px; }
.mega-inner {
  max-width: var(--container); margin: 0 auto; padding: 32px 24px 20px;
  display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: 36px;
}
.mega-title { margin: 0 0 10px; font: 600 14px/1 var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--c-orange); }
.mega-col a { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.mega-col a:hover, .mega-col a[aria-current] { background: #fdf0ea; }
.mega-col b { display: block; font: 600 20px/1.2 var(--f-head); color: var(--c-dark); }
.mega-col span { font-size: 14px; color: var(--c-slate); }
.mega-help { background: var(--c-bg); border-radius: 14px; padding: 22px; align-self: start; }
.mega-help .mega-help-title { margin: 0 0 6px; font: 600 21px/1.2 var(--f-head); color: var(--c-dark); }
.mega-help p { font-size: 15px; margin: 0 0 16px; }
.mega-all { display: block; text-align: center; padding: 14px; border-top: 1px solid #eceef2; font-weight: 500; text-decoration: none; }
.mega-all:hover { background: #fdf0ea; }

/* Menu "Secteurs" : liste avec icônes */
.dropdown { left: -10px; min-width: 280px; padding: 10px; border-radius: 0 0 14px 14px; }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px;
  color: var(--c-slate); text-decoration: none; font-weight: 500; font-size: 16px;
}
.dropdown a:hover, .dropdown a[aria-current] { background: #fdf0ea; color: var(--c-orange); }
.dropdown img { width: 28px; height: 28px; object-fit: contain; }
.dropdown-all { border-top: 1px solid #eceef2; margin-top: 6px; padding-top: 6px; }
.dropdown-all a { color: var(--c-orange); }

/* Langues + bouton */
.nav-extra { display: flex; align-items: center; gap: 18px; }
/* Menu des langues : « FR ▾ », les autres langues au survol (même comportement que le menu) */
.lang-menu { position: relative; display: flex; align-items: center; align-self: stretch; }
.lang-current {
  display: flex; align-items: center; gap: 1px; height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer; font: 500 16px/1 var(--f-body); color: var(--c-slate);
  transition: color .2s;
}
.lang-current svg { width: 18px; height: 18px; fill: currentColor; transition: transform .25s; }
.lang-menu:hover .lang-current, .lang-menu.is-open .lang-current { color: var(--c-orange); }
.lang-menu:hover .lang-current svg, .lang-menu.is-open .lang-current svg { transform: rotate(180deg); }
.lang-list {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 50%; min-width: 140px; z-index: 10;
  background: var(--c-white); border-top: 3px solid var(--c-orange); border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 40px -12px rgba(45, 49, 66, .25);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.lang-menu:hover .lang-list, .lang-menu:focus-within .lang-list, .lang-menu.is-open .lang-list {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.lang-list .is-current { display: none; }            /* on ne propose que les autres langues */
.lang-list a { display: block; padding: 8px 20px; color: var(--c-slate); text-decoration: none; font-size: 16px; font-weight: 500; transition: color .2s; }
.lang-list a:hover, .lang-list a:focus-visible { color: var(--c-orange); }
.lang-code { display: none; }
.header-cta { padding: 11px 22px; }
.menu-toggle { display: none; }                      /* bouton ☰ : mobile uniquement */

/* ---------- Loupe + fenêtre de recherche ---------- */
.search-open {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  background: none; border: 0; cursor: pointer; color: var(--c-slate);
  transition: color .2s;
}
.search-open:hover, .search-open:focus-visible { color: var(--c-orange); }
.search-open svg { width: 22px; height: 22px; fill: currentColor; }
.search-open--mobile { display: none; }

.search-dialog {
  width: min(680px, calc(100% - 32px)); max-height: min(640px, calc(100vh - 80px));
  margin: 10vh auto auto; padding: 0; border: 0; border-radius: 18px;
  background: var(--c-white); color: var(--c-slate);
  box-shadow: 0 30px 80px -20px rgba(20, 22, 34, .5);
  flex-direction: column; overflow: hidden;
}
.search-dialog[open] { display: flex; animation: search-in .18s ease-out; }
.search-dialog::backdrop { background: rgba(31, 34, 48, .55); backdrop-filter: blur(3px); }
@keyframes search-in { from { transform: translateY(-10px); } }   /* pas de fondu : la fenêtre ne peut jamais rester invisible */
.search-form { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eceef2; }
.search-form > svg { width: 22px; height: 22px; fill: var(--c-orange); flex-shrink: 0; }
.search-input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 19px/1.4 var(--f-body); color: var(--c-dark); background: none; padding: 8px 0; }
.search-input::placeholder { color: #9aa1b0; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-close { border: 1px solid #dfe2e8; background: var(--c-bg); border-radius: 6px; padding: 4px 8px; font: 500 12px/1 var(--f-body); color: var(--c-slate); cursor: pointer; }
.search-body { overflow-y: auto; padding: 10px; }
.search-heading { margin: 8px 10px; font: 600 13px/1 var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--c-orange); }
.search-body ul { list-style: none; margin: 0; padding: 0; }
.search-body li a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; outline: 0; }
.search-body li a:hover, .search-body li a:focus { background: #fdf0ea; }
.search-body li b { display: block; font: 600 19px/1.25 var(--f-head); color: var(--c-dark); }
.search-body li span { display: block; font-size: 14px; color: var(--c-slate); margin-top: 2px; }
.search-body mark { background: rgba(239, 131, 84, .25); color: inherit; border-radius: 2px; padding: 0 1px; }
.search-status { margin: 0; padding: 0 14px; color: var(--c-slate); }
.search-status:not(:empty) { padding: 18px 14px; }
.search-hint { margin: 0; padding: 10px 18px; border-top: 1px solid #eceef2; font-size: 12px; color: #9aa1b0; background: #fafbfc; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumbs { background: var(--c-white); border-bottom: 1px solid #eceef2; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; padding-top: 12px; padding-bottom: 12px; margin: 0 auto; font-size: 14px; }
.breadcrumbs li + li::before { content: "›"; margin: 0 10px; color: #a9afbb; }
.breadcrumbs a { color: var(--c-slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-orange); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--c-dark); font-weight: 500; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--c-footer); padding: 56px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr 1fr 1.1fr; gap: 36px; }
.footer-about { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
/* Logo empilé : symbole au-dessus, « Sycomia » centré dessous */
.footer-logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
.footer-logo img { width: 84px; height: auto; }
.footer-logo span { font: 700 34px/1 var(--f-head); color: var(--c-slate); margin-top: 4px; }
.footer-address { font-style: normal; line-height: 1.8; font-size: 15px; margin-bottom: 14px; }
.footer-address a { color: var(--c-slate); text-decoration: none; }
.footer-address a:hover { color: var(--c-orange); }
.partner img { width: 150px; }
.footer-title { margin: 6px 0 14px; font: 600 20px/1.2 var(--f-head); color: var(--c-dark); }
.footer-acc > summary { list-style: none; pointer-events: none; }        /* ordinateur : titre simple */
.footer-acc > summary::-webkit-details-marker { display: none; }
.footer-acc > summary svg { display: none; width: 22px; height: 22px; fill: currentColor; transition: transform .25s; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 8px; }
.footer-col a { color: var(--c-slate); text-decoration: none; font-size: 15px; }
.footer-col a:hover, .footer-col a[aria-current] { color: var(--c-orange); }
.social { display: flex; gap: 14px; }
.social a { color: var(--c-slate); display: block; }
.social a:hover { color: var(--c-orange); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.footer-bottom { border-top: 1px solid #d9dce2; margin-top: 40px; }
.footer-bottom p { margin: 0; padding: 18px 0; text-align: center; font-size: 14px; }

/* ---------- Accueil : haut de page (image claire en fond, texte sombre par-dessus) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(540px, calc(80svh - var(--header-h)), 760px);
  background: #eef3f9; color: var(--c-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 85% 50%; }
.hero::before {               /* voile blanc à gauche : lisibilité du texte sur l'image */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .55) 40%, rgba(255, 255, 255, 0) 70%);
}
.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 64px; padding-bottom: 80px; }
.hero-title {
  max-width: 960px; margin: 0; text-wrap: pretty;   /* évite un mot seul en fin de titre, sans raccourcir les lignes */
  font: 700 clamp(38px, 4.4vw, 62px)/1.08 var(--f-head); letter-spacing: -.01em; color: var(--c-dark);
}
.hero-title .accent { color: var(--c-orange); }
.h-accent { color: var(--c-orange); }
.hero-subtitle { max-width: 920px; margin: 24px 0 38px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--c-slate); }
.hero-subtitle-2 { display: block; }   /* 2e phrase toujours sur sa propre ligne */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Bandeau défilant (offre anniversaire), en haut du haut de page */
.syc-banner {
  --syc-speed: 70s; --syc-gap: 12rem;
  position: relative; z-index: 1; width: 100%; overflow: hidden; white-space: nowrap;
  margin-top: 16px;                                  /* décollé de l'en-tête */
  background: #fcba03; color: #1f2230;
  font: 700 19px/1 var(--f-head); letter-spacing: .01em;
}
.syc-banner a { display: block; padding: 12px 0; color: inherit; text-decoration: none; }
.syc-track { display: flex; width: max-content; animation: syc-scroll var(--syc-speed) linear infinite; }
.syc-group { display: flex; flex-shrink: 0; }
.syc-group span { padding-right: var(--syc-gap); }
.syc-banner:hover .syc-track, .syc-banner:focus-within .syc-track { animation-play-state: paused; }
@keyframes syc-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .syc-track { animation: none; width: auto; justify-content: center; }
  .syc-group + .syc-group, .syc-group span + span { display: none; }
  .syc-banner { white-space: normal; text-align: center; }
}

/* ---------- Sections de contenu (réutilisables) ---------- */
.section { padding: 88px 0; }
.section-title { margin: 0 0 48px; text-align: center; font: 700 clamp(32px, 3.4vw, 44px)/1.15 var(--f-head); color: var(--c-dark); }
.section-title:has(+ .section-intro) { margin-bottom: 14px; }
.section-intro { max-width: 680px; margin: 0 auto 48px; text-align: center; font-size: 18px; line-height: 1.6; color: var(--c-slate); }

/* ---------- Accueil : Nos solutions ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.solution-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 30px 28px; border-radius: 18px; background: var(--c-white);
  box-shadow: 0 10px 32px -16px rgba(45, 49, 66, .3); transition: box-shadow .25s;
}
.solution-card:hover { box-shadow: 0 14px 36px -14px rgba(45, 49, 66, .38); }
.solution-icon { height: 120px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 24px; }   /* illustrations alignées sur leur base */
.solution-icon img { height: 100%; width: auto; max-width: 80%; object-fit: contain; transition: transform .35s ease; }
.solution-icon img[src*="sol-analysis"] { height: 88%; }   /* l'ordinateur, large, paraît plus grand : même poids visuel que les personnages */
@media (prefers-reduced-motion: no-preference) {
  .solution-icon img:hover { transform: translateY(-6px) scale(1.06); }   /* seulement au survol de l'illustration elle-même */
}
.solution-card h3 { margin: 0 0 12px; text-align: center; font: 700 24px/1.2 var(--f-head); color: var(--c-dark); }
.solution-card p { margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: var(--c-slate); }
.solution-card b { color: var(--c-dark); font-weight: 600; }

/* Bas de carte : séparation + étiquettes cliquables (au-dessus du lien qui couvre la carte) */
.solution-foot { border-top: 1px solid #eef0f4; padding-top: 16px; }
.solution-tags { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.solution-tags a {
  display: inline-block; padding: 6px 12px; border-radius: 999px; background: #f2f4f7; border: 1px solid #e3e6ec;
  font-size: 14px; font-weight: 500; color: var(--c-slate); text-decoration: none; transition: background .2s, border-color .2s, color .2s;
}
.solution-tags a:hover, .solution-tags a:focus-visible { background: #fdf0ea; border-color: var(--c-orange); color: var(--c-orange); }

/* « En savoir plus » en bas à droite ; le lien couvre toute la carte */
.solution-link {
  align-self: flex-end; justify-self: end; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-weight: 500; color: var(--c-orange); text-decoration: none;
}
.solution-link::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.solution-link svg { width: 18px; height: 18px; fill: currentColor; transition: transform .2s; }
.solution-card:hover .solution-link { text-decoration: underline; text-underline-offset: 4px; }
.solution-link:focus-visible { outline: none; }
.solution-link:focus-visible::after { outline: 3px solid rgba(239, 131, 84, .5); outline-offset: 3px; }

/* Deux sections consécutives sur le même fond : on réduit l'espace entre elles */
.solutions + .process { padding-top: 24px; }

/* Fonds alternés des sections */
.section--white { background: var(--c-white); }
.section-title--left { text-align: left; }

/* ---------- Accueil : Comment se déroule votre projet (frise en 5 étapes) ----------
   État par défaut = frise complète (sans JavaScript, pour Google, si animations réduites).
   Avec JavaScript : .is-pending (trait vide, cercles éteints) puis .is-running quand la section
   arrive à l'écran → le trait se dessine et chaque cercle s'allume quand le trait l'atteint. */
.process-steps {
  --circle: 76px; --draw: 1.8s;
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.process-steps::before, .process-steps::after {      /* rail gris + trait coloré qui se dessine */
  content: ""; position: absolute; top: calc(var(--circle) / 2 - 1.5px); left: 10%; right: 10%; height: 3px; border-radius: 3px;
}
.process-steps::before { background: #e8ebf0; }
.process-steps::after { background: linear-gradient(90deg, var(--c-slate), var(--c-orange)); transform-origin: left center; }
.process-step { position: relative; z-index: 1; text-align: center; }
.process-icon {
  /* couleur qui glisse de l'ardoise (étape 1) à l'orange (étape 5) */
  --c: color-mix(in srgb, var(--c-orange) calc(var(--step) * 25%), var(--c-slate));
  display: grid; place-items: center; width: var(--circle); height: var(--circle); margin: 0 auto 16px;
  border-radius: 50%; background: var(--c-white); border: 2px solid var(--c); color: var(--c);
  box-shadow: 0 0 0 8px var(--c-bg);   /* anneau couleur du fond : masque le trait autour du cercle */
}
.process-icon svg { width: 40px; height: 40px; fill: currentColor; }   /* icônes pleines, plus grandes */
/* Grand numéro en filigrane derrière chaque étape */
.process-step h3 { margin: 0 0 10px; font: 700 21px/1.2 var(--f-head); color: var(--c-dark); }
.process-step p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--c-slate); }

@media (prefers-reduced-motion: no-preference) {
  /* avant : trait vide, cercles gris et un peu plus petits ; pendant : chacun prend sa couleur quand le trait l'atteint */
  .process.is-pending:not(.is-running) .process-steps::after { transform: scaleX(0); }
  .process.is-pending:not(.is-running) .process-icon { border-color: #dfe3ea; color: #b9c0cc; transform: scale(.86); }
  .process.is-running .process-steps::after { transition: transform var(--draw) cubic-bezier(.5, 0, .3, 1); }
  .process.is-running .process-icon {
    transition: border-color .35s ease, color .35s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1);
    transition-delay: calc(var(--step) * var(--draw) / 4.4 + .1s);    /* le cercle s'allume quand le trait l'atteint */
  }
}

/* ---------- Accueil : Ce que vous recevez (fond ardoise) ---------- */
.deliverables { background: var(--c-slate); color: #e6e9f0; overflow: hidden; }
.deliverables-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.deliverables h2 { margin: 0 0 10px; font: 700 clamp(30px, 3vw, 40px)/1.15 var(--f-head); color: var(--c-white); }
.deliverables-tagline { margin: 0 0 30px; font: 600 21px/1.4 var(--f-head); color: var(--c-orange); }   /* orange de la charte */
.deliverables-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.deliverables-list li { display: flex; gap: 12px; align-items: flex-start; }
.deliv-check { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--c-orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.deliverables-list h3 { margin: 0 0 6px; font: 700 18px/1.25 var(--f-head); color: var(--c-white); }
.deliverables-list p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #c9cfdb; }
.deliverables-download { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); }
.deliverables-download .btn { flex-shrink: 0; }
.deliverables-download p { margin: 0; padding-left: 4px; font-size: 13.5px; line-height: 1.5; color: #c9cfdb; }
.deliverables .btn-primary:hover, .deliverables .btn-primary:focus-visible { background: var(--c-white); border-color: var(--c-white); color: var(--c-slate); }

/* Document d'exemple : feuille inclinée derrière + page blanche avec onglets */
.report-visual { position: relative; padding: 18px 26px 26px 0; }
.report-sheet { position: absolute; inset: 0 0 8px 34px; border-radius: 14px; background: #dfe3ea; transform: rotate(4deg); }
.report-doc { position: relative; padding: 18px 18px 14px; border-radius: 14px; background: var(--c-white); transform: rotate(-2deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.report-doc-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 500; font-size: 15px; color: var(--c-slate); }
.report-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.report-tabs button {
  padding: 6px 12px; border: 1.5px solid #e3e6ec; border-radius: 999px; background: #f8f9fb; cursor: pointer;
  font: 500 13.5px/1.2 var(--f-body); color: var(--c-slate); transition: background .2s, border-color .2s, color .2s;
}
.report-tabs button:hover { border-color: #cfd4dc; }
.report-tabs button[aria-selected="true"] { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-white); }
.report-panel { margin: 0; aspect-ratio: 1120 / 1040; display: flex; align-items: center; justify-content: center; }
.report-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .report-panel { animation: panel-in .22s ease; }   /* léger fondu au changement d'onglet */
}
@keyframes panel-in { from { opacity: 0; } }
.report-panel img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; }

/* ---------- Accueil : Nos valeurs ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }   /* 4 cartes alignées ; 2 x 2 sur tablette */
.value-card { display: flex; flex-direction: column; padding: 30px 24px; border-radius: 18px; background: var(--c-white); box-shadow: 0 10px 32px -16px rgba(45, 49, 66, .3); }
.value-icon { height: 96px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 22px; }
.value-icon img { height: 100%; width: auto; max-width: 70%; object-fit: contain; }
.value-card h3 { margin: 0 0 12px; text-align: center; font: 700 22px/1.2 var(--f-head); color: var(--c-dark); }
.value-card p { flex: 1; margin: 0; font-size: 15px; line-height: 1.65; color: var(--c-slate); }
.value-card b { color: var(--c-dark); font-weight: 600; }

/* Engagements sur les données (sous les cartes « Pourquoi choisir Sycomia ») */
/* Bandeau « Vos données, en toute sécurité » : fond ardoise foncé, titre à gauche, 3 garanties à droite */
.security-panel {
  margin-top: 40px; padding: 36px 40px; border-radius: 20px; background: var(--c-slate); color: #e4e8ef;
  display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; gap: 40px; align-items: center;
}
.security-head h3 { margin: 0 0 10px; font: 700 26px/1.15 var(--f-head); color: var(--c-white); }
.security-head p { margin: 0; font-size: 15px; line-height: 1.6; color: #dde2ea; }
.security-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.security-strip li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .22); }
.security-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px;
  border-radius: 50%; background: rgba(255, 255, 255, .92);
}
.security-icon svg { width: 24px; height: 24px; fill: var(--c-orange); }
.security-strip h4 { margin: 0 0 6px; font: 700 19px/1.2 var(--f-head); color: var(--c-white); }
.security-strip p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #dde2ea; }

/* ---------- Accueil : À propos ---------- */
.values + .about { padding-top: 24px; }
/* ---------- Accueil : témoignages clients ---------- */
.tm-flag { max-width: 760px; margin: 0 auto 22px; padding: 10px 16px; border: 1px dashed var(--c-orange); border-radius: 10px; background: #fdf1eb; color: #b9532a; font-size: 14px; text-align: center; }
/* carrousel : défilement horizontal avec aimantation, flèches (main.js), glissement au doigt ; pas de défilement automatique */
.tm-track { list-style: none; margin: 0; padding: 4px 2px 10px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tm-track::-webkit-scrollbar { display: none; }
.tm-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; padding: 26px 28px 24px; border-radius: 18px; background: var(--c-bg); }
.tm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tm-logo { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: #8a96ad; }
.tm-logo svg { width: 22px; height: 22px; fill: #a9b2c2; }
.tm-mark { flex: none; width: 28px; height: 21px; fill: var(--c-orange); }
.tm-card blockquote { flex: 1; margin: 0 0 22px; }
.tm-card blockquote p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--c-dark); }
.tm-author { display: flex; align-items: center; gap: 12px; margin: 0; min-height: 78px; padding-top: 18px; border-top: 1px solid #e1e4ea; font-size: 14px; line-height: 1.4; color: var(--c-slate); }
.tm-author b { display: block; font: 700 17px/1.2 var(--f-head); color: var(--c-dark); }
.tm-nav { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.tm-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #d6dbe3; background: var(--c-white); cursor: pointer; transition: border-color .2s, background-color .2s; }
.tm-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--c-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tm-btn:hover:not(:disabled), .tm-btn:focus-visible { border-color: var(--c-orange); }
.tm-btn:hover:not(:disabled) svg { stroke: var(--c-orange); }
.tm-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 960px) { .tm-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .tm-card { flex-basis: 86%; padding: 22px 20px 20px; } .tm-track { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .tm-track { scroll-behavior: auto; } }
.tm-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-slate); color: var(--c-white); font: 700 18px/1 var(--f-head); }

.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.about-text h2 { margin: 0 0 22px; font: 700 clamp(32px, 3.4vw, 44px)/1.15 var(--f-head); color: var(--c-dark); }
.about-text p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--c-slate); }
.about-text b { color: var(--c-dark); font-weight: 600; }
main b.brand-word { color: var(--c-orange); font-weight: 700; }   /* « Sycomia » en gras orange dans tous les textes */
.about-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.about-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--c-orange); text-decoration: none; }
.about-link svg { width: 18px; height: 18px; fill: currentColor; }
.about-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-figure { margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 50px -24px rgba(45, 49, 66, .45); }

/* ---------- Accueil : appel à l'action final ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: 110px 0; text-align: center; color: var(--c-dark); background: #f3f5f8; }
/* Image en filigrane, dans le ton clair du site : désaturée sous un voile blanc bleuté */
.cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(1.02); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(248, 249, 251, .82) 0%, rgba(243, 245, 248, .7) 55%, rgba(236, 240, 245, .55) 100%); }
.cta-title { margin: 0 0 18px; font: 700 clamp(34px, 4.2vw, 56px)/1.12 var(--f-head); color: var(--c-dark); }
.cta-title span { display: block; }
.cta-title em { font-style: normal; color: var(--c-orange); }
.cta-text { margin: 0 auto 34px; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--c-slate); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.page-home .site-footer { margin-top: 0; }

/* ---------- En-tête de page intérieure (titre, intro, chiffres) : image ADN de l'accueil en fondu ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 56px; background: var(--c-bg); }
.page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: -1;
  background: url("/assets/img/hero/biotech-1440.webp") 85% 0 / cover no-repeat; opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
}
.page-hero h1 { max-width: 820px; margin: 0 0 18px; font: 700 clamp(36px, 4.2vw, 56px)/1.08 var(--f-head); color: var(--c-dark); text-wrap: pretty; }
.page-hero-intro { max-width: 760px; margin: 0; font-size: 18px; line-height: 1.7; color: var(--c-slate); }
.page-hero-intro b { color: var(--c-dark); font-weight: 600; }
.about-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-hero-photo { margin: 0; }
.about-hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 50px -24px rgba(45, 49, 66, .5); }
.key-facts { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.key-facts li { min-width: 150px; padding: 18px 22px; border-radius: 16px; background: var(--c-white); box-shadow: 0 10px 28px -16px rgba(45, 49, 66, .3); }
.key-facts b { display: block; font: 700 38px/1 var(--f-head); color: var(--c-orange); }
.key-facts span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--c-slate); }

/* ---------- À propos : l'équipe ---------- */
.team .section-title { margin-bottom: 40px; }
.member { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; padding: 40px; margin-bottom: 32px;
  border-radius: 22px; background: var(--c-white); box-shadow: 0 10px 32px -16px rgba(45, 49, 66, .3); scroll-margin-top: 90px; }
.member:last-child { margin-bottom: 0; }
.member--flip { grid-template-columns: 1fr 340px; }
.member--flip .member-photo { order: 2; }
/* photo : aplat orange pâle décalé derrière (décor fixe, sans animation) */
.member-photo { position: relative; margin: 0 14px 14px 0; }
.member-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0; border-radius: 18px; background: rgba(239, 131, 84, .18); }
.member--flip .member-photo { margin: 0 0 14px 14px; }
.member--flip .member-photo::before { inset: 14px 14px -14px -14px; }
.member-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.member-text h3 { margin: 0 0 6px; font: 700 34px/1.1 var(--f-head); color: var(--c-dark); }
.member-degree { margin-left: 4px; font-size: 20px; font-weight: 600; color: var(--c-orange); }
/* ligne rôle + lien LinkedIn, soulignée par un filet */
.member-sub { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #e6e7eb; }
.member-role { margin: 0 !important; font: 600 15px/1.4 var(--f-head) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--c-slate) !important; }
.member-linkedin { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font: 600 15px/1 var(--f-head); color: var(--c-slate); text-decoration: none; }
.member-linkedin svg { width: 22px; height: 22px; fill: currentColor; }
.member-linkedin:hover, .member-linkedin:focus-visible { color: #0a66c2; }
.member-text p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--c-slate); }
/* biographies justifiées avec césure automatique (langue de la page) ; alignées à gauche sur téléphone */
.member-text > p:not(.member-role) { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.member-text b { color: var(--c-dark); font-weight: 600; }
.member-quote { margin: 20px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--c-orange); }
.member-quote p { margin: 0; font: italic 500 18px/1.5 var(--f-body); color: var(--c-dark); }
/* publications : bandeau pleine largeur en bas de la carte */
.member-pubs { grid-column: 1 / -1; order: 3; padding-top: 22px; border-top: 1px solid #eef0f3; }
.member-pubs h4 { margin: 0 0 14px; font: 600 13px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: #8a92a3; }
.member-pubs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 36px; }
.member-pubs li { display: flex; }
/* version très discrète : texte seul, petite icône grise ; au survol le titre passe en orange */
.pub { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; }
.pub-icon { flex-shrink: 0; margin-top: 2px; }
.pub-icon svg { display: block; width: 16px; height: 16px; fill: none; stroke: var(--c-orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pub-title { display: block; font-size: 14px; line-height: 1.5; color: var(--c-slate); transition: color .2s; }
.pub-meta { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: #8a92a3; }
.pub-meta b { font-weight: 400; }
.pub:hover .pub-title, .pub:focus-visible .pub-title { color: var(--c-orange); }

/* ---------- À propos : écosystème ---------- */
.eco-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.eco-card { display: flex; flex-direction: column; padding: 32px 30px; border-radius: 20px; background: var(--c-bg); }
.eco-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: var(--c-white); box-shadow: 0 8px 20px -12px rgba(45, 49, 66, .35); }
.eco-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--c-orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eco-card h3 { margin: 0 0 12px; font: 700 23px/1.2 var(--f-head); color: var(--c-dark); }
.eco-card p { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--c-slate); }
.eco-link { margin-top: auto; align-self: flex-start; font-weight: 600; color: var(--c-orange); text-decoration: none; border-bottom: 2px solid rgba(239, 131, 84, .35); }
.eco-link:hover, .eco-link:focus-visible { border-bottom-color: var(--c-orange); }

/* ---------- Page Recherche ---------- */
.research-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--c-white); box-shadow: 0 6px 18px -12px rgba(45, 49, 66, .4); font: 600 14.5px/1.2 var(--f-head); letter-spacing: .02em; color: var(--c-dark); }
.research-badge img { width: 30px; height: 30px; border-radius: 50%; }
.research-prose { max-width: 820px; margin: 0 auto 40px; }
.research-prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--c-slate); }
.research-prose b { color: var(--c-dark); font-weight: 600; }
/* pastille ronde d'icône (usages, schéma) */
.round-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c-white); box-shadow: 0 8px 20px -12px rgba(45, 49, 66, .35); color: var(--c-orange); }
.round-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.uses-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.use-card { padding: 30px 28px; border-radius: 20px; background: var(--c-bg); }
.use-card .round-icon { margin-bottom: 18px; }
.use-card h3 { margin: 0 0 8px; font: 700 22px/1.2 var(--f-head); color: var(--c-dark); }
.use-card p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--c-slate); }
/* schéma du pipeline : 4 étapes reliées par une ligne pointillée */
.flow { list-style: none; position: relative; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: flow; }
.flow::before { content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; border-top: 2px dashed rgba(79, 93, 117, .35); }
.flow-step { position: relative; text-align: center; }
.flow-step .round-icon { width: 68px; height: 68px; margin: 0 auto 16px; }
.flow-step .round-icon svg { width: 32px; height: 32px; }
.flow-step:nth-child(3) .round-icon { background: var(--c-orange); color: var(--c-white); }
.flow-step h3 { margin: 0 0 6px; font: 700 21px/1.2 var(--f-head); color: var(--c-dark); }
.flow-step p { margin: 0 auto; max-width: 220px; font-size: 15px; line-height: 1.5; color: var(--c-slate); }
.research-subtitle { margin: 0 0 24px; text-align: center; font: 700 clamp(24px, 2.4vw, 30px)/1.2 var(--f-head); color: var(--c-dark); }
.techs-grid { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card { padding: 28px; border-radius: 20px; background: var(--c-white); box-shadow: 0 10px 28px -18px rgba(45, 49, 66, .35); }
.tech-kind { display: inline-block; margin-bottom: 12px; font: 600 13px/1.2 var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--c-orange); }
.tech-card h4 { margin: 0 0 10px; font: 700 26px/1.1 var(--f-head); color: var(--c-dark); }
.tech-card p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--c-slate); }
.tech-card b { color: var(--c-dark); font-weight: 600; }
/* couche IA : panneau ardoise */
.ai-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px 48px; border-radius: 24px; background: var(--c-slate); color: var(--c-white); }
.ai-panel h3 { margin: 0 0 12px; font: 700 clamp(26px, 2.6vw, 32px)/1.15 var(--f-head); color: var(--c-white); }
.ai-panel p { margin: 0; font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.ai-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ai-panel li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.45; }
.ai-panel li svg, .compare svg, .audiences svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--c-orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* tableau comparatif : la colonne « notre pipeline » est mise en avant */
.compare { width: 100%; max-width: 1000px; margin: 0 auto; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; line-height: 1.5; border-bottom: 1px solid #e6e7eb; }
.compare thead th { font: 700 19px/1.2 var(--f-head); color: var(--c-dark); border-bottom: 2px solid #e6e7eb; }
.compare thead td { border-bottom: 2px solid #e6e7eb; }
.compare tbody th { width: 20%; font: 600 15px/1.4 var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: var(--c-slate); }
.compare td { color: var(--c-slate); }
.compare .compare-us { background: rgba(239, 131, 84, .08); color: var(--c-dark); font-weight: 500; }
.compare thead .compare-us { border-radius: 16px 16px 0 0; color: var(--c-orange); }
.compare tbody tr:last-child .compare-us { border-radius: 0 0 16px 16px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td.compare-us { display: table-cell; }
.compare td.compare-us svg { display: inline-block; vertical-align: -4px; margin-right: 10px; }
/* avancement */
.status-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stages li { display: flex; align-items: flex-start; gap: 20px; padding: 22px 24px; border-radius: 18px; background: var(--c-white); box-shadow: 0 10px 28px -20px rgba(45, 49, 66, .35); }
.stage-num { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--c-slate); font: 700 20px/1 var(--f-head); color: var(--c-white); }
.stages h3 { margin: 0 0 4px; font: 700 21px/1.2 var(--f-head); color: var(--c-dark); }
.stages p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--c-slate); }
.targets { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 32px; border-radius: 20px; background: var(--c-dark); color: var(--c-white); }
.targets h3 { margin: 0; font: 600 14px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.targets p { margin: 0; }
.targets b { display: block; font: 700 clamp(40px, 4vw, 52px)/1 var(--f-head); color: var(--c-orange); }
.targets span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
/* partenaires + financement */
.audiences { list-style: none; margin: 0 auto 48px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; max-width: 720px; }
.audiences li { display: flex; align-items: center; gap: 10px; font: 600 18px/1.3 var(--f-head); color: var(--c-dark); }
.audiences svg { margin-top: 0; }
.funding { display: flex; align-items: center; justify-content: center; gap: 20px; max-width: 640px; margin: 0 auto; padding: 22px 28px; border-radius: 18px; background: var(--c-bg); }
.funding img { flex-shrink: 0; width: 72px; height: auto; }
.funding span { font-size: 16px; line-height: 1.6; color: var(--c-slate); }
.funding b { color: var(--c-dark); }

/* ---------- Page Services (hub) ---------- */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-grid--2 > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 28px) / 2); justify-self: center; }   /* nombre impair : la dernière carte est centrée */
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc-card { display: flex; flex-direction: column; padding: 32px; border-radius: 22px; background: var(--c-white); box-shadow: 0 10px 32px -18px rgba(45, 49, 66, .35); }
.section--white .svc-card { background: var(--c-bg); box-shadow: none; }
.section--white .svc-card .round-icon { background: var(--c-white); }
.svc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.svc-head .round-icon { flex-shrink: 0; background: var(--c-bg); }
.svc-head h3 { margin: 0 0 4px; font: 700 26px/1.15 var(--f-head); color: var(--c-dark); }
.svc-tagline { margin: 0; font-size: 15px; line-height: 1.4; color: var(--c-slate); }
.svc-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.svc-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--c-dark); }
.svc-points svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--c-orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; align-self: flex-end; font-weight: 600; color: var(--c-orange); text-decoration: none; }
.svc-link svg { width: 18px; height: 18px; fill: currentColor; }
.svc-link:hover, .svc-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.quote-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quote-grid li { text-align: center; }
.quote-grid .round-icon { margin: 0 auto 18px; background: var(--c-bg); box-shadow: none; }
.quote-grid h3 { margin: 0 0 8px; font: 700 22px/1.2 var(--f-head); color: var(--c-dark); }
.quote-grid p { margin: 0 auto; max-width: 340px; font-size: 16px; line-height: 1.65; color: var(--c-slate); }
/* questions fréquentes */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--c-white); box-shadow: 0 8px 24px -18px rgba(45, 49, 66, .35); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none;
  font: 600 19px/1.35 var(--f-head); color: var(--c-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-orange); }
/* chevron (flèche vers le bas) qui pivote quand la question est ouverte */
.faq-plus { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-plus::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -5px;
  border-right: 2px solid var(--c-orange); border-bottom: 2px solid var(--c-orange); transform: rotate(45deg); transition: transform .2s, margin .2s; }
details[open] > summary .faq-plus::before { margin-top: -2px; transform: rotate(-135deg); }
.faq details p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.7; color: var(--c-slate); }
.faq details a { color: var(--c-orange); font-weight: 600; }

/* ---------- Fiches services (gabarit _service.html) ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { padding: 9px 18px; border-radius: 999px; border: 1.5px solid rgba(79, 93, 117, .3); background: var(--c-white);
  font: 600 15.5px/1.2 var(--f-head); color: var(--c-slate); text-decoration: none; transition: border-color .2s, color .2s; }
.jump a:hover, .jump a:focus-visible { border-color: var(--c-orange); color: var(--c-orange); }
.svc-block { scroll-margin-top: 70px; }
.svc-block-head { max-width: 820px; margin-bottom: 40px; }
.svc-block-head.has-figure { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; max-width: none; }
.svc-block-head h2 { margin: 0 0 14px; font: 700 clamp(32px, 3.4vw, 44px)/1.15 var(--f-head); color: var(--c-dark); }
.svc-block-head p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--c-slate); }
.svc-figure { margin: 0; padding: 18px 18px 12px; border-radius: 20px; background: var(--c-white); box-shadow: 0 12px 32px -18px rgba(45, 49, 66, .4); }
.section--white .svc-figure { background: var(--c-bg); box-shadow: none; }
.svc-figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.svc-figure figcaption { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--c-slate); }
.svc-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-items--3 { grid-template-columns: repeat(3, 1fr); }
/* nombre impair d'éléments sur 2 colonnes : le dernier prend toute la largeur */
.svc-items:not(.svc-items--3) li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc-items li { padding: 24px 26px; border-radius: 18px; background: var(--c-bg); }
.section:not(.section--white) .svc-items li { background: var(--c-white); box-shadow: 0 8px 24px -18px rgba(45, 49, 66, .35); }
.svc-items h3 { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; font: 700 20px/1.25 var(--f-head); color: var(--c-dark); }
.svc-items h3 svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--c-orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svc-items p { margin: 0; padding-left: 30px; font-size: 15.5px; line-height: 1.65; color: var(--c-slate); }
/* exemple de rapport : bandeau ardoise */
.svc-report { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 24px; background: var(--c-slate); }
.svc-report h2 { margin: 0 0 14px; font: 700 clamp(28px, 3vw, 38px)/1.15 var(--f-head); color: var(--c-white); }
.svc-report p { margin: 0 0 26px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.svc-report .btn-primary:hover, .svc-report .btn-primary:focus-visible { background: var(--c-white); border-color: var(--c-white); color: var(--c-slate); }
.svc-report-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-report-figs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 8px; border-radius: 12px; background: var(--c-white); }
/* services associés */
.related-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-grid a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 26px; border-radius: 18px; background: var(--c-white);
  border: 1px solid transparent; box-shadow: 0 8px 24px -18px rgba(45, 49, 66, .35); text-decoration: none; transition: border-color .2s; }
.section--white .related-grid a { background: var(--c-bg); box-shadow: none; }   /* sur fond blanc : cartes grises */
.related-grid b { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 700 21px/1.2 var(--f-head); color: var(--c-dark); }
.related-grid b svg { flex-shrink: 0; width: 20px; height: 20px; fill: var(--c-orange); }
.related-grid span { font-size: 15.5px; line-height: 1.6; color: var(--c-slate); }
.related-grid a:hover, .related-grid a:focus-visible { border-color: rgba(239, 131, 84, .55); }
.related-grid a:hover b, .related-grid a:focus-visible b { color: var(--c-orange); }

/* ---------- Fiches services, DA K (test : _service_k.html) ---------- */
.svck-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.svck-badges { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.svck-badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--c-slate); }
.svck-badges svg { width: 15px; height: 15px; fill: var(--c-orange); }
.svck-jump { display: grid; gap: 12px; }
.svck-jump a { display: grid; grid-template-columns: 76px 1fr 20px; gap: 16px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--c-white);
  border: 1px solid #e6e7eb; box-shadow: 0 10px 26px -20px rgba(45, 49, 66, .45); text-decoration: none; transition: border-color .2s; }
.svck-jump img { width: 76px; height: 64px; object-fit: contain; padding: 4px; border-radius: 10px; background: var(--c-bg); }
.svck-jump span { font-size: 14px; line-height: 1.45; color: var(--c-slate); }
.svck-jump b { display: block; margin-bottom: 2px; font: 700 19px/1.2 var(--f-head); color: var(--c-dark); }
.svck-jump a.no-img { grid-template-columns: 1fr 20px; padding-left: 20px; }
.svck-tech--solo, .svck-tech--solo.svck-tech--flip { grid-template-columns: 1fr; }
.svck-jump > a > svg { width: 20px; height: 20px; fill: var(--c-orange); }
.svck-jump a:hover, .svck-jump a:focus-visible { border-color: var(--c-orange); }
.svck-blocks { padding: 88px 0; background: var(--c-white); }
.svck-tech { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start; padding: 44px; border-radius: 28px; background: var(--c-white);
  border: 1px solid #eceef2; box-shadow: 0 16px 40px -30px rgba(45, 49, 66, .45); scroll-margin-top: 90px; }
.svck-tech + .svck-tech { margin-top: 32px; }
.svck-tech--flip { grid-template-columns: 1fr 420px; }
.svck-tech--flip .svck-tech-fig { order: 2; }
.svck-tech-fig { margin: 0; padding: 22px; border-radius: 22px; background: #e8edf3; }
.svck-tech-fig img { display: block; width: 100%; height: auto; padding: 10px; border-radius: 14px; background: var(--c-white); }
.svck-tech-fig figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--c-slate); }
/* grand numéro en filigrane derrière le titre, comme les étapes de l'accueil */
.svck-tech-text { position: relative; isolation: isolate; padding-top: 74px; }
.svck-kicker { position: absolute; top: -6px; left: -4px; z-index: -1; margin: 0; pointer-events: none;
  font: 700 96px/1 var(--f-head); letter-spacing: -3px; color: rgba(79, 93, 117, .16); }
.svck-tech-text h2 { margin: 0 0 14px; font: 700 clamp(30px, 3vw, 40px)/1.12 var(--f-head); color: var(--c-dark); }
.svck-what { margin: 0; font-size: 17px; line-height: 1.7; color: var(--c-slate); }
.svck-tech-text h3 { margin: 28px 0 14px; padding-top: 22px; border-top: 1px solid #eceef2; font: 700 15px/1.2 var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--c-orange); }
.svck-items, .svck-deliv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.svck-items li, .svck-deliv li { display: flex; gap: 10px; align-items: flex-start; }
.svck-items svg, .svck-deliv svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--c-orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.svck-items div, .svck-deliv div { font-size: 15px; line-height: 1.55; color: var(--c-slate); }
.svck-items b, .svck-deliv b { display: block; margin-bottom: 2px; font: 700 17px/1.3 var(--f-head); color: var(--c-dark); }
.svck-custom { margin: 32px auto 0; max-width: 860px; padding: 20px 28px; border-radius: 18px; background: var(--c-bg); text-align: center; font-size: 17px; line-height: 1.6; color: var(--c-slate); }
.svck-custom a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-orange); text-decoration: none; white-space: nowrap; }
.svck-custom a svg { width: 16px; height: 16px; fill: currentColor; }
.svck-custom a:hover, .svck-custom a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.svck-report { padding: 88px 0; background: #fdeee6; scroll-margin-top: 90px; }
.svck-report-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.svck-pages { position: relative; height: 440px; }
.svck-pages img { position: absolute; top: 0; width: 46%; height: auto; border-radius: 6px; background: var(--c-white); box-shadow: 0 22px 46px -22px rgba(45, 49, 66, .55); }
.svck-pages img:nth-child(1) { left: 0; top: 34px; transform: rotate(-5deg); }
.svck-pages img:nth-child(2) { left: 27%; z-index: 1; }
.svck-pages img:nth-child(3) { right: 0; top: 34px; transform: rotate(5deg); }
.svck-report h2 { margin: 0 0 8px; font: 700 clamp(30px, 3.2vw, 42px)/1.12 var(--f-head); color: var(--c-dark); }
.svck-report-tag { margin: 0 0 28px; font: 600 20px/1.4 var(--f-head); color: var(--c-orange); }
.svck-deliv { margin-bottom: 32px; }
.svck-note { margin: 12px 0 0; font-size: 14px; color: var(--c-slate); }
.svck-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.svck-faq-grid h2 { margin: 0 0 14px; font: 700 clamp(30px, 3.2vw, 42px)/1.12 var(--f-head); color: var(--c-dark); }
.svck-faq-grid > div > p { margin: 0 0 24px; font-size: 17px; line-height: 1.7; color: var(--c-slate); }
.svck-faq { max-width: none; margin: 0; }
.svck-faq details { background: var(--c-white); box-shadow: 0 6px 20px -14px rgba(45, 49, 66, .35); }   /* cartes blanches sur le fond gris de la FAQ */

/* ---------- Fiches expertise : base commune (templates/_expertise.html) ---------- */
.svcx-faq details { background: var(--c-white); }

/* ---------- IA & modélisation (pages/ai-modeling.html) ----------
   Même direction artistique que le reste du site (fonds clairs, ardoise et orange), avec une touche « laboratoire d'IA » :
   petits titres en monospace, réseau animé, tableau de bord d'entraînement en mode « écran » sombre. */
.ai-hero, .ai-dark { position: relative; isolation: isolate; overflow: hidden; color: var(--c-slate); background-color: #f4f6f9; }
.ai-hero { background: linear-gradient(115deg, #fbefe8 0%, #f5f6f9 45%, #eef2f7 100%); }
.ai-hero::before, .ai-dark::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 131, 84, .14), transparent 62%); }
.ai-dark::before { left: -300px; right: auto; top: auto; bottom: -520px; background: radial-gradient(circle, rgba(79, 93, 117, .12), transparent 62%); }
.ai-q { background-color: var(--c-white); }
.ai-hero { padding: 84px 0 96px; }
/* Réseau de neurones très pâle en fond du hero (décor statique, assets/img/ai/net-bg.svg), plus discret sous le texte */
.ai-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background: url("/assets/img/ai/net-bg.svg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .55) 40%, #000 75%);
          mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .55) 40%, #000 75%); }
.ai-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ai-kicker, .ai-mono { font: 600 13px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--c-orange); }
.ai-kicker { margin: 0 0 18px; }
.ai-hero h1 { margin: 0 0 12px; padding-bottom: .14em;   /* texte en dégradé : sans cette marge, le bas des g, q, p de la dernière ligne est coupé */
  font: 700 clamp(40px, 4.8vw, 64px)/1.06 var(--f-head); color: var(--c-dark); text-wrap: pretty;
  background: linear-gradient(100deg, var(--c-dark) 38%, #b9532a 78%, var(--c-orange)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ai-intro { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.7; color: var(--c-slate); }
.ai-intro b { color: var(--c-dark); font-weight: 600; }
.ai-intro b.brand-word { color: var(--c-orange); }
.ai-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chips li { padding: 6px 12px; border: 1px solid rgba(239, 131, 84, .45); border-radius: 6px; font: 500 13px/1.2 ui-monospace, Menlo, Consolas, monospace; color: #b9532a; background: rgba(255, 255, 255, .7); }
.ai-jump { display: grid; gap: 0; margin-top: 36px; max-width: 560px; border-top: 1px solid rgba(45, 49, 66, .12); }
.ai-jump a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(45, 49, 66, .12);
  font: 600 17px/1.3 var(--f-head); color: var(--c-dark); text-decoration: none; transition: color .2s; }
.ai-jump svg { flex-shrink: 0; width: 18px; height: 18px; fill: var(--c-orange); }
.ai-jump a:hover, .ai-jump a:focus-visible { color: var(--c-orange); }
.ai-net { margin: 0; padding: 18px; border: 1px solid #e3e6ec; border-radius: 20px; background: var(--c-white);
  box-shadow: 0 10px 30px -22px rgba(45, 49, 66, .35); }   /* carte blanche simple, comme les autres cartes du site */
.ai-net svg { display: block; width: 100%; height: auto; }
.ai-net line { stroke: rgba(79, 93, 117, .2); stroke-width: 1; }
.ai-net line.hot { stroke: url(#aiHot); stroke-width: 1.4; stroke-opacity: .9; }
.ai-net .node { fill: var(--c-white); stroke: #8a96ad; stroke-width: 2; }
.ai-net .node--0 { stroke: var(--c-slate); }
.ai-net .node--3 { fill: var(--c-orange); stroke: #f6c2a8; }
.ai-net text { font: 600 14px/1 var(--f-head); fill: var(--c-dark); }
.ai-net text.out { fill: #b9532a; }
.ai-net text.cap { font: 500 11.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; fill: #8a96ad; }
.ai-net .brace { fill: none; stroke: #c3c9d5; stroke-width: 1; }
.ai-kicker--center { text-align: center; margin-bottom: 10px; }
.ai-net line.pulse { stroke: var(--c-orange); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 10 190; animation: ai-signal 2.6s linear infinite; }
.ai-net .glow { opacity: .3; animation: ai-glow 2.4s ease-in-out infinite; }
@keyframes ai-signal { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes ai-glow { 50% { opacity: .7; } }
.ai-qgrid li { transition: border-color .25s, box-shadow .25s; }
.ai-qgrid li:hover { border-color: rgba(239, 131, 84, .6); box-shadow: 0 14px 36px -18px rgba(239, 131, 84, .45); }
/* Console d'entraînement : reste un « écran » sombre (touche futuriste), dans l'ardoise foncée du site */
.ai-console { margin: 0; padding: 18px 22px 20px; min-height: calc(13 * 1.75em + 38px); overflow-x: auto; background: #262b3a;
  font: 13.5px/1.75 ui-monospace, "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace; color: #d3d9e6; white-space: pre; }
.ai-console .d { color: #8f9bb4; }
.ai-console .o { color: var(--c-orange); font-weight: 700; }
.ai-console .g { color: #6fd39b; }
.ai-console.is-typing code::after, .ai-console.is-done code::after { content: ""; display: inline-block; width: 8px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--c-orange); animation: to-caret 1s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .ai-net line.pulse, .ai-net .glow, .ai-console code::after { animation: none; } .ai-net line.pulse { display: none; } }
.ai-dark { padding: 96px 0; scroll-margin-top: 60px; }
.ai-dark h2 { margin: 0 0 14px; font: 700 clamp(32px, 3.4vw, 46px)/1.1 var(--f-head); color: var(--c-dark); }
.ai-lead { max-width: 760px; margin: 0 0 40px; font-size: 18px; line-height: 1.7; color: var(--c-slate); }
.ai-qgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ai-qgrid li { grid-column: span 2; padding: 26px 26px 28px; border-radius: 18px; border: 1px solid #e3e6ec; background: var(--c-white);
  box-shadow: 0 10px 30px -22px rgba(45, 49, 66, .35); }
.ai-qgrid li:nth-child(-n+2) { grid-column: span 3; }
.ai-qgrid h3 { margin: 12px 0 10px; font: 700 22px/1.25 var(--f-head); color: var(--c-dark); }
.ai-qgrid p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--c-slate); }
.ai-custom { margin: 32px 0 0; font-size: 16px; color: var(--c-slate); }
.ai-custom a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-orange); text-decoration: none; }
.ai-custom svg { width: 16px; height: 16px; fill: currentColor; }
.ai-fm { border-top: 1px solid #e3e6ec; }
.ai-fm::before { left: auto; right: -300px; top: -420px; bottom: auto; background: radial-gradient(circle, rgba(239, 131, 84, .12), transparent 62%); }
.ai-fm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ai-fm-grid > li { display: flex; flex-direction: column; padding: 26px 24px; border-radius: 18px; border: 1px solid #e3e6ec;
  background: var(--c-white); box-shadow: 0 10px 30px -22px rgba(45, 49, 66, .35); transition: border-color .25s, box-shadow .25s; }
.ai-fm-grid > li:hover { border-color: rgba(239, 131, 84, .6); box-shadow: 0 14px 36px -18px rgba(239, 131, 84, .45); }
.ai-fm-grid h3 { margin: 12px 0 10px; font: 700 21px/1.25 var(--f-head); color: var(--c-dark); }
.ai-fm-grid p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--c-slate); }
.ai-fm-ex { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed #d6dbe3; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-fm-ex li { padding: 4px 9px; border-radius: 6px; background: #f1f3f7; font: 500 12.5px/1.3 ui-monospace, Menlo, Consolas, monospace; color: var(--c-dark); }
.ai-fm-sub { margin: 48px 0 18px; font: 600 14px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: #8a96ad; }
.ai-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(45, 49, 66, .2); }
.ai-uses li { padding: 22px 22px 6px 0; }
.ai-uses li + li { padding-left: 22px; border-left: 1px solid #dfe3ea; }
.ai-uses-tag { display: inline-block; margin-bottom: 12px; padding: 3px 8px; border: 1px solid rgba(239, 131, 84, .55); border-radius: 4px; font: 700 11.5px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; color: #b9532a; background: var(--c-white); }
.ai-uses b { display: block; margin-bottom: 6px; font: 700 19px/1.25 var(--f-head); color: var(--c-dark); }
.ai-uses p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-slate); }
.ai-light { background: var(--c-white); scroll-margin-top: 60px; }
/* Frise « De vos données à des prédictions explicables » : réutilise .process-steps de l'accueil, en 3 étapes */
.ai-flow { margin: 0 0 56px; }
.ai-flow .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ai-flow .process-steps::before, .ai-flow .process-steps::after { left: calc(100% / 6); right: calc(100% / 6); }
.ai-flow .process-icon { box-shadow: 0 0 0 8px var(--c-white); }   /* fond de section blanc */
.ai-flow .process-steps { --rail-mask: var(--c-white); }
.ai-flow .process-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-flow .process-step h3 { font-size: 23px; }
.ai-flow .process-step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15.5px; line-height: 1.5; color: var(--c-slate); }
@media (max-width: 1080px) and (min-width: 768px) { .ai-flow .process-step { flex: 1 1 0; } }   /* tablette : 3 étapes sur une ligne */
@media (max-width: 767px) {   /* téléphone : frise verticale, comme sur l'accueil */
  .ai-flow .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .ai-flow .process-steps::before, .ai-flow .process-steps::after { left: calc(var(--circle) / 2 - 1.5px); right: auto; }
  .ai-flow .process-step > ul { grid-column: 2; text-align: left; }
}
.ai-dash { border: 1px solid #e3e6ec; border-radius: 20px; overflow: hidden; background: #f7f8fa; box-shadow: 0 24px 60px -36px rgba(45, 49, 66, .45); }
.ai-dash-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 22px; background: var(--c-dark); }
.ai-dash-note { color: #8f9bb4; }
.ai-train { display: grid; grid-template-columns: 1.35fr 1fr; background: #262b3a; border-bottom: 1px solid #353b4e; }
.ai-loss { margin: 0; padding: 18px 20px 12px; border-left: 1px solid #353b4e; display: flex; align-items: center; }
.ai-loss svg { display: block; width: 100%; height: auto; }
.ai-loss .ax { fill: none; stroke: #8f9bb4; stroke-width: 2; }
.ai-loss .ax-arrow { fill: none; stroke: #8f9bb4; stroke-width: 2; stroke-linejoin: round; }
.ai-loss .lbl { font: 500 14px/1 var(--f-body); fill: #c3cad8; }
.ai-loss polyline { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ai-loss .tr { stroke: #9fb0cf; }
.ai-loss .te { stroke: var(--c-orange); }
.ai-loss .leg { font: 700 17px/1 var(--f-head); }
.ai-loss .tr-t { fill: #9fb0cf; }
.ai-loss .te-t { fill: var(--c-orange); }
.ai-loss .best { stroke: #6fd39b; stroke-width: 1.5; stroke-dasharray: 4 5; transition: opacity .4s; }
.ai-loss .best-t { font: 600 11.5px/1 ui-monospace, Menlo, Consolas, monospace; fill: #6fd39b; transition: opacity .4s; }
.ai-loss[data-loss-chart] .best, .ai-loss[data-loss-chart] .best-t { opacity: 1; }
.ai-train:has(.is-typing) .ai-loss:not(.is-best) .best, .ai-train:has(.is-typing) .ai-loss:not(.is-best) .best-t { opacity: 0; }
.ai-dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e3e6ec; }
.ai-dash-grid figure { margin: 0; padding: 22px; background: var(--c-white); }
.ai-dash-grid img { display: block; width: 100%; height: 330px; object-fit: contain; }
.ai-dash-grid figcaption { margin-top: 10px; font-size: 14.5px; color: var(--c-slate); }
.ai-approach-x .ai-kicker { margin-bottom: 12px; }
.ai-modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ai-modules li { padding: 26px; border-radius: 18px; border: 1px solid #e3e6ec; background: var(--c-white); box-shadow: 0 10px 30px -22px rgba(45, 49, 66, .35); }
.ai-modules h3 { margin: 12px 0 8px; font: 700 21px/1.25 var(--f-head); color: var(--c-dark); }
.ai-modules p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--c-slate); }

/* ---------- Conseil & formation (pages/training.html) : formules, catalogue, formateurs ---------- */
#catalog, #consulting { scroll-margin-top: 90px; }
.tr-offers svg, .to-text svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--c-orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tr-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.tr-filter button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid #d9dce2; border-radius: 999px; background: var(--c-white); cursor: pointer;
  font: 600 15px/1.2 var(--f-head); color: var(--c-slate); transition: border-color .2s, background-color .2s, color .2s; }
.tr-filter button .tr-level i:last-of-type { margin-right: 0; }
.tr-filter button:hover { border-color: var(--c-slate); }
.tr-filter button[aria-pressed="true"] { background: var(--c-dark); border-color: var(--c-dark); color: var(--c-white); }
.tr-catalog li[hidden], .tr-catalog li.tr-sheet[hidden] { display: none; }   /* le filtre par niveau doit l’emporter sur display: grid des fiches */
.section--white .tr-catalog li { background: var(--c-bg); }
.tr-consult { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.tr-consult h2 { margin: 0 0 14px; font: 700 clamp(30px, 3vw, 40px)/1.12 var(--f-head); color: var(--c-dark); }
.tr-consult > div > p { margin: 0 0 20px; font-size: 17.5px; line-height: 1.7; color: var(--c-slate); }
.tr-consult ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--c-dark); }
.tr-consult li { padding: 18px 0; border-bottom: 1px solid #e6e7eb; font-size: 15.5px; line-height: 1.65; color: var(--c-slate); }
.tr-consult li b { display: block; margin-bottom: 4px; font: 700 20px/1.25 var(--f-head); color: var(--c-dark); }
.tr-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-orange); text-decoration: none; }
.tr-link svg { width: 18px; height: 18px; fill: currentColor; }
.tr-catalog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tr-catalog li { padding: 22px 22px 24px; border-radius: 18px; background: var(--c-white); }
.tr-catalog h3 { margin: 12px 0 6px; font: 700 18px/1.3 var(--f-head); color: var(--c-dark); }
.tr-catalog p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--c-slate); }
/* Fiches formation : référence, titre, description, puis infos pratiques alignées */
.tr-catalog-section { background: #f6f7f9; }
.tr-catalog li.tr-sheet { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; padding: 0;   /* subgrid : zones orange alignées sur une ligne */
  border: 1px solid #e3e6ec; background: var(--c-white);
  overflow: hidden; box-shadow: 0 12px 30px -26px rgba(45, 49, 66, .5); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tr-catalog li.tr-sheet:hover { transform: translateY(-3px); border-color: #f6c2a8; box-shadow: 0 18px 36px -24px rgba(239, 131, 84, .45); }
.tr-sheet h3 { margin: 0 0 6px; }
.tr-catalog-cta { margin: 28px 0 0; text-align: center; }
/* première partie de la fiche (titre + description) sur orange clair, infos pratiques sur blanc */
.tr-sheet-top { padding: 22px 22px 18px; background: #fdf1eb; }
.tr-sheet-top p { font-style: italic; color: #6b4a3c; }
.tr-sheet-info { flex: 1; display: flex; flex-direction: column; padding: 16px 22px 18px; }
.tr-sheet dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 7px 14px; align-items: baseline; }   /* colonne des libellés à la largeur du plus long (EN : PREREQUISITES) */
.tr-sheet dl div { display: contents; }
.tr-sheet dt { font: 600 11.5px/1.3 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: #8a93a5; }
.tr-sheet dd { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--c-dark); }
.tr-sheet dd .tr-level { font-size: 12px; color: var(--c-dark); }
.tr-level { display: inline-flex; align-items: center; gap: 3px; font: 600 12.5px/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: var(--c-slate); }
.tr-level i { display: inline-block; width: 7px; height: 14px; border-radius: 2px; background: #d9dde4; }
.tr-level i:last-of-type { margin-right: 8px; }
.tr-level--1 i:nth-child(1), .tr-level--2 i:nth-child(-n+2), .tr-level--3 i { background: var(--c-orange); }
.tr-formats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 32px 0 0; }
.tr-formats b { margin-right: 6px; font: 700 15px/1 var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--c-slate); }
.tr-formats span { padding: 8px 16px; border-radius: 999px; background: var(--c-white); border: 1px solid #e3e6ec; font-size: 14.5px; color: var(--c-dark); }

/* ---------- Développement d'outils (pages/tools-development.html) : produits dans des cadres ---------- */
.to-product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; scroll-margin-top: 90px; }
.to-product + .to-product { margin-top: 72px; }
.to-product--flip .to-frame { order: 2; }
.to-frame { min-width: 0; overflow: hidden; border-radius: 14px; background: var(--c-white); border: 1px solid #dde1e7; box-shadow: 0 30px 60px -34px rgba(45, 49, 66, .5); }
.to-frame--editor { background: #f6f7f9; }
.to-frame--editor img { padding: 8px 6px; }
.to-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #eceff3; border-bottom: 1px solid #dde1e7; }
.to-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d8df; }
.to-bar i:first-child { background: var(--c-orange); }
.to-url { flex: 1; max-width: 260px; margin-left: 16px; padding: 4px 12px; border-radius: 6px; background: var(--c-white); font-size: 12.5px; color: var(--c-slate); }
.to-frame img { display: block; width: 100%; height: auto; padding: 18px; }
.to-demo-shot { display: block; }
.to-frame .to-demo-shot img { padding: 0; transition: opacity .2s; }
.to-demo-shot:hover img, .to-demo-shot:focus-visible img { opacity: .88; }
.to-demo-btn { margin-top: 22px; }
/* code « tapé » */
.to-code { margin: 0; padding: 22px 22px 26px; min-height: calc(11 * 1.85em + 48px); overflow-x: auto; counter-reset: ln; background: #f6f7f9;
  font: 14px/1.85 ui-monospace, "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace; color: var(--c-dark); white-space: pre; }
.to-code .ln { display: block; height: 1.85em; }
.to-code .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 2.2em; margin-right: 14px; text-align: right; color: #b4bac6; }
.to-code i { font-style: normal; }
.to-code .c { color: #8a92a3; font-style: italic; }
.to-code .k { color: var(--c-slate); font-weight: 700; }
.to-code .s { color: #c0602f; }
.to-code .n { color: var(--c-orange); }
.to-code .f { color: #2f6f9f; }
.to-code.is-typing code::after, .to-code.is-done code::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--c-orange); animation: to-caret 1s steps(1) infinite; }
@keyframes to-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .to-code code::after { display: none; } }
/* plan de métro du pipeline */
.to-metro { display: block; width: 100%; height: auto; padding: 14px 10px 8px; }
.to-metro .m-lines path, .to-metro .m-leg line { fill: none; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.to-metro .m-rna { stroke: var(--c-slate); }
.to-metro .m-var { stroke: var(--c-orange); }
.to-metro .m-qc { stroke: #a9b4c7; }
.to-metro .m-st circle, .to-metro .m-st rect { fill: #fff; stroke: var(--c-dark); stroke-width: 3; }
.to-metro text { font: 600 15px/1 var(--f-head); fill: var(--c-dark); }
.to-metro .m-end { font-size: 18px; font-weight: 700; }
.to-metro .m-leg text { font: 500 14px/1 var(--f-body); fill: var(--c-slate); }
/* bloc de code pâle, incliné, derrière le haut de la section des outils */
.page-tools-development .x-body { position: relative; isolation: isolate; overflow: hidden; background: var(--c-white); }
.page-tools-development .x-body > section:first-of-type { background: transparent; }
.to-bgcode { position: absolute; z-index: -1; top: 420px; right: 2%; margin: 0; padding: 0; pointer-events: none; user-select: none;
  transform: rotate(-7deg); transform-origin: top right;
  font: 15px/1.8 ui-monospace, "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace; color: rgba(79, 93, 117, .16); white-space: pre;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 40%, transparent 100%); }
.to-name { display: block; margin-bottom: 10px; font: 600 14px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .02em; color: var(--c-orange); }
.to-text h3 { margin: 0 0 12px; font: 700 clamp(26px, 2.6vw, 34px)/1.15 var(--f-head); color: var(--c-dark); }
.to-text > p { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--c-slate); }
.to-text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.to-text ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--c-dark); }
.to-bottom { background: var(--c-bg); }
.to-receive { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; }
.to-receive li { padding: 24px; border-radius: 18px; background: var(--c-white); border: 1px solid #e6e8ec; font-size: 15px; line-height: 1.6; color: var(--c-slate); }
.to-receive b { display: block; margin-bottom: 4px; font: 700 19px/1.25 var(--f-head); color: var(--c-dark); }
.to-receive li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 10px; align-items: center; align-content: start; }   /* icône + titre sur une ligne, texte dessous */
.to-receive li b { margin: 0; }
.to-receive li span:last-child { grid-column: 1 / -1; }
.to-receive-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fdf1eb; }
.to-receive-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--c-orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.to-stack { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 40px 0 0; }
.to-stack b { margin-right: 6px; font: 700 15px/1 var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--c-slate); }
.to-stack span { padding: 8px 16px; border-radius: 10px; background: var(--c-dark); font: 600 14px/1.2 "DejaVu Sans Mono", ui-monospace, monospace; color: var(--c-white); }

/* ---------- Pages légales (templates/_legal.html) ---------- */
.legal-hero { padding-bottom: 44px; }
.legal-updated { margin: -6px 0 16px; font: 600 14px/1.3 var(--f-head); letter-spacing: .04em; color: var(--c-orange); }
.legal { padding-top: 64px; }
.legal-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-grid:not(:has(.legal-toc)) { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.legal-toc { position: sticky; top: 90px; padding: 22px 22px 18px; border-radius: 16px; background: var(--c-bg); }
.legal-toc p { margin: 0 0 12px; font: 700 13px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--c-slate); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: calc(100vh - 200px); overflow-y: auto; }
.legal-toc a { display: block; padding: 6px 8px; border-radius: 8px; font-size: 14.5px; line-height: 1.35; color: var(--c-dark); text-decoration: none; }
.legal-toc a:hover, .legal-toc a:focus-visible { background: var(--c-white); color: var(--c-orange); }
.legal-body { max-width: 820px; }
.legal-body section { scroll-margin-top: 90px; }
.legal-body section + section { margin-top: 40px; padding-top: 32px; border-top: 1px solid #eceef2; }
.legal-body h2 { margin: 0 0 16px; font: 700 clamp(24px, 2.4vw, 30px)/1.2 var(--f-head); color: var(--c-dark); }
.legal-body h3 { margin: 24px 0 10px; font: 700 18px/1.3 var(--f-head); color: var(--c-dark); }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.75; color: var(--c-slate); }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--c-orange); }
.legal-body ul ul { margin: 8px 0 4px; }
.legal-body b { color: var(--c-dark); font-weight: 600; }
.legal-table { margin: 0 0 18px; overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: 10px 12px; border: 1px solid #e3e6ec; text-align: left; vertical-align: top; line-height: 1.55; color: var(--c-slate); }
.legal-table th { background: var(--c-bg); font: 700 14px/1.3 var(--f-head); color: var(--c-dark); }
.legal-formula { display: inline-block; padding: 8px 14px; border-radius: 8px; background: var(--c-bg); font: 600 16px/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--c-dark); }
.legal-body a, .legal-hero a { color: var(--c-orange); font-weight: 500; }

/* ---------- Quiz « Repérez le problème de qualité » (prototype : templates/_dev/quiz-qc.html) ---------- */
.quiz-proto { display: inline-block; margin: 0 0 14px; padding: 4px 10px; border-radius: 6px; background: #fff3cd; font-size: 13px; color: #7a5b00; }
.quiz { display: grid; gap: 40px; max-width: 1080px; }
.quiz-case { display: grid; grid-template-columns: 520px 1fr; gap: 48px; align-items: start; padding: 36px; border-radius: 24px; background: var(--c-bg); }
.quiz-fig { margin: 0; padding: 14px; border-radius: 16px; background: var(--c-white); }
.quiz-fig img { display: block; width: 100%; height: auto; }
.quiz-meta { margin: 0 0 8px; font: 600 13px/1.2 var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--c-orange); }
.quiz-body h2 { margin: 0 0 20px; font: 700 clamp(22px, 2.2vw, 28px)/1.25 var(--f-head); color: var(--c-dark); }
.quiz-options { display: grid; gap: 10px; }
.quiz-options button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border: 2px solid #e1e3e8; border-radius: 14px; background: var(--c-white);
  font: 500 16px/1.4 var(--f-body); color: var(--c-dark); text-align: left; cursor: pointer; transition: border-color .2s; }
.quiz-options button span { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-bg); font: 700 14px/1 var(--f-head); color: var(--c-slate); }
.quiz-options button:hover:not(:disabled) { border-color: var(--c-slate); }
.quiz-options button:disabled { cursor: default; opacity: .6; }
.quiz-options button.is-good { opacity: 1; border-color: #2e8b57; background: #eef8f2; }
.quiz-options button.is-good span { background: #2e8b57; color: var(--c-white); }
.quiz-options button.is-wrong { opacity: 1; border-color: var(--c-orange); background: #fdf1eb; }
.quiz-options button.is-wrong span { background: var(--c-orange); color: var(--c-white); }
.quiz-answer { margin-top: 20px; padding: 20px 22px; border-radius: 16px; background: var(--c-white); }
.quiz-answer p { margin: 0 0 10px; font-size: 16px; line-height: 1.65; color: var(--c-slate); }
.quiz-answer p:last-child { margin-bottom: 0; }
.quiz-answer b { color: var(--c-dark); }
.quiz-verdict { font: 700 19px/1.2 var(--f-head) !important; }
.quiz-verdict.is-good { color: #2e8b57 !important; }
.quiz-verdict.is-wrong { color: var(--c-orange) !important; }
.quiz-we { padding-top: 10px; border-top: 1px solid #eef0f3; }
.quiz-end { padding: 40px; border-radius: 24px; background: var(--c-dark); text-align: center; color: var(--c-white); }
.quiz-score { margin: 0 0 6px; font: 700 56px/1 var(--f-head); color: var(--c-orange); }
.quiz-score b { font-weight: 700; }
.quiz-end h2 { margin: 0 0 10px; font: 700 clamp(26px, 2.6vw, 34px)/1.2 var(--f-head); color: var(--c-white); }
.quiz-end p { margin: 0 0 24px; color: rgba(255, 255, 255, .85); }

/* ---------- Page de travail « inspiration » (templates/_dev/inspiration.html) ---------- */
.insp-title { margin: 0 0 8px; font: 700 clamp(26px, 2.6vw, 34px)/1.2 var(--f-head); color: var(--c-dark); }
.insp-note { max-width: 760px; margin: 0 0 28px; font-size: 16.5px; line-height: 1.6; color: var(--c-slate); }
.insp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.insp-card { overflow: hidden; border-radius: 18px; background: var(--c-white); box-shadow: 0 10px 28px -18px rgba(45, 49, 66, .45); }
.section--white .insp-card { border: 1px solid #e6e7eb; box-shadow: none; }
.insp-shot { display: block; height: 380px; overflow: hidden; border-bottom: 1px solid #e6e7eb; }
.insp-shot img { display: block; width: 100%; height: auto; }
.insp-text { padding: 18px 20px 22px; }
.insp-tag { margin: 0 0 4px; font: 600 12.5px/1.2 var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--c-orange); }
.insp-text h3 { margin: 0 0 8px; font: 700 21px/1.2 var(--f-head); }
.insp-text h3 a { color: var(--c-dark); text-decoration: none; }
.insp-text h3 a:hover { color: var(--c-orange); }
.insp-text p:last-child { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-slate); }

/* ---------- Page Contact ----------
   Ordinateur : 2 colonnes (gauche : intro + carte/rendez-vous/étapes ; droite : formulaire).
   Tablette / téléphone : intro, formulaire, puis carte/rendez-vous/étapes. */
.contact { position: relative; isolation: isolate; padding: 40px 0 96px; background: var(--c-bg); }
.contact::before {            /* image ADN de l'accueil, en fondu derrière le haut de la page */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 520px; z-index: -1;
  background: url("/assets/img/hero/biotech-1440.webp") 85% 0 / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
}
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: start;
  grid-template-areas: "intro form" "extra form";
}
.contact-intro { grid-area: intro; }
.contact-card { grid-area: form; }
.contact-extra { grid-area: extra; display: grid; gap: 20px; }

/* Intro + coordonnées */
.contact-intro h1 { margin: 8px 0 12px; font: 700 clamp(40px, 4.4vw, 58px)/1.05 var(--f-head); color: var(--c-dark); }
.contact-lead { margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: var(--c-slate); max-width: 460px; }
.contact-items {
  list-style: none; margin: 0; padding: 6px 0; background: var(--c-white); border-radius: 18px;
  box-shadow: 0 10px 32px -16px rgba(45, 49, 66, .3);
}
.contact-items li + li { border-top: 1px solid #eef0f4; margin: 0 20px; }
.contact-items li + li .contact-item { padding-left: 0; padding-right: 0; }
.contact-items li:first-child .contact-item { margin: 0; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 14px 20px; color: inherit; text-decoration: none; border-radius: 14px; }
.contact-items li:first-child .contact-item { padding: 14px 20px; }
.badge { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: #fdf0ea; transition: background .2s; }
.badge svg { width: 22px; height: 22px; fill: var(--c-orange); transition: fill .2s; }
.ci-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ci-text small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a90a0; }
.ci-text span { font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--c-dark); overflow-wrap: anywhere; }
.ci-arrow { width: 20px; height: 20px; flex-shrink: 0; fill: #c3c8d2; transition: transform .2s, fill .2s; }
a.contact-item:hover .badge, a.contact-item:focus-visible .badge { background: var(--c-orange); }
a.contact-item:hover .badge svg, a.contact-item:focus-visible .badge svg { fill: var(--c-white); }
a.contact-item:hover .ci-text span, a.contact-item:focus-visible .ci-text span { color: var(--c-orange); }
a.contact-item:hover .ci-arrow, a.contact-item:focus-visible .ci-arrow { fill: var(--c-orange); transform: translateX(3px); }

/* Carte */
.contact-map { margin: 0; border-radius: 18px; overflow: hidden; background: var(--c-white); border: 6px solid var(--c-white); box-shadow: 0 10px 32px -16px rgba(45, 49, 66, .3); }
.contact-map img { border-radius: 12px; }
.contact-map img { width: 100%; height: auto; }

/* Rendez-vous */
.call-card { position: relative; overflow: hidden; border-radius: 18px; padding: 26px 26px 28px; color: #e6e9f0;
  background: linear-gradient(135deg, #4f5d75 0%, #2d3142 100%); }
.call-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(239, 131, 84, .18); }
.call-card h2 { margin: 0 0 6px; font: 700 24px/1.2 var(--f-head); color: var(--c-white); }
.call-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; max-width: 380px; }
.call-card .btn-primary:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-slate); }
.call-card .btn-call { background: transparent; position: relative; z-index: 1; }   /* fond sombre : contour orange sans fond blanc */

/* Carte du formulaire */
.contact-card { background: var(--c-white); border-radius: 22px; padding: 30px 34px 28px; box-shadow: 0 24px 60px -28px rgba(45, 49, 66, .35); scroll-margin-top: 90px; }
.contact-title { margin: 0 0 4px; font: 700 28px/1.2 var(--f-head); }
.form-note { margin: 0 0 18px; font-size: 14px; color: #6b7385; }
.form-note abbr { color: var(--c-orange); text-decoration: none; border: 0; }
.contact-form { display: grid; gap: 16px; }
.form-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
.form-step > legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin: 0; font: 700 19px/1.2 var(--f-head); color: var(--c-dark); }   /* float : le titre se comporte comme un bloc normal (séparateur au-dessus) */
.step-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-orange); color: var(--c-white); font-size: 15px; }
.form-step + .form-step { padding-top: 16px; border-top: 1px solid #eceef2; }

/* Champs */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field-legend { display: block; margin-bottom: 5px; padding: 0; font-weight: 500; font-size: 15px; color: var(--c-dark); }
.field abbr { color: var(--c-orange); text-decoration: none; border: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 10px 13px; border: 1.5px solid #e3e6ec; border-radius: 10px; background: #f8f9fb;
  font: 400 16px/1.4 var(--f-body); color: var(--c-dark); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfd4dc; }
.field textarea { resize: vertical; min-height: 200px; }   /* corps du message : assez grand pour écrire confortablement */
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: var(--c-white); border-color: var(--c-slate); box-shadow: 0 0 0 4px rgba(79, 93, 117, .12); }
.field select { appearance: none; padding-right: 42px; cursor: pointer;
  background: #f8f9fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234f5d75' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; }
.field select:focus { background-color: var(--c-white); }
.hint { margin: 6px 0 0; font-size: 14px; color: #6b7385; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d14343; background: #fffafa; }
.field-error { margin: 6px 0 0; font-size: 14px; color: #c03a3a; }

/* Objet : boutons compacts avec icône, sur une ligne */
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile span {
  display: flex; align-items: center; gap: 7px; padding: 8px 13px;
  border: 1.5px solid #e3e6ec; border-radius: 999px; background: #f8f9fb;
  font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--c-slate); transition: all .2s;
}
.tile svg { width: 17px; height: 17px; fill: #9aa3b5; flex-shrink: 0; transition: fill .2s; }
.tile:hover span { border-color: #cfd4dc; }
.tile input:checked + span { border-color: var(--c-orange); background: #fdf0ea; color: var(--c-dark); }
.tile input:checked + span svg { fill: var(--c-orange); }
.tile input:focus-visible + span { box-shadow: 0 0 0 4px rgba(79, 93, 117, .2); }

/* Consentement, confidentialité, envoi */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--c-dark); }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-orange); }
.submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.btn-submit { padding: 15px 34px; font-size: 17px; }
.btn-submit[disabled] { opacity: .7; cursor: wait; }
.submit-row { flex-direction: column; align-items: stretch; gap: 12px; }
.submit-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.submit-line .field-robot { flex: 1 1 260px; }
.reassure { display: flex; align-items: flex-start; gap: 10px; margin: 0; max-width: 620px; font-size: 14px; line-height: 1.55; color: #6b7385; }
.reassure svg { width: 16px; height: 16px; margin-top: 2px; fill: #9aa3b5; flex-shrink: 0; }
.reassure a { color: var(--c-slate); }

/* Case « Je ne suis pas un robot » (ALTCHA) aux couleurs du site */
altcha-widget {
  --altcha-border-width: 1.5px; --altcha-border-radius: 10px; --altcha-max-width: 300px;
  --altcha-color-base: #f8f9fb; --altcha-color-border: #e3e6ec; --altcha-color-border-focus: var(--c-slate);
  --altcha-color-text: var(--c-dark); --altcha-color-active: var(--c-orange); --altcha-color-error-text: #c03a3a;
  display: block; font-family: var(--f-body);
}
.field-robot.has-error altcha-widget { --altcha-color-border: #d14343; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* champ piège anti-robots */

/* Messages après envoi (ancre #message-sent / #message-error, ou classe ajoutée par main.js) */
.form-msg { display: none; margin: 0 0 22px; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.form-msg:target, .form-msg.is-shown { display: block; }
.form-msg:focus { outline: 0; }
.form-msg--ok { background: #e7f6ec; color: #1d6b3d; border: 1px solid #b8e2c6; }
.form-msg--error { background: #fdecec; color: #8f2a2a; border: 1px solid #f3c2c2; }
.form-msg--error a { color: inherit; }

/* Point pulsant sur Rosenau (carte de la page Contact) */
.contact-map { position: relative; }
.map-pulse {
  position: absolute; left: 28.7%; top: 16.9%; width: 14px; height: 14px; margin: -7px 0 0 -7px;   /* pointe de l'épingle */
  border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 0 3px var(--c-white);
}
@media (prefers-reduced-motion: no-preference) {
  .map-pulse::after {
    content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c-orange);
    animation: map-pulse 2.2s ease-out infinite;
  }
}
@keyframes map-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- Bouton « retour en haut » : rond ardoise, chevron orange ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-slate); color: var(--c-orange);
  box-shadow: 0 8px 20px -6px rgba(45, 49, 66, .45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility 0s linear .25s, background .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover, .to-top:focus-visible { background: var(--c-dark); }

/* ---------- Bandeau de consentement (mesure d'audience) ----------
   Carte discrète en bas à gauche, pleine largeur sur téléphone. Les deux boutons ont exactement
   le même aspect : « Refuser » doit être aussi visible qu'« Accepter » (CNIL). Pas d'animation. */
.consent {
  position: fixed; left: 24px; bottom: 24px; z-index: 300;
  width: min(380px, calc(100% - 48px));
  background: var(--c-white); color: var(--c-slate);
  border: 1px solid #e3e5ea; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(45, 49, 66, .18);
  padding: 16px 18px 14px;
}
.consent[hidden] { display: none; }
.consent-title { margin: 0 0 4px; font: 600 16px/1.25 var(--f-head); color: var(--c-dark); }
.consent-text { margin: 0 0 12px; font-size: 12.5px; line-height: 1.5; }
.consent-main[hidden], .consent-prefs[hidden] { display: none; }
.consent-links { margin: 10px 0 0; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.consent-links a, .consent-link { color: var(--c-slate); }
.consent-link {
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.consent-links a:hover, .consent-link:hover, .consent-link:focus-visible { color: var(--c-orange); }
.consent-cat { border-top: 1px solid #e3e5ea; padding: 10px 0; font-size: 12.5px; line-height: 1.5; }
.consent-cat:nth-of-type(2) { margin-bottom: 16px; border-bottom: 1px solid #e3e5ea; }
.consent-cat p { margin: 0; }
.consent-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px !important; color: var(--c-dark); }
label.consent-cat-head { cursor: pointer; }
/* Interrupteur oui / non */
.consent-switch {
  appearance: none; flex: none; margin: 0; cursor: pointer;
  width: 42px; height: 24px; border-radius: 999px; background: #c9cdd6; position: relative;
  transition: background-color .2s;
}
.consent-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--c-white); transition: transform .2s;
}
.consent-switch:checked { background: var(--c-orange); }
.consent-switch:checked::after { transform: translateX(18px); }
.consent-switch:focus-visible { outline: 2px solid var(--c-dark); outline-offset: 2px; }
.consent-actions { display: flex; gap: 10px; }
.consent-btn {
  flex: 1; cursor: pointer;
  font: 500 13.5px/1 var(--f-body); padding: 10px 14px; border-radius: 999px;
  background: var(--c-dark); color: var(--c-white); border: 2px solid var(--c-dark);
  transition: background-color .2s, color .2s;
}
.consent-btn:hover { background: var(--c-white); color: var(--c-dark); }
.consent-btn:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 2px; }
.footer-sep { margin: 0 10px; }
.footer-consent {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-consent:hover, .footer-consent:focus-visible { color: var(--c-orange); }
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 14px 16px 12px; }
}
.to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Page "en construction" (pages pas encore refaites) ---------- */
.todo { padding: 100px 0; text-align: center; }
.todo h1 { font: 700 40px/1.2 var(--f-display); }

/* ---------- Page 404 ---------- */
.notfound { padding: clamp(56px, 10vw, 110px) 0 clamp(64px, 10vw, 120px); text-align: center; }
.notfound-code { margin: 0; font: 700 clamp(88px, 18vw, 160px)/1 var(--f-display); color: var(--c-orange); letter-spacing: -.02em; }
.notfound h1 { margin: 8px 0 14px; font: 700 clamp(30px, 5vw, 42px)/1.15 var(--f-display); }
.notfound-text { max-width: 560px; margin: 0 auto 28px; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 44px; }
.notfound-actions .btn { cursor: pointer; }
.notfound-actions .btn.search-open {   /* annule le style de la loupe de l'en-tête */
  display: inline-block; width: auto; height: auto; padding: 14px 26px; border: 2px solid var(--c-slate);
  border-radius: 999px; color: var(--c-slate); font: 500 16px/1 var(--f-body);
}
.notfound-actions .btn.search-open:hover, .notfound-actions .btn.search-open:focus-visible { background: var(--c-slate); color: var(--c-white); }
.notfound-links-title { margin: 0 0 12px; font: 600 13px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c-slate); }
.notfound-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.notfound-links a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--c-white);
  border: 1px solid #dde0e6; color: var(--c-dark); text-decoration: none; font-size: 15px;
  transition: border-color .2s, color .2s;
}
.notfound-links a:hover, .notfound-links a:focus-visible { border-color: var(--c-orange); color: var(--c-orange); }

/* ---------- Tablette : pied de page sur 3 colonnes ---------- */
@media (max-width: 1080px) and (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; gap: 40px; flex-wrap: wrap; }
}

/* ---------- Ordinateur portable / tablette paysage : en-tête plus compact ---------- */
@media (max-width: 1180px) and (min-width: 961px) {
  .brand-mark { width: 60px; }
  .brand-name { font-size: 38px; }
  .brand-tagline { font-size: 13px; }
  .main-nav { gap: 18px; }
  .menu-link { padding: 0 8px; }
  .nav-extra { gap: 12px; }
  .header-cta { padding: 11px 18px; font-size: 15px; }
}

/* Ordinateur : les 3 cartes partagent les mêmes lignes de grille (subgrid) →
   titres, textes et séparations des étiquettes parfaitement alignés d'une carte à l'autre */
@media (min-width: 961px) {
  .solution-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
}

/* ---------- Accueil sur tablette ---------- */
@media (max-width: 1080px) {
  .solutions-grid { gap: 20px; }
  .solution-card { padding: 26px 22px 24px; }
}
/* Tablette portrait : une carte par ligne, illustration à gauche */
@media (max-width: 960px) and (min-width: 768px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { display: grid; grid-template-columns: 160px 1fr; column-gap: 28px; align-items: start; padding: 28px 30px; }
  .solution-icon { grid-row: 1 / span 4; height: 110px; margin: 0; align-items: center; }
  .solution-icon img { max-width: 100%; }
  .solution-card h3 { text-align: left; }
  .solution-card p { margin-bottom: 14px; }
}

/* Étapes et livrables sur tablette */
@media (max-width: 1080px) {
  .member, .member--flip { grid-template-columns: 260px 1fr; gap: 40px; padding: 30px; }
  .eco-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; gap: 18px; }
  .svc-grid--3 { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
  .svc-block-head.has-figure { grid-template-columns: 1fr 300px; gap: 36px; }
  .svc-items--3 { grid-template-columns: repeat(2, 1fr); }
  .svc-report { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .related-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; gap: 14px; }
  .quote-grid { gap: 24px; }
  .uses-grid, .techs-grid { grid-template-columns: 1fr; max-width: 680px; margin-left: auto; margin-right: auto; gap: 18px; }
  .techs-grid { margin-bottom: 32px; }
  .status-grid { grid-template-columns: 1fr; max-width: 680px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .member--flip .member-photo { order: 0; margin: 0 14px 14px 0; }
  .member--flip .member-photo::before { inset: 14px -14px -14px 14px; }
  .about-grid { gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .security-panel { grid-template-columns: 1fr; gap: 26px; }
  .value-card { padding: 26px 22px; }
  .process-steps { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 40px; }
  .process-step { flex: 0 1 calc((100% - 48px) / 3); }
  .process-steps::before, .process-steps::after { display: none; }
  .deliverables-grid { gap: 48px; }
  .deliverables-list { grid-template-columns: 1fr; }
}

/* ---------- Contact sur tablette : formulaire puis encadrés sur 3 colonnes ---------- */
@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "extra"; }
  .contact-extra { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-map { grid-row: span 2; }
}

/* ---------- Menu mobile / tablette portrait ---------- */
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-toc ol { max-height: none; }
  .ai-fm-grid, .ai-uses { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ai-uses li, .ai-uses li + li { padding: 18px 0 0; border-left: 0; }
  .ai-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-hero::after { background-size: 1000px auto; background-repeat: repeat-y; background-position: center top; }   /* sinon le réseau est trop agrandi sur téléphone */
  .ai-net { max-width: 560px; }
  .ai-qgrid { grid-template-columns: 1fr 1fr; }
  .ai-qgrid li, .ai-qgrid li:nth-child(-n+2) { grid-column: span 1; }
  .ai-qgrid li:first-child { grid-column: 1 / -1; }
  .ai-modules { grid-template-columns: 1fr; }
  .to-product { grid-template-columns: 1fr; gap: 28px; }
  .to-product--flip .to-frame { order: 0; }
  .tr-catalog, .to-receive { grid-template-columns: repeat(2, 1fr); }
  .tr-consult { grid-template-columns: 1fr; gap: 28px; }   /* sinon deux colonnes écrasées sur téléphone */
  .svck-hero-grid, .svck-report-grid, .svck-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .svck-tech, .svck-tech--flip { grid-template-columns: 1fr; gap: 28px; }
  .svck-tech--flip .svck-tech-fig { order: 0; }
  .svck-tech-fig { max-width: 480px; }
  .svck-pages { max-width: 520px; height: 380px; }
  .quiz-case { grid-template-columns: 1fr; gap: 24px; }
  .quiz-fig { max-width: 560px; }
  .menu-toggle {
    display: grid; place-items: center; align-self: center;
    width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--c-slate);
  }
  .menu-toggle svg { width: 30px; height: 30px; fill: currentColor; }
  .menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .search-open--mobile { display: grid; align-self: center; margin-left: auto; margin-right: -4px; }
  .search-open--desktop { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--c-white); box-shadow: 0 16px 30px -10px rgba(45, 49, 66, .25);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .menu { flex-direction: column; gap: 0; }
  .menu-item { flex-wrap: wrap; border-bottom: 1px solid #eceef2; }
  .menu-link { flex: 1; height: auto; padding: 16px 24px; font-size: 18px; }
  .menu-link::after { display: none; }
  .submenu-toggle { width: 56px; height: 56px; margin: 0; }
  .menu-item:hover > .submenu-toggle svg { transform: none; }
  .menu-item.is-open > .submenu-toggle svg { transform: rotate(180deg); }
  .mega, .dropdown {
    position: static; width: 100%; display: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
    border-top: 0; box-shadow: none; border-radius: 0; background: var(--c-bg);
  }
  .menu-item:hover > .mega, .menu-item:hover > .dropdown,
  .menu-item:focus-within > .mega, .menu-item:focus-within > .dropdown { display: none; }
  .menu-item.is-open > .mega, .menu-item.is-open > .dropdown { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 18px; padding: 18px 24px; }
  .mega-col a { margin: 0; }
  .mega-help { display: none; }
  .dropdown { padding: 8px 12px 12px; }
  .nav-extra { justify-content: space-between; padding: 18px 24px 24px; }
  /* mobile : simple ligne « EN · FR · DE » (pas de survol sur téléphone) */
  .lang-current { display: none; }
  /* mêmes sélecteurs que le survol bureau : sinon, au toucher, son translate(-50%) décale la ligne sous le doigt */
  .lang-list, .lang-menu:hover .lang-list, .lang-menu:focus-within .lang-list, .lang-menu.is-open .lang-list {
    position: static; display: flex; align-items: center; min-width: 0; padding: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
    border: 0; box-shadow: none; background: none;
  }
  .lang-list li, .lang-list .is-current { display: flex; align-items: center; }
  .lang-list li + li::before { content: "·"; color: #b4b9c4; }
  .lang-list a { display: inline-block; padding: 10px 8px; font-size: 17px; line-height: 1; }
  .lang-list .lang-name { display: none; }
  .lang-list .lang-code { display: inline; }
  .lang-list a[aria-current] { color: var(--c-orange); font-weight: 700; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --header-h: 76px; --header-h-small: 60px; }
  .is-scrolled .brand-mark { width: 40px; }
  .is-scrolled .brand-name { font-size: 27px; }
  body { font-size: 16px; }
  .brand-mark { width: 56px; }
  .brand-name { font-size: 34px; }
  .brand-tagline { font-size: 12px; }
  .breadcrumbs a, .breadcrumbs [aria-current] { display: inline-block; padding: 6px 0; }
  .breadcrumbs ol { padding-top: 6px; padding-bottom: 6px; }
  /* Haut de page mobile : recadrage sur l'hélice, voile blanc, boutons pleine largeur */
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .15) 22%, rgba(255, 255, 255, .82) 48%, rgba(255, 255, 255, .92) 100%); }
  .hero-bg { object-position: 96% 22%; }
  .hero-inner { justify-content: flex-end; padding-top: 48px; padding-bottom: 44px; }
  .hero-subtitle { margin: 18px 0 30px; }
  .hero-ctas .btn { flex: 1 1 100%; padding: 16px 20px; }
  .syc-banner { --syc-gap: 4rem; --syc-speed: 40s; font-size: 16px; }
  .syc-banner a { padding: 10px 0; }

  /* Accueil mobile */
  .section { padding: 56px 0; }
  .section-title { margin-bottom: 30px; }
  .solutions-grid { grid-template-columns: 1fr; gap: 18px; }
  .solution-icon { height: 96px; margin-bottom: 18px; }
  .section-intro { font-size: 16.5px; margin-bottom: 30px; }

  .values-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero-intro { font-size: 16.5px; }
  .key-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
  .key-facts li { min-width: 0; padding: 14px 16px; }
  .key-facts b { font-size: 30px; }
  .member, .member--flip { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px 26px; }
  .member-photo { max-width: 300px; }
  .member-text h3 { font-size: 28px; }
  .member-role { font-size: 14px !important; }
  .member-pubs { padding-top: 18px; }
  .member-text > p:not(.member-role) { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
  .member-pubs ul { grid-template-columns: 1fr; gap: 12px; }
  .eco-card { padding: 24px 22px; }
  .eco-card h3 { font-size: 21px; }
  .research-prose p { font-size: 16px; }
  .svc-grid--2 { grid-template-columns: 1fr; gap: 18px; }
  .svc-grid--2 > :last-child:nth-child(odd) { width: auto; }
  .quiz-case { padding: 18px; border-radius: 20px; }
  .ai-hero { padding: 48px 0 56px; }
  .ai-intro, .ai-lead { font-size: 16.5px; }
  .ai-net { padding: 8px; }
  .ai-dark { padding: 56px 0; }
  .ai-qgrid { grid-template-columns: 1fr; gap: 12px; }
  .ai-qgrid li { padding: 22px 20px; }
  .ai-dash-grid { grid-template-columns: 1fr; }
  .ai-train { grid-template-columns: 1fr; }
  .ai-loss { border-left: 0; border-top: 1px solid #23293d; }
  .ai-console { font-size: 11.5px; }
  .ai-fm-grid, .ai-uses { grid-template-columns: 1fr; gap: 12px; }
  .ai-dash-grid img { height: auto; }
  .tr-catalog, .to-receive { grid-template-columns: 1fr; gap: 12px; }
  .to-product + .to-product { margin-top: 48px; }
  .to-code { font-size: 12px; padding: 16px 12px 18px; }
  .to-bgcode { font-size: 12px; right: -30%; top: 10px; }
  .to-code .ln::before { width: 1.6em; margin-right: 8px; }
  .to-frame img { padding: 10px; }
  .svck-jump a { grid-template-columns: 60px 1fr 18px; gap: 12px; }
    .svck-jump img { width: 60px; height: 52px; }
  .svck-blocks, .svck-report { padding: 48px 0; }
  .svck-tech { padding: 20px 18px 24px; border-radius: 22px; }
  .svck-tech + .svck-tech { margin-top: 20px; }
  .svck-tech-fig { padding: 12px; }
  .svck-items, .svck-deliv { grid-template-columns: 1fr; gap: 14px; }
  .svck-what { font-size: 16px; }
  .svck-tech-text { padding-top: 58px; }
  .svck-kicker { font-size: 72px; top: -4px; }
  .svck-pages { height: 260px; }
  .svck-report .btn { width: 100%; }
  .quiz-end { padding: 28px 20px; }
  .jump { gap: 8px; margin-top: 22px; }
  .jump a { padding: 8px 14px; font-size: 14.5px; }
  .svc-block-head, .svc-block-head.has-figure { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .svc-block-head h2 { font-size: 30px; }
  .svc-block-head p { font-size: 16.5px; }
  .svc-figure { max-width: 360px; width: 100%; margin: 0 auto; }
  .svc-items, .svc-items--3 { grid-template-columns: 1fr; gap: 12px; }
  .svc-items li { padding: 18px 18px 20px; }
  .svc-items p { padding-left: 0; }
  .svc-report { padding: 28px 22px; border-radius: 20px; }
  .svc-report-figs { gap: 8px; }
  .svc-report .btn { width: 100%; }
  .svc-grid { gap: 18px; }
  .svc-card { padding: 24px 20px; }
  .svc-head { gap: 14px; margin-bottom: 18px; }
  .svc-head .round-icon { width: 52px; height: 52px; }
  .svc-head .round-icon svg { width: 26px; height: 26px; }
  .svc-head h3 { font-size: 23px; }
  .svc-points li { font-size: 15.5px; }
  .quote-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq summary { padding: 16px 18px; font-size: 17.5px; }
  .faq details p { padding: 0 18px 18px; font-size: 15.5px; }
  .use-card { padding: 24px 22px; }
  .flow { grid-template-columns: 1fr; gap: 0; margin-bottom: 48px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .flow::before { top: 34px; bottom: 34px; left: 33px; right: auto; border-top: 0; border-left: 2px dashed rgba(79, 93, 117, .35); }
  .flow-step { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; align-items: center; padding: 10px 0; text-align: left; }
  .flow-step .round-icon { grid-row: span 2; margin: 0; }
  .flow-step h3 { margin: 0; align-self: end; font-size: 20px; }
  .flow-step p { margin: 0; max-width: none; align-self: start; }
  .tech-card { padding: 24px 22px; }
  /* tableau → une carte par critère */
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { margin-bottom: 16px; border-radius: 16px; background: var(--c-bg); overflow: hidden; }
  .compare tbody th { width: 100%; padding: 14px 18px 4px; border: 0; }
  .compare tbody td { padding: 8px 18px 14px; border: 0; }
  .compare tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 600 13px/1.3 var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: #8a92a3; }
  .compare tbody td.compare-us { display: block; border-radius: 0 !important; }
  .compare tbody td.compare-us::before { color: var(--c-orange); }
  .stages li { padding: 18px; gap: 16px; }
  .targets { padding: 26px 22px; }
  .audiences { flex-direction: column; align-items: flex-start; gap: 12px; max-width: 320px; margin-bottom: 36px; }
  .audiences li { font-size: 17px; }
  .funding { flex-direction: column; text-align: center; padding: 22px; }
  .cta-band { padding: 72px 0; }
  .cta-text { font-size: 16.5px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .about-figure { order: -1; max-width: 420px; }
  .about-text p { font-size: 16px; }
  .security-panel { padding: 28px 22px; gap: 24px; }
  .security-strip { grid-template-columns: 1fr; gap: 22px; }
  .security-strip li { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .value-icon { height: 90px; margin-bottom: 16px; }

  /* Étapes en frise verticale, livrables empilés */
  .process-steps { --circle: 56px; display: grid; grid-template-columns: 1fr; row-gap: 28px; }
  .process-steps::before, .process-steps::after { display: block; top: 10px; bottom: 10px; left: calc(var(--circle) / 2 - 1.5px); right: auto; width: 3px; height: auto; }
  .process-steps::after { background: linear-gradient(180deg, var(--c-slate), var(--c-orange)); transform-origin: center top; }
  .process.is-pending:not(.is-running) .process-steps::after { transform: scaleY(0); }
  .process-step { display: grid; grid-template-columns: var(--circle) 1fr; column-gap: 16px; text-align: left; }
  /* le trait vertical s'arrête au dernier cercle : un cache de la couleur du fond recouvre la fin du trait */
  .process-step:last-child::after { content: ""; position: absolute; z-index: -1; left: calc(var(--circle) / 2 - 5px); top: var(--circle); bottom: -12px; width: 10px; background: var(--rail-mask, var(--c-bg)); }
  .process-icon { grid-row: span 2; margin: 0; box-shadow: 0 0 0 6px var(--c-bg); }
  .process-icon svg { width: 30px; height: 30px; }
  .process-step h3 { margin: 4px 0 6px; font-size: 20px; }
  .process-step > h3, .process-step > p { grid-column: 2; }
  .deliverables-grid { grid-template-columns: 1fr; gap: 36px; }
  .deliverables-text { order: -1; }
  .report-visual { padding: 10px 14px 18px 0; }
  .report-doc { transform: rotate(-1deg); padding: 14px 12px 10px; }
  .deliverables-download { align-items: stretch; }

  /* Contact mobile */
  .contact { padding: 28px 0 64px; }
  .contact-intro h1 { margin-top: 0; }
  .contact-lead { font-size: 17px; margin-bottom: 22px; }
  .contact-card { padding: 26px 20px 28px; border-radius: 18px; }
  .contact-title { font-size: 25px; }
  .field-row { grid-template-columns: 1fr; }
  .submit-line { flex-direction: column; align-items: stretch; }
  .submit-line .field-robot { flex: none; }
  .reassure { max-width: none; }
  .contact-extra { grid-template-columns: 1fr; }
  .contact-map { grid-row: auto; }

  /* Pied de page mobile : logos centrés, sections de liens repliables, contact visible */
  .site-footer { padding-top: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-about { flex-direction: row; justify-content: center; gap: 40px; padding-bottom: 28px; }
  .partner img { width: 120px; }
  .footer-acc { border-top: 1px solid #d9dce2; }
  .footer-acc:last-of-type { border-bottom: 1px solid #d9dce2; }
  .footer-acc > summary {
    pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    margin: 0; padding: 14px 0; min-height: 52px;
  }
  .footer-acc > summary svg { display: block; color: var(--c-slate); }
  .footer-acc[open] > summary svg { transform: rotate(180deg); }
  .footer-acc ul { padding: 0 0 12px; }
  .footer-col li { margin: 0; }
  .footer-col a { display: block; padding: 9px 0; font-size: 16px; }
  .footer-contact { padding-top: 26px; }
  .footer-contact .footer-title { margin-bottom: 8px; }
  .footer-address { line-height: 1.6; font-size: 16px; }
  .footer-address a { display: inline-block; padding: 6px 0; }
  .social { gap: 6px; margin-left: -10px; }
  .social a { padding: 11px; }                               /* zone de toucher 44 px */
  .footer-bottom { margin-top: 28px; }
  .footer-bottom p { padding: 22px 64px 24px 0; text-align: left; }   /* place libre à droite pour le bouton « haut de page » */
  .search-dialog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .search-hint { display: none; }
}
