/* ==========================================================================
   Harmony Distribution — Apporteur d'affaires landing
   ========================================================================== */

body.page-template-default main { padding-top: 0; }

/* ===== Hero ===== */
.hd-ap-hero {
  background: var(--hd-deep, #0d2c1c);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hd-ap-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(214,242,91,.12), transparent 55%),
    linear-gradient(135deg, #0d2c1c 0%, #07180e 100%);
  z-index: 0;
}
.hd-ap-hero-inner { position: relative; z-index: 1; max-width: 980px; }
.hd-ap-eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: #d6f25b; font-weight: 600;
  border: 1px solid rgba(214,242,91,.4);
  padding: .35rem .9rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hd-ap-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.05;
  margin: 0 0 1.25rem; color: #fff;
  letter-spacing: -0.02em;
}
.hd-ap-hero h1 strong { color: #d6f25b; font-weight: 900; }
.hd-ap-hero p {
  font-size: 1.15rem; line-height: 1.6;
  color: #b8c4be; max-width: 720px;
  margin: 0 0 2rem;
}
.hd-ap-hero p strong { color: #fff; }

.hd-ap-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 2rem;
  max-width: 720px;
}
@media (max-width: 600px) { .hd-ap-hero-stats { grid-template-columns: repeat(2, 1fr); } }
.hd-ap-hero-stats div { display: flex; flex-direction: column; gap: .15rem; }
.hd-ap-hero-stats strong {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 900; color: #d6f25b; line-height: 1;
}
.hd-ap-hero-stats span { font-size: 13px; color: #b8c4be; }

/* ===== Sections ===== */
.hd-ap-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0d2c1c;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hd-ap-title-light { color: #fff; }
.hd-ap-eyebrow-dark {
  display: inline-block;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: #d6f25b; font-weight: 700;
  margin-bottom: 1rem;
}

.hd-ap-msg {
  padding: 1rem 1.25rem; border-radius: 8px;
  margin: 2rem 0 0;
  font-size: 14px;
}
.hd-ap-msg.ok {
  background: rgba(214,242,91,.18);
  border-left: 4px solid #d6f25b;
  color: #0d2c1c;
}
.hd-ap-msg.err {
  background: rgba(198,60,44,.10);
  border-left: 4px solid #c63c2c;
  color: #8a2a1c;
}

/* ===== Pour qui ===== */
.hd-ap-who { padding: 5rem 0; background: #fff; }
.hd-ap-who-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.hd-ap-who-card {
  background: #f5f8f6;
  border-radius: 14px;
  padding: 2rem;
}
.hd-ap-who-card span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: #d6f25b; color: #0d2c1c;
  border-radius: 999px;
  font-weight: 800; font-size: 15px;
  margin-bottom: 1rem;
}
.hd-ap-who-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
  color: #0d2c1c;
  font-weight: 700;
}
.hd-ap-who-card p {
  margin: 0;
  font-size: 14px; line-height: 1.55;
  color: #4a5552;
}

/* ===== How (steps) ===== */
.hd-ap-how {
  background: var(--hd-deeper, #07180e);
  color: #fff;
  padding: 5rem 0;
}
.hd-ap-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem;
}
.hd-ap-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 1.5rem;
}
.hd-ap-step strong {
  display: block;
  font-size: 2rem; font-weight: 900;
  color: #d6f25b;
  margin-bottom: .75rem;
  line-height: 1;
}
.hd-ap-step h3 {
  margin: 0 0 .5rem;
  color: #fff;
  font-size: 1.1rem;
}
.hd-ap-step p {
  margin: 0;
  font-size: 13.5px;
  color: #b8c4be;
  line-height: 1.5;
}

/* ===== Tools ===== */
.hd-ap-tools { padding: 5rem 0; background: #fff; }
.hd-ap-tools-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
@media (max-width: 800px) { .hd-ap-tools-grid { grid-template-columns: 1fr; } }
.hd-ap-tools-grid > div {
  background: #fff;
  border: 1px solid #e5e9e7;
  border-left: 4px solid #d6f25b;
  border-radius: 12px;
  padding: 1.75rem;
}
.hd-ap-tools-grid h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #0d2c1c;
  font-weight: 700;
}
.hd-ap-tools-grid ul {
  list-style: none; padding: 0; margin: 0;
}
.hd-ap-tools-grid li {
  padding: .35rem 0 .35rem 1.5rem;
  position: relative;
  font-size: 14px; color: #4a5552;
  line-height: 1.5;
}
.hd-ap-tools-grid li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #2c6b48; font-weight: 800;
}

/* ===== Numbers (calculatrice) ===== */
.hd-ap-numbers { padding: 5rem 0; background: #f5f8f6; }
.hd-ap-numbers-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .hd-ap-numbers-grid { grid-template-columns: 1fr; } }
.hd-ap-numbers h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: #0d2c1c;
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hd-ap-numbers h2 strong { color: #2c6b48; }
.hd-ap-numbers p {
  font-size: 1rem; line-height: 1.6;
  color: #4a5552;
  margin: 0 0 1rem;
}
.hd-ap-numbers strong { color: #0d2c1c; }

.hd-ap-calc {
  background: #0d2c1c;
  border-radius: 14px;
  padding: 1.5rem;
  display: grid;
  grid-template-rows: repeat(3, auto);
  gap: 1rem;
}
.hd-ap-calc > div {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
  align-items: baseline;
}
.hd-ap-calc > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hd-ap-calc > div > span:first-child {
  font-size: 12px; color: #b8c4be;
  letter-spacing: .03em; text-transform: uppercase;
  align-self: center;
}
.hd-ap-calc strong, .hd-ap-calc > div > span:not(:first-child) {
  text-align: center;
  font-weight: 800; color: #fff;
  font-size: 1.1rem;
}
.hd-ap-calc-highlight strong { color: #d6f25b !important; }
.hd-ap-calc-highlight > span:not(:first-child) { color: #d6f25b !important; }

/* ===== Form ===== */
.hd-ap-form-wrap {
  padding: 5rem 0;
  background: #fff;
}
.hd-ap-form-lead {
  font-size: 1.05rem; color: #4a5552;
  margin: -1.5rem 0 2.5rem;
  line-height: 1.55;
}
.hd-ap-form {
  background: #f8faf9;
  border-radius: 14px;
  padding: 2.5rem;
  max-width: 880px;
}
@media (max-width: 600px) { .hd-ap-form { padding: 1.5rem; } }
.hd-ap-form fieldset {
  border: 0; padding: 0; margin: 0 0 1.25rem;
}
.hd-ap-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
@media (max-width: 600px) { .hd-ap-form-row { grid-template-columns: 1fr; } }
.hd-ap-form label {
  display: block;
  font-size: 14px; font-weight: 600;
  color: #0d2c1c;
  margin-bottom: .35rem;
}
.hd-ap-form .req { color: #c63c2c; }
.hd-ap-form input[type="text"],
.hd-ap-form input[type="email"],
.hd-ap-form input[type="tel"],
.hd-ap-form select,
.hd-ap-form textarea {
  width: 100%; box-sizing: border-box;
  padding: .8rem 1rem;
  border: 1px solid #d6dcd8;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.hd-ap-form textarea { resize: vertical; min-height: 80px; }
.hd-ap-form input:focus,
.hd-ap-form select:focus,
.hd-ap-form textarea:focus {
  outline: 0;
  border-color: #2c6b48;
  box-shadow: 0 0 0 3px rgba(44,107,72,.12);
}
.hd-ap-form button {
  display: inline-block;
  background: #d6f25b !important;
  color: #0d2c1c !important;
  padding: 1rem 2.5rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  font-weight: 800; font-size: 15px;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.hd-ap-form button:hover {
  background: #e6ff7a !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(214,242,91,.3);
}
.hd-ap-form-help {
  font-size: 12.5px; color: #6a7572;
  margin: 1rem 0 0;
  line-height: 1.5;
}
