/* ==========================================================================
   AIR DESBONNETS — Refonte 2026
   Système visuel : "Relate" (canvas froid, encre quasi noire, un seul bleu)
   ========================================================================== */

:root {
  /* Couleurs */
  --canvas: #fcfcfc;
  --wash: #f0f4fe;
  --card: #ffffff;
  --ink: #020520;
  --body: #14141e;
  --caption: #374151;
  --helper: #6b7280;
  --divider: #e2e8f0;
  --fog: #f1f5f9;
  --blue: #145aff;
  --cobalt: #3b82f6;
  --mint: #16ca2e;
  --coral: #f26052;
  --amber: #ffa64d;
  --focus: #0099ff;

  /* Typo */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Rayons */
  --r-card: 8px;
  --r-input: 12px;
  --r-panel: 16px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 9999px;

  /* Ombres */
  --sh-sm: rgba(0, 0, 0, 0.1) 0 0 4px -2px;
  --sh-sm-2: rgba(0, 0, 0, 0.25) 0 0 4px -2px;
  --sh-sm-3: rgba(20, 90, 255, 0.3) 0 0 4px -2px;
  --sh-blue: rgba(20, 90, 255, 0.1) 0 0 100px -28px;
  --sh-card: rgba(20, 90, 255, 0.1) 0 0 50px -28px, rgba(0, 0, 0, 0.18) 0 0 3px -1px;
  --sh-feature: rgba(0, 0, 0, 0.082) 0 0.36px 1.8px -1.4px, rgba(0, 0, 0, 0.07) 0 1.37px 6.87px -2.8px, rgba(0, 0, 0, 0.016) 0 6px 30px -4.25px;

  /* Mise en page */
  --max: 1200px;
  --gutter: 24px;
  --section: 80px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.63;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 153, 255, .35); border-radius: 6px; }
::selection { background: rgba(20, 90, 255, .15); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: 56px 0; }
.section--wash { background: var(--wash); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */
.display { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; letter-spacing: -0.037em; }
.h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.027em; }
.h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -0.037em; }
.h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.h4 { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; color: var(--ink); }
.lead { font-size: 18px; line-height: 1.6; color: var(--caption); }
.muted { color: var(--helper); }
.small { font-size: 14px; line-height: 1.43; }
.caption { font-size: 12px; line-height: 1.3; color: var(--helper); }
.accent { color: var(--blue); }
.mono { font-family: var(--mono); letter-spacing: -0.03em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--body);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); }

.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head .lead { margin-top: 16px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-pill);
  font: 500 15px/1.2 var(--font); letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn--primary { background: var(--canvas); color: var(--blue); border-color: var(--blue); }
.btn--primary:hover { background: var(--wash); color: var(--blue); box-shadow: var(--sh-sm-3, rgba(20,90,255,.3) 0 0 4px -2px); }
.btn--ghost { background: rgba(255,255,255,.8); color: var(--ink); border-color: var(--divider); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--soft { background: var(--wash); color: var(--blue); }
.btn--soft:hover { background: #e3eafd; color: var(--blue); }
.btn--light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Pastilles / tags ---------- */
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: none; background: var(--blue); }
.dot--blue { background: var(--cobalt); }
.dot--green { background: var(--mint); }
.dot--orange { background: var(--amber); }
.dot--red { background: var(--coral); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--divider);
  font-size: 13px; font-weight: 500; color: var(--caption); line-height: 1.3;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.8); border: 1px solid var(--divider);
  font-size: 14px; color: var(--body); box-shadow: var(--sh-sm);
}
.badge { text-align: left; line-height: 1.35; }
.badge b { white-space: nowrap; flex: none; display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-pill); background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.utility {
  background: var(--ink); color: rgba(255,255,255,.72);
  font-size: 13px; line-height: 1;
}
.utility .container { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 24px; }
.utility nav { display: flex; gap: 22px; }
.utility a { color: rgba(255,255,255,.72); }
.utility a:hover { color: #fff; }
.utility__info { display: flex; gap: 22px; align-items: center; }
.utility__info span { display: inline-flex; align-items: center; gap: 8px; }
.utility__info svg { width: 14px; height: 14px; opacity: .8; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,252,252,.86);
  backdrop-filter: saturate(180%) blur(15px); -webkit-backdrop-filter: saturate(180%) blur(15px);
  border-bottom: 1px solid var(--divider);
}
.header .container { display: flex; align-items: center; height: var(--header-h); gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo svg { height: 34px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; list-style: none; }
.nav > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: var(--r-pill);
  font: 500 15px/1.2 var(--font); color: var(--body);
  background: none; border: 0; cursor: pointer;
}
.nav__link svg { width: 14px; height: 14px; transition: transform .2s ease; opacity: .6; }
.nav__link:hover, .nav > li.is-open > .nav__link { color: var(--blue); background: var(--wash); }
.nav > li.is-open > .nav__link svg { transform: rotate(180deg); }
.nav__link[aria-current="page"] { color: var(--blue); }

.header__cta { display: flex; gap: 8px; align-items: center; flex: none; }

