/* "Devenir bénévole" page, "Parcours en 3 étapes". Builds on assets/css/page.css (.tth-pg) and assets/css/forms.css (the Fluent form). Markup: render.php. */
.tth-bv__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3-step journey under the title */
.tth-bv__journey { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 34px auto 0; padding: 0; list-style: none; counter-reset: s; }
.tth-bv__journey li { position: relative; padding: 0 20px; text-align: center; }
.tth-bv__journey li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; font-weight: 800; }
.tth-bv__journey li:not(:last-child)::after { content: ""; position: absolute; top: 23px; inset-inline-start: calc(50% + 34px); inset-inline-end: calc(-50% + 34px); border-top: 2px dashed #C9D3DF; }
.tth-bv__journey b { display: block; margin-bottom: 4px; font-size: 16px; }
.tth-bv__journey span { color: var(--muted); font-family: Inter, system-ui, sans-serif; font-size: 14px; line-height: 1.5; }

/* Photo + form */
.tth-bv__form-sec { padding: 8px 0 88px; }
.tth-bv__wide { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 16px 44px rgba(16, 36, 64, .13); }
.tth-bv__photo { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.tth-bv__form { padding: 34px 36px; font-family: Inter, system-ui, sans-serif; }
.tth-bv .tth-bv__h { margin: 0 0 4px; color: var(--navy); font-family: Montserrat, system-ui, sans-serif; font-size: 22px; font-weight: 800; }
.tth-bv .tth-bv__sub { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.tth-bv abbr { color: var(--red); text-decoration: none; }
.tth-bv__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tth-bv__f { display: block; margin-bottom: 14px; }
.tth-bv__f > span, .tth-bv__set legend { display: block; margin-bottom: 6px; padding: 0; color: var(--navy); font-family: Montserrat, system-ui, sans-serif; font-size: 13px; font-weight: 700; }
.tth-bv input:not([type="checkbox"]):not([type="radio"]), .tth-bv textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid #D2D9E2; border-radius: 10px; background: #FBFCFD;
  color: var(--navy); font: 15px Inter, system-ui, sans-serif; transition: border-color .2s, box-shadow .2s;
}
.tth-bv textarea { resize: vertical; min-height: 84px; }
.tth-bv input:focus, .tth-bv textarea:focus { outline: none; border-color: var(--navy2); box-shadow: 0 0 0 3px rgba(31, 83, 138, .18); background: #fff; }
.tth-bv__set { margin: 0 0 14px; padding: 0; border: 0; }
.tth-bv__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tth-bv__chip { position: relative; cursor: pointer; }
.tth-bv__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tth-bv__chip span { display: inline-block; padding: 8px 15px; border: 1.5px solid #D2D9E2; border-radius: 999px; color: var(--navy); font: 700 13px Montserrat, system-ui, sans-serif; transition: background .2s, border-color .2s, color .2s; }
.tth-bv__chip input:checked + span { border-color: var(--navy2); background: #EAF0F7; color: var(--navy2); }
.tth-bv__chip input:checked + span::before { content: "✓ "; }
.tth-bv__chip input:focus-visible + span { outline: 3px solid rgba(31, 83, 138, .35); outline-offset: 2px; }
.tth-bv__f--inline { margin: 10px 0 0; }
.tth-bv__send { width: 100%; justify-content: center; margin-top: 4px; border: 0; cursor: pointer; }
.tth-bv__send:disabled { opacity: .6; cursor: default; }
.tth-bv .tth-bv__note { margin: 10px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.tth-bv__done { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #E8F5EE; color: #1E6B45; font-size: 14px; }

/* Next Rendez-vous + FAQ */
.tth-bv__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.tth-bv__rdv { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tth-bv__nordv { margin: 0; color: var(--muted, #5B6B7C); font: 15px/1.6 "Inter", system-ui, sans-serif; }
.tth-bv__rdv li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; background: #fff; }
.tth-bv__rdv .tth-pg__cal { flex: none; box-shadow: 0 4px 12px rgba(16, 36, 64, .12); }
.tth-bv__rdv .tth-pg__cal small { background: var(--navy2); }
.tth-bv__rdv strong { display: block; font-size: 14.5px; }
.tth-bv__rdv div span { color: var(--muted); font-family: Inter, system-ui, sans-serif; font-size: 13px; }
.tth-bv .tth-bv__rdv a { margin-inline-start: auto; color: var(--navy2); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tth-bv__faq details { border-bottom: 1px solid #DCE2EA; }
.tth-bv__faq summary { position: relative; padding: 16px 32px 16px 0; color: var(--navy); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.tth-bv__faq summary::-webkit-details-marker { display: none; }
.tth-bv__faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 12px; color: var(--red); font-size: 22px; font-weight: 600; transition: transform .2s; }
.tth-bv__faq details[open] summary::after { transform: rotate(45deg); }
.tth-bv__faq p { margin: 0 0 16px; color: var(--muted); font-family: Inter, system-ui, sans-serif; font-size: 14.5px; line-height: 1.6; }
.tth-bv__faq a { color: var(--navy2); font-weight: 700; }

@media (max-width: 960px) {
  .tth-bv__wide, .tth-bv__cols { grid-template-columns: 1fr; }
  .tth-bv__photo { min-height: 0; height: 220px; }
}
@media (max-width: 640px) {
  .tth-bv__journey { grid-template-columns: 1fr; gap: 18px; }
  .tth-bv__journey li:not(:last-child)::after { display: none; }
  .tth-bv__form { padding: 24px 20px; }
  .tth-bv__row { grid-template-columns: 1fr; gap: 0; }
  .tth-bv__form-sec { padding-bottom: 64px; }
}

/* The Fluent form inside the card: full-width pill button, as on the mockup */
.tth-bv .fluentform .ff-btn-submit { width: 100%; border-radius: 999px; }
.tth-bv .fluentform .ff_submit_btn_wrapper { margin-top: 4px; }
.tth-bv .ff-message-success { margin-top: 4px; }
/* Same rhythm as the mockup form (its labels inherited a 32px line height) */
.tth-bv .fluentform .ff-el-input--label label { line-height: 32px; }
.tth-bv .fluentform .ff-el-form-check-label { margin-bottom: 8px; }
.tth-bv .fluentform .ff-el-form-check-label > span { background: transparent; }
.tth-bv .fluentform .ff-btn-submit { min-height: 0; padding: 13px 22px; }
.tth-bv .tth-bv__h { line-height: 1.6; }
/* After sending, only the thank-you message stays in the card */
.tth-bv__form:has(.ff-message-success) .tth-bv__sub { display: none; }
