.lim-resa {
  --lr-bg: #f6f5f3;
  --lr-ink: #050f1e;
  --lr-muted: #6b7280;
  --lr-line: #e2ddd3;
  --lr-cell: #ebe7df;
  --lr-gold: #b8923a;
  --lr-gold-dark: #8e6f25;
  --lr-radius: 10px;
  max-width: 560px;
  margin: 48px auto;
  padding: 0 16px;
  font-family: inherit;
  color: var(--lr-ink);
}
.lim-resa *, .lim-resa *::before, .lim-resa *::after { box-sizing: border-box; }
.lim-resa svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.lr-card { background: var(--lr-bg); border-radius: 16px; padding: 32px 28px 28px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lr-head { text-align: center; margin-bottom: 22px; }
.lr-kicker { margin: 0 0 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lr-gold-dark); }
.lr-title { margin: 0; font-size: 26px; line-height: 1.2; color: var(--lr-ink); text-transform: none; }

/* Onglets façon stepper */
.lr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--lr-line); border-radius: 999px; padding: 3px; margin-bottom: 22px; background: #fff; }
.lr-tab { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; border: 0; border-radius: 999px; background: transparent; color: var(--lr-muted); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.lr-tab span { overflow: hidden; text-overflow: ellipsis; }
.lr-tab.is-done { color: var(--lr-ink); font-weight: 600; }
.lr-tab.is-active { background: var(--lr-ink); color: #fff; font-weight: 600; }
.lr-tab:disabled { opacity: .45; cursor: default; }
.lr-tab:not(:disabled):not(.is-active):hover { background: var(--lr-cell); }

/* Calendrier */
.lr-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lr-cal-nav strong { font-size: 17px; }
.lr-arrow { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; color: var(--lr-ink); cursor: pointer; }
.lr-arrow:hover:not(:disabled) { background: var(--lr-cell); }
.lr-arrow:disabled { opacity: .25; cursor: default; }

.lr-grid { display: grid; gap: 6px; }
.lr-grid-7 { grid-template-columns: repeat(7, 1fr); }
.lr-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lr-dow { text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--lr-muted); padding-bottom: 4px; }

.lr-day, .lr-chip { aspect-ratio: 1 / 1; border: 1px solid var(--lr-line); border-radius: var(--lr-radius); background: #fff; color: var(--lr-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .1s; }
.lr-chip { aspect-ratio: auto; padding: 13px 4px; }
.lr-day:hover:not(:disabled), .lr-chip:hover { border-color: var(--lr-gold); }
.lr-day:active:not(:disabled), .lr-chip:active { transform: scale(.96); }
.lr-day:disabled { background: var(--lr-cell); border-color: transparent; color: #b4ada1; font-weight: 400; cursor: default; }
.lr-day.is-today { box-shadow: inset 0 -3px 0 var(--lr-gold); }
.lr-day.is-selected, .lr-chip.is-selected { background: var(--lr-gold); border-color: var(--lr-gold); color: #fff; }
.lim-resa button:focus-visible, .lim-resa input:focus-visible, .lim-resa textarea:focus-visible { outline: 2px solid var(--lr-gold); outline-offset: 2px; }

.lr-label { margin: 4px 0 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--lr-muted); }
.lr-slots .lr-grid + .lr-label { margin-top: 20px; }
.lr-note { margin: 16px 0 0; font-size: 13px; color: var(--lr-muted); text-align: center; }
.lr-note a, .lr-empty a { color: var(--lr-gold-dark); font-weight: 600; }
.lr-empty { text-align: center; margin: 12px 0; line-height: 1.6; }
.lr-link { display: block; margin: 12px auto 0; border: 0; background: none; color: var(--lr-gold-dark); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

.lr-skel { height: 46px; border-radius: var(--lr-radius); background: linear-gradient(90deg, var(--lr-cell) 25%, #f3f0ea 50%, var(--lr-cell) 75%); background-size: 200% 100%; animation: lr-shimmer 1.2s infinite; }
@keyframes lr-shimmer { to { background-position: -200% 0; } }

/* Formulaire */
.lr-recap { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 12px; margin-bottom: 18px; border-radius: var(--lr-radius); background: #fff; border: 1px solid var(--lr-line); font-size: 14px; }
.lr-recap strong { text-transform: capitalize; }
.lr-form { display: flex; flex-wrap: wrap; gap: 14px; }
.lr-field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 5px; margin: 0; font-size: 13px; font-weight: 600; }
.lr-field.lr-half { flex: 1 1 calc(50% - 7px); }
.lr-field em { font-weight: 400; color: var(--lr-muted); }
.lr-field input, .lr-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--lr-line); border-radius: var(--lr-radius); background: #fff; color: var(--lr-ink); font: inherit; font-size: 15px; font-weight: 400; }
.lr-field input:focus, .lr-field textarea:focus { border-color: var(--lr-gold); outline: none; }
.lr-field .is-invalid { border-color: #c0392b; background: #fdf3f2; }
.lr-hp { position: absolute !important; left: -9999px; }
.lr-error { flex: 1 1 100%; margin: 0; padding: 10px 12px; border-radius: 8px; background: #fdecea; color: #a12a1e; font-size: 14px; }
.lr-submit { flex: 1 1 100%; padding: 15px; border: 0; border-radius: 999px; background: var(--lr-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.lr-submit:hover:not(:disabled) { background: var(--lr-gold-dark); }
.lr-submit:disabled { opacity: .6; cursor: wait; }
.lr-form .lr-note { flex: 1 1 100%; margin-top: 0; }

/* Confirmation */
.lr-done { text-align: center; padding: 10px 0; }
.lr-done svg { width: 56px; height: 56px; color: var(--lr-gold); stroke-width: 1.4; }
.lr-done h3 { margin: 12px 0 8px; font-size: 22px; color: var(--lr-ink); }
.lr-done p { margin: 0; line-height: 1.6; text-transform: none; }
.lr-done p:first-letter { text-transform: uppercase; }

@media (max-width: 480px) {
  .lr-card { padding: 24px 16px 20px; }
  .lr-title { font-size: 22px; }
  .lr-grid-7 { gap: 4px; }
  .lr-day { font-size: 14px; border-radius: 8px; }
  .lr-tab { font-size: 12px; gap: 4px; }
  .lr-tab svg:last-child:not(:first-child) { display: none; }
  .lr-field.lr-half { flex-basis: 100%; }
}
