.employment-page { background: #f3eee6; }
.employment-main { overflow: hidden; }
.employment-hero { align-items: flex-start; }
.employment-intro { position: sticky; top: 42px; }
.employment-intro h1 em { color: #b51e25; font-style: italic; }
.employment-points { display: grid; gap: 12px; margin: 30px 0 20px; }
.employment-point { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 17px 18px; border: 1px solid rgba(232,205,160,.48); border-radius: 16px; background: linear-gradient(145deg, rgba(255,253,249,.97), rgba(241,232,220,.94)); box-shadow: 0 10px 28px rgba(0,0,0,.16); }
.employment-point > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #0c0c0c; color: #ead1aa; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.employment-point strong { display: block; margin-bottom: 5px; color: #181411; font-size: 16px; line-height: 1.3; }
.employment-point p { margin: 0; color: #4f463e; font-size: 13.5px; font-weight: 600; line-height: 1.58; }
.employment-form-card { max-width: 720px; }
.employment-equipment { margin: 0; padding: 16px; border: 1px solid #d8cdbf; border-radius: 14px; background: #faf6f0; }
.employment-equipment legend { padding: 0 8px; font-size: 13px; font-weight: 850; }
.employment-equipment > p { margin: 0 0 12px; color: #756b62; font-size: 12px; }
.employment-equipment-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.employment-equipment-grid label { cursor: pointer; }
.employment-equipment-grid input {
  position: absolute;
  width: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.employment-equipment-grid span { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid #cfc3b3; border-radius: 12px; background: #fff; color: #2a2723; font-size: 13px; font-weight: 800; text-align: center; transition: .18s ease; }
.employment-equipment-grid input:checked + span { border-color: #111; background: #111; color: #fff; box-shadow: inset 0 0 0 1px #111; }
.employment-equipment-grid input:focus-visible + span { outline: 3px solid rgba(181,30,37,.22); outline-offset: 2px; }
.employment-equipment-error { min-height: 18px; margin: 8px 0 0 !important; color: #a30d14 !important; font-weight: 700; }
.employment-privacy { margin: 0; padding: 12px 14px; border-radius: 12px; background: #f2ece4; color: #70665d; font-size: 12px; line-height: 1.55; }
.employment-privacy a { color: #2a2723; font-weight: 800; }
.contact-field > span small { font-size: 11px; font-weight: 600; color: #8a8077; }
.employment-location-group { grid-column: 1 / -1; min-width: 0; display: grid; gap: 7px; }
.employment-location-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.employment-location-fields .contact-field { align-content: start; }
.employment-city-field select:disabled { color: #786f67; background: #eee8df; cursor: wait; }
.employment-location-status { display: block; min-height: 16px; margin: 0; color: #756b62 !important; font-size: 11px; font-weight: 700; line-height: 1.4; }
.employment-location-status.is-error { color: #a30d14 !important; }
.employment-location-status.is-success { color: #24633b !important; }
.employment-siret-field { grid-column: 1 / -1; align-content: start; }
.employment-siret-field > input { max-width: 330px; }
.employment-siret-status { justify-self: start !important; margin: 0; color: #756b62 !important; line-height: 1.4; }
.employment-siret-status.is-loading { color: #756b62 !important; }
.employment-siret-status.is-error { color: #a30d14 !important; }
.employment-siret-status.is-success { color: #24633b !important; }
.employment-company-card { width: 100%; margin-top: 3px; padding: 14px 15px; border: 1px solid #d8cdbf; border-radius: 12px; background: #fffaf3; color: #4f463e; font-size: 12.5px; font-weight: 650; line-height: 1.55; }
.employment-company-card[hidden] { display: none !important; }
.employment-company-card strong { display: block; margin-bottom: 3px; color: #181411; font-size: 14px; }
.employment-company-card .employment-company-verified { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: #24633b; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.employment-company-card p { margin: 2px 0 0; }
.employment-point-ethical { border-color: rgba(181,30,37,.28); background: linear-gradient(145deg, rgba(255,253,249,.98), rgba(246,232,226,.96)); }
.employment-point-ethical > span { background: #8f171d; color: #fff4e2; }
@media (max-width: 980px) { .employment-intro { position: static; } }
@media (max-width: 620px) { .employment-equipment-grid { grid-template-columns: 1fr; } .employment-location-fields { grid-template-columns: 1fr; gap: 12px; } .employment-siret-field > input { max-width: none; } .employment-point { grid-template-columns: 38px 1fr; padding: 14px; } .employment-point > span { width: 36px; height: 36px; } }

/* V6.3.0-beta.53 — page Emploi responsive sur mobile, tablette et ordinateur. */
.employment-main {
  overflow-x: clip;
  overflow-y: visible;
}
.employment-hero,
.employment-intro,
.employment-form-card,
.employment-points,
.employment-point,
.employment-point > div,
.employment-location-group,
.employment-location-fields,
.employment-location-fields .contact-field,
.employment-siret-field,
.employment-equipment,
.employment-equipment-grid {
  min-width: 0;
}
.employment-hero,
.employment-intro,
.employment-form-card,
.employment-point,
.employment-location-group,
.employment-location-fields,
.employment-equipment {
  width: 100%;
}
.employment-point strong,
.employment-point p,
.employment-location-status,
.employment-siret-status,
.employment-company-card,
.employment-privacy {
  overflow-wrap: anywhere;
  word-break: normal;
}
.employment-location-fields .contact-field,
.employment-location-fields input,
.employment-location-fields select,
.employment-siret-field input,
.employment-form-card input,
.employment-form-card select,
.employment-form-card textarea {
  max-width: 100%;
}
.employment-location-fields select {
  text-overflow: ellipsis;
}

/* Le passage de la page en une seule colonne suit exactement celui de la page Contact. */
@media (max-width: 1020px) {
  .employment-intro {
    position: static;
    top: auto;
  }
  .employment-form-card {
    max-width: 820px;
  }
}

@media (max-width: 760px) {
  .employment-hero {
    gap: 28px;
  }
  .employment-intro h1 {
    max-width: 100%;
    text-wrap: balance;
  }
  .employment-points {
    margin: 24px 0 18px;
    gap: 10px;
  }
  .employment-point {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .employment-point > span {
    width: 36px;
    height: 36px;
  }
  .employment-form-card {
    max-width: none;
  }
  .employment-form-card form,
  .employment-form-grid,
  .contact-form-grid {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .employment-hero {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-bottom: 58px;
  }
  .employment-intro h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.02;
  }
  .employment-lead,
  .contact-lead {
    overflow-wrap: anywhere;
  }
  .employment-form-card {
    padding: 22px 15px 19px;
  }
  .employment-form-heading h2 {
    font-size: clamp(32px, 9vw, 38px);
  }
  /* Safari iPhone ne zoome plus automatiquement au focus des champs. */
  .employment-form-card input,
  .employment-form-card select,
  .employment-form-card textarea {
    font-size: 16px;
  }
  .employment-location-group {
    gap: 8px;
  }
  .employment-location-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .employment-location-status,
  .employment-siret-status {
    justify-self: stretch !important;
    width: 100%;
  }
  .employment-siret-field > input {
    width: 100%;
    max-width: none;
  }
  .employment-equipment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .employment-equipment-grid span {
    min-height: 50px;
  }
}

@media (max-width: 430px) {
  .employment-hero {
    padding-top: 34px;
    gap: 24px;
  }
  .employment-intro h1 {
    margin-bottom: 16px;
    font-size: clamp(34px, 10.5vw, 43px);
  }
  .employment-intro .contact-lead {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.58;
  }
  .employment-points {
    margin-top: 20px;
  }
  .employment-point {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 12px;
    border-radius: 14px;
  }
  .employment-point > span {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }
  .employment-point strong {
    margin-bottom: 3px;
    font-size: 15px;
  }
  .employment-point p {
    font-size: 12.5px;
    line-height: 1.5;
  }
  .contact-response-note {
    padding-left: 12px;
    font-size: 12px;
  }
  .employment-form-card {
    padding-inline: 13px;
    border-radius: 18px;
  }
  .employment-form-heading {
    margin-bottom: 18px;
  }
  .employment-equipment {
    padding: 14px 12px;
  }
  .employment-privacy {
    padding: 11px 12px;
  }
}

@media (max-width: 360px) {
  .employment-hero {
    padding-inline: max(9px, env(safe-area-inset-left));
  }
  .employment-intro h1 {
    font-size: 33px;
  }
  .employment-form-card {
    padding-inline: 11px;
  }
  .employment-point {
    padding-inline: 10px;
  }
}


/* V6.3.0-beta.54 — verrouillage horizontal renforcé de la page Emploi.
   Objectif : aucun déplacement latéral possible, y compris sur Chrome Android/Samsung Internet. */
html.employment-document,
html.employment-document body.employment-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
}
html.employment-document body.employment-page {
  position: relative;
  touch-action: pan-y;
}
body.employment-page > .site-header,
body.employment-page > .employment-main,
body.employment-page > .site-footer,
body.employment-page .site-header-inner,
body.employment-page .footer-shell,
body.employment-page .footer-bottom,
.employment-main,
.employment-hero,
.employment-intro,
.employment-form-card {
  max-width: 100%;
  min-width: 0;
}
.employment-main {
  width: 100%;
  overflow-x: hidden !important;
}
.employment-hero {
  box-sizing: border-box;
}
.employment-intro h1,
.employment-intro h1 em,
.employment-form-heading,
.employment-form-heading h2,
.employment-form-card form,
.employment-form-grid,
.contact-form-grid {
  max-width: 100%;
  min-width: 0;
}
.employment-intro h1,
.employment-intro h1 em {
  overflow-wrap: anywhere;
  word-break: normal;
}
.employment-point,
.employment-company-card,
.employment-equipment,
.employment-privacy,
.contact-response-note,
.contact-form-actions,
.contact-form-status {
  max-width: 100%;
  min-width: 0;
}
.employment-form-card input,
.employment-form-card select,
.employment-form-card textarea,
.employment-equipment-grid span {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1020px) {
  .employment-hero {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  html.employment-document,
  html.employment-document body.employment-page {
    max-width: 100vw;
  }
  body.employment-page .site-header,
  body.employment-page .site-header-inner,
  body.employment-page .employment-main,
  body.employment-page .employment-hero,
  body.employment-page .employment-intro,
  body.employment-page .employment-form-card,
  body.employment-page .site-footer {
    width: 100%;
    max-width: 100%;
  }
  .employment-hero {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

@media (max-width: 360px) {
  .employment-hero {
    padding-left: max(9px, env(safe-area-inset-left));
    padding-right: max(9px, env(safe-area-inset-right));
  }
}

/* V6.3.0-beta.61 — largeur et responsive de la page Emploi.
   Le contenu reste centré et lisible sur grand écran, puis passe en une colonne
   sur les tablettes / fenêtres étroites sans réintroduire de défilement horizontal. */
.employment-hero {
  width: min(1480px, 100%);
  max-width: 1480px;
  margin-inline: auto;
  padding-left: clamp(20px, 2.2vw, 34px);
  padding-right: clamp(20px, 2.2vw, 34px);
  grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr);
  gap: clamp(34px, 4vw, 64px);
}
.employment-intro {
  width: 100%;
  max-width: 620px;
  justify-self: start;
}
.employment-form-card {
  width: 100%;
  max-width: 780px;
  justify-self: end;
}

@media (max-width: 1100px) {
  .employment-hero {
    width: min(920px, 100%);
    max-width: 920px;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-left: clamp(18px, 3vw, 30px);
    padding-right: clamp(18px, 3vw, 30px);
  }
  .employment-intro,
  .employment-form-card {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .employment-hero {
    width: 100%;
    max-width: 100%;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .employment-hero {
    width: 100%;
    max-width: 100%;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
}

@media (max-width: 430px) {
  .employment-hero {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

@media (max-width: 360px) {
  .employment-hero {
    padding-left: max(9px, env(safe-area-inset-left));
    padding-right: max(9px, env(safe-area-inset-right));
  }
}


/* V6.3.0-beta.62 — le responsive de la page Emploi ne doit pas étirer le header.
   Le fond du header reste pleine largeur, mais son contenu reprend exactement
   la largeur maximale du header public commun aux autres pages. */
body.employment-page > .site-header {
  width: 100%;
  max-width: none;
}
body.employment-page .site-header-inner {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 680px) {
  body.employment-page .site-header-inner {
    width: 100%;
    max-width: 100%;
  }
}
