/*
Theme Name: HD Lite
Description: Lightweight mobile-first theme for migrated LPs.
Version: 1.15.13
*/

:root {
  --hd-bg: #0b0f14;
  --hd-fg: #f5f5f5;
  --hd-accent: #1a7f37;
  --hd-glow: #22c55e;
  --hd-warn: #dc2626;
  --hd-btn-fg: #ffffff;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #111;
  color: var(--hd-fg);
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}
/* LP : fond = --hd-bg de la page (blanc OU noir selon l'original) */
body.hd-landing {
  background: var(--hd-bg, #ffffff);
  color: var(--hd-fg, #111);
}
body.hd-landing .hd-lp {
  background: var(--hd-bg, #ffffff);
  color: var(--hd-fg, #111);
}
img { max-width: 100%; height: auto; display: block; }
.hd-lp {
  max-width: 480px;
  margin: 0 auto;
  background: var(--hd-bg, #000);
  color: var(--hd-fg, #111);
  min-height: 100vh;
  /* Barre sticky en flux : plus de padding/bande noire au-dessus des slides */
  padding-top: 0 !important;
  padding-bottom: 84px;
}
.hd-lp > p:empty,
.hd-lp > p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Sticky top offer countdown — dans le flux, collée en haut au scroll */
.hd-offer-bar {
  position: sticky;
  top: 0;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 480px;
  z-index: 9500;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 10px;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--hd-bg) 92%, #000) 0%, color-mix(in srgb, var(--hd-bg) 78%, #000) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--hd-accent) 45%, transparent);
  overflow: hidden;
  direction: rtl;
}
.hd-offer-glow {
  box-shadow:
    0 4px 18px color-mix(in srgb, var(--hd-accent) 30%, transparent),
    0 0 0 1px color-mix(in srgb, var(--hd-accent) 30%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--hd-accent) 25%, transparent);
  animation: hd-offer-bar-glow 2.2s ease-in-out infinite;
}
@keyframes hd-offer-bar-glow {
  0%, 100% {
    box-shadow:
      0 4px 16px color-mix(in srgb, var(--hd-accent) 25%, transparent),
      0 0 0 1px color-mix(in srgb, var(--hd-accent) 28%, transparent);
  }
  50% {
    box-shadow:
      0 6px 22px color-mix(in srgb, var(--hd-accent) 45%, transparent),
      0 0 0 1px color-mix(in srgb, var(--hd-accent) 50%, transparent);
  }
}
.hd-offer-bar-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    color-mix(in srgb, var(--hd-accent) 18%, transparent) 45%,
    transparent 70%
  );
  animation: hd-offer-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hd-offer-shine {
  0%, 100% { transform: translateX(-30%); opacity: .35; }
  50% { transform: translateX(30%); opacity: .7; }
}
.hd-offer-bar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hd-offer-pulse {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hd-accent);
  box-shadow: 0 0 12px var(--hd-accent);
  transform: translateY(-50%);
  animation: hd-offer-dot 1.2s ease-in-out infinite;
}
@keyframes hd-offer-dot {
  0%, 100% { opacity: .55; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.35); }
}
.hd-offer-label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 0 16px color-mix(in srgb, var(--hd-accent) 55%, transparent);
  animation: hd-title-glow 1.6s ease-in-out infinite;
}
.hd-offer-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hd-offer-unit {
  min-width: 52px;
  padding: 4px 8px 5px;
  border-radius: 10px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.35));
  border: 1px solid color-mix(in srgb, var(--hd-accent) 45%, transparent);
  box-shadow:
    0 0 18px color-mix(in srgb, var(--hd-accent) 35%, transparent),
    inset 0 1px 0 rgba(255,255,255,.15);
}
.hd-offer-unit b {
  display: block;
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 14px color-mix(in srgb, var(--hd-accent) 70%, transparent);
}
.hd-offer-unit small {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 700;
  color: color-mix(in srgb, var(--hd-accent) 75%, #fff);
  letter-spacing: .04em;
}
.hd-offer-sep {
  font-size: 18px;
  font-weight: 900;
  color: var(--hd-accent);
  text-shadow: 0 0 12px var(--hd-accent);
  animation: hd-offer-sep-blink 1s steps(1) infinite;
  padding-bottom: 10px;
}
@keyframes hd-offer-sep-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}
.hd-offer-bar.hd-offer-ended .hd-offer-label {
  color: #fecaca;
}
.hd-offer-bar.hd-offer-ended .hd-offer-unit {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.4);
}
.hd-lp-slides {
  display: flex;
  flex-direction: column;
}
.hd-lp-slides img {
  width: 100%;
  height: auto;
  display: block;
}
/* Avatars / cards carrées : ne pas étirer en plein écran */
.hd-lp-slides img.hd-img-card {
  width: auto;
  max-width: 280px;
  margin: 10px auto;
  border-radius: 8px;
}
.hd-inline-form {
  padding: 18px 14px 16px;
  background: #fff;
  color: #111;
  border-top: 4px solid var(--hd-accent);
  border-bottom: 4px solid var(--hd-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hd-accent) 12%, transparent);
}
.hd-inline-form .hd-lead-form {
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
}
.hd-inline-form .hd-submit-btn {
  animation: none;
  background: var(--hd-accent);
  color: var(--hd-btn-fg, #fff);
  font-size: 18.4px;
  font-weight: 900;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  width: 100%;
  box-shadow: 0 3px 12px color-mix(in srgb, var(--hd-accent) 40%, transparent);
}
.hd-inline-form .hd-submit-btn:hover,
.hd-inline-form .hd-submit-btn:focus {
  filter: brightness(0.94);
}

/* Forminator / Colibri — couleurs via --hd-accent (par LP) */
.hd-lp {
  --hd-form-from: #17252a;
  --hd-form-to: var(--hd-accent, #e11d2e);
}
.hd-inline-form.hd-inline-form--colibri {
  margin: 18px 14px;
  padding: 1.6em 1.4em 1.5em;
  background-image: linear-gradient(120deg, var(--hd-form-from) 0%, var(--hd-form-to) 100%) !important;
  background-color: transparent !important;
  color: #fff !important;
  border: none !important;
  border-radius: 49px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 28px color-mix(in srgb, var(--hd-form-to) 45%, transparent),
    0 10px 32px rgba(0, 0, 0, 0.28);
  animation: hd-form-glow 2.4s ease-in-out infinite;
}
@keyframes hd-form-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 22px color-mix(in srgb, var(--hd-form-to) 35%, transparent),
      0 8px 28px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2),
      0 0 40px color-mix(in srgb, var(--hd-form-to) 65%, transparent),
      0 12px 36px rgba(0, 0, 0, 0.3);
  }
}
.hd-inline-form.hd-inline-form--colibri .hd-lead-form {
  max-width: 300px;
}
.hd-inline-form.hd-inline-form--colibri .hd-field {
  margin-bottom: 14px;
}
.hd-inline-form.hd-inline-form--colibri .hd-field label {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}
.hd-inline-form.hd-inline-form--colibri .hd-field--name label {
  font-size: 18px;
}
.hd-inline-form.hd-inline-form--colibri .hd-field--phone label {
  font-size: 17.25px;
}
.hd-inline-form.hd-inline-form--colibri .hd-field input {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #111 !important;
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.hd-inline-form.hd-inline-form--colibri .hd-field input:focus {
  border-color: #fff !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hd-form-to) 35%, transparent);
}
.hd-inline-form.hd-inline-form--colibri .hd-submit-btn {
  background: #ffffff !important;
  color: #0b1220 !important;
  animation: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
  border: 1.5px solid color-mix(in srgb, var(--hd-form-from, #17252a) 70%, var(--hd-form-to, var(--hd-accent)) 30%) !important;
  border-radius: 999px !important;
  font-size: 18.4px !important;
  font-weight: 900 !important;
  padding: 0.55rem 1.15rem !important;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hd-inline-form.hd-inline-form--colibri .hd-submit-btn:hover,
.hd-inline-form.hd-inline-form--colibri .hd-submit-btn:focus {
  filter: none;
  background: #f8fafc !important;
  color: #0b1220 !important;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28) !important;
}
.hd-inline-form.hd-inline-form--colibri .hd-submit-btn:disabled {
  color: #64748b !important;
}
@keyframes hd-btn-glow {
  0%, 100% { box-shadow: 0 0 14px color-mix(in srgb, var(--hd-form-to) 45%, transparent), 0 0 0 0 color-mix(in srgb, var(--hd-form-to) 35%, transparent); }
  50% { box-shadow: 0 0 26px color-mix(in srgb, var(--hd-form-to) 85%, transparent), 0 0 0 8px transparent; }
}

/* Boutons milieu de page → ouvrent la popup (couleurs = accent LP) */
.hd-mid-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 14px 16px 18px;
  background: var(--hd-bg, transparent);
}
.hd-lp-text {
  text-align: center;
  padding: 10px 16px 6px;
  font-family: Cairo, Roboto, "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--hd-accent, #e11d2e);
}
.hd-lp-text--rich {
  color: inherit;
  font-size: inherit;
  line-height: 1.35;
  padding: 14px 12px 10px;
  text-align: center;
}
.hd-lp-text--rich span {
  letter-spacing: 0.2px;
}
.hd-lp-text--rich br {
  display: block;
  content: "";
  margin-top: 2px;
}
.hd-mid-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(86%, 320px);
  padding: 12px 24px;
  border-radius: 90px;
  border: 2px solid #fff;
  cursor: pointer;
  font-family: Cairo, Roboto, "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff !important;
  background-image: linear-gradient(120deg, var(--hd-form-from, #17252a) 0%, var(--hd-form-to, var(--hd-accent)) 100%);
  background-color: var(--hd-form-from, #17252a);
  box-shadow:
    0 0 22px color-mix(in srgb, var(--hd-form-to, var(--hd-accent)) 55%, transparent),
    0 6px 18px rgba(0, 0, 0, 0.25);
  animation: hd-btn-glow 1.8s ease-in-out infinite;
}
.hd-mid-cta:hover,
.hd-mid-cta:focus {
  filter: brightness(1.06);
  box-shadow:
    0 0 34px color-mix(in srgb, var(--hd-form-to, var(--hd-accent)) 85%, transparent),
    0 8px 22px rgba(0, 0, 0, 0.3);
}

/* Sticky bottom CTA with pulse glow */
.hd-lp-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(transparent, rgba(0,0,0,.94) 35%);
  z-index: 9000;
}
/* Dock: sticky CTA only (jauge/visiteurs → popup + sous forms) */
.hd-lp-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(transparent, rgba(0,0,0,.95) 30%);
  z-index: 9000;
  box-sizing: border-box;
}
body.hd-popup-is-open .hd-lp-dock {
  display: none !important;
}
.hd-lp-dock .hd-lp-cta,
.hd-lp-cta--dock {
  position: static;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  z-index: auto;
}
.hd-lp-social {
  margin-top: 8px;
  padding: 8px 10px 6px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  direction: rtl;
}
.hd-lp-social__warn {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 700;
  color: #f3f4f6;
  text-align: center;
}
/* Chiffre stock : blanc sur pastille accent (évite accent-sur-accent = invisible) */
.hd-lp-social__warn .hd-countdown {
  color: #fff !important;
  background: var(--hd-accent, #e11d2e);
  font-weight: 900;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  padding: 2px 10px;
  border-radius: 999px;
  min-width: 2.2em;
  text-align: center;
  box-shadow: 0 0 12px color-mix(in srgb, var(--hd-accent, #e11d2e) 55%, transparent);
}
.hd-countdown-bar.hd-countdown-bar--dock {
  height: 11px !important;
  width: 68%;
  max-width: 220px;
  margin: 0 auto 8px;
  margin-top: 0;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.25);
}
.hd-countdown-bar.hd-countdown-bar--dock > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hd-accent, #e11d2e) 75%, #fff), var(--hd-accent, #e11d2e));
  border-radius: 999px;
  transition: width .4s ease;
  box-shadow: none;
  transform-origin: center;
}
.hd-lp-social__visitors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
/* Popup: jauge+visiteurs sticky en bas de la sheet */
.hd-lp-social--in-popup {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin: 12px -14px 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-radius: 0;
  background: #fff;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--hd-accent, #e11d2e) 28%, #e5e7eb);
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
}
.hd-lp-social--in-popup .hd-lp-social__warn {
  color: #333;
}
.hd-lp-social--in-popup .hd-countdown-bar.hd-countdown-bar--dock {
  background: color-mix(in srgb, var(--hd-accent, #e11d2e) 16%, #f3f4f6);
  box-shadow: none;
}
.hd-lp-social--in-popup .hd-visitors-text {
  color: #333;
  font-size: 13px;
  font-weight: 700;
}
.hd-lp-social--in-popup .hd-visitors-text strong {
  display: inline-block;
  color: #fff !important;
  background: #dc2626;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  padding: 2px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
}
/* Sous formulaires LP : pas sticky */
.hd-lp-social--inline {
  position: static;
  margin-top: 14px;
  background: rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.18);
}
.hd-lp-social--inline .hd-lp-social__warn {
  color: #f3f4f6;
}
.hd-lp-social--inline .hd-visitors-text {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.hd-lp-social--inline .hd-visitors-text strong {
  display: inline-block;
  color: #fff !important;
  background: #dc2626;
  font-size: 15px;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
/* Room for CTA-only dock */
body.hd-landing {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
.hd-lp-cta a,
.hd-lp-cta button,
.hd-cta-glow {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: var(--hd-accent);
  color: var(--hd-btn-fg);
  font-weight: 800;
  font-size: 18px;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  padding: 14px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--hd-accent) 55%, transparent);
  animation: hd-cta-pulse 1.8s ease-in-out infinite;
}
@keyframes hd-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hd-accent) 55%, transparent), 0 0 18px color-mix(in srgb, var(--hd-accent) 35%, transparent); }
  50% { box-shadow: 0 0 0 10px transparent, 0 0 28px color-mix(in srgb, var(--hd-accent) 65%, transparent); }
}

/* Colibri UI stack (popup, sticky CTA, offer bar, inline forms) */
.hd-colibri-ui,
.hd-offer-bar,
.hd-offer-bar *,
.hd-lp-cta,
.hd-lp-cta *,
.hd-popup,
.hd-popup *,
.hd-inline-form.hd-inline-form--colibri,
.hd-inline-form.hd-inline-form--colibri * {
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif !important;
}

/* Bottom sheet popup (same place as CTA) — typo Colibri: Roboto + Cairo */
.hd-popup {
  --hd-form-from: #17252a;
  --hd-form-to: var(--hd-accent);
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 9999;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.hd-popup.open { display: flex; }
.hd-popup-inner {
  width: 100%;
  max-width: 480px;
  background: #fff;
  color: #111;
  border-radius: 18px 18px 0 0;
  padding: 48px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  position: relative;
  max-height: min(92vh, 760px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.hd-popup-glow {
  box-shadow:
    0 -8px 40px color-mix(in srgb, var(--hd-accent) 35%, transparent),
    0 0 0 1px color-mix(in srgb, var(--hd-accent) 35%, transparent),
    inset 0 1px 0 rgba(255,255,255,.8);
  animation: hd-popup-glow 2.2s ease-in-out infinite;
}
@keyframes hd-popup-glow {
  0%, 100% { box-shadow: 0 -8px 40px color-mix(in srgb, var(--hd-accent) 28%, transparent), 0 0 0 1px color-mix(in srgb, var(--hd-accent) 30%, transparent); }
  50% { box-shadow: 0 -10px 55px color-mix(in srgb, var(--hd-accent) 55%, transparent), 0 0 0 2px color-mix(in srgb, var(--hd-accent) 55%, transparent); }
}
.hd-popup-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35), 0 4px 16px rgba(0,0,0,.35);
}
.hd-popup-close:hover,
.hd-popup-close:focus {
  background: #991b1b;
}
.hd-popup-head {
  text-align: center;
  margin: 8px 8px 14px;
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--hd-accent) 12%, #fff), #fff);
  border: 1px solid color-mix(in srgb, var(--hd-accent) 35%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--hd-accent) 18%, transparent);
}
.hd-popup-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  color: var(--hd-accent);
  direction: rtl;
  text-shadow: 0 0 18px color-mix(in srgb, var(--hd-accent) 35%, transparent);
  animation: hd-title-glow 1.6s ease-in-out infinite;
}
@keyframes hd-title-glow {
  0%, 100% { text-shadow: 0 0 10px color-mix(in srgb, var(--hd-accent) 25%, transparent); }
  50% { text-shadow: 0 0 22px color-mix(in srgb, var(--hd-accent) 70%, transparent); }
}
.hd-popup-warning {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  color: #333;
  direction: rtl;
}
.hd-countdown {
  display: inline-block;
  min-width: 2.4em;
  color: var(--hd-btn-fg);
  background: var(--hd-accent);
  padding: 2px 10px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 16px color-mix(in srgb, var(--hd-accent) 65%, transparent);
  animation: hd-count-blink 1s ease-in-out infinite;
}
@keyframes hd-count-blink {
  0%, 100% { box-shadow: 0 0 10px color-mix(in srgb, var(--hd-accent) 45%, transparent); transform: scale(1); }
  50% { box-shadow: 0 0 22px color-mix(in srgb, var(--hd-accent) 90%, transparent); transform: scale(1.06); }
}
.hd-countdown-bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hd-accent) 18%, #f3f4f6);
  overflow: hidden;
}
.hd-countdown-bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: right center;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hd-accent) 70%, #fff), var(--hd-accent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--hd-accent) 80%, transparent);
  transition: width .6s ease;
}

