/* =========================================================================
   ISIT V2 . Design System
   Charte graphique conservee : #1363C6 . #15ACE1 . #14183E . #F4F7FE
   Aucune dependance externe (pas de Bootstrap, pas de jQuery).
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs de marque (inchangees) */
  --blue:        #1363C6;
  --cyan:        #15ACE1;
  --ink:         #14183E;
  --mist:        #F4F7FE;

  /* Echelle derivee du bleu de marque */
  --blue-700:    #0F4E9C;
  --blue-600:    #1363C6;
  --blue-500:    #2E7BD6;
  --blue-200:    #A9C9F0;
  --blue-50:     #EAF2FD;

  /* Echelle derivee de l'encre */
  --ink-900:     #0B0E24;
  --ink-800:     #14183E;
  --ink-700:     #1D2352;
  --ink-600:     #2A3168;

  /* Neutres */
  --white:       #FFFFFF;
  --grey-50:     #F4F7FE;
  --grey-100:    #E8EDF7;
  --grey-200:    #D3DCEC;
  --grey-400:    #94A0BC;
  --grey-600:    #5A6684;
  --grey-800:    #2F3A57;

  /* Semantique */
  --text:        var(--ink-800);
  --text-soft:   var(--grey-600);
  --text-invert: #FFFFFF;
  --text-invert-soft: rgba(255, 255, 255, .72);
  --surface:     var(--white);
  --surface-alt: #FFFFFF;
  --surface-ink: var(--ink-800);
  --line:        var(--grey-200);
  --line-soft:   var(--grey-100);
  --line-invert: rgba(255, 255, 255, .14);

  /* Typographie */
  --font-display: 'Ubuntu', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Open Sans', 'Segoe UI', system-ui, sans-serif;

  --fs-display: clamp(2.6rem, 1.4rem + 3.6vw, 4.4rem);
  --fs-h1:      clamp(2.1rem, 1.3rem + 2.4vw, 3.2rem);
  --fs-h2:      clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + .6vw, 1.5rem);
  --fs-lead:    clamp(1.05rem, 1rem + .35vw, 1.25rem);
  --fs-body:    1rem;
  --fs-sm:      .9375rem;
  --fs-xs:      .8125rem;

  /* Espacement, grille 8pt */
  --s-1: .5rem;   --s-2: 1rem;    --s-3: 1.5rem;  --s-4: 2rem;
  --s-5: 3rem;    --s-6: 4rem;    --s-7: 6rem;    --s-8: 8rem;
  --section-y: clamp(4rem, 2rem + 7vw, 7.5rem);

  /* Formes */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;

  /* Elevation, discrete */
  --sh-1: 0 1px 2px rgba(20, 24, 62, .06);
  --sh-2: 0 6px 24px -8px rgba(20, 24, 62, .14);
  --sh-3: 0 24px 60px -24px rgba(20, 24, 62, .28);

  --wrap: 1200px;
  --wrap-narrow: 780px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

/* L'attribut hidden doit toujours masquer, meme sur un element dont une
   regle d'auteur (ex. .btn { display: flex }) fixerait sinon un display :
   les regles d'auteur l'emportent sur la feuille de style du navigateur,
   donc sans ce garde-fou, un bouton "cache" par JavaScript restait visible. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  overflow-x: hidden; width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blue); color: #fff; }

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink-800);
  text-wrap: balance;
}
.t-display { font-size: var(--fs-display); letter-spacing: -.035em; }
.t-h1 { font-size: var(--fs-h1); }
.t-h2 { font-size: var(--fs-h2); }
.t-h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink-800); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s-2);
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Inversions sur fond encre */
.on-ink, .on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4, .on-ink h5 { color: var(--text-invert); }
.on-ink .lead, .on-ink p { color: var(--text-invert-soft); }
.on-ink strong { color: #fff; }
.on-ink .eyebrow { color: var(--cyan); }

/* ---------- 4. Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--mist { background: var(--surface-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--ink { background: var(--surface-ink); }
.section--tight { padding-block: clamp(3rem, 1.5rem + 5vw, 5rem); }

.stack > * + * { margin-top: var(--s-2); }
.section-head { max-width: 700px; margin-bottom: var(--s-5); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 999;
  background: var(--blue); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--s-2); }

/* ---------- 5. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm);
  padding: .9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--blue-700); box-shadow: var(--sh-3); }

.btn--ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); background: var(--blue-50); }

.btn--light { background: #fff; color: var(--ink-800); }
.btn--light:hover { background: var(--mist); }

.btn--outline-light { background: transparent; color: #fff; border-color: var(--line-invert); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: var(--fs-xs); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm);
  color: var(--blue);
}
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.on-ink .link-arrow { color: var(--cyan); }

/* ---------- 6. En-tete ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  /* isolation cree un contexte d'empilement propre au header, pour que le
     fond en ::before (z-index -1) reste toujours derriere son contenu sans
     jamais passer sous les elements de la page en dessous. */
  isolation: isolate;
}
/* Le flou translucide vit sur un calque separe. Applique directement sur
   .site-header, backdrop-filter ferait de l'en-tete le point de reference
   de tout descendant en position:fixed, dont le panneau du menu mobile :
   celui-ci se retrouverait coince dans la hauteur de la barre (68px) au
   lieu de couvrir l'ecran entier, laissant apparaitre la page en dessous. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); box-shadow: var(--sh-1); }

/* Toute cible de defilement doit rester visible sous l'en-tete collant.
   Sans cela, un lien d'ancrage (#comment) ou la redirection d'un
   formulaire (#form apres envoi) affiche la section coupee, cachee
   derriere la barre de navigation translucide : la page semble cassee,
   en particulier sur telephone ou l'en-tete occupe une part de l'ecran. */
