/* Page de candidature LIULIU 3PL (charte Nuit : noir, vert jade en lumière, libellés mono en capitales). */

.page-cand { background: #000; overflow-x: clip; }
.page-cand [hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cand__retour { color: #bdbdbd; gap: 8px; }
.cand__retour:hover { color: #fff; }

.cand { position: relative; overflow: clip; padding: 150px 0 120px; min-height: 100vh; }
.cand__lueur {
  position: absolute; left: 50%; top: -340px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,168,107,.28), rgba(0,168,107,.08) 55%, transparent 75%);
  filter: blur(30px); pointer-events: none; z-index: 0;
}
.cand__in { position: relative; z-index: 1; width: min(760px, calc(100% - 40px)); margin: 0 auto; }

.cand__sur { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #bdbdbd; }
.cand__sur i { width: 7px; height: 7px; background: var(--jade); border-radius: 1px; box-shadow: 0 0 12px rgba(0,168,107,.8); }
.cand__intro h1 { font-weight: 300; font-size: clamp(46px, 7vw, 84px); line-height: .98; letter-spacing: -.05em; margin-top: 22px; }
.cand__chapo { font-size: 18px; line-height: 1.6; color: #a9a9a9; max-width: 600px; margin-top: 26px; }

/* Étapes */
.cand__prog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 52px 0 28px; }
.cand__prog li {
  display: flex; align-items: center; gap: 10px; padding: 12px 0 0; border-top: 2px solid rgba(255, 255, 255, .12);
  font-size: 14px; color: #6e6e6e; transition: color .3s, border-color .3s;
}
.cand__prog li span { font: 500 11px/1 var(--mono); letter-spacing: .1em; }
.cand__prog li.actif { color: #fff; border-color: var(--jade); }
.cand__prog li.fait { color: #b5b5b5; border-color: rgba(255, 255, 255, .5); }

/* Cartes d'étape */
.etape {
  background: linear-gradient(180deg, #0d0d0d, #080808); border: 1px solid var(--trait); border-radius: 22px;
  padding: 40px 40px 34px;
}
.etape__tete h2 { font-weight: 300; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.035em; outline: none; }
.etape__tete p { color: #9d9d9d; font-size: 16px; line-height: 1.6; margin-top: 10px; max-width: 560px; }
.etape__tete { margin-bottom: 30px; }
.etape__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--trait); }
.etape__actions .btn--blanc:only-child { margin-left: auto; }
.etape__actions .btn--fantome { padding-left: 4px; color: #bdbdbd; }
.etape__actions .btn--fantome:hover { color: #fff; }
.btn[disabled], .btn.attente { opacity: .55; pointer-events: none; }
button.btn { border: 0; cursor: pointer; }
button.btn--fantome { background: transparent; }

.cand-etiq { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }

.lien-bouton { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.cand__chapo a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(95,211,164,.6); }
.cand__sur .zh { margin-left: 2px; }

/* Champs */
.grille2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.champ--large { grid-column: 1 / -1; }
.champ { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.champ > label, .champ legend { display: block; font-size: 15px; font-weight: 500; color: #eaeaea; margin-bottom: 9px; padding: 0; }
.aide { font-size: 13.5px; color: #7a7a7a; font-weight: 400; line-height: 1.5; }
.champ > .aide { margin: -4px 0 10px; }
.champ input[type=text], .champ input[type=email], .champ input[type=tel], .champ textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: #0f0f0f; border: 1px solid var(--trait-fort); border-radius: 12px;
  padding: 13px 15px; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.champ textarea { resize: vertical; min-height: 128px; line-height: 1.55; }
.champ input::placeholder, .champ textarea::placeholder { color: #4f4f4f; }
.champ input:hover, .champ textarea:hover { border-color: rgba(255, 255, 255, .3); }
.champ input:focus, .champ textarea:focus { outline: none; border-color: #fff; background: #121212; }
.champ--erreur input, .champ--erreur textarea { border-color: #ff4d4d; }
.champ__erreur { color: #ff6b6b; font-size: 13.5px; margin-top: 7px; min-height: 0; }
.champ__erreur:empty { display: none; }
.champ__pied { display: flex; justify-content: space-between; gap: 12px; }
.champ__pied .champ__erreur:empty { display: block; }
.compte { margin-top: 7px; font: 400 11.5px/1.4 var(--mono); color: #555; margin-left: auto; }

.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--trait-fort); background: #0f0f0f; font-size: 15px; color: #d6d6d6; line-height: 1.3;
  transition: border-color .2s, background .2s, color .2s;
}
.choix span em { font-style: normal; color: #7a7a7a; font-size: 13px; }
.choix label:hover span { border-color: rgba(255, 255, 255, .4); }
.choix input:checked + span { background: #fff; color: #000; border-color: #fff; }
.choix input:checked + span em { color: #666; }
.choix input:checked + span .nom { color: #000; }
.choix input:focus-visible + span { outline: 2px solid var(--jade); outline-offset: 3px; }
.champ--erreur .choix span { border-color: rgba(255, 77, 77, .55); }

.champ--case { margin-top: 10px; }
.case { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px; color: #a9a9a9; line-height: 1.55; }
.case input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--jade); cursor: pointer; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.envoi-erreur { color: #ff6b6b; font-size: 15px; min-height: 0; margin-top: 8px; }
.envoi-erreur:empty { display: none; }

/* Après l'envoi */
.fin { text-align: center; padding-top: 10px; }
.fin__picto { width: 72px; height: auto; margin: 0 auto 30px; filter: drop-shadow(0 0 22px rgba(0,168,107,.55)); }
.fin h2 { font-weight: 300; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.05em; outline: none; }
.fin__chapo { font-size: 18px; color: #a9a9a9; margin-top: 18px; }
.fin__zh { font-family: var(--zh); font-size: 13px; letter-spacing: .3em; color: rgba(255,255,255,.4); margin-top: 14px; }
.fin__suite { max-width: 460px; margin: 38px auto 32px; text-align: left; display: grid; gap: 12px; }
.fin__suite li { display: flex; gap: 14px; font-size: 15px; color: #a9a9a9; line-height: 1.5; }
.fin__suite li span { font: 500 11px/1.9 var(--mono); color: var(--jade); letter-spacing: .1em; }

.fin__boutons { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.pied--court { padding: 0 0 36px; border-top: 0; }
.pied--court .pied__bas { margin-top: 0; }

@media (max-width: 720px) {
  .cand { padding: 112px 0 80px; }
  .cand__in { width: calc(100% - 32px); }
  .cand__chapo { font-size: 16.5px; }
  .cand__prog { margin: 40px 0 20px; gap: 8px; }
  .cand__prog li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12.5px; line-height: 1.25; }
  .etape { padding: 28px 20px 24px; border-radius: 18px; }
  .grille2 { grid-template-columns: 1fr; }
  .etape__actions { flex-direction: column-reverse; align-items: stretch; }
  .etape__actions .btn { width: 100%; }
  .etape__actions .btn--fantome { justify-content: center; }
  .cand__retour { padding: 0 6px; font-size: 13.5px; }
  .pied--court .pied__bas { flex-direction: column; gap: 6px; }
}
