/* =========================================================
   KORIUM TECH · Guides (hub + 4 guides)
   Préfixe gd- (aucune collision avec eclipse.css / site.css).
   ========================================================= */
:root { --gd-acc: var(--light); --gd-card: var(--night-2); --gd-card-line: var(--line); }
.s--labo { --gd-acc: var(--blue); --gd-card: #fff; --gd-card-line: var(--l-line); }

/* ---------- En-tête : méta du guide, accès direct (hub) ---------- */
.gd-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.gd-meta > span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.gd-meta__i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-family: var(--mono); font-size: 11px; color: var(--night); background: var(--light); }
.gd-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 30px; max-width: 520px; }
.gd-jump a { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; color: var(--ink); font-size: 15px; transition: box-shadow 0.3s, background-color 0.3s; }
.gd-jump a span { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--light); }
.gd-jump a:hover { box-shadow: inset 0 0 0 1px var(--light); background: oklch(0.72 0.15 238 / 0.08); }

/* ---------- Transition labo → nuit ---------- */
.s--labo + .s--nuit.gd-dusk { padding-top: calc(var(--sec) + clamp(40px, 5vw, 80px)); }
.s--labo + .s--nuit.gd-dusk::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(80px, 10vw, 160px);
  background: linear-gradient(180deg, var(--labo), var(--night)); pointer-events: none;
}

/* ---------- L'essentiel + bulles de chiffres ---------- */
.gd-first { padding-bottom: clamp(56px, 6vw, 96px); }
.gd-ess { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.gd-ess--solo { grid-template-columns: minmax(0, 760px); }
.gd-ess .enc--essentiel { padding: clamp(26px, 3vw, 42px); box-shadow: 0 40px 80px oklch(0.24 0.065 252 / 0.18); position: relative; overflow: hidden; }
.gd-ess .enc--essentiel::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 160px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: conic-gradient(var(--light) 0 160deg, transparent 166deg 194deg, var(--light) 200deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  opacity: 0.55; filter: drop-shadow(0 0 10px var(--light));
}
.gd-ess .enc__t { font-size: 1.2rem; letter-spacing: 0.01em; }
.gd-ess .puces { gap: 16px; }
.gd-ess .puces li { font-size: 1.0625rem; line-height: 1.55; }
.gd-pl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 40px) clamp(22px, 3vw, 48px); }
.gd-pl .plaque__val { font-size: clamp(1.9rem, 1.1rem + 2vw, 3rem); white-space: nowrap; }
.gd-pl .plaque__val small { font-size: 0.42em; }
.gd-pl .plaque__txt { font-size: 15px; }
.gd-pl--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }

/* ---------- Texte d'appui ---------- */
.gd-lead { max-width: 70ch; font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); margin-bottom: clamp(32px, 4vw, 56px); }
.gd-lead--s { font-size: 1.0625rem; margin-bottom: 26px; }
.gd-sub { font-family: var(--display); font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem) !important; color: var(--ink); margin: clamp(48px, 5vw, 72px) 0 22px; font-weight: 500; }
.gd-sub--tools { margin-top: clamp(56px, 6vw, 88px); }
.gd-src { font-size: 13.5px !important; line-height: 1.5; color: var(--ink-3); margin-top: 14px; }
.gd-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.enc a:not(.btn) { color: var(--gd-acc); text-decoration: underline; text-underline-offset: 3px; }
.s .enc + .enc, .s .gd-steps + .enc, .s .rx + .gd-steps, .s .faq + .enc { margin-top: clamp(24px, 3vw, 40px); }

/* ---------- Mise en page à deux colonnes ---------- */
.gd-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.gd-split__t { display: grid; gap: 22px; font-size: 1.0625rem; line-height: 1.65; }