/* Méga-menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 6px);
  width: min(880px, calc(100vw - 48px));
  background: var(--card); border: 1px solid var(--divider);
  border-radius: var(--r-panel); box-shadow: var(--sh-feature), var(--sh-blue);
  padding: 12px; display: grid; grid-template-columns: 1fr 280px; gap: 12px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav > li.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; }
.mega__item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--body); }
.mega__item:hover { background: var(--wash); color: var(--body); }
.mega__icon { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--wash); color: var(--blue); }
.mega__icon svg { width: 18px; height: 18px; }
.mega__item:hover .mega__icon { background: var(--card); }
.mega__item strong { display: block; font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.3; }
.mega__item span { display: block; font-size: 13px; line-height: 1.4; color: var(--helper); margin-top: 2px; }
.mega__aside {
  border-radius: 12px; background: var(--wash); padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.mega__aside p { font-size: 14px; line-height: 1.5; color: var(--caption); }
.mega__aside h4 { font-size: 16px; margin-bottom: 6px; }
.mega__aside img { border-radius: 10px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--divider); background: var(--card); cursor: pointer; place-items: center; margin-left: auto; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.drawer { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 56px 0 60px; overflow: hidden; }
.hero__band {
  position: absolute; inset: 0 0 auto 0; height: 100%;
  background: linear-gradient(180deg, rgba(20,90,255,.10) 0%, rgba(182,203,253,.40) 100%);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  z-index: -1;
}
.hero__band::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,90,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,90,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  border-radius: inherit;
}
.hero__inner { text-align: center; max-width: 1040px; margin: 0 auto; }
.hero__inner .badge { margin-bottom: 28px; }
.hero__inner .lead { max-width: 620px; margin: 24px auto 0; color: var(--caption); }
.hero__inner .btn-row { justify-content: center; margin-top: 36px; }

/* Tableau "pipeline" des réalisations */
.board-wrap { margin-top: 64px; position: relative; }
.board-wrap--end { margin-top: 0; }
.board {
  background: rgba(252,252,252,.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-lg); padding: 12px;
  box-shadow: var(--sh-feature), var(--sh-blue);
}
.board__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 14px; flex-wrap: wrap; }
.board__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.board__title i { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; }
.board__title i svg { width: 14px; height: 14px; color: #fff; }
.board__meta { display: flex; gap: 8px; align-items: center; }
.board__search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--fog); color: var(--helper); font-size: 13px; min-width: 220px; }
.board__search svg { width: 14px; height: 14px; }
.board__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.col { background: var(--fog); border-radius: var(--r-panel); padding: 12px; text-align: left; min-width: 0; }
.col__head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.col__head .count { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--blue); }
.deal { background: var(--card); border-radius: var(--r-card); padding: 12px 14px; box-shadow: var(--sh-sm-2); margin-bottom: 8px; display: block; color: var(--body); transition: box-shadow .2s ease, transform .2s ease; }
.deal:last-child { margin-bottom: 0; }
.deal:hover { box-shadow: var(--sh-card); color: var(--body); transform: translateY(-1px); }
.deal__top { display: flex; gap: 10px; align-items: center; }
.deal__thumb { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex: none; background: var(--wash); }
.deal__name { font-size: 14px; font-weight: 600; color: var(--body); line-height: 1.25; }
.deal__loc { font-size: 12px; color: var(--helper); line-height: 1.3; }
.deal__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--fog); font-size: 12px; color: var(--helper); }
.deal__foot { gap: 8px; }
.deal__client { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--caption); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; font-weight: 600; color: #fff; background: var(--ink); flex: none; }
.deal__type { font-family: var(--mono); font-size: 11px; color: var(--blue); background: var(--wash); padding: 2px 8px; border-radius: var(--r-pill); white-space: nowrap; flex: none; }

/* ==========================================================================
   Hero dynamique
   ========================================================================== */
.hero__band { overflow: hidden; }

/* Halo qui suit la souris */
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(20, 90, 255, .16), transparent 65%);
  opacity: 0; transition: opacity .5s ease;
}
.hero:hover .hero__glow { opacity: 1; }

