/* ---------- Tarifs : deux formules sur mesure ---------- */
.section-home-tarifs {
  background-color: var(--background-color--primary-background);
}
.tarifs-head {
  max-width: 48rem;
}
.tarifs-head .heading-style-h2 { margin-bottom: 1rem; }
.tarifs-accent { color: #ff4b36; }
.tarifs-intro {
  margin: 0;
  color: #5b6068;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
}
.tarifs-cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
@media screen and (max-width: 767px) {
  .tarifs-cards { grid-template-columns: 1fr; margin-top: 2rem; }
}
.tarif-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem 2rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(20, 23, 26, 0.08);
  box-shadow: 0 1px 2px rgba(20, 23, 26, 0.04);
}
.tarif-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tarif-card__label { color: #d93a26; }
.tarif-card__badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #ff4b36;
  color: #14171a;
  font-weight: 500;
}
.tarif-card__title {
  margin: 0 0 0.5rem;
  color: #14171a;
  font-family: var(--_typography---font-family--primary, inherit);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
}
.tarif-card__pitch {
  margin: 0 0 1.75rem;
  color: #4a4f57;
  font-size: 1rem;
  line-height: 1.6;
}
.tarif-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(20, 23, 26, 0.08);
  color: #14171a;
}
.tarif-card__from { font-size: 0.95rem; color: #5b6068; }
.tarif-card__amount {
  font-family: var(--_typography---font-family--primary, inherit);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tarif-card__tax { font-size: 0.95rem; color: #5b6068; }
.tarif-card__plus {
  margin: 0 0 0.9rem;
  color: #14171a;
  font-weight: 600;
  font-size: 0.95rem;
}
.tarif-card__list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.tarif-card__list li {
  position: relative;
  padding-left: 1.75rem;
  color: #4a4f57;
  font-size: 1rem;
  line-height: 1.5;
}
.tarif-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: rgba(255, 75, 54, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ff4b36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.tarif-card__list strong { color: #14171a; font-weight: 600; }
.tarif-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid #14171a;
  color: #14171a;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tarif-card__cta:hover { background: #14171a; color: #ffffff; }

/* Formule recommandée : carte sombre, comme les sections de la marque */
.tarif-card.is-featured {
  background: #0f1216;
  border-color: rgba(255, 75, 54, 0.45);
  box-shadow: 0 30px 70px rgba(15, 18, 22, 0.25);
}
.tarif-card.is-featured .tarif-card__label { color: #ff4b36; }
.tarif-card.is-featured .tarif-card__title,
.tarif-card.is-featured .tarif-card__price,
.tarif-card.is-featured .tarif-card__plus,
.tarif-card.is-featured .tarif-card__list strong { color: #ffffff; }
.tarif-card.is-featured .tarif-card__pitch,
.tarif-card.is-featured .tarif-card__list li { color: #c7cbd1; }
.tarif-card.is-featured .tarif-card__from,
.tarif-card.is-featured .tarif-card__tax { color: #8b929c; }
.tarif-card.is-featured .tarif-card__price { border-bottom-color: rgba(255, 255, 255, 0.1); }
.tarif-card.is-featured .tarif-card__cta {
  background: #ff4b36;
  border-color: #ff4b36;
  color: #14171a;
  box-shadow: 0 0 28px rgba(255, 75, 54, 0.35);
}
.tarif-card.is-featured .tarif-card__cta:hover { background: #ff6a57; border-color: #ff6a57; }

/* Réassurance sous les cartes */
.tarifs-foot {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media screen and (max-width: 767px) {
  .tarifs-foot { grid-template-columns: 1fr; }
}
.tarifs-note {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px dashed rgba(20, 23, 26, 0.15);
  color: #4a4f57;
  font-size: 0.95rem;
  line-height: 1.55;
}
.tarifs-note strong { color: #14171a; font-weight: 600; }
.tarifs-note.is-highlight {
  border-style: solid;
  border-color: rgba(255, 75, 54, 0.45);
  background: rgba(255, 75, 54, 0.05);
}

/* Délai de mise en ligne, sous le prix */
.tarif-card__delay {
  flex-basis: 100%;
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d93a26;
}
.tarif-card__delay::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4b36;
  box-shadow: 0 0 10px rgba(255, 75, 54, 0.6);
}
.tarif-card.is-featured .tarif-card__delay { color: #ff4b36; }

/* Même marge d'ancre que #approche / #services : la section ne passe pas sous le menu fixe */
#tarifs { scroll-margin-top: 6.5rem; }
