/* ==========================================================================
   EcoludiK — feuille de style du site
   Charte web « déclinaison sombre » : sauge / teal / lime sur fond profond.
   ========================================================================== */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Couleurs de la charte */
  --forest: #0e403f;      /* teal principal */
  --deep: #082b2a;        /* fond */
  --sage: #6b8264;        /* sauge */
  --lime: #84cc16;        /* accent */
  --lime-hover: #a0e13f;
  --lime-soft: #b9e67b;   /* surlignage H1 */
  --on-lime: #173518;
  --paper: #f5f7f1;       /* papier */
  --ink: #193e37;         /* texte sur papier */
  --muted: #52645e;       /* texte atténué sur papier */
  --border: #d6e0d7;      /* bordure claire */
  --h2-accent: #466647;
  --sage-mist: #ecf1e9;
  --text-light: #d0dfd2;
  --text-light-2: #c4d6c9;
  --line-dark: #d8f4df22;
  --deeper: #06211f;

  /* Formes */
  --radius: 24px;
  --radius-btn: 10px;
  --radius-card-sm: 8px;
  --radius-card-lg: 26px;
  --shadow-sm: 0 5px 18px #07282112;
  --shadow-lg: 0 30px 80px #00000022;
  --shadow-deep: 18px 24px 45px #031c2b80;

  /* Mise en page */
  --container: 1192px;
  --header-h: 128px;
  --gutter: 24px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--deep); color: var(--text-light);
  font-family: var(--font); font-size: 17px; line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: #fff; font-weight: 750; }