/* ---------- Pictogrammes ---------- */
.gd-ico, .gd-tool__ico {
  flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: var(--gd-acc); box-shadow: inset 0 0 0 1px var(--light-a); background: oklch(0.72 0.15 238 / 0.06);
}
.gd-ico svg, .gd-tool__ico svg, .gd-fx__dot svg, .gd-rgi svg, .gd-see svg, .gd-fx__out svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.gd-ico--txt, .gd-tool__ico--txt, .gd-fx__dot--txt { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.gd-rgi svg { width: 24px; height: 24px; }

/* ---------- Cartes à pictogramme ---------- */
.gd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.gd-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gd-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-card {
  position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.2vw, 30px);
  border-radius: var(--r); background: var(--gd-card); box-shadow: inset 0 0 0 1px var(--gd-card-line);
  transition: transform 0.6s var(--ease), box-shadow 0.5s;
}
.s--labo .gd-card { box-shadow: 0 0 0 1px var(--l-line), 0 18px 40px oklch(0.24 0.065 252 / 0.06); }
.gd-card:hover { transform: translateY(-4px); }
.s--labo .gd-card:hover { box-shadow: 0 0 0 1px oklch(0.55 0.15 245 / 0.35), 0 24px 50px oklch(0.24 0.065 252 / 0.12); }
.gd-card__t { color: var(--ink); font-size: 1.1rem !important; }
.gd-card__x { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.gd-card__x:empty { display: none; }
.gd-cards--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gd-cards--mini .gd-card { grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 16px 18px; }
.gd-cards--mini .gd-ico { width: 48px; height: 48px; }
.gd-cards--mini .gd-card__t { font-family: var(--text); font-weight: 600; font-size: 16px !important; line-height: 1.3; }
.gd-cards--tech .gd-card { padding-top: clamp(28px, 2.6vw, 36px); }
.gd-cards--tech .gd-ico { width: 64px; height: 64px; }
.gd-cards--tech .gd-ico svg { width: 30px; height: 30px; }

/* Les grands types de filtration : une échelle */
.gd-ladder { display: grid; gap: 18px; }
.gd-ladder__ax { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.gd-ladder__ax i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, oklch(0.55 0.15 245 / 0.2), var(--gd-acc)); position: relative; }
.gd-ladder__ax i::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--gd-acc); border-right: 0; }
.gd-cards--ladder .gd-ico { width: 72px; height: 72px; border-radius: 16px; }
.gd-cards--ladder .gd-ico svg { width: 44px; height: 44px; stroke-width: 1.3; }
.gd-cards--ladder .gd-card:nth-child(4) { background: var(--marine); box-shadow: none; }
.gd-cards--ladder .gd-card:nth-child(4) .gd-card__t { color: #fff; }
.gd-cards--ladder .gd-card:nth-child(4) .gd-card__x { color: oklch(0.88 0.02 240); }
.gd-cards--ladder .gd-card:nth-child(4) .gd-ico { color: var(--light); box-shadow: inset 0 0 0 1px oklch(0.72 0.15 238 / 0.5); }

/* ---------- Schéma de principe (flux) ---------- */
.gd-fx { margin: 0; }
.gd-fx__line { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 18px; }
.gd-fx__line::before, .gd-fx__line::after {
  content: ""; position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 35px; height: 2px; border-radius: 2px;
}
.gd-fx__line::before { background: oklch(0.55 0.15 245 / 0.18); }
.gd-fx__line::after {
  background: linear-gradient(90deg, transparent 0 40%, var(--light) 50%, transparent 60% 100%) 0 0 / 220% 100%;
  animation: gdFlow 3.6s linear infinite;
}
@keyframes gdFlow { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.gd-fx__n { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 6px; align-content: start; }
.gd-fx__dot {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  color: var(--gd-acc); background: var(--labo); box-shadow: inset 0 0 0 1.5px var(--gd-acc);
}
.s--nuit .gd-fx__dot { background: var(--night); }
.gd-fx__dot svg { width: 30px; height: 30px; }
.gd-fx__n--hl .gd-fx__dot { background: var(--marine); color: #fff; box-shadow: 0 0 0 6px oklch(0.55 0.15 245 / 0.14), 0 0 34px oklch(0.72 0.15 238 / 0.45); }
.gd-fx__t { color: var(--ink); font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.gd-fx__s { color: var(--ink-3); font-size: 15px; line-height: 1.4; max-width: 22ch; }
.gd-fx__out {
  display: grid; justify-items: center; gap: 6px; margin-top: 14px; padding: 12px 14px 12px; border-radius: 12px;
  font-size: 14px; line-height: 1.35; color: var(--amber-ink); background: oklch(0.75 0.13 70 / 0.12); max-width: 24ch;
}
.s--nuit .gd-fx__out { color: var(--amber); }
.gd-fx__out svg { width: 22px; height: 22px; }
.gd-fx__cap { margin-top: 26px; font-size: 14px; color: var(--ink-3); text-align: center; }
.gd-fx--3 { max-width: 1000px; margin-inline: auto; }
.gd-fx--3 + .enc, .gd-fx + .enc { margin-top: clamp(32px, 4vw, 52px); }
.gd-fx--ro { padding: clamp(28px, 3.4vw, 52px) clamp(18px, 3vw, 44px); border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--l-line), 0 40px 90px oklch(0.24 0.065 252 / 0.1); }
.gd-fx--ro .gd-fx__dot { background: #fff; }
.gd-fx--ro .gd-fx__n--hl .gd-fx__dot, .gd-fx--v .gd-fx__n--hl .gd-fx__dot { background: var(--marine); color: #fff; }

/* Variante verticale (dans une colonne) */
.gd-fx--v .gd-fx__line { grid-template-columns: 1fr; gap: 26px; }
.gd-fx--v .gd-fx__line::before, .gd-fx--v .gd-fx__line::after { left: 35px; right: auto; top: 36px; bottom: 36px; width: 2px; height: auto; }
.gd-fx--v .gd-fx__line::after { background: linear-gradient(180deg, transparent 0 40%, var(--light) 50%, transparent 60% 100%) 0 0 / 100% 220%; animation-name: gdFlowV; }
@keyframes gdFlowV { from { background-position: 0 120%; } to { background-position: 0 -120%; } }
.gd-fx--v .gd-fx__n { grid-template-columns: 72px 1fr; justify-items: start; text-align: left; column-gap: 20px; row-gap: 2px; }
.gd-fx--v .gd-fx__dot { grid-row: span 2; margin: 0; }
.gd-fx--v .gd-fx__t { align-self: end; }
.gd-fx--v .gd-fx__s { align-self: start; max-width: none; }
.gd-fx--v .gd-fx__cap { text-align: left; padding-left: 92px; margin-top: 18px; }
.gd-fx--v { padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--l-line), 0 40px 90px oklch(0.24 0.065 252 / 0.1); }
.gd-fx--v .gd-fx__dot { background: #fff; }
.gd-fx--v .gd-fx__n--hl .gd-fx__dot { background: var(--marine); color: #fff; }

/* ---------- Étapes numérotées ---------- */
.gd-steps { display: grid; gap: clamp(16px, 2vw, 28px); }
.gd-steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gd-st { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: var(--gd-card); box-shadow: inset 0 0 0 1px var(--gd-card-line); }
.gd-st__n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 15px; color: var(--gd-acc); box-shadow: inset 0 0 0 1.5px var(--gd-acc); }
.gd-st__t { color: var(--ink); margin-bottom: 8px; }
.gd-st__x { color: var(--ink-2); line-height: 1.6; }
.gd-rx .rx { margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- Bandeau outil ---------- */
.gd-tool {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); padding: clamp(18px, 2vw, 24px) clamp(18px, 2.4vw, 30px);
  border-radius: 18px; background: oklch(0.93 0.035 238); color: var(--ink-2); margin-top: clamp(36px, 4vw, 56px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.s--nuit .gd-tool { background: oklch(0.72 0.15 238 / 0.1); box-shadow: inset 0 0 0 1px oklch(0.72 0.15 238 / 0.3); }
.gd-tool__ico { background: #fff; box-shadow: none; }
.s--nuit .gd-tool__ico { background: var(--night); box-shadow: inset 0 0 0 1px var(--light-a); }
.gd-tool__t { flex: 1; display: grid; gap: 4px; min-width: 0; }
.gd-tool__t b { font-family: var(--display); font-weight: 500; font-size: 1.08rem; color: var(--ink); line-height: 1.25; }
.gd-tool__t span { font-size: 15.5px; line-height: 1.45; }
.gd-tool__go { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--marine); color: #fff; }
.s--nuit .gd-tool__go { background: var(--light); color: var(--night); }
.gd-tool__go .btn__ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: oklch(1 0 0 / 0.16); }
.gd-tool__go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gd-tool:hover { transform: translateY(-3px); box-shadow: 0 18px 44px oklch(0.24 0.065 252 / 0.14); }
.gd-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gd-tools .gd-tool { margin-top: 0; height: 100%; flex-direction: column; align-items: flex-start; }
.gd-tools .gd-tool__go { margin-top: auto; }
.gd-tools--hub .gd-tool { padding: clamp(26px, 2.6vw, 36px); gap: 18px; background: #fff; box-shadow: 0 0 0 1px var(--l-line), 0 24px 60px oklch(0.24 0.065 252 / 0.08); }
.gd-tools--hub .gd-tool__ico { width: 64px; height: 64px; background: oklch(0.93 0.035 238); }
.gd-tools--hub .gd-tool__t b { font-size: 1.3rem; }

/* ---------- Cartes produits / gammes ---------- */
.gd-gms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.gd-gms--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gd-gms--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-gms--1 { grid-template-columns: 1fr; }
.gd-gm { position: relative; display: flex; flex-direction: column; border-radius: 18px; background: var(--gd-card); box-shadow: inset 0 0 0 1px var(--gd-card-line); overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.5s; }
.s--labo .gd-gm { box-shadow: 0 0 0 1px var(--l-line), 0 22px 50px oklch(0.24 0.065 252 / 0.07); }
.gd-gm:hover { transform: translateY(-5px); }
.s--labo .gd-gm:hover { box-shadow: 0 0 0 1px oklch(0.55 0.15 245 / 0.35), 0 30px 60px oklch(0.24 0.065 252 / 0.13); }
.gd-gm__a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.gd-gm__img {
  position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 4%; height: clamp(210px, 18vw, 260px); padding: 22px 10% 18px; overflow: hidden;
  background: radial-gradient(75% 70% at 50% 45%, oklch(0.3 0.1 248 / 0.9), var(--night-2));
}
.s--labo .gd-gm__img { background: radial-gradient(75% 70% at 50% 42%, #fff, var(--labo-2)); }
.gd-gm__img img { position: relative; z-index: 1; height: 100%; width: auto; max-width: 100%; min-width: 0; object-fit: contain; flex: 0 1 auto; transition: transform 0.8s var(--ease); filter: drop-shadow(0 18px 18px oklch(0.24 0.065 252 / 0.18)); }
.gd-gm__img img:first-of-type:nth-last-of-type(2) { max-width: 46%; }
.gd-gm__img img + img { height: 66%; max-width: 50%; }
.gd-gm__img--photo { padding: 0; }
.gd-gm__img--photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: none; }
.gd-gm:hover .gd-gm__img img { transform: translateY(-3%) scale(1.03); }
.gd-gm__img--sym { align-items: center; background: radial-gradient(70% 70% at 50% 45%, oklch(0.36 0.1 250), var(--marine)) !important; }
.gd-gm__sym { position: relative; display: grid; place-items: center; height: 82%; aspect-ratio: 1; font-family: var(--mono); font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); color: #fff; letter-spacing: 0.04em; }
.gd-gm__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--light) 0 160deg, transparent 166deg 194deg, var(--light) 200deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 10px var(--light)) drop-shadow(0 0 30px oklch(0.72 0.15 238 / 0.6));
}
.gd-gm__b { display: grid; gap: 6px; padding: 20px 22px 22px; padding-right: 64px; flex: 1; align-content: start; }
.gd-gm--multi .gd-gm__b { padding-right: 22px; }
.gd-gm__k { font-family: var(--mono); font-size: 12.5px; color: var(--gd-acc); text-transform: uppercase; letter-spacing: 0.06em; }
.gd-gm__t { font-family: var(--display); font-size: 1.12rem !important; color: var(--ink); font-weight: 500; line-height: 1.25; }
.gd-gm__d { font-size: 15.5px; color: var(--ink-3); line-height: 1.45; }
.gd-gm__go { position: absolute; right: 18px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--light-a); color: var(--ink); transition: transform 0.5s var(--ease), background-color 0.4s; }
.gd-gm__go svg, .gd-chip svg, .gd-nx__go svg, .gd-big__go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gd-gm:hover .gd-gm__go { background: var(--marine); color: #fff; transform: translateX(3px); }
.s--nuit .gd-gm:hover .gd-gm__go { background: var(--light); color: var(--night); }
.gd-gm__pdf { display: inline-flex; align-items: center; gap: 8px; margin: -6px 22px 20px; font-size: 14px; font-weight: 600; color: var(--gd-acc); text-decoration: underline; text-underline-offset: 3px; }
.gd-gm__pdf::before { content: "PDF"; font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 3px 6px; border-radius: 6px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.gd-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 22px; }
.gd-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1px var(--light-a); transition: background-color 0.3s, color 0.3s; }
.gd-chip span { display: inline-grid; }
.gd-chip:hover { background: var(--marine); color: #fff; }
.s--nuit .gd-chip:hover { background: var(--light); color: var(--night); }
.gd-gms--1 .gd-gm__a { flex-direction: row; }
.gd-gms--1 .gd-gm__img { width: 42%; height: auto; min-height: 220px; }
.gd-gms--1 .gd-gm__b { align-content: center; }

.gd-see { display: flex; gap: 12px; align-items: center; margin-top: clamp(28px, 3vw, 40px); font-size: 1.0625rem; color: var(--ink-2); }
.gd-see svg { color: var(--gd-acc); flex: none; }
.gd-see a { color: var(--gd-acc); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* KHS Série dans « Bien dimensionner » */
.gd-dim .split__m .m { aspect-ratio: 4 / 4.2; }
.gd-dim .split__m .m img { object-fit: contain !important; padding: 8% 10% 14%; }
.gd-packfig figcaption { color: var(--l-ink-2) !important; text-shadow: none !important; font-family: var(--mono); font-size: 13px !important; text-align: center; }
.gd-packfig::after { display: none !important; }
.gd-dim .rangées { margin-bottom: 26px; }

/* Encadré chiffré (dureté minimale) */
.gd-fact { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.gd-fact__v { font-family: var(--display); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem); line-height: 1; color: var(--marine); font-weight: 500; letter-spacing: -0.03em; }
.gd-fact__v small { font-size: 0.4em; color: var(--blue); margin-left: 4px; letter-spacing: 0; }
.gd-fact__x { display: grid; gap: 10px; max-width: 72ch; }
.faq + .enc { max-width: 900px; }

/* ---------- Osmoseur ou adoucisseur ---------- */
.gd-duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); align-items: stretch; margin-bottom: clamp(28px, 3vw, 44px); }
.gd-duo__c { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 36px); border-radius: 18px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); }
.gd-duo__c--hl { background: linear-gradient(160deg, oklch(0.3 0.1 248), var(--night-2)); box-shadow: inset 0 0 0 1px oklch(0.72 0.15 238 / 0.45), 0 0 50px oklch(0.72 0.15 238 / 0.15); }
.gd-duo__k { font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); color: var(--ink); }
.gd-duo__x { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }
.gd-duo__w { font-family: var(--mono); font-size: 13px; color: var(--light); text-transform: uppercase; letter-spacing: 0.06em; }
.gd-duo__ar { display: grid; place-items: center; color: var(--light); position: relative; width: 56px; }
.gd-duo__ar svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px var(--light)); }
.gd-duo__ar span { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--light), transparent); }

