/* =============================================================
   HYDRODIV — Home v1.2 (refonte 2026-05-07)
   - Fond taupe matte (ciel étoilé) + starfield JS
   - Logo réel au header, icônes plus grandes
   - Barres de progression intégrées dans chaque carte produit
   - Section "produits phares" en bas (5 produits)
   - Footer custom mini
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400&display=swap');

:root {
  /* Body : gris-bleu froid moderne (Apple/Linear-like, sophistiqué) */
  --hd-bg:        #FFFFFF;
  --hd-bg-deep:   #1A1D2E;     /* footer + accents sombres */
  --hd-bg-pure:   #FFFFFF;
  --hd-bg-soft:   #EFF1F5;
  --hd-bg-warm:   #E6E9EE;

  --hd-ink:       #0A0E2A;
  --hd-ink-soft:  #2C3258;
  --hd-mute:      #6B7280;
  --hd-faint:     #9CA3AF;
  --hd-on-dark:   rgba(255,255,255,.92);
  --hd-on-dark-mute: rgba(255,255,255,.65);

  --hd-navy:      #1F2D7D;
  --hd-navy-deep: #141E5C;
  --hd-navy-tint: #ECEEF6;

  --hd-green:     #8DC641;
  --hd-green-deep:#6FA02C;

  /* 2026-06-02 : accent doré → ÉMERAUDE (#1F9D6B) pour s'accorder au navy.
     Variables nommées "gold" conservées (≈30 usages) ; le doré n'est gardé
     QUE sur "sans odeurs." et le bouton Diag, via re-déclaration locale en bas. */
  --hd-gold:      #1F9D6B;   /* émeraude (accent principal) */
  --hd-gold-deep: #17865A;   /* émeraude profond (hover, dégradés, texte) */
  --hd-gold-tint: #E6F4EE;   /* fond émeraude très pâle (ex-crème) */

  --hd-rule:      #EAEAEC;
  --hd-rule-on-bg: rgba(0,0,0,.10);

  --hd-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --hd-font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --hd-shadow-sm: 0 2px 10px rgba(10,14,42,.06), 0 1px 2px rgba(10,14,42,.04);
  --hd-shadow-md: 0 16px 40px -12px rgba(10,14,42,.16), 0 4px 10px rgba(10,14,42,.06);
  --hd-shadow-lg: 0 40px 80px -20px rgba(10,14,42,.20), 0 8px 20px rgba(10,14,42,.08);

  --hd-radius-sm: 10px;
  --hd-radius-md: 16px;
  --hd-radius-lg: 24px;
  --hd-radius-xl: 32px;
  --hd-radius-pill: 999px;

  --hd-pad: clamp(20px, 4vw, 64px);
  --hd-section: clamp(56px, 7vw, 96px);   /* resserré : moins de blanc */
}

/* ---------- Reset on home (refonte 2026-05-19 — fond ambient coloré) ----------
   Body : aurora marque diffuse en couches radial-gradient. Couvre toute la page,
   bleed naturel entre toutes les sections (catnav, hero, filtroscope, etc.) qui
   sont posées par-dessus avec un fond transparent ou semi-transparent. */
body.has-hd-chrome {
  margin: 0;
  background-color: #FBFCFD !important;
  background-image:
    radial-gradient(900px 600px at 12% 8%, rgba(141,198,65,0.06) 0%, transparent 60%),
    radial-gradient(900px 600px at 88% 18%, rgba(31,157,107,0.05) 0%, transparent 60%),
    radial-gradient(1200px 700px at 50% 55%, rgba(31,45,125,0.04) 0%, transparent 55%),
    radial-gradient(800px 500px at 20% 92%, rgba(141,198,65,0.045) 0%, transparent 60%),
    radial-gradient(700px 500px at 80% 96%, rgba(31,157,107,0.035) 0%, transparent 60%) !important;
  background-size: 100% 200%, 100% 200%, 100% 200%, 100% 200%, 100% 200% !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  color: var(--hd-ink) !important;
  font-family: var(--hd-font-sans) !important;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide PrestaShop default chrome on home */
body.has-hd-chrome #header-container,
body.has-hd-chrome header#header-container,
body.has-hd-chrome header.flex-shrink-0,
body.has-hd-chrome #header,
body.has-hd-chrome .header-banner,
body.has-hd-chrome .header-top,
body.has-hd-chrome .header-nav,
body.has-hd-chrome .header-menu,
body.has-hd-chrome #_desktop_top_menu,
body.has-hd-chrome #theme-slider,
body.has-hd-chrome .breadcrumb,
body.has-hd-chrome #footer,
body.has-hd-chrome #footer-container,
body.has-hd-chrome footer.footer-container,
body.has-hd-chrome .footer-before,
body.has-hd-chrome .footer-container,
body.has-hd-chrome .footer-after {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.has-hd-chrome #page    { background: var(--hd-bg) !important; padding: 0 !important; margin: 0 !important; }
body.has-hd-chrome #wrapper { background: transparent !important; padding: 0 !important; margin: 0 !important; }
body.has-hd-chrome #main    { padding: 0 !important; margin: 0 !important; }
body.has-hd-chrome .page-home,
body.has-hd-chrome #content { background: transparent !important; padding: 0 !important; margin: 0 !important; }

/* Starfield supprimé 2026-05-19 (effet étoiles JS retiré). */

/* Sections au-dessus du fond ambient (orbs colorés) — exclut le header sticky
   pour qu'il puisse rester en premier plan (2026-05-21). */
.page-home > section,
.page-home > nav,
.page-home > footer { position: relative; z-index: 2; }
.page-home > header:not(.hd-top) { position: relative; z-index: 2; }

/* Smooth scroll sur la home + offset header sticky (2026-05-19) */
html { scroll-behavior: smooth; }
body.has-hd-chrome section[id],
body.has-hd-chrome nav[id] { scroll-margin-top: 120px; }
#hd-products, #hd-flagship, #hd-schema, #hd-epur { scroll-margin-top: 120px; }

/* CRITICAL FIX 2026-05-19 — Bootstrap .h-100 sur <html>/<body> verrouillait
   la page à la hauteur du viewport (900px) → impossibilité de scroller au-delà.
   On relâche cette contrainte sans casser le flex-column body de PrestaShop. */
html.h-100,
body.h-100 {
  height: auto !important;
  min-height: 100%;
}

/* ---------- Typography ---------- */
.page-home h1, .page-home h2, .page-home h3, .page-home h4, .page-home h5 {
  font-family: var(--hd-font-sans);
  color: var(--hd-ink);
  margin: 0;
  letter-spacing: -0.022em;
  font-weight: 500;
}
.page-home p { margin: 0; color: var(--hd-ink-soft); }
.page-home a { color: inherit; text-decoration: none; }

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

/* ============================================================
   1. HEADER (logo réel, icônes plus grandes)
   ============================================================ */
/* hd-top peut être au sommet du body (home/guide) ou injecté en JS sur les autres pages.
   Dans tous les cas, sticky en haut, glassmorphism, ligne fine en bas. */
.hd-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #FFFFFF;
  border-bottom: 1px solid var(--hd-rule);
}
header.hd-top,
header#hd-top { position: sticky !important; top: 0 !important; z-index: 1000 !important; }

/* 2026-05-21 : neutralise la règle stale d'un ancien bundle de thème qui
   cachait la nav sur toutes les pages internes (les bundles cache figés
   contiennent encore l'ancienne règle .has-hd-chrome:not(.page-index)
   .hd-top__nav{display:none!important}). On force flex partout. */
body .hd-top .hd-top__nav,
body.has-hd-chrome .hd-top .hd-top__nav,
body:not(.page-index) .hd-top .hd-top__nav,
.has-hd-chrome:not(.page-index) .hd-top .hd-top__nav {
  display: flex !important;
}
@media (max-width: 768px) {
  body .hd-top .hd-top__nav,
  body.has-hd-chrome .hd-top .hd-top__nav { display: none !important; }
}

/* Bandeau infos contact (téléphone, email) — blanc pur */
.hd-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  /* 2026-06-03 : padding vertical proportionnel (scale mobile) */
  padding: clamp(4px, 1.6vw, 7px) var(--hd-pad);
  /* 2026-06-03 : retour fond BLANC pur (comme avant), texte foncé */
  background: #fff;
  color: var(--hd-ink);
  font-family: var(--hd-font-mono);
  /* texte qui se comprime sur mobile pour garder une barre régulière */
  font-size: clamp(.6rem, 2.6vw, .72rem);
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--hd-rule);
}
.hd-info__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hd-ink-soft);
  transition: color .2s var(--hd-ease);
}
.hd-info__item:hover { color: var(--hd-navy); }
.hd-info__item--mute { color: rgba(10,14,42,.55); }
.hd-info__sep { color: rgba(10,14,42,.30); }
@media (max-width: 720px) { .hd-info .hidden-sm { display: none; } }

/* ============================================================
   HEADER COMPRESSÉ AU SCROLL (refonte 2026-05-21)
   .hd-top.is-scrolled (classe ajoutée par JS dès scrollY > 24)
   ↓ collapse de la bande .hd-info, logos réduits, padding resserré.
   La .hd-catnav-bar suit automatiquement via syncCatnavTop().
   ============================================================ */
.hd-top {
  transition: box-shadow .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
}
.hd-top.is-scrolled {
  box-shadow: 0 8px 24px -16px rgba(10,14,42,.25);
}
.hd-top.is-scrolled .hd-info {
  /* Collapse de la bande contact (téléphone/mail) — gain ~30 px */
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom-width: 0;
}
.hd-info {
  transition: max-height .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              padding    .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              opacity    .2s  var(--hd-ease, cubic-bezier(.16,1,.3,1));
  max-height: 60px;
}
.hd-top__inner {
  transition: padding .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
}
.hd-top.is-scrolled .hd-top__inner {
  padding-top: 10px;
  padding-bottom: 10px;
}
.hd-top.is-scrolled .hd-top__logo            { height: 28px !important; }
.hd-top.is-scrolled .hd-top__logo--epuractif { height: 22px !important; }
.hd-top.is-scrolled .hd-top__brand-amp       { font-size: 1.3rem; }
@media (max-width: 540px) {
  .hd-top.is-scrolled .hd-top__logo            { height: 22px !important; }
  .hd-top.is-scrolled .hd-top__logo--epuractif { height: 18px !important; }
  .hd-top.is-scrolled .hd-top__brand-amp       { font-size: 1rem; }
  .hd-top.is-scrolled .hd-top__inner { padding-top: 8px; padding-bottom: 8px; }
}

/* Enrichissement footer */
.hd-foot__addr,
.hd-foot__contact {
  margin-top: 14px;
  font-size: .9rem;
  font-style: normal;
  color: var(--hd-on-dark-mute);
  line-height: 1.6;
}
.hd-foot__contact a {
  color: var(--hd-on-dark);
  display: inline-block;
}
.hd-foot__contact a:hover { color: var(--hd-green); }
.hd-foot__small {
  font-size: .85rem;
  color: var(--hd-on-dark-mute);
  line-height: 1.55;
  margin-bottom: 8px;
}
.hd-foot__slogan {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--hd-on-dark);
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* Barre de réassurance */
.hd-foot__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}
.hd-foot__brand {
  text-align: center;
  padding: 8px 0 28px;
}
.hd-rea {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 22px 0;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin: 0 0 32px;
}
@media (max-width: 992px)  { .hd-rea { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 18px 24px; } }
@media (max-width: 600px)  { .hd-rea { grid-template-columns: 1fr; padding: 16px 20px; } }
.hd-rea__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--hd-on-dark);
  padding: 0 14px;
}
.hd-rea__item svg {
  color: var(--hd-green);
  flex-shrink: 0;
  margin-top: 2px;
}
.hd-rea__item strong {
  display: block;
  font-weight: 500;
  font-size: .92rem;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.hd-rea__item span {
  display: block;
  font-size: .82rem;
  color: var(--hd-on-dark-mute);
  line-height: 1.5;
}

/* Logo HYDRODIV — affiché dans une pill blanche (le JPG a un fond blanc) */
.hd-foot__logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 10px 22px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(10,14,42,.16);
}
.hd-foot__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.hd-foot__wordmark { /* legacy text wordmark — replaced by image */
  display: none;
}
.hd-foot__slogan {
  font-size: .9rem;
  color: var(--hd-on-dark-mute);
  margin: 14px 0 0;
  letter-spacing: .01em;
}

