:root {
  --brand: #45607D;
  --brand-dark: #34495f;
  --ink: #2b3a4a;
  --muted: #6b7785;
  --bg: #eef1f5;
  --bs-primary: #45607D;
  --bs-primary-rgb: 69, 96, 125;
  --bs-link-color: #45607D;
  --bs-link-color-rgb: 69, 96, 125;
}
body {
  background: var(--bg) url("batiment.jpg") center bottom / cover fixed no-repeat;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  min-height: 100vh;
}
body::before { content: ""; position: fixed; inset: 0; background: rgba(238, 241, 245, .86); z-index: -1; }
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 24px; }
.card-invit { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(40, 60, 90, .15); }
.banner { display: block; width: 100%; height: auto; }
.addressee { font-family: "Cookie", Georgia, serif; font-size: 2.6rem; color: var(--brand); text-align: center; line-height: 1.1; margin-bottom: 1.2rem; }
.lead { font-size: 1.08rem; }
.adresse { font-weight: 600; color: var(--brand); }
h1, h2, .h3, .h4, .h5 { color: var(--brand); font-weight: 700; }
.programme { list-style: none; padding: 0; margin: 1rem 0; }
.programme li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid #e6eaef; }
.programme li:last-child { border-bottom: 0; }
.programme span { flex: 0 0 72px; font-weight: 700; color: var(--brand); }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid #dfe5ec; border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #b9c6d4; }
.choice input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.choice:has(input:checked) { border-color: var(--brand); background: #f1f5f9; }
.acc-row { border: 1px solid #dfe5ec; border-radius: 10px; padding: 14px; margin-bottom: 12px; background: #fafbfc; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); --bs-btn-active-bg: var(--brand-dark); }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.recap { background: #f2f5f8; border-radius: 10px; padding: 14px 18px 14px 34px; }
.check { width: 64px; height: 64px; border-radius: 50%; background: #e3f1e7; color: #2f8a4c; font-size: 34px; line-height: 64px; margin: 0 auto; }
.contact { border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; font-size: .92rem; color: var(--muted); }
.contact strong { color: var(--brand); }
.foot { text-align: center; padding: 28px 12px 8px; font-size: .78rem; color: var(--muted); }
.foot img { margin-bottom: 12px; }
@media (max-width: 576px) { .addressee { font-size: 2.1rem; } .programme span { flex-basis: 60px; } }
.lead strong, strong { font-weight: 700; }
.retrouver { background: #f2f5f8; border-radius: 12px; padding: 20px; }
h1, .lead { text-wrap: balance; }
.partners { display: flex; justify-content: center; align-items: flex-start; gap: 36px; flex-wrap: wrap; margin-bottom: 18px; }
.partners div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.partners span { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.partners img { margin: 0; }
.partners i { display: flex; align-items: center; height: 56px; }
.horaire { padding: 14px 16px; border-radius: 10px; background: #f6f8fa; }
.horaire.manque { background: #fdecec; outline: 2px solid #d9534f; }
.horaire.manque::after { content: "Merci de répondre à cette question."; display: block; color: #b02a37; font-size: .85rem; margin-top: 8px; }
