.home-page {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* =========================
   HERO
========================= */

.home-hero {
  position: relative;
  padding: 6.2rem 0 5.2rem;
  background-image:
    linear-gradient(90deg, rgba(7, 19, 34, 0.90) 0%, rgba(7, 19, 34, 0.78) 40%, rgba(7, 19, 34, 0.42) 100%),
    url("/static/img/photo-accueil.png?v=2");
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.10), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  pointer-events: none;
  z-index: 1;
}

.home-hero-content {
  position: relative;
  z-index: 2;
}

.home-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .68fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-copy {
  color: #fff;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  padding: .72rem 1rem;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}

.hero-title {
  margin: 1.2rem 0 .95rem;
  font-size: clamp(2.8rem, 4vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #ffffff;
  max-width: 760px;
}

.hero-title .accent {
  color: #98efbc;
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(255,255,255,.94);
  max-width: 690px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .95rem;
  margin-bottom: 1.35rem;
}

.btn-soft {
  background: linear-gradient(135deg, #198754, #157347);
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 1.02rem 1.55rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 18px 36px rgba(25,135,84,.26);
  transition: all .25s ease;
}

.btn-soft:hover {
  background: linear-gradient(135deg, #157347, #146c43);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(25,135,84,.30);
}

.btn-outline-soft {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 2px solid rgba(255,255,255,.58);
  border-radius: 1rem;
  padding: .96rem 1.4rem;
  font-weight: 700;
  transition: all .25s ease;
  backdrop-filter: blur(8px);
}

.btn-outline-soft:hover {
  background: #fff;
  color: #132238;
  transform: translateY(-2px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.3rem;
  color: rgba(255,255,255,.92);
  font-size: .96rem;
  margin-bottom: 1.7rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  padding: .2rem 0;
}

.hero-points i {
  color: #ffd54a;
  margin-right: .45rem;
}

.hero-side-card {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.hero-side-card-inner {
  width: 100%;
  max-width: 385px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 1.6rem;
  padding: 1.5rem;
  box-shadow: 0 26px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}

.hero-visual-badge {
  display: inline-flex;
  align-items: center;
  background: #f3fbf6;
  border: 1px solid #d7f0df;
  color: #198754;
  border-radius: 999px;
  padding: .5rem .95rem;
  font-weight: 700;
  margin-bottom: .95rem;
}

.hero-side-card-inner h3 {
  margin: 0 0 .7rem;
  font-size: 1.18rem;
  color: #132238;
  font-weight: 800;
  line-height: 1.32;
}

.hero-side-card-inner p {
  margin: 0 0 1rem;
  color: #5f6b76;
  line-height: 1.72;
}

.hero-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-side-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .78rem;
  color: #132238;
  font-weight: 600;
  line-height: 1.5;
}

.hero-side-list li i {
  color: #198754;
  margin-top: .15rem;
}

.hero-side-divider {
  height: 1px;
  background: #e8edf1;
  margin: 1rem 0 .95rem;
}

.hero-side-note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: #4d5a65;
  font-size: .94rem;
  line-height: 1.6;
}

.hero-side-note i {
  color: #198754;
  margin-top: .15rem;
}

/* =========================
   SECTIONS
========================= */

.section-block {
  padding: 4.8rem 0;
}

.section-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #132238;
  margin-bottom: .2rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: #66727d;
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.feature-card,
.target-card,
.value-card,
.testimonial-card {
  background: #fff;
  border: 1px solid #eceff1;
  border-radius: 1.3rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover,
.target-card:hover,
.value-card:hover,
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
  border-color: #dce6dc;
}

.feature-card .card-body,
.target-card .card-body,
.value-card .card-body,
.testimonial-card .card-body {
  padding: 1.7rem;
}

.icon-circle {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  border-radius: 50%;
  background: #f3fbf6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(25,135,84,.08);
}

.feature-card h4,
.target-card h4,
.value-card h5 {
  font-weight: 800;
  color: #132238;
  margin-top: 1rem;
  margin-bottom: .7rem;
}

.feature-card p,
.target-card p,
.value-card p,
.testimonial-card p {
  color: #5f6b76;
  line-height: 1.75;
}

/* =========================
   CTA
========================= */

.cta-box {
  background: linear-gradient(135deg, #198754, #157347);
  color: #fff;
  border-radius: 1.8rem;
  padding: 3.2rem 2rem;
  text-align: center;
  box-shadow: 0 22px 46px rgba(25,135,84,.22);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}

.cta-box h2,
.cta-box p {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.cta-box p {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  color: rgba(255,255,255,.96);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* =========================
   GOOGLE REVIEWS PREMIUM+
========================= */

.home-reviews {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(25,135,84,.08), transparent 18%),
    radial-gradient(circle at bottom left, rgba(15,61,43,.05), transparent 22%),
    linear-gradient(180deg,#ffffff 0%,#f8fbf9 100%);
  overflow: hidden;
}

.home-reviews::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(25,135,84,.05);
  pointer-events: none;
}

.home-reviews::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(15,61,43,.04);
  pointer-events: none;
}

.home-reviews .container {
  position: relative;
  z-index: 1;
}

.reviews-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: #edf8f1;
  color: #198754;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .01em;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(25,135,84,.08);
}

.google-logo-badge {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}

.reviews-summary-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,.94);
  border: 1px solid #e8f0ea;
  border-radius: 1.6rem;
  box-shadow:
    0 18px 44px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.55);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(12px);
}

.reviews-summary-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 260px;
}