/* Bar blanche unique en bas — tous les logos collés en petit */
.hd-foot__logosbar {
  background: #FFFFFF;
  padding: 14px var(--hd-pad);
  margin-top: 32px;
}
.hd-foot__logosbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}
.hd-foot__logo-item {
  font-family: var(--hd-font-mono);
  font-size: .68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-mute);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 24px;
  line-height: 1;
}
.hd-foot__logo-item--text {
  font-family: var(--hd-font-sans);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #C6A23B;
  background: #1A1D2E;
  padding: 4px 10px;
  border-radius: 4px;
}
.hd-foot__logo-item--card {
  font-family: var(--hd-font-sans);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  color: #FFFFFF;
  background: var(--hd-ink);
  border: 1px solid var(--hd-rule);
  text-transform: none;
}
.hd-foot__logo-item--visa { background: #1A1F71; }
.hd-foot__logo-item--mc   { background: linear-gradient(90deg, #EB001B 50%, #F79E1B 50%); color: #fff; }
.hd-foot__logo-item--pp   { background: #003087; color: #fff; }
.hd-foot__logo-item--label {
  font-weight: 500;
}
.hd-foot__logo-sep {
  width: 1px;
  height: 18px;
  background: var(--hd-rule);
  display: inline-block;
}

/* Footer contact column */
.hd-foot__col--contact a { color: var(--hd-on-dark); }
.hd-foot__col--contact a:hover { color: var(--hd-green); }

.hd-top__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  /* 2026-06-03 : padding vertical fluide → barre proportionnelle sur mobile */
  padding: clamp(9px, 2.4vw, 18px) var(--hd-pad);
  max-width: 1400px;
  margin: 0 auto;
}
.hd-top__brands {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 18px);
}
.hd-top__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.hd-top__brand-amp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", "Source Serif 4", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  /* 2026-06-03 : scale proportionnel (mobile = même barre, juste plus petite) */
  font-size: clamp(1.1rem, 4.6vw, 2rem);
  line-height: 1;
  color: var(--hd-gold-deep);
  padding: 0 clamp(2px, 1vw, 6px);
  transition: font-size .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              color     .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
}
.hd-top__logo {
  /* 2026-06-03 : hauteur fluide → le logo (et tout le header) se réduit
     proportionnellement avec la largeur d'écran, la barre garde son allure. */
  height: clamp(23px, 6.6vw, 36px);
  width: auto;
  display: block;
  /* Le JPG a un fond blanc — multiply le fait fondre dans le sable du site */
  mix-blend-mode: multiply;
  transition: height .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
}
.hd-top__logo--epuractif {
  height: clamp(19px, 5.5vw, 30px);
  mix-blend-mode: multiply;
}
.hd-top__brand--epuractif {
  opacity: .92;
  transition: opacity .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
}
.hd-top__brand--epuractif:hover { opacity: 1; }
@media (max-width: 540px) {
  /* 2026-06-03 : logos/& gérés par clamp() ci-dessus (scaling continu) ;
     on ne resserre plus que l'espacement entre les deux marques. */
  .hd-top__brands { gap: clamp(4px, 1.4vw, 6px); }
}
.hd-top__nav {
  display: flex;
  gap: clamp(24px, 2.6vw, 40px);
  margin: 0 auto;
}
.hd-top__nav a {
  font-size: .98rem;
  font-weight: 500;
  color: var(--hd-ink);
  position: relative;
  padding: 6px 0;
}
.hd-top__nav a:hover { color: var(--hd-navy); }
.hd-top__nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--hd-navy);
  border-radius: 1px;
}
.hd-top__actions {
  display: flex;
  gap: 6px;
}
.hd-icon {
  /* 2026-06-03 : icônes fluides (avant fixes à 54px → ne rétrécissaient pas
     sur mobile et déséquilibraient la barre). */
  width: clamp(38px, 11vw, 54px); height: clamp(38px, 11vw, 54px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hd-radius-pill);
  color: var(--hd-ink);
  position: relative;
  transition: background .2s, color .2s, transform .2s;
}
.hd-icon svg { width: clamp(20px, 5.6vw, 26px); height: clamp(20px, 5.6vw, 26px); }
.hd-icon:hover { background: rgba(255,255,255,.7); color: var(--hd-navy); transform: scale(1.05); }
.hd-icon__badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--hd-navy);
  color: #fff;
  font-family: var(--hd-font-mono);
  font-size: .72rem;
  padding: 3px 7px;
  border-radius: var(--hd-radius-pill);
  min-width: 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .hd-top__nav { display: none; }
  /* Logo géré désormais dans le bloc .hd-top__brands ci-dessus
     (parité visuelle avec le logo Epuractif). */
}

/* ============================================================
   2. CATALOG BAND (Apple-style)
   ============================================================ */
/* ============================================================
   CATNAV — barre de menu en cellules de tableau bordées
   Disposition grille structurée, bordures partagées, encadrement extérieur
   ============================================================ */
.hd-catnav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  border: 1px solid var(--hd-rule);
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}
@media (min-width: 720px)  { .hd-catnav { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .hd-catnav { grid-template-columns: repeat(6, 1fr); } }
.hd-catnav--home { margin: 32px auto 24px; }

.hd-catnav__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
  background: #FFFFFF;
  color: var(--hd-ink);
  text-decoration: none;
  overflow: hidden;
  transition: background .2s var(--hd-ease);
  border-right: 1px solid var(--hd-rule);
  border-bottom: 1px solid var(--hd-rule);
}
/* Last column on each row: no right border */
.hd-catnav__btn:nth-child(2n) { border-right: none; }
@media (min-width: 720px)  {
  .hd-catnav__btn { border-right: 1px solid var(--hd-rule); }
  .hd-catnav__btn:nth-child(2n)  { border-right: 1px solid var(--hd-rule); }
  .hd-catnav__btn:nth-child(3n)  { border-right: none; }
}
@media (min-width: 1100px) {
  .hd-catnav__btn { border-right: 1px solid var(--hd-rule); border-bottom: none; }
  .hd-catnav__btn:nth-child(2n),
  .hd-catnav__btn:nth-child(3n)  { border-right: 1px solid var(--hd-rule); }
  .hd-catnav__btn:last-child { border-right: none; }
}
.hd-catnav__btn::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--hd-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--hd-ease);
}
.hd-catnav__btn:hover {
  background: var(--hd-bg-soft);
}
.hd-catnav__btn:hover::before { transform: scaleX(1); }
.hd-catnav__btn--green::before { background: var(--hd-green-deep); }
.hd-catnav__btn--gold::before  { background: var(--hd-gold-deep); }
.hd-catnav__btn--navy::before  { background: var(--hd-navy); }

.hd-catnav__num {
  font-family: var(--hd-font-mono);
  font-size: .62rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.hd-catnav__btn--green .hd-catnav__num { color: var(--hd-green-deep); }
.hd-catnav__btn--gold  .hd-catnav__num { color: var(--hd-gold-deep); }
.hd-catnav__btn--navy  .hd-catnav__num { color: var(--hd-navy); }

.hd-catnav__name {
  font-family: var(--hd-font-serif, "Fraunces", serif);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.18;
  color: var(--hd-ink);
  margin: 2px 0 4px;
  letter-spacing: -0.012em;
}
.hd-catnav__count {
  font-family: var(--hd-font-mono);
  font-size: .62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hd-mute);
}
.hd-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--hd-gold-deep);
}

@media (max-width: 768px) {
  .hd-catalog__drawer { right: -16px; left: -16px; width: auto; }
}

/* ============================================================
   3. HERO
   ============================================================ */
.hd-hero {
  padding: clamp(72px, 9vw, 128px) var(--hd-pad) clamp(36px, 4.5vw, 64px);
  text-align: center;
  background: transparent;
  position: relative;
}
/* Décoration brand : trait fin bleu/vert qui émerge du dessus */
.hd-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--hd-navy));
}
.hd-hero__inner {
  max-width: 880px;
  margin: 0 auto;
}
.hd-hero__eyebrow {
  font-family: var(--hd-font-mono);
  font-size: .82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hd-navy);
  margin-bottom: 32px;
}
.hd-hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--hd-ink);
}
.hd-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--hd-navy);
}
.hd-hero__lede {
  margin-top: 30px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--hd-ink-soft);
  line-height: 1.6;
}
.hd-hero__cta {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   STAT STRIP (juste sous le hero, brand colors)
   ============================================================ */
.hd-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  margin: 32px auto 0;
  max-width: 1100px;
  padding: 24px var(--hd-pad);
  border-top: 1px solid rgba(31,45,125,.15);
  border-bottom: 1px solid rgba(31,45,125,.15);
}
.hd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.hd-stat__num {
  font-family: var(--hd-font-sans);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--hd-navy) 0%, var(--hd-green-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
}
.hd-stat__lbl {
  font-family: var(--hd-font-mono);
  font-size: .7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hd-mute);
  max-width: 130px;
  line-height: 1.4;
}
.hd-stat__sep {
  width: 1px;
  height: 28px;
  background: rgba(31,45,125,.2);
}
@media (max-width: 720px) {
  .hd-stat__sep { display: none; }
}

/* Section divider — fil rouge brand qui flotte entre sections */
.page-home > section + section {
  position: relative;
}
.page-home > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hd-navy), var(--hd-green), transparent);
  opacity: .6;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.hd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: var(--hd-radius-pill);
  border: 1px solid transparent;
  font-family: var(--hd-font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .25s, color .2s;
}
.hd-btn:active { transform: scale(.98); }
.hd-btn svg { transition: transform .25s; }
.hd-btn:hover svg { transform: translateX(4px); }
.hd-btn--lg { padding: 22px 38px; font-size: 1.12rem; }

.hd-btn--primary {
  background: var(--hd-ink);
  color: #fff;
  border-color: var(--hd-ink);
  box-shadow: 0 8px 22px -8px rgba(10,14,42,.45);
}
.hd-btn--primary:hover {
  background: var(--hd-navy);
  border-color: var(--hd-navy);
  box-shadow: 0 14px 32px -10px rgba(31,45,125,.55);
  transform: translateY(-2px);
}

.hd-btn--ghost {
  background: var(--hd-bg-pure);
  color: var(--hd-ink);
  border-color: var(--hd-ink);
  border-width: 1.5px;
}
.hd-btn--ghost:hover {
  background: var(--hd-ink);
  color: #fff;
  border-color: var(--hd-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(10,14,42,.45);
}

.hd-btn--gold {
  background: linear-gradient(135deg, var(--hd-gold) 0%, var(--hd-gold-deep) 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 22px -6px rgba(31,157,107,.5);
  position: relative;
  overflow: hidden;
}
.hd-btn--gold::after {
  /* Shimmer balayant la surface en boucle douce */
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: hd-shimmer 3.5s var(--hd-ease, cubic-bezier(.16,1,.3,1)) infinite;
  pointer-events: none;
}
@keyframes hd-shimmer {
  0%, 25%   { left: -60%; }
  60%, 100% { left: 130%; }
}
.hd-btn--gold:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 32px -6px rgba(31,157,107,.7);
  transform: translateY(-2px);
}
.hd-btn--gold > * { position: relative; z-index: 1; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.hd-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(28px, 3.6vw, 56px);
  padding: 0 var(--hd-pad);
}
.hd-eyebrow {
  font-family: var(--hd-font-mono);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hd-navy);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hd-eyebrow::before,
.hd-eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--hd-navy);
  opacity: .35;
}
.hd-h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--hd-ink);
}
.hd-h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--hd-navy);
}
.hd-h3 {
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--hd-ink);
}
.hd-lede {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--hd-ink-soft);
  line-height: 1.6;
}

/* ============================================================
   4. PRODUITS PHARES (3 — schémas + barres in-card)
   ============================================================ */
.hd-products {
  padding: var(--hd-section) 0;
  background: transparent;
}
.hd-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 0 var(--hd-pad);
  max-width: 1400px;
  margin: 0 auto;
}

.hd-prod {
  background: var(--hd-bg-pure);
  border: 1px solid var(--hd-rule);
  border-radius: var(--hd-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s, box-shadow .35s, border-color .25s;
  position: relative;
}
.hd-prod:hover {
  transform: translateY(-4px);
  box-shadow: var(--hd-shadow-md);
  border-color: rgba(31,45,125,.18);
}

.hd-prod__media {
  background: var(--hd-bg-warm);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.hd-prod__schema {
  width: 100%;
  height: 100%;
  max-width: 220px;
}
.hd-prod__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.hd-prod__body p {
  font-size: .98rem;
  line-height: 1.6;
  color: var(--hd-ink-soft);
}
.hd-prod__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.hd-tag {
  display: inline-block;
  font-family: var(--hd-font-mono);
  font-size: .7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-mute);
  background: var(--hd-bg-warm);
  padding: 6px 12px;
  border-radius: var(--hd-radius-pill);
  align-self: flex-start;
}
.hd-tag--gold {
  color: var(--hd-gold-deep);
  background: var(--hd-gold-tint);
}

.hd-price {
  font-family: var(--hd-font-sans);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--hd-navy);
}
.hd-price--gold { color: var(--hd-gold-deep); }

