/* ==========================================================================
   Page « Nous rejoindre »
   ========================================================================== */

.rj {
  --rj-rouge: #E2001A;
  --rj-encre: #1d1d1b;
  --rj-gris:  #55554f;
  --rj-pad:   clamp(1.25rem, 5vw, 7.5rem);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.rj, .rj * { box-sizing: border-box; }

.rj .rj-h1.rj-h1, .rj .rj-h2.rj-h2 { color: var(--rj-encre); margin: 0; }
.rj .rj-h1.rj-h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 56rem;
}
.rj p { margin: 0; }
.rj a[href], .rj a[href]:hover { text-decoration: none; }

.rj-surtitre {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rj-rouge);
}
.rj-surtitre::before {
  content: '';
  width: 2.75rem;
  height: 3px;
  background: currentColor;
  flex: 0 0 2.75rem;
}

/* ---------- Ouverture ---------- */
.rj-open {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--rj-pad) clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.rj-open__accroche {
  max-width: 42.5rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--rj-gris);
}

/* ---------- Les quatre portes ---------- */
.rj-portes {
  padding: 0 var(--rj-pad) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.rj-porte {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rj-encre);
}
.rj-porte img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.rj .rj-porte img { height: 100%; }
a.rj-porte:hover img { transform: scale(1.05); }
.rj-porte__voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 48%, rgba(0,0,0,0.05) 100%);
}
.rj-porte__bas {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.625rem 1.625rem 1.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.rj-porte__texte { display: flex; flex-direction: column; gap: 0.4375rem; min-width: 0; }
.rj-porte__sur {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.rj-porte__titre {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}
.rj-porte__fleche {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--rj-rouge);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.rj-porte__fleche svg { width: 1.0625rem; height: 1.0625rem; }
a.rj-porte:hover .rj-porte__fleche { transform: translate(3px, -3px); }

/* ---------- Pourquoi ---------- */
.rj-pourquoi {
  padding: clamp(3rem, 6vw, 5rem) var(--rj-pad);
  background: var(--rj-encre);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}
.rj .rj-pourquoi__titre.rj-pourquoi__titre {
  margin: 0;
  max-width: 48rem;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}
.rj-pourquoi__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
}
.rj-raison {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.375rem;
  border-top: 2px solid rgba(255,255,255,0.25);
}
.rj-raison__chiffre {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--rj-rouge);
}
.rj-raison__titre { font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: #fff; }
.rj-raison__desc { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.72); }

/* ---------- Appel final ---------- */
.rj-cta {
  padding: clamp(2.75rem, 5vw, 4.5rem) var(--rj-pad);
  background: var(--rj-rouge);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.rj .rj-cta__titre.rj-cta__titre {
  margin: 0;
  max-width: 48rem;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
}
.rj-cta__texte {
  max-width: 35rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}
.rj .rj-cta__bouton {
  align-self: flex-start;
  margin-top: 0.5rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0 1.875rem;
  background: #fff;
  color: var(--rj-encre);
  font-size: 1.0625rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.rj .rj-cta__bouton:hover { background: var(--rj-encre); color: #fff; }
.rj-cta__bouton svg { width: 1rem; height: 1rem; }