/* Flux d'air */
.airflow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.airflow path { fill: none; stroke: url(#airGrad); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 140 560; animation: airflow 11s linear infinite; }
.airflow path:nth-child(2) { animation-duration: 14s; animation-delay: -4s; stroke-width: 1; }
.airflow path:nth-child(3) { animation-duration: 9s; animation-delay: -7s; }
.airflow path:nth-child(4) { animation-duration: 16s; animation-delay: -2s; stroke-width: 1; }
.airflow path:nth-child(5) { animation-duration: 12s; animation-delay: -9s; }
.airflow path:nth-child(6) { animation-duration: 18s; animation-delay: -5s; stroke-width: .8; }
@keyframes airflow { from { stroke-dashoffset: 700; } to { stroke-dashoffset: 0; } }

/* Hero de page "vivant" : halos, air ascendant, étiquettes flottantes */
.page-hero--alive .hero__band {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(59, 130, 246, .22), transparent 55%),
    linear-gradient(180deg, rgba(20, 90, 255, .10) 0%, rgba(182, 203, 253, .45) 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.blob--1 { width: 420px; height: 420px; right: 8%; top: -120px; background: #8fb2ff; animation: blobA 18s ease-in-out infinite alternate; }
.blob--2 { width: 360px; height: 360px; left: -80px; bottom: -120px; background: #c7d6ff; animation: blobB 22s ease-in-out infinite alternate; }
.blob--3 { width: 260px; height: 260px; left: 45%; top: 30%; background: #b9f0d4; opacity: .35; animation: blobC 26s ease-in-out infinite alternate; }
@keyframes blobA { to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes blobB { to { transform: translate(140px, -60px) scale(1.1); } }
@keyframes blobC { to { transform: translate(-90px, 70px) scale(.9); } }

.flowfield { position: absolute; inset: 0; pointer-events: none; }
.updraft { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.updraft path { fill: none; stroke: url(#upGrad); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 90 560; animation: updraft 7s linear infinite; }
.updraft path:nth-child(2) { animation-duration: 9s; animation-delay: -3s; }
.updraft path:nth-child(3) { animation-duration: 6.5s; animation-delay: -5s; stroke-width: 1.2; }
.updraft path:nth-child(4) { animation-duration: 8.5s; animation-delay: -1.5s; }
.updraft path:nth-child(5) { animation-duration: 10s; animation-delay: -6s; stroke-width: 1.2; }
.updraft path:nth-child(6) { animation-duration: 11s; animation-delay: -4s; stroke-width: 1; }
@keyframes updraft { from { stroke-dashoffset: 650; } to { stroke-dashoffset: 0; } }

.media-float { position: relative; }
.media-float .page-hero__media { animation: floatY 8s ease-in-out infinite; }
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill); white-space: nowrap;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--sh-sm-2), var(--sh-blue);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.float-chip--a { left: -18px; top: 14%; animation: floatY 6s ease-in-out infinite; }
.float-chip--b { right: -14px; top: 46%; animation: floatY 7s ease-in-out -2s infinite; }
.float-chip--c { left: 12%; bottom: -16px; animation: floatY 6.5s ease-in-out -4s infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
  .float-chip { font-size: 12px; padding: 6px 11px; }
  .float-chip--a { left: 8px; } .float-chip--b { right: 8px; } .float-chip--c { left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .updraft path, .media-float .page-hero__media, .float-chip { animation: none; }
  .updraft { display: none; }
}

/* Mot qui défile dans le titre */
.rotator {
  display: inline-block; position: relative; vertical-align: top;
  height: 1.05em; transition: width .5s cubic-bezier(.2, .7, .2, 1);
  clip-path: inset(-0.15em -0.1em -0.3em -0.1em);
}
.rotator span {
  position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--blue);
  opacity: 0; transform: translateY(130%);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s ease;
}
.rotator span.is-active { opacity: 1; transform: none; }
.rotator span.is-out { opacity: 0; transform: translateY(-130%); }
.rotator::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: .07em; border-radius: 1em;
  background: linear-gradient(90deg, rgba(20, 90, 255, .5), rgba(20, 90, 255, 0));
}

/* Barre "Explorer par gamme" */
.dock {
  display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center;
  margin-top: 28px; padding: 6px; max-width: 100%;
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px; box-shadow: var(--sh-sm), var(--sh-blue);
}
.dock__label { font-size: 13px; color: var(--helper); padding: 0 10px 0 12px; }
.dock__item {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill);
  border: 0; background: none; cursor: pointer; font: 500 14px/1.2 var(--font); color: var(--body);
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}
.dock__item svg { width: 14px; height: 14px; opacity: .45; transition: transform .2s ease, opacity .2s; }
.dock__item:hover, .dock__item.is-active { background: var(--card); box-shadow: var(--sh-sm-2); color: var(--ink); }
.dock__item.is-active svg { transform: rotate(180deg); opacity: .8; }

/* Pop-over (menu au survol) */
.pop {
  position: absolute; z-index: 60; top: 0; left: 0; width: 330px; max-width: calc(100vw - 24px);
  background: var(--card); border: 1px solid var(--divider); border-radius: 20px; padding: 8px;
  box-shadow: var(--sh-feature), rgba(20, 90, 255, .2) 0 24px 60px -24px;
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.96);
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .7, .2, 1), visibility .18s;
}
.pop.is-open { opacity: 1; visibility: visible; transform: none; }
.pop__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; background: var(--wash); }
.pop__body { padding: 12px 10px 6px; display: grid; gap: 10px; }
.pop__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pop__title { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); }
.pop__stat { font-family: var(--mono); font-size: 11px; color: var(--blue); background: var(--wash); padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.pop__text { font-size: 14px; line-height: 1.5; color: var(--caption); }
.pop__menu { display: grid; gap: 2px; margin: 0 -6px; }
.pop__menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--body); }
.pop__menu a svg { width: 14px; height: 14px; margin-left: auto; opacity: 0; transform: translateX(-4px); transition: all .2s ease; color: var(--blue); }
.pop__menu a:hover { background: var(--wash); color: var(--blue); }
.pop__menu a:hover svg { opacity: 1; transform: none; }
.pop__rows { display: grid; }
.pop__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--fog); font-size: 13px; color: var(--helper); }
.pop__row b { font-weight: 500; color: var(--ink); text-align: right; }
.pop__links { display: flex; gap: 8px; flex-wrap: wrap; }
.pop__links .btn { flex: 1; }