/* Bars inside the product card (replacing the standalone comparator) */
.hd-bars {
  list-style: none;
  padding: 14px 0 6px;
  margin: 6px 0 0;
  border-top: 1px solid var(--hd-rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hd-bars li {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 4px 12px;
  align-items: center;
}
.hd-bars__lbl {
  font-size: .82rem;
  color: var(--hd-ink-soft);
  font-weight: 400;
  letter-spacing: -0.005em;
  grid-column: 1;
}
.hd-bars__val {
  font-family: var(--hd-font-mono);
  font-size: .76rem;
  color: var(--hd-ink);
  grid-column: 2;
  text-align: right;
}
.hd-bars__track {
  grid-column: 1 / -1;
  height: 4px;
  background: var(--hd-bg-warm);
  border-radius: var(--hd-radius-pill);
  overflow: hidden;
}
.hd-bars__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--hd-navy) 0%, var(--hd-navy-deep) 100%);
  border-radius: inherit;
  transition: width 1.2s cubic-bezier(.16,1,.3,1);
}
.hd-bars--gold .hd-bars__fill {
  background: linear-gradient(90deg, var(--hd-gold) 0%, var(--hd-gold-deep) 100%);
}

.hd-prod--premium {
  background: linear-gradient(180deg, var(--hd-bg-pure) 0%, var(--hd-gold-tint) 140%);
  border-color: rgba(31,157,107,.4);
}
.hd-prod--premium .hd-prod__media {
  background: linear-gradient(160deg, var(--hd-gold-tint) 0%, #fff 100%);
}

/* ============================================================
   5. INSTALLATION SCHÉMA
   ============================================================ */
.hd-schema {
  padding: var(--hd-section) 0;
  background: transparent;
}
.hd-schema__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  padding: 0 var(--hd-pad);
  max-width: 1100px;
  margin: 0 auto;
}
/* ===== Toggle Configuration A / B (refonte 2026-05-19) ===== */
.hd-schema__toggle {
  display: inline-flex;
  margin: 0 auto clamp(28px, 3.5vw, 44px);
  padding: 6px;
  border-radius: var(--hd-radius-pill);
  background: var(--hd-bg-warm);
  gap: 4px;
  position: relative;
  z-index: 2;
}
.hd-schema__toggle-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 12px 22px;
  border-radius: var(--hd-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hd-font-sans);
  font-size: .96rem;
  font-weight: 500;
  color: var(--hd-ink-soft);
  cursor: pointer;
  transition: background .25s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)),
              color .25s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)),
              box-shadow .25s ease;
}
.hd-schema__toggle-btn .hd-schema__toggle-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: rgba(31,45,125,.1);
  color: var(--hd-navy);
  font-family: var(--hd-font-mono);
  font-size: .72rem;
  font-weight: 700;
  border-radius: 50%;
  transition: background .25s, color .25s;
}
.hd-schema__toggle-btn.is-active {
  background: var(--hd-ink);
  color: #FFFFFF;
  box-shadow: 0 8px 22px -8px rgba(10,14,42,.35);
}
.hd-schema__toggle-btn.is-active .hd-schema__toggle-num {
  background: var(--hd-gold);
  color: #FFFFFF;
}
.hd-schema__toggle-btn:not(.is-active):hover {
  background: rgba(255,255,255,.55);
  color: var(--hd-ink);
}
.hd-schema-section-head {
  text-align: center;
}
.hd-schema .hd-section-head { text-align: center; }
.hd-schema__toggle { display: flex; max-width: max-content; justify-self: center; margin: 0 auto clamp(28px, 3.5vw, 44px); }
.hd-schema {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Inline panels (le schéma actif s'affiche) ===== */
.hd-schema__inline {
  position: relative;
  width: 100%;
  max-width: 1100px;
  padding: 0 var(--hd-pad);
  display: grid;
  grid-template-columns: 1fr;
}
.hd-schema__panel {
  appearance: none;
  border: 1px solid var(--hd-rule);
  border-radius: var(--hd-radius-lg);
  background: var(--hd-bg-pure);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .45s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)),
              transform .45s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)),
              box-shadow .35s ease,
              border-color .25s ease;
}
.hd-schema__panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.hd-schema__panel:hover {
  border-color: rgba(31,45,125,.20);
  box-shadow: 0 24px 60px -20px rgba(31,45,125,.18), 0 6px 18px rgba(31,45,125,.06);
}
.hd-schema__panel-media {
  background: linear-gradient(180deg, #FAFCFE 0%, #EFF1F5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid var(--hd-rule);
  min-height: 360px;
}
.hd-schema__panel-media svg,
.hd-schema__panel-media img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.hd-schema__panel-info {
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hd-schema__panel-info p {
  color: var(--hd-ink-soft);
  font-size: .98rem;
  line-height: 1.55;
}
.hd-schema__panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--hd-font-sans);
  font-weight: 500;
  font-size: .94rem;
  color: var(--hd-navy);
  align-self: flex-start;
  transition: gap .25s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1));
}
.hd-schema__panel:hover .hd-schema__panel-cta { gap: 10px; color: var(--hd-navy-deep); }

/* ===== Modal détail (clique sur le schéma) ===== */
.hd-schema-modal[hidden] { display: none; }
.hd-schema-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 48px);
}
.hd-schema-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,14,42,.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: hd-modal-fadein .25s ease forwards;
}
.hd-schema-modal__panel {
  position: relative;
  background: var(--hd-bg-pure);
  border-radius: var(--hd-radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 80px -20px rgba(10,14,42,.30), 0 8px 20px rgba(10,14,42,.10);
  animation: hd-modal-popin .35s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)) forwards;
}
@keyframes hd-modal-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes hd-modal-popin {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.hd-schema-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--hd-bg-warm);
  color: var(--hd-ink);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hd-schema-modal__close:hover { background: var(--hd-ink); color: #FFFFFF; transform: rotate(90deg); }
.hd-schema-modal__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hd-schema-modal__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 10px;
}
.hd-schema-modal__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px 16px;
  background: var(--hd-bg-soft);
  border-radius: var(--hd-radius-md);
}
.hd-schema-modal__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--hd-navy);
  color: #FFFFFF;
  border-radius: 50%;
  font-family: var(--hd-font-mono);
  font-weight: 700;
  font-size: .9rem;
}
.hd-schema-modal__step-text strong {
  display: block;
  color: var(--hd-ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.hd-schema-modal__step-text {
  color: var(--hd-ink-soft);
  font-size: .94rem;
  line-height: 1.55;
}
.hd-schema-modal__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
body.is-modal-open { overflow: hidden; }
.hd-schema__media {
  background: var(--hd-bg-warm);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hd-schema__media svg {
  max-width: 100%;
  height: 100%;
}
.hd-schema__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hd-schema__body p {
  font-size: .96rem;
  color: var(--hd-ink-soft);
  line-height: 1.6;
}

/* ============================================================
   6. PRODUITS PHARES — bottom row (5 brand heroes)
   ============================================================ */
.hd-flagship {
  padding: var(--hd-section) 0;
  background: transparent;
}
.hd-flagship__grid {
  display: grid;
  gap: 18px;
  padding: 0 var(--hd-pad);
  max-width: 1400px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .hd-flagship__grid { grid-template-columns: repeat(2, 1fr); } }
/* 5 cards : 5 colonnes pile sur desktop, premium prend +1 col d'emphasis */
@media (min-width: 1100px) {
  .hd-flagship__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}
/* 2026-05-21 : Epur-Actif ramené au même niveau visuel que les 4 autres
   cartes — la colonne large (1.4fr) qui le mettait en zoom est retirée
   pour conserver une grille uniforme de 5 colonnes égales. */

.hd-flag {
  background: var(--hd-bg-pure);
  border: 1px solid var(--hd-rule);
  border-radius: var(--hd-radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .35s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              box-shadow .35s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              border-color .25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.hd-flag::before {
  /* Soft brand gradient sweeping in on hover */
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--hd-navy) 0%, var(--hd-green) 50%, var(--hd-gold) 100%);
  opacity: 0;
  border-radius: inherit;
  transition: opacity .35s ease;
  z-index: -1;
  filter: blur(20px);
}
.hd-flag:hover {
  transform: translateY(-6px);
  box-shadow: var(--hd-shadow-md);
  border-color: rgba(31,45,125,.25);
}
.hd-flag:hover::before {
  opacity: .25;
}
.hd-flag__media {
  background: #FFFFFF;
  border-radius: var(--hd-radius-md);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 6px;
  border: 1px solid var(--hd-rule);
  overflow: hidden;
}
.hd-flag__media svg,
.hd-flag__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hd-flag__tag {
  font-family: var(--hd-font-mono);
  font-size: .66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-mute);
  align-self: flex-start;
}
.hd-flag__tag--gold { color: var(--hd-gold-deep); }
.hd-flag h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.3;
}
.hd-flag p {
  font-size: .88rem;
  color: var(--hd-ink-soft);
  line-height: 1.55;
  margin: 0;
}
.hd-flag .hd-price {
  font-size: 1.18rem;
  margin-top: auto;
  padding-top: 8px;
}
.hd-flag--premium {
  background: linear-gradient(180deg, var(--hd-bg-pure) 0%, var(--hd-gold-tint) 100%);
  border-color: rgba(31,157,107,.4);
}
.hd-flag--premium .hd-flag__media {
  background: linear-gradient(160deg, var(--hd-gold-tint) 0%, #fff 100%);
}
.hd-flag__badge {
  position: absolute;
  top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--hd-gold), var(--hd-gold-deep));
  color: #fff;
  font-family: var(--hd-font-mono);
  font-size: .6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--hd-radius-pill);
  z-index: 2;
  box-shadow: 0 4px 12px -2px rgba(31,157,107,.45);
  animation: hd-badge-pulse 2.4s ease-in-out infinite;
}
@keyframes hd-badge-pulse {
  0%, 100% { box-shadow: 0 4px 12px -2px rgba(31,157,107,.45); }
  50%      { box-shadow: 0 6px 18px -2px rgba(31,157,107,.7); }
}

/* Accent fin sur le bord supérieur, se révèle au hover.
   Remplace l'ancien effet étoile (twinkle) — plus discret, plus élégant. */
.hd-flag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--hd-navy) 30%, var(--hd-green) 50%, var(--hd-navy) 70%, transparent 100%);
  opacity: 0;
  transform: scaleX(.4);
  transform-origin: center;
  transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
  border-radius: 999px;
  pointer-events: none;
}
.hd-flag:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.hd-flag--premium::before {
  background: linear-gradient(90deg, transparent 0%, var(--hd-gold) 35%, var(--hd-gold-deep) 50%, var(--hd-gold) 65%, transparent 100%);
}

/* ============================================================
   7. FOOTER (refonte 2026-05-19 — fond blanc, texte sombre)
   ============================================================ */
