/* ============================================================
   domaine.css — styles partagés par les 5 pages domaines.
   À charger APRÈS base.css.
   La couleur du domaine est définie par --c (inline sur chaque
   page : --c, --c-dark, --c-soft), l'accent générique la reprend.
   ============================================================ */
:root {
  --accent: var(--c);
}

/* boutons teintés domaine */
.btn-light:hover {
  background: #fff;
  color: var(--c-dark);
}
.nav-cta {
  background: var(--c);
  border-color: var(--c);
}
.nav-cta:hover {
  background: var(--c-dark);
  border-color: var(--c-dark);
}
.eyebrow {
  background: var(--c);
}

/* HERO domaine */
.dhero {
  position: relative;
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 110px 0 60px;
}
.dhero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    120deg,
    #1a1407 0%,
    #3b2f12 55%,
    var(--c-dark) 120%
  );
}
.dhero-inner {
  max-width: 820px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.crumb {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
}
.crumb a:hover {
  color: #fff;
}
.crumb span {
  color: var(--c);
}
.dhero .tag {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--c);
  margin-bottom: 16px;
}
.dhero h1 {
  font-size: clamp(2rem, 7vw, 3.9rem);
  font-weight: 800;
}
.dhero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 22px auto 30px;
}
.dhero .yrs-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.dhero .yrs-badge b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--c);
}
.dhero .yrs-badge em {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ACCROCHE */
.accroche {
  text-align: center;
  background: var(--white);
}
.accroche .eyebrow {
  margin: 0 auto 20px;
}
.accroche h2 {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 700;
  max-width: 880px;
  margin: 0 auto;
}
.accroche p {
  color: var(--grey);
  font-size: 1.05rem;
  margin-top: 16px;
}

/* HISTOIRE split */
.histoire {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.hist-text {
  background: var(--c);
  color: #fff;
  padding: 56px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hist-text h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hist-text p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
  font-size: 1rem;
}
.hist-img {
  background: var(--c-dark) center/cover;
  position: relative;
  min-height: 260px;
}

/* GARANTIES 3 col sur navy */
.garanties {
  background: var(--pga-navy);
  color: #fff;
  position: relative;
}
.gar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 16px;
}
.gar-col {
  padding: 0;
  text-align: center;
}
.gar-col .g-line {
  width: 46px;
  height: 4px;
  background: var(--c);
  margin: 0 auto 20px;
}
.gar-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.25;
}
.gar-item {
  margin-bottom: 20px;
}
.gar-item strong {
  display: block;
  color: var(--c);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.gar-item span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

/* POURQUOI */
.pourquoi {
  background: var(--c-soft);
}
.pq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.pq {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 26px 24px;
  border-left: 4px solid var(--c);
}
.pq .pq-ico {
  flex: none;
  width: 44px;
  height: 44px;
  background: var(--c-soft);
  color: var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pq h3 {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--pga-navy);
  margin-bottom: 5px;
}
.pq p {
  color: var(--grey);
  font-size: 0.93rem;
}

/* PROCESS */
.process {
  background: var(--white);
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: s;
}
.step-c {
  padding: 0;
  position: relative;
  text-align: center;
}
.step-c::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--c);
  opacity: 0.45;
  display: block;
  margin-bottom: 12px;
}
.step-c h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--pga-navy);
  margin-bottom: 8px;
}
.step-c p {
  color: var(--grey);
  font-size: 0.93rem;
}

/* CTA */
.cta-band {
  background: var(--c);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 700;
  max-width: 680px;
  margin: 0 auto 14px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1rem;
}
.cta-band .contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  font-family: var(--display);
  font-size: 0.95rem;
}
.cta-band .contacts a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
}

/* ===== ENRICHISSEMENTS min-width ===== */
@media (min-width: 560px) {
  .pq-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band .contacts {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 36px;
  }
}
@media (min-width: 768px) {
  .dhero {
    min-height: 78vh;
    padding: 120px 0;
  }
  .histoire {
    grid-template-columns: 1fr 1fr;
  }
  .hist-text {
    padding: 80px 56px;
  }
  .hist-img {
    min-height: 500px;
  }
  .hist-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--c) 0%, transparent 60%);
    opacity: 0.25;
  }
  .gar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .gar-col {
    padding: 0 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .gar-col:first-child {
    border-left: none;
  }
  .pq-grid {
    gap: 22px;
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .step-c {
    padding: 0 24px;
    position: relative;
  }
  .step-c::after {
    content: "";
    position: absolute;
    top: 22px;
    right: -1px;
    width: 1px;
    height: 70%;
    background: var(--line);
  }
  .step-c:last-child::after {
    display: none;
  }
}
@media (min-width: 1024px) {
  .nav-links a {
    font-size: 0.95rem;
  }
  .hist-text {
    padding: 84px 64px;
  }
  .dhero p {
    font-size: 1.16rem;
  }
}
