/* ==========================================================================
   Harmony Distribution — Homepage 2026 "Pros parlent aux pros"
   ========================================================================== */

:root {
  --hd-deep: #0d2c1c;
  --hd-deeper: #07180e;
  --hd-accent: #d6f25b;        /* Vert citron franc, attire l'œil pro */
  --hd-accent-2: #e6cc4d;      /* Or pale, secondary attention */
  --hd-warn: #c63c2c;          /* Rouge "stop l'eau" */
  --hd-line-dark: rgba(255,255,255,.12);
  --hd-text-dim: #b8c4be;
}

/* ===== HERO ===== */
.hd-hero {
  position: relative;
  background: var(--hd-deep);
  color: #fff;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hd-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(214,242,91,.10), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(30,90,61,.45), transparent 50%),
    linear-gradient(135deg, #0d2c1c 0%, #07180e 100%);
}
.hd-hero-inner { position: relative; z-index: 1; max-width: 980px; }
.hd-hero-eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--hd-accent); font-weight: 600;
  border: 1px solid rgba(214,242,91,.35);
  padding: .35rem .9rem; border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hd-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1; font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  color: #fff;
}
.hd-hero-title em { font-style: normal; color: var(--hd-accent); }
.hd-hero-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55; color: var(--hd-text-dim);
  margin: 0 0 2.5rem; max-width: 720px;
}
.hd-hero-lead strong { color: var(--hd-accent); }
.hd-hero-ctas {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 3.5rem;
}
.hd-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  border-top: 1px solid var(--hd-line-dark);
  padding-top: 2rem;
  max-width: 720px;
}
.hd-hero-stats div { display: flex; flex-direction: column; gap: .15rem; }
.hd-hero-stats strong {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800; color: var(--hd-accent);
  line-height: 1;
}
.hd-hero-stats span { font-size: 13px; color: var(--hd-text-dim); }

/* ===== Buttons ===== */
.hd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.hd-btn:hover { transform: translateY(-2px); }
.hd-btn-primary {
  background: var(--hd-accent);
  color: var(--hd-deeper) !important;
}
.hd-btn-primary:hover { background: #e6ff7a; box-shadow: 0 8px 22px rgba(214,242,91,.3); }
.hd-btn-ghost {
  background: transparent; color: #fff !important;
  border-color: rgba(255,255,255,.4);
}
.hd-btn-ghost:hover { border-color: var(--hd-accent); color: var(--hd-accent) !important; }
.hd-btn-ghost-dark {
  background: transparent; color: var(--hd-deep) !important;
  border-color: var(--hd-deep);
}
.hd-btn-ghost-dark:hover { background: var(--hd-deep); color: #fff !important; }

/* ===== Section helpers ===== */
.hd-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--hd-deep);
  margin: 0 0 .5rem;
  letter-spacing: -0.02em;
}
.hd-section-lead {
  font-size: 1.1rem; color: #5a6562;
  margin: 0 0 3rem; max-width: 720px;
}
.hd-eyebrow-dark {
  display: inline-block;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--hd-warn); font-weight: 700;
  margin-bottom: 1rem;
}

/* ===== Sectors ===== */
.hd-sectors { padding: 6rem 0; background: #fff; }
.hd-sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.hd-sector-card {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 2rem 1.5rem;
  border: 1px solid #e5e9e7;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  color: var(--hd-deep);
}
.hd-sector-card:hover {
  border-color: var(--hd-deep);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13,44,28,.10);
}
.hd-sector-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--hd-deep); color: var(--hd-accent);
  border-radius: 12px;
}
.hd-sector-card h3 {
  margin: 0; font-size: 1.15rem; font-weight: 700;
  color: var(--hd-deep);
}
.hd-sector-card p {
  margin: 0; font-size: 14px; line-height: 1.5;
  color: #5a6562;
}

/* ===== Stop Water (comparatif) ===== */
.hd-stop-water {
  background: var(--hd-deeper);
  color: #fff;
  padding: 6rem 0;
}
.hd-stop-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .hd-stop-grid { grid-template-columns: 1fr; gap: 3rem; } }
.hd-stop-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900; line-height: 1.1;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hd-stop-text h2 strong { color: var(--hd-accent); }
.hd-stop-text p {
  color: var(--hd-text-dim);
  font-size: 1.05rem; line-height: 1.6;
  margin: 0 0 1rem;
}
.hd-stop-text p strong { color: #fff; }
.hd-stop-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 600px) { .hd-stop-compare { grid-template-columns: 1fr; } }
.hd-compare {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--hd-line-dark);
  border-radius: 14px;
  padding: 1.5rem;
}
.hd-compare-bad {
  border-color: rgba(198,60,44,.45);
  background: linear-gradient(135deg, rgba(198,60,44,.10) 0%, rgba(255,255,255,.02) 100%);
}
.hd-compare-good {
  border-color: rgba(214,242,91,.45);
  background: linear-gradient(135deg, rgba(214,242,91,.12) 0%, rgba(255,255,255,.02) 100%);
}
.hd-compare-head {
  display: flex; flex-direction: column; gap: .35rem;
  border-bottom: 1px solid var(--hd-line-dark);
  padding-bottom: 1rem; margin-bottom: 1rem;
}
.hd-compare-label {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hd-text-dim);
}
.hd-compare-bad .hd-compare-label { color: #ef9d92; }
.hd-compare-good .hd-compare-label { color: var(--hd-accent); }
.hd-compare-cost {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900; color: #fff;
}
.hd-compare ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.hd-compare ul li {
  font-size: 14px; line-height: 1.45;
  color: var(--hd-text-dim);
  padding-left: 1.4rem;
  position: relative;
}
.hd-compare-bad ul li::before {
  content: '✕'; position: absolute; left: 0; top: 0;
  color: var(--hd-warn); font-weight: 700;
}
.hd-compare-good ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--hd-accent); font-weight: 700;
}