.hd-popup-visitors {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: rtl;
  background: linear-gradient(135deg, color-mix(in srgb, var(--hd-accent) 10%, #fff), #fff);
  border: 1px solid color-mix(in srgb, var(--hd-accent) 30%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--hd-accent) 18%, transparent);
}
.hd-visitors-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
  animation: hd-offer-dot 1.2s ease-in-out infinite;
}
.hd-visitors-text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  color: #333;
}
.hd-visitors-text strong {
  color: var(--hd-accent);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px color-mix(in srgb, var(--hd-accent) 35%, transparent);
}

.hd-lead-form {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.hd-popup .hd-lead-form {
  max-width: 280px;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}

/* Popup form : mêmes couleurs que le form LP (via --hd-accent) */
.hd-popup-form-card {
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  margin: 4px 8px 10px;
  padding: 1.25em 1.1em 1.15em;
  border-radius: 28px;
  background-image: linear-gradient(120deg, var(--hd-form-from, #17252a) 0%, var(--hd-form-to, var(--hd-accent)) 100%);
  background-color: var(--hd-form-from, #17252a);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 24px color-mix(in srgb, var(--hd-form-to, var(--hd-accent)) 45%, transparent),
    0 8px 22px rgba(0, 0, 0, 0.22);
  animation: hd-form-glow 2.4s ease-in-out infinite;
}
.hd-popup-form-card .hd-field label {
  color: #ffffff !important;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}
.hd-popup-form-card .hd-field--name label {
  font-size: 18px;
}
.hd-popup-form-card .hd-field--phone label {
  font-size: 17.25px;
}
.hd-popup-form-card .hd-phone-hint,
.hd-inline-form.hd-inline-form--colibri .hd-phone-hint {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.42) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  opacity: 1 !important;
}
.hd-popup-form-card .hd-field input {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #111 !important;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}
.hd-popup-form-card .hd-field input:focus {
  border-color: #fff !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hd-form-to, var(--hd-accent)) 35%, transparent);
}
.hd-popup-form-card .hd-submit-btn {
  background: #ffffff !important;
  color: #0b1220 !important;
  border: 1.5px solid color-mix(in srgb, var(--hd-form-from, #17252a) 70%, var(--hd-form-to, var(--hd-accent)) 30%) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
  animation: none !important;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  border-radius: 999px !important;
  font-size: 18.4px !important;
  font-weight: 900 !important;
  padding: 0.55rem 1.15rem !important;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hd-popup-form-card .hd-submit-btn:hover,
.hd-popup-form-card .hd-submit-btn:focus {
  filter: none;
  background: #f8fafc !important;
  color: #0b1220 !important;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28) !important;
}
.hd-popup-form-card .hd-submit-btn:disabled {
  color: #64748b !important;
}
.hd-field { margin: 0 0 .85rem; }
.hd-field label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: .4rem;
  direction: rtl;
  color: #222;
}
.hd-field--name label {
  font-size: 18px;
}
.hd-field--phone label {
  font-size: 17.25px;
}
.hd-field label .hd-req {
  color: inherit;
  font-weight: inherit;
  margin-inline-start: 0.2em;
}
.hd-field input {
  width: 100%;
  max-width: 100%;
  padding: .75rem .85rem;
  font-size: 16px;
  font-family: Roboto, "Segoe UI", Tahoma, sans-serif;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.hd-field input:focus {
  outline: none;
  border-color: var(--hd-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hd-accent) 22%, transparent);
}
.hd-submit-btn {
  width: 100%;
  padding: 0.55rem 1.15rem;
  font-size: 18.4px;
  font-weight: 900;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  border: 1.5px solid color-mix(in srgb, var(--hd-form-from, #17252a) 70%, var(--hd-form-to, var(--hd-accent)) 30%);
  border-radius: 999px;
  background: var(--hd-accent);
  color: var(--hd-btn-fg, #fff);
  cursor: pointer;
  box-shadow: 0 3px 12px color-mix(in srgb, var(--hd-accent) 40%, transparent);
  animation: none;
}
.hd-submit-btn:hover,
.hd-submit-btn:focus {
  filter: brightness(0.94);
}

/* LED rim: mince filet sur le wrap — jamais de layer sur le texte */
.hd-submit-wrap {
  position: relative;
  display: block;
  width: 83%;
  max-width: 230px;
  margin: 0.35rem auto 0;
  padding: 2px;
  border-radius: 999px;
  isolation: isolate;
  overflow: visible; /* doigt hors du bouton sans clip */
  background: var(--hd-accent, #e11d2e);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--hd-accent, #e11d2e) 40%, transparent);
  animation: hd-submit-led-pulse 1.8s ease-in-out infinite;
}
.hd-submit-wrap::before,
.hd-submit-wrap::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}
.hd-submit-wrap .hd-submit-btn,
.hd-popup-form-card .hd-submit-wrap .hd-submit-btn,
.hd-inline-form.hd-inline-form--colibri .hd-submit-wrap .hd-submit-btn {
  position: relative !important;
  z-index: 2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  width: 100%;
  padding: 0.55rem 1.15rem !important;
  font-weight: 900 !important;
  font-size: 19.2px !important;
  letter-spacing: 0.02em;
  background: #ffffff !important;
  color: #0b1220 !important;
  border: none !important;
  box-shadow: none !important;
}
.hd-submit-wrap:has(.hd-submit-btn:disabled) {
  animation-duration: 2.6s;
}
.hd-popup-form-card .hd-submit-btn:disabled,
.hd-inline-form.hd-inline-form--colibri .hd-submit-btn:disabled,
.hd-popup-form-card .hd-submit-wrap .hd-submit-btn:disabled,
.hd-inline-form.hd-inline-form--colibri .hd-submit-wrap .hd-submit-btn:disabled {
  background: #ffffff !important;
  color: #64748b !important;
  opacity: 0.92;
  filter: none;
}
@keyframes hd-submit-led-pulse {
  0%, 100% {
    background: var(--hd-accent, #e11d2e);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--hd-accent, #e11d2e) 35%, transparent);
  }
  50% {
    background: color-mix(in srgb, var(--hd-accent, #e11d2e) 70%, #ffffff);
    box-shadow: 0 0 8px 0 color-mix(in srgb, var(--hd-accent, #e11d2e) 40%, transparent);
  }
}

/* Pointing finger — coin du bouton, hors du libellé */
.hd-submit-wrap .hd-submit-finger {
  position: absolute;
  inset-inline-end: 4px;
  bottom: 4px;
  z-index: 5;
  width: 28px;
  height: 28px;
  display: block;
  opacity: 1;
  pointer-events: none;
  transform-origin: 50% 20%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  animation: hd-submit-finger-tap 1.2s ease-in-out infinite;
}
.hd-submit-wrap .hd-submit-finger svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(28deg);
}
.hd-submit-wrap .hd-submit-finger svg g {
  fill: #fff;
  stroke: #000;
}
/* Stay fully solid while disabled; hide only after success / done */
.hd-submit-wrap:has(.hd-submit-btn:disabled) .hd-submit-finger {
  opacity: 1;
}
.hd-lead-wrap:has(.hd-lead-done:not([hidden])) .hd-submit-finger,
.hd-lead-form[hidden] .hd-submit-finger {
  opacity: 0;
  visibility: hidden;
  animation: none;
}
@keyframes hd-submit-finger-tap {
  0%, 58%, 100% {
    transform: translateY(0);
  }
  72% {
    transform: translateY(6px);
  }
  84% {
    transform: translateY(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hd-submit-wrap .hd-submit-finger {
    animation: none;
  }
}

.hd-shop {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.hd-shop h1 { font-size: 1.6rem; margin: 0 0 1rem; }
.hd-cat { margin: 2rem 0 1rem; font-size: 1.2rem; border-bottom: 1px solid #333; padding-bottom: .4rem; }
.hd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.hd-card {
  background: #1a1f27;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.hd-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.hd-card span { display: block; padding: 10px; font-size: .9rem; font-weight: 600; }
.site-header, .site-footer { display: none; }

/* ========== Boutique = Herbal Vitaly (même thème que white pages) ========== */
body.hd-boutique-body {
  --green-neon: #00ff88;
  --green-mid: #00cc6a;
  --bg-black: #050f08;
  --bg-dark: #081a10;
  --bg-card: #0c2416;
  --text-white: #f0fff6;
  --text-muted: #7ab893;
  --border: rgba(0,255,136,0.15);
  --border-bright: rgba(0,255,136,0.4);
  --font-display: 'Orbitron', monospace;
  --font-body: 'Exo 2', sans-serif;
  margin: 0;
  background: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
body.hd-boutique-body a { color: var(--green-neon); text-decoration: none; }

.hv-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hv-particle {
  position: absolute;
  bottom: -8px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--green-neon);
  opacity: 0;
  animation: hv-float linear infinite;
}
@keyframes hv-float {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: .55; }
  90% { opacity: .2; }
  100% { transform: translateY(-105vh) translateX(30px); opacity: 0; }
}

.hv-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .35s, border-color .35s;
}
.hv-navbar.scrolled {
  background: rgba(5,15,8,.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.hv-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hv-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-display);
}
.hv-logo-herbal {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--text-muted);
}
.hv-logo-vitality {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green-neon);
}
.hv-nav-links {
  display: none;
  gap: 22px;
  margin-left: auto;
}
.hv-nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hv-nav-links a:hover { color: var(--green-neon); }
.hv-nav-cta {
  margin-left: auto;
  background: var(--green-neon);
  color: #04150c !important;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(0,255,136,.25);
}
.hv-nav-cta:hover { background: #fff; color: #04150c !important; }

/* Compte client — pills icônes toujours visibles à côté du CTA */
.hv-nav-account {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 2;
}
.hv-nav-account__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 999px;
  line-height: 1;
  transition: background .2s, color .2s, box-shadow .2s;
}
.hv-nav-account__btn svg { flex-shrink: 0; }
.hv-nav-account__btn--ghost {
  color: #c8f5dc !important;
  border: 1px solid rgba(0, 255, 136, 0.4);
  background: rgba(0, 255, 136, 0.06);
}
.hv-nav-account__btn--ghost:hover {
  background: rgba(0, 255, 136, 0.16);
  color: var(--green-neon) !important;
}
.hv-nav-account__btn--solid {
  color: #04150c !important;
  border: 1px solid rgba(0, 255, 136, 0.7);
  background: var(--green-neon);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.28);
}
.hv-nav-account__btn--solid:hover {
  background: #fff;
  color: #04150c !important;
}
.hv-nav-account__link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c8f5dc !important;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 4px;
}
.hv-nav-account__link:hover {
  color: var(--green-neon) !important;
}
.hv-nav-account__link--muted {
  opacity: 0.7;
  font-weight: 600;
}
.hv-nav-account__cta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-neon) !important;
  text-decoration: none;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.55);
  background: rgba(0, 255, 136, 0.08);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.12);
}
.hv-nav-account__cta:hover {
  background: var(--green-neon);
  color: #04150c !important;
}
.hd-account-main {
  min-height: 50vh;
  padding: 0 0 40px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  direction: ltr;
  box-sizing: border-box;
}
.hv-nav-links--account {
  gap: 18px;
}
.hv-hero--account {
  min-height: 0 !important;
  padding: 108px 20px 36px !important;
}
@media (min-width: 860px) {
  .hv-nav-links { display: flex; }
  .hv-nav-cta { margin-left: 0; }
  .hv-nav-account { margin-left: 0; }
}
@media (max-width: 520px) {
  .hv-nav-account__btn span { display: none; }
  .hv-nav-account__btn { padding: 10px; }
  .hv-nav-cta {
    padding: 9px 10px;
    font-size: 10px;
  }
}

.hv-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px 64px;
  z-index: 1;
  overflow: hidden;
}
.hv-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,255,136,.12), transparent 55%),
    linear-gradient(180deg, #081a10 0%, #050f08 100%);
  background-image:
    linear-gradient(rgba(0,255,136,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .9;
}
.hv-hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
}
.hv-glow-1 { background: #00ff88; top: 10%; left: 10%; }
.hv-glow-2 { background: #00cc6a; bottom: 5%; right: 8%; }
.hv-hero-content { position: relative; z-index: 2; max-width: 720px; }
.hv-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 18px;
  background: rgba(12,36,22,.55);
}
.hv-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}
.hv-title-muted { display: block; color: var(--text-muted); letter-spacing: .2em; font-size: .45em; }
.hv-title-neon {
  display: block;
  color: var(--green-neon);
  text-shadow: 0 0 28px rgba(0,255,136,.45);
}
.hv-hero-tagline {
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  font-weight: 600;
  margin: 0 0 10px;
}
.hv-hero-sub {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-size: 1rem;
}
.hv-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-neon);
  color: #04150c !important;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(0,255,136,.35);
  transition: transform .25s, box-shadow .25s;
}
.hv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,255,136,.55);
  color: #04150c !important;
}

.hv-shop {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}
.hv-cat { margin: 0 0 28px; text-align: center; }
.hv-section-header { margin: 0 0 12px; }
.hv-cat .hv-section-header { text-align: center; }
.hv-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-neon);
  font-family: var(--font-display);
}
.hv-section-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: 1px;
}
.hv-section-header small {
  color: var(--text-muted);
  font-weight: 400;
  font-size: .7em;
}
.hv-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.hv-grid .hv-card {
  width: min(100%, 180px);
  flex: 0 0 auto;
}
.hv-cat-menu {
  position: sticky;
  top: 64px;
  z-index: 40;
  margin: 0 0 18px;
  padding: 8px 0;
  background: linear-gradient(180deg, rgba(5,15,8,.96), rgba(5,15,8,.82));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.hv-cat-menu-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 8px;
  scrollbar-width: thin;
}
.hv-cat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12,36,22,.7);
  color: var(--text-muted) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.hv-cat-chip:hover {
  color: var(--green-neon) !important;
  border-color: var(--border-bright);
  box-shadow: 0 0 18px rgba(0,255,136,.18);
  transform: translateY(-1px);
}
.hv-cat-chip-icon,
.hv-cat-icon {
  color: var(--green-neon);
  text-shadow: 0 0 12px rgba(0,255,136,.45);
}
/* Une puce par carte : le rang se replie pour que les catégories longues
   (Santé = 24 cartes) restent intégralement visibles et cliquables. */