/* Tableau : en-têtes cliquables, mise en avant */
button.col__head { width: 100%; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; border-radius: 10px; padding: 6px 8px 10px; margin-bottom: 2px; transition: background .2s ease, color .2s ease; }
button.col__head:hover, button.col__head.is-active { background: rgba(255, 255, 255, .8); color: var(--blue); }
.deal { transition: box-shadow .2s ease, transform .2s ease, opacity .3s ease; }
.deal.is-active, .deal.is-match { box-shadow: 0 0 0 1.5px var(--blue), var(--sh-card); }
.board.has-active .deal:not(.is-active), .board.is-filtering .deal:not(.is-match) { opacity: .42; }
.board.is-in .deal { animation: dealIn .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 80ms + 300ms); }
@keyframes dealIn { from { opacity: 0; transform: translateY(10px); } }

/* Recherche qui s'écrit toute seule */
.typed:empty::before { content: attr(data-placeholder); }
.caret { width: 1.5px; height: 14px; background: var(--blue); margin-left: -6px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.board__search { color: var(--caption); }

@media (prefers-reduced-motion: reduce) {
  .airflow, .caret { display: none; }
  .board.is-in .deal { animation: none; }
}

/* ==========================================================================
   Cartes
   ========================================================================== */
.grid { display: grid; gap: 16px; }
.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(--card); border-radius: var(--r-panel); padding: 24px;
  box-shadow: var(--sh-feature); border: 1px solid rgba(226,232,240,.6);
  display: flex; flex-direction: column; gap: 12px; color: var(--body);
  transition: box-shadow .25s ease, transform .25s ease;
}
a.card:hover { box-shadow: var(--sh-card), var(--sh-feature); transform: translateY(-2px); color: var(--body); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--wash); color: var(--blue); display: grid; place-items: center; margin-bottom: 8px; }
.card__icon svg { width: 22px; height: 22px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--caption); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

/* Piliers (style Halton) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { position: relative; }
.pillar__num { font-family: var(--mono); font-size: 12px; color: var(--helper); position: absolute; top: 24px; right: 24px; }

/* Secteurs */
.sector { padding: 0; overflow: hidden; gap: 0; }
.sector__img { aspect-ratio: 16/10; overflow: hidden; background: var(--wash); }
.sector__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.sector:hover .sector__img img { transform: scale(1.04); }
.sector__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sector__body .tag-list { margin-top: 4px; }

/* Bloc "feature" (conteneur 40px) */
.feature {
  background: var(--canvas); border-radius: var(--r-xl);
  padding: 52px 72px; box-shadow: var(--sh-feature);
  border: 1px solid rgba(226,232,240,.6);
}
.feature--wash { background: var(--wash); box-shadow: none; border-color: transparent; }

/* Gammes produits */
.range-tabs { display: flex; gap: 6px; padding: 6px; background: var(--fog); border-radius: var(--r-pill); width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 32px; scrollbar-width: none; }
.range-tabs::-webkit-scrollbar { display: none; }
.range-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--r-pill); border: 0; background: none; cursor: pointer; font: 500 14px/1.2 var(--font); color: var(--caption); white-space: nowrap; }
.range-tab:hover { color: var(--ink); }
.range-tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--sh-sm-2); }
.range-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.range-panel[hidden] { display: none; }
.range-panel__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--wash); }
.range-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.range-panel__media .float {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(252,252,252,.82); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border-radius: var(--r-panel); padding: 12px 16px; display: flex; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--caption);
}
.range-panel__media .float strong { color: var(--ink); font-weight: 600; display: block; font-size: 14px; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 20px 0 28px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--caption); }
.check-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23145aff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.stat { padding: 32px 24px; border-left: 1px solid var(--divider); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stats--5 { grid-template-columns: repeat(5, 1fr); }
.stat__value.stat__value--text { font-size: clamp(22px, 2.1vw, 30px); line-height: clamp(30px, 3.4vw, 44px); white-space: nowrap; }
.stat__value { font-family: var(--mono); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.stat__value small { font-size: .5em; color: var(--blue); margin-left: 2px; letter-spacing: -0.02em; }
.stat__label { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--caption); }

/* Réalisations */
.ref { padding: 0; overflow: hidden; gap: 0; }
.ref__img { aspect-ratio: 16/9; overflow: hidden; background: var(--wash); position: relative; }
.ref__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ref:hover .ref__img img { transform: scale(1.04); }
.ref__img .deal__type { position: absolute; top: 12px; left: 12px; background: rgba(252,252,252,.9); backdrop-filter: blur(8px); }
.ref__body { padding: 16px 20px 20px; display: grid; gap: 4px; }
.ref__body h3 { font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; }
.ref__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--helper); }
.ref__meta + .ref__meta { margin-top: 2px; }
.ref__meta svg { width: 14px; height: 14px; flex: none; }
.ref__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ref__tags .tag { padding: 3px 10px; font-size: 12px; }
.tag--soft { background: var(--wash); border-color: transparent; color: var(--blue); font-family: var(--mono); }
.filters__sep { width: 1px; align-self: stretch; background: var(--divider); margin: 4px 6px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--divider); background: var(--card); font: 500 14px/1.2 var(--font); color: var(--caption); cursor: pointer; transition: all .2s ease; }
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); background: var(--wash); }
.filter .mono { font-size: 12px; color: var(--helper); }
.is-hidden { display: none !important; }