h3 { font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1.3; }
h4 { font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.35; }
strong { font-weight: 700; color: #fff; }
::selection { background: var(--lime-soft); color: var(--on-lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--on-lime); padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 750; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--lime-soft); margin-bottom: 18px; }
.h1, h1 { font-size: clamp(2.65rem, 1.4rem + 3.6vw, 4.55rem); line-height: 1.08; letter-spacing: -0.065em; font-weight: 750; }
.h2, h2 { font-size: clamp(2rem, 1.35rem + 1.9vw, 3rem); line-height: 1.08; letter-spacing: -0.055em; font-weight: 750; }
h1 mark, .h1 mark { background: var(--lime); color: var(--on-lime); border-radius: var(--radius-card-sm); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2 em, .h2 em { font-style: normal; color: var(--lime-soft); }
.lead { font-size: 18px; color: var(--text-light-2); max-width: 36em; }
.muted { color: var(--text-light-2); }
.small { font-size: 14px; line-height: 1.6; }
.note { font-size: 13px; line-height: 1.6; color: var(--text-light-2); opacity: .85; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font); font-size: 14px; font-weight: 750; line-height: 1; padding: 16px 24px; border-radius: var(--radius-btn); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; white-space: nowrap; }
.btn:hover { transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 1px)); }
.btn--primary { transform: translate(var(--mx, 0px), var(--my, 0px)); transition: background-color .18s ease, border-color .18s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--lime); color: var(--on-lime); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--lime-hover); }
.btn--outline { background: #ffffff04; color: var(--text-light); border-color: #d8f4df44; }
.btn--outline:hover { border-color: var(--lime-soft); color: #fff; }
.btn--secondary { background: var(--sage-mist); color: var(--forest); }
.btn--secondary:hover { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 15px; color: var(--lime-soft); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--deep) 88%, transparent); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-dark); transition: height .2s ease; }
.site-header .wrap { height: var(--header-h); display: flex; flex-wrap: nowrap; align-items: center; gap: 28px; transition: height .25s ease; }
.site-header.is-scrolled .wrap { height: 84px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; flex: none; }
.logo img { height: 56px; width: auto; transition: height .25s ease; }
.site-header.is-scrolled .logo img { height: 44px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 10px 12px; border-radius: var(--radius-btn); font-size: 15px; font-weight: 650; color: var(--text-light); text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav__link:hover, .nav__item:focus-within > .nav__link { color: #fff; background: #ffffff0a; }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--lime-soft); }
.nav__link .chev { width: 10px; height: 10px; transition: transform .2s ease; }
.nav__item { position: relative; }
.nav__sub { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: 560px; padding: 12px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--forest); border: 1px solid var(--line-dark); border-radius: 18px; box-shadow: var(--shadow-deep); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:hover .chev, .nav__item.is-open .chev { transform: rotate(180deg); }
.nav__sub a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: #ffffff0d; }
.nav__sub b { display: block; color: #fff; font-size: 15px; font-weight: 750; line-height: 1.3; }
.nav__sub span { display: block; font-size: 13px; line-height: 1.45; color: var(--text-light-2); margin-top: 3px; }
.header-cta { flex: none; }
.nav__mobile-cta { display: none; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--radius-btn); border: 1px solid #d8f4df44; background: #ffffff04; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--forest { background: var(--forest); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4, .section--paper strong { color: var(--ink); }
.section--paper h2 em { color: var(--h2-accent); }
.section--paper .eyebrow { color: var(--h2-accent); }
.section--paper .lead, .section--paper .muted, .section--paper .note { color: var(--muted); }
.section--paper .link-arrow { color: var(--h2-accent); }
.section--line { border-top: 1px solid var(--line-dark); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 20px; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 90px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.17fr 0.83fr; gap: 60px; align-items: center; }
.hero .lead { margin-top: 28px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--text-light-2); }
.hero__proof img { height: 64px; width: auto; }
.hero__proof b { color: #fff; font-weight: 750; display: block; }
.hero__visual { position: relative; }
.hero__photo { border-radius: var(--radius-card-lg); overflow: hidden; box-shadow: var(--shadow-deep); aspect-ratio: 4 / 4.6; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__float { position: absolute; left: -64px; bottom: -34px; width: 58%; filter: drop-shadow(0 30px 40px #0008); }
.hero__chip { position: absolute; right: -18px; top: 34px; background: var(--forest); border: 1px solid var(--line-dark); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-deep); font-size: 13px; line-height: 1.4; color: var(--text-light-2); }
.hero__chip b { display: block; color: #fff; font-size: 15px; }
.hero__chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; box-shadow: 0 0 0 4px #84cc1633; }


/* ---------- Scène d'accueil animée au défilement ---------- */
.scene { position: relative; }
.scene__sticky { position: relative; }
.scene__grid { display: grid; grid-template-columns: 1.17fr 0.83fr; gap: 60px; align-items: center; padding-top: 72px; padding-bottom: 90px; position: relative; z-index: 2; }
.scene__text .lead { margin-top: 28px; }
.scene__slot { border-radius: var(--radius-card-lg); overflow: hidden; box-shadow: var(--shadow-deep); aspect-ratio: 4 / 4.6; }
.scene__slot img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.scene__media, .scene__screen, .scene__chip, .scene__hint { display: none; }

/* Mode animé (activé par le JS sur grand écran, sauf « réduire les animations ») */
.scene--on { height: 260vh; margin-top: calc(-1 * var(--header-h)); }
.scene--on .scene__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.scene--on .scene__grid { width: 100%; padding-top: calc(var(--header-h) - 20px); padding-bottom: 0; }
.scene--on .scene__slot { aspect-ratio: auto; height: min(68vh, 640px); box-shadow: none; background: none; }
.scene--on .scene__slot img { visibility: hidden; }
.scene--on .scene__media { display: block; position: absolute; inset: 0; z-index: 1; overflow: hidden;
  clip-path: inset(var(--ct, 0px) var(--cr, 0px) var(--cb, 0px) var(--cl, 0px) round var(--crad, 0px)); will-change: clip-path; }
.scene--on .scene__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%;
  transform: translate3d(var(--dx, 0px), 0, 0) scale(var(--zoom, 1)); transform-origin: 30% 55%; will-change: transform; }
.scene__veil { position: absolute; inset: 0; background: var(--deep); opacity: var(--veil, 0); }
.scene--on .scene__screen { display: block; position: absolute; z-index: 3; right: max(4vw, calc((100vw - var(--container)) / 2)); bottom: 7vh;
  width: clamp(210px, 21vw, 330px); height: auto; filter: drop-shadow(0 34px 44px #000a);
  opacity: var(--q, 0); transform: translate3d(0, calc((1 - var(--q, 0)) * 34vh), 0) rotate(calc((1 - var(--q, 0)) * 9deg)); will-change: transform, opacity; }
.scene--on .scene__chip { display: block; position: absolute; z-index: 3; right: calc(max(4vw, calc((100vw - var(--container)) / 2)) + clamp(170px, 17vw, 270px)); bottom: calc(7vh + clamp(190px, 19vw, 300px));
  background: var(--forest); border: 1px solid var(--line-dark); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-deep); font-size: 13px; line-height: 1.4; color: var(--text-light-2);
  opacity: var(--q2, 0); transform: translate3d(0, calc((1 - var(--q2, 0)) * 16px), 0) scale(calc(.92 + var(--q2, 0) * .08)); }
.scene__chip b { display: block; color: #fff; font-size: 15px; }
.scene__chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; box-shadow: 0 0 0 4px #84cc1633; }
.scene--on .scene__hint { display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 0 !important; gap: 0;
  font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light-2); opacity: calc(1 - var(--p, 0) * 5); pointer-events: none; }
.scene__hint span { width: 22px; height: 36px; border: 1.5px solid #d8f4df66; border-radius: 12px; position: relative; }
.scene__hint span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.scene--on .scene__text { transform: translate3d(0, calc(var(--p, 0) * -3vh), 0); }
.scene--on .scene__text .lead { color: #e2ece3; }
.scene--on h1 { font-size: clamp(2.65rem, 1.2rem + 3vw, 4.1rem); }
.scene--on .hero__proof { margin-top: 30px; padding-top: 22px; }
.scene--on .scene__text .lead { margin-top: 22px; }
@media (max-width: 1000px) {
  .scene__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 70px; }
  .scene__slot { aspect-ratio: 4 / 3; }
}

/* Hero intérieur */
.page-hero { padding: 64px 0 80px; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.page-hero .lead { margin-top: 24px; }
.page-hero__img { border-radius: var(--radius-card-lg); overflow: hidden; box-shadow: var(--shadow-deep); background: #fff; }
.page-hero__img--plain { background: none; }
.page-hero__img--plain { box-shadow: none; border-radius: 0; overflow: visible; }
.page-hero__img--plain img { filter: drop-shadow(0 30px 40px #0007); margin: 0 auto; max-height: 520px; width: auto; }
.breadcrumb { font-size: 13px; color: var(--text-light-2); margin-bottom: 26px; }
.breadcrumb a { color: var(--text-light-2); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { margin: 0 8px; opacity: .6; }

/* ---------- Bandeau logos ---------- */
.logos { padding: 44px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--deeper); }
.logos__title { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--text-light-2); margin-bottom: 26px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 44px; }
.logos__row img { height: 46px; width: auto; opacity: .8; transition: opacity .2s ease; }
.logos__row img:hover { opacity: 1; }
.logos__row img.tall { height: 64px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; }
.marquee__group img { height: 46px; width: auto; opacity: .8; transition: opacity .2s ease; }
.marquee__group img:hover { opacity: 1; }
.marquee__group img.tall { height: 64px; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 760px) { .marquee__group { gap: 40px; padding-right: 40px; } .marquee__group img { height: 36px; } .marquee__group img.tall { height: 50px; } .marquee__track { animation-duration: 28s; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; animation: none; justify-content: center; }
  .marquee__group { flex-wrap: wrap; justify-content: center; gap: 26px 44px; padding: 0 24px; flex: 1; }
  .marquee__group[aria-hidden] { display: none; }
}

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px; border-radius: var(--radius-card-lg); background: var(--forest); border: 1px solid var(--line-dark); }
.stat__value { display: block; font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.055em; line-height: 1.05; color: var(--lime); }
.stat__label { display: block; margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--text-light); }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--forest); border: 1px solid var(--line-dark); border-radius: var(--radius-card-lg); padding: 30px; box-shadow: var(--shadow-lg); position: relative; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-light-2); font-size: 16px; }
.section--forest .card { background: var(--deep); }
.section--paper .card { background: #fff; border-color: var(--border); box-shadow: var(--shadow-sm); }
.section--paper .card p { color: var(--muted); }
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--deeper); }
.card--media .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card--media .card__img--contain { background: var(--paper); }
.card--media .card__img--contain img { object-fit: contain; padding: 18px; }
.card--media .card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card--media .card__body .link-arrow { margin-top: auto; padding-top: 12px; }
a.card { text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
a.card:hover { transform: translateY(-4px); border-color: #d8f4df55; }
a.card:hover .card__img img { transform: scale(1.04); }
.tag { display: inline-flex; align-self: flex-start; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #84cc161f; color: var(--lime-soft); margin-bottom: 8px; }
.section--paper .tag { background: #46664714; color: var(--h2-accent); }
.num { display: inline-block; font-size: 15px; font-weight: 800; color: var(--lime); letter-spacing: .02em; margin-bottom: 14px; }
.section--paper .num { color: var(--h2-accent); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #84cc161f; color: var(--lime); margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; }
.section--paper .icon { background: #46664714; color: var(--h2-accent); }

/* ---------- Listes ---------- */
.checks { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23173518' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.section--paper .checks li::before { background-color: var(--lime); }
.specs { list-style: none; display: grid; gap: 6px; margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--text-light-2); }
.specs li { padding-left: 16px; position: relative; }
.specs li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--sage); }
.section--paper .specs { color: var(--muted); }

/* ---------- Blocs texte + image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--wide-img { grid-template-columns: .9fr 1.1fr; }
.split--reverse > :first-child { order: 2; }
.split .lead { margin-top: 20px; }
.media { border-radius: var(--radius-card-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media--plain { border-radius: 0; box-shadow: none; overflow: visible; }
.media--plain img { filter: drop-shadow(0 26px 36px #0006); }
.section--paper .media--plain img { filter: drop-shadow(0 20px 30px #07282122); }
.media--frame { background: var(--paper); padding: 24px; }
.media figcaption { font-size: 13px; color: var(--text-light-2); padding: 12px 4px 0; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { padding: 28px 26px; border-radius: var(--radius-card-lg); background: var(--deep); border: 1px solid var(--line-dark); }
.step__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 15px; margin-bottom: 20px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-light-2); }

/* ---------- Trois humeurs ---------- */
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mood { text-align: center; }
.mood img { width: 78%; margin: 0 auto 18px; filter: drop-shadow(0 22px 30px #0007); }
.mood h3 { font-size: 1.1rem; }
.mood p { font-size: 15px; color: var(--text-light-2); margin-top: 6px; }
.mood .pill { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

/* ---------- Citation / fait ---------- */
.fact { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 34px 36px; border-radius: var(--radius-card-lg); background: var(--deeper); border: 1px solid var(--line-dark); }
.fact__big { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--lime); }
.fact__big small { font-size: .4em; letter-spacing: -0.02em; color: var(--text-light-2); font-weight: 650; display: block; margin-top: 6px; }

/* ---------- Distinctions ---------- */
.awards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.award { display: grid; grid-template-columns: 130px 1fr; gap: 26px; align-items: center; padding: 28px; border-radius: var(--radius-card-lg); background: var(--forest); border: 1px solid var(--line-dark); }
.award img { width: 130px; height: 130px; object-fit: contain; }
.award .award__photo { border-radius: 16px; object-fit: cover; }
.award h3 { margin-bottom: 6px; }
.award p { font-size: 15px; color: var(--text-light-2); }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.person { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 22px; border-radius: var(--radius-card-lg); background: var(--forest); border: 1px solid var(--line-dark); }
.person img { width: 150px; height: 180px; object-fit: cover; border-radius: 18px; }
.person h3 { margin-bottom: 2px; }
.person .role { font-size: 14px; font-weight: 750; color: var(--lime-soft); }
.person p { font-size: 15px; color: var(--text-light-2); margin-top: 10px; }
.person__linkedin { display: inline-flex; align-items: center; margin-top: 12px; color: #0a66c2; text-decoration: none; }
.person__linkedin:hover { opacity: .8; }
.person__linkedin svg { width: 20px; height: 20px; flex: none; }

/* ---------- Produits ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { font-size: 14px; font-weight: 650; padding: 9px 16px; border-radius: 999px; border: 1px solid #d8f4df33; text-decoration: none; color: var(--text-light); transition: background .2s, border-color .2s; }
.chips a:hover { background: #ffffff0d; border-color: var(--lime-soft); color: #fff; }
.product-nav { position: sticky; top: 84px; z-index: 20; background: color-mix(in srgb, var(--deep) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); padding: 14px 0; }
.product-nav .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.product-nav .chips::-webkit-scrollbar { display: none; }
.product-nav .chips a { white-space: nowrap; }
.cat { padding: 96px 0 40px; }
.cat + .cat { border-top: 1px solid var(--line-dark); }
.cat__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.product { background: var(--forest); border: 1px solid var(--line-dark); border-radius: var(--radius-card-lg); overflow: hidden; display: flex; flex-direction: column; }
.product__img { background: #fff; height: 230px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.product__img img { max-height: 190px; width: auto; max-width: 100%; object-fit: contain; }
.product__body { padding: 22px 24px 26px; }
.product__body h3 { font-size: 1.1rem; }
.badge-mid { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--lime); color: var(--on-lime); margin-left: 6px; vertical-align: 2px; }

/* ---------- Bandeau CTA ---------- */
.cta { padding: 90px 0; }
.cta__box { position: relative; overflow: hidden; border-radius: 32px; background: var(--forest); border: 1px solid var(--line-dark); padding: 64px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; box-shadow: var(--shadow-deep); }
.cta__box::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: var(--sage); opacity: .22; }
.cta__box > * { position: relative; z-index: 1; }
.cta__box .lead { margin-top: 18px; }
.cta__list { list-style: none; display: grid; gap: 14px; }
.cta__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.cta__list b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; font-size: 13px; }

/* ---------- Gabarits à compléter ---------- */
.todo { border: 1.5px dashed #b9e67b66 !important; background: repeating-linear-gradient(135deg, #ffffff03 0 14px, #ffffff07 14px 28px) !important; box-shadow: none !important; }
.section--paper .todo-badge { background: #f5c34233 !important; color: #6b4e00 !important; }
.section--paper .todo { border-color: #46664766 !important; background: repeating-linear-gradient(135deg, #ffffff 0 14px, #f0f3ec 14px 28px) !important; }
.todo-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #f5c34220; color: #f5d27a; margin-bottom: 12px; }
.placeholder-img { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--deeper); color: var(--text-light-2); font-size: 13px; font-weight: 650; border-bottom: 1px dashed #b9e67b44; text-align: center; padding: 16px; }
.quote { font-size: 1.15rem; line-height: 1.6; color: #fff; font-weight: 500; margin: 0 0 22px; }
.quote-by { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-light-2); }
.quote-by i { width: 44px; height: 44px; border-radius: 50%; background: var(--deeper); border: 1px dashed #b9e67b55; flex: none; }
.fill { color: #f5d27a; font-style: normal; }

/* ---------- Formulaire ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.field .req { color: var(--lime-soft); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15.5px; color: #fff; background: var(--deep); border: 1px solid #d8f4df33; border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23b9e67b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #c4d6c988; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px #84cc1633; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field .check input { width: 18px; height: 18px; padding: 0; border-radius: 4px; box-shadow: none; }
.checkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text-light); cursor: pointer; padding: 12px 14px; border: 1px solid #d8f4df22; border-radius: 12px; background: var(--deep); }
.check input { width: 18px; height: 18px; accent-color: var(--lime); margin: 1px 0 0; flex: none; }
.field label.check, label.check { display: flex; align-items: center; font-weight: 500; margin: 0; color: var(--text-light); font-size: 15px; }
.check--plain { border: 0; background: none; padding: 0; font-size: 14px !important; color: var(--text-light-2) !important; align-items: flex-start !important; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: #84cc161f; color: var(--lime-soft); font-weight: 650; }
.form-status.is-visible { display: block; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.contact-aside { display: grid; gap: 20px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.contact-line .icon { margin: 0; width: 42px; height: 42px; flex: none; }
.contact-line b { display: block; color: #fff; }

/* ---------- Texte long (mentions, article) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.04em; margin: 48px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { color: var(--text-light-2); }
.prose ul { padding-left: 20px; margin-bottom: 1em; }
.prose a { color: var(--lime-soft); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--deeper); border-top: 1px solid var(--line-dark); padding: 80px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--lime-soft); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--text-light-2); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { height: 64px; }
.footer-about { color: var(--text-light-2); margin-top: 20px; max-width: 30em; font-size: 14.5px; line-height: 1.65; }
.footer-awards { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.footer-awards img { height: 58px; width: auto; }
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; color: #0a66c2; transition: opacity .2s ease, transform .2s ease; }
.footer-social a[aria-label*="YouTube"] { color: #ff0000; }
.footer-social a:hover { opacity: .75; transform: translateY(-2px); }
.footer-social svg { width: 24px; height: 24px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--text-light-2); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }


/* ==========================================================================
   Effets dynamiques
   ========================================================================== */

/* Titres : les mots montent un à un, le surlignage lime se « peint » */
.wsplit .w { display: inline-block; opacity: 0; transform: translate3d(0, .38em, 0); transition: opacity .6s ease, transform .75s cubic-bezier(.2,.75,.2,1); transition-delay: calc(var(--i, 0) * 55ms); }
.wsplit.is-in .w { opacity: 1; transform: none; }
.wsplit mark { background-color: transparent; background-image: linear-gradient(var(--lime-soft), var(--lime-soft)); background-repeat: no-repeat; background-size: 0% 100%; color: #fff;
  transition: background-size .8s cubic-bezier(.65,0,.25,1) var(--mark-delay, .4s), color .3s ease calc(var(--mark-delay, .4s) + .55s); }
.wsplit.is-in mark { background-size: 100% 100%; color: var(--on-lime); }

/* Chiffres qui défilent */
[data-count] { font-variant-numeric: tabular-nums; }

/* Mini tableau de bord animé */
.dash { margin: 0; background: var(--deep); border: 1px solid var(--line-dark); border-radius: var(--radius-card-lg); padding: 26px 26px 18px; box-shadow: var(--shadow-deep); }
.dash__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dash__label { display: block; font-size: 12.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light-2); }
.dash__big { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.05em; color: #fff; line-height: 1.15; font-variant-numeric: tabular-nums; }
.dash__live { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 750; color: var(--lime-soft); padding: 6px 12px; border-radius: 999px; background: #84cc161a; }
.dash__live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 0 #84cc1666; } 50% { box-shadow: 0 0 0 6px #84cc1600; } }
.dash__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 20px; }
.dash__tile { background: var(--forest); border-radius: 14px; padding: 12px 14px; font-size: 12.5px; color: var(--text-light-2); display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.dash__tile svg { width: 16px; height: 16px; color: var(--lime); grid-row: span 2; }
.dash__tile b { color: #fff; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.dash__chart { position: relative; height: 170px; padding-top: 18px; }
.dash__bars { position: absolute; inset: 18px 0 22px 0; display: flex; align-items: flex-end; gap: 2px; }
.dash__bar { flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: default; }
.dash__bar i { display: block; width: 100%; border-radius: 4px 4px 1px 1px; background: var(--lime-soft); transform-origin: bottom; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.8,.2,1), background-color .2s; transition-delay: calc(var(--i) * 35ms); }
.dash__bar.is-night i { background: #f0a58f; }
.dash__bar:hover i { background: #fff; }
.dash.is-in .dash__bar i { transform: scaleY(1); }
.dash__night { position: absolute; left: 0; top: 0; width: calc(6 / 24 * 100%); height: calc(100% - 22px); border: 1.5px dashed #f0a58f88; border-radius: 10px; opacity: 0; transition: opacity .5s ease 1.3s; }
.dash__night span { position: absolute; left: 8px; top: 4px; font-size: 11px; font-weight: 750; color: #f0a58f; white-space: nowrap; }
.dash.is-in .dash__night { opacity: 1; }
.dash__axis { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: 11px; color: var(--text-light-2); }
.dash__tip { position: absolute; z-index: 2; transform: translate(-50%, -100%); background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-sm); }
.dash__alert { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: #e06a4f1f; color: #f6c7ba; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease 1.6s, transform .5s ease 1.6s; }
.dash__alert b { color: #fff; }
.dash__alert-ico { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e06a4f; color: #fff; font-weight: 800; font-size: 14px; animation: alert 1.8s ease-in-out 2.2s infinite; }
@keyframes alert { 0%, 100% { box-shadow: 0 0 0 0 #e06a4f80; } 50% { box-shadow: 0 0 0 7px #e06a4f00; } }
.dash.is-in .dash__alert { opacity: 1; transform: none; }
.dash figcaption { margin-top: 12px; font-size: 12px; color: var(--text-light-2); opacity: .75; }

/* EKO change d'humeur au défilement */
.mood-scroll { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.mood-scroll__stage { position: sticky; top: calc(50vh - 210px); height: 420px; display: grid; place-items: center; }
.mood-scroll__screen { position: relative; width: min(100%, 400px); aspect-ratio: 1; }
.mood-scroll__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.94) rotate(-3deg); transition: opacity .12s linear, transform .12s linear; filter: drop-shadow(0 30px 40px #0008); }
.mood-scroll__img.is-on { opacity: 1; transform: none; }
.mood-scroll__steps { display: grid; }
.mood-step { min-height: 75vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .12s linear; }
.mood-step.is-active { opacity: 1; }
.mood-step__img { display: none; }
.mood-step__n { font-size: 15px; font-weight: 800; color: var(--lime); margin-bottom: 10px; }
.mood-step h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); letter-spacing: -0.05em; }
.mood-step p { font-size: 17px; color: var(--text-light-2); max-width: 28em; margin-top: 10px; }
.mood-step .pill { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 12px; vertical-align: 4px; }

/* Transitions douces entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: entete; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 760px) {
  .mood-scroll { grid-template-columns: 1fr; gap: 0; }
  .mood-scroll__stage { display: none; }
  .mood-step { min-height: 0; opacity: 1; padding: 22px 0; }
  .mood-step__img { display: block; width: 62%; margin: 0 auto 16px; }
  .mood-step__img img { filter: drop-shadow(0 22px 30px #0007); }
  .dash { padding: 20px 16px 14px; }
  .dash__tiles { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .dash__tile { padding: 10px; font-size: 11.5px; grid-template-columns: 1fr; }
  .dash__tile svg { grid-row: auto; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .wsplit .w { opacity: 1; transform: none; }
  .wsplit mark { background-size: 100% 100%; color: var(--on-lime); }
  .dash__bar i { transform: none; }
  .dash__night, .dash__alert { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}


/* Vidéos (chargées seulement au clic : pas de cookie YouTube avant lecture) */
.video { margin: 0; }
.video__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-card-lg); overflow: hidden; cursor: pointer; background: var(--deeper); box-shadow: var(--shadow-deep); font: inherit; color: #fff; text-align: left; }
.video__play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video__play:hover img { transform: scale(1.04); }
.video__veil { position: absolute; inset: 0; background: var(--deep); opacity: .45; transition: opacity .3s ease; }
.video__play:hover .video__veil { opacity: .3; }
.video__btn { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; box-shadow: 0 0 0 0 #84cc1666; animation: live 2s ease-in-out infinite; transition: transform .25s ease; }
.video__btn svg { width: 30px; height: 30px; margin-left: 4px; }
.video__play:hover .video__btn { transform: scale(1.08); }
.video__txt { position: absolute; left: 24px; right: 24px; bottom: 20px; }
.video__txt b { display: block; font-size: 1.2rem; font-weight: 750; letter-spacing: -0.02em; }
.video__txt span { font-size: 14px; color: #e2ece3; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-card-lg); background: #000; box-shadow: var(--shadow-deep); }
.video figcaption { margin-top: 10px; font-size: 13px; }
.video figcaption a { color: var(--text-light-2); }
.section--paper .video figcaption a { color: var(--muted); }

/* Bandeau de mots-clés défilant */
.kwband { background: var(--lime); color: var(--on-lime); padding: 8px 0; overflow: hidden; }
.kwband .marquee { -webkit-mask-image: none; mask-image: none; }
.kwband .marquee__track { animation-duration: 36s; }
.kwband__group { display: flex; align-items: center; flex: none; }
.kwband__group span { font-size: 14px; font-weight: 750; letter-spacing: .02em; white-space: nowrap; padding: 0 22px; position: relative; }
.kwband__group span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--forest); opacity: .7; }
@media (prefers-reduced-motion: reduce) {
  .kwband .marquee__track { animation: none; }
  .kwband__group { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .kwband__group[aria-hidden] { display: none; }
  .video__btn { animation: none; }
}


/* Les 3 axes : cartes qui s'empilent au défilement */
.stack { position: relative; display: grid; gap: 40px; }
.stack__card { position: sticky; top: calc(var(--header-h) + 28px + var(--k) * 22px); display: grid; grid-template-columns: 1.05fr .95fr; min-height: 470px;
  background: var(--forest); color: var(--text-light); border-radius: 32px; overflow: hidden; box-shadow: 0 -6px 30px #07282118, var(--shadow-lg);
  transform-origin: 50% 0; transform: scale(var(--sc, 1)); will-change: transform; }
.stack__card::after { content: ""; position: absolute; inset: 0; background: var(--deep); opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }
.site-header.is-scrolled ~ main .stack__card { top: calc(84px + 28px + var(--k) * 22px); }
.stack__text { padding: 48px 48px 44px; display: flex; flex-direction: column; }
.stack__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.stack__n { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--lime); }
.section--paper .stack__card .tag { background: #84cc161f; color: var(--lime-soft); }
.section--paper .stack__card h3 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.4rem); letter-spacing: -0.05em; line-height: 1.1; }
.stack__card p { color: var(--text-light-2); margin-top: 14px; font-size: 16.5px; }
.section--paper .stack__card .checks li { color: var(--text-light); font-size: 15px; }
.stack__fact { margin-top: auto; padding-top: 26px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); margin-top: 28px; }
.stack__fact b { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.05em; color: var(--lime); line-height: 1; }
.stack__fact > span { font-size: 14.5px; color: var(--text-light-2); }
.stack__img { position: relative; overflow: hidden; }
.stack__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zm, 1.08)); transition: transform .2s linear; }
.stack__img--light { background: #fff; }
.stack__img--light img { object-fit: contain; padding: 28px; }
@media (max-width: 1000px) {
  .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--header-h) + 16px + var(--k) * 14px); }
  .stack__img { order: -1; height: 220px; }
  .stack__text { padding: 28px 24px 26px; }
  .stack__n { font-size: 2.4rem; }
  .stack__card .checks { display: none; }
}
@media (max-width: 420px) { .stack__img { height: 170px; } .stack__card p { font-size: 15.5px; } }
@media (prefers-reduced-motion: reduce) { .stack__card { transform: none; } .stack__card::after { display: none; } }


/* Les 3 axes : titre écrit au défilement + repères */
.axes { padding-top: 90px; }
.axes__head { position: sticky; top: calc(var(--header-h) - 1px); z-index: 5; background: var(--paper); padding: 22px 0 18px; text-align: center; }
.site-header.is-scrolled ~ main .axes__head { top: 83px; }
.axes__title { color: var(--ink); min-height: 1.1em; }
.axes__title em { color: var(--ink); background: linear-gradient(var(--lime-soft), var(--lime-soft)) no-repeat 0 88% / 100% .38em; padding: 0 .06em; }
.axes__title .ch { opacity: .12; transition: opacity .12s linear; }
.axes__title .ch.on { opacity: 1; }
.axes__title .caret { display: inline-block; width: 3px; height: .9em; margin-left: 3px; vertical-align: -0.08em; background: var(--lime); border-radius: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.axes__title.is-done .caret { display: none; }
.axes__pills { list-style: none; display: flex; justify-content: center; gap: 10px; margin: 16px 0 0; padding: 0; flex-wrap: wrap; }
.axes__pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--muted); font-size: 15px; font-weight: 700; transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.axes__pills li b { font-weight: 800; color: var(--h2-accent); transition: color .3s ease; }
.axes__pills li.is-active { background: var(--forest); border-color: var(--forest); color: #fff; transform: translateY(-2px); }
.axes__pills li.is-active b { color: var(--lime); }
.axes .stack { margin-top: 24px; }
.axes .stack__card { top: calc(var(--header-h) + var(--axes-h, 150px) + 14px + var(--k) * 18px); min-height: 430px; }
.site-header.is-scrolled ~ main .axes .stack__card { top: calc(84px + var(--axes-h, 150px) + 14px + var(--k) * 18px); }
@media (max-width: 1000px) {
  .axes__head { top: 83px; padding: 14px 0 12px; }
  .axes__pills { gap: 6px; flex-wrap: nowrap; }
  .axes__pills li { padding: 5px 10px; font-size: 12.5px; gap: 5px; }
  .axes .stack__card { top: calc(84px + var(--axes-h, 120px) + 10px + var(--k) * 12px); min-height: 0; }
  .axes .stack__img { height: 170px; }
}
@media (prefers-reduced-motion: reduce) { .axes__title .ch { opacity: 1; } .axes__title .caret { display: none; } }


/* Nos solutions : panneaux qui s'ouvrent */
.panels { display: flex; gap: 12px; height: 500px; }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff; background: var(--forest);
  transition: flex-grow .6s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; box-shadow: var(--shadow-lg); isolation: isolate; }
.panel.is-active { flex-grow: 3.2; box-shadow: var(--shadow-deep); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.panel.is-active img { transform: scale(1); }
.panel__veil { position: absolute; inset: 0; z-index: -1; background: var(--deep); opacity: .72; transition: opacity .5s ease; }
.panel.is-active .panel__veil { opacity: .38; }
.panel__n { position: absolute; top: 22px; left: 24px; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--lime); transition: font-size .5s ease; }
.panel__body { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 18px 18px 18px; border-radius: 18px; transition: background-color .5s ease, padding .5s ease; }
.panel.is-active .panel__body { background: #082b2ae6; padding: 24px 26px; }
.panel__head { display: flex; align-items: center; gap: 12px; }
.panel__ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #84cc1626; color: var(--lime); }
.panel__ico svg { width: 20px; height: 20px; }
.panel__title { font-size: 1.15rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.2; }
.panel.is-active .panel__title { font-size: 1.6rem; letter-spacing: -0.045em; }
.panel__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }
.panel__more > * { min-height: 0; }
.panel__more { overflow: hidden; }
.panel.is-active .panel__more { grid-template-rows: 1fr; opacity: 1; transition-delay: .12s; }
.panel__more-inner { overflow: hidden; }
.panel__txt { display: block; margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: #e2ece3; max-width: 34em; }
.panel__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.panel__tags span { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #ffffff14; color: #fff; }
.panel__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 750; color: var(--lime-soft); }
.panel__cta svg { width: 16px; height: 16px; transition: transform .2s ease; }
.panel:hover .panel__cta svg { transform: translateX(4px); }
.panel:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
@media (max-width: 1000px) {
  .panels { flex-direction: column; height: auto; gap: 10px; }
  .panel { flex: none; height: 92px; transition: height .55s cubic-bezier(.2,.8,.2,1); }
  .panel.is-active { height: 430px; }
  .panel__n { font-size: 1.6rem; top: auto; bottom: 30px; left: auto; right: 24px; }
  .panel.is-active .panel__n { top: 18px; bottom: auto; right: auto; left: 20px; font-size: 2.2rem; }
  .panel__body { left: 8px; right: 8px; bottom: 8px; padding: 14px 14px; }
  .panel.is-active .panel__body { padding: 18px 18px; }
  .panel.is-active .panel__title { font-size: 1.3rem; }
  .panel__txt { font-size: 14.5px; }
}
@media (min-width: 1001px) {
  .panel:not(.is-active) .panel__head { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
  .panel:not(.is-active) .panel__ico { display: none; }
  .panel:not(.is-active) .panel__title { font-size: 1.25rem; }
  .panel:not(.is-active) .panel__body { left: 10px; right: auto; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .panel, .panel img, .panel__more { transition: none; } }



/* Équilibre des phases animé */
.ph__title { font-size: 1.6rem !important; }
.ph__chart { position: relative; height: 230px; margin: 22px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 8px; }
.ph__col { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 0; }
.ph__val { font-size: 13px; color: var(--text-light-2); font-variant-numeric: tabular-nums; }
.ph__val b { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.ph__track { flex: 1; width: 100%; max-width: 90px; display: flex; align-items: flex-end; border-radius: 12px; background: #ffffff08; overflow: hidden; }
.ph__track i { display: block; width: 100%; height: 0; border-radius: 10px 10px 4px 4px; background: var(--lime-soft); transition: height 1.1s cubic-bezier(.2,.8,.2,1), background-color .4s ease; }
.ph__col.is-over .ph__track i { background: #f0a58f; }
.ph__col.is-over .ph__val b { color: #f6c7ba; }
.ph__name { font-size: 13px; font-weight: 800; color: var(--text-light); letter-spacing: .04em; }
.ph__avg { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-top: 1.5px dashed #d8f4df66; transition: bottom 1.1s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.ph__avg span { position: absolute; right: 0; top: -22px; font-size: 11.5px; font-weight: 700; color: var(--text-light-2); background: var(--deep); padding: 0 6px; border-radius: 6px; }
.ph__status { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 14px; transition: background-color .4s ease, color .4s ease; }
.ph__status b { color: #fff; }
.ph__status.is-bad { background: #e06a4f1f; color: #f6c7ba; }
.ph__status.is-good { background: #84cc161f; color: var(--lime-soft); }
.ph__ico { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; transition: background-color .4s ease; }
.is-bad .ph__ico { background: #e06a4f; animation: alert 1.8s ease-in-out infinite; }
.is-good .ph__ico { background: var(--lime); color: var(--on-lime); }
@media (max-width: 760px) { .ph__chart { height: 190px; gap: 12px; } .ph__title { font-size: 1.3rem !important; } }


/* Produits : carte interactive du site équipé */
.sm { margin-top: 48px; }
.sm__stage { position: relative; border-radius: 26px; overflow: visible; background: #fff; box-shadow: var(--shadow-deep); }
.sm__stage > img { display: block; width: 100%; height: auto; border-radius: 26px; }
.sm__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sm__path { fill: none; stroke: #84cc16; stroke-width: 2.5; stroke-dasharray: 6 9; opacity: .55; animation: sm-dash 1.2s linear infinite; }
@keyframes sm-dash { to { stroke-dashoffset: -30; } }
.sm__pkt { fill: #84cc16; stroke: #fff; stroke-width: 2.5; }
.sm__wave { fill: none; stroke: #84cc16; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: sm-wave 2.7s ease-out infinite; opacity: 0; }
@keyframes sm-wave { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.sm__spot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; }
.sm__dot { position: absolute; inset: 6px; border-radius: 50%; background: #f5c623; color: #173518; font: 800 12px/32px var(--font); text-align: center; box-shadow: 0 4px 12px #0004; transition: transform .25s ease, background-color .25s ease; }
.sm__spot--gw .sm__dot { background: var(--lime); inset: 12px; }
.sm__ring { position: absolute; inset: 0; border-radius: 50%; border: 2.5px solid #f5c623; animation: sm-ring 2s ease-out infinite; }
.sm__spot--gw .sm__ring { border-color: var(--lime); }
@keyframes sm-ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.sm__spot:hover .sm__dot, .sm__spot.is-on .sm__dot { transform: scale(1.18); background: var(--lime); }
.sm__tip { position: absolute; bottom: calc(100% + 10px); left: 50%; width: 250px; transform: translate(-50%, 8px); padding: 14px 16px; border-radius: 16px; background: var(--forest); border: 1px solid var(--line-dark); box-shadow: var(--shadow-deep);
  color: var(--text-light-2); font: 400 13.5px/1.5 var(--font); text-align: left; opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; pointer-events: none; }
.sm__tip b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.sm__tip a { display: inline-block; margin-top: 8px; color: var(--lime-soft); font-weight: 750; text-decoration: none; }
.sm__spot.is-on .sm__tip, .sm__spot:focus-visible .sm__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.sm__spot.is-on { z-index: 5; }
.sm__spot[data-spot="05"] .sm__tip, .sm__spot[data-spot="04"] .sm__tip { left: auto; right: -10px; transform: translate(0, 8px); }
.sm__spot[data-spot="05"].is-on .sm__tip, .sm__spot[data-spot="04"].is-on .sm__tip { transform: none; }
.sm__spot[data-spot="01"] .sm__tip { bottom: auto; top: calc(100% + 10px); left: auto; right: -10px; transform: translate(0, -8px); }
.sm__spot[data-spot="01"].is-on .sm__tip { transform: none; }
.sm__spot--gw .sm__tip { bottom: auto; top: calc(100% + 10px); left: -10px; transform: translate(0, -8px); }
.sm__spot--gw.is-on .sm__tip { transform: none; }
.sm__spot[data-spot="03"] .sm__tip { bottom: auto; top: calc(100% + 10px); transform: translate(-50%, -8px); }
.sm__spot[data-spot="03"].is-on .sm__tip { transform: translate(-50%, 0); }
.sm__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px 0 0; padding: 0; }
.sm__legend button { display: inline-flex; align-items: center; gap: 8px; font: 650 14px var(--font); color: var(--text-light); background: #ffffff06; border: 1px solid #d8f4df33; border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.sm__legend button b { color: var(--lime); font-weight: 800; }
.sm__legend button:hover, .sm__legend button.is-on { background: var(--forest); border-color: var(--lime-soft); color: #fff; }
.sm__hint { text-align: center; font-size: 13px; color: var(--text-light-2); margin-top: 10px; }
@media (max-width: 760px) {
  .sm { margin-top: 32px; }
  .sm__stage { border-radius: 16px; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; }
  .sm__stage > img { border-radius: 0; }
  .sm__spot { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .sm__dot { inset: 4px; font-size: 9px; line-height: 22px; }
  .sm__spot--gw .sm__dot { inset: 8px; }
  .sm__tip { display: none; }
  .sm__legend { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 16px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .sm__legend::-webkit-scrollbar { display: none; }
  .sm__legend button { white-space: nowrap; font-size: 13px; }
  .sm__card { display: block !important; }
}
.sm__card { display: none; margin-top: 12px; padding: 16px; border-radius: 16px; background: var(--forest); border: 1px solid var(--line-dark); font-size: 14px; color: var(--text-light-2); }
.sm__card b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.sm__card a { display: inline-block; margin-top: 8px; color: var(--lime-soft); font-weight: 750; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .sm__path, .sm__wave, .sm__ring { animation: none; } .sm__pkt { display: none; } }


/* Gestion des ressources : démo du tableau de bord */
.demo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.demo__tabs { display: grid; gap: 12px; }
.demo__tab { position: relative; overflow: hidden; text-align: left; font: inherit; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; cursor: pointer; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.demo__tab b { display: block; color: var(--ink); font-size: 1.15rem; letter-spacing: -0.02em; }
.demo__tab .num { margin-bottom: 6px; }
.demo__tab .checks { display: grid; grid-template-rows: 0fr; margin: 0; overflow: hidden; opacity: 0; transition: opacity .3s, margin .3s; max-height: 0; }
.demo__tab.is-on { border-color: var(--h2-accent); box-shadow: var(--shadow-sm); }
.demo__tab.is-on .checks { opacity: 1; margin-top: 12px; max-height: 200px; }
.demo__tab .checks li { font-size: 14.5px; color: var(--muted); }
.demo__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lime); }
.demo__tab.is-on.is-auto .demo__bar { animation: demobar var(--demo-t, 7s) linear forwards; }
@keyframes demobar { to { width: 100%; } }

.app { --ap-bg: #1f2a24; --ap-card: #2c3830; --ap-line: #ffffff12; --ap-elec: #f3c623; --ap-eau: #3db5f0;
  display: grid; grid-template-columns: 150px 1fr; min-height: 470px; background: var(--ap-bg); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-deep); color: #e8eee9; font-size: 13px; }
.app__side { background: #17211c; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.app__side img { width: 74px; height: auto; margin: 0 0 16px 6px; }
.app__side span { padding: 8px 10px; border-radius: 10px; color: #b9c7bd; font-size: 12.5px; }
.app__side span.is-on { background: #2bb3a0; color: #062019; font-weight: 700; }
.app__main { position: relative; padding: 16px; }
.app__pane { display: none; }
.app__pane.is-on { display: block; animation: panein .45s ease both; }
@keyframes panein { from { opacity: 0; transform: translateY(10px); } }
.app__filters { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.app__filters button { font: 700 12px var(--font); color: #cfd9d2; background: var(--ap-card); border: 1px solid var(--ap-line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.app__filters button.is-on { background: #e8eee9; color: #17211c; }
.app__zone { margin-left: auto; color: #9fb0a5; font-size: 12px; }
.app__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app__tile { position: relative; background: var(--ap-card); border-radius: 12px; padding: 10px 10px 12px; border-top: 3px solid var(--ap-elec); display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 92px;
  transition: opacity .35s ease, transform .35s ease; }
.app__tile--eau { border-top-color: var(--ap-eau); background: #22384a; }
.app__tile--elec { background: #3a3a26; }
.app__tname { align-self: flex-start; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #dfe7e1; line-height: 1.25; }
.app__tico svg { width: 18px; height: 18px; }
.app__tile--elec .app__tico { color: var(--ap-elec); }
.app__tile--eau .app__tico { color: var(--ap-eau); }
.app__tile b { font-size: 15px; font-variant-numeric: tabular-nums; }
.app__tile em { position: absolute; right: 6px; bottom: 6px; font-style: normal; font-size: 10px; font-weight: 800; background: #e53935; color: #fff; padding: 2px 6px; border-radius: 5px; animation: alert 1.8s ease-in-out infinite; }
.app__tile.is-alert { border-top-color: #e53935; }
.app__tile.is-hidden { opacity: .12; transform: scale(.94); }
.app.is-play .app__pane.is-on .app__tile { animation: tilein .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d) * 60ms); }
@keyframes tilein { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.app__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app__kpi { background: var(--ap-card); border-radius: 14px; padding: 12px 14px; border-top: 3px solid var(--ap-elec); display: grid; gap: 2px; }
.app__kpi--eau { border-top-color: var(--ap-eau); }
.app__kt { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; }
.app__kt svg { width: 16px; height: 16px; }
.app__kpi--elec .app__kt svg { color: var(--ap-elec); } .app__kpi--eau .app__kt svg { color: var(--ap-eau); }
.app__kpi b { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.app__kpi b small { font-size: 12px; font-weight: 600; color: #b9c7bd; }
.app__prev { font-size: 11.5px; color: #b9c7bd; }
.app__prev em { font-style: normal; font-weight: 800; }
.app__prev .up { color: #ff6b5b; } .app__prev .down { color: #2ee6a8; }
.app__eur { font-size: 15px; font-weight: 800; text-align: right; }
.app__charts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.app__chart { background: var(--ap-card); border-radius: 14px; padding: 12px 12px 8px; border-top: 3px solid var(--ap-elec); }
.app__chart--eau { border-top-color: var(--ap-eau); }
.app__ct { display: flex; justify-content: space-between; font-weight: 700; font-size: 12.5px; margin-bottom: 8px; }
.app__ct small { font-weight: 500; font-style: italic; color: #9fb0a5; }
.app__bars { height: 150px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--ap-line);
  background: repeating-linear-gradient(to top, transparent 0 36px, #ffffff0c 36px 37px); }
.app__bars i { flex: 1; border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 30ms); }
.app__bars[data-series="elec"] i { background: var(--ap-elec); }
.app__bars[data-series="eau"] i { background: var(--ap-eau); }
.app__pane.is-on.is-drawn .app__bars i { transform: scaleY(1); }
.app__axis { display: flex; justify-content: space-between; font-size: 10.5px; color: #9fb0a5; margin-top: 4px; }
.app__alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.app__alerts li { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; background: var(--ap-card); border-radius: 12px; padding: 12px 14px; border-left: 4px solid; }
.app__alerts li::before { content: ""; grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.app__alerts li b { font-size: 14px; color: #fff; }
.app__alerts li span { grid-column: 2; font-size: 12px; color: #b9c7bd; }
.app__alerts li time { grid-column: 3; grid-row: 1 / span 2; font-size: 11.5px; color: #9fb0a5; }
.lvl-red { color: #ff6b5b; border-color: #ff6b5b !important; } .lvl-yel { color: #f3c623; border-color: #f3c623 !important; } .lvl-ok { color: #2ee6a8; border-color: #2ee6a8 !important; }
.lvl-red::before { animation: alert 1.8s ease-in-out infinite; }
.app.is-play .app__pane.is-on .app__alerts li { animation: alertin .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d) * 350ms); }
@keyframes alertin { from { opacity: 0; transform: translateX(24px); } }
.app__seuils { margin-top: 12px; background: var(--ap-card); border-radius: 12px; padding: 12px 14px 14px; }
.app__st { font-weight: 700; font-size: 12.5px; }
.app__gauge { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #2ee6a8 0 60%, #f3c623 60% 80%, #ff6b5b 80%); margin: 26px 0 8px; }
.app__gauge i { position: absolute; top: -5px; left: 0; width: 4px; height: 20px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 3px #1f2a24; transition: left 1.2s cubic-bezier(.2,.8,.2,1) .6s; }
.app__pane.is-on.is-drawn .app__gauge i { left: calc(var(--v) * 100%); }
.app__gauge span { position: absolute; top: -20px; transform: translateX(-50%); font-size: 11px; font-weight: 700; }
.g-y { color: #f3c623; } .g-r { color: #ff6b5b; }
.app__glab { font-size: 12px; color: #b9c7bd; } .app__glab b { color: #fff; }
.app__note { position: absolute; right: 16px; bottom: 8px; margin: 0; font-size: 10.5px; color: #9fb0a5; opacity: .8; }
@media (max-width: 1000px) { .demo { grid-template-columns: 1fr; } .demo__tabs { grid-template-columns: repeat(3, 1fr); } .demo__tab .checks { display: none; } }
@media (max-width: 760px) {
  .demo__tabs { display: flex; overflow-x: auto; gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .demo__tab { flex: 0 0 auto; padding: 10px 14px; border-radius: 999px; }
  .demo__tab .num { display: inline; margin: 0 6px 0 0; font-size: 13px; }
  .demo__tab b { display: inline; font-size: 14px; }
  .app { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; margin: 0 calc(-1 * var(--gutter) + 6px); }
  .app__side { display: none; }
  .app__main { padding: 12px 10px 28px; }
  .app__grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .app__tile { min-height: 80px; padding: 8px 6px 10px; }
  .app__tname { font-size: 9px; }
  .app__tile b { font-size: 13px; }
  .app__zone { display: none; }
  .app__kpis, .app__charts { grid-template-columns: 1fr; }
  .app__bars { height: 110px; }
}
@media (prefers-reduced-motion: reduce) { .app__bars i { transform: none; transition: none; } .demo__bar { display: none; } }


/* Gestion des ressources : ordinateur qui s'ouvre (dessiné en CSS, net à toutes les tailles) */
.lap-wrap { position: relative; width: 100%; max-width: 620px; margin: 0 auto; padding: 30px 0 10px; }
.lap-blob { position: absolute; right: -4%; top: 0; width: 62%; aspect-ratio: 1; border-radius: 42% 58% 55% 45%; background: var(--sage); opacity: .35; }
.lap { position: relative; perspective: 1800px; perspective-origin: 50% 110%; }
.lap__lid { position: relative; width: 84%; margin: 0 auto; aspect-ratio: 16 / 10.4; transform-origin: 50% 100%; transform: rotateX(-88deg); transform-style: preserve-3d; }
.lap__bezel { position: absolute; inset: 0; background: #0d1210; border-radius: 16px 16px 4px 4px; padding: 2.4% 2.4% 3%; box-shadow: 0 0 0 2px #3a4340, 0 30px 60px #0008; }
.lap__cam { position: absolute; top: 1%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2a302e; }
.lap__screen { position: relative; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: #050807; container-type: inline-size; }
.lap__ui { position: absolute; inset: 0; display: grid; grid-template-columns: 22% 1fr; background: #1c2621; opacity: 0; transition: opacity .6s ease; }
.lap__side { background: #16201b; padding: 5cqw 2.5cqw; display: flex; flex-direction: column; gap: 1.2cqw; }
.lap__side img { width: 60%; height: auto; margin: 0 0 3cqw 1cqw; }
.lap__side span { font-size: 1.9cqw; color: #b9c7bd; padding: 1.2cqw 1.6cqw; border-radius: 1.4cqw; white-space: nowrap; }
.lap__side span.is-on { background: #2bb3a0; color: #062019; font-weight: 700; }
.lap__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 1.6cqw; padding: 2.6cqw; }
.lap__tile { position: relative; border-radius: 1.4cqw; padding: 1.4cqw; background: #3a3a26; border-top: .5cqw solid #f3c623; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6cqw;
  opacity: 0; transform: translateY(2cqw) scale(.94); transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1); transition-delay: calc(1.7s + var(--d) * 70ms); }
.lap__tile--eau { background: #22384a; border-top-color: #3db5f0; }
.lap__tile.is-alert { border-top-color: #e53935; }
.lap__tn { position: absolute; top: 1cqw; left: 1.3cqw; right: 1cqw; font-size: 1.35cqw; font-weight: 700; text-transform: uppercase; color: #dfe7e1; line-height: 1.2; }
.lap__ti { margin-top: 2cqw; } .lap__ti svg { width: 2.8cqw; height: 2.8cqw; }
.lap__tile--elec .lap__ti { color: #f3c623; } .lap__tile--eau .lap__ti { color: #3db5f0; }
.lap__tile b { font-size: 2.1cqw; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lap__tile em { position: absolute; right: -.6cqw; top: -1.2cqw; font-style: normal; font-size: 1.3cqw; font-weight: 800; background: #e53935; color: #fff; padding: .3cqw .9cqw; border-radius: .6cqw; animation: alert 1.8s ease-in-out infinite; }
.lap__base { position: relative; width: 100%; height: 0; padding-bottom: 3.2%; background: #c9ced3; border-radius: 2px 2px 18px 18px / 2px 2px 60% 60%; box-shadow: inset 0 -3px 0 #9aa1a8, 0 24px 40px #0007; }
.lap__notch { position: absolute; left: 50%; top: 0; width: 16%; height: 45%; margin-left: -8%; background: #aab0b6; border-radius: 0 0 10px 10px; }
.lap-wrap.is-open .lap__lid { transform: rotateX(4deg); transition: transform 1.9s cubic-bezier(.45,.05,.2,1) .25s; }
.lap-wrap.is-open .lap__ui { opacity: 1; transition-delay: 1.5s; }
.lap-wrap.is-open .lap__tile { opacity: 1; transform: none; }
.lap-wrap.is-open .lap { animation: lapfloat 6s ease-in-out 3.2s infinite; }
@keyframes lapfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lap__lid { transform: rotateX(4deg); } .lap__ui, .lap__tile { opacity: 1; transform: none; transition: none; } .lap-wrap.is-open .lap { animation: none; } }


/* Supervision : l'ordinateur s'ouvre au défilement, puis Suivre → Analyser → Réagir */
.sup { padding: 0; }
.sup__sticky { padding: 90px 0 70px; }
.sup .demo { grid-template-columns: .72fr 1.28fr; align-items: center; }
.lap-wrap--sup { max-width: none; padding: 0; }
.lap-wrap--sup .lap__lid { width: 88%; }
.lap-wrap--sup .lap__screen { background: #050807; }
.lap-wrap--sup .app { position: absolute; left: 0; top: 0; width: 900px; transform-origin: 0 0; border-radius: 0; box-shadow: none; min-height: 0; opacity: 0; transition: opacity .5s ease; }
.lap-wrap--sup.is-on .app { opacity: 1; }
.lap-wrap--sup .lap__lid { transform: rotateX(var(--lid, -88deg)); }
.lap-wrap--sup + .app__note { text-align: right; position: static; color: var(--muted); margin-top: 10px; font-size: 12px; }
.sup .demo > div:last-child { min-width: 0; }
@media (min-width: 1001px) {
  .sup__track.is-scroll { height: 230vh; }
  .sup__track.is-scroll .sup__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: flex-start; padding: 56px 0 0; overflow: hidden; }
  .site-header.is-scrolled ~ main .sup__track.is-scroll .sup__sticky { top: 84px; height: calc(100vh - 84px); }
  .sup__track.is-scroll .section-head { margin-bottom: 26px; }
  .sup__track.is-scroll .demo__tab { padding: 16px 20px; }
}
@media (max-width: 1000px) { .sup .demo { grid-template-columns: 1fr; } .sup__sticky { padding: 60px 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --header-h: 84px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--deep); }
  .burger { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; height: calc(100dvh - var(--header-h)); background: var(--deep); margin: 0; padding: 18px var(--gutter) 40px; overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; border-top: 1px solid var(--line-dark); }
  .site-header.is-scrolled .nav { inset: 84px 0 0 0; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 12px; font-size: 18px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav__sub { position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr; box-shadow: none; margin: 8px 0 12px; background: var(--forest); }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { transform: none; }
  .nav__item.is-open .nav__sub { display: grid; }
  .nav__item:hover .chev { transform: none; }
  .nav__item.is-open .chev { transform: rotate(180deg); }
  .nav__mobile-cta { display: block !important; margin-top: 24px; }
  .nav__mobile-cta .btn { width: 100%; }
}
@media (max-width: 1500px) {
  .hero__float { left: -36px; }
}
@media (max-width: 1000px) {
  .hero__grid, .page-hero__grid, .split, .split--wide-img, .cta__box, .contact-grid, .cat__head { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero__visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .hero__float { left: -12px; width: 50%; }
  .hero__chip { right: 8px; }
  .stats, .steps, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .awards, .team { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 84px 0; }
  .split { gap: 44px; }
  .cta__box { padding: 44px 36px; }
  .product-nav { top: 84px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }
  .grid--2, .grid--3, .moods { grid-template-columns: 1fr; }
  .form, .checkgrid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding: 44px 0 70px; }
  .page-hero { padding: 40px 0 56px; }
  .fact { grid-template-columns: 1fr; gap: 12px; padding: 28px; }
  .award, .person { grid-template-columns: 1fr; text-align: left; }
  .award img { width: 100px; height: 100px; }
  .person img { width: 120px; height: 140px; }
  .logos__row { gap: 20px 30px; }
  .logos__row img { height: 36px; }
  .logos__row img.tall { height: 50px; }
  .moods { gap: 36px; }
  .mood img { width: 60%; }
  .cta__box { padding: 36px 24px; border-radius: 24px; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero__chip { display: none; }
  .logo img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Smartphone : mise en page resserrée
   ========================================================================== */
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head .lead, .lead { font-size: 16px; }
  .h2, h2 { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.2rem); }
  .card { padding: 22px 20px; border-radius: 20px; }
  .card p { font-size: 15px; }
  .icon { width: 40px; height: 40px; margin-bottom: 14px; }

  /* Preuves du hero : logo + deux distinctions sur une ligne */
  .hero__proof { display: grid; grid-template-columns: auto 1fr 1fr; gap: 12px; align-items: center; font-size: 12px; line-height: 1.4; margin-top: 28px; padding-top: 20px; }
  .hero__proof img { height: 46px; }
  .hero__proof b { font-size: 12.5px; }

  /* Chiffres clés en 2 × 2 */
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px 16px; border-radius: 18px; }
  .stat__value { font-size: 1.65rem; }
  .stat__label { font-size: 13px; line-height: 1.4; margin-top: 6px; }

  /* Listes de cartes : défilement horizontal au doigt */
  .m-scroll { display: flex !important; grid-template-columns: none !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-scroll::-webkit-scrollbar { display: none; }
  .m-scroll > * { flex: 0 0 80%; scroll-snap-align: start; }
  .m-scroll > .reveal { opacity: 1; transform: none; }
  .steps.m-scroll { margin-top: 36px !important; }
  .m-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .m-dots i { width: 6px; height: 6px; border-radius: 999px; background: #d8f4df44; transition: width .25s ease, background-color .25s ease; }
  .m-dots i.on { width: 20px; background: var(--lime); }
  .section--paper .m-dots i { background: #19403733; }
  .section--paper .m-dots i.on { background: var(--h2-accent); }

  /* Produits en 2 colonnes compactes */
  .cat { padding: 56px 0 24px; }
  .cat__head { gap: 12px; margin-bottom: 22px; }
  .cat .grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .product { border-radius: 16px; }
  .product__img { height: 130px; padding: 12px; }
  .product__img img { max-height: 106px; }
  .product__body { padding: 12px 12px 14px; }
  .product__body h3 { font-size: .95rem; line-height: 1.25; }
  .specs { font-size: 12.5px; gap: 4px; margin-top: 8px; }
  .specs li { padding-left: 11px; }
  .specs li::before { top: 7px; width: 5px; height: 5px; }

  /* Solutions : lignes compactes, panneau ouvert lisible */
  .panel { height: 76px; border-radius: 18px; }
  .panel.is-active { height: 440px; }
  .panel__body { left: 6px; right: 6px; bottom: 6px; padding: 10px 12px; }
  .panel:not(.is-active) .panel__body { top: 6px; display: flex; align-items: center; }
  .panel:not(.is-active) .panel__ico { width: 34px; height: 34px; }
  .panel:not(.is-active) .panel__n { bottom: 50%; transform: translateY(50%); font-size: 1.3rem; right: 18px; }
  .panel.is-active .panel__body { padding: 16px; }
  .panel__tags span { font-size: 11.5px; padding: 4px 8px; }

  /* Pied de page en 2 colonnes */
  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px 18px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .site-footer h4 { margin-bottom: 12px; }
  .site-footer ul { gap: 8px; font-size: 14px; }
  .footer-bottom { margin-top: 36px; flex-direction: column; }

  /* Divers */
  .award { padding: 20px; gap: 14px; grid-template-columns: 72px 1fr; align-items: center; }
  .award img { width: 72px; height: 72px; }
  .person { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; }
  .person img { width: 96px; height: 116px; border-radius: 14px; }
  .cta { padding: 56px 0; }
  .cta__box { gap: 28px; }
  .page-hero__img--plain img { max-height: 300px; }
  .fact__big { font-size: 2.4rem; }
}


/* Gestion des ressources : ordinateur qui flotte doucement */
.page-hero__img--plain img[src*="laptop-dashboard"] { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-.6deg); } }
@media (prefers-reduced-motion: reduce) { .page-hero__img--plain img[src*="laptop-dashboard"] { animation: none; } }

/* Ordinateur de la supervision : le tableau de bord garde sa mise en page « ordinateur » à toutes les tailles */
.lap-wrap--sup.is-auto-open .lap__lid { transition: transform 1.6s cubic-bezier(.45,.05,.2,1); }
.lap-wrap--sup .app { grid-template-columns: 150px 1fr !important; margin: 0 !important; }
.lap-wrap--sup .app__side { display: flex !important; }
.lap-wrap--sup .app__main { padding: 16px 16px 20px !important; }
.lap-wrap--sup .app__grid { grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
.lap-wrap--sup .app__tile { min-height: 92px !important; padding: 10px 10px 12px !important; }
.lap-wrap--sup .app__tname { font-size: 10.5px !important; }
.lap-wrap--sup .app__tile b { font-size: 15px !important; }
.lap-wrap--sup .app__zone { display: inline !important; }
.lap-wrap--sup .app__kpis, .lap-wrap--sup .app__charts { grid-template-columns: 1fr 1fr !important; }
.lap-wrap--sup .app__bars { height: 150px !important; }

/* Visuel d'en-tête : ordinateur ouvert avec la capture du tableau de bord */
.lap__lid--open { transform: rotateX(4deg) !important; }
/* écran ajusté au format de la capture du tableau de bord (2048 × 1132) : rien n’est coupé */
.lap-wrap--hero .lap__lid { aspect-ratio: 1.724; }
.lap-wrap--hero .lap__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.lap-wrap--hero .lap { animation: lapfloat 7s ease-in-out infinite; }
.lap-wrap--hero .lap-blob { background: var(--lime); opacity: .18; }
.lap-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--forest); border: 1px solid var(--line-dark); box-shadow: var(--shadow-deep); font-size: 13px; color: var(--text-light-2); white-space: nowrap; animation: lapfloat 6s ease-in-out infinite; }
.lap-chip b { color: #fff; font-size: 15px; }
.lap-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #f3c623; box-shadow: 0 0 0 4px #f3c62333; }
.lap-chip--a { left: 2%; top: 0; animation-delay: -2s; }
.lap-chip--b { right: 0; bottom: 0; }
.lap-wrap--hero { padding: 58px 0 56px; } .lap-chip--b b { color: #2ee6a8; }
@media (max-width: 760px) { .lap-chip { font-size: 11.5px; padding: 8px 10px; } .lap-chip--a { left: 0; top: 0; } .lap-chip--b { right: 0; bottom: 0; } .lap-wrap--hero { padding: 46px 0 44px; } }
@media (prefers-reduced-motion: reduce) { .lap-wrap--hero .lap, .lap-chip { animation: none; } }
.page-hero__grid:has(.lap-wrap--hero) { grid-template-columns: .9fr 1.1fr; gap: 40px; }
.lap-wrap--hero { max-width: 720px; }
@media (min-width: 1200px) { .lap-wrap--hero { margin-right: -48px; } }
@media (max-width: 1000px) { .page-hero__grid:has(.lap-wrap--hero) { grid-template-columns: 1fr; } }

/* Démo supervision : écrans plus fournis, moins de vide sous l'ordinateur */
.app__tile.is-warn { border-top-color: #f3c623; }
.app__tile em.warn { background: #f3c623; color: #1f2a24; }
.app__sum, .app__status { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 10px; padding: 10px 14px; background: var(--ap-card); border-radius: 12px; font-size: 12px; color: #b9c7bd; }
.app__sum b, .app__status b { color: #fff; }
.app__sum svg { width: 13px; height: 13px; vertical-align: -2px; color: var(--ap-eau); }
.app__sum span:nth-child(4) svg { color: var(--ap-elec); }
.app__sum i, .app__status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.app__sum i.ok, .app__status i.ok { background: #2ee6a8; } .app__sum i.bad { background: #ff6b5b; }
.app__status { justify-content: space-between; }
.app__crumb { font-weight: 700; color: #fff; margin-right: auto; font-size: 13px; }
.app__filters button[tabindex="-1"] { cursor: default; }
.lap-wrap--sup .app__tile { min-height: 78px !important; padding: 8px 10px 10px !important; }
.lap-wrap--sup .app__bars { height: 128px !important; }
.lap-wrap--sup .app__alerts li { padding: 9px 14px; }
.lap-wrap--sup .app__seuils { margin-top: 8px; padding: 10px 14px 12px; }
.lap-wrap--sup .app__gauge { margin: 22px 0 6px; }
@media (min-width: 1001px) {
  .sup__track.is-scroll .sup__sticky { align-items: center !important; padding: 0 !important; }
  .sup .demo { grid-template-columns: .6fr 1.4fr; gap: 40px; }
  .sup__track.is-scroll .section-head { margin-bottom: 18px; }
  .sup__track.is-scroll .section-head .lead { margin-top: 10px; }
}

/* Bouton « remonter en haut » */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--lime); color: var(--on-lime); box-shadow: 0 10px 30px #0006; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .2s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--lime-hover); transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) { .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }

.sm__spot[data-spot="06"] .sm__tip { left: -10px; transform: translate(0, 8px); }
.sm__spot[data-spot="06"].is-on .sm__tip { transform: none; }
.sm__spot[data-spot="08"] .sm__tip { left: auto; right: -10px; transform: translate(0, 8px); }
.sm__spot[data-spot="08"].is-on .sm__tip { transform: none; }
.stats--3 { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 760px) { .stats--3 { grid-template-columns: 1fr 1fr 1fr !important; gap: 8px; } .stats--3 .stat { padding: 14px 10px; } .stats--3 .stat__value { font-size: 1.3rem; } .stats--3 .stat__label { font-size: 12px; } }

/* Smartphone qui pivote légèrement au défilement */
.phone-tilt { perspective: 1200px; }
.phone-tilt img { transform: rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg)) translateY(var(--ty, 0px)); transform-origin: 50% 60%; will-change: transform; transition: transform .15s linear; }
@media (prefers-reduced-motion: reduce) { .phone-tilt img { transform: none; } }

/* ---------- Sensibilisation : « Un écran à votre image », visite guidée de l'écran ---------- */
.scr-tour { display: grid; grid-template-columns: 1fr minmax(0, 430px) 1fr; grid-template-areas: ". dev a" "b dev ." ". dev c"; grid-template-rows: 1fr 1fr 1fr; gap: 0 56px; align-items: center; margin-top: 28px; }
.scr { grid-area: dev; margin: 0; position: relative; }
.scr::before { content: ""; position: absolute; inset: 8% 8% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(132,204,22,.28), transparent); filter: blur(30px); z-index: 0; }
.scr__dev { position: relative; z-index: 1; container-type: inline-size; animation: scr-float 6s ease-in-out infinite; }
@keyframes scr-float { 50% { transform: translateY(-8px) rotate(-.6deg); } }
.scr__img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 40px rgba(0,0,0,.45)); }
.scr__img + .scr__img { position: absolute; inset: 0; }
.scr__img { opacity: 0; transition: opacity .55s ease; }
.scr__img.is-on { opacity: 1; }
.scr__img:first-child { opacity: 1; }
.scr__glass { position: absolute; left: 11.4%; top: 11.6%; width: 77.2%; height: 76.4%; border-radius: 3.2%; overflow: hidden; pointer-events: none; }
.scr__spot { position: absolute; left: 8%; top: 3%; width: 84%; height: 14%; border-radius: 2.4cqw; border: 2px solid var(--lime); box-shadow: 0 0 0 999px rgba(3, 20, 19, .55), 0 0 24px rgba(132,204,22,.6), inset 0 0 18px rgba(132,204,22,.35); opacity: 0; transition: left .7s cubic-bezier(.65,0,.25,1), top .7s cubic-bezier(.65,0,.25,1), width .7s cubic-bezier(.65,0,.25,1), height .7s cubic-bezier(.65,0,.25,1), opacity .5s ease; }
.scr__spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%) no-repeat; background-size: 220% 100%; background-position: 160% 0; }
[data-step="0"] .scr__spot, [data-step="1"] .scr__spot, [data-step="2"] .scr__spot { opacity: 1; }
[data-step="0"] .scr__spot::after, [data-step="1"] .scr__spot::after, [data-step="2"] .scr__spot::after { animation: scr-shine 1.6s .6s ease both; }
@keyframes scr-shine { to { background-position: -60% 0; } }
[data-step="1"] .scr__spot { left: 10%; top: 15%; width: 78%; height: 57%; }
[data-step="2"] .scr__spot { left: 3%; top: 73%; width: 94%; height: 18%; }
.scr__stars { position: absolute; left: 50%; top: 22.4%; transform: translate(-50%, -50%); display: flex; z-index: 2; pointer-events: none; }
.scr__stars i { font-style: normal; display: block; width: 2.45cqw; text-align: center; font-size: 2.6cqw; line-height: 1; color: #f7b928; text-shadow: 0 0 6px rgba(247,185,40,.9); transform: scale(0); opacity: 0; transition: transform .4s cubic-bezier(.3,1.8,.5,1), opacity .3s; }
.scr-tour.has-stars .scr__stars i { transform: scale(1); opacity: 1; }
.scr-tour.has-stars .scr__stars i:nth-child(2) { transition-delay: .12s; }
.scr-tour.has-stars .scr__stars i:nth-child(3) { transition-delay: .24s; }
.scr-tour.has-stars .scr__stars i:nth-child(4) { transition-delay: .36s; }
.scr-tour.has-stars .scr__stars i:nth-child(5) { transition-delay: .48s; }
.scr__pt { position: relative; display: block; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 14px 4px; cursor: pointer; max-width: 300px; opacity: .38; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.scr__pt[data-i="1"] { justify-self: end; text-align: right; }
.scr__pt.is-seen { opacity: .6; transform: none; }
.scr__pt.is-on { opacity: 1; transform: none; }
.scr__pt:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 8px; }
.scr__pt b { display: block; font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 800; line-height: 1.15; color: #fff; margin: 6px 0 6px; letter-spacing: -.01em; }
.scr__pt > span:not(.scr__n) { display: block; font-size: 15px; line-height: 1.5; color: rgba(245,247,241,.75); }
.scr__n { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 99px; background: rgba(255,255,255,.1); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; transition: background .4s, color .4s; }
.scr__pt.is-on .scr__n { background: var(--lime); color: var(--on-lime); }
.scr__bar { display: block; height: 2px; margin-top: 12px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.scr__pt[data-i="1"] .scr__bar { margin-left: auto; }
.scr__bar::after { content: ""; display: block; height: 100%; width: 0; background: var(--lime); }
.scr__pt.is-on .scr__bar::after { animation: scr-bar var(--d, 3.6s) linear forwards; }
@keyframes scr-bar { to { width: 100%; } }
.scr__arrow { position: absolute; width: 110px; height: 64px; top: -22px; fill: none; stroke: var(--lime-soft); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.scr__pt[data-i="0"] .scr__arrow, .scr__pt[data-i="2"] .scr__arrow { right: calc(100% - 6px); }
.scr__pt[data-i="0"] .scr__arrow { top: 18px; }
.scr__pt[data-i="2"] .scr__arrow { top: -6px; }
.scr__pt[data-i="1"] .scr__arrow { top: 4px; }
[data-step="3"] .scr__pt { opacity: 1; }
.scr__pt[data-i="1"] .scr__arrow { left: calc(100% - 6px); }
.scr__arrow path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset .9s cubic-bezier(.6,0,.3,1); }
.scr__arrow path + path { stroke-dasharray: 30; stroke-dashoffset: 30; transition-delay: .7s; transition-duration: .25s; }
.scr__pt.is-seen .scr__arrow path, .scr__pt.is-on .scr__arrow path { stroke-dashoffset: 0; }
@media (max-width: 1100px) { .scr-tour { gap: 0 28px; } .scr__arrow { display: none; } }
@media (max-width: 860px) {
  .scr-tour { grid-template-columns: 1fr; grid-template-areas: "dev" "a" "b" "c"; grid-template-rows: auto; gap: 0; }
  .scr { max-width: 340px; width: 100%; justify-self: center; margin-bottom: 18px; }
  .scr__pt, .scr__pt[data-i="1"] { justify-self: stretch; text-align: left; max-width: none; padding: 12px 0 10px 50px; transform: none; }
  .scr__pt .scr__n { position: absolute; left: 0; top: 13px; }
  .scr__pt b { margin-top: 0; font-size: 1.05rem; }
  .scr__pt > span:not(.scr__n) { font-size: 14px; }
  .scr__pt[data-i="1"] .scr__bar { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .scr__dev { animation: none; } }

/* ---------- Packs EcoludiK : contenu des cartons (Pack3E, Pack2E) ---------- */
.pk { display: grid; gap: 22px; margin-top: 34px; }
.pk__row { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px 44px; align-items: center; padding: 28px 32px; border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.pk__txt h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.pk__txt p { margin: 0; color: rgba(245,247,241,.72); font-size: 15px; line-height: 1.55; }
.pk__eq { display: flex; align-items: center; gap: 18px; }
.pk__box { position: relative; margin: 0; flex: 0 0 clamp(150px, 17vw, 210px); }
.pk__box img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.4)); }
.pk__code { position: absolute; left: -6%; top: -22%; z-index: 1; font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.02em; color: var(--lime-soft); transform: rotate(-8deg); text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.pk__items { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.pk__item { margin: 0; flex: 0 1 132px; min-width: 0; text-align: center; }
.pk__tile { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; background: #fff; padding: 12%; box-shadow: 0 14px 30px rgba(0,0,0,.28); transition: transform .3s ease; }
.pk__tile { position: relative; }
.pk__tile img { position: absolute; left: 12%; top: 10%; width: 76%; height: 80%; object-fit: contain; }
.pk__item:hover .pk__tile { transform: translateY(-4px) rotate(-1.5deg); }
.pk__item figcaption { margin-top: 10px; font-weight: 800; font-size: 15px; color: #fff; }
.pk__sign { flex: 0 0 auto; font-weight: 800; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; color: var(--lime); margin-top: -26px; }
.pk__eqs { margin-top: 0; }
/* animation à l'arrivée */
.pk.is-anim .pk__box, .pk.is-anim .pk__sign, .pk.is-anim .pk__item { opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .45s ease, transform .55s cubic-bezier(.3,1.5,.5,1); }
.pk.is-anim .pk__code { opacity: 0; transform: rotate(-8deg) scale(.6); transition: opacity .4s ease, transform .5s cubic-bezier(.3,1.7,.5,1); }
.pk.is-anim.is-in .pk__box, .pk.is-anim.is-in .pk__sign, .pk.is-anim.is-in .pk__item { opacity: 1; transform: none; }
.pk.is-anim.is-in .pk__code { opacity: 1; transform: rotate(-8deg); }
.pk.is-in .pk__row > .pk__eq > * , .pk.is-in .pk__items > * { transition-delay: var(--dl, 0s); }
.pk.is-in .pk__code { transition-delay: var(--dl, 0s); }
/* page Produits : écran + packs côte à côte */
.cat-packs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 24px; align-items: start; }
.pk--compact { margin-top: 0; gap: 18px; }
.pk--compact .pk__row { grid-template-columns: 1fr; padding: 22px 24px; gap: 18px; }
.pk--compact .pk__txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pk--compact .pk__txt h3 { margin: 0; font-size: 1.15rem; }
.pk--compact .pk__txt p { flex-basis: 100%; }
.pk--compact .pk__box { flex-basis: clamp(130px, 13vw, 170px); }
@media (max-width: 1000px) {
  .pk__row { grid-template-columns: 1fr; }
  .cat-packs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pk__row, .pk--compact .pk__row { padding: 22px 16px 20px; border-radius: 22px; }
  .pk__eq { flex-wrap: wrap; justify-content: center; gap: 10px 8px; }
  .pk__box, .pk--compact .pk__box { flex: 0 0 58%; margin-top: 18px; }
  .pk__eqs { flex-basis: 100%; text-align: center; transform: rotate(90deg); margin: 2px 0 6px; font-size: 2rem; }
  .pk.is-anim.is-in .pk__eqs { transform: rotate(90deg); }
  .pk__items { flex-basis: 100%; justify-content: center; gap: 6px; }
  .pk__item { flex: 0 1 96px; }
  .pk__tile { border-radius: 16px; }
  .pk__item figcaption { font-size: 13px; }
  .pk__sign { font-size: 1.6rem; margin-top: -22px; }
}

/* ---------- Gestion des ressources : alertes SMS / e-mail qui arrivent sur le smartphone ---------- */
.phone-sms { position: relative; }
.phone-sms.is-buzz img { animation: sms-buzz .45s ease; }
@keyframes sms-buzz { 15%, 55% { translate: -3px 0; } 35%, 75% { translate: 3px 0; } 100% { translate: 0 0; } }
.sms { position: absolute; top: 15%; left: -16%; right: -10%; z-index: 3; display: flex; flex-direction: column; pointer-events: none; }
.sms__msg { display: flex; gap: 12px; align-items: flex-start; padding: 0 14px; max-height: 0; margin-bottom: 0; overflow: hidden; border-radius: 18px; background: rgba(250, 252, 247, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 18px 40px rgba(3, 20, 19, .35), 0 0 0 1px rgba(8, 43, 42, .06); opacity: 0; transform: translateY(-18px) scale(.94); transition: max-height .5s cubic-bezier(.3,1,.4,1), padding .5s cubic-bezier(.3,1,.4,1), margin .5s ease, opacity .35s ease, transform .55s cubic-bezier(.3,1.5,.5,1); }
.sms__msg.is-on { max-height: 140px; padding: 12px 14px; margin-bottom: 10px; opacity: 1; transform: none; }
.sms__msg.is-old { opacity: .82; transform: scale(.97); }
.sms__app { flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--deep); color: var(--lime); font-weight: 800; font-size: 13px; letter-spacing: -.02em; position: relative; }
.sms__msg.is-on .sms__app::after { content: ""; position: absolute; inset: -4px; border-radius: 12px; border: 2px solid var(--lime); opacity: 0; animation: sms-ping 1.2s ease-out .2s 2; }
@keyframes sms-ping { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.sms__body { min-width: 0; flex: 1; }
.sms__top { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.sms__top b { color: var(--ink); font-size: 13px; }
.sms__ch { padding: 1px 7px; border-radius: 99px; background: #e5ecdf; color: var(--forest); font-weight: 700; font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; }
.sms__time { margin-left: auto; font-size: 11.5px; }
.sms__body p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.4; color: #2b3b36; }
.sms__body strong { color: var(--ink); }
.sms__msg--temp strong { color: #1f6fb2; }
.sms__msg--eau strong { color: #c0392b; }
.sms__msg--elec strong { color: #a86d00; }
.sms__cap { margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .sms { left: -2%; right: -2%; top: 12%; } .sms__body p { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .sms__msg { max-height: 140px; padding: 12px 14px; margin-bottom: 10px; opacity: 1; transform: none; transition: none; } .phone-sms.is-buzz img { animation: none; } }

/* ---------- Gestion des ressources : chambres froides en direct + export CSV animé ---------- */
.card--live .card__live { position: relative; background: radial-gradient(120% 90% at 0% 0%, #0e403f 0%, var(--deep) 60%); padding: 22px 22px 16px; flex: 1 0 auto; display: flex; }
.card--live .card__live > figure { flex: 1; min-width: 0; }
.cw, .xw { margin: 0; color: var(--text-light-2); display: flex; flex-direction: column; }
.cw figcaption, .xw figcaption { margin-top: auto; padding-top: 12px; font-size: 11.5px; color: rgba(245,247,241,.5); }
.cw__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.cw__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cw__t { --c: #6fd0ff; background: var(--forest); border: 1px solid transparent; border-radius: 16px; padding: 12px 14px 8px; transition: border-color .4s, background .4s; }
.cw__t[data-cw="neg"] { --c: #8fb3ff; }
.cw__t.is-alert { --c: #f0a58f; border-color: #f0a58f88; background: #2a3a35; }
.cw__head { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 750; color: #fff; }
.cw__ico { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); font-size: 13px; transition: background .4s, color .4s; }
.cw__st { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: #84cc1626; color: var(--lime-soft); transition: background .3s, color .3s; white-space: nowrap; }
.cw__t.is-alert .cw__st { background: #f0a58f2e; color: #f6c7ba; animation: cw-blink 1s ease-in-out infinite; }
@keyframes cw-blink { 50% { opacity: .55; } }
.cw__val { display: flex; align-items: baseline; gap: 4px; margin: 8px 0 2px; flex-wrap: wrap; }
.cw__val b { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.cw__val small { font-size: 13px; color: var(--text-light-2); }
.cw__seuil { margin-left: auto; font-size: 11px; color: #f3c623; opacity: .85; }
.cw__svg { display: block; width: 100%; height: 74px; overflow: visible; color: var(--c); transition: color .4s; }
.cw__lim { stroke: #f3c623; stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .7; vector-effect: non-scaling-stroke; }
.cw__line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cw__dot { fill: #fff; stroke: currentColor; stroke-width: 3; vector-effect: non-scaling-stroke; }
.cw__alert { display: grid; margin-top: 12px; padding: 11px 14px; border-radius: 12px; background: #84cc1614; font-size: 13.5px; transition: background .4s; }
.cw__alert > span { grid-area: 1 / 1; transition: opacity .35s ease, transform .35s ease; }
.cw__ok { color: var(--lime-soft); }
.cw__ko { color: #f6c7ba; opacity: 0; transform: translateY(6px); }
.cw__ko b { color: #fff; }
.cw__alert.is-on { background: #e06a4f26; }
.cw__alert.is-on .cw__ok { opacity: 0; transform: translateY(-6px); }
.cw__alert.is-on .cw__ko { opacity: 1; transform: none; }
.cw__chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cw__chips li { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--text-light-2); }
/* export */
.xw__fmt { font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 8px; background: #1f7a45; color: #fff; }
.xw__form { display: grid; gap: 8px; }
.xw__f { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--forest); border: 1px solid transparent; font-size: 12.5px; transition: border-color .3s; }
.xw__f.is-typing { border-color: var(--lime); }
.xw__f b { color: #fff; font-weight: 700; min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xw__f.is-typing b::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--lime); animation: cw-blink .7s steps(1) infinite; }
.xw__btn { position: relative; overflow: hidden; margin-top: 12px; height: 42px; border-radius: 12px; background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 14px; display: grid; place-items: center; transition: transform .15s ease, background .3s; }
.xw__btn.is-press { transform: scale(.97); }
.xw__bar { position: absolute; inset: 0; }
.xw__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #b9e67b; }
.xw__btn.is-load .xw__bar i { width: 100%; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.xw__lbl { position: relative; }
.xw__file { margin-top: 12px; border-radius: 14px; background: #fff; color: var(--ink); overflow: hidden; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .4s ease, transform .5s cubic-bezier(.3,1.3,.5,1); }
.xw__file.is-on { opacity: 1; transform: none; }
.xw__fh { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #e3e9de; font-size: 12px; }
.xw__fh b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xw__badge { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: #1f7a45; color: #fff; }
.xw__ok { margin-left: auto; white-space: nowrap; color: #1f7a45; font-weight: 750; font-size: 11.5px; }
.xw table { width: 100%; border-collapse: collapse; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.xw th { text-align: left; font-weight: 750; color: var(--muted); background: #f1f5ec; padding: 5px 10px; }
.xw td { padding: 5px 10px; border-top: 1px solid #eef2ea; }
.xw th:nth-child(n+3), .xw td:nth-child(n+3) { text-align: right; }
.xw tbody tr { opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.xw__file.is-on tbody tr { opacity: 1; transform: none; }
.xw__file.is-on tbody tr:nth-child(2) { transition-delay: .12s; } .xw__file.is-on tbody tr:nth-child(3) { transition-delay: .24s; }
.xw__file.is-on tbody tr:nth-child(4) { transition-delay: .36s; } .xw__file.is-on tbody tr:nth-child(5) { transition-delay: .48s; }
@media (max-width: 640px) {
  .card--live .card__live { padding: 16px 14px 12px; }
  .cw__grid { grid-template-columns: 1fr; }
  .cw__svg { height: 60px; }
  .xw__f { grid-template-columns: 92px 1fr; }
  .xw td:nth-child(1), .xw th:nth-child(1) { display: none; }
}
.card.card--media { padding: 0; }
@media (max-width: 760px) { .card.card--media .card__body { padding: 22px 20px 24px; } }
.cw__grid { flex: 1; }
.cw__t { display: flex; flex-direction: column; }
.cw__svg { flex: 1; min-height: 74px; height: auto; }
@media (max-width: 640px) { .cw__svg { min-height: 60px; flex: none; height: 60px; } }
.cw__plot { position: relative; flex: 1; min-height: 74px; display: flex; }
.cw__plot .cw__svg { flex: 1; min-height: 0; height: auto; }
.cw__pin { position: absolute; right: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--c), 0 0 12px var(--c); transition: top .35s linear; }
@media (max-width: 640px) { .cw__plot { flex: none; height: 60px; min-height: 0; } }


/* ---------- Mobilité : sous-liens du menu, badges, pages PLUGY et stations vélo ---------- */
.nav__subsub { display: flex; gap: 6px; padding: 0 10px 8px; }
.nav__sub .nav__subsub a { display: inline-flex; padding: 5px 10px; border-radius: 99px; background: #ffffff0f; color: var(--lime-soft); font-size: 12.5px; font-weight: 700; }
.nav__sub .nav__subsub a:hover, .nav__sub .nav__subsub a[aria-current="page"] { background: #84cc1626; }
.footer-sub a { padding-left: 14px; position: relative; font-size: .94em; opacity: .85; }
.footer-sub a::before { content: "–"; position: absolute; left: 0; }
.pg-badges { list-style: none; padding: 0; margin: 22px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 99px; background: #ffffff10; border: 1px solid var(--line-dark); color: #fff; font-weight: 700; font-size: 14px; }
.pg-badges svg { width: 18px; height: 18px; color: var(--lime); }
.pg-flag { display: inline-flex; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px #ffffff40; }
.pg-flag i { flex: 1; } .pg-flag i:nth-child(1) { background: #0055a4; } .pg-flag i:nth-child(2) { background: #fff; } .pg-flag i:nth-child(3) { background: #ef4135; }
.pg-flag-ico { display: inline-grid !important; place-items: center; }
.pg-flag-ico .pg-flag { width: 26px; height: 18px; box-shadow: 0 0 0 1px #0002; }
.pg-tour { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.pg-steps { list-style: none; counter-reset: st; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.pg-steps li { counter-increment: st; position: relative; padding-left: 52px; }
.pg-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #84cc161f; color: var(--lime); font-weight: 800; font-size: 13px; }
.pg-steps b { display: block; color: #fff; font-size: 1.05rem; }
.pg-steps span { display: block; color: var(--text-light-2); font-size: 15px; line-height: 1.5; margin-top: 2px; }
/* schéma du cycle */
.cy { margin: 0; background: var(--deep); border: 1px solid var(--line-dark); border-radius: var(--radius-card-lg); padding: 24px; box-shadow: var(--shadow-deep); }
.cy__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cy__station { display: flex; align-items: center; gap: 12px; }
.cy__station > .icon, .cy__station > svg { width: 44px; height: 44px; border-radius: 14px; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; padding: 10px; }
.cy__station > .icon svg { width: 24px; height: 24px; }
.cy__station b { display: block; color: #fff; font-size: 15px; margin-top: 2px; }
.cy__clock { text-align: right; }
.cy__clock b { font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cy__clock small { color: var(--text-light-2); font-size: 13px; margin-left: 4px; }
.cy__line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 20px 0 16px; }
.cy__seg { position: relative; height: 30px; border-radius: 9px; background: var(--forest); overflow: hidden; display: grid; place-items: center; }
.cy__seg i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #84cc1640, #84cc1699); }
.cy__seg b { position: relative; font-size: 12px; color: var(--text-light-2); font-weight: 800; }
.cy__seg.is-on b { color: #fff; }
.cy__seg.is-skip { opacity: .35; }
.cy__cars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cy__car { background: var(--forest); border: 1.5px solid transparent; border-radius: 16px; padding: 12px; transition: border-color .35s, transform .35s, box-shadow .35s, opacity .35s; }
.cy__car.is-on { border-color: var(--lime); transform: translateY(-4px); box-shadow: 0 0 0 4px #84cc161a, 0 16px 30px #0006; }
.cy__car.is-full { opacity: .6; }
.cy__head { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; }
.cy__head svg { width: 20px; height: 20px; color: var(--text-light-2); }
.cy__car.is-on .cy__head svg { color: var(--lime); }
.cy__n { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: #ffffff14; font-size: 11px; font-weight: 800; }
.cy__car.is-on .cy__n { background: var(--lime); color: var(--on-lime); }
.cy__batt { position: relative; height: 22px; margin: 12px 0 8px; border-radius: 7px; background: #0b2424; overflow: hidden; }
.cy__batt i { position: absolute; left: 0; top: 0; bottom: 0; background: #5f8f5a; transition: width .3s linear, background .3s; }
.cy__car.is-on .cy__batt i { background: linear-gradient(90deg, #6aa52a, var(--lime)); }
.cy__car.is-on .cy__batt i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffff55, transparent); animation: cy-flow 1s linear infinite; }
@keyframes cy-flow { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.cy__batt span { position: relative; display: grid; place-items: center; height: 100%; font-size: 12px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.cy__st { font-size: 12px; font-weight: 750; color: var(--text-light-2); min-height: 1.4em; }
.cy__car.is-on .cy__st { color: var(--lime-soft); }
.cy__car.is-full .cy__st { color: #8fd6a7; }
.cy__kw { font-size: 11.5px; color: var(--text-light-2); margin-top: 2px; }
.cy__kw b { color: #fff; }
.cy__msg { margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: #84cc1614; color: var(--lime-soft); font-size: 14px; min-height: 44px; }
.cy figcaption { margin-top: 10px; font-size: 11.5px; color: rgba(245,247,241,.5); }
.pg-trust .card h3 { margin-top: 14px; }
/* hub */
.mob-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mob-card { display: flex; flex-direction: column; border-radius: var(--radius-card-lg); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .3s ease, box-shadow .3s ease; }
.mob-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mob-card__img { aspect-ratio: 16 / 8; overflow: hidden; }
.mob-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mob-card:hover .mob-card__img img { transform: scale(1.04); }
.mob-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mob-card__body h3 { font-size: 1.55rem; margin: 4px 0 0; }
.mob-card__body p { color: var(--muted); margin: 0; }
.mob-card__pts { list-style: none; padding: 0; margin: 8px 0 6px; display: grid; gap: 6px; }
.mob-card__pts li { position: relative; padding-left: 20px; font-weight: 650; font-size: 15px; }
.mob-card__pts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 3px; background: var(--lime); }
.mob-card .link-arrow { margin-top: auto; padding-top: 10px; }
.mob-next { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; padding: 18px; border-radius: var(--radius-card-lg); background: var(--forest); border: 1px solid var(--line-dark); text-decoration: none; color: var(--text-light-2); transition: transform .3s ease; }
.mob-next:hover { transform: translateY(-3px); }
.mob-next__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.mob-next__img img { width: 100%; height: 100%; object-fit: cover; }
.mob-next h3 { color: #fff; font-size: 1.4rem; margin: 6px 0; }
.mob-next p { margin: 0 0 8px; }
.section--line .mob-next { background: var(--forest); }
/* stations vélo */
.vf-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.vf { grid-column: span 2; background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.vf:nth-child(4), .vf:nth-child(5) { grid-column: span 3; }
.vf__img { aspect-ratio: 16 / 9; overflow: hidden; }
.vf__img img { width: 100%; height: 100%; object-fit: cover; }
.vf__body { padding: 18px 22px 22px; }
.vf__n { font-weight: 800; color: #e0a100; font-size: 1.1rem; }
.vf__body h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.vf__body p { margin: 0; color: var(--muted); }
.vapp { max-width: 260px; margin: 0 auto; text-align: center; }
.vapp img { width: 100%; height: auto; border-radius: 26px; box-shadow: var(--shadow-deep); }
.vapp figcaption { margin-top: 10px; font-size: 12px; color: var(--text-light-2); }
@media (max-width: 1100px) { .pg-tour { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 900px) {
  .mob-split { grid-template-columns: 1fr; }
  .vf-grid { grid-template-columns: 1fr 1fr; }
  .vf, .vf:nth-child(4), .vf:nth-child(5) { grid-column: span 1; }
  .vf:nth-child(5) { grid-column: span 2; }
  .mob-next { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cy { padding: 16px; }
  .cy__cars { grid-template-columns: 1fr 1fr; }
  .cy__clock b { font-size: 1.5rem; }
  .vf-grid { grid-template-columns: 1fr; }
  .vf:nth-child(5) { grid-column: span 1; }
  .pg-badges li { font-size: 13px; }
}
.pg-badges .icon, .cy__head .icon { width: auto; height: auto; padding: 0; background: none; border-radius: 0; margin: 0; display: inline-flex; }
.pg-badges .icon svg { width: 18px; height: 18px; }
.cy__head .icon svg { width: 18px; height: 18px; }
.cy__cars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cy__head b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.vf:nth-child(4) { grid-column: 2 / span 2; } .vf:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 900px) { .vf:nth-child(4) { grid-column: span 1; } .vf:nth-child(5) { grid-column: 1 / -1; max-width: 50%; justify-self: center; } }
@media (max-width: 640px) { .cy__cars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vf:nth-child(5) { max-width: none; } .cy__station b { font-size: 13.5px; } .cy__clock small { display: block; } }

/* ---------- PLUGY : en-tête centré + vitrine photo, repères 1 à 4 des points de charge ---------- */
.page-hero--center { text-align: center; padding-bottom: 36px; }
.page-hero--center .wrap { max-width: 980px; }
.page-hero--center .breadcrumb, .page-hero--center .pg-badges, .page-hero--center .btn-row { justify-content: center; }
.page-hero--center .lead { margin-left: auto; margin-right: auto; max-width: 720px; }
.pshow { position: relative; }
.pshow__sticky { padding: 0 var(--gutter, 24px) 56px; display: flex; flex-direction: column; align-items: center; }
.pshow__frame { position: relative; margin: 0; width: 100%; max-width: var(--container); aspect-ratio: 1620 / 750; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-deep); container-type: inline-size; }
.pshow__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pshow__pts { position: absolute; inset: 0; pointer-events: none; }
.pshow__pt { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .5cqw; }
.pshow__pt b { width: clamp(30px, 4.6cqw, 64px); height: clamp(30px, 4.6cqw, 64px); border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: clamp(15px, 2.2cqw, 30px); box-shadow: 0 10px 24px rgba(0,0,0,.25); position: relative; }
.pshow__pt b::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; }
.pshow__pt i { font-style: normal; font-weight: 800; font-size: clamp(10px, 1.05cqw, 14px); color: #fff; background: rgba(8, 43, 42, .78); padding: .25em .7em; border-radius: 99px; letter-spacing: .02em; }
.pshow__pt { opacity: 0; transform: translate(-50%, -30%) scale(.6); transition: opacity .45s ease, transform .55s cubic-bezier(.3,1.6,.5,1); }
.pshow__pt.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pshow__pt.is-on b::after { animation: pt-ping 1.4s ease-out .2s 2; }
@keyframes pt-ping { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.5); } }
.pshow__cap { margin: 22px 0 0; display: flex; align-items: baseline; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.pshow__cap.is-on { opacity: 1; transform: none; }
.pshow__cap b { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.pshow__cap span { font-size: 15px; color: var(--text-light-2); }
/* desktop : la photo part de la largeur du contenu et s'étend presque bord à bord */
.pshow--on { height: 220vh; }
.pshow--on .pshow__sticky { position: sticky; top: 0; height: 100vh; padding: var(--header-h, 84px) 0 0; justify-content: center; overflow: hidden; }
.pshow--on .pshow__frame { width: var(--w, 1192px); max-width: none; border-radius: var(--rad, 28px); }
.pshow--on .pshow__frame img { transform: scale(var(--zoom, 1.12)); transform-origin: 50% 60%; }
@media (max-width: 900px) {
  .pshow__frame { border-radius: 20px; }
  .pshow__cap { margin-top: 16px; flex-direction: column; align-items: center; gap: 2px; }
}

/* ---------- PLUGY : roue du cycle ---------- */
.cy__main { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 18px; }
.cy__loop { font-size: 12.5px; font-weight: 750; color: var(--lime-soft); padding: 6px 12px; border-radius: 99px; background: #84cc161a; white-space: nowrap; }
.cy__ring { position: relative; width: 100%; aspect-ratio: 1; }
.cy__ring svg { width: 100%; height: 100%; overflow: visible; }
.cy__orbit { fill: none; stroke: #ffffff26; stroke-width: 1.5; stroke-dasharray: 3 7; transform-origin: 100px 100px; animation: cy-spin 14s linear infinite; }
@keyframes cy-spin { to { transform: rotate(360deg); } }
.cy__track { fill: none; stroke: var(--forest); stroke-width: 16; stroke-linecap: round; }
.cy__fill { fill: none; stroke: var(--lime); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.cy__q.is-done .cy__fill { stroke: #5f8f5a; }
.cy__q.is-skip .cy__track { stroke: #ffffff10; }
.cy__q text { fill: var(--text-light-2); font-size: 12px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; }
.cy__q.is-on text { fill: #fff; }
.cy__hand { transform-origin: 100px 100px; transform: rotate(var(--a, 0deg)); }
.cy__hand line { stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; opacity: .6; }
.cy__hand circle { fill: #fff; stroke: var(--lime); stroke-width: 3; filter: drop-shadow(0 0 6px var(--lime)); }
.cy__hub { fill: var(--deep); stroke: #ffffff14; }
.cy__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.cy__center b { font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 2px; }
.cy__center small { font-size: 11.5px; color: var(--text-light-2); }
.cy__main .cy__cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .cy__main { grid-template-columns: 1fr; justify-items: center; }
  .cy__ring { max-width: 220px; }
  .cy__main .cy__cars { width: 100%; }
  .cy__loop { display: none; }
}
}
.cy__chev { fill: none; stroke: var(--lime-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.cy__hand line { opacity: .9; stroke-width: 3; }
.cy__main { grid-template-columns: 250px minmax(0, 1fr); }
.cy__center b { font-size: 1.55rem; }
/* PLUGY : visuel détouré de l'en-tête */
.page-hero__img--plain img[src*="plugy-premium"] { max-height: none; width: 100%; filter: drop-shadow(0 30px 40px #0008); }
.page-hero__img--plain:has(img[src*="plugy-premium"]) { position: relative; }
.page-hero__img--plain:has(img[src*="plugy-premium"])::before { content: ""; position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(closest-side, #84cc1638, transparent); filter: blur(20px); z-index: -1; }
/* PLUGY : photo d'en-tête plus présente (borne + 2 poteaux) */
.page-hero__grid:has(img[src*="plugy-hero"]) { grid-template-columns: .9fr 1.1fr; gap: 48px; }
@media (min-width: 1200px) { .page-hero__img:has(img[src*="plugy-hero"]) { margin-right: -56px; } }
@media (max-width: 1000px) { .page-hero__grid:has(img[src*="plugy-hero"]) { grid-template-columns: 1fr; } }
.page-hero__grid:has(img[src*="plugy-hero"]) h1 { font-size: clamp(2.3rem, 1rem + 3vw, 3.7rem); }
/* PLUGY : application de paiement et personnalisation, même hauteur */
.pg-duo { align-items: stretch; }
.pg-duo .media { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card-lg); overflow: hidden; }
.pg-duo .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .pg-duo .media { aspect-ratio: auto; } .pg-duo .media img { height: auto; } }
/* colonnes proportionnelles aux formats des deux images : même hauteur sans recadrage */
.pg-duo { grid-template-columns: 1.333fr 1.777fr; }
.pg-duo .media { aspect-ratio: auto; }
.pg-duo .media img { height: auto; display: block; }
@media (max-width: 900px) { .pg-duo { grid-template-columns: 1fr; } }
/* Stations vélo : visuel d'en-tête plus présent + critères Accueil Vélo */
.page-hero__grid:has(img[src*="velo-station-scene"]) { grid-template-columns: .85fr 1.15fr; gap: 48px; }
@media (min-width: 1200px) { .page-hero__img:has(img[src*="velo-station-scene"]) { margin-right: -64px; } }
.page-hero__img:has(img[src*="velo-station-scene"]) img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 38% 60%; }
.page-hero__grid:has(img[src*="velo-station-scene"]) h1 { font-size: clamp(2.3rem, 1rem + 3vw, 3.7rem); }
@media (max-width: 1000px) { .page-hero__grid:has(img[src*="velo-station-scene"]) { grid-template-columns: 1fr; } }
.av-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.av-list li { position: relative; padding: 18px 20px 18px 62px; border-radius: 18px; background: var(--forest); border: 1px solid var(--line-dark); }
.av-list li::before { content: "+"; position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #ffffff14; color: var(--text-light-2); font-weight: 800; }
.av-list li.is-ok::before { content: "✓"; background: var(--lime); color: var(--on-lime); }
.av-list b { display: block; color: #fff; }
.av-list span { display: block; color: var(--text-light-2); font-size: 14.5px; margin-top: 2px; }
/* Logo Accueil Vélo */
.av-hero { display: flex; align-items: center; gap: 16px; margin: 22px 0 4px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #ffffff0d; border: 1px solid var(--line-dark); max-width: 520px; }
.av-logo { flex: none; display: block; width: 64px; padding: 6px; border-radius: 12px; background: #fff; }
.av-logo img, .av-mark img { display: block; width: 100%; height: auto; }
.av-hero p { margin: 0; }
.av-hero b { display: block; color: #fff; font-size: 16px; }
.av-hero span { display: block; color: var(--text-light-2); font-size: 14px; margin-top: 2px; }
.av-mark { width: 96px; padding: 10px; border-radius: 16px; background: #fff; margin-bottom: 22px; box-shadow: var(--shadow-deep); }
@media (max-width: 640px) { .av-logo { width: 54px; } .av-mark { width: 80px; } }
/* Pastille Accueil Vélo dans l'angle de la photo */
.velo-hero { position: relative; overflow: visible !important; }
.velo-hero > img { border-radius: var(--radius-card-lg); }
.page-hero__img.velo-hero { background: none; box-shadow: none; }
.velo-hero > img { box-shadow: var(--shadow-deep); }
.av-pastille { position: absolute; right: -22px; top: -26px; z-index: 2; width: clamp(92px, 9vw, 124px); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; animation: av-pop .7s cubic-bezier(.3,1.6,.5,1) .5s both; }
.av-pastille img { width: 100%; height: auto; border-radius: 50%; box-shadow: 0 14px 30px rgba(0,0,0,.45), 0 0 0 5px var(--deep); transition: transform .3s ease; }
.av-pastille:hover img { transform: rotate(-6deg) scale(1.05); }
.av-pastille span { font-size: 11.5px; font-weight: 800; color: var(--deep); background: var(--lime); padding: 4px 10px; border-radius: 99px; white-space: nowrap; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
@keyframes av-pop { from { opacity: 0; transform: scale(.5) rotate(-20deg); } to { opacity: 1; transform: none; } }
.av-mark { width: 110px; padding: 0; background: none; box-shadow: none; }
.av-mark img { border-radius: 50%; box-shadow: var(--shadow-deep); }
@media (min-width: 1200px) { .velo-hero { margin-right: -64px; } }
@media (max-width: 1000px) { .av-pastille { right: 10px; top: -20px; } }
@media (max-width: 640px) { .av-pastille { width: 78px; top: -18px; right: 8px; } .av-pastille span { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .av-pastille { animation: none; } }
/* Pastille Accueil Vélo : logo rond seul, posé dans la photo (coin bas droit) */
.av-pastille { top: auto; right: 22px; bottom: 22px; width: clamp(84px, 8vw, 112px); aspect-ratio: 1; display: block; gap: 0; border-radius: 50%; overflow: hidden; background: transparent; }
.av-pastille img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
@media (min-width: 1200px) { .velo-hero .av-pastille { right: 22px; } }
@media (max-width: 1000px) { .av-pastille { right: 14px; bottom: 14px; top: auto; } }
@media (max-width: 640px) { .av-pastille { width: 70px; right: 12px; bottom: 12px; top: auto; } }
/* Mobilité : deux photos en en-tête + titres au-dessus des cartes */
.mob-duo { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: end; }
.mob-duo a { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-deep); text-decoration: none; }
.mob-duo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mob-duo a:hover img { transform: scale(1.04); }
.mob-duo__a { aspect-ratio: 4 / 5; }
.mob-duo__a img { object-position: 50% 50%; }
.mob-duo__b { aspect-ratio: 4 / 5; transform: translateY(-36px); }
.mob-duo__b img { object-position: 30% 60%; }
.mob-duo span { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 99px; background: rgba(8,43,42,.82); backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 750; }
.mob-card__title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 18px 24px; font-size: 1.15rem; color: var(--ink); border-bottom: 1px solid var(--border); }
.mob-card__title .icon { width: 34px; height: 34px; margin: 0; border-radius: 10px; }
.mob-card__title .icon svg { width: 18px; height: 18px; }
.mob-card__name { font-size: 1.45rem; margin: 4px 0 0; }
@media (max-width: 1000px) { .mob-duo { max-width: 560px; } .mob-duo__b { transform: none; } }
@media (max-width: 640px) { .mob-duo { grid-template-columns: 1fr 1fr; gap: 10px; } .mob-duo span { font-size: 11px; left: 8px; bottom: 8px; padding: 5px 9px; } }
.page-hero__grid:has(.mob-duo) h1 { font-size: clamp(2.2rem, 1rem + 2.8vw, 3.5rem); }
/* Pack2E : 3 déclinaisons, les appareils changent en fondu */
.pk__slot { position: relative; flex: 0 1 132px; min-width: 0; display: grid; }
.pk__slot .pk__alt { grid-area: 1 / 1; flex: none; width: 100%; opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .45s ease, transform .5s cubic-bezier(.3,1.4,.5,1); pointer-events: none; }
.pk__slot .pk__alt.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pk.is-anim .pk__slot { opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .45s ease, transform .55s cubic-bezier(.3,1.5,.5,1); }
.pk.is-anim.is-in .pk__slot { opacity: 1; transform: none; transition-delay: var(--dl, 0s); }
.pk__vars { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pk__var { position: relative; overflow: hidden; font: inherit; font-size: 13px; font-weight: 750; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-dark); background: transparent; color: var(--text-light-2); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pk__var:hover { color: #fff; border-color: #ffffff40; }
.pk__var.is-on { background: #84cc1626; border-color: var(--lime); color: #fff; }
.pk__var i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--lime); }
.pk__var.is-on.is-run i { animation: pk-bar var(--pkd, 3200ms) linear forwards; }
@keyframes pk-bar { to { width: 100%; } }
@media (max-width: 640px) { .pk__slot { flex: 0 1 96px; } .pk__vars { justify-content: center; } .pk__var { font-size: 12px; padding: 6px 10px; } }
.pk.pk .pk__slot .pk__alt.pk__item { opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .45s ease, transform .5s cubic-bezier(.3,1.4,.5,1); transition-delay: 0s; }
.pk.pk .pk__slot .pk__alt.pk__item.is-on { opacity: 1; transform: none; }

/* ---------- Barre « Prochains salons » tout en haut du site ---------- */
.tb { position: relative; z-index: 51; background: var(--lime-soft); color: var(--on-lime); font-size: 13px; }
.tb[hidden] { display: none; }
.tb__in { display: flex; align-items: center; justify-content: center; gap: 8px 14px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.tb__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.tb__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-lime); animation: tb-pulse 1.8s ease-out infinite; }
@keyframes tb-pulse { 0% { box-shadow: 0 0 0 0 rgba(23,53,24,.55); } 100% { box-shadow: 0 0 0 8px rgba(23,53,24,0); } }
.tb__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 10px; flex-wrap: nowrap; }
.tb__list li { display: flex; align-items: center; }
.tb__list li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; margin-right: 10px; }
.tb__list li.is-past { display: none; }
.tb__list a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; transition: border-color .2s; }
.tb__list a:hover { border-color: currentColor; }
.tb__list b { font-weight: 800; }
.tb__date { font-weight: 700; padding: 1px 7px; border-radius: 99px; background: rgba(23,53,24,.12); }
.tb__list svg { width: 14px; height: 14px; }
@media (max-width: 1140px) {
  .tb__in { justify-content: flex-start; gap: 12px; min-height: 40px; flex-wrap: nowrap; }
  .tb__label { font-size: 11px; }
  .tb__label { flex: none; }
  .tb__list { position: relative; flex: 1; min-width: 0; height: 24px; display: block; overflow: hidden; }
  .tb__list li { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); transition: opacity .4s ease, transform .45s ease; }
  .tb__list li + li::before { display: none; }
  .tb__list li.is-show { opacity: 1; transform: none; }
  .tb__list li.is-out { opacity: 0; transform: translateY(-100%); }
  .tb__list a { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) { .tb__dot { animation: none; } }
/* Gestion des ressources : widgets températures / export en sections séparées */
.live-fig { border-radius: var(--radius-card-lg); background: radial-gradient(120% 90% at 0% 0%, #0e403f 0%, var(--deep) 60%); padding: 22px 22px 16px; box-shadow: var(--shadow-deep); display: flex; }
.live-fig > figure { flex: 1; min-width: 0; }
.live-fig .xw__file { min-height: 0; }
@media (max-width: 640px) { .live-fig { padding: 16px 14px 12px; } }
/* Gestion des ressources : pastille « Sans abonnement » sur l'ordinateur */
.noabo-stk { position: absolute; z-index: 4; right: 2%; top: 4%; width: clamp(104px, 10vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--lime-soft); color: var(--on-lime); display: grid; place-items: center; text-align: center; box-shadow: 0 14px 30px rgba(0,0,0,.35); animation: stk-in .8s cubic-bezier(.3,1.6,.5,1) .6s both, stk-wobble 5s ease-in-out 1.4s infinite; }
.noabo-stk::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(23,53,24,.45); animation: stk-spin 18s linear infinite; }
.noabo-stk::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lime-soft); opacity: 0; animation: stk-ping 2.6s ease-out 1.6s infinite; }
.noabo-stk__in { display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.noabo-stk b { font-weight: 800; font-size: clamp(13px, 1.25vw, 16px); letter-spacing: -.01em; }
.noabo-stk b:first-child { font-size: clamp(16px, 1.6vw, 21px); }
.noabo-stk i { font-style: normal; font-size: 10.5px; font-weight: 700; margin-top: 5px; padding: 2px 7px; border-radius: 99px; background: rgba(23,53,24,.14); }
@keyframes stk-in { from { opacity: 0; transform: scale(.4) rotate(-30deg); } to { opacity: 1; transform: rotate(-8deg); } }
@keyframes stk-wobble { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(6deg) scale(1.05); } }
@keyframes stk-spin { to { transform: rotate(360deg); } }
@keyframes stk-ping { 0% { opacity: .8; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.25); } }
@media (max-width: 760px) { .noabo-stk { width: 88px; right: 0; top: 8%; } .noabo-stk i { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .noabo-stk, .noabo-stk::before, .noabo-stk::after { animation: none; transform: rotate(-8deg); } }
@media (max-width: 760px) { .noabo-stk { right: 10px; } }
/* pastille fixe : plus de balancement ni de pointillés qui tournent, seulement le halo */
.noabo-stk { animation: stk-in .8s cubic-bezier(.3,1.6,.5,1) .6s both; transform: rotate(-8deg); }
.noabo-stk::before { animation: none; }
/* Sensibilisation : logo SETT d'Or 2024, discret, en bas à gauche de l'écran */
.sett-hero { position: relative; }
.sett-stk { position: absolute; z-index: 2; left: -8%; bottom: -2%; width: clamp(72px, 7vw, 96px); }
.sett-stk img { display: block; width: 100% !important; height: auto !important; max-height: none !important; margin: 0 !important; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)) !important; }
@media (max-width: 1000px) { .sett-stk { left: 0; } }
@media (max-width: 760px) { .sett-stk { width: 64px; left: 4px; bottom: 0; } }
.sett-stk { left: auto; right: calc(100% + 14px); bottom: 4%; width: clamp(68px, 6vw, 88px); }
.sett-stk img { filter: none !important; }
@media (max-width: 1000px) { .sett-hero { margin-bottom: 70px; } .sett-stk { right: auto; left: 0; bottom: -78px; width: 64px; } }
@media (max-width: 1000px) { .sett-hero { margin-bottom: 56px; } .sett-stk { left: 50%; transform: translateX(-50%); bottom: -64px; width: 58px; } }
/* Export : logos CSV et Excel sous la liste */
.fmt-row { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.fmt-tile { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.3); flex: none; }
.fmt-tile img { width: 100%; height: 100%; display: block; object-fit: cover; }
.fmt-plus { color: var(--lime-soft); font-weight: 800; font-size: 1.3rem; }
.fmt-txt { margin-left: 6px; color: var(--text-light-2); font-size: 15px; }
.fmt-txt b { color: #fff; }
/* Qui sommes-nous : parcours des fondateurs */
.person { align-items: start; }
.cv { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.cv li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--text-light-2); line-height: 1.45; }
.cv li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--lime); }
.duo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.duo__item { padding: 22px 24px; border-radius: var(--radius-card-lg); background: #ffffff08; border: 1px solid var(--line-dark); }
.duo__item b { display: block; color: var(--lime-soft); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.duo__item span { color: var(--text-light-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.duo__item span { display: block; }

/* ---------- Qui sommes-nous : carte de présence nationale ---------- */
.fm { margin: 0; max-width: 520px; justify-self: center; width: 100%; }
.fm svg { width: 100%; height: auto; overflow: visible; }
.fm__land { fill: #ffffff0d; stroke: var(--lime-soft); stroke-opacity: .45; stroke-width: 1.5; stroke-linejoin: round; }
.fm__dot { fill: var(--lime); }
.fm__halo { fill: none; stroke: var(--lime); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fm__pin { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); transition: opacity .4s ease, transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i) * 90ms + 300ms); }
.fm.is-in .fm__pin { opacity: 1; transform: none; }
.fm.is-in .fm__halo { animation: fm-ping 2.4s ease-out infinite; animation-delay: calc(var(--i) * 240ms + 1.2s); }
@keyframes fm-ping { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
.fm__hq circle { fill: #fff; stroke: var(--lime); stroke-width: 3; }
.fm__hq path { fill: var(--deep); }
.fm__lbl { fill: #fff; font-size: 14px; font-weight: 800; paint-order: stroke; stroke: var(--forest); stroke-width: 5px; }
.fm-stats { display: flex; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.fm-stats b { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--lime-soft); letter-spacing: -.04em; line-height: 1; }
.fm-stats span { display: block; margin-top: 6px; color: var(--text-light-2); font-size: 14.5px; max-width: 200px; }
@media (prefers-reduced-motion: reduce) { .fm__pin { opacity: 1; transform: none; transition: none; } .fm__halo { animation: none !important; } }
.tel-line { display: block; margin-top: 6px; } .tel-line .small { display: block; } .tel-line + .tel-line { margin-top: 10px; }
/* Mobilité : la photo survolée s'agrandit, l'autre se réduit */
@media (hover: hover) and (min-width: 1001px) {
  .mob-duo { grid-template-columns: 1.15fr .85fr; transition: grid-template-columns .6s cubic-bezier(.4,0,.2,1); }
  .mob-duo a { transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .4s ease, box-shadow .4s ease; }
  .mob-duo:has(.mob-duo__b:hover) { grid-template-columns: .7fr 1.3fr; }
  .mob-duo:has(.mob-duo__a:hover) { grid-template-columns: 1.3fr .7fr; }
  .mob-duo:has(.mob-duo__b:hover) .mob-duo__b { transform: translateY(-12px); }
  .mob-duo:has(.mob-duo__b:hover) .mob-duo__a { transform: translateY(24px); opacity: .7; }
  .mob-duo:has(.mob-duo__a:hover) .mob-duo__b { opacity: .7; }
  .mob-duo a:hover img { transform: none; }
}

/* ======================= PRL & propriétaires ======================= */
.page-hero__img--plain img[src*="visuels-application-19"] { max-height: 460px; animation: floaty 7s ease-in-out infinite; }
/* Flux compteur → facture */
.pf { position: relative; margin-top: 46px; }
.pf__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.pf__line { position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 2px; background: var(--line-dark); }
.pf__line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--lime); transition: width 1.6s cubic-bezier(.4,0,.2,1) .3s; }
.pf.is-in .pf__line i { width: 100%; }
.pf__line em { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #84cc1640, 0 0 14px var(--lime); opacity: 0; }
.pf.is-in .pf__line em { animation: pf-run 3.2s cubic-bezier(.5,0,.5,1) 2s infinite; }
@keyframes pf-run { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.pf__step { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: .35; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * .35s + .2s); }
.pf.is-in .pf__step { opacity: 1; transform: none; }
.pf__ico { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; background: var(--forest); border: 1.5px solid var(--line-dark); color: var(--lime); transition: background .4s, border-color .4s, box-shadow .4s; transition-delay: inherit; }
.pf.is-in .pf__ico { background: #183f35; border-color: var(--lime); box-shadow: 0 0 0 6px #84cc1614; }
.pf__ico svg { width: 30px; height: 30px; }
.pf__n { margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--lime-soft); letter-spacing: .08em; }
.pf__step b { color: #fff; font-size: 1.1rem; }
.pf__step > span:last-child { color: var(--text-light-2); font-size: 14.5px; max-width: 220px; line-height: 1.45; }
@media (max-width: 860px) {
  .pf__list { grid-template-columns: 1fr; gap: 22px; }
  .pf__line { left: 34px; right: auto; top: 34px; bottom: 34px; width: 2px; height: auto; }
  .pf__line i { width: 100% !important; height: 0; transition: height 1.6s cubic-bezier(.4,0,.2,1) .3s; }
  .pf.is-in .pf__line i { height: 100%; }
  .pf__line em { display: none; }
  .pf__step { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; text-align: left; align-items: center; }
  .pf__ico { grid-row: span 3; }
  .pf__n { margin: 0; }
}
/* Téléphone portail client */
.pp { margin: 0 auto; max-width: 330px; width: 100%; }
.pp__dev { position: relative; border-radius: 44px; padding: 12px; background: #11161a; box-shadow: 0 0 0 2px #2c3438, 0 30px 60px rgba(0,0,0,.35); }
.pp__notch { position: absolute; left: 50%; top: 18px; width: 90px; height: 22px; margin-left: -45px; border-radius: 99px; background: #000; z-index: 2; }
.pp__scr { border-radius: 34px; background: #fff; color: #1d2a2a; padding: 52px 18px 18px; overflow: hidden; }
.pp__hi b { display: block; font-size: 18px; }
.pp__hi span { font-size: 12.5px; color: #6b7a78; }
.pp__tabs { display: flex; gap: 6px; margin: 14px 0 12px; }
.pp__tabs span { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: #eef2ee; color: #4a5a58; transition: background .3s, color .3s; }
.pp__tabs span.is-on { background: #1f8a4c; color: #fff; }
.pp__kpi { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.pp__kpi > div { border-radius: 16px; padding: 10px 12px; background: var(--pp-bg, #e8f2fc); transition: background .4s; }
.pp__kpi small { display: block; font-size: 11px; color: #5e6e6c; }
.pp__kpi b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--pp-c, #1f6fb2); font-variant-numeric: tabular-nums; transition: color .4s; }
.pp__kpi em { font-style: normal; font-size: 13px; font-weight: 700; }
.pp__kpi .pp__cost { background: #e9f6ec; } .pp__kpi .pp__cost b { color: #1f8a4c; }
.pp[data-mode="ele"] { --pp-bg: #fdf3dc; --pp-c: #c07a00; }
.pp__chart { display: flex; align-items: flex-end; gap: 4px; height: 120px; margin: 16px 0 6px; padding-bottom: 16px; position: relative; }
.pp__bar { flex: 1; height: 100%; position: relative; display: flex; align-items: flex-end; }
.pp__bar i { display: block; width: 100%; height: var(--h, 0%); border-radius: 4px 4px 1px 1px; background: var(--pp-c, #3b82f6); transition: height .7s cubic-bezier(.2,.8,.2,1), background .4s; transition-delay: calc(var(--k) * 40ms); }
.pp:not([data-mode="ele"]) .pp__bar i { background: #3b82f6; }
.pp.is-in .pp__bar i { --h: var(--e); }
.pp.is-in[data-mode="ele"] .pp__bar i { --h: var(--l); background: #f2a71b; }
.pp__bar small { position: absolute; bottom: -16px; left: 0; right: 0; text-align: center; font-size: 9.5px; color: #8a9896; }
.pp__eko { display: flex; gap: 8px; align-items: flex-end; margin-top: 14px; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.pp__eko.is-on { opacity: 1; transform: none; }
.pp__eko-av { flex: none; width: 38px; height: 38px; border-radius: 12px; overflow: hidden; background: #e9f6ec; }
.pp__eko-av img { width: 100%; height: 100%; object-fit: cover; }
.pp__eko p { margin: 0; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #e9f6ec; border: 1px solid #bfe3c9; font-size: 12.5px; line-height: 1.4; color: #24413a; }
.pp figcaption, .pb figcaption { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--muted); }
/* Refacturation */
.pb { margin: 0; border-radius: var(--radius-card-lg); background: radial-gradient(120% 90% at 0% 0%, #0e403f 0%, var(--deep) 60%); padding: 22px; box-shadow: var(--shadow-deep); color: var(--text-light-2); }
.pb__top { display: flex; justify-content: space-between; align-items: center; }
.pb__tva { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: #84cc1626; color: var(--lime-soft); }
.pb__tarif { display: flex; gap: 10px 20px; flex-wrap: wrap; margin: 14px 0; padding: 12px 14px; border-radius: 14px; background: #ffffff0a; font-size: 14px; }
.pb__tarif span { display: inline-flex; align-items: center; gap: 6px; }
.pb__tarif b { color: #fff; }
.pb__tarif svg { width: 16px; height: 16px; color: var(--lime); }
.pb__months { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.pb__months span { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 9px; background: var(--forest); transition: background .3s, color .3s; }
.pb__months span.is-on { background: var(--lime); color: var(--on-lime); }
.pb table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.pb th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: rgba(245,247,241,.5); padding: 0 8px 8px; }
.pb td { padding: 9px 8px; border-top: 1px solid var(--line-dark); }
.pb th:nth-child(n+2), .pb td:nth-child(n+2) { text-align: right; }
.pb td b { display: block; color: #fff; }
.pb td small { font-size: 11.5px; opacity: .7; }
.pb tbody tr { opacity: 0; transform: translateX(-10px); transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--k) * 110ms); }
.pb.is-in tbody tr { opacity: 1; transform: none; }
.pb__tot { color: var(--lime-soft); font-weight: 800; }
.pb__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pb__sum b { color: #fff; font-size: 1.2rem; margin-left: 6px; font-variant-numeric: tabular-nums; }
.pb__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 14px; transition: transform .15s ease, background .3s; }
.pb__btn svg { width: 16px; height: 16px; }
.pb__btn.is-press { transform: scale(.95); }
.pb__btn.is-done { background: var(--lime-soft); }
@media (max-width: 640px) { .pb { padding: 16px 12px; } .pb td:nth-child(2), .pb th:nth-child(2), .pb td:nth-child(3), .pb th:nth-child(3) { display: none; } }
/* MID */
.mid { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 34px 38px; border-radius: var(--radius-card-lg); background: #ffffff08; border: 1px solid var(--line-dark); }
.mid__badge { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; align-content: center; border: 3px solid var(--lime); color: #fff; box-shadow: 0 0 0 8px #84cc1612; }
.mid__badge b { font-size: 2rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.mid__badge span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--lime-soft); margin-top: 4px; }
.mid__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 240px; }
.mid__list li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
.mid__list .icon { width: 40px; height: 40px; margin: 0; grid-row: span 2; border-radius: 12px; }
.mid__list .icon svg { width: 20px; height: 20px; }
.mid__list b { color: #fff; }
.mid__list span { font-size: 13.5px; color: var(--text-light-2); }
@media (max-width: 1000px) { .mid { grid-template-columns: 1fr; padding: 26px 22px; } }
@media (prefers-reduced-motion: reduce) { .pf__step, .pb tbody tr, .pp__eko { opacity: 1; transform: none; } .pf__line em { display: none; } .page-hero__img--plain img[src*="visuels-application-19"] { animation: none; } }
.mid .lead { margin-top: 14px; }
.page-hero__img:has(img[src*="visuels-application-19"]) { padding: 14px; }
.page-hero__img:has(img[src*="visuels-application-19"]) img { display: block; width: 100%; height: auto; }
/* Portail client : vrai format smartphone (≈ 9:19,5) */
.pp { max-width: 272px; }
.pp__dev { border-radius: 42px; padding: 10px; }
.pp__notch { width: 76px; height: 20px; margin-left: -38px; top: 16px; }
.pp__scr { aspect-ratio: 9 / 19.5; display: flex; flex-direction: column; padding: 46px 14px 16px; border-radius: 33px; }
.pp__hi b { font-size: 16px; }
.pp__hi span { font-size: 11.5px; }
.pp__tabs { margin: 12px 0 10px; }
.pp__tabs span { font-size: 11.5px; padding: 5px 10px; }
.pp__kpi { grid-template-columns: 1fr; gap: 6px; }
.pp__kpi > div { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 12px; border-radius: 14px; }
.pp__kpi b { font-size: 19px; }
.pp__chart { height: 110px; gap: 3px; margin-top: 14px; }
.pp__eko { margin-top: auto; }
.pp__eko p { font-size: 11.5px; padding: 8px 10px; }
.pp__eko-av { width: 32px; height: 32px; border-radius: 10px; }
.pp__chart { height: auto; flex: 1; min-height: 110px; max-height: 180px; margin-bottom: 16px; } .pp__eko { margin-top: 10px; }
/* Refacturation : écran clair (crème) pour contraster avec le fond vert */
.pb { background: #fbfaf5; color: #4a5a56; border: 1px solid #ffffff; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.pb .dash__label { color: #5c6c68; }
.pb__tva { background: #e3f1d8; color: #2f6b1f; }
.pb__tarif { background: #f0efe6; color: #4a5a56; }
.pb__tarif b { color: var(--ink); }
.pb__tarif svg { color: #3f8f2a; }
.pb__months span { background: #efeee5; color: #4a5a56; }
.pb__months span.is-on { background: #3f8f2a; color: #fff; }
.pb th { color: #8a9692; }
.pb td { border-top-color: #e8e6dc; }
.pb td b { color: var(--ink); }
.pb td small { color: #7a8783; opacity: 1; }
.pb__tot { color: #2f7d1f; }
.pb__sum { color: #4a5a56; }
.pb__sum b { color: var(--ink); }
.pb__btn { background: #3f8f2a; color: #fff; }
.pb__btn.is-done { background: #2f6b1f; }
.pb figcaption { color: #8a9692; }
/* MID : équipement de base par hébergement */
.mid__kit { min-width: 300px; }
.mid__kit-t { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-soft); margin-bottom: 14px; }
.mid__kit-row { display: flex; align-items: flex-start; gap: 12px; }
.mid__kit figure { margin: 0; flex: 1; text-align: center; }
.mid__tile { display: grid; place-items: center; height: 120px; border-radius: 18px; background: #fff; padding: 12px; box-shadow: 0 12px 26px rgba(0,0,0,.3); }
.mid__tile img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.mid__kit figcaption { margin-top: 10px; }
.mid__kit figcaption b { display: block; color: #fff; font-size: 14.5px; }
.mid__kit figcaption span { font-size: 13px; color: var(--text-light-2); }
.mid__plus { align-self: center; margin-top: -40px; font-size: 1.6rem; font-weight: 800; color: var(--lime); }
.mid__kit-n { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; color: var(--text-light-2); }
.mid__kit-n svg { width: 18px; height: 18px; color: var(--lime); }
@media (max-width: 1000px) { .mid__kit { min-width: 0; } }
.mid__tile { position: relative; overflow: hidden; display: block; }
.mid__tile img { position: absolute; inset: 12px; width: calc(100% - 24px) !important; height: calc(100% - 24px) !important; max-width: none; max-height: none; object-fit: contain; }
.mid { grid-template-columns: auto 1fr minmax(320px, 1fr); }
@media (max-width: 1000px) { .mid { grid-template-columns: 1fr; } }

/* ======================= Emplacements connectés ======================= */
.page-hero__img:has(img[src*="coffret-emplacements"]) img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 0% 60%; }
.cf-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.cf-duo figure { margin: 0; text-align: center; }
.cf-duo__img { display: grid; place-items: center; height: 300px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); padding: 18px; position: relative; overflow: hidden; }
.cf-duo__img img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.cf-duo figcaption { margin-top: 12px; font-weight: 800; color: var(--ink); }
.cf-pts { display: grid; gap: 14px; margin-top: 24px; }
.cf-pts > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; }
.cf-pts .icon { grid-row: span 2; margin: 0; }
.cf-pts b { color: #fff; }
.cf-pts span { color: var(--text-light-2); font-size: 15px; }
.cf-mes { margin: 24px 0 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-deep); }
.cf-mes img { display: block; width: 100%; height: auto; }
/* widget prises : style du dashboard EcoludiK (sombre) */
.cw2 { margin: 0; }
.cw2__app { position: relative; border-radius: var(--radius-card-lg); background: #20251f; border: 1px solid #3a4136; box-shadow: 0 30px 60px rgba(0,0,0,.4); padding: 18px; color: #c9cfc4; overflow: hidden; min-height: 420px; }
.cw2__view { transition: opacity .4s ease, transform .45s cubic-bezier(.4,0,.2,1); }
.cw2__view:not(.is-on) { position: absolute; inset: 18px; opacity: 0; pointer-events: none; }
.cw2__view--grid:not(.is-on) { transform: scale(.96); }
.cw2__view--det:not(.is-on) { transform: translateX(30px); }
.cw2__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cw2__camp { display: block; font-size: 17px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.cw2__top small { font-size: 12px; color: #8f978a; }
.cw2__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 750; color: #9fd27a; padding: 5px 10px; border-radius: 99px; background: #9fd27a1f; }
.cw2__live .dot, .cw2__state .dot { width: 7px; height: 7px; border-radius: 50%; background: #7fc463; }
.cw2__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cw2__e { border-radius: 12px; border: 1px solid #3a4136; background: #262c25; overflow: hidden; }
.cw2__name { display: block; width: 100%; text-align: left; font: inherit; font-size: 13px; font-weight: 800; color: #fff; padding: 8px 10px; background: none; border: 0; border-bottom: 1px solid #3a4136; cursor: pointer; }
.cw2__ps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
.cw2__kwh, .cw2__pw { font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 2px 9px; border-radius: 9px; border: 0; line-height: 1.15; }
.cw2__kwh { background: linear-gradient(180deg, #4a4a2c, #3a3c27); border-top: 2px solid #e8c547; color: #fff; }
.cw2__kwh svg { width: 18px; height: 18px; color: #f1c94a; }
.cw2__kwh b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cw2__kwh small { font-size: 10px; color: #c9c59a; margin-top: -2px; }
.cw2__pw { background: linear-gradient(180deg, #3a2f2a, #2d2a26); border-top: 2px solid #d9644a; color: #e46f52; transition: background .3s, color .3s, border-color .3s, transform .15s; }
.cw2__btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #d9644a; color: #fff; transition: background .3s; }
.cw2__btn svg { width: 16px; height: 16px; }
.cw2__pw b { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.cw2__pw.is-on { background: linear-gradient(180deg, #2c3a2a, #262f25); border-top-color: #7fc463; color: #8fd06e; }
.cw2__pw.is-on .cw2__btn { background: #6fb553; }
.cw2__pw.is-press { transform: scale(.92); }
.cw2__e.is-hl { box-shadow: 0 0 0 2px #9fd27a; }
/* détail */
.cw2__crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8f978a; margin-bottom: 14px; }
.cw2__crumb b { color: #fff; }
.cw2__back { font: inherit; font-size: 18px; line-height: 1; width: 30px; height: 30px; border-radius: 9px; border: 1px solid #3a4136; background: #262c25; color: #fff; cursor: pointer; }
.cw2__sum { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: #2b3129; border-top: 2px solid #e8c547; }
.cw2__sum-ico svg { width: 30px; height: 30px; color: #f1c94a; }
.cw2__sum small { display: block; font-size: 11.5px; color: #8f978a; }
.cw2__sum b { font-size: 22px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.cw2__eur { text-align: right; }
.cw2__eur small { color: #e4865f; }
.cw2__chart { margin-top: 12px; padding: 12px; border-radius: 12px; background: #2b3129; border-top: 2px solid #e8c547; }
.cw2__lbl { font-size: 12px; font-weight: 750; color: #fff; }
.cw2__bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; margin-top: 10px; }
.cw2__bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.cw2__bar i { display: block; width: 100%; height: 0; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #f6e08a, #e2bd45); transition: height .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--k) * 25ms); }
.cw2__view--det.is-on .cw2__bar i { height: var(--h); }
.cw2__axis { display: flex; justify-content: space-between; font-size: 10px; color: #8f978a; margin-top: 6px; }
.cw2__state { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: #9fd27a; }
.cw2__toast { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #fbfaf5; color: #24413a; font-size: 13.5px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.cw2__toast.is-on { opacity: 1; transform: none; }
.cw2__toast svg { width: 16px; height: 16px; color: #3f8f2a; }
.cw2 figcaption { margin-top: 10px; text-align: center; font-size: 11.5px; color: rgba(245,247,241,.55); }
@media (max-width: 640px) { .cw2__app { padding: 12px; min-height: 0; } .cw2__view:not(.is-on) { inset: 12px; } .cw2__grid { grid-template-columns: 1fr 1fr; } .cw2__bars { height: 110px; } }

/* Titres avec surlignage : interligne plus grand pour que les jambages (p, q, g) ne soient pas masqués */
h1:has(mark), .h1:has(mark) { line-height: 1.2; }
h1 mark, .h1 mark { padding: .02em .12em .06em; }
/* Emplacements : photo + ondes Wi-Fi animées */
.cf-hero { position: relative; }
.page-hero__img:has(img[src*="coffret-emplacements"]) img { object-position: 0% 55%; }
.cf-wifi { position: absolute; left: 50%; top: 4%; width: 64px; height: 64px; pointer-events: none; transform: rotate(45deg); }
.cf-wifi i { position: absolute; left: 0; bottom: 0; border: 4px solid transparent; border-top-color: #fff; border-right-color: #fff; border-radius: 0 100% 0 0; opacity: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); animation: cf-wave 2.4s ease-out infinite; }
.cf-wifi i:nth-child(1) { width: 20px; height: 20px; }
.cf-wifi i:nth-child(2) { width: 38px; height: 38px; animation-delay: .25s; }
.cf-wifi i:nth-child(3) { width: 56px; height: 56px; animation-delay: .5s; }
@keyframes cf-wave { 0% { opacity: 0; } 20% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cf-wifi i { animation: none; opacity: 1; } }
.cf-wifi { position: absolute; left: 54%; top: 6%; width: 64px; height: 64px; transform: none; overflow: visible; }
.cf-wifi path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 2px 5px rgba(0,0,0,.5)); animation: cf-wave 2.4s ease-out infinite; }
.cf-wifi path:nth-child(2) { animation-delay: .3s; } .cf-wifi path:nth-child(3) { animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) { .cf-wifi path { animation: none; opacity: 1; } }
.cw2__app { display: grid; min-height: 0; }
.cw2__view { grid-area: 1 / 1; }
.cw2__view:not(.is-on) { position: static; inset: auto; }
.cw2__toast { background: #2b3129; color: #fff; border: 1px solid #3a4136; }
.cw2__toast svg { color: #9fd27a; }
.cf-wifi { width: 86px; height: 86px; left: 53%; top: 3%; }
.cw2__view--grid { align-self: center; }
/* Titres surlignés : les mots passent au-dessus du surlignage de la ligne suivante (jambages visibles) */
h1:has(mark), .h1:has(mark) { line-height: 1.24; }
h1 mark, .h1 mark { position: relative; z-index: 0; }
.wsplit .w { position: relative; z-index: 1; }
/* Emplacements : Wi-Fi décollé de la borne + estampille « Connecté » */
.cf-wifi { left: 57.5%; top: 1%; }
.cf-stamp { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(8, 43, 42, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.cf-stamp .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: live 1.6s ease-in-out infinite; }