[id] { scroll-margin-top: 6rem; }
@media (max-width: 900px) {
  [id] { scroll-margin-top: 5rem; }
}

.nav {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: 76px;
}

.brand { display: flex; align-items: baseline; gap: .1rem; margin-right: auto; }
.brand__mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  letter-spacing: -.04em; color: var(--ink-800);
}
.brand__dot { color: var(--cyan); }
.brand__sub {
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-soft); margin-left: .55rem;
}

.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm);
  padding: .6rem .85rem; border-radius: var(--r-sm);
  color: var(--grey-800);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--blue); background: var(--blue-50); }
.nav__link[aria-current="page"] { color: var(--blue); }
.nav__caret { width: 10px; transition: transform .25s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: var(--s-2); }

/* Selecteur de langue */
.lang { display: flex; align-items: center; gap: .15rem; font-size: var(--fs-xs); font-weight: 600; }
.lang a { padding: .3rem .45rem; border-radius: 6px; color: var(--grey-400); }
.lang a:hover { color: var(--blue); }
.lang a.is-active { color: var(--ink-800); background: var(--grey-100); }
.lang__sep { color: var(--grey-200); }

/* Menu deroulant */
.mega {
  position: absolute; left: 50%; transform: translate(-50%, 12px);
  width: min(100vw - 3rem, 940px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: var(--s-3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item { position: relative; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 8px); }

.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-1); }
.mega__col-title {
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  padding: .5rem .75rem;
}
.mega__link {
  display: block; padding: .7rem .75rem; border-radius: var(--r-sm);
  transition: background .2s var(--ease);
}
.mega__link:hover { background: var(--mist); }
.mega__link b {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-sm); color: var(--ink-800);
}
.mega__link span { display: block; font-size: var(--fs-xs); color: var(--text-soft); line-height: 1.45; }
.mega__foot {
  margin-top: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2);
  font-size: var(--fs-sm); color: var(--text-soft);
}

/* Bouton burger */
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink-800); position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-800);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink-900);
  padding-block: clamp(4rem, 2rem + 8vw, 7rem) clamp(4rem, 2rem + 7vw, 6.5rem);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ink-800);
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid; gap: var(--s-6);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
}
.hero__title { font-size: var(--fs-display); color: #fff; letter-spacing: -.035em; }
.hero__title em {
  font-style: normal;
  background: var(--cyan);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: var(--fs-lead); color: var(--text-invert-soft); max-width: 56ch; margin-top: var(--s-3); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .95rem .4rem .5rem;
  border: 1px solid var(--line-invert); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .05);
  font-size: var(--fs-xs); color: var(--text-invert-soft);
  margin-bottom: var(--s-3);
}
.hero__badge b { color: #fff; font-weight: 600; }
.hero__badge i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); font-style: normal;
}

.hero__stats {
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  margin-top: var(--s-5); padding-top: var(--s-3);
  border-top: 1px solid var(--line-invert);
}
.hero__stat b {
  display: block; font-family: var(--font-display); font-size: 1.75rem;
  font-weight: 700; color: #fff; letter-spacing: -.02em;
}
.hero__stat span { font-size: var(--fs-xs); color: var(--text-invert-soft); }

