body { padding: 4px; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow); overflow: hidden; max-width: 880px; margin: 0 auto; }
.head { padding: 22px 26px 16px; border-bottom: 1px solid var(--line); }
.head h1 { font-size: 24px; font-weight: 300; }
.head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--accent); }
.nav { display: flex; align-items: center; gap: 6px; padding: 14px 26px; }
.nav h2 { flex: 1; font-size: 17px; text-transform: capitalize; }
.iconbtn { width: 34px; height: 34px; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; cursor: pointer; font-size: 16px; }
.iconbtn:hover { background: var(--bg-soft); }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); }
.dow { padding: 8px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; background: var(--bg-soft); }
.day { min-height: 82px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; text-align: left; background: var(--bg); cursor: pointer; display: flex; flex-direction: column; gap: 3px; border-radius: 0; }
.day:nth-child(7n) { border-right: 0; }
.day .n { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.day.out { background: var(--bg-soft); }
.day.out .n { color: var(--muted); font-weight: 400; }
.day.past { cursor: default; opacity: .55; }
.day.today .n { background: var(--accent); color: var(--accent-ink); border-radius: 99px; padding: 1px 7px; align-self: flex-start; }
.day:not(.past):not([disabled]):hover { background: var(--accent-soft); }
.day.sel { box-shadow: inset 0 0 0 2px var(--accent); }
.slot { font-size: 11px; border-radius: 5px; padding: 2px 6px; background: var(--grey-soft); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot.confirmed { background: var(--red-soft); color: var(--red); }
.slot.pending { background: var(--amber-soft); color: var(--amber); }
.slot.blocked { background: repeating-linear-gradient(135deg, #dfe3e6, #dfe3e6 5px, #f1f3f4 5px, #f1f3f4 10px); color: #4a555d; }
.legend { display: flex; gap: 16px; padding: 12px 26px; font-size: 12px; color: var(--muted); flex-wrap: wrap; align-items: center; }
.panel { padding: 22px 26px 26px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.panel h3 { font-size: 18px; margin-bottom: 4px; }
.panel .sub { color: var(--muted); margin: 0 0 16px; text-transform: capitalize; }
.ok { padding: 28px; text-align: center; }
.ok h3 { font-size: 20px; margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .day { min-height: 58px; padding: 4px; } .slot { font-size: 10px; padding: 1px 3px; } .head, .nav, .panel, .legend { padding-left: 14px; padding-right: 14px; } .row2 { grid-template-columns: 1fr; } }
.photo { display: block; width: 100%; height: 200px; object-fit: cover; background: var(--bg-soft); }
.back { padding: 12px 26px 0; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; max-width: 880px; margin: 0 auto; padding: 4px; }
.rc { text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow); overflow: hidden; padding: 0; cursor: pointer; display: flex; flex-direction: column; border-bottom: 4px solid var(--c); transition: transform .15s, box-shadow .15s; }
.rc:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(18,24,27,.06), 0 12px 28px rgba(18,24,27,.12); }
.rc img, .rc .ph { width: 100%; height: 160px; object-fit: cover; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, var(--bg)); font-size: 48px; font-weight: 300; color: var(--c); }
.rb { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rb h2 { font-size: 19px; font-weight: 400; }
.rb p { margin: 0; color: var(--muted); font-size: 13px; }
.rb .d { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.go { margin-top: auto; padding-top: 10px; color: var(--c); font-weight: 600; font-size: 13px; }
.info { padding: 12px 26px 16px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); display: grid; gap: 4px; background: var(--bg-soft); }
.info b { font-weight: 600; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 13px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.rules { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.rules summary { padding: 10px 12px; cursor: pointer; font-weight: 500; font-size: 13px; }
.rules-body { padding: 4px 14px 14px; max-height: 240px; overflow: auto; white-space: pre-wrap; font-size: 13px; color: var(--ink-2); }
@media (max-width: 560px) { .info { padding-left: 14px; padding-right: 14px; } }
.grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day { min-width: 0; overflow: hidden; }
.notice { margin: 0; padding: 12px 26px; font-size: 14px; color: var(--amber); background: var(--amber-soft); }
/* Écran « demande envoyée » */
.panel.done { text-align: center; padding: 30px 26px 30px; }
.panel.done .sub { text-transform: none; margin: 14px 0; }
.done-ico { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 28px; font-weight: 700; }
.panel.done h3 { font-size: 22px; margin-bottom: 6px; }
.panel.done .lead { margin: 0 auto 18px; max-width: 520px; color: var(--ink-2); }
.recap { max-width: 460px; margin: 0 auto 20px; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px 16px; }
.rrow { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rrow:last-child { border-bottom: 0; }
.rrow span { color: var(--muted); } .rrow b { font-weight: 600; text-align: right; text-transform: capitalize; }
.panel.done h4 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.next { text-align: left; max-width: 460px; margin: 0 auto 8px; padding-left: 22px; color: var(--ink-2); line-height: 1.55; }

.rgpd { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.rgpd summary { padding: 10px 12px; cursor: pointer; font-weight: 500; font-size: 13px; }
.rgpd-body { padding: 2px 14px 12px; font-size: 12.5px; color: var(--ink-2); } .rgpd-body p { margin: 0 0 8px; }
