/* Formulaire public d'inscription : même police et mêmes couleurs que le site du club */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Lato, Arial, sans-serif; color: #212121; background: #eef2f6; line-height: 1.45; }
.bar { background: #2b3a4a; color: #fff; display: flex; align-items: center; gap: 16px; padding: 8px 16px; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; }
.bar a { color: #fff; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.brand img { border-radius: 3px; }
.bar nav { display: flex; gap: 16px; margin-left: auto; flex-wrap: wrap; font-size: 15px; }
.bar nav a:hover { text-decoration: underline; }
.bar nav .member { border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; padding: 4px 12px; }
main { max-width: 820px; margin: 0 auto; padding: 20px 16px 60px; }
h1 { font-size: 28px; font-weight: 400; margin: 8px 0 4px; color: #1d2d44; }
h2 { font-size: 20px; margin: 0 0 8px; }
.lead { color: #444; margin-top: 0; }
fieldset { background: #fff; border: 1px solid #d5dce4; border-radius: 8px; margin: 0 0 16px; padding: 14px 16px 16px; }
legend { font-weight: 700; color: #1d2d44; padding: 0 8px; font-size: 17px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.grid .wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; color: #333; }
label input:not([type=checkbox]):not([type=radio]) { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; font-size: 16px; border: 1px solid #b8c2cd; border-radius: 6px; background: #fff; }
input:focus-visible, button:focus-visible, summary:focus-visible, canvas:focus-visible { outline: 3px solid #4d90fe; outline-offset: 1px; }
input[aria-invalid=true] { border-color: #c62828; background: #fff4f4; }
.opt { color: #777; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; font-size: 14px; }
.check input, .inline input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.inline { display: inline-flex; gap: 8px; align-items: center; margin-right: 18px; font-size: 15px; }
.radios { margin-top: 12px; }
.radios p { margin: 0 0 6px; font-size: 14px; }
.opt-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #dde3ea; font-size: 15px; }
.opt-row:last-child { border-bottom: 0; }
.opt-row input { width: 20px; height: 20px; flex: none; }
.opt-row .price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.hint { color: #555; font-size: 13px; margin: 8px 0 0; }
.subaqua { margin-top: 12px; font-size: 14px; }
.subaqua summary { cursor: pointer; color: #1d2d44; }
.subaqua ul { margin: 8px 0; padding-left: 18px; }
.sig { position: relative; max-width: 600px; }
.sig canvas { display: block; width: 100%; height: auto; aspect-ratio: 10 / 3; background: #fbfcfd; border: 1px dashed #8b97a5; border-radius: 6px; touch-action: none; cursor: crosshair; }
.sig .link { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: #1d4f91; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.summary { background: #fff; border: 1px solid #d5dce4; border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td, .summary th { padding: 6px 0; text-align: left; font-weight: 400; }
.summary td:last-child, .summary th + td { text-align: right; white-space: nowrap; }
.summary tfoot th, .summary tfoot td { border-top: 2px solid #212121; font-weight: 700; font-size: 18px; }
.notice { padding: 12px 14px; border-radius: 8px; background: #e7eef7; border: 1px solid #c3d3e6; margin: 12px 0; }
.notice.warn { background: #fff4e0; border-color: #f0c987; }
.notice.err { background: #fdeaea; border-color: #e5a3a3; color: #8a1c1c; }
.notice.ok { background: #e8f5e9; border-color: #a5d6a7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.primary { background: #2b3a4a; color: #fff; border: 0; border-radius: 24px; padding: 14px 30px; font: inherit; font-size: 17px; cursor: pointer; }
.primary:hover { background: #1d2d44; }
.primary[disabled] { opacity: .6; cursor: wait; }
[hidden] { display: none !important; }