/* ---------- 8. Maquette produit du hero ---------- */
.mock {
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-invert);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.mock__bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem .9rem; border-bottom: 1px solid var(--line-invert);
  background: rgba(255, 255, 255, .04);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.mock__title {
  margin-left: .5rem; font-family: var(--font-display); font-size: var(--fs-xs);
  color: var(--text-invert-soft); letter-spacing: .04em;
}
.mock__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .6875rem; color: #7ED4F5;
}
.mock__live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(21, 172, 225, .7); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(21, 172, 225, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 172, 225, 0); }
}
.mock__body { padding: var(--s-2); display: grid; gap: var(--s-2); }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock__kpi {
  padding: .7rem .8rem; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-invert);
}
.mock__kpi span { display: block; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-invert-soft); }
.mock__kpi b { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.mock__kpi i { font-style: normal; font-size: .6875rem; color: #5FD3A0; }
.mock__chart { border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-invert); padding: .6rem; }
.mock__rows { display: grid; gap: .4rem; }
.mock__row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6rem;
  padding: .5rem .7rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, .04);
  font-size: var(--fs-xs); color: var(--text-invert-soft);
}
.mock__row b { color: #fff; font-weight: 500; }
.tag {
  font-size: .625rem; padding: .18rem .5rem; border-radius: var(--r-pill);
  letter-spacing: .04em; font-weight: 600;
}
.tag--ok   { background: rgba(95, 211, 160, .16); color: #7FE0BB; }
.tag--warn { background: rgba(255, 184, 77, .16); color: #FFCE8A; }
.tag--info { background: rgba(21, 172, 225, .16); color: #7ED4F5; }

/* ---------- 9. Cartes ---------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--s-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--blue-200); }
.card__title { font-size: var(--fs-h3); margin-bottom: .55rem; }
.card__text { font-size: var(--fs-sm); color: var(--text-soft); }
.card__foot { margin-top: auto; padding-top: var(--s-3); }
.card--ink { background: rgba(255, 255, 255, .04); border-color: var(--line-invert); }
.card--ink:hover { border-color: rgba(21, 172, 225, .5); background: rgba(255, 255, 255, .07); }

.ico-box {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: var(--s-2);
  background: var(--blue-50);
  border: 1px solid var(--line-soft);
  color: var(--blue);
}

/* Photo produit reelle, en remplacement du pictogramme quand elle existe */
.card--product { padding-top: var(--s-2); }
.card__product-photo {
  width: 100%; height: 140px; object-fit: contain;
  padding: var(--s-2);
  margin-bottom: var(--s-2);
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.card--ink .ico-box {
  background: rgba(19, 99, 198, .28);
  border-color: var(--line-invert); color: var(--cyan);
}
.ico-box svg { width: 24px; height: 24px; }

/* Carte pole, mise en avant */
.pillar {
  display: flex; flex-direction: column;
  padding: var(--s-4) var(--s-3);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .1em; color: var(--blue); margin-bottom: var(--s-2);
}
.pillar__list { margin-top: var(--s-3); display: grid; gap: .55rem; }
.pillar__list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.5;
}
.pillar__list svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: .2rem; color: var(--cyan); }

/* ---------- 9 bis. Cartes "problème" ---------- */
.pain {
  padding: var(--s-3) 0 var(--s-3) var(--s-3);
  border-left: 3px solid var(--line);
  transition: border-color .3s var(--ease);
}
.pain:hover { border-left-color: var(--blue); }
.pain__title {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700;
  line-height: 1.3; color: var(--ink-800); margin-bottom: .5rem;
}
.pain__text { font-size: var(--fs-sm); color: var(--text-soft); }

/* ---------- 9 ter. Cartes "ce que la donnée rapporte" ---------- */
.benefit {
  display: flex; flex-direction: column;
  padding: var(--s-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--blue-200); }

.benefit__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-2); margin-bottom: var(--s-2);
}
.benefit__num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.03em;
  background: var(--blue);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.benefit__tag {
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-50);
  padding: .3rem .6rem; border-radius: var(--r-pill);
  white-space: nowrap;
}
.benefit__title {
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700;
  line-height: 1.3; color: var(--ink-800); margin-bottom: .6rem;
}
.benefit__text { font-size: var(--fs-sm); color: var(--text-soft); }

/* ---------- 9 quater. Illustrations vectorielles ---------- */
.illus { width: 100%; height: auto; display: block; }
.illus-note {
  margin-top: .65rem; font-size: var(--fs-xs); color: var(--text-soft);
}
.on-ink .illus-note { color: var(--text-invert-soft); }

/* ---------- 9 quinquies. Compatibilite materiel ---------- */
/* Les marques sont citees en texte, jamais en logo : voir includes/brands.php. */
.brands-band { border-top: 1px solid var(--line-soft); }
.brands-band__title { max-width: 34ch; margin-bottom: var(--s-3); }