/* ---------- PFAS : emplois et coupe de terrain ---------- */
.gd-pers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.gd-pers .gd-sub { margin-top: 0; }
.gd-strata { margin: 0; display: grid; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--l-line), 0 30px 70px oklch(0.24 0.065 252 / 0.1); }
.gd-strata__l { position: relative; display: grid; gap: 2px; padding: 22px 26px; min-height: 92px; align-content: center; }
.gd-strata__l b { font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.gd-strata__l span { font-size: 14px; }
.gd-strata__l--eau { background: linear-gradient(180deg, oklch(0.9 0.05 235), oklch(0.82 0.08 238)); color: var(--l-ink); }
.gd-strata__l--eau::after { content: ""; position: absolute; right: 24px; top: 50%; width: 120px; height: 14px; transform: translateY(-50%); background: radial-gradient(circle at 10px -4px, transparent 9px, oklch(0.55 0.15 245 / 0.55) 9.5px 10.5px, transparent 11px) 0 0 / 20px 14px repeat-x; }
.gd-strata__l--sol { background: oklch(0.9 0.012 240); color: var(--l-ink); background-image: radial-gradient(oklch(0.24 0.065 252 / 0.22) 1.4px, transparent 1.6px); background-size: 14px 12px; }
.gd-strata__l--sol b { background: oklch(0.9 0.012 240); padding: 0 4px; margin-left: -4px; justify-self: start; }
.gd-strata__l--sol span { background: oklch(0.9 0.012 240); padding: 0 4px; margin-left: -4px; justify-self: start; color: var(--l-ink-2); }
.gd-strata__l--nappe { background: linear-gradient(180deg, oklch(0.36 0.1 250), var(--marine)); color: #fff; }
.gd-strata__l--nappe b { color: #fff; }
.gd-strata__l--nappe span { color: oklch(0.85 0.03 240); }
.gd-strata__l::before { content: ""; position: absolute; right: 26px; bottom: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: -26px -12px 0 -1px var(--amber), -54px 4px 0 -2px var(--amber); opacity: 0.85; }
.gd-strata__l--eau::before { bottom: auto; top: 14px; }
.gd-strata figcaption { padding: 12px 26px; font-size: 13.5px; color: var(--l-ink-3); background: #fff; }

/* ---------- Filtration : simple, duplex, triplex ---------- */
.gd-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-bottom: clamp(28px, 3vw, 44px); }
.gd-trio__i a { display: grid; gap: 8px; align-content: start; height: 100%; padding: 0 0 26px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--l-line), 0 22px 50px oklch(0.24 0.065 252 / 0.07); overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.5s; }
.gd-trio__i a:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px oklch(0.55 0.15 245 / 0.35), 0 30px 60px oklch(0.24 0.065 252 / 0.13); }
.gd-trio__img { display: flex; justify-content: center; align-items: flex-end; height: clamp(240px, 22vw, 320px); padding: 28px 12% 20px; overflow: hidden; background: radial-gradient(75% 70% at 50% 42%, #fff, var(--labo-2)); margin-bottom: 10px; }
.gd-trio__img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px oklch(0.24 0.065 252 / 0.18)); transition: transform 0.8s var(--ease); }
.gd-trio__i a:hover img { transform: translateY(-3%) scale(1.03); }
.gd-trio__k { justify-self: start; white-space: nowrap; margin-inline: 24px; font-family: var(--mono); font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--marine); color: #fff; }
.gd-trio__t { margin-inline: 24px; font-family: var(--display); font-size: 1.4rem; color: var(--l-ink); font-weight: 500; }
.gd-trio__x { margin-inline: 24px; color: var(--l-ink-2); line-height: 1.55; }
.gd-check li { padding-left: 34px; }
.gd-check li::before {
  background: none !important; -webkit-mask: none !important; mask: none !important; width: 20px !important; height: 20px !important; border-radius: 6px !important; top: 0.2em !important;
  box-shadow: inset 0 0 0 1.5px var(--amber-ink);
}
.gd-check li::after { content: ""; position: absolute; left: 6px; top: calc(0.2em + 4px); width: 6px; height: 10px; border: solid var(--amber-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gd-pfas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.gd-pfas .enc--alerte { align-content: center; font-size: 1.0625rem; line-height: 1.6; }

/* ---------- Hub : grandes cartes ---------- */
.gd-bigs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.gd-big { display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--l-line), 0 30px 70px oklch(0.24 0.065 252 / 0.09); transition: transform 0.7s var(--ease), box-shadow 0.6s; }
.gd-big:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px oklch(0.55 0.15 245 / 0.35), 0 40px 90px oklch(0.24 0.065 252 / 0.16); }
.gd-big__m { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--labo-2); isolation: isolate; }
.gd-big__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gd-big:hover .gd-big__m img { transform: scale(1.045); }
.gd-big__m::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, oklch(0.12 0.04 252 / 0.72)); z-index: 1; pointer-events: none; }
.gd-big__m .ia-note { top: 14px; right: 14px; bottom: auto; font-size: 12px; z-index: 2; }
.gd-big__n { position: absolute; z-index: 2; left: 18px; top: 16px; font-family: var(--mono); font-size: 13px; padding: 5px 11px; border-radius: 999px; color: #fff; background: oklch(0.14 0.04 252 / 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gd-big__sym { position: absolute; z-index: 2; left: 22px; bottom: 16px; font-family: var(--mono); font-size: clamp(1.6rem, 1rem + 1.8vw, 2.6rem); color: #fff; text-shadow: 0 2px 20px oklch(0 0 0 / 0.5); letter-spacing: 0.02em; }
.gd-big__b { display: grid; gap: 10px; padding: clamp(22px, 2.4vw, 34px); flex: 1; align-content: start; }
.gd-big__t { font-size: clamp(1.35rem, 1rem + 1vw, 1.9rem) !important; color: var(--l-ink); line-height: 1.12; }
.gd-big__d { color: var(--l-ink-2); font-size: 1.0625rem; line-height: 1.55; max-width: 48ch; }
.gd-big__go { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; font-weight: 600; color: var(--marine); }
.gd-big__go .btn__ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px oklch(0.55 0.15 245 / 0.45); transition: transform 0.5s var(--ease), background-color 0.4s, color 0.4s; }
.gd-big:hover .gd-big__go .btn__ico { background: var(--marine); color: #fff; transform: translateX(4px); }

/* ---------- Autres guides ---------- */
.gd-nxs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.gd-nx { display: grid; gap: 8px; align-content: start; height: 100%; padding-bottom: 6px; color: var(--ink-2); }
.gd-nx__m { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--night-2); margin-bottom: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.gd-nx__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gd-nx__m::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, oklch(0.12 0.04 252 / 0.7)); }
.gd-nx__m .ia-note { top: 10px; right: 10px; bottom: auto; font-size: 11.5px; z-index: 2; }
.gd-nx__sym { position: absolute; z-index: 2; left: 16px; bottom: 12px; font-family: var(--mono); font-size: 1.4rem; color: #fff; }
.gd-nx:hover .gd-nx__m img { transform: scale(1.05); }
.gd-nx__t { font-family: var(--display); font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.gd-nx__d { font-size: 15.5px; line-height: 1.5; color: var(--ink-3); }
.gd-nx__go { display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; font-weight: 600; color: var(--light); font-size: 15px; }
.gd-nx:hover .gd-nx__go svg { transform: translateX(4px); transition: transform 0.4s var(--ease); }

/* ---------- Accessibilité du mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  .gd-fx__line::after { animation: none; background: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .gd-gms--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-pl--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .gd-ess, .gd-split, .gd-pers, .gd-pfas { grid-template-columns: 1fr; }
  .gd-gms--3, .gd-tools, .gd-nxs, .gd-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-cards--3 { grid-template-columns: 1fr; }
  .gd-cards--tech .gd-card { grid-template-columns: auto 1fr; column-gap: 18px; }
  .gd-cards--tech .gd-card__x { grid-column: 2; }
  .gd-cards--tech .gd-ico { grid-row: span 2; }
  .gd-steps--2 { grid-template-columns: 1fr; }
  .gd-jump { display: none; }
  /* Schémas : verticaux sur tablette et téléphone */
  .gd-fx:not(.gd-fx--v) .gd-fx__line { grid-template-columns: 1fr; gap: 22px; }
  .gd-fx:not(.gd-fx--v) .gd-fx__line::before, .gd-fx:not(.gd-fx--v) .gd-fx__line::after { left: 35px; right: auto; top: 36px; bottom: 36px; width: 2px; height: auto; }
  .gd-fx:not(.gd-fx--v) .gd-fx__line::after { background: linear-gradient(180deg, transparent 0 40%, var(--light) 50%, transparent 60% 100%) 0 0 / 100% 220%; animation-name: gdFlowV; }
  .gd-fx:not(.gd-fx--v) .gd-fx__n { grid-template-columns: 72px 1fr; justify-items: start; text-align: left; column-gap: 20px; row-gap: 2px; }
  .gd-fx:not(.gd-fx--v) .gd-fx__dot { grid-row: span 3; margin: 0; }
  .gd-fx:not(.gd-fx--v) .gd-fx__s { max-width: none; }
  .gd-fx:not(.gd-fx--v) .gd-fx__out { justify-items: start; grid-template-columns: auto 1fr; align-items: center; margin-top: 8px; max-width: none; text-align: left; }
  .gd-fx__cap { text-align: left; }
  .gd-duo { grid-template-columns: 1fr; }
  .gd-duo__ar { width: auto; height: 40px; transform: rotate(90deg); }
}
@media (max-width: 759px) {
  .gd-bigs, .gd-gms--3, .gd-gms--4, .gd-tools, .gd-nxs, .gd-trio, .gd-cards--4 { grid-template-columns: 1fr; }
  .gd-cards--4 .gd-card { grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px 20px; }
  .gd-cards--4 .gd-card__x { grid-column: 1 / -1; }
  .gd-cards--4 .gd-ico { width: 48px; height: 48px; }
  .gd-cards--ladder .gd-card__x { grid-column: 2; }
  .gd-cards--ladder .gd-ico { grid-row: span 2; width: 60px; height: 60px; }
  .gd-cards--mini { grid-template-columns: 1fr; }
  .gd-pl, .gd-pl--4 { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .gd-pl .plaque__val { font-size: 1.8rem; white-space: normal; }
  .gd-tool { flex-wrap: wrap; }
  .gd-tool__go { width: 100%; justify-content: space-between; }
  .gd-gms--1 .gd-gm__a { flex-direction: column; }
  .gd-gms--1 .gd-gm__img { width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
  .gd-fact { grid-template-columns: 1fr; gap: 10px; }
  .gd-fx--v .gd-fx__cap { padding-left: 0; }
  .gd-strata__l--eau::after { display: none; }
  .gd-meta { margin-top: 20px; }
  .gd-trio__img { height: 240px; }
}

/* Symboles chimiques en JetBrains Mono : exposants et indices resserrés */
.gd-big__sym sup, .gd-nx__sym sup, .gd-big__sym sub, .gd-nx__sym sub { font-size: 0.55em; letter-spacing: -0.04em; }
.gd-big__sym sup, .gd-nx__sym sup { vertical-align: 0.75em; }
.gd-big__sym sub, .gd-nx__sym sub { vertical-align: -0.2em; }
.gd-big__sym, .gd-nx__sym { letter-spacing: -0.03em; line-height: 1; }

.gd-gm__img .ia-note { position: absolute; z-index: 2; top: 10px; right: 10px; bottom: auto; font-size: 11.5px; }