.hv-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 8px 14px 4px;
  max-width: 100%;
}
.hv-dot {
  width: 18px;
  height: 18px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.hv-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,255,136,.25);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.hv-dot.is-active::before {
  background: var(--green-neon);
  box-shadow: 0 0 10px rgba(0,255,136,.55);
  transform: scale(1.25);
}
.hv-dot:focus-visible {
  outline: 2px solid var(--green-neon);
  outline-offset: -2px;
  border-radius: 50%;
}
@media (min-width: 720px) {
  .hv-dots { display: none; }
}
@media (max-width: 719px) {
  .hv-shop { padding: 8px 0 36px; }
  .hv-catalogue-intro { padding: 0 16px; margin-bottom: 6px; }
  .hv-catalogue-intro .hv-lead { display: none; }
  .hv-cat {
    margin: 0 0 18px;
    padding: 0;
  }
  .hv-cat .hv-section-header {
    padding: 0 16px;
    margin-bottom: 8px;
  }
  .hv-cat .hv-section-header h2 { font-size: 1.1rem; }
  /* Carrousel = conteneur de défilement natif : le swipe, l'inertie et les
     bornes sont gérés par le navigateur, donc identiques en LTR et en RTL.
     Les slides font 84% de la largeur → la carte suivante dépasse et signale
     qu'il reste des produits ; les marges des slides extrêmes permettent à la
     première et à la dernière carte d'atteindre le centre. */
  .hv-grid.hv-carousel {
    display: block;
    padding: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hv-grid.hv-carousel::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .hv-grid.hv-carousel:focus-visible {
    outline: 2px solid var(--green-neon);
    outline-offset: -4px;
  }
  .hv-grid.hv-carousel .hv-track {
    display: flex;
    align-items: stretch;
    gap: 0;
  }
  .hv-grid.hv-carousel .hv-slide {
    flex: 0 0 84%;
    width: 84%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0 6px;
    scroll-snap-align: center;
  }
  .hv-grid.hv-carousel .hv-slide:first-child { margin-inline-start: 8%; }
  .hv-grid.hv-carousel .hv-slide:last-child { margin-inline-end: 8%; }
  .hv-grid.hv-carousel .hv-card {
    width: 100%;
    max-width: 280px;
    flex: 0 0 auto;
    transition: border-color .25s, box-shadow .25s;
  }
  .hv-grid.hv-carousel .hv-card:hover {
    transform: none;
  }
  .hv-grid.hv-carousel .hv-card-visual {
    aspect-ratio: 1;
    padding: 8px;
  }
  .hv-grid.hv-carousel .hv-card-visual img {
    max-width: 94%;
    max-height: 94%;
  }
  .hv-grid.hv-carousel .hv-card-body {
    padding: 10px 12px 12px;
  }
  .hv-grid.hv-carousel .hv-card-body h3 {
    font-size: .82rem;
    margin: 0 0 4px;
  }
  .hv-grid.hv-carousel .hv-card-cta {
    font-size: .7rem;
    padding: 6px 0 0;
  }
}
@media (min-width: 720px) {
  .hv-grid { gap: 20px; }
  .hv-grid .hv-card { width: 200px; }
  .hv-cat { margin: 0 0 40px; }
  .hv-grid .hv-track,
  .hv-grid .hv-slide {
    display: contents;
  }
}
.hv-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-card), #07140d);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  color: var(--text-white) !important;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.hv-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: 0 0 32px rgba(0,255,136,.18);
  color: #fff !important;
}
.hv-card-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 60%, rgba(0,255,136,.22), transparent 62%),
    radial-gradient(circle at 20% 20%, rgba(0,255,200,.08), transparent 40%),
    #06140c;
  padding: 10px;
  overflow: hidden;
}
.hv-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #04150c;
  background: linear-gradient(135deg, #00ff88, #7dffc2);
  border-radius: 999px;
  padding: 5px 9px;
  box-shadow: 0 0 16px rgba(0,255,136,.35);
}
.hv-card-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,136,.35), transparent 70%);
  filter: blur(18px);
  animation: hv-glow-pulse 3.6s ease-in-out infinite;
  pointer-events: none;
}
.hv-card-ring {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0,255,136,.22);
  box-shadow: 0 0 24px rgba(0,255,136,.12) inset;
  animation: hv-ring 4s ease-in-out infinite;
}
@keyframes hv-ring {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.04); opacity: 1; }
}
@keyframes hv-glow-pulse {
  0%, 100% { opacity: .45; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.08); }
}
@keyframes hv-float-product {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hv-card-visual img {
  position: relative;
  z-index: 1;
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(0,255,136,.18));
  animation: hv-float-product 4.8s ease-in-out infinite;
}
/* wpautop enveloppe l'image et le CTA dans des <p> : on les efface de la mise en
   page pour que les % portent sur la carte et non sur le paragraphe injecté. */