.brands {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: var(--s-3);
}
.brands__item {
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem;
  letter-spacing: .01em; color: var(--grey-800);
  padding: .6rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.brands__item:hover { border-color: var(--blue-200); color: var(--blue); }
.brands__item--more {
  background: transparent; border-style: dashed;
  color: var(--text-soft); font-weight: 400;
}
.brands__legal {
  font-size: var(--fs-xs); color: var(--text-soft);
  max-width: 78ch; line-height: 1.6;
}
.tech__legal {
  margin-top: var(--s-3);
  font-size: var(--fs-xs); color: var(--text-invert-soft);
  max-width: 78ch; line-height: 1.6;
}

.pillar__tag {
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500;
  color: var(--blue); margin: .35rem 0 .75rem;
}
.pillar__list .is-strong { font-size: 1rem; color: var(--ink-800); }

.mock__chart-label {
  font-size: .625rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-invert-soft); margin-bottom: .35rem;
}

/* Méthode affichée en ligne plutôt qu'en colonne */
.steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---------- 9 sexies. Fiches personnes ---------- */
.person {
  display: flex; flex-direction: column;
  padding: var(--s-4) var(--s-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--blue-200); }
.person--network { border-style: dashed; border-color: var(--blue-200); background: var(--blue-50); }

.person__photo {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto var(--s-2);
  object-fit: cover; object-position: center top;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line), var(--sh-2);
  background: var(--mist);
}
.person__photo--initials {
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
  letter-spacing: -.02em; color: #fff;
  background: var(--blue);
  box-shadow: none; border: none;
}
.person__photo--icon {
  display: grid; place-items: center;
  color: var(--blue); background: #fff;
  box-shadow: none; border: 1px solid var(--blue-200);
}

.person__name {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700;
  color: var(--ink-800);
}
.person__role {
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500;
  color: var(--blue); margin-top: .2rem;
}
.person__bio { font-size: var(--fs-sm); color: var(--text-soft); margin-top: .75rem; }

/* ---------- 9 septies. Carrousel de priorites ---------- */
/* Defilement natif au doigt (scroll-snap), fleches optionnelles a la souris.
   Aucune dependance : le carrousel fonctionne meme si isit.js ne charge pas,
   il perd seulement les fleches et les points actifs. */
.carousel { position: relative; }
.carousel__head {
  display: flex; justify-content: flex-end;
  margin-bottom: var(--s-2);
}
.carousel__nav { display: flex; gap: .5rem; }
.carousel__btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink-800);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.carousel__btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.carousel__btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.carousel__btn:first-child .ico { transform: rotate(90deg); }
.carousel__btn:last-child .ico { transform: rotate(-90deg); }

.carousel__track {
  display: flex; gap: var(--s-3);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(calc((100vw - var(--wrap)) / 2), 1.25rem);
  padding: .25rem max(calc((100vw - var(--wrap)) / 2), 1.25rem) 1.5rem;
  margin-bottom: -1.5rem;
  -ms-overflow-style: none; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__slide {
  flex: 0 0 auto; width: min(78vw, 340px);
  scroll-snap-align: start;
}
.carousel__slide.is-priority { border-color: var(--blue-200); box-shadow: var(--sh-2); }

.pillar__badge {
  position: absolute; top: var(--s-3); right: var(--s-3);
  font-family: var(--font-display); font-size: .625rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--blue);
  padding: .3rem .6rem; border-radius: var(--r-pill);
}
.pillar__num i {
  font-style: normal; font-weight: 500; text-transform: none;
  letter-spacing: 0; color: var(--grey-400); margin-left: .4rem;
}

.carousel__dots { display: flex; justify-content: center; gap: .45rem; margin-top: var(--s-2); }
.carousel__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  border: none; background: var(--line); cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.carousel__dot.is-active { background: var(--blue); transform: scale(1.25); }

@media (min-width: 900px) {
  .carousel__slide { width: min(30vw, 360px); }
}
@media (max-width: 640px) {
  .carousel__head { display: none; }
}

/* ---------- 10. Bandeau secteurs ---------- */
.sector {
  display: flex; align-items: center; gap: var(--s-2);
  padding: var(--s-3);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.sector:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--sh-2); }
.sector > .ico { margin-left: auto; flex: 0 0 auto; color: var(--grey-400); transition: color .25s var(--ease), transform .25s var(--ease); }
.sector:hover > .ico { color: var(--blue); transform: translateX(3px); }
.sector__ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--r-sm);
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue);
}
.sector__ico svg { width: 22px; height: 22px; }
.sector__txt { display: block; }
.sector__txt b {
  display: block; font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-800);
}
.sector__txt em { display: block; font-style: normal; font-size: var(--fs-xs); color: var(--text-soft); }

/* ---------- 11. Bande de preuve ---------- */
.proof {
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.proof__item { padding-left: var(--s-2); border-left: 2px solid rgba(21, 172, 225, .35); }
.proof__item b {
  display: block; font-family: var(--font-display); font-size: 2.1rem;
  font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1.1;
}
.proof__item span { font-size: var(--fs-sm); color: var(--text-invert-soft); }

/* ---------- 12. Methode ---------- */
.steps { counter-reset: step; display: grid; gap: var(--s-3); }
.step { position: relative; padding-left: 3.75rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-200);
}
.step h3 { font-size: 1.0625rem; margin-bottom: .25rem; }
.step p { font-size: var(--fs-sm); color: var(--text-soft); }

