/* ===== HOMEPAGE-SPECIFIC STYLES ===== */
/* Extracted from index.html inline <style> (Étape 16) */
/* Only loaded on index.html */

/* Prix dans les service-cards */
.service-price {
  font-size: .83rem;
  color: var(--gold);
  font-weight: 600;
  margin: -6px 0 14px;
}
.service-price strong { font-size: 1rem; font-weight: 800; }

/* ── Comment ça marche ── */
#comment-ca-marche {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}

/* Scoped to avoid conflict with global .process-steps (vertical layout) */
#comment-ca-marche .process-steps {
  display: flex;
  gap: 14px;
  margin: 52px 0 52px;
  align-items: stretch;
}
#comment-ca-marche .process-step {
  flex: 1;
  min-width: 0;
  position: relative;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid rgba(201,168,76,.35);
  border-radius: 14px;
  padding: 28px 20px 28px 22px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  /* Remove global process-step conflicting props */
  gap: unset;
  align-items: unset;
}
#comment-ca-marche .process-step:hover {
  border-color: rgba(201,168,76,.5);
  border-left-color: #C9A84C;
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
}
/* Grand chiffre fantôme en fond */
#comment-ca-marche .process-step::before {
  content: attr(data-n);
  position: absolute;
  bottom: -10px;
  right: 8px;
  font-size: 5.5rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: rgba(201,168,76,.055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color .3s;
}
#comment-ca-marche .process-step:hover::before {
  color: rgba(201,168,76,.09);
}
/* Scoped to avoid conflict with global .step-num (48px circles) */
#comment-ca-marche .step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A84C, #E8C56C);
  color: #07090F;
  font-weight: 900;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  /* reset global */
  flex-shrink: unset;
}

.step-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.step-title {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.step-desc {
  font-size: .77rem;
  color: #8A93A8;
  line-height: 1.55;
}

/* ── Scroll horizontal des étapes (mobile) ── */
.process-steps-wrap::-webkit-scrollbar { height: 3px; }
.process-steps-wrap::-webkit-scrollbar-track {
  background: rgba(255,255,255,.05);
  border-radius: 3px;
}
.process-steps-wrap::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,.45);
  border-radius: 3px;
}

/* ── Tarifs aperçu ── */
#tarifs-apercu {
  padding: 100px 0;
  background: var(--dark);
}
.tarifs-apercu-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}
.tarifs-apercu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tarif-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  gap: 16px;
  transition: border-color .3s;
}
.tarif-row:hover { border-color: rgba(201,168,76,.2); }
.tarif-name { font-size: .88rem; font-weight: 600; color: #fff; }
.tarif-price { font-size: .85rem; color: #C9A84C; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.tarifs-note {
  margin-top: 14px;
  font-size: .77rem;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
}
.tarifs-apercu-text h2 { text-align: left; }
.tarifs-apercu-text p {
  font-size: .92rem;
  color: #8A93A8;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ── Cibles clients ── */
#cibles {
  padding: 100px 0;
  background: var(--dark2);
  text-align: center;
}
.cibles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}
.cible-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.cible-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,.25);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.cible-icon { font-size: 2rem; margin-bottom: 14px; }
.cible-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.cible-card > p { font-size: .83rem; color: #8A93A8; line-height: 1.6; flex: 1; }
.cible-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .82rem;
  font-weight: 700;
  color: #C9A84C;
  transition: gap .2s;
}
.cible-link:hover { gap: 10px; }

/* ── Zone d'intervention ── */
#zone {
  padding: 72px 0;
  background: var(--dark3);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.zone-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}
.zone-text p {
  font-size: .9rem;
  color: #8A93A8;
  line-height: 1.75;
  margin-top: 14px;
}
.zone-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Scoped to avoid conflict with global .zone-tag (dark2 background variant) */
#zone .zone-tag {
  background: rgba(201,168,76,.07);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tarifs-apercu-inner { grid-template-columns: 1fr; gap: 48px; }
  .cibles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .process-steps-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin: 0 -24px;
    padding: 0 24px 14px;
  }
  #comment-ca-marche .process-steps {
    flex-wrap: nowrap;
    width: max-content;
    margin: 32px 0 0;
  }
  #comment-ca-marche .process-step {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }
}
@media (max-width: 768px) {
  .zone-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .cibles-grid { grid-template-columns: 1fr; }
}
