/* Résa — feuille de style publique */
:root {
  --accent: #9a6b5a;
  --ink: #2f2724;
  --muted: #85766f;
  --line: #e9e0d8;
  --paper: #fbf8f4;
  --card: #ffffff;
  --soft: #f3ece5;
  --radius: 16px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; }
main { max-width: 1040px; margin: 0 auto; padding: 0 20px 64px; }

/* En-tête */
.site-head { max-width: 1040px; margin: 0 auto; padding: 22px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand span { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: .3px; }
.head-phone { text-decoration: none; color: var(--muted); font-size: 15px; white-space: nowrap; }

/* Accueil */
.hero { padding: 48px 0 36px; text-align: center; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--accent); margin: 0 auto 12px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 0 0 16px; }
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 28px 0 8px; position: sticky; top: 0; padding: 10px 0; background: var(--paper); z-index: 5; }
.cat-nav a { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; background: var(--card); transition: .15s; }
.cat-nav a:hover { border-color: var(--accent); color: var(--accent); }

.category { margin-top: 44px; scroll-margin-top: 70px; }
.category > h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 0 0 4px; }
.category > p { color: var(--muted); margin: 0 0 18px; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s; }
.service:hover { box-shadow: 0 10px 30px -18px rgba(60, 40, 30, .35); transform: translateY(-2px); }
.service h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; margin: 0; }
.service .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.service .meta .price { color: var(--ink); font-weight: 500; }
.service .desc { font-size: 15px; color: #5d514c; margin: 0; flex: 1; }
.service .pay-note { font-size: 13px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; background: var(--accent); color: #fff; font: 500 15px var(--sans); padding: 12px 22px; border-radius: 999px; transition: filter .15s, transform .1s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid currentColor; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.danger { background: #a34a3f; }

/* Réservation */
.booking { display: grid; grid-template-columns: 320px 1fr; gap: 28px; margin-top: 24px; align-items: start; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 16px; }
.summary .cat { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--accent); }
.summary h1 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; margin: 6px 0 14px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 14px; font-size: 15px; }
.summary li { padding: 6px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.summary li span:first-child { color: var(--muted); }
.summary .desc { font-size: 14px; color: #5d514c; }
.summary .chosen { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 15px; display: none; }
.summary .chosen.on { display: block; }
.back { display: inline-block; margin-top: 8px; color: var(--muted); font-size: 14px; text-decoration: none; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 16px; }
.step-hidden { display: none; }

.cal-head { max-width: 460px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-family: var(--serif); font-size: 22px; font-weight: 600; text-transform: capitalize; }
.cal-head button { background: none; border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 18px; color: var(--ink); }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal { max-width: 460px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal .dow { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 4px; }
.cal button { height: 46px; border: 0; border-radius: 12px; background: transparent; font: 15px var(--sans); color: #c4b8b0; cursor: default; }
.cal button.avail { background: var(--soft); color: var(--ink); cursor: pointer; font-weight: 500; }
.cal button.avail:hover { outline: 2px solid var(--accent); }
.cal button.sel { background: var(--accent); color: #fff; }
.cal button.today { text-decoration: underline; text-underline-offset: 4px; }
.cal-loading { color: var(--muted); font-size: 14px; min-height: 22px; margin-top: 10px; }

.slots-title { margin: 22px 0 10px; font-weight: 500; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slots button { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 10px 0; font: 500 15px var(--sans); cursor: pointer; color: var(--ink); }
.slots button:hover { border-color: var(--accent); color: var(--accent); }
.slots button.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot-group { grid-column: 1 / -1; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 6px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 5px; }
input, textarea, select { width: 100%; font: 16px var(--sans); color: var(--ink); padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
input:focus, textarea:focus, select:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); border-color: var(--accent); }
textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; }
.err { color: #a34a3f; font-size: 15px; margin-top: 12px; }
.fine { font-size: 13px; color: var(--muted); }

.notice { border-radius: var(--radius); padding: 22px 24px; margin: 28px 0 0; background: var(--card); border: 1px solid var(--line); }
.notice.ok { border-color: #b9d3bd; background: #f3f8f3; }
.notice.warn { border-color: #e8cfb6; background: #fdf6ee; }
.notice h1 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 0 0 8px; }

.site-foot { border-top: 1px solid var(--line); padding: 26px 20px 40px; text-align: center; color: var(--muted); font-size: 14px; }
.foot-links { margin-top: 12px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.foot-links a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }

@media (max-width: 760px) {
  .booking { grid-template-columns: 1fr; }
  .summary { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .brand span { font-size: 23px; }
  .hero { padding-top: 24px; }
  .panel, .summary { padding: 18px; }
}
