/* ---------------------------------------------------------
   home-extra.css — Nouvelles sections page d'accueil
   Stats · How · Why · Coupons · Final CTA
   --------------------------------------------------------- */

/* Wrapper utilitaire pour les sections (cohérent avec .container) */
.h-section {
  margin: 0 250px;
  padding-top: 100px;
}
.h-section.h-section-tight {
  padding-top: 80px;
}

/* ============ 1. STATS ============ */
section.stats {
  margin-top: 100px;
  padding: 70px 0;
  background: #fafafb;
  border-bottom: 1px solid #f0f0f3;
}
section.stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin: 0 250px;
  text-align: center;
}
section.stats .stat dt {
  font-size: 44px;
  font-weight: 800;
  color: #3200ff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #3200ff 0%, #6a3eff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
section.stats .stat dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #3c3c43;
  line-height: 1.45;
}

/* ============ 2. HOW IT WORKS ============ */
section.how {
  margin: 0 250px;
  padding-top: 100px;
}
section.how .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}
section.how .step {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 18px;
  padding: 28px 24px 26px;
  box-shadow: 0 1px 2px rgba(16, 16, 32, 0.04), 0 1px 3px rgba(16, 16, 32, 0.06);
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 250ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
}
section.how .step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(16, 16, 32, 0.12);
  border-color: rgba(50, 0, 255, 0.18);
}
section.how .step .num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #3200ff;
  background: #eceeff;
  padding: 6px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}
section.how .step h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
section.how .step p {
  margin: 0;
  font-size: 14.5px;
  color: #3c3c43;
  line-height: 1.55;
}

/* ============ 3. WHY US ============ */
section.why {
  margin: 0 250px;
  padding-top: 100px;
}
section.why .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
section.why .feature {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(16, 16, 32, 0.04), 0 1px 3px rgba(16, 16, 32, 0.06);
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 250ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
section.why .feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(16, 16, 32, 0.12);
  border-color: rgba(50, 0, 255, 0.18);
}
section.why .feature .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eceeff 0%, #f5f5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
section.why .feature .icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: #3200ff;
  fill: none;
  stroke-width: 2;
}
section.why .feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
section.why .feature p {
  margin: 0;
  font-size: 14.5px;
  color: #3c3c43;
  line-height: 1.55;
}

/* ============ 4. COUPONS ACCEPTÉS ============ */
section.coupons {
  margin: 0 250px;
  padding-top: 100px;
}
section.coupons .coupons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
section.coupons .coupon-card {
  display: block;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 18px;
  padding: 26px 26px 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(16, 16, 32, 0.04), 0 1px 3px rgba(16, 16, 32, 0.06);
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 250ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
}
section.coupons .coupon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(16, 16, 32, 0.12);
  border-color: rgba(50, 0, 255, 0.25);
}
section.coupons .coupon-card .logo-wrap {
  height: 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
section.coupons .coupon-card .logo-wrap img {
  height: 100%;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: 0.85;
  transition: filter 250ms, opacity 250ms;
}
section.coupons .coupon-card:hover .logo-wrap img {
  filter: grayscale(0%);
  opacity: 1;
}
section.coupons .coupon-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
section.coupons .coupon-card p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: #3c3c43;
  line-height: 1.55;
}
section.coupons .coupon-card .read-more {
  font-size: 14px;
  font-weight: 600;
  color: #3200ff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
section.coupons .coupon-card:hover .read-more {
  gap: 8px;
}

/* ============ 5. FINAL CTA ============ */
section.final-cta {
  margin: 100px 250px 0;
  background: linear-gradient(135deg, #3200ff 0%, #5227ff 100%);
  border-radius: 24px;
  padding: 56px 60px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 24px 60px -20px rgba(50, 0, 255, 0.45);
  position: relative;
  overflow: hidden;
}
section.final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
section.final-cta .text {
  flex: 1;
  position: relative;
  z-index: 1;
}
section.final-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
section.final-cta p {
  margin: 0;
  font-size: 16.5px;
  opacity: 0.92;
  line-height: 1.55;
  max-width: 560px;
}
section.final-cta a.btn {
  background: #fff;
  color: #3200ff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.25);
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
section.final-cta a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
}

/* ============ BLOG INDEX ============ */
.blog-hero {
  margin: 130px 250px 0;
  text-align: center;
}
.blog-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #1d1d1f;
}
.blog-hero .lead {
  margin: 16px auto 0;
  max-width: 640px;
  font-size: 17px;
  color: #3c3c43;
  line-height: 1.6;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 50px 250px 80px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 18px;
  padding: 26px 26px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(16, 16, 32, 0.04), 0 1px 3px rgba(16, 16, 32, 0.06);
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 250ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(16, 16, 32, 0.12);
  border-color: rgba(50, 0, 255, 0.25);
}
.blog-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3200ff;
  background: #eceeff;
  padding: 5px 11px;
  border-radius: 9999px;
  align-self: flex-start;
  margin-bottom: 14px;
}
.blog-card h2,
.blog-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  line-height: 1.35;
}
.blog-card p {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: #3c3c43;
  line-height: 1.55;
  flex: 1;
}
.blog-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6b6b73;
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid #f0f0f3;
}
.blog-card .read {
  color: #3200ff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.blog-card:hover .read {
  gap: 8px;
}
@media screen and (max-width: 1350px) {
  .blog-hero, .blog-grid { margin-left: 150px; margin-right: 150px; }
}
@media screen and (max-width: 1000px) {
  .blog-hero, .blog-grid { margin-left: 100px; margin-right: 100px; }
}
@media screen and (max-width: 950px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 850px) {
  .blog-hero, .blog-grid { margin-left: 50px; margin-right: 50px; }
}
@media screen and (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero h1 { font-size: 34px; }
}

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 1350px) {
  section.stats .stats-grid,
  section.how, section.why, section.coupons {
    margin-left: 150px;
    margin-right: 150px;
  }
  section.final-cta {
    margin-left: 150px;
    margin-right: 150px;
  }
}
@media screen and (max-width: 1000px) {
  section.stats .stats-grid,
  section.how, section.why, section.coupons {
    margin-left: 100px;
    margin-right: 100px;
  }
  section.final-cta {
    margin-left: 100px;
    margin-right: 100px;
  }
}
@media screen and (max-width: 950px) {
  section.how .steps,
  section.why .why-grid,
  section.coupons .coupons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  section.stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  section.final-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 36px;
  }
}
@media screen and (max-width: 850px) {
  section.stats .stats-grid,
  section.how, section.why, section.coupons {
    margin-left: 50px;
    margin-right: 50px;
  }
  section.final-cta {
    margin-left: 50px;
    margin-right: 50px;
  }
}
@media screen and (max-width: 600px) {
  section.how .steps,
  section.why .why-grid,
  section.coupons .coupons-grid {
    grid-template-columns: 1fr;
  }
  section.stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  section.stats .stat dt {
    font-size: 36px;
  }
  section.final-cta h2 {
    font-size: 26px;
  }
  section.final-cta a.btn {
    width: 100%;
    text-align: center;
  }
}