.steps--ink .step::before {
  color: var(--cyan);
  background: rgba(21, 172, 225, .12);
  border-color: rgba(21, 172, 225, .35);
}
.steps--ink .step h3 { color: #fff; }
.steps--ink .step p { color: var(--text-invert-soft); }

/* ---------- 12 bis. Bloc en deux colonnes ---------- */
.split {
  display: grid; gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: center;
}
.split--top { align-items: start; }

.mock-note {
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .5);
  text-align: center;
}

/* ---------- 12 ter. Flux a double commande ---------- */
.flow { display: grid; gap: .5rem; }

.flow__doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-3);
  box-shadow: var(--sh-2);
}
.flow__doc--ledger { border-color: var(--blue-200); }

.flow__doc-head {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm);
  color: var(--ink-800);
  padding-bottom: .75rem; margin-bottom: .75rem;
  border-bottom: 1px solid var(--line-soft);
}
.flow__chip {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  font-size: .6875rem; font-weight: 700; color: #fff;
}
.flow__chip--blue { background: var(--blue); }
.flow__chip--cyan { background: var(--cyan); }

.flow__lines { display: grid; gap: .5rem; font-size: var(--fs-sm); }
.flow__lines span {
  display: flex; justify-content: space-between; gap: var(--s-2);
  color: var(--text-soft);
}
.flow__lines b { font-variant-numeric: tabular-nums; color: var(--ink-800); font-weight: 600; }
.flow__lines .is-total {
  padding-top: .5rem; margin-top: .1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-800); font-weight: 600;
}