/* Processus */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--r-panel); background: var(--card); box-shadow: var(--sh-sm-2); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--blue); display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); background: var(--wash); margin-bottom: 16px; }
.step h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--caption); }

/* Logos partenaires */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-tile { height: 96px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--divider); display: grid; place-items: center; padding: 20px 28px; }
.logo-tile img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .65; transition: filter .3s ease, opacity .3s ease; mix-blend-mode: multiply; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Bandeau CTA */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: 64px 72px;
  background: linear-gradient(135deg, rgba(20,90,255,.10) 0%, rgba(182,203,253,.45) 100%);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta .lead { margin-top: 16px; }
.cta__card { background: rgba(252,252,252,.75); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; box-shadow: var(--sh-blue); }
.cta__line { display: flex; gap: 14px; align-items: center; color: var(--body); }
.cta__line i { width: 40px; height: 40px; border-radius: 12px; background: var(--card); display: grid; place-items: center; color: var(--blue); flex: none; box-shadow: var(--sh-sm-2); }
.cta__line i svg { width: 18px; height: 18px; }
.cta__line small { display: block; font-size: 12px; color: var(--helper); line-height: 1.3; }
.cta__line strong { font-weight: 600; color: var(--ink); font-size: 15px; }
a.cta__line:hover strong { color: var(--blue); }

/* ==========================================================================
   Pages internes
   ========================================================================== */
.page-hero { position: relative; padding: 36px 0 44px; }
.page-hero .hero__band { height: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--helper); margin-bottom: 28px; list-style: none; }
.crumbs a { color: var(--helper); }
.crumbs a:hover { color: var(--blue); }
ol.crumbs { padding: 0; margin-top: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--helper); opacity: .5; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.page-hero__grid .lead { margin-top: 20px; }
.page-hero__grid .btn-row { margin-top: 32px; }
.page-hero__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-feature), var(--sh-blue); background: var(--card); padding: 8px; }
.page-hero__media img { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.page-hero--center { text-align: center; }
.page-hero--center .crumbs { justify-content: center; }
.page-hero--center .lead { max-width: 640px; margin: 20px auto 0; }

/* Sous-navigation produit (ancres) */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(252,252,252,.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid var(--divider); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { padding: 7px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--caption); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.subnav a:hover, .subnav a.is-active { background: var(--wash); color: var(--blue); }

/* Fiche produit */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; scroll-margin-top: 140px; }
.product + .product { margin-top: 24px; }
.product--card { background: var(--canvas); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-feature); border: 1px solid rgba(226,232,240,.6); }
.product--reverse .product__media { order: 2; }
.product__media { border-radius: var(--r-lg); overflow: hidden; background: var(--card); aspect-ratio: 4/3; display: grid; place-items: center; border: 1px solid var(--fog); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media--contain img { object-fit: contain; padding: 24px; }
.product__label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--blue); background: var(--wash); padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 16px; }
.product h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; line-height: 1.1; }
.product p { color: var(--caption); margin-top: 14px; font-size: 16px; }
.product .check-list { margin-bottom: 20px; }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 20px 0 24px; }
.spec div { background: var(--fog); border-radius: 12px; padding: 12px 14px; }
.spec dt { font-size: 12px; color: var(--helper); }
.spec dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }

.mini-products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mini { background: var(--card); border-radius: var(--r-panel); border: 1px solid var(--divider); padding: 12px; display: grid; gap: 12px; align-content: start; }
.mini img { aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: var(--fog); width: 100%; padding: 8px; }
.mini h4 { font-size: 14px; line-height: 1.35; padding: 0 4px 4px; color: var(--ink); font-weight: 600; }
.mini-products--4 { grid-template-columns: repeat(4, 1fr); }

/* Modules de traitement gainables */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module-grid--4 { grid-template-columns: repeat(4, 1fr); }
.module-card--featured { border: 2px solid var(--blue); box-shadow: var(--sh-card); }
.module-card__flag { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 3px 10px; border-radius: var(--r-pill); }
.module-card { margin: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-lg); overflow: hidden; color: var(--body); transition: box-shadow .25s ease, transform .25s ease; scroll-margin-top: 140px; }
a.module-card:hover { box-shadow: var(--sh-card); transform: translateY(-2px); color: var(--body); }
.module-card__img { aspect-ratio: 4/3; background: #fff; border-bottom: 1px solid var(--fog); }
.module-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
a.module-card:hover .module-card__img img { transform: scale(1.04); }
.module-card__body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; flex: 1; }
.module-card__body h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }
.module-card__body p { font-size: 14px; line-height: 1.55; color: var(--caption); }
.module-card__body .tag-list { margin-top: 6px; }
.module-card--wide { grid-column: span 2; flex-direction: row; }
.module-card--wide .module-card__img { flex: 1 1 58%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--fog); }.module-card--wide .module-card__body { flex: 1 1 45%; align-content: center; padding: 28px; }