.hd-foot {
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: var(--hd-ink);
  padding: 72px var(--hd-pad) 0;
  margin-top: var(--hd-section);
  position: relative;
  border-top: 1px solid var(--hd-rule);
}
/* Trait dégradé fin tout en haut du footer pour le démarquer */
.hd-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--hd-green) 30%, var(--hd-gold) 70%, transparent 100%);
  opacity: .9;
}
/* Inverse les textes blancs des règles existantes vers du sombre */
.hd-foot .hd-foot__slogan,
.hd-foot .hd-foot__contact a,
.hd-foot .hd-foot__col h5,
.hd-foot .hd-foot__col a,
.hd-foot .hd-foot__copy,
.hd-foot .hd-rea__item strong,
.hd-foot .hd-rea__item span,
.hd-foot .hd-rea__item,
.hd-foot .hd-foot__addr,
.hd-foot .hd-foot__small {
  color: var(--hd-ink) !important;
}
.hd-foot .hd-foot__col a { color: var(--hd-ink-soft) !important; }
.hd-foot .hd-foot__col a:hover { color: var(--hd-navy) !important; }
.hd-foot .hd-foot__copy,
.hd-foot .hd-foot__addr,
.hd-foot .hd-foot__small { color: var(--hd-mute) !important; }
.hd-foot .hd-rea__item span { color: var(--hd-mute) !important; }
.hd-foot .hd-rea { border-color: var(--hd-rule) !important; background: transparent !important; }
.hd-foot__inner { display: contents; } /* deprecated wrapper — children flow into container */
.hd-foot__logo { display: none; }      /* deprecated — wordmark used instead */
.hd-foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 12px 0 36px;
}
@media (max-width: 992px) { .hd-foot__cols { grid-template-columns: repeat(2, 1fr); padding: 12px 24px 36px; } }
@media (max-width: 600px) { .hd-foot__cols { grid-template-columns: 1fr; padding: 12px 20px 28px; } }
.hd-foot__col { padding: 0 14px; }
@media (max-width: 992px) { .hd-foot__col { padding: 0; } }
.hd-foot__col h5 {
  font-family: var(--hd-font-mono);
  font-size: .7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-on-dark);
  font-weight: 400;
  margin: 0 0 14px;
}
.hd-foot__col a {
  display: block;
  padding: 5px 0;
  font-size: .92rem;
  color: var(--hd-on-dark-mute);
  transition: color .2s;
}
.hd-foot__col a:hover { color: #fff; }
.hd-foot__copy {
  text-align: center;
  padding: 24px 0;
  font-size: .82rem;
  color: var(--hd-on-dark-mute);
  letter-spacing: .02em;
}

/* ============================================================
   CATEGORY PAGE — Refonte HD (cohérence home/catalogue)
   Masque la sidebar gauche (doublon quicknav) + le hero
   stock PS (.category-cover) + restyle les .product-miniature
   comme les tuiles catalogue (KEF-like).
   ============================================================ */
body.page-category #left-column,
body.page-search #left-column {
  display: none !important;
}
body.page-category #content-wrapper,
body.page-search #content-wrapper {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: clamp(28px, 4vw, 56px) var(--hd-pad) 80px !important;
}
body.page-category #center-column,
body.page-search #center-column,
body.page-category div.center-column,
body.page-search  div.center-column,
body.page-category div.center-column[class*="col-"],
body.page-search  div.center-column[class*="col-"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-category #content-wrapper > .row,
body.page-category #wrapper > .row,
body.page-search #content-wrapper > .row,
body.page-search #wrapper > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.page-category #wrapper > div,
body.page-search #wrapper > div {
  margin: 0 !important;
}

/* Cacher la bannière image stock PS */
body.page-category .category-cover,
body.page-search .category-cover {
  display: none !important;
}

/* Header de catégorie épuré : titre serif + description */
body.page-category .page-header,
body.page-search .page-header {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
  padding: 0 0 28px !important;
  margin: 0 0 32px !important;
  border-bottom: 1px solid var(--hd-rule);
  text-align: left;
}
body.page-category .page-header h1,
body.page-category h1.page-title,
body.page-search .page-header h1 {
  font-family: var(--hd-font-serif, "Fraunces", ui-serif, Georgia, serif) !important;
  font-weight: 300 !important;
  font-variation-settings: "opsz" 120, "SOFT" 40 !important;
  font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
  letter-spacing: -0.028em !important;
  line-height: 1.06 !important;
  color: var(--hd-ink) !important;
  text-transform: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: transparent !important;
}
body.page-category #category-description,
body.page-category .category-description {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--hd-ink-soft);
  max-width: 720px;
  margin: 0;
}
body.page-category #category-description p,
body.page-category .category-description p {
  margin: 0 0 10px;
}
/* "Voir plus" stock PS expander — masqué (description courte suffit) */
body.page-category .read-more,
body.page-category .show-more,
body.page-category .h1__lite { display: none !important; }

/* Bar de tri (products-selection) — style HD */
body.page-category .products-selection,
body.page-search .products-selection {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 0 18px !important;
  margin: 0 0 22px !important;
  border-bottom: 1px solid var(--hd-rule);
  font-family: var(--hd-font-mono);
  font-size: .82rem;
  color: var(--hd-mute);
}
body.page-category .products-selection .total-products,
body.page-search .products-selection .total-products {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Grille produits compactes (category page, comme catalogue) */
body.page-category #js-product-list,
body.page-search #js-product-list { margin: 0; }
body.page-category #js-product-list > .products,
body.page-search #js-product-list > .products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
}
@media (min-width: 720px) {
  body.page-category #js-product-list > .products,
  body.page-search #js-product-list > .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (min-width: 1100px) {
  body.page-category #js-product-list > .products,
  body.page-search #js-product-list > .products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

body.page-category .product-miniature,
body.page-search .product-miniature {
  background: #FFFFFF !important;
  border: 1px solid var(--hd-rule) !important;
  border-radius: 12px !important;
  overflow: hidden;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: transform .25s var(--hd-ease), box-shadow .25s var(--hd-ease), border-color .2s var(--hd-ease);
}
body.page-category .product-miniature:hover,
body.page-search .product-miniature:hover {
  transform: translateY(-3px);
  box-shadow: var(--hd-shadow-md);
  border-color: rgba(31,45,125,.18);
}
body.page-category .product-miniature .thumbnail-container,
body.page-search .product-miniature .thumbnail-container {
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 0 !important;
  aspect-ratio: 1 / 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid var(--hd-rule) !important;
  overflow: hidden;
  width: 100%;
}
body.page-category .product-miniature .thumbnail-container img,
body.page-search .product-miniature .thumbnail-container img {
  max-width: 80% !important;
  max-height: 80% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transition: transform .4s var(--hd-ease);
}
body.page-category .product-miniature:hover .thumbnail-container img,
body.page-search .product-miniature:hover .thumbnail-container img {
  transform: scale(1.06);
}
body.page-category .product-miniature .product-description,
body.page-search .product-miniature .product-description {
  padding: 14px 16px 16px !important;
  background: #FFFFFF !important;
  border: none !important;
  margin: 0 !important;
}
body.page-category .product-miniature .product-title,
body.page-search .product-miniature .product-title {
  margin: 0 0 6px !important;
  font-family: var(--hd-font-sans) !important;
  font-size: .88rem !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.005em;
}
body.page-category .product-miniature .product-title a,
body.page-search .product-miniature .product-title a {
  color: var(--hd-ink) !important;
  text-decoration: none;
}
body.page-category .product-miniature .product-title a:hover,
body.page-search .product-miniature .product-title a:hover {
  color: var(--hd-navy) !important;
}
body.page-category .product-miniature .product-price-and-shipping,
body.page-search .product-miniature .product-price-and-shipping {
  font-family: var(--hd-font-sans) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  color: var(--hd-navy) !important;
  letter-spacing: -0.018em !important;
  margin-top: 8px;
}
body.page-category .product-miniature .product-flags,
body.page-search .product-miniature .product-flags {
  margin: 0 0 8px;
}
body.page-category .product-miniature .product-flag,
body.page-search .product-miniature .product-flag {
  font-family: var(--hd-font-mono);
  font-size: .66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--hd-bg-soft);
  color: var(--hd-ink-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

/* Pagination */
body.page-category .pagination,
body.page-search .pagination {
  margin-top: 40px;
  padding: 0;
  font-family: var(--hd-font-mono);
  font-size: .86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================================
   ORBS / AURORA — billes lumineuses oscillantes (refonte 2026-05-19)
   Plus grosses, plus saturées, réparties sur toute la page.
   Présentes sur home + catalogue + guide + produit.
   ============================================================ */
.hd-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
/* Force orbs ON sur les autres pages (l'override product.css les cachait) */
body.page-category .hd-orbs,
body.page-search .hd-orbs,
body.page-cms .hd-orbs,
body.has-hd-chrome .hd-orbs { display: block !important; opacity: 1; }

/* 2026-05-21 : orbs adoucis — opacité divisée par 4, animations
   désactivées (trop d'effets nuisaient à la lisibilité). Garde une
   simple texture chromatique de fond, sans mouvement. */
.hd-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18 !important;
  animation: none !important;
}
/* Override per-orb opacités résiduelles (les règles --1..--8 fixent
   chacune leur opacité — on les force toutes au même niveau bas). */
.hd-orb--1, .hd-orb--2, .hd-orb--3, .hd-orb--4,
.hd-orb--5, .hd-orb--6, .hd-orb--7, .hd-orb--8 {
  opacity: 0.18 !important;
}
.hd-orb--1 {
  top: 6%; left: 4%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(141,198,65,0.85) 0%, rgba(141,198,65,0) 70%);
  animation: hd-orb-1 22s ease-in-out infinite;
}
.hd-orb--2 {
  top: 18%; right: 6%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(31,157,107,0.85) 0%, rgba(31,157,107,0) 70%);
  animation: hd-orb-2 26s ease-in-out infinite;
}
.hd-orb--3 {
  top: 48%; left: 8%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(31,45,125,0.78) 0%, rgba(31,45,125,0) 70%);
  animation: hd-orb-3 19s ease-in-out infinite;
}
.hd-orb--4 {
  top: 62%; right: 10%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(141,198,65,0.6) 0%, rgba(141,198,65,0) 72%);
  animation: hd-orb-4 24s ease-in-out infinite;
}
.hd-orb--5 {
  top: 35%; left: 45%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(31,157,107,0.85) 0%, rgba(31,157,107,0) 72%);
  animation: hd-orb-5 28s ease-in-out infinite;
}
.hd-orb--6 {
  top: 82%; left: 30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(141,198,65,0.7) 0%, rgba(141,198,65,0) 72%);
  animation: hd-orb-6 25s ease-in-out infinite;
}
.hd-orb--7 {
  top: 90%; right: 22%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(31,165,101,0.65) 0%, rgba(31,165,101,0) 72%);
  animation: hd-orb-7 30s ease-in-out infinite;
}
.hd-orb--8 {
  top: 4%; left: 52%;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(31,45,125,0.55) 0%, rgba(31,45,125,0) 72%);
  animation: hd-orb-8 24s ease-in-out infinite;
}
@keyframes hd-orb-6 {
  0%, 100% { transform: translate(0, 0); }
  45%      { transform: translate(-32px, 28px); }
  80%      { transform: translate(20px, -16px); }
}
@keyframes hd-orb-7 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(28px, -32px); }
}
@keyframes hd-orb-8 {
  0%, 100% { transform: translate(0, 0); }
  35%      { transform: translate(-26px, 18px); }
  70%      { transform: translate(22px, -22px); }
}
@keyframes hd-orb-1 {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(28px, -36px); }
  66%      { transform: translate(-22px, 18px); }
}
@keyframes hd-orb-2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-34px, 24px); }
}
@keyframes hd-orb-3 {
  0%, 100% { transform: translate(0, 0); }
  40%      { transform: translate(18px, -28px); }
  75%      { transform: translate(-12px, 14px); }
}
@keyframes hd-orb-4 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(26px, -20px); }
}
@keyframes hd-orb-5 {
  0%, 100% { transform: translate(0, 0); }
  30%      { transform: translate(-18px, -22px); }
  60%      { transform: translate(22px, 14px); }
}
/* Sur fond blanc (fiche produit) les orbs sont gardés avec opacité douce */
body.page-product .hd-orbs { display: block !important; opacity: 0.50; }
body.page-product .hd-orbs .hd-orb { filter: blur(72px); }

/* ============================================================
   HALO COLORED — effet ambient flou tricolore derrière les titres
   Propagé à toutes les section-head (refonte 2026-05-19)
   ============================================================ */