.flow__arrow {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  color: var(--blue);
}
.flow__arrow em {
  font-style: normal; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.flow__arrow .ico { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge {
  0%, 70%, 100% { transform: translateY(0); }
  35% { transform: translateY(4px); }
}

.flow__ledger { display: grid; gap: .5rem; font-size: var(--fs-sm); }
.flow__ledger span {
  display: grid; grid-template-columns: 3.2rem 1fr auto 1.4rem;
  align-items: center; gap: .6rem; color: var(--text-soft);
}
.flow__ledger i {
  font-style: normal; font-family: var(--font-display); font-size: var(--fs-xs);
  font-weight: 700; color: var(--blue);
  background: var(--blue-50); border-radius: 5px;
  padding: .15rem .35rem; text-align: center;
}
.flow__ledger b { font-variant-numeric: tabular-nums; color: var(--ink-800); font-weight: 600; }
.flow__ledger u {
  text-decoration: none; font-size: .6875rem; font-weight: 700;
  color: var(--grey-400); text-align: center;
}
.flow__note {
  margin-top: .9rem; padding-top: .75rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-xs); color: var(--text-soft);
}

/* ---------- 13. Appel a l'action ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  background: var(--blue);
  color: #fff;
}
.cta-band::after {
  content: ''; position: absolute; right: -8%; top: -40%;
  width: 460px; height: 460px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 58ch; margin-top: var(--s-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

/* ---------- 13 bis. Banniere de page interieure ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--ink-900);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3.5vw, 4rem);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ink-800);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero__title { font-size: var(--fs-h1); color: #fff; }
.page-hero__lead { font-size: var(--fs-lead); color: var(--text-invert-soft); max-width: 62ch; margin-top: var(--s-2); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  font-size: var(--fs-xs); color: var(--text-invert-soft);
  margin-bottom: var(--s-2);
}
.crumbs a { color: var(--cyan); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .45; }

.e404-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2);
  margin-top: var(--s-5); padding-top: var(--s-3);
  border-top: 1px solid var(--line-invert);
  font-size: var(--fs-sm);
}
.e404-links a { color: var(--cyan); }
.e404-links a:hover { text-decoration: underline; }

/* Encart d'information honnete, utilise pour les pages sans contenu definitif */
.notice {
  border: 1px dashed var(--blue-200);
  background: var(--blue-50);
  border-radius: var(--r-md);
  padding: var(--s-4);
}
.notice h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.notice p { color: var(--text-soft); max-width: 66ch; }

/* ---------- 13 ter. Formulaires ---------- */
.form { display: grid; gap: var(--s-2); }
.form__row { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: .4rem; }
.field > label {
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .04em; color: var(--grey-800);
}
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem;
  background: #fff; color: var(--ink-800);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  /* 16px minimum : en dessous, Safari iOS zoome automatiquement sur le champ
     au moment du focus, ce qui casse la mise en page tant qu'on ne dezoome pas. */
  font-size: max(16px, var(--fs-body));
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 99, 198, .14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey-400); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.checks { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.check {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: var(--fs-sm); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.check:hover { border-color: var(--blue-200); background: var(--blue-50); }
.check input { width: 17px; height: 17px; accent-color: var(--blue); flex: 0 0 auto; }

/* Etape 0 du devis : cartes d'interet, plus grandes, avec icone et description */
.checks--interest { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.check--interest { align-items: flex-start; padding: var(--s-2) var(--s-2); gap: .8rem; }
.check--interest input { margin-top: .15rem; }
.check--interest__ico {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
}
.check--interest__text { display: flex; flex-direction: column; gap: .15rem; }
.check--interest__text b { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--ink-800); }
.check--interest__text em { font-style: normal; font-size: var(--fs-xs); color: var(--text-soft); }
.check--interest:has(input:checked) .check--interest__ico { background: var(--blue); color: #fff; }

.alert {
  padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
  font-size: var(--fs-sm); border: 1px solid;
}
.alert--ok   { background: #EAF7F1; border-color: #A9DCC5; color: #14603F; }
.alert--err  { background: #FDEEEE; border-color: #F0BDBD; color: #8C1F1F; }

/* ---------- 13 quinquies. Demande de devis ---------- */
.quote {
  display: grid; gap: var(--s-5);
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
}
.quote__time { font-size: var(--fs-xs); color: var(--text-soft); margin-bottom: var(--s-3); }

/* Progression, visible seulement quand le JavaScript est actif */
.stepper { margin-bottom: var(--s-2); }
.stepper__label {
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-soft); margin-bottom: .5rem;
}
.stepper__label b { color: var(--blue); }
.stepper__label span { color: var(--ink-800); }
.stepper__label span::before { content: '. '; color: var(--grey-400); }
.stepper__bar { height: 4px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.stepper__bar span {
  display: block; height: 100%; width: 25%;
  background: var(--blue);
  border-radius: 2px; transition: width .4s var(--ease);
}

.qstep { display: grid; gap: var(--s-2); border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; }
.qstep[hidden] { display: none; }
.qstep__title {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  color: var(--ink-800); padding: 0; margin-bottom: .4rem;
}
.qstep__lead { font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: var(--s-3); }

.field__group-title {
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .04em; color: var(--grey-800);
  margin: var(--s-3) 0 .6rem;
}
.field__hint { font-size: var(--fs-xs); color: var(--text-soft); }

/* Compteurs d'équipements */
.counts { display: grid; gap: .6rem; }
.count {
  display: flex; align-items: center; gap: var(--s-2);
  padding: .55rem .9rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff;
  transition: border-color .2s var(--ease);
}
.count:focus-within { border-color: var(--blue); }
.count__label { flex: 1; font-size: var(--fs-sm); color: var(--grey-800); }
.count__input {
  flex: 0 0 88px; width: 88px; text-align: center;
  padding: .5rem; font-weight: 600;
  border: 1px solid var(--line); border-radius: 6px; background: var(--mist);
}
.count__input:focus { outline: none; border-color: var(--blue); background: #fff; }

.counts__total {
  margin-top: var(--s-2); padding: .8rem 1rem;
  background: var(--blue-50); border: 1px solid var(--blue-200);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--blue-700);
}
.counts__total b { font-family: var(--font-display); font-size: 1.25rem; color: var(--blue); }

.checks--goals { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }

.qnav { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* Panneau de recommandation */
.reco {
  position: sticky; top: 96px;
  padding: var(--s-3);
  background: var(--ink-800); color: var(--text-invert-soft);
  border-radius: var(--r-md);
}
.reco .eyebrow { color: var(--cyan); }
.reco__empty { font-size: var(--fs-sm); color: var(--text-invert-soft); }
.reco__list { display: grid; gap: .7rem; margin-top: .5rem; }
.reco__list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: var(--fs-sm); color: #fff; line-height: 1.5;
}
.reco__list li::before {
  content: ''; flex: 0 0 auto;
  width: 7px; height: 7px; margin-top: .5rem; border-radius: 50%;
  background: var(--cyan);
}
.reco__note {
  margin-top: var(--s-3); padding-top: var(--s-2);
  border-top: 1px solid var(--line-invert);
  font-size: var(--fs-xs); color: var(--text-invert-soft);
}

@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; }
  .reco { position: static; }
}

.contact-aside { display: grid; gap: var(--s-3); align-content: start; }
.contact-aside .card__text a { color: var(--blue); }
.contact-aside .card__text a:hover { text-decoration: underline; }

/* ---------- 13 quater. Articles ---------- */
.article { max-width: 760px; }
.article__date {
  font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: .5rem;
}
.article__cover {
  width: 100%; border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  margin: var(--s-3) 0 var(--s-4);
}
.card__cover {
  width: calc(100% + 2 * var(--s-3)); height: 180px; object-fit: cover;
  margin: calc(-1 * var(--s-3)) calc(-1 * var(--s-3)) var(--s-3);
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--mist);
}

/* Corps de texte long, lu essentiellement au telephone */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--grey-800); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--fs-h2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--fs-h3); margin-top: 2rem; }
.prose ul { display: grid; gap: .55rem; padding-left: 1.35rem; list-style: disc; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-700); }
.prose blockquote {
  border-left: 3px solid var(--cyan); padding: .35rem 0 .35rem 1.15rem;
  font-size: 1.15rem; color: var(--ink-800);
}
.prose strong { color: var(--ink-800); }

