/* Résa — feuille de style publique */
:root {
  --accent: #9a6b5a;
  --ink: #2f2724;
  --muted: #85766f;
  --line: #e9e0d8;
  --paper: #f7f6f0;
  --card: #ffffff;
  --soft: #f3ece5;
  --radius: 16px;
  --serif: "Dancing Script", cursive;
  --sans: "Quicksand", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: only light; background: var(--paper, #fff); }
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-bar { background: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.site-head { max-width: 1040px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; }
.brand span { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.head-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.head-nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.head-nav a:hover { background: rgba(255,255,255,.15); }

/* 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.eyebrow { font-family: inherit; font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; line-height: 1.5; color: var(--accent); margin: 0 auto 12px; }
.hero .hero-title, .hero h1 { font-family: var(--serif); font-weight: 500; color: var(--accent); 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; }
.hero p.hero-title { color: var(--accent); max-width: none; margin: 0 0 16px; }
.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: 36px; color: var(--accent); 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(--sans); font-weight: 700; font-size: 18px; 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); }

:root { --btn: #7a742c; --btn-dark: #6b6626; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; background: var(--btn); color: #fff; font: 600 15px var(--sans); padding: 12px 24px; min-height: 43px; border-radius: 999px; transition: background .15s, transform .1s; }
.btn:hover { background: var(--btn-dark); color: #fff; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.ghost { }
.btn.small { padding: 8px 18px; min-height: 36px; font-size: 14px; }
@media (max-width: 700px) { .btn.small { min-height: 44px; padding: 10px 20px; } }
.btn.danger { }

/* 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(--sans); font-weight: 700; font-size: 22px; 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(--sans); font-size: 18px; font-weight: 700; 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; }
.cal-loading .next-free { display: block; margin: 8px 0 0; padding: 10px 14px; width: 100%; border: 1px solid var(--accent, #857f31); border-radius: 10px; background: #fff; color: var(--accent, #857f31); font: inherit; font-weight: 600; cursor: pointer; text-align: center; }
.cal-loading .next-free:hover { background: var(--accent, #857f31); color: #fff; }

.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) {
  .head-nav a:not(.head-phone) { display: none; }
  .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; }
}
/* Questions de réservation */
.q-field fieldset { border: 0; padding: 0; margin: 0; }
.q-field legend { font-size: 14px; color: var(--muted); margin-bottom: 6px; padding: 0; }
.q-field .help { display: block; font-size: 13px; color: var(--muted); margin: -2px 0 6px; line-height: 1.45; }
.q-field .help a { color: var(--accent); word-break: break-all; }
.q-field .radios { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.q-field .radio, .q-field .check { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--ink, #2b2a26); cursor: pointer; }
.q-field .radio input, .q-field .check input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.q-field select { width: 100%; }
.req { color: #a34a3f; }
.cal-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.cal-add span { font-size: 15px; font-weight: 500; margin-right: 4px; }
.variant-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.variant { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--card); }
.variant small { color: var(--muted); font-size: 14px; }
.variant .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.variant:hover { border-color: var(--btn, #857f31); }
.variant.on { border-color: var(--btn, #857f31); box-shadow: 0 0 0 1px var(--btn, #857f31) inset; }
.variant.on .dot { border-color: var(--btn, #857f31); background: radial-gradient(circle, var(--btn, #857f31) 45%, transparent 50%); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.consent input { width: auto; margin-top: 3px; accent-color: var(--btn, #857f31); flex: none; }
.consent a { color: inherit; text-decoration: underline; }
.consent.optional em { font-style: normal; font-weight: 600; }
.meta.meta-variants { flex-direction: column; align-items: flex-start; gap: 2px; }
.desc-more { margin: 4px 0 12px; font-size: 14px; }
.desc-more summary { cursor: pointer; color: var(--btn, #7a742c); font-weight: 600; list-style: none; }
.desc-more summary::-webkit-details-marker { display: none; }
.desc-more summary::before { content: "+ "; }
.desc-more[open] summary::before { content: "– "; }
.desc-list { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.desc-list li { margin-bottom: 6px; }
.desc-list strong { color: var(--ink); font-weight: 600; }
.summary ul.desc-list { list-style: disc; padding-left: 18px; font-size: 14px; }
.summary .desc-list li { display: list-item; border: 0; padding: 0; margin-bottom: 6px; }
.bundle-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 10px 0; }
.bundle-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; font-weight: 500; }
.bundle-item input { width: 18px; height: 18px; accent-color: var(--btn, #7a742c); flex: none; }
.bundle-item small { margin-left: auto; color: var(--muted); font-weight: 400; }
.bundle-item:has(input:checked) { border-color: var(--btn, #7a742c); box-shadow: 0 0 0 1px var(--btn, #7a742c) inset; }
.bundle-total { font-weight: 600; margin: 6px 0 0; }

/* Bon cadeau dans le formulaire de réservation */
.gift-box { border: 1px dashed var(--line); border-radius: 12px; padding: 10px 14px; }
.gift-box summary { cursor: pointer; font-weight: 600; }
.gift-box[open] summary { margin-bottom: 10px; }
.gift-box input { text-transform: uppercase; letter-spacing: .08em; }
.gift-box small { display: block; color: var(--muted); margin-top: 6px; }
.hero .gift-banner { text-align: center; margin: 18px auto 0; }
.gift-banner a { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 400; }
.gift-form h2 { margin-top: 8px; }
.gift-form .radios { display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0; }
.gift-form small { color: var(--muted); display: block; }
.gift-form .radios label.radio { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 15px; color: var(--ink); }
.gift-form .radios input[type=radio] { width: auto; margin: 0; }

/* Mobile : catégories sur une seule ligne qui défile, pour ne pas masquer les prestations */
@media (max-width: 700px) {
  .cat-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 18px -16px 8px; padding: 8px 16px; gap: 6px; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav a { flex: 0 0 auto; white-space: nowrap; padding: 6px 13px; font-size: 13px; }
  .gift-banner a { font-size: 14px; padding: 8px 14px; }
}
/* Bon cadeau : choix prestation / montant, envoi */
.gift-form .radios { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.amount-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.amount-picks .pick { border: 1.5px solid var(--line, #ddd3c7); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.amount-picks .pick.on, .amount-picks .pick:hover { border-color: var(--accent, #857f31); color: var(--accent, #857f31); }
[hidden] { display: none !important; }


/* Mobile : lien de retour vers le site, toujours visible — 15/11 */
@media (max-width: 760px) {
  .head-nav a[href="/"] { display: inline-block !important; font-size: 14px; padding: 6px 8px; }
  .head-nav a[href="/"]::before { content: "← "; }
}
/* Textes justifiés partout dans la réservation — 15/11 */
main :is(p, li, small, .desc):not(.center):not(.hero-title):not(.eyebrow):not(.notice):not(.actions):not(.cal-loading):not(:has(> .btn)):not(:has(> button)):not(:has(> a.btn)) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.hero :is(p, small):not(.hero-title):not(.eyebrow) { text-align: justify; text-align-last: center; }
