/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #17233f;
  --navy-soft: #1b2a4a;
  --orange: #ebb030;
  --cream: #fdf1e6;
  --cream-soft: #fbeadb;
  --cream-lighter: #fdf7f1;
  --text-muted: #4b5470;
  --white: #ffffff;
  --radius: 18px;
  --max-width: 1180px;
}

html { scroll-behavior: smooth; }

#offre, #services { scroll-margin-top: 80px; }

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--navy-soft);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy-soft);
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.text-orange { color: var(--orange); }
.bold { font-weight: 700; }

.underline {
  display: block;
  width: 70px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 18px 0 22px;
}
.underline--sm { margin: 8px 0 12px; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
}
.section-title.center { text-align: center; margin-bottom: 48px; }

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 25px rgba(235, 176, 48, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(235, 176, 48, 0.45);
}

/* ========== HEADER ========== */
.header {
  background: var(--cream);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 68px;
  width: auto;
}

.nav {
  display: flex;
  gap: 38px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-soft);
  position: relative;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy-soft);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ========== HERO ========== */
.hero {
  background: var(--cream);
  padding-bottom: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
}

.hero__text {
  padding: 60px 32px 60px clamp(24px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
}

.hero__desc {
  max-width: 440px;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 34px;
}

.hero__features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 110px;
}

.feature__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #f3d9bd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.feature__icon img { width: 28px; height: 28px; object-fit: contain; }

.feature p {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-soft);
}

.hero__media { position: relative; overflow: hidden; min-height: 360px; }
.hero__illustration { width: 100%; height: 100%; object-fit: cover; }

/* ========== STATS ========== */
.stats { padding: 70px 0 30px; }

.stats__card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 46px clamp(24px, 5vw, 60px);
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stats__number {
  display: flex;
  align-items: flex-start;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy-soft);
  line-height: 1;
}
.stats__num { font-size: clamp(4.5rem, 9vw, 9.2rem); }
.stats__percent { font-size: 2.6rem; margin-top: 10px; }

.stats__text { flex: 1; min-width: 240px; }
.stats__label { font-size: 1.55rem; font-weight: 600; max-width: 400px; }
.stats__sub { color: var(--text-muted); font-size: 1.15rem; }

.stats__badge { flex-shrink: 0; margin-left: auto; }
.stats__badge img { width: 165px; height: auto; }

.stats__footnote {
  text-align: left;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 24px;
  white-space: nowrap;
}

/* ========== FEES ========== */
.fees { padding: 90px 0 60px; }

.fees__inner {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.fees__row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.fee-card {
  background: var(--cream-lighter);
  border: 1px solid #f3e2cf;
  border-radius: 16px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 250px;
}

.fee-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #f3d9bd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fee-card__icon img { max-width: 38px; max-height: 46px; width: auto; height: auto; object-fit: contain; }

.fee-card__label { font-weight: 600; font-size: 0.95rem; }
.fee-card__note { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
.fee-card__price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy-soft);
}
.fee-card__price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }

.plus {
  align-self: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-soft);
}

.fees__bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 10px;
}

.fees__footnote {
  text-align: left;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 420px;
  flex: 1;
}

.fees__illustration {
  flex: 1;
  width: 100%;
  max-width: 420px;
  margin: 0;
}

/* ========== MANAGEMENT ========== */
.management {
  background: var(--cream-lighter);
  padding: 80px 0;
  margin-bottom: 40px;
}

.management__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.mgmt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.mgmt-item p {
  font-size: 0.86rem;
  font-weight: 500;
  max-width: 170px;
}

.mgmt-item img { height: 48px; width: auto; max-width: 72px; object-fit: contain; }

/* ========== CTA ========== */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 32px 0;
  max-width: calc(var(--max-width));
  margin-left: auto;
  margin-right: auto;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,35,63,0.55) 0%, rgba(23,35,63,0.15) 55%, rgba(23,35,63,0) 100%);
}

.cta__content {
  position: relative;
  z-index: 2;
  padding: 60px 32px 60px 64px;
  max-width: 560px;
  margin: 0;
  text-align: left;
}

.cta__content h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.cta__content p {
  color: #fff;
  opacity: 0.95;
  margin-bottom: 26px;
  font-size: 1rem;
}

.cta__subtext {
  margin: 14px 0 0;
  font-weight: 500;
  opacity: 0.9;
}

/* ========== FOOTER STRIP ========== */
.footer-strip {
  padding: 60px 0 70px;
}

.footer-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.fs-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fs-item img { height: 40px; width: auto; max-width: 56px; object-fit: contain; flex-shrink: 0; }

.fs-item p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-soft);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { height: 340px; order: -1; }
  .management__grid { grid-template-columns: repeat(3, 1fr); }
  .footer-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__badge { margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 32px;
    gap: 18px;
    display: none;
    box-shadow: 0 12px 20px rgba(0,0,0,0.06);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .management__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__card { flex-direction: column; text-align: center; }
  .stats__text { text-align: center; }
  .underline--sm { margin-left: auto; margin-right: auto; }
  .fees__inner { width: 100%; }
  .fees__row { flex-direction: column; }
  .plus { transform: rotate(90deg); }
  .cta { margin-left: 16px; margin-right: 16px; }
  .fees__bottom { flex-direction: column; text-align: center; }
  .fees__footnote { text-align: center; max-width: 100%; }
}

@media (max-width: 860px) {
  .stats__footnote { white-space: normal; }
}

@media (max-width: 480px) {
  .management__grid { grid-template-columns: 1fr 1fr; }
  .footer-strip__grid { grid-template-columns: 1fr; }
  .hero__features { justify-content: center; }
}
