/* Carrières — Figma / WhatsApp maquette */

.section--careers {
  --ca-green: #7fb041;
  --ca-green-mid: #76a32f;
  --ca-text: #1a2e4c;
  --ca-body: #6b7280;
  --ca-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  background: #f4f7f9 !important;
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

.section--careers .careers-container {
  position: relative;
  z-index: 1;
  max-width: min(1140px, calc(100% - 48px));
}

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.careers-copy__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ca-text);
}

.careers-copy__subtitle {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--ca-green-mid);
  line-height: 1.3;
}

.careers-copy__subtitle + .careers-copy__text + .careers-copy__subtitle {
  margin-top: 1.75rem;
}

.careers-copy__text {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ca-body);
  max-width: 38em;
}

.careers-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.careers-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ca-body);
}

.careers-list li:last-child {
  margin-bottom: 0;
}

.careers-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ca-green);
}

/* CTA card + photo under button */
.careers-aside {
  min-width: 0;
}

.careers-cta-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--ca-shadow);
  padding: 1.75rem 1.5rem 1.5rem;
}

.careers-cta-card__label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ca-green-mid);
}

.careers-cta-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  background: var(--ca-green);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
}

.careers-cta-card__btn:hover,
.careers-cta-card__btn:focus-visible {
  background: var(--ca-green-mid);
  color: #ffffff !important;
}

.careers-cta-card__photo {
  margin: 1.15rem 0 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8ebe6;
}

.careers-cta-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (max-width: 1024px) {
  .section--careers {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .careers-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .careers-aside {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .section--careers {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .careers-cta-card {
    padding: 1.4rem 1.2rem 1.2rem;
  }

  .careers-aside {
    max-width: none;
  }
}
