/* Recrutement staff | Corsia RP. Nuit, papier, tampons. Outfit + Geist Mono. */
:root { --bg: #090d16; --panel: #0f1625; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.15); --text: #e8eef6; --muted: #93a0b4; --faint: #5b6879;
    --accent: #2dd4bf; --orange: #fb923c; --paper: #f3efe6; --paper-2: #e9e3d6; --ink: #1d2433; --ink-2: #5a6274; --mono: 'Geist Mono', ui-monospace, monospace; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 'Outfit', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

.top { height: 68px; display: flex; align-items: center; padding: 0 max(20px, calc((100% - 1080px) / 2)); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand em { font-style: normal; font-weight: 400; color: var(--muted); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line-2); }
.mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--text); color: var(--bg); font-weight: 700; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; }
.me { display: flex; align-items: center; gap: 8px; } .me img { width: 26px; height: 26px; border-radius: 50%; }
.lnk { color: var(--accent); } .lnk.dim { color: var(--muted); }
.dbtn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 10px; background: #5865f2; color: #fff; font-weight: 600; transition: background .15s; }
.dbtn:hover { background: #4752c4; } .dbtn svg { width: 22px; height: 22px; } .dbtn.sm { height: 36px; padding: 0 14px; font-size: 14px; } .dbtn.sm svg { width: 18px; height: 18px; }

.kicker { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.intro { padding: 84px 0 48px; }
.intro h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.u { background: linear-gradient(transparent 68%, rgba(45,212,191,.35) 68% 92%, transparent 92%); }
.lead { max-width: 600px; color: #b9c3d1; font-size: 18px; font-weight: 300; margin-top: 22px; }
.how { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 36px; color: var(--muted); font-size: 14px; }
.how b { font: 500 12px var(--mono); color: var(--accent); margin-right: 8px; }
.flash { margin: 0 0 20px; padding: 12px 16px; border-radius: 10px; background: rgba(251,146,60,.1); border: 1px solid rgba(251,146,60,.3); color: #fdba74; font-size: 14px; }

/* postes : onglets de classeur */
.postes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.poste { position: relative; text-align: left; padding: 30px 20px 18px; border-radius: 4px 14px 14px 14px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: transform .18s, border-color .18s, background .18s; }
.poste .tab { position: absolute; top: -1px; left: -1px; padding: 3px 12px; border-radius: 4px 0 10px 0; background: var(--line); color: var(--muted); font-size: 11.5px; }
.poste b { font-size: 19px; font-weight: 600; } .poste .d { color: var(--muted); font-size: 14px; flex: 1; }
.poste .st { font: 500 11.5px var(--mono); color: var(--accent); margin-top: 8px; }
.poste:not(.closed):hover { transform: translateY(-3px); border-color: var(--line-2); }
.poste.on { border-color: rgba(45,212,191,.6); background: #0f1d24; } .poste.on .tab { background: var(--accent); color: #032521; }
.poste.closed { opacity: .45; cursor: not-allowed; } .poste.closed .st { color: var(--faint); }

.gate { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 36px; border-radius: 14px; border: 1px dashed var(--line-2); margin-bottom: 60px; }
.gate h2 { font-size: 24px; font-weight: 600; margin-bottom: 6px; } .gate p { color: var(--muted); max-width: 520px; }

/* mes dossiers */
.mine { margin-bottom: 36px; } .mine h2 { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.file { position: relative; padding: 16px 18px; border-radius: 12px; background: var(--paper); color: var(--ink); overflow: hidden; }
.file .ref { font: 500 12px var(--mono); color: var(--ink-2); } .file b { display: block; font-size: 17px; margin: 2px 0; } .file small { color: var(--ink-2); font-size: 12.5px; }
.file .msg { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #cfc6b3; font-size: 13.5px; color: var(--ink); white-space: pre-wrap; }
.stamp { position: absolute; right: 12px; top: 14px; transform: rotate(-9deg); padding: 3px 10px; border: 2.5px solid currentColor; border-radius: 6px; font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.stamp.nouvelle, .stamp.etude { color: #2563eb; } .stamp.entretien { color: #c2410c; } .stamp.acceptee { color: #15803d; } .stamp.refusee { color: #b91c1c; } .stamp.archivee { color: #6b7280; }

/* le dossier (papier) */
.sheet { position: relative; margin: 10px 0 70px; background: var(--paper); color: var(--ink); border-radius: 4px 16px 16px 16px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.sheet::before { content: ''; position: absolute; left: 0; top: -26px; width: 230px; height: 27px; background: var(--paper); border-radius: 12px 12px 0 0; }
.sh-tab { position: absolute; left: 18px; top: -21px; font: 500 12px var(--mono); color: var(--ink-2); z-index: 1; }
.sh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 30px 40px 22px; border-bottom: 1px solid #ddd5c4; }
.sh-head h2 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; } .sh-head p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.sh-head .who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); } .sh-head .who img { width: 38px; height: 38px; border-radius: 50%; }
.piece { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 28px 40px; border-bottom: 1px solid #e2dbcb; }
.piece:last-of-type { border-bottom: 0; }
.p-l { position: sticky; top: 20px; align-self: start; } .p-l .n { font: 600 12px var(--mono); color: #b45309; } .p-l h3 { font-size: 18px; font-weight: 600; line-height: 1.2; margin-top: 4px; } .p-l p { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.p-r { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.f { display: flex; flex-direction: column; gap: 6px; } .f > span { font-size: 13.5px; font-weight: 500; color: var(--ink); } .f > span small { font-weight: 400; color: var(--ink-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.in, .ta, .sel { width: 100%; background: #fbf9f4; border: 1px solid #d6cdb9; border-radius: 8px; padding: 10px 12px; color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s; }
.in, .sel { height: 44px; } .ta { min-height: 120px; resize: vertical; line-height: 1.5; }
.in:focus, .ta:focus, .sel:focus { border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15,118,110,.12); background: #fff; }
.cnt { align-self: flex-end; font: 11.5px var(--mono); color: var(--ink-2); } .cnt.ok { color: #0f766e; }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days label { cursor: pointer; } .days input { display: none; }
.days span { display: inline-block; padding: 7px 12px; border-radius: 8px; border: 1px solid #d6cdb9; font: 500 13px var(--mono); color: var(--ink-2); background: #fbf9f4; }
.days input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.q { font-size: 15px; font-weight: 500; line-height: 1.4; }
.q i { font-style: normal; font: 600 12px var(--mono); color: #b45309; margin-right: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; } .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: #0f766e; flex: none; }
.sh-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 40px 28px; background: var(--paper-2); border-radius: 0 0 16px 16px; }
.sh-foot p { font-size: 13.5px; color: #b91c1c; min-height: 20px; }
.send { height: 50px; padding: 0 26px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; transition: transform .15s; }
.send:hover { transform: translateY(-1px); } .send:disabled { opacity: .55; cursor: wait; }
.big-stamp { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) rotate(-12deg) scale(2.4); padding: 10px 26px; border: 5px solid #15803d; border-radius: 12px; color: #15803d;
    font: 700 46px var(--mono); letter-spacing: .1em; opacity: 0; pointer-events: none; text-align: center; line-height: 1; background: rgba(243,239,230,.6); }
.big-stamp small { display: block; font-size: 14px; letter-spacing: .1em; margin-top: 6px; }
.big-stamp.go { animation: stamp .45s cubic-bezier(.3,1.6,.6,1) forwards; }
@keyframes stamp { to { opacity: .9; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }

.foot { display: flex; justify-content: space-between; padding: 26px max(20px, calc((100% - 1080px) / 2)); border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.foot a:hover { color: var(--text); }

@media (max-width: 860px) {
    .postes { grid-template-columns: 1fr 1fr; } .gate { flex-direction: column; align-items: flex-start; padding: 26px; }
    .piece { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; } .p-l { position: static; } .sh-head, .sh-foot { padding-left: 20px; padding-right: 20px; flex-wrap: wrap; } .row2 { grid-template-columns: 1fr; }
    .brand em { display: none; } .me { display: none; }
}
@media (max-width: 520px) { .postes { grid-template-columns: 1fr; } }
