/* =========================================================================
   FLEMME — page « Rejoindre la Brigade anti-flemme » (rejoindre.html)
   S'appuie sur styles.css et espace.css ; ne contient que ce qui est
   propre à cette page.
   ========================================================================= */

.brigade { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.brigade .hero { padding: 24px 0; max-width: none; }
.brigade-hero .cta-row { margin: 32px 0 14px; }
.btn-link { display: inline-flex; align-items: center; justify-content: center; }

/* La lettre : colonne étroite, pour être lue */
.letter { background: #fff; border: 3px solid var(--ink); border-radius: 32px; padding: clamp(28px, 5vw, 56px); box-shadow: 12px 12px 0 var(--acid); }
.letter p { max-width: 64ch; }
.letter .sign { font-family: var(--mono); color: var(--violet); }

/* Comment ça marche : 4 étapes numérotées */
.how { list-style: none; counter-reset: how; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how li { counter-increment: how; border-top: 3px solid var(--ink); padding-top: 16px; }
.how li::before { content: "0" counter(how); display: block; font-family: var(--mono); color: var(--violet); margin-bottom: 8px; }
.how b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.how span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Rémunération : bloc sombre */
.pay { background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(28px, 5vw, 56px); }
.pay .eyebrow { color: var(--acid); }
.pay p { color: #d9d5f0; }
.pay strong { color: var(--acid); }
.pay-grid { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pay-grid li { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.pay-grid li { padding: 24px; }
.pay-grid b { font-size: clamp(56px, 8vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.pay-grid .pay-ex { margin-top: auto; padding-top: 12px; border-top: 2px dashed var(--ink); font-family: var(--mono); font-size: 13px; color: var(--ink); }
.pay-grid .pay-best { background: var(--acid); }
.pay-grid .pay-best span, .pay-grid .pay-best .pay-kind { color: var(--ink); }
.pay-grid span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.pay-grid .pay-kind { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }

/* Les grades */
.rank-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rank-list li { background: #fff; border: 3px solid var(--ink); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.rank-list b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.rank-list span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.rank-list .first-hour { background: var(--orange); box-shadow: 8px 8px 0 var(--ink); }
.rank-list .first-hour span { color: var(--ink); }

/* Candidature */
.apply { padding: 0; margin: 96px auto; scroll-margin-top: 16px; }
.step-intro { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.card .chip { position: relative; display: inline-flex; margin: 0; font-size: 15px; font-weight: 600; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; cursor: pointer; }
.chip span::before { content: "+"; margin-right: 8px; font-family: var(--mono); }
.chip input:checked + span { background: var(--acid); }
.chip input:checked + span::before { content: "✓"; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.chip span:hover { background: var(--soft); }
.chip input:checked + span:hover { background: var(--acid); }
.hint { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.count { text-align: right; font-family: var(--mono); }
.opt { font-weight: 500; color: var(--muted); }
.step-ok { display: flex; gap: 14px; align-items: flex-start; background: var(--soft); border: 2px solid var(--ink); border-radius: 20px; padding: 16px; margin-top: 20px; }
.step-ok .success { flex: none; width: 36px; height: 36px; font-size: 18px; }
.step-ok p { margin: 0; line-height: 1.5; color: var(--ink); }
.skip { margin-top: 12px; }
#brigadeOk p { color: var(--muted); line-height: 1.5; }

/* Questions fréquentes */
.faq details { border-top: 3px solid var(--ink); padding: 18px 0; }
.faq details:last-child { border-bottom: 3px solid var(--ink); }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 800; letter-spacing: -.02em; min-height: 44px; display: flex; align-items: center; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; padding-left: 16px; font-family: var(--mono); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 0; }

@media (max-width: 900px) {
  .how { grid-template-columns: repeat(2, 1fr); }
  .rank-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brigade { padding: 0 16px; }
  .how { grid-template-columns: 1fr; }
  .letter { box-shadow: 8px 8px 0 var(--acid); }
  .apply { margin: 56px auto; }
  .brigade-hero .cta-row a { width: 100%; }
}