.hv-card-visual > p { display: contents; }
.hv-card-body > p { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .hv-card-ring,
  .hv-card-glow,
  .hv-card-visual img {
    animation: none !important;
  }
}
.hv-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
}
.hv-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: 1px;
  line-height: 1.3;
}
.hv-card-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-neon);
}
.hv-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 20px 40px;
  background: #040c08;
}
.hv-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.hv-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: .85rem;
  max-width: 420px;
}

/* --- Accueil enrichi --- */
.hv-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8,26,16,.85);
}
.hv-strip-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 800px) {
  .hv-strip-inner { grid-template-columns: repeat(4, 1fr); }
}
.hv-strip-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hv-strip-item strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-neon);
  letter-spacing: 1px;
}
.hv-strip-item span {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hv-block {
  position: relative;
  z-index: 1;
  padding: 64px 20px;
}
.hv-block-alt {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,255,136,.07), transparent 50%),
    #07140d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hv-block-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.hv-center { text-align: center; }
.hv-lead {
  color: var(--text-muted);
  max-width: 560px;
  margin: 10px auto 0;
  font-size: 1.02rem;
}
.hv-catalogue-intro { margin-bottom: 28px; }

.hv-split {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .hv-split { grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
}
.hv-split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: .5px;
  margin: 0 0 14px;
  line-height: 1.25;
}
.hv-split-copy p {
  color: var(--text-muted);
  margin: 0 0 12px;
}
.hv-checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.hv-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text-white);
  font-weight: 500;
}
.hv-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-neon);
  box-shadow: 0 0 12px rgba(0,255,136,.55);
}
.hv-split-panel {
  display: grid;
  gap: 14px;
}
.hv-panel-card {
  background: linear-gradient(160deg, var(--bg-card), #06140c);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 18px;
}
.hv-panel-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--green-neon);
  letter-spacing: 1px;
}
.hv-panel-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
}