/* Mise en avant d'une nouveauté */
.spotlight { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 48px 56px; border-radius: var(--r-xl); background: var(--ink); color: rgba(255,255,255,.78); scroll-margin-top: 140px; }
.spotlight::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(20,90,255,.45), transparent 65%); pointer-events: none; z-index: 0; }
.spotlight > * { position: relative; z-index: 1; }
.spotlight__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 5px 12px; border-radius: var(--r-pill); }
.spotlight h2 { color: #fff; margin-top: 18px; }
.spotlight h2 .accent { color: #8fb0ff; }
.spotlight .lead { color: rgba(255,255,255,.75); margin-top: 16px; }
.spotlight .check-list { margin: 22px 0 0; }
.spotlight .check-list li { color: rgba(255,255,255,.85); }
.spotlight .btn-row { margin-top: 28px; }
.spotlight .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.spotlight .btn--ghost:hover { border-color: #fff; color: #fff; }
.spotlight__media { background: #fff; border-radius: var(--r-lg); aspect-ratio: 4/3; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.spotlight__media img { width: 100%; height: 100%; object-fit: contain; }
.spotlight__uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.spotlight__uses span { font-size: 13px; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); padding: 5px 12px; }

/* Tableau comparatif technique */
.compare-wrap { overflow-x: auto; border-radius: var(--r-panel); border: 1px solid var(--divider); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; min-width: 640px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--fog); }
.compare thead th { border-top: 0; background: var(--fog); font-size: 13px; font-weight: 600; color: var(--ink); }
.compare thead th span { display: inline-flex; align-items: center; gap: 8px; }
.compare tbody th { width: 22%; font-weight: 500; color: var(--helper); font-size: 13px; }
.compare td { color: var(--caption); }
.compare td strong { color: var(--ink); font-weight: 600; }
.compare td ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.compare td li { position: relative; padding-left: 14px; }
.compare td li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* Familles de polluants */
.pollutant { position: relative; }
.pollutant__tag { font-family: var(--mono); font-size: 11px; color: var(--blue); background: var(--wash); padding: 3px 9px; border-radius: var(--r-pill); width: max-content; }
.pollutant ul { list-style: none; display: grid; gap: 6px; margin-top: 4px; }
.pollutant li { font-size: 13px; color: var(--helper); display: flex; gap: 8px; align-items: baseline; }
.pollutant li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--cobalt); flex: none; transform: translateY(-2px); }

/* Formule / encadré technique */
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 20px 24px; border-radius: var(--r-panel); background: var(--ink); color: rgba(255,255,255,.7); font-size: 14px; }
.formula code { font-family: var(--mono); font-size: clamp(15px, 1.8vw, 19px); color: #fff; letter-spacing: -0.02em; }
.formula code b { color: #7aa5ff; font-weight: 500; }
.param-list { list-style: none; display: grid; gap: 10px; counter-reset: p; }
.param-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--divider); }
.param-list li::before { counter-increment: p; content: counter(p); width: 28px; height: 28px; border-radius: 8px; background: var(--wash); color: var(--blue); font: 500 13px/28px var(--mono); text-align: center; }
.param-list strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.param-list span { font-size: 14px; color: var(--caption); line-height: 1.5; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-panel); background: var(--card); }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; height: 100%; aspect-ratio: auto; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Bénéfices */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { padding: 24px; border-radius: var(--r-panel); background: var(--card); border: 1px solid var(--divider); }
.benefit h3 { font-size: 16px; display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.benefit p { font-size: 14px; line-height: 1.55; color: var(--caption); }

/* Info encadré */
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-panel); background: var(--wash); font-size: 14px; line-height: 1.55; color: var(--caption); }
.note svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 1px; }

/* Bloc spectre UV */
.spectrum { border-radius: var(--r-panel); overflow: hidden; background: var(--card); border: 1px solid var(--divider); padding: 24px; }
.spectrum__bar { height: 14px; border-radius: var(--r-pill); background: linear-gradient(90deg, #6d28d9, #145aff); position: relative; margin: 28px 0 40px; }
.spectrum__mark { position: absolute; top: -8px; width: 2px; height: 30px; background: var(--ink); }
.spectrum__mark span { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.spectrum__mark span b { color: var(--blue); font-weight: 500; }

/* Secteurs (page solutions) */
.sector-row { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--divider); scroll-margin-top: 120px; }
.sector-row:first-child { border-top: 0; padding-top: 0; }
.sector-row__aside { position: sticky; top: 120px; align-self: start; }
.sector-row__aside .card__icon { margin-bottom: 16px; }
.sector-row__aside p { margin-top: 12px; color: var(--caption); font-size: 15px; }
.app-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; list-style: none; margin-bottom: 24px; }
.app-list li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--divider); font-size: 14px; color: var(--body); line-height: 1.35; }
.reco { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.reco a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-panel); background: var(--wash); color: var(--body); font-weight: 500; font-size: 14px; }
.reco a:hover { background: #e3eafd; color: var(--blue); }
.reco img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--card); flex: none; }