/* ---------- 14. Pied de page ---------- */
.site-footer { background: var(--ink-900); color: var(--text-invert-soft); padding-top: var(--s-7); }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer__grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: minmax(260px, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
}
.footer__title {
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-2);
}
.footer__list { display: grid; gap: .55rem; font-size: var(--fs-sm); }
.footer__list a { color: var(--text-invert-soft); transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--cyan); }
.footer__contact { display: grid; gap: .6rem; font-size: var(--fs-sm); margin-top: var(--s-3); }
.footer__contact div { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: .25rem; color: var(--cyan); }
.socials { display: flex; gap: .5rem; margin-top: var(--s-3); }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-invert); color: #fff;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

.footer__bottom {
  margin-top: var(--s-6); padding-block: var(--s-3);
  border-top: 1px solid var(--line-invert);
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.footer__legal a:hover { color: var(--cyan); }

/* ---------- 15. Retour en haut ---------- */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-700); }

/* ---------- 14 ter. Nomenclature du parc equipable ---------- */
.asset-groups { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.asset-group__label {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--blue);
  margin-bottom: .7rem;
}
.asset-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.asset-chip {
  padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: var(--fs-sm); color: var(--ink-800); background: #fff;
}

/* ---------- 14 quater. Page Impression 3D ---------- */
.p3d-stats { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin-top: var(--s-4); }
.p3d-stat b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem; letter-spacing: -.02em; color: var(--blue);
}
.p3d-stat span { display: block; font-size: var(--fs-sm); color: var(--text-soft); margin-top: .25rem; }

.p3d-photo { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line-soft); }

.compare { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: var(--s-4); }
.compare__col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); }
.compare__col--isit { border-color: var(--blue); border-width: 2px; }
.compare__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--ink-800); margin-bottom: var(--s-3); }
.compare__list { list-style: none; padding: 0; display: grid; gap: .8rem; }
.compare__list li { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); color: var(--text); }
.compare__dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--grey-400, #94A0BC); margin-top: .4rem; }
.compare__check {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue);
}
.compare__note { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--text-soft); max-width: 62ch; }

.p3d-gallery { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.p3d-gallery__item { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); background: #fff; }
.p3d-gallery__item img { width: 100%; height: 220px; object-fit: cover; display: block; }

/* ---------- 14 quinquies. Page QHSE 360 ---------- */
.q360-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-3); }
.q360-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: var(--fs-sm); color: var(--ink-800); background: #fff;
}
.q360-chip .ico { color: var(--blue); }

/* Cadre navigateur autour des captures d'ecran */
.q360-browser { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-2); background: #fff; }
.q360-browser__bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .6rem .9rem; background: var(--mist); border-bottom: 1px solid var(--line-soft);
}
.q360-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-400, #94A0BC); opacity: .55; }
.q360-browser__bar b {
  margin-left: .6rem; font-family: var(--font-body); font-weight: 400;
  font-size: .75rem; color: var(--text-soft); letter-spacing: .02em;
}
.q360-browser img { display: block; width: 100%; height: auto; }

/* Capture mobile, cadree et contenue */
.q360-phone { margin: 0; display: flex; justify-content: center; }
.q360-phone img {
  width: min(100%, 320px); height: auto; border-radius: 28px;
  border: 1px solid var(--line); box-shadow: var(--sh-2);
}

/* Encadre certification */
.q360-cert { border-left: 3px solid var(--blue); padding: .25rem 0 .25rem var(--s-3); }
.q360-cert__title { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--ink-800); }
.q360-cert__lead { font-size: var(--fs-sm); color: var(--text); margin-top: .5rem; }
.q360-cert__note { font-size: var(--fs-xs); color: var(--text-soft); margin-top: .6rem; }

/* Accordeon questions-reponses, sans JavaScript */
.faq { max-width: 760px; display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq__item[open] { border-color: var(--blue-200); box-shadow: var(--sh-1, 0 2px 10px -6px rgba(20,24,62,.18)); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: 1.05rem var(--s-3); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink-800);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--blue); }
.faq__chev { flex: 0 0 auto; color: var(--blue); transition: transform .3s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 var(--s-3) 1.15rem; font-size: var(--fs-sm); color: var(--text); max-width: 65ch; }