.hv-universe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 800px) {
  .hv-universe { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.hv-universe-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(12,36,22,.55);
  color: var(--text-white) !important;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  min-height: 140px;
}
.hv-universe-item span {
  font-family: var(--font-display);
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.hv-universe-item strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 1px;
}
.hv-universe-item em {
  font-style: normal;
  color: var(--text-muted);
  font-size: .9rem;
}
.hv-universe-item:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(0,255,136,.16);
  color: #fff !important;
}

.hv-reviews {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 860px) {
  .hv-reviews { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.hv-review {
  background: linear-gradient(180deg, var(--bg-card), #07140d);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hv-stars {
  color: var(--green-neon);
  letter-spacing: 2px;
  font-size: 14px;
  text-shadow: 0 0 12px rgba(0,255,136,.35);
}
.hv-review p {
  margin: 0;
  color: var(--text-white);
  font-size: .98rem;
  line-height: 1.55;
  flex: 1;
}
.hv-review footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.hv-review footer strong {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: 1px;
}
.hv-review footer span {
  color: var(--text-muted);
  font-size: .8rem;
}

.hv-pillars {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
@media (min-width: 800px) {
  .hv-pillars { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.hv-pillar {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(5,15,8,.55);
}
.hv-pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: 1px;
  color: var(--green-neon);
  margin-bottom: 8px;
}
.hv-pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
}

.hv-cta-band {
  position: relative;
  z-index: 1;
  padding: 56px 20px 72px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,255,136,.16), transparent 55%),
    #050f08;
}
.hv-cta-band-inner { max-width: 640px; margin: 0 auto; }
.hv-cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}
.hv-cta-band p {
  color: var(--text-muted);
  margin: 0 0 22px;
}

.hv-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.hv-reveal.hv-in {
  opacity: 1;
  transform: none;
}

/* Produits détourés : mieux rendus sur fond sombre */
.hv-card-visual img {
  mix-blend-mode: normal;
}

/* LP recovered sections (texte / vidéo / carrousel) */
.hd-text-section {
  padding: 22px 16px;
  background: color-mix(in srgb, var(--hd-bg, #111) 92%, #fff);
  color: #f5f5f5;
  direction: rtl;
  text-align: right;
  border-top: 3px solid var(--hd-accent, #c51b88);
  border-bottom: 3px solid var(--hd-accent, #c51b88);
}
.hd-text-section p {
  margin: 0 0 12px;
  font-family: Cairo, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.hd-text-section p:last-child { margin-bottom: 0; }
.hd-text-section strong { color: var(--hd-accent, #c51b88); }
.hd-video-block {
  margin: 0;
  background: #000;
}
.hd-video-block video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  background: #000;
}
/* Stack vertical de vidéos (Colibri widget area — pas un carrousel) */
.hd-video-stack {
  background: #131134;
  margin: 0;
  padding: 0;
}
.hd-video-stack .hd-video-block {
  background: #131134;
}
.hd-video-stack .hd-video-block + .hd-video-block {
  margin-top: 0;
}
.hd-video-stack video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: #131134;
}
/* Carrousel type Colibri HopSlider: 1 slide plein largeur, swipe + autoplay */
.hd-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 10px;
  background: color-mix(in srgb, var(--hd-bg, #111) 88%, #000);
}
.hd-carousel img {
  flex: 0 0 78%;
  width: 78%;
  max-width: 340px;
  height: auto;
  scroll-snap-align: center;
  border-radius: 10px;
  object-fit: cover;
}
.hd-colibri-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #131134;
  margin: 0;
  direction: ltr; /* isolé du rtl parent — sinon 1 seule slide visible */
}
.hd-colibri-slider__track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.45s ease;
  will-change: transform;
  width: 100%;
}
.hd-colibri-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 1px;
}
.hd-colibri-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
  pointer-events: none;
  user-select: none;
}
.hd-colibri-slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 12px;
  background: #131134;
  direction: ltr;
}
.hd-colibri-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}
.hd-colibri-slider__dot.is-active {
  background: #fff;
}

/* FAQ type Colibri accordion */
.hd-faq {
  width: 100%;
  margin: 0;
  padding: 8px 12px 16px;
  background: #fff;
  box-sizing: border-box;
}
.hd-faq__item {
  margin: 0 0 8px;
  border: 0;
}
.hd-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 16px 12px 24px;
  border: 0;
  background: #eeeeee;
  color: #333333;
  font-family: Cairo, "Noto Sans Arabic", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
}
.hd-faq__q::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: #333;
}
.hd-faq__item.is-open .hd-faq__q::after {
  content: "−";
}
.hd-faq__a {
  display: none;
  padding: 12px 16px 14px;
  background: #fff;
  color: #333333;
  font-family: Cairo, "Noto Sans Arabic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  text-align: right;
}
.hd-faq__item.is-open .hd-faq__a {
  display: block;
}
.hd-faq__a p {
  margin: 0;
}