/* Formulaire */
.form-card { background: var(--card); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-feature); border: 1px solid rgba(226,232,240,.6); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--caption); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-input);
  border: 1px solid var(--divider); background: var(--card);
  font: 400 15px/1.4 var(--font); color: var(--body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(0, 153, 255, .15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--divider); font-size: 14px; color: var(--caption); cursor: pointer; transition: all .2s; }
.chip input:checked + span { border-color: var(--blue); color: var(--blue); background: var(--wash); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,153,255,.35); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--helper); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.form__ok { display: none; grid-column: 1 / -1; }
.form.is-sent .form__ok { display: flex; }
.form__group { border: 0; padding: 0; margin: 0; }
.form__group legend { font-size: 13px; font-weight: 500; color: var(--caption); margin-bottom: 6px; }
.form__title { font-weight: 600; color: var(--ink); margin-top: 8px; }
.form__projet { display: grid; gap: 16px; padding: 20px; border-radius: var(--r-card); background: var(--wash); }
.form__projet[hidden] { display: none; }
.form__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__sub [hidden] { display: none; }
.field input[type="file"] { padding: 10px; background: var(--card); }
.form__calcul { border: 1px solid var(--blue); background: var(--card); }
.form__calcul[hidden], .form__req[hidden] { display: none; }
.form__req { color: var(--blue); font-weight: 600; }
.form__label { font-size: 13px; font-weight: 500; color: var(--caption); }
.zones { gap: 12px; }
.zone { background: var(--card); border-radius: var(--r-card); padding: 14px 16px; display: grid; gap: 10px; border: 1px solid var(--divider); }
.zone__head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink); }
.zone__del { background: none; border: 0; color: var(--caption); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.zone__del[hidden] { display: none; }
.zone__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.zones__add { justify-self: start; }
.zones__add[hidden] { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__err { grid-column: 1 / -1; display: flex; border-color: #f2b8b5; }
.form__err[hidden] { display: none; }
.form.is-sent .field, .form.is-sent .form__projet, .form.is-sent .form__title, .form.is-sent .consent, .form.is-sent .form__group, .form.is-sent > .field--full:not(.form__ok) { display: none; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.info-stack { display: grid; gap: 12px; }
.info { background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-panel); padding: 20px; display: flex; gap: 14px; }
.info i { width: 40px; height: 40px; border-radius: 12px; background: var(--wash); color: var(--blue); display: grid; place-items: center; flex: none; }
.info i svg { width: 18px; height: 18px; }
.info h3 { font-size: 15px; margin-bottom: 4px; }
.info p, .info a { font-size: 14px; line-height: 1.55; color: var(--caption); }
.info a:hover { color: var(--blue); }
.map { border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--divider); height: 240px; background: var(--fog); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* Texte riche */
.prose { max-width: 720px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--caption); }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Pages juridiques (mentions légales, confidentialité) */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; padding: 16px; border-radius: var(--r-panel); background: var(--wash); font-size: 14px; }
.legal__toc strong { font-size: 12px; color: var(--helper); font-weight: 500; padding: 0 8px 6px; }
.legal__toc a { padding: 6px 8px; border-radius: 8px; color: var(--caption); }
.legal__toc a:hover { background: #fff; color: var(--blue); }
.legal__body { max-width: 760px; }
.legal__body section { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body section + section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--divider); }
.legal__body h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 14px; }
.legal__body h3 { font-size: 16px; margin: 20px 0 8px; color: var(--ink); }
.legal__body p, .legal__body li { font-size: 15px; line-height: 1.7; color: var(--caption); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { margin: 10px 0 0 18px; display: grid; gap: 6px; }
.legal__body a { color: var(--blue); word-break: break-word; }
.legal__id { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.legal__id div { background: var(--fog); border-radius: 12px; padding: 12px 14px; }
.legal__id dt { font-size: 12px; color: var(--helper); }
.legal__id dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.legal__updated { margin-top: 14px; font: 500 12px/1.4 "Roboto Mono", monospace; color: var(--helper); }
.legal__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 48px; }
.legal__fact { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-panel); background: var(--wash); }
.legal__fact i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--blue); margin-bottom: 6px; }
.legal__fact small { font-size: 12px; color: var(--helper); }
.legal__fact strong { font-size: 15px; color: var(--ink); font-weight: 600; word-break: break-word; }
.legal__fact a { color: var(--blue); }
.legal__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.legal__cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legal__card { border: 1px solid var(--divider); border-radius: 14px; padding: 16px 18px; }
.legal__body .legal__card h3 { margin: 0 0 6px; font-size: 15px; }
.legal__body .legal__card p { font-size: 14px; line-height: 1.55; margin: 0 0 8px; }
.legal__body .legal__card ul { margin: 0 0 0 18px; gap: 2px; }
.legal__card > a { font-size: 13px; font-weight: 600; }
.legal__table { border: 1px solid var(--divider); border-radius: 14px; overflow: hidden; margin: 6px 0 14px; }
.legal__row { display: grid; grid-template-columns: 1.6fr 1.2fr 0.5fr; gap: 16px; padding: 14px 18px; font-size: 14px; line-height: 1.55; color: var(--caption); }
.legal__row + .legal__row { border-top: 1px solid var(--divider); }
.legal__row--head { background: var(--fog); font-size: 12px; font-weight: 600; color: var(--helper); padding-top: 10px; padding-bottom: 10px; }
.legal__row span:last-child { font-weight: 600; color: var(--ink); }
.legal__row--head span:last-child { color: var(--helper); }
.legal__rights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 16px; }
.legal__rights div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--fog); }
.legal__rights strong { font-size: 14px; color: var(--ink); }
.legal__rights span { font-size: 13.5px; line-height: 1.5; color: var(--caption); }
.legal__note { padding: 18px 20px; border-radius: 14px; background: var(--wash); border-left: 3px solid var(--blue); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal__toc { position: static; } .legal__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .legal__id, .legal__cols, .legal__cols--3, .legal__rights, .legal__summary { grid-template-columns: 1fr; } .legal__row { grid-template-columns: 1fr; gap: 4px; } .legal__row--head { display: none; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-frame { border-radius: var(--r-lg); overflow: hidden; background: var(--card); padding: 8px; box-shadow: var(--sh-feature); }
.media-frame img { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 72px 0 32px; margin-top: var(--section); border-radius: var(--r-xl) var(--r-xl) 0 0; font-size: 14px; }
.footer a { color: rgba(255,255,255,.66); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: #fff; }
.footer__about p { margin-top: 16px; line-height: 1.6; max-width: 300px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; line-height: 1.5; }
.footer__contact svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--cobalt); }
.footer__seo { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__seo summary { cursor: pointer; color: rgba(255,255,255,.8); font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.footer__seo summary::-webkit-details-marker { display: none; }
.footer__seo summary svg { width: 14px; height: 14px; transition: transform .2s; }
.footer__seo details[open] summary svg { transform: rotate(180deg); }
.footer__seo ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer__seo li { padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Révélation douce */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .burger { display: grid; }
  .header__cta { margin-left: auto; }
  .header .burger { margin-left: 0; }
  .drawer {
    display: block; position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; z-index: 49;
    background: var(--canvas); overflow-y: auto; padding: 16px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s ease;
  }
  .menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .drawer details { border-bottom: 1px solid var(--divider); }
  .drawer summary, .drawer > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; letter-spacing: -0.02em; }
  .drawer > a { border-bottom: 1px solid var(--divider); }
  .drawer > a svg { width: 18px; height: 18px; color: var(--helper); }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary svg { width: 18px; height: 18px; transition: transform .2s; color: var(--helper); }
  .drawer details[open] summary svg { transform: rotate(180deg); }
  .drawer details .mega__item { padding: 10px 4px; }
  .drawer details > div { padding-bottom: 12px; }
  .drawer .btn-row { margin-top: 24px; }
  .drawer .btn { flex: 1; }
  .pillars, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mini-products { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --section: 64px; }
  .board__cols { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .range-panel, .page-hero__grid, .product, .two-col, .cta, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .product--reverse .product__media { order: 0; }
  .feature { padding: 36px 28px; border-radius: var(--r-lg); }
  .product--card { padding: 24px; border-radius: var(--r-lg); }
  .cta { padding: 40px 28px; border-radius: var(--r-lg); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .stats--5 .stat:last-child { grid-column: 1 / -1; }
  .module-grid, .mini-products--4 { grid-template-columns: repeat(2, 1fr); }
  .module-card--wide { grid-column: 1 / -1; }
  .spotlight { grid-template-columns: 1fr; padding: 36px 28px; border-radius: var(--r-lg); gap: 28px; }
  .spotlight__media { order: -1; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--divider); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .sector-row { grid-template-columns: 1fr; gap: 24px; }
  .sector-row__aside { position: static; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .utility nav { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 56px; --header-h: 64px; }
  .utility__info .hide-sm { display: none; }
  .header__cta .btn { display: none; }
  .hero { padding-top: 40px; }
  .badge { font-size: 13px; border-radius: 18px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 20px; }
  .dock__label { display: none; }
  .dock__item { justify-content: center; padding: 10px 8px; font-size: 13px; white-space: nowrap; }
  .dock__item:last-child:nth-child(even) { grid-column: 1 / -1; }
  .dock__item svg { display: none; }
  .board__cols, .grid--2, .grid--3, .grid--4, .pillars, .steps, .app-list { grid-template-columns: 1fr; }
  .board__search { display: none; }
  .board .col:nth-child(n+3) { display: none; }
  .mini-products { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: 1fr; }
  .module-card--wide { flex-direction: column; }
  .module-card--wide .module-card__img { aspect-ratio: 4/3; border-right: 0; border-bottom: 1px solid var(--fog); }
  .form { grid-template-columns: 1fr; }
  .form__sub { grid-template-columns: 1fr; }
  .zone__grid { grid-template-columns: 1fr 1fr; }
  .zone__grid .field:first-child { grid-column: 1 / -1; }
  .form__projet { padding: 16px; }
  .form-card { padding: 20px; }
  .footer { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .spec { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
}
.deal__foot--date { justify-content: flex-end; }
.page-hero + .section { padding-top: 48px; }
.page-hero__grid .h1 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.025em; }
.page-hero__grid .lead { font-size: 17px; }