/* ===== Made in France ===== */
.hd-france {
  background: linear-gradient(135deg, #f5f8f6 0%, #ffffff 100%);
  padding: 6rem 0;
}
.hd-france-inner { max-width: 880px; }
.hd-france-mark {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1.5rem;
  font-size: 14px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--hd-deep);
}
.hd-flag {
  display: inline-flex; width: 36px; height: 24px;
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.hd-flag .b { flex: 1; background: #002654; }
.hd-flag .w { flex: 1; background: #fff; }
.hd-flag .r { flex: 1; background: #ed2939; }
.hd-france h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800; line-height: 1.15;
  color: var(--hd-deep);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hd-france h2 strong { color: var(--hd-deep); border-bottom: 4px solid var(--hd-accent); padding-bottom: 2px; }
.hd-france p {
  font-size: 1.05rem; line-height: 1.65;
  color: #4a5552;
  margin: 0 0 1rem;
}
.hd-france-bullets {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem;
}
@media (max-width: 700px) { .hd-france-bullets { grid-template-columns: 1fr; } }
.hd-france-bullets li {
  font-size: 14px; color: var(--hd-deep);
  padding-left: 1.6rem;
  position: relative;
}
.hd-france-bullets li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--hd-deep); font-weight: 700;
}

/* ===== Best-sellers ===== */
.hd-bestsellers { padding: 6rem 0; background: #fff; }
.hd-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.hd-product-card {
  display: flex; flex-direction: column; gap: .75rem;
  text-decoration: none; color: var(--hd-deep);
  border-radius: 12px;
  transition: transform .2s;
}
.hd-product-card:hover { transform: translateY(-4px); }
.hd-product-img {
  aspect-ratio: 1/1; background: #f5f8f6;
  border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hd-product-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.hd-product-card h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.hd-product-price {
  color: var(--hd-deep); font-weight: 800; font-size: 1.1rem;
}
.hd-bestsellers-cta { margin-top: 3rem; text-align: center; }

/* ===== Final CTA ===== */
.hd-final-cta {
  background: var(--hd-accent);
  padding: 5rem 0;
  text-align: center;
}
.hd-final-inner { max-width: 720px; margin: 0 auto; }
.hd-final-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900; color: var(--hd-deeper);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hd-final-cta p {
  font-size: 1.1rem; color: var(--hd-deep);
  margin: 0 0 2rem;
  line-height: 1.55;
}
.hd-final-ctas {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.hd-final-ctas .hd-btn-primary {
  background: var(--hd-deep); color: #fff !important;
}
.hd-final-ctas .hd-btn-primary:hover { background: var(--hd-deeper); }
.hd-final-ctas .hd-btn-ghost {
  border-color: var(--hd-deep); color: var(--hd-deep) !important;
}
.hd-final-ctas .hd-btn-ghost:hover { background: var(--hd-deep); color: #fff !important; }

/* ===== Blog strip ===== */
.hd-blog-strip { padding: 5rem 0; background: #f5f8f6; }
.hd-blog-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.hd-blog-head .hd-section-title { margin: 0; }
.hd-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.hd-blog-card { background: #fff; border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s; border: 1px solid #e5e9e7; }
.hd-blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13,44,28,.10); border-color: #0d2c1c; }
.hd-blog-card a { display: block; text-decoration: none; color: inherit; height: 100%; }
.hd-blog-card-img { aspect-ratio: 16/10; overflow: hidden; background: #f0f3f1; }
.hd-blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hd-blog-card:hover .hd-blog-card-img img { transform: scale(1.05); }
.hd-blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
.hd-blog-card-cat { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #2c6b48; font-weight: 700; }
.hd-blog-card h3 { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--hd-deep); line-height: 1.3; }
.hd-blog-card p { margin: 0; font-size: 14px; color: #5a6562; line-height: 1.55; }
.hd-blog-card-cta { color: #2c6b48; font-weight: 700; font-size: 13px; }

/* Cleanup default WP / Elementor padding */
body.home main, body.home .harmony-main { padding-top: 0; margin-top: 0; }
body.home .entry-header, body.home .page-title { display: none; }