/* Blocs texte LP (titres / certificats / promo) */
.hd-lp-text {
  width: 100%;
  margin: 0;
  padding: 18px 16px;
  background: #fff;
  box-sizing: border-box;
  text-align: right;
  font-family: Cairo, "Noto Sans Arabic", sans-serif;
  color: #070707;
}
.hd-lp-text--promo {
  text-align: center;
  padding: 16px 14px 10px;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  color: #000;
}
.hd-lp-text--promo p {
  margin: 0 0 4px;
}
.hd-lp-text--faq-head {
  text-align: center;
  padding: 22px 16px 8px;
}
.hd-lp-text--faq-head .hd-lp-text__title {
  margin: 0 0 8px;
  font-family: Cairo, "Noto Sans Arabic", sans-serif;
  font-weight: 700;
  font-size: 1.7em;
  line-height: 1.25;
  color: #000;
}
.hd-lp-text--faq-head .hd-lp-text__hint {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  text-align: center;
}
.hd-lp-text--why {
  padding-top: 22px;
  padding-bottom: 10px;
}
.hd-lp-text--why .hd-lp-text__line {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
}
.hd-lp-text--why .hd-lp-text__brand {
  color: #4421aa;
  font-weight: 700;
}
.hd-lp-text--why-body {
  padding-top: 8px;
  padding-bottom: 18px;
  text-align: right;
  font-size: 18px;
  line-height: 1.55;
  color: #666666;
}
.hd-lp-text--why-body p {
  margin: 0;
}
.hd-lp-text--natural {
  text-align: center;
  padding: 16px 14px 12px;
}
.hd-lp-text--natural .hd-lp-text__natural {
  margin: 0;
  font-family: Cairo, "Noto Sans Arabic", sans-serif;
  font-weight: 400;
  font-size: 1.25em;
  line-height: 1.45;
  color: #000;
}
.hd-lp-text--cert {
  padding: 14px 16px 18px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.hd-lp-text--cert p {
  margin: 0;
}

/* ========== Pages MERCI (thank-you) — néon joignable ========== */
body.hd-merci-page {
  --hd-bg: #07110e;
  --hd-fg: #e8fff4;
  --hd-accent: #2ee6a6;
  --hd-merci-glow: #3dffc0;
  background: var(--hd-bg);
  color: var(--hd-fg);
  overflow-x: hidden;
}
body.hd-merci-page .hd-merci,
.hd-lp.hd-merci {
  --hd-bg: #07110e;
  --hd-fg: #e8fff4;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 0 28px;
  background:
    radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--hd-accent, #2ee6a6) 18%, transparent), transparent 55%),
    radial-gradient(90% 40% at 80% 20%, rgba(14, 165, 233, 0.10), transparent 50%),
    linear-gradient(180deg, #0a1814 0%, #07110e 40%, #050d0b 100%);
  color: var(--hd-fg);
  overflow-x: hidden;
  font-family: Roboto, Cairo, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}
.hd-merci-msg {
  position: relative;
  margin: 0;
  padding: 28px 18px 24px;
  text-align: center;
  direction: rtl;
  overflow: hidden;
}
.hd-merci-msg::before {
  content: "";
  position: absolute;
  inset: 10px 14px auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 65%, transparent),
    transparent
  );
  box-shadow: 0 0 12px color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 55%, transparent);
  pointer-events: none;
}
.hd-merci-msg__trust {
  position: relative;
  margin: 0 0 14px;
  font-family: Cairo, Roboto, "Noto Sans Arabic", sans-serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 4.6vw, 1.45rem);
  line-height: 1.55;
  color: #f3fff9;
  text-shadow:
    0 0 10px color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 35%, transparent),
    0 0 28px color-mix(in srgb, var(--hd-accent, #2ee6a6) 25%, transparent);
  animation: hd-merci-fade 0.9s ease-out both;
}
.hd-merci-msg__phone {
  position: relative;
  margin: 0;
  font-family: Cairo, Roboto, "Noto Sans Arabic", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 5.4vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #ffffff;
  animation: hd-merci-fade 1.1s ease-out 0.12s both;
}
.hd-merci-msg__phone span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--hd-accent, #2ee6a6) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 45%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--hd-accent, #2ee6a6) 18%, transparent),
    0 0 22px color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 28%, transparent),
    inset 0 0 18px color-mix(in srgb, var(--hd-accent, #2ee6a6) 10%, transparent);
  text-shadow:
    0 0 8px color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 55%, transparent),
    0 0 24px color-mix(in srgb, var(--hd-accent, #2ee6a6) 40%, transparent);
  animation: hd-merci-glow 2.4s ease-in-out infinite;
}
@keyframes hd-merci-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes hd-merci-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--hd-accent, #2ee6a6) 18%, transparent),
      0 0 18px color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 22%, transparent),
      inset 0 0 14px color-mix(in srgb, var(--hd-accent, #2ee6a6) 8%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--hd-accent, #2ee6a6) 35%, transparent),
      0 0 30px color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 42%, transparent),
      inset 0 0 22px color-mix(in srgb, var(--hd-accent, #2ee6a6) 14%, transparent);
  }
}

/* Slides merci : pleine largeur, sans gaps/overflow Colibri */
.hd-merci-slides,
.hd-merci .hd-lp-slides {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.hd-merci-slides img,
.hd-merci .hd-lp-slides img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}
.hd-merci .hd-colibri-slider {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  background: #06140f;
}
.hd-merci .hd-colibri-slider__track {
  width: 100%;
}
.hd-merci .hd-colibri-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.hd-merci .hd-colibri-slider__slide img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
.hd-merci .hd-colibri-slider__dots {
  background: #06140f;
  padding: 12px 0 14px;
}
.hd-merci .hd-colibri-slider__dot.is-active {
  background: var(--hd-merci-glow, #3dffc0);
  box-shadow: 0 0 10px color-mix(in srgb, var(--hd-merci-glow, #3dffc0) 55%, transparent);
}

/* Legacy inline merci block (si contenu non rebuild) */
.hd-merci-thanks {
  direction: rtl;
  text-align: center;
  padding: 22px 16px;
  font-family: Cairo, Roboto, "Noto Sans Arabic", sans-serif !important;
  font-size: clamp(1.1rem, 4.4vw, 1.4rem) !important;
  line-height: 1.55 !important;
  color: #f3fff9 !important;
  background: transparent !important;
}
.hd-merci-thanks p {
  margin: 0;
  color: inherit;
}

@media (min-width: 768px) {
  .hd-merci-msg {
    padding: 36px 28px 28px;
  }
  .hd-merci-msg__trust {
    font-size: 1.55rem;
  }
  .hd-merci-msg__phone {
    font-size: 1.85rem;
  }
}

/* Slim phone icon + fictive number aligned right beside icon */
.hd-field--phone input[name="lead_phone"],
.hd-popup-form-card .hd-field--phone input[name="lead_phone"],
.hd-inline-form.hd-inline-form--colibri .hd-field--phone input[name="lead_phone"] {
  text-align: right !important;
  padding-right: 2.35rem !important;
  padding-left: 0.85rem !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.65rem center !important;
  background-size: 14px 14px !important;
}
.hd-field--phone input[name="lead_phone"]::placeholder,
.hd-popup-form-card .hd-field--phone input[name="lead_phone"]::placeholder,
.hd-inline-form.hd-inline-form--colibri .hd-field--phone input[name="lead_phone"]::placeholder {
  text-align: right !important;
  opacity: 0.72;
}