/* Offres QHSE 360 */
.q360-offer--star { border: 2px solid var(--blue); box-shadow: var(--sh-2); }
.q360-note {
  margin-top: var(--s-3); max-width: 72ch; font-size: var(--fs-sm); color: var(--text-soft);
  border-left: 3px solid var(--blue); padding-left: var(--s-2);
}
.q360-chain { list-style: none; counter-reset: q360c; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; }
.q360-chain li {
  counter-increment: q360c; position: relative;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  padding: .5rem 1rem .5rem 2.3rem;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm); color: var(--ink-800);
}
.q360-chain li::before {
  content: counter(q360c);
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  font-size: .75rem; font-weight: 700; color: var(--blue);
}

/* Vignette d'apercu en tete des cartes du carrousel */
.pillar__media {
  display: block; margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-3)) var(--s-3);
  border-bottom: 1px solid var(--line-soft); background: var(--mist);
}
.pillar__media img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: top; }

/* ---------- 15 bis. Widget WhatsApp ---------- */
/* Cote oppose du bouton "retour en haut" pour ne jamais les superposer,
   et toujours visible (pas de seuil de defilement) : c'est un canal de
   contact, pas un confort de lecture. */
.wa-float {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  box-shadow: var(--sh-2);
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.wa-float:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: var(--sh-3); }

/* ---------- 16. Reveal a l'entree ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 16 bis. Barre d'action fixe sur mobile ---------- */
/* Le site est consulte majoritairement au telephone : le bouton de prise de
   rendez-vous doit rester accessible sans avoir a remonter en haut de page. */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -12px rgba(20, 24, 62, .3);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta__row { display: flex; align-items: center; gap: .6rem; }
.mobile-cta .btn { flex: 1; min-height: 48px; }
.mobile-cta__call {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--blue); background: #fff;
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .mega { width: min(100vw - 3rem, 700px); }
  .mega__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: flex; }

  /* Menu plein ecran : plus lisible et plus facile a viser au pouce */
  .nav__list {
    position: fixed; inset: 68px 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    padding: var(--s-2) 1.25rem calc(var(--s-5) + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .nav__list.is-open { display: flex; }
  .nav__link {
    padding: 1rem .25rem; font-size: 1.0625rem; min-height: 52px;
    border-bottom: 1px solid var(--line-soft); border-radius: 0;
    justify-content: space-between;
  }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: transparent; }
  .mega {
    position: static; transform: none; width: 100%;
    box-shadow: none; border: none; border-radius: 0;
    padding: .25rem 0 var(--s-2) .25rem;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav__item.is-open .mega { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 0; }
  .mega__link { padding: .85rem .75rem; min-height: 52px; }
  .mega__foot { display: none; }
  .nav__actions .btn { display: none; }

  .nav { min-height: 68px; }
  .site-header { border-bottom: 1px solid var(--line-soft); }

  .mobile-cta { display: block; }
  body { padding-bottom: 74px; }
  .to-top { bottom: 86px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { gap: var(--s-5); }
}

@media (max-width: 640px) {
  .brand__sub { display: none; }
  .brand__mark { font-size: 1.375rem; }

  /* Le tableau de bord reste lisible sans rogner le texte */
  .mock__kpis { grid-template-columns: 1fr 1fr; }
  .mock__kpi:last-child { grid-column: span 2; }
  .mock__row { font-size: .8125rem; }

  .hero__stats { flex-direction: column; gap: var(--s-2); }
  .hero__stat { display: flex; align-items: baseline; gap: .6rem; }
  .hero__stat b { font-size: 1.4rem; }
  .hero__cta .btn { width: 100%; }

  .benefit__head { flex-wrap: wrap; }
  .pain { padding-left: var(--s-2); }

  .flow__ledger span { grid-template-columns: 2.9rem 1fr auto; }
  .flow__ledger u { display: none; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 1rem; }

  /* Toute cible tactile fait au moins 44 px de haut.
     Le texte peut passer a la ligne : certains libelles sont longs et
     depasseraient de l'ecran avec white-space: nowrap. */
  .btn { min-height: 46px; white-space: normal; text-align: center; }
  .link-arrow { min-height: 44px; align-items: center; }
  .socials a { width: 44px; height: 44px; }
  .field input, .field textarea, .field select { padding: .95rem 1rem; }
  .check { min-height: 48px; }
}

/* ---------- 18. Impression ---------- */
@media print {
  .site-header, .to-top, .cta-band, .site-footer { display: none; }
  body { color: #000; }
}