.hd-section-head,
.hd-fs__head,
.hd-cat__hero,
.hd-guide__hero-inner {
  position: relative;
  z-index: 1;
}
.hd-section-head::before,
.hd-fs__head::before,
.hd-cat__hero::before,
.hd-guide__hero-inner::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background:
    radial-gradient(ellipse 45% 55% at 22% 35%, rgba(141,198,65,0.24) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 78% 50%, rgba(31,157,107,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 55% 65% at 50% 55%, rgba(31,45,125,0.15) 0%, transparent 70%);
  filter: blur(36px);
  opacity: .65;
  pointer-events: none;
  animation: hd-hero-halo 14s ease-in-out infinite alternate;
}
.hd-flagship .hd-section-head::before {
  background:
    radial-gradient(ellipse 45% 55% at 22% 35%, rgba(31,157,107,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 78% 50%, rgba(141,198,65,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 55% 65% at 50% 55%, rgba(31,45,125,0.12) 0%, transparent 70%);
}

/* ============================================================
   CLOSER BAND — Pourquoi nous (avant footer, navy avec accent or)
   ============================================================ */
.hd-closer {
  position: relative;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(31,157,107,0.10) 0%, transparent 70%),
    linear-gradient(180deg, var(--hd-navy-deep) 0%, #0D1230 100%);
  color: #fff;
  padding: clamp(64px, 8vw, 96px) var(--hd-pad);
  overflow: hidden;
}
.hd-closer::before,
.hd-closer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
}
.hd-closer::before {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--hd-green) 0%, transparent 70%);
  top: -120px; left: -100px;
}
.hd-closer::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--hd-gold) 0%, transparent 70%);
  bottom: -120px; right: -80px;
}
.hd-closer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hd-closer__title {
  font-family: var(--hd-font-serif, "Source Serif 4", Georgia, serif);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 14px 0 22px;
}
.hd-closer__title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--hd-gold) 0%, #E4A53D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hd-closer__lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  max-width: 640px;
  margin: 0 auto 44px;
}
.hd-eyebrow--light {
  color: var(--hd-gold) !important;
}
.hd-eyebrow--light::before,
.hd-eyebrow--light::after {
  background: var(--hd-gold) !important;
  opacity: .5 !important;
}
.hd-closer__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 0 44px;
}
@media (max-width: 720px) {
  .hd-closer__pillars { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
.hd-closer__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--hd-radius-md);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .35s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)),
              border-color .25s, background .25s;
}
.hd-closer__pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(31,157,107,.40);
  background: rgba(31,157,107,.06);
}
.hd-closer__pillar-num {
  font-family: var(--hd-font-sans);
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, var(--hd-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hd-closer__pillar-lbl {
  font-family: var(--hd-font-mono);
  font-size: .7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-align: center;
  line-height: 1.4;
  max-width: 160px;
}
.hd-closer__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hd-btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.30);
}
.hd-btn--ghost-light:hover {
  background: #fff;
  color: var(--hd-navy-deep);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   STAT STRIP ENGAGEMENTS — refonte 2026-05-19
   Intégré sous le hero (était une bande séparée avant footer)
   ============================================================ */
.hd-stats--engagements,
body .hd-stats--engagements,
body.has-hd-chrome .hd-stats--engagements,
body.has-hd-chrome .hd-stats.hd-stats--engagements {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 22px 22px;
  border-radius: var(--hd-radius-lg);
  /* 2026-06-03 : même couleur que les boutons catnav AU REPOS (non sélectionnés) —
     léger dégradé vert très pâle sur fond clair + bordure verte. Texte/icônes NOIR. */
  background: linear-gradient(180deg, rgba(31,157,107,.16) 0%, rgba(31,157,107,.08) 100%) !important;
  background-color: rgba(31,157,107,.12) !important;
  color: #111111 !important;
  border: 1.5px solid rgba(31,157,107,.55) !important;
  box-shadow: 0 16px 40px -22px rgba(31,45,125,.18), 0 2px 6px rgba(20,30,92,.06), inset 0 1px 0 rgba(255,255,255,.55);
  position: relative;
  overflow: hidden;
  align-items: center;
}
.hd-stats--engagements::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(31,45,125,.45) 50%, transparent 100%);
  opacity: .8;
}
.hd-stats--engagements .hd-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: row;
  text-align: left;
}
.hd-stats--engagements .hd-stat > svg {
  color: #111111;
  flex-shrink: 0;
}
.hd-stats--engagements .hd-stat--lead > svg {
  color: #111111;
}
.hd-stats--engagements .hd-stat--flag > svg { color: inherit; }
.hd-stats--engagements .hd-stat__num {
  font-family: var(--hd-font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  /* 2026-06-02 : texte NOIR sur fond émeraude */
  color: #111111 !important;
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #111111 !important;
}
.hd-stats--engagements .hd-stat--lead .hd-stat__num {
  /* Le 14 : nombre vedette, en or solide pour bien trancher (plus de gradient
     transparent qui posait souci de rendu). 2026-05-21. */
  font-size: 2rem;
  font-weight: 800;
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.18);
}
.hd-stats--engagements .hd-stat__lbl {
  font-family: var(--hd-font-sans);
  font-size: .8rem;
  line-height: 1.3;
  letter-spacing: 0.005em;
  text-transform: none;
  color: rgba(0,0,0,.82) !important;
  max-width: 130px;
}
.hd-stats--engagements .hd-stat__sep {
  flex: 0 0 1px;
  width: 1px;
  height: 36px;
  background: rgba(0,0,0,.2);
  display: block;
}
.hd-stats--engagements .hd-stat > svg { color: #111111; }
.hd-stats--engagements .hd-stat--lead > svg { color: #111111; }
@media (max-width: 1100px) {
  .hd-stats--engagements .hd-stat__num { font-size: 1.25rem; }
  .hd-stats--engagements .hd-stat--lead .hd-stat__num { font-size: 1.45rem; }
  .hd-stats--engagements .hd-stat__lbl { font-size: .68rem; max-width: 110px; }
}
@media (max-width: 900px) {
  .hd-stats--engagements { flex-wrap: wrap; gap: 14px 0; justify-content: center; }
  .hd-stats--engagements .hd-stat { flex: 0 1 calc(50% - 8px); }
  .hd-stats--engagements .hd-stat__sep { display: none; }
}
@media (max-width: 540px) {
  .hd-stats--engagements .hd-stat { flex: 0 1 100%; justify-content: center; text-align: center; }
}

/* ============================================================
   HERO BADGE — petit pill au-dessus du titre
   ============================================================ */
.hd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--hd-radius-pill);
  background: linear-gradient(135deg, rgba(141,198,65,.16) 0%, rgba(31,165,101,.10) 100%);
  border: 1px solid rgba(31,165,101,.30);
  color: var(--hd-green-deep);
  font-family: var(--hd-font-mono);
  font-size: .72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}
.hd-hero__badge svg {
  color: var(--hd-green-deep);
  background: var(--hd-green);
  border-radius: 50%;
  padding: 2px;
  color: #fff;
}

/* Hero title — multi-ligne avec halo coloré animé derrière + lignes en stagger.
   Le titre est centré (.hd-hero a text-align:center), on garde la balise <h1>
   en block + on place le halo en pseudo-élément absolu derrière. */
.hd-hero__title {
  position: relative;
  z-index: 1;
}
/* Halo coloré derrière le titre — blob animé tricolore */
.hd-hero__title::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 60% at 25% 40%, rgba(141,198,65,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 75% 55%, rgba(31,157,107,0.30) 0%, transparent 70%),
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(31,45,125,0.22) 0%, transparent 70%);
  filter: blur(40px);
  opacity: .85;
  pointer-events: none;
  animation: hd-hero-halo 12s ease-in-out infinite alternate;
}
@keyframes hd-hero-halo {
  0%   { transform: translate(0, 0) scale(1); opacity: .80; }
  50%  { transform: translate(-3%, 2%) scale(1.06); opacity: 1; }
  100% { transform: translate(3%, -2%) scale(1.02); opacity: .85; }
}

.hd-hero__title-line1,
.hd-hero__title-line2,
.hd-hero__title-line3 {
  display: block;
  position: relative;
}
.hd-hero__title-line1 {
  font-weight: 300;
  color: var(--hd-ink);
  opacity: 0;
  animation: hd-hero-line 0.9s cubic-bezier(.16,1,.3,1) 0.1s forwards;
}
.hd-hero__title-line2 {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(120deg, var(--hd-navy) 0%, var(--hd-green-deep) 35%, var(--hd-gold-deep) 70%, var(--hd-gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: hd-hero-line 0.9s cubic-bezier(.16,1,.3,1) 0.3s forwards,
             hd-hero-gradient 8s ease-in-out 1s infinite alternate;
}
.hd-hero__title-line2 em { font-style: italic; }
.hd-hero__title-line3 {
  font-weight: 300;
  color: var(--hd-ink);
  opacity: 0;
  animation: hd-hero-line 0.9s cubic-bezier(.16,1,.3,1) 0.5s forwards;
}
@keyframes hd-hero-line {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: none; }
}
@keyframes hd-hero-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ============================================================
   TRUSTBAR — étoiles + avis rotatif sous le hero
   ============================================================ */
.hd-trustbar {
  max-width: 980px;
  margin: 40px auto 0;
  padding: 18px 24px;
  background: var(--hd-bg-pure);
  border: 1px solid var(--hd-rule);
  border-radius: var(--hd-radius-lg);
  box-shadow: 0 12px 30px -16px rgba(10,14,42,.12), 0 2px 6px rgba(10,14,42,.04);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.hd-trustbar__stars {
  display: flex;
  gap: 2px;
}
.hd-trustbar__stars svg { width: 18px; height: 18px; }
.hd-trustbar__quotes {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.hd-trustbar__quote {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-size: .94rem;
  line-height: 1.4;
  color: var(--hd-ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)), transform .6s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1));
}
.hd-trustbar__quote.is-active {
  opacity: 1;
  transform: none;
  position: relative;
}
.hd-trustbar__quote span {
  font-family: var(--hd-font-mono);
  font-size: .72rem;
  letter-spacing: 0.08em;
  color: var(--hd-mute);
  margin-left: 8px;
  text-transform: uppercase;
}
.hd-trustbar__count {
  font-family: var(--hd-font-mono);
  font-size: .76rem;
  letter-spacing: 0.10em;
  color: var(--hd-ink-soft);
  white-space: nowrap;
  font-weight: 500;
}
.hd-trustbar__count::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hd-green);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(141,198,65,.2);
  animation: hd-pulse-dot 2s ease-in-out infinite;
}
@media (max-width: 720px) {
  .hd-trustbar {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }
  .hd-trustbar__stars { justify-content: center; }
  .hd-trustbar__quote span { display: block; margin: 4px 0 0; }
}

/* ============================================================
   FLAG CARDS — hover wash coloré (par catégorie) + boost ombre
   ============================================================ */
.hd-flag {
  position: relative;
  isolation: isolate;
  transition: transform .35s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)),
              box-shadow .35s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1)),
              border-color .25s ease;
}
.hd-flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 100%, rgba(141,198,65,.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--hd-fs-ease, cubic-bezier(.16,1,.3,1));
  pointer-events: none;
  z-index: -1;
}
.hd-flag:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(31,45,125,.22), 0 6px 18px rgba(31,45,125,.08);
}
.hd-flag:hover::after { opacity: 1; }
.hd-flag--premium::after {
  background: radial-gradient(ellipse at 50% 100%, rgba(31,157,107,.20) 0%, transparent 70%);
}
.hd-flag--premium:hover {
  box-shadow: 0 24px 60px -20px rgba(31,157,107,.30), 0 6px 18px rgba(31,157,107,.10);
}

/* ============================================================
   SOUL PASS — couleur & vie (refonte 2026-05-19)
   Couches additives : aurora hero, accents catnav, vitalité stats,
   lueur sous le titre. Ne modifie pas les règles existantes, ajoute
   des calques par-dessus pour donner de l'âme sans casser le ton sobre.
   ============================================================ */

/* Aurora hero retirée — remplacée par l'aurora body-level dans .has-hd-chrome.
   Les sections au-dessus restent transparentes pour laisser bleed la couleur. */

/* ============================================================
   CATNAV STICKY — barre 4 boutons visibles, collée au header
   (refonte 2026-05-21 v3 — pills gold-tint, accent fort, hover gold full)
   La barre prolonge .hd-top : même fond clair, aucun gap visible,
   les pills à fond crème + bordure or ressortent depuis le scroll.
   ============================================================ */
body.has-hd-chrome .hd-catnav-bar {
  position: sticky !important;
  /* Fallback ≈ hauteur de .hd-top (hd-info + inner). Le JS
     `syncCatnavTop()` réécrit `style.top` dynamiquement au scroll
     pour rester collé pile en dessous quand le header grossit. Pas
     d'`!important` ici → l'inline style du JS gagne. */
  top: 100px;
  z-index: 900;
  /* même fond que .hd-top (rgba(255,255,255,.86) cf. home.css ~2362)
     pour donner l'impression d'une seule bande sticky continue. */
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 0 !important;
  border-bottom: 1px solid rgba(10,14,42,.07);
  padding: 12px var(--hd-pad);
  box-shadow: none;
  overflow: visible !important;
}
body.has-hd-chrome .hd-catnav-bar .hd-catnav {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 1280px;
  margin: 0 auto !important;
  gap: 10px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0 !important;
}
@media (min-width: 720px) {
  body.has-hd-chrome .hd-catnav-bar .hd-catnav {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }
}
/* Le bouton lui-même : pill franchement visible, fond gold-tint,
   bordure or, texte navy gras. Vraiment "où je clique" lisible
   depuis l'autre bout de l'écran. */