.reviews-score-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reviews-score {
  font-size: 3.35rem;
  line-height: 1;
  font-weight: 900;
  color: #0f3d2b;
  letter-spacing: -.05em;
  min-width: 52px;
}

.reviews-score-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
}

.reviews-stars {
  display: flex;
  gap: .2rem;
  color: #f4b400;
  font-size: 1.05rem;
}

.reviews-score-meta p {
  color: #66727d;
  font-weight: 700;
  margin: 0;
}

.reviews-trust-note {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  font-weight: 800;
  color: #198754;
  background: #edf8f1;
  padding: .38rem .7rem;
  border-radius: 999px;
}

.reviews-summary-actions,
.reviews-bottom-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reviews-bottom-cta {
  margin-top: 1.65rem;
}

.btn-review-premium {
  border-radius: 999px;
  font-weight: 800;
  padding: .95rem 1.45rem;
  box-shadow: 0 16px 34px rgba(25,135,84,.22);
  border: none;
}

.btn-review-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(25,135,84,.28);
}

.reviews-empty-state {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  text-align: left;
}

.reviews-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf8f1;
  color: #198754;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(25,135,84,.08);
}

.review-google-card {
  position: relative;
  background: rgba(255,255,255,.96);
  border: 1px solid #e8eef0;
  border-radius: 1.45rem;
  padding: 1.35rem;
  box-shadow:
    0 14px 34px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  height: 100%;
}

.review-google-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(25,135,84,.02), transparent 28%);
  pointer-events: none;
}

.review-google-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(15,23,42,.09);
  border-color: #d8e7da;
}

.review-google-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-google-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}

.review-google-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(135deg,#198754,#0f3d2b);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(25,135,84,.22);
  flex-shrink: 0;
}

.review-google-author h5 {
  font-size: 1rem;
  font-weight: 900;
  color: #132238;
  margin: 0;
}

.review-google-author small {
  display: block;
  margin-top: .1rem;
  color: #7a8691;
}

.review-google-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5f8f6;
  border: 1px solid #e7eeea;
  flex-shrink: 0;
}

.review-google-stars {
  display: flex;
  gap: .2rem;
  color: #f4b400;
  margin-bottom: .75rem;
  font-size: 1rem;
}

.review-google-text {
  color: #5f6b76;
  line-height: 1.8;
  margin: .15rem 0 0;
}

.review-google-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: #198754;
  font-weight: 800;
  text-decoration: none;
}

.review-google-link:hover {
  text-decoration: underline;
}

.review-google-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.review-empty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: #198754;
  font-weight: 900;
  font-size: .95rem;
  padding: .42rem .8rem;
  border-radius: 999px;
  background: #edf8f1;
}

@keyframes reviewFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-reviews .review-google-card {
  animation: reviewFadeUp .55s ease both;
}

.home-reviews .col-md-4:nth-child(2) .review-google-card {
  animation-delay: .08s;
}

.home-reviews .col-md-4:nth-child(3) .review-google-card {
  animation-delay: .16s;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991.98px) {
  .home-hero {
    padding: 4.6rem 0 3.6rem;
    background-position: center 36%;
  }

  .home-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title,
  .hero-subtitle {
    max-width: 100%;
    text-align: center;
  }

  .home-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-side-card {
    justify-content: center;
  }

  .reviews-score {
    font-size: 2.8rem;
  }

  .reviews-summary-premium {
    padding: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    padding: 3.8rem 0 2.8rem;
    background-position: center 40%;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section-block {
    padding: 3.4rem 0;
  }

  .hero-side-card-inner {
    padding: 1.3rem;
  }

  .cta-box {
    padding: 2.5rem 1.3rem;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .reviews-summary-premium {
    padding: 1.15rem;
  }

  .reviews-score-wrap {
    flex-direction: column;
    gap: .55rem;
  }

  .reviews-score-meta {
    align-items: center;
    text-align: center;
  }

  .reviews-empty-state {
    flex-direction: column;
    text-align: center;
  }

  .reviews-score {
    font-size: 2.35rem;
  }

  .review-google-empty {
    padding: 1.7rem 1rem;
  }

  .btn-review-premium {
    width: 100%;
    max-width: 280px;
  }
}
