/* =====================================================
   PAGE RECRUTEMENT — Label Évasion
   Hero calqué sur le pattern colonies-hero
   ===================================================== */

.recrutement-page {
  --c-text: #0f172a;
  --c-muted: #334155;
  --c-soft: #45526b;
  --c-subtle: #f8fafc;
  --c-border: rgba(15, 23, 42, 0.12);
  --c-accent: var(--ghost-accent-color, #2563eb);
  --rad-lg: var(--radius-lg, 16px);
  --rad-md: var(--radius-md, 12px);
  --rad-pill: var(--radius-pill, 999px);
  --shadow-md: 0 4px 20px rgba(2, 6, 23, 0.07);
  --wrap-max: 1360px;
  font-family: var(--codex-body-font);
}

/* ── Hero pleine largeur ── */
.recrutement-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: clamp(560px, 70vh, 860px);
  overflow: hidden;
  background: #0b1220;
  margin-top: 60px;
  display: grid;
  place-items: center;
}

@media (min-width: 1400px) {
  .recrutement-hero {
    margin-top: 77px;
  }
}

.recrutement-hero__media {
  position: absolute;
  inset: 0;
}

.recrutement-hero__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.recrutement-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .25) 0%, rgba(15, 23, 42, .5) 55%, rgba(12, 19, 34, .7) 100%);
  pointer-events: none;
  z-index: 1;
}

.recrutement-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 6vh 4vw;
  max-width: 1100px;
  margin-inline: auto;
}

/* ── Badge ── */
.recrutement-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .55em 1.1em;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  letter-spacing: .04em;
  color: #fff;
  background: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid rgba(148, 186, 255, .35);
  box-shadow: 0 16px 40px rgba(37, 99, 235, .26);
  cursor: default;
  margin-bottom: 1.2rem;
  animation: badge-pulse-recr 3s ease-in-out infinite;
}
.recrutement-badge:hover {
  animation: none;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(37, 99, 235, .35);
}
.recrutement-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  box-shadow: 0 0 8px rgba(96, 165, 250, .6);
  animation: badge-dot-pulse-recr 2.4s ease-in-out infinite;
}
@keyframes badge-pulse-recr {
  0%, 100% { box-shadow: 0 16px 40px rgba(37,99,235,.26); transform: scale(1); }
  50% { box-shadow: 0 20px 46px rgba(37,99,235,.32); transform: scale(1.02); }
}
@keyframes badge-dot-pulse-recr {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(.92); }
}

/* ── Titre & sous-titre ── */
.recrutement-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.recrutement-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, .88);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 680px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}

/* ── Contenu sous le hero ── */
.recrutement-wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 48px 4vw 88px;
}

@media (max-width: 1399px) {
  .recrutement-wrap {
    padding-top: 40px;
  }
}

/* ── Valeurs / atouts ── */
.recrutement-values {
  margin-bottom: 56px;
}

.recrutement-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.recrutement-value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--c-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--rad-md);
  padding: 18px 20px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.recrutement-value:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.recrutement-value__icon {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.recrutement-value__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recrutement-value__title {
  font-size: clamp(.88rem, 1.3vw, .95rem);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}

.recrutement-value__text {
  font-size: clamp(.8rem, 1.2vw, .88rem);
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Section CTA ── */
.recrutement-form-section {
  background: var(--c-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--rad-lg);
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.recrutement-form-title {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 12px;
  line-height: 1.2;
}

.recrutement-form-intro {
  font-size: clamp(.88rem, 1.4vw, 1rem);
  color: var(--c-muted);
  margin: 0 0 28px;
  line-height: 1.65;
}

/* ── Bouton CTA ── */
.recrutement-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1d4ed8;   /* remplace var(--c-accent) pour garantir contraste WCAG AA */
  color: #fff;
  font-family: var(--codex-body-font);
  font-size: clamp(.9rem, 1.4vw, 1rem);
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: var(--rad-pill);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  text-decoration: none;
  margin-bottom: 20px;
}
.recrutement-cta-btn:hover {
  background: #1e3a8a;
  opacity: 1;
  transform: translateY(-1px);
}
.recrutement-cta-btn:active {
  transform: none;
}

/* ── Note RGPD ── */
.recrutement-rgpd {
  font-size: clamp(.7rem, 1vw, .78rem);
  color: var(--c-soft);
  line-height: 1.6;
  margin: 0;
}
.recrutement-rgpd a {
  color: var(--c-muted);
  text-decoration: underline;
}
.recrutement-rgpd a:hover {
  color: var(--c-text);
}

/* ── Responsive mobile ── */
@media (max-width: 600px) {
  .recrutement-hero {
    min-height: 50vh;
  }
  .recrutement-values__grid {
    grid-template-columns: 1fr;
  }
  .recrutement-form-section {
    border-radius: var(--rad-md);
  }
  .recrutement-wrap {
    padding-top: 28px;
  }
}