body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0 !important;
  padding: 14px 20px !important;
  background: linear-gradient(180deg, rgba(31,157,107,.22) 0%, rgba(31,157,107,.12) 100%) !important;
  color: var(--hd-ink, #0A0E2A) !important;
  text-decoration: none !important;
  border: 1px solid rgba(31,157,107,.42) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 16px -6px rgba(31,157,107,.32) !important;
  overflow: visible !important;
  transition:
    transform .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
    background .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
    border-color .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
    box-shadow .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
    color .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
}
/* Petit liseré or qui souligne le bord bas du bouton (présent dès le repos). */
body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn::before {
  content: "" !important;
  position: absolute !important;
  left: 14% !important;
  bottom: 2px !important;
  top: auto !important;
  right: 14% !important;
  height: 2px !important;
  width: auto !important;
  margin-left: 0 !important;
  background: var(--hd-green-deep, #1F9D6B) !important;
  border-radius: 999px !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  opacity: 0;
  transition: transform .35s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              opacity   .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              background .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
  display: block !important;
}
body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn::after { content: none !important; }
/* Hover = bouton or plein, texte blanc, lift léger — totalement
   reconnaissable comme cible cliquable. */
body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn:hover,
body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn:focus-visible {
  transform: translateY(-2px) !important;
  background: linear-gradient(180deg, rgba(31,157,107,.40) 0%, rgba(31,157,107,.26) 100%) !important;
  color: var(--hd-ink, #0A0E2A) !important;
  border: 1px solid rgba(31,157,107,.60) !important;
  box-shadow: 0 12px 24px -6px rgba(31,157,107,.35) !important;
}
body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn:hover::before,
body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn:focus-visible::before {
  transform: scaleX(0) !important;
  opacity: 0 !important;
}
body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn > * { position: relative; z-index: 1; }

body.has-hd-chrome .hd-catnav-bar .hd-catnav__name {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 600 !important;
  font-size: .82rem !important;
  line-height: 1.1 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  color: inherit !important;
  white-space: nowrap;
  font-variation-settings: normal !important;
}
@media (max-width: 720px) {
  body.has-hd-chrome .hd-catnav-bar { padding: 10px 8px; }
  body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn { padding: 11px 10px !important; }
  body.has-hd-chrome .hd-catnav-bar .hd-catnav__name {
    font-size: .68rem !important;
    letter-spacing: 0.08em !important;
    white-space: normal;
  }
}
@media (max-width: 540px) {
  body.has-hd-chrome .hd-catnav-bar { padding: 8px 6px; top: 88px; }
  body.has-hd-chrome .hd-catnav-bar .hd-catnav { gap: 6px !important; }
  body.has-hd-chrome .hd-catnav-bar .hd-catnav__btn { padding: 9px 6px !important; }
  body.has-hd-chrome .hd-catnav-bar .hd-catnav__name { font-size: .58rem !important; letter-spacing: .06em !important; }
}

/* ============================================================
   Anciens catnav (.hd-catnav.hd-catnav--home) plus utilisés depuis
   le passage au .hd-catnav-bar 4 boutons — règles legacy laissées
   inertes (aucun élément en DOM ne les déclenche).
   ============================================================ */

/* Header sticky : déjà blanc, mais ajouter un léger blur pour le faire fondre */
body.has-hd-chrome .hd-top {
  background: rgba(255,255,255,0.86) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Stats : moins opaque, laisser bleed la couleur de fond */
body.has-hd-chrome .hd-stats {
  background: linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(141,198,65,0.03) 50%, rgba(255,255,255,0.20) 100%) !important;
}

/* Eyebrow hero — accent point coloré */
.hd-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hd-hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hd-green);
  box-shadow: 0 0 0 3px rgba(141,198,65,.18);
  animation: hd-pulse-dot 2.2s ease-in-out infinite;
}
@keyframes hd-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(141,198,65,.18); }
  50%      { box-shadow: 0 0 0 6px rgba(141,198,65,.06); }
}

/* Stats — bordures plus vivantes, nombre plus saturé */
.hd-stats {
  border-top-color: rgba(31,45,125,.22) !important;
  border-bottom-color: rgba(31,45,125,.22) !important;
  background: linear-gradient(180deg, transparent 0%, rgba(141,198,65,0.025) 50%, transparent 100%);
}
.hd-stat:nth-child(1) .hd-stat__num,
.hd-stat:nth-child(3) .hd-stat__num,
.hd-stat:nth-child(5) .hd-stat__num,
.hd-stat:nth-child(7) .hd-stat__num {
  background: linear-gradient(135deg, var(--hd-navy) 0%, var(--hd-green-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
/* La 3e stat (∞ garantie) en doré */
.hd-stat:nth-child(3) .hd-stat__num {
  background: linear-gradient(135deg, var(--hd-gold) 0%, var(--hd-gold-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
/* La 7e (24/24 solaire) un peu plus chaude */
.hd-stat:nth-child(7) .hd-stat__num {
  background: linear-gradient(135deg, #E4A53D 0%, var(--hd-gold-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Catnav — accent coloré plus marqué au hover (couche supplémentaire) */
.hd-catnav__btn--green:hover { background: linear-gradient(180deg, rgba(141,198,65,.05) 0%, rgba(141,198,65,.10) 100%); }
.hd-catnav__btn--gold:hover  { background: linear-gradient(180deg, rgba(31,157,107,.05) 0%, rgba(31,157,107,.10) 100%); }
.hd-catnav__btn--navy:hover  { background: linear-gradient(180deg, rgba(31,45,125,.04) 0%, rgba(31,45,125,.09) 100%); }

/* Section eyebrows — petit point coloré devant */
.hd-eyebrow::before {
  background: var(--hd-navy) !important;
  width: 24px !important;
  height: 1px !important;
  opacity: .35;
}
.hd-products .hd-eyebrow::after,
.hd-flagship .hd-eyebrow::after {
  background: linear-gradient(90deg, var(--hd-navy) 0%, var(--hd-green) 100%) !important;
  opacity: .6;
}

/* Orbs un poil plus visibles (élève l'opacité de base) */
.hd-orb { opacity: 0.7; }
.hd-orb--2 { opacity: 0.6; } /* gold, ne pas trop écraser */
.hd-orb--5 { opacity: 0.65; }

/* Séparateurs inter-sections — gradient marque (navy → green → gold) plus vivant */
.page-home > section + section::before {
  background: linear-gradient(90deg, transparent 0%, var(--hd-navy) 30%, var(--hd-green) 50%, var(--hd-gold) 70%, transparent 100%) !important;
  width: 96px !important;
  opacity: .7 !important;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.hd-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.hd-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hd-reveal { opacity: 1; transform: none; }
}
/* FILTROSCOPE — refonte 2026-05-19
   ============================================================
   Remplace .hd-products / .hd-prod / .hd-bars par un score A→E
   type Nutriscore-pour-fosse-septique. Garde les tokens existants
   (--hd-navy, --hd-gold, --hd-bg-warm…), introduit la palette
   --hd-fs-A+ … --hd-fs-E pour la jauge.
   ============================================================ */

:root {
  /* Filtroscope grades */
  --hd-fs-a-plus: #1FA565;
  --hd-fs-a:      #5CB948;
  --hd-fs-b:      #A9C737;
  --hd-fs-c:      #E4A53D;
  --hd-fs-d:      #D85F2E;
  --hd-fs-e:      #C52E2E;
  /* tints adoucis pour fonds */
  --hd-fs-a-plus-tint: rgba(31,165,101,.10);
  --hd-fs-b-tint:      rgba(169,199,55,.12);
  --hd-fs-c-tint:      rgba(228,165,61,.12);
  /* easing & timing harmonisés avec home.css */
  --hd-fs-ease: cubic-bezier(.22,1,.36,1);
}

/* ============================================================
   1. Section frame
   ============================================================ */
.hd-fs {
  padding: var(--hd-section) 0;
  background:
    radial-gradient(1200px 520px at 50% -10%, rgba(31,45,125,.05) 0%, transparent 60%),
    transparent;
  position: relative;
  overflow: hidden;
}

/* Discret grain pour casser l'aspect "rendu CSS pur" sans peser */
.hd-fs::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(31,45,125,.04) 1px, transparent 2px),
    radial-gradient(circle at 78% 64%, rgba(141,198,65,.04) 1px, transparent 2px);
  background-size: 220px 220px, 180px 180px;
  pointer-events: none;
  opacity: .6;
}

.hd-fs__wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--hd-pad);
}

/* ============================================================
   2. Section head — badge instrument + heading
   ============================================================ */
.hd-fs__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(28px, 3.6vw, 48px);
}

.hd-fs__instrument {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--hd-radius-pill);
  background: var(--hd-bg-pure);
  border: 1px solid var(--hd-rule);
  font-family: var(--hd-font-mono);
  font-size: .72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-ink-soft);
  margin-bottom: 18px;
}
.hd-fs__instrument-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--hd-fs-a-plus);
  box-shadow:
    0 0 0 3px rgba(31,165,101,.18),
    0 0 0 6px rgba(31,165,101,.08);
  animation: hd-fs-pulse 2.6s infinite var(--hd-fs-ease);
}
@keyframes hd-fs-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(31,165,101,.18), 0 0 0 6px rgba(31,165,101,.06); }
  50%      { box-shadow: 0 0 0 5px rgba(31,165,101,.28), 0 0 0 10px rgba(31,165,101,.10); }
}

/* ============================================================
   2-bis. Core metier — 3 gros boutons gold (refonte 2026-05-21)
   Remplace les cards A/B/C ; le cœur du métier HYDRODIV en 3 catégories.
   ============================================================ */
.hd-fs__core {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1080px;
  margin: clamp(28px, 4vw, 48px) auto 0;
}
@media (min-width: 760px) {
  .hd-fs__core { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.hd-core {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(20px, 2.5vw, 28px);
  background: linear-gradient(135deg, var(--hd-gold) 0%, var(--hd-gold-deep) 100%);
  color: #FFFFFF;
  border-radius: var(--hd-radius-lg);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow:
    0 1px 0 rgba(255,255,255,.32) inset,
    0 18px 36px -14px rgba(31,157,107,.55),
    0 6px 14px -4px rgba(142,107,48,.4);
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              box-shadow .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
  min-height: 156px;
}
.hd-core::after {
  /* Shimmer balayant, repris de .hd-btn--gold */
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.30) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: hd-core-shimmer 4s var(--hd-ease, cubic-bezier(.16,1,.3,1)) infinite;
  pointer-events: none;
}
@keyframes hd-core-shimmer {
  0%, 25%   { left: -60%; }
  60%, 100% { left: 140%; }
}
.hd-core > * { position: relative; z-index: 1; }
.hd-core:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.45) inset,
    0 26px 50px -16px rgba(31,157,107,.75),
    0 10px 20px -4px rgba(142,107,48,.5);
}

.hd-core__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hd-radius-pill);
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: #FFFFFF;
}
.hd-core__icon svg { width: 30px; height: 30px; }
.hd-core__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hd-core__num {
  font-family: var(--hd-font-mono);
  font-size: .62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.hd-core__title {
  font-family: var(--hd-font-serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
.hd-core__desc {
  font-family: var(--hd-font-sans);
  font-size: .92rem;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
  margin-top: 2px;
}
.hd-core__arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hd-radius-pill);
  background: rgba(255,255,255,.18);
  color: #FFFFFF;
  transition: transform .25s var(--hd-ease, cubic-bezier(.16,1,.3,1)),
              background .25s var(--hd-ease, cubic-bezier(.16,1,.3,1));
}
.hd-core:hover .hd-core__arrow {
  transform: translateX(4px);
  background: rgba(255,255,255,.28);
}

/* ============================================================
   3. Priority chips ("Ma priorité")
   ============================================================ */
.hd-fs__priorities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 0;
  max-width: 880px;
}
.hd-fs__priorities-lbl {
  flex-basis: 100%;
  text-align: center;
  font-family: var(--hd-font-mono);
  font-size: .7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hd-mute);
  margin-bottom: 6px;
}

