:root {
  /* Typography */
  --font-family: "Plus Jakarta Sans", sans-serif;
  --font-size-display: 28px;
  --font-size-headline: 28px;
  --font-size-title: 24px;
  --font-size-body: 16px;
  --font-size-body-lg: 16px;
  --font-size-label: 14px;

  /* Spacing & Layout */
  --container-max: 1280px;
  --gutter: 24px;
  --section-padding: 60px;
  --radius-default: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;
}

/* Hero*/
.main-content {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

/* =========================================================
   HEADER — RECRUTEURS PARTENAIRES
   ========================================================= */

.header-section {
  max-width: 850px;
  margin: 0 auto 64px;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

/* Petit accent au-dessus du titre */
.header-section::before {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-orange));
}

/* Titre */
.header-section h1 {
  font-family: var(--font-family);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--gray-800);
  margin: 0 0 18px;
}

/* Mise en valeur du dernier mot si nécessaire */
.header-section h1 span {
  color: var(--brand-teal);
}

/* Description */
.header-section p {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--font-family);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-600);
}

/* Stats Grid */
.stats-card {
  text-align: center;
  background-color: white;
  border: 2px solid var(--gray-200);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.stat-item:not(:first-child) {
  border-top: 2px solid rgba(140, 211, 211, 0.4);
}

.stat-card:hover {
  transform: translateY(-8px);
}

.feature-icon-wrapper {
  background-color: #b2ddd4;
  color: var(--brand-teal);
}

.stat-icon {
  width: 40px;
  height: 40px;
}

/* Partners Section */
.partners-section {
  margin-bottom: 80px;
}

.partners-section h2 {
  font-size: var(--font-size-headline);
  margin-bottom: 32px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: var(--radius-xl);
  overflow: hidden;
  gap: 0.5rem;
}

.logo-item {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0px;
  border-radius: 0.5rem;
  border: 1px solid rgba(140, 211, 211, 0.4);
  transition: transform 0.2s ease;
}

.logo-item:hover {
  transform: translateY(-8px);
}

.logo-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* ===== Stats Grid ===== */
.stats-card {
  text-align: center;
  background-color: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  padding: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr; /* MOBILE: 1 col */
  gap: 0;
}

.stat-item {
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

.feature-icon-wrapper {
  background-color: #b2ddd4;
  color: var(--brand-teal);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-default);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.partners-section h2 {
  font-size: var(--font-size-headline);
  margin-bottom: 32px;
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr; /* MOBILE: 1 colonne */
  gap: 1rem;
  border-radius: var(--radius-xl);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: #ceecec;
  padding: 20px;
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.cta-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-icon {
  width: 64px;
  height: 64px;
  background: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  color: white;
}

.cta-text h3 {
  font-size: var(--font-size-title);
  margin-bottom: 4px;
  color: var(--gray-800);
}

.cta-text p {
  color: var(--gray-800);
}

.btn-cta {
  background: var(--brand-teal);
  color: white;
  padding: 14px 32px;
  border-radius: 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-cta:hover {
  background: #00a8a8d3;
}

.btn-cta .icon {
  transition: transform 0.2s ease;
}

.btn-cta:hover .icon {
  transform: translateX(4px);
}

/* =========================================================
   RESPONSIVE — REGROUPEMENT DES BREAKPOINTS
   ========================================================= */

/* MINI TABLETTE: 2 colonnes */

@media (min-width: 640px) and (max-width: 899px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2n) {
    border-left: 2px solid rgba(140, 211, 211, 0.4);
  }
  .stat-item:not(:first-child) {
    border-top: none;
  }
}

/* TABLETTE + : 4 colonnes */

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-item:not(:first-child) {
    border-top: none;
    border-left: 2px solid rgba(140, 211, 211, 0.4);
  }
}

/* MINI TABLETTE: 2 colonnes 640px - 767px */

@media (min-width: 640px) and (max-width: 767px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-item:not(:nth-child(2n + 1)) {
    border-left: 2px solid rgba(140, 211, 211, 0.4);
  }
}

/* TABLETTE + MINI DESKTOP: 3 colonnes 768px - 1199px */

@media (min-width: 768px) and (max-width: 1199px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .logo-item:not(:nth-child(3n + 1)) {
    border-left: 2px solid rgba(140, 211, 211, 0.4);
  }
}

/* DESKTOP: 4 colonnes 1200px - 1919px */

@media (min-width: 1200px) and (max-width: 1919px) {
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .logo-item:not(:nth-child(4n + 1)) {
    border-left: 2px solid rgba(140, 211, 211, 0.4);
  }
}

/* 4K: 5 colonnes >=1920px */

@media (min-width: 1920px) {
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1800px;
    margin: 0 auto;
  }
  .logo-item:not(:nth-child(5n + 1)) {
    border-left: 2px solid rgba(140, 211, 211, 0.4);
  }
}

@media (max-width: 768px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .cta-info {
    flex-direction: column;
  }

  .header-section {
    max-width: 650px;
    margin-bottom: 48px;
    padding: 0 16px;
  }

  .header-section::before {
    width: 45px;
    height: 3px;
    margin-bottom: 16px;
  }

  .header-section h1 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
  }

  .header-section p {
    font-size: 15px;
    line-height: 1.6;
  }

  .header-section p br {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-section {
    margin-bottom: 40px;
    padding: 0 12px;
  }

  .header-section h1 {
    font-size: 26px;
  }

  .header-section p {
    font-size: 14px;
    line-height: 1.6;
  }
}