.hd-fs-chip {
  appearance: none;
  border: 1px solid var(--hd-rule);
  background: var(--hd-bg-pure);
  color: var(--hd-ink-soft);
  padding: 11px 18px;
  border-radius: var(--hd-radius-pill);
  font-family: var(--hd-font-sans);
  font-size: .92rem;
  font-weight: 450;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background .25s var(--hd-fs-ease),
              color .25s var(--hd-fs-ease),
              border-color .25s var(--hd-fs-ease),
              transform .2s var(--hd-fs-ease);
}
.hd-fs-chip:hover {
  border-color: var(--hd-navy);
  color: var(--hd-navy);
  transform: translateY(-1px);
}
.hd-fs-chip__tick {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  position: relative;
  opacity: .55;
  transition: opacity .2s, background .2s, border-color .2s;
}
.hd-fs-chip[aria-pressed="true"] {
  background: var(--hd-ink);
  color: #fff;
  border-color: var(--hd-ink);
}
.hd-fs-chip[aria-pressed="true"] .hd-fs-chip__tick {
  background: var(--hd-green);
  border-color: var(--hd-green);
  opacity: 1;
}
.hd-fs-chip[aria-pressed="true"] .hd-fs-chip__tick::after {
  content: "";
  position: absolute;
  left: 3px; top: 1px;
  width: 4px; height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.hd-fs-chip:focus-visible {
  outline: 2px solid var(--hd-navy);
  outline-offset: 3px;
}

/* ============================================================
   4. Grid of 3 cards — refonte 2026-05-19 : podium asymétrique
   Card de gauche + droite plus petites, Epur-Actif au CENTRE plus grand.
   ============================================================ */
.hd-fs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: clamp(36px, 4.4vw, 56px);
}
@media (min-width: 992px) {
  /* 2026-05-21 : les 3 cards font désormais la même taille.
     Epur-Actif reste au centre (order=2) mais n'est plus zoomé. */
  .hd-fs__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }
  .hd-fs-card[data-fs-product="sanifiltre"]  { order: 1; }
  .hd-fs-card[data-fs-product="epuractif"]   { order: 2; }
  .hd-fs-card[data-fs-product="extracteur"]  { order: 3; }
}
/* Card premium massive + accent or */
.hd-fs-card--premium {
  border-width: 2px !important;
  box-shadow: 0 24px 60px -20px rgba(31,157,107,.30), 0 6px 18px rgba(31,165,101,.10);
}
.hd-fs-card--premium:hover {
  transform: scale(1.04) translateY(-4px) !important;
  box-shadow: 0 32px 80px -20px rgba(31,157,107,.40), 0 8px 24px rgba(31,165,101,.15) !important;
}
@media (max-width: 991px) {
  .hd-fs-card--premium { transform: none !important; }
}

.hd-fs-card {
  --card-accent: var(--hd-fs-c);
  --card-accent-tint: var(--hd-fs-c-tint);
  background: var(--hd-bg-pure);
  border: 1px solid var(--hd-rule);
  border-radius: var(--hd-radius-lg);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--hd-fs-ease),
              box-shadow .35s var(--hd-fs-ease),
              border-color .25s var(--hd-fs-ease);
}
.hd-fs-card::before {
  /* mince filet vertical à gauche teinté grade */
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--card-accent);
  opacity: .85;
  transition: background .6s var(--hd-fs-ease);
}
.hd-fs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hd-shadow-md);
  border-color: rgba(31,45,125,.16);
}
.hd-fs-card--premium {
  background:
    linear-gradient(180deg, rgba(31,165,101,.04) 0%, transparent 50%),
    var(--hd-bg-pure);
  border-color: rgba(31,165,101,.22);
}
.hd-fs-card--premium::after {
  content: "Garantie à vie";
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--hd-font-mono);
  font-size: .64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-gold-deep);
  background: var(--hd-gold-tint);
  padding: 5px 10px;
  border-radius: var(--hd-radius-pill);
  border: 1px solid rgba(31,157,107,.30);
}

/* ============================================================
   5. Score badge — la pièce centrale
   ============================================================ */
.hd-fs-score {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hd-fs-score__gauge {
  position: relative;
  width: 128px;
  height: 128px;
  flex-shrink: 0;
}
.hd-fs-card--premium .hd-fs-score__gauge {
  width: 160px;
  height: 160px;
}
.hd-fs-score__gauge svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.hd-fs-score__gauge-track {
  fill: none;
  stroke: var(--hd-bg-warm);
  stroke-width: 7;
}
.hd-fs-score__gauge-fill {
  fill: none;
  stroke: var(--card-accent);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset .9s var(--hd-fs-ease),
              stroke .6s var(--hd-fs-ease);
  filter: drop-shadow(0 0 8px var(--card-accent));
}
.hd-fs-score__letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hd-font-sans);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--card-accent);
  transition: color .6s var(--hd-fs-ease);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.hd-fs-card--premium .hd-fs-score__letter {
  font-size: 4rem;
}
.hd-fs-score__letter sup {
  font-size: 1.05rem;
  font-weight: 500;
  vertical-align: super;
  margin-left: 1px;
}

.hd-fs-score__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hd-fs-score__label {
  font-family: var(--hd-font-mono);
  font-size: .66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hd-mute);
}
.hd-fs-score__verdict {
  font-family: var(--hd-font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--hd-ink);
  line-height: 1.3;
  transition: color .6s var(--hd-fs-ease);
}
.hd-fs-card--premium .hd-fs-score__verdict { color: var(--hd-fs-a-plus); }

/* ============================================================
   6. Mini A→E scale (under the gauge — legible at a glance)
   ============================================================ */
.hd-fs-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 4px;
  background: var(--hd-bg-warm);
  border-radius: var(--hd-radius-pill);
  position: relative;
}
.hd-fs-scale__step {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hd-font-mono);
  font-size: .72rem;
  font-weight: 500;
  color: rgba(10,14,42,.42);
  background: var(--hd-bg-pure);
  border-radius: var(--hd-radius-pill);
  transition: background .5s var(--hd-fs-ease),
              color .5s var(--hd-fs-ease),
              transform .35s var(--hd-fs-ease);
}
.hd-fs-scale__step[data-active="true"] {
  background: var(--card-accent);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 14px -6px var(--card-accent);
}

/* ============================================================
   7. Product visual (compact schema)
   ============================================================ */
.hd-fs-card__visual {
  background: #FFFFFF;
  border: 1px solid var(--hd-rule);
  border-radius: var(--hd-radius-md);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}
.hd-fs-card__visual svg,
.hd-fs-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 220px;
}

/* ============================================================
   8. Body (title, copy, lines, foot)
   ============================================================ */
.hd-fs-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.hd-fs-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--hd-font-mono);
  font-size: .68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-mute);
  background: var(--hd-bg-warm);
  padding: 5px 11px;
  border-radius: var(--hd-radius-pill);
}
.hd-fs-card--premium .hd-fs-card__tag {
  color: var(--hd-gold-deep);
  background: var(--hd-gold-tint);
}
.hd-fs-card__title {
  font-family: var(--hd-font-sans);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--hd-ink);
  margin: 0;
}
.hd-fs-card__desc {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--hd-ink-soft);
  margin: 0;
}

/* Verdict line — neutre (info), OK (vert) ou warn (rouge). */
.hd-fs-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(31,45,125,0.05);
  border-radius: var(--hd-radius-md);
  font-size: .9rem;
  line-height: 1.45;
  color: var(--hd-ink);
  border-left: 3px solid var(--hd-navy);
}
.hd-fs-line__icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  color: var(--hd-navy);
}
.hd-fs-line strong {
  font-weight: 600;
  color: var(--hd-navy);
}
/* Tone "info" (neutre — sanifiltre/extracteur) — bleu navy par défaut. */
.hd-fs-line[data-fs-tone="info"] {
  background: rgba(31,45,125,0.05);
  border-left-color: var(--hd-navy);
}
.hd-fs-line[data-fs-tone="info"] .hd-fs-line__icon,
.hd-fs-line[data-fs-tone="info"] strong { color: var(--hd-navy); }
/* Tone "ok" (Epur-Actif premium) — vert */
.hd-fs-line[data-fs-tone="ok"] {
  background: rgba(31,165,101,0.10);
  border-left-color: var(--hd-fs-a-plus);
}
.hd-fs-line[data-fs-tone="ok"] .hd-fs-line__icon,
.hd-fs-line[data-fs-tone="ok"] strong { color: var(--hd-fs-a-plus); }
/* Tone "warn" (legacy — au cas où) — orange */
.hd-fs-line[data-fs-tone="warn"] {
  background: var(--card-accent-tint);
  border-left-color: var(--card-accent);
}
.hd-fs-line[data-fs-tone="warn"] .hd-fs-line__icon,
.hd-fs-line[data-fs-tone="warn"] strong { color: var(--card-accent); }

/* Foot */
.hd-fs-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--hd-rule);
}
.hd-fs-card__price {
  font-family: var(--hd-font-sans);
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--hd-ink);
}
.hd-fs-card__price em {
  font-style: normal;
  font-family: var(--hd-font-mono);
  font-size: .7rem;
  color: var(--hd-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 4px;
}
.hd-fs-card--premium .hd-fs-card__price { color: var(--hd-gold-deep); }

.hd-fs-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--hd-radius-pill);
  border: 1.5px solid var(--hd-ink);
  background: var(--hd-bg-pure);
  color: var(--hd-ink);
  font-family: var(--hd-font-sans);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.hd-fs-card__cta svg { transition: transform .25s var(--hd-fs-ease); }
.hd-fs-card__cta:hover {
  background: var(--hd-ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(10,14,42,.45);
}
.hd-fs-card__cta:hover svg { transform: translateX(4px); }
.hd-fs-card__cta--gold {
  background: linear-gradient(135deg, var(--hd-gold) 0%, var(--hd-gold-deep) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 22px -8px rgba(31,157,107,.5);
  position: relative;
  overflow: hidden;
}
.hd-fs-card__cta--gold::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: hd-shimmer 3.5s var(--hd-fs-ease) infinite;
  pointer-events: none;
}
.hd-fs-card__cta--gold:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 32px -6px rgba(31,157,107,.7);
  transform: translateY(-2px);
}
.hd-fs-card__cta--gold > * { position: relative; z-index: 1; }

/* ============================================================
   9. Grade colour application — driven by data-grade
   ============================================================ */
.hd-fs-card[data-grade="a+"] { --card-accent: var(--hd-fs-a-plus); --card-accent-tint: var(--hd-fs-a-plus-tint); }
.hd-fs-card[data-grade="a"]  { --card-accent: var(--hd-fs-a);      --card-accent-tint: rgba(92,185,72,.12); }
.hd-fs-card[data-grade="b"]  { --card-accent: var(--hd-fs-b);      --card-accent-tint: var(--hd-fs-b-tint); }
.hd-fs-card[data-grade="c"]  { --card-accent: var(--hd-fs-c);      --card-accent-tint: var(--hd-fs-c-tint); }
.hd-fs-card[data-grade="d"]  { --card-accent: var(--hd-fs-d);      --card-accent-tint: rgba(216,95,46,.10); }
.hd-fs-card[data-grade="e"]  { --card-accent: var(--hd-fs-e);      --card-accent-tint: rgba(197,46,46,.10); }

/* ============================================================
   10. Updating state — quick flash on grade change
   ============================================================ */
.hd-fs-card.is-updating .hd-fs-score__letter {
  transform: scale(.9);
  opacity: .55;
}
.hd-fs-score__letter {
  transition: color .5s var(--hd-fs-ease),
              transform .35s var(--hd-fs-ease),
              opacity .35s var(--hd-fs-ease);
}

/* ============================================================
   11. Footnote / methodology hint
   ============================================================ */
.hd-fs__footnote {
  margin-top: clamp(28px, 3vw, 40px);
  text-align: center;
  font-family: var(--hd-font-mono);
  font-size: .72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hd-mute);
}
.hd-fs__footnote span { color: var(--hd-ink-soft); }

/* ============================================================
   12. Responsive tightening
   ============================================================ */
@media (max-width: 640px) {
  .hd-fs-score__gauge { width: 76px; height: 76px; }
  .hd-fs-score__letter { font-size: 1.8rem; }
  .hd-fs-card { padding: 22px 20px 20px; }
  .hd-fs-card__cta { padding: 11px 16px; font-size: .88rem; }
  .hd-fs-card__price { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hd-fs-score__gauge-fill,
  .hd-fs-score__letter,
  .hd-fs-scale__step,
  .hd-fs-card,
  .hd-fs-chip { transition: none !important; animation: none !important; }
  .hd-fs__instrument-dot { animation: none; }
}

/* ============================================================
   FOOTER hd-foot* / hd-rea* — rules restored 2026-05-21
   Originally lived in theme/custom.css (trimmed). Now hard-coded
   here so /module/hydrodiv/catalogue and any other page using the
   hd-footer.tpl partial picks them up without depending on a
   stale theme bundle.
   ============================================================ */
.hd-foot{padding:64px 0 0!important;margin-top:var(--hd-section)}
.hd-foot__container{max-width:1400px!important;margin:0 auto!important;padding:0 clamp(20px, 3vw, 48px)!important}
.hd-foot__brand{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 0 36px!important;gap:12px}
.hd-foot__logo-pill{background:#FFFFFF!important;padding:14px 28px!important;border-radius:12px!important;box-shadow:0 4px 18px rgba(0,0,0,.18),0 1px 0 rgba(255,255,255,.06) inset!important;position:relative}
.hd-foot__logo-pill::after{display:none}
.hd-foot__logo-img{height:48px!important;width:auto!important;display:block!important}
.hd-foot__wordmark{display:block!important;font-family:var(--hd-font-mono);font-size:.72rem;letter-spacing:.42em;text-transform:uppercase;color:rgba(255,255,255,.55);margin-top:4px;text-indent:.42em}
.hd-foot__slogan{font-family:var(--hd-font-serif)!important;font-style:italic;font-weight:400!important;font-size:1.1rem!important;color:rgba(255,255,255,.85)!important;margin:6px 0 0!important;letter-spacing:-0.012em!important;max-width:540px}
.hd-rea{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding:26px 0!important;background:rgba(255,255,255,.035)!important;border-top:1px solid rgba(255,255,255,.10)!important;border-bottom:1px solid rgba(255,255,255,.10)!important;margin:0 0 44px!important}
.hd-rea__item{padding:0 24px!important;align-items:center!important;border-right:1px solid rgba(255,255,255,.08)}
.hd-rea__item:last-child{border-right:0}
.hd-rea__item svg{color:var(--hd-gold)!important;margin-top:0!important}
.hd-rea__item strong{font-size:.95rem!important;margin-bottom:3px!important}
.hd-rea__item span{font-size:.78rem!important;line-height:1.45!important}
@media (max-width:992px){.hd-rea{grid-template-columns:repeat(2,1fr)!important;gap:0!important}.hd-rea__item:nth-child(2n){border-right:0}.hd-rea__item:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:18px}.hd-rea__item:nth-child(n+3){padding-top:18px}}
@media (max-width:600px){.hd-rea{grid-template-columns:1fr!important}.hd-rea__item{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.08);padding:14px 24px!important}.hd-rea__item:last-child{border-bottom:0}}
.hd-foot__cols{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:32px!important;padding:8px 0 48px!important;align-items:start}
.hd-foot__col{padding:0!important}
.hd-foot__col h5{font-family:var(--hd-font-mono)!important;font-size:.68rem!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:rgba(255,255,255,.95)!important;font-weight:500!important;margin:0 0 18px!important;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.10)}
.hd-foot__col a{padding:6px 0!important;font-size:.9rem!important;line-height:1.4!important}
.hd-foot__addr{font-size:.9rem!important;line-height:1.55!important;color:rgba(255,255,255,.65)!important;margin:0 0 12px!important;font-style:normal!important}
.hd-foot__contact{margin:4px 0!important;font-size:.9rem!important}
.hd-foot__logosbar{padding:18px clamp(20px, 3vw, 48px)!important;margin-top:0!important;background:rgba(255,255,255,.98)!important}
.hd-foot__logosbar-inner{max-width:1400px!important;gap:10px 16px!important}
.hd-foot__logo-item{height:26px!important;display:inline-flex!important;align-items:center!important}
.hd-foot__logo-item--card{min-width:56px;justify-content:center}
.hd-foot__logo-sep{height:20px!important}
.hd-foot__copy{border-top:1px solid rgba(255,255,255,.06);margin-top:0;padding:20px clamp(20px, 3vw, 48px)!important;font-family:var(--hd-font-mono)!important;font-size:.72rem!important;letter-spacing:.16em!important;text-transform:uppercase;color:rgba(255,255,255,.45)!important;background:rgba(0,0,0,.18)}
.hd-foot{background:#FFFFFF!important;color:var(--hd-ink-soft)!important;border-top:1px solid var(--hd-rule);padding:64px 0 0!important}
.hd-foot__brand{padding:0 0 44px!important;gap:18px}
.hd-foot__logo-pill{background:transparent!important;box-shadow:none!important;padding:0!important}
.hd-foot__logo-pill::after{display:none!important}
.hd-foot__logo-img{height:56px!important;filter:none!important}
.hd-foot__slogan{color:var(--hd-ink-soft)!important}
.hd-rea{background:#FAFBFC!important;border-top:1px solid var(--hd-rule)!important;border-bottom:1px solid var(--hd-rule)!important}
.hd-rea__item{border-right-color:var(--hd-rule)!important}
.hd-rea__item:last-child{border-right:0!important}
.hd-rea__item strong{color:var(--hd-ink)!important}
.hd-rea__item span{color:var(--hd-mute)!important}
.hd-rea__item svg{color:var(--hd-navy)!important}
.hd-foot__col h5{color:var(--hd-ink)!important;border-bottom-color:var(--hd-rule)!important}
.hd-foot__col a{color:var(--hd-ink-soft)!important}
.hd-foot__col a:hover{color:var(--hd-navy)!important}
.hd-foot__addr{color:var(--hd-mute)!important}
.hd-foot__contact a{color:var(--hd-ink-soft)!important}
.hd-foot__contact a:hover{color:var(--hd-navy)!important}
.hd-foot__col--contact a{color:var(--hd-ink-soft)!important}
.hd-foot__col--contact a:hover{color:var(--hd-navy)!important}
.hd-foot__logosbar{background:#FFFFFF!important;border-top:1px solid var(--hd-rule)}
.hd-foot__logo-item--card{border:1px solid transparent!important}
.hd-foot__logo-item--text{background:#1A1D2E!important;color:#C6A23B!important}
.hd-foot__copy{background:#FFFFFF!important;color:var(--hd-mute)!important;border-top:1px solid var(--hd-rule)!important}
.hd-foot__envlogos{background:#FFF;padding:48px clamp(20px, 3vw, 48px) 56px;border-top:1px solid var(--hd-rule);border-bottom:1px solid var(--hd-rule);margin-top:0}
.hd-foot__envlogos-eyebrow{font-family:var(--hd-font-mono);font-size:.72rem;letter-spacing:.26em;text-transform:uppercase;color:var(--hd-mute);text-align:center;margin:0 0 32px!important}
.hd-foot__envlogos-grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px}
@media (max-width:720px){.hd-foot__envlogos-grid{grid-template-columns:1fr;gap:36px}}
.hd-foot__envlogo{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.hd-foot__envlogo-mark{display:flex;align-items:center;justify-content:center;height:60px;width:100%;max-width:220px}
.hd-foot__envlogo-mark svg,.hd-foot__envlogo-mark img{max-height:60px;max-width:100%;width:auto;height:auto;object-fit:contain}
.hd-foot__envlogo-name{font-family:var(--hd-font-serif);font-style:italic;font-weight:400;font-size:1.15rem;color:var(--hd-ink);margin:0;letter-spacing:-.012em}
.hd-foot__envlogo-desc{font-family:var(--hd-font-sans);font-size:.82rem;line-height:1.5;color:var(--hd-mute);max-width:280px;margin:0}
.hd-foot__logosbar-inner{gap:6px 24px!important;align-items:center!important}
.hd-foot__paylogo{display:inline-flex;align-items:center;justify-content:center;height:26px;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;color:inherit!important;white-space:nowrap;gap:8px}
.hd-foot__paylogo svg{height:22px;width:auto;display:block}
.hd-foot__paylogo--colissimo svg{height:20px}
.hd-foot__paylogo--mc svg{height:26px}
.hd-foot__paylogo--visa svg{height:18px}
.hd-foot__paylogo--pp svg{height:18px}
.hd-foot__paylogo--france svg{height:14px;border:1px solid #E9EAEE;border-radius:2px}
.hd-foot__paylogo-label{font-family:var(--hd-font-mono);font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--hd-mute)}
.hd-foot__paylogo-sep{width:1px;height:18px;background:var(--hd-rule);margin:0 6px}
.hd-foot__logo-item--text,.hd-foot__logo-item--card,.hd-foot__logo-item--label{background:transparent!important;border:0!important}
.hd-foot__envlogo-mark img{width:auto!important;height:60px!important;max-width:180px!important;max-height:60px!important;object-fit:contain;display:block}
.hd-foot__envlogo-mark svg{width:auto!important;height:56px!important;max-width:200px!important;max-height:60px!important;display:block}
.hd-foot,.hd-foot__container,.hd-rea,.hd-foot__cols,.hd-foot__envlogos,.hd-foot__logosbar,.hd-foot__copy{background:#FFFFFF!important}
.hd-rea{background:#FFFFFF!important;border-top:1px solid #ECEEF2!important;border-bottom:1px solid #ECEEF2!important}
.hd-rea__item{border-right-color:#ECEEF2!important}
.hd-foot__copy{background:#FFFFFF!important;border-top:1px solid #ECEEF2!important;color:var(--hd-mute)!important}
.hd-foot__envlogos{padding:36px clamp(20px, 3vw, 48px) 40px!important}
.hd-foot__envlogos-eyebrow{margin:0 0 24px!important;font-size:.68rem!important}
.hd-foot__envlogos-grid{gap:32px!important;max-width:880px!important}
.hd-foot__envlogo{gap:8px!important}
.hd-foot__envlogo-mark{height:36px!important;max-width:140px!important}
.hd-foot__envlogo-mark svg{height:30px!important;max-height:36px!important;max-width:130px!important}
.hd-foot__envlogo-mark img{height:36px!important;max-height:36px!important;max-width:110px!important}
.hd-foot__envlogo-name{font-size:.92rem!important;margin:4px 0 0!important}
.hd-foot__envlogo-desc{font-size:.74rem!important;line-height:1.4!important;max-width:220px!important}
.hd-foot__paylogo{height:22px!important}
.hd-foot__paylogo svg{height:18px!important}
.hd-foot__paylogo--colissimo svg{height:16px!important}
.hd-foot__paylogo--mc svg{height:22px!important}
.hd-foot__paylogo--visa svg{height:14px!important}
.hd-foot__paylogo--pp svg{height:15px!important}
.hd-foot__paylogo--france svg{height:11px!important}
.hd-foot__paylogo-label{font-size:.58rem!important}
.hd-foot__paylogosbar,.hd-foot__logosbar{padding:14px clamp(20px, 3vw, 48px)!important}

/* ============================================================
   MOBILE — proportions des boutons (2026-06-02)
   Sur petit écran les CTA .hd-btn--lg (22px 38px / 1.12rem) étaient
   surdimensionnés et wrappaient de façon irrégulière (largeurs inégales,
   centrés). On rééquilibre le ratio : CTA hero empilés pleine largeur,
   hauteur de tap confortable (~50px), padding/typo resserrés.
   ============================================================ */
@media (max-width: 600px) {
  /* Hero : les CTA passent en colonne, pleine largeur, taille identique */
  .hd-hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
  }
  .hd-hero__cta .hd-btn {
    width: 100%;
    justify-content: center;
  }
  /* Proportions générales : padding plus compact, typo lisible */
  .hd-btn {
    padding: 15px 24px;
    font-size: 1rem;
    gap: 8px;
  }
  .hd-btn--lg {
    padding: 16px 26px;
    font-size: 1.04rem;
  }
}

/* ============================================================
   EXCEPTIONS DORÉ — 2026-06-02 (demande user)
   L'accent global est passé à l'émeraude (#1F9D6B), MAIS on garde le DORÉ
   sur deux éléments : le texte "sans odeurs." (.hd-hero__title-line2) et le
   bouton Diagnostiquer (.hd-btn--gold). On re-déclare les variables gold
   localement → ces éléments lisent du doré pendant que tout le reste est
   émeraude. Réversible / chirurgical.
   ============================================================ */
.hd-hero__title-line2,
.hd-btn--gold {
  --hd-gold:      #C7A05A;
  --hd-gold-deep: #8E6B30;
  --hd-gold-tint: #FAF4E5;
}
/* Ombre du bouton Diag : repasser en doré (le sed l'avait mise en émeraude) */
.hd-btn--gold {
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 22px -6px rgba(199,160,90,.5);
}
.hd-btn--gold:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 32px -6px rgba(199,160,90,.7);
}
