/* Jayani’s Beauté — theme de la page RDV clientes (copie du theme Studio M, passe en or + blush)
   Ivoire + blush, rose gold, filets dores. Montserrat (comme le logo) + Cormorant Garamond en accent. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #fbf7f4;
  --card: #ffffff;
  --border: #ebddd7;
  --border-2: #e2d2cc;
  --text: #2b2426;
  --muted: #6e5e5b;
  --soft: #5e4a4c;
  --accent: #a8834e;
  --accent-dark: #8c6a3a;
  --deep: #6e5230;
  --gold: #c9ad80;
  --blush: #f7e6e1;
  --green: #3f7d5a;
  --danger: #b4233a;
  --ink: #231f20;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --rosegold: linear-gradient(135deg, #d4b483 0%, #a8834e 55%, #8c6a3a 100%);
  --goldline: linear-gradient(90deg, rgba(205, 181, 143, 0), #c2a274 50%, rgba(205, 181, 143, 0));
  --ring: 0 0 0 4px rgba(168, 131, 78, 0.10);
  --shadow-cta: 0 12px 28px rgba(140, 106, 58, 0.28);
}

html { background: var(--bg); }
body {
  font-family: 'Montserrat', -apple-system, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(70vmax 50vmax at 50% -10%, rgba(242, 212, 204, 0.8), transparent 70%),
    radial-gradient(40vmax 30vmax at 110% 60%, rgba(247, 230, 225, 0.7), transparent 70%),
    var(--bg);
  color: var(--text);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: no-preference) {
  .container, .success.show { animation: smIn .5s ease both; }
  @keyframes smIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- En-tete : logo + accroche ---------- */
.header { background: transparent; border-bottom: none; padding: 1.8rem 1rem 0.6rem; position: relative; }
.header::before {
  content: ""; display: block;
  width: min(300px, 76vw); aspect-ratio: 584 / 345; margin: 0 auto;
  background: url('/reservation/salon-logo.png') center / contain no-repeat;
}
.header::after {
  content: ""; display: block; width: 120px; height: 1px; margin: 1rem auto 0;
  background: var(--goldline);
}
.header .emoji { display: none; }
.header h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.45rem; line-height: 1.3; letter-spacing: 0; text-transform: none;
  color: var(--soft); margin-top: 0.6rem; padding: 0 0.5rem;
}

.container { padding-top: 1.4rem; }

/* ---------- Etapes ---------- */
.step { margin-bottom: 2.2rem; }
.step-title {
  color: var(--ink); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.24em; text-transform: uppercase; gap: 0.75rem; margin-bottom: 0.95rem;
}
.step-title span[style] { letter-spacing: 0; text-transform: none; }
.step-num {
  width: 30px; height: 30px; background: transparent; border: 1px solid var(--accent);
  color: var(--accent-dark); font-family: var(--serif); font-weight: 500; font-size: 1.1rem; letter-spacing: 0;
}

/* Base commune cartes / puces / creneaux */
.barber-card, .chip, .slot, .home-card, .recap {
  background: var(--card); border: 1px solid var(--border-2); box-shadow: none;
}
.chip { border-radius: 1rem; min-height: 44px; }
.chip .c-day { color: var(--muted); font-weight: 600; letter-spacing: 0.14em; font-size: 0.66rem; }
.chip .c-date { color: var(--ink); font-weight: 600; }
.chip.selected, .barber-card.selected { border-color: var(--accent); background: #fff; box-shadow: var(--ring); }

/* ① Prestation : categorie > prestation > longueur */
.svc-cat {
  color: var(--accent-dark); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.26em; margin: 1.3rem 0 0.55rem;
}
.svc-wrap .svc-row { flex-direction: column; flex-wrap: nowrap; overflow: visible; gap: 0.55rem; padding: 0; }
.svc-wrap .svc-group {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  min-height: 58px; padding: 0 1.1rem; text-align: left; border-radius: 1.1rem; border-color: var(--border);
}
.svc-wrap .svc-group .c-day {
  font-size: 0.95rem; font-weight: 600; color: var(--ink); letter-spacing: 0; text-transform: none;
}
.svc-wrap .svc-group .c-date {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem;
  color: var(--muted); white-space: nowrap;
}
.svc-wrap .svc-group.selected { border-color: var(--accent); box-shadow: var(--ring); }
.svc-wrap .svc-vars {
  flex-direction: column; flex-wrap: nowrap; overflow: visible; gap: 0.5rem;
  margin-top: 0.5rem; padding: 0.6rem; border-radius: 1.1rem;
  background: #fbf1ee; border: 1px solid #f0dcd6;
}
.svc-wrap .svc-vars .chip.svc-var {
  flex: none; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  min-height: 52px; padding: 0 0.95rem; border-radius: 0.8rem; border-color: var(--border); text-align: left;
}
.svc-var .c-day { font-size: 0.9rem; font-weight: 500; color: var(--ink); letter-spacing: 0; text-transform: none; }
.svc-var .c-date { margin: 0; font-size: 0.82rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.svc-wrap .svc-vars .chip.svc-var.selected { background: var(--rosegold); border-color: #8c6a3a; box-shadow: 0 6px 16px rgba(140, 106, 58, 0.25); }
.svc-var.selected .c-day, .svc-var.selected .c-date { color: #fff; font-weight: 600; }

/* ② Coiffeuses */
.barbers { gap: 0.8rem; }
.barber-card { border-radius: 1.25rem; padding: 1.35rem 0.7rem 1.1rem; border-color: var(--border); }
.barber-card .b-icon {
  width: 58px; height: 58px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--blush); color: var(--accent-dark); border: 1px solid #edd5ce;
  font-family: var(--serif); font-size: 1.75rem; font-weight: 500;
}
.barber-card.selected .b-icon { background: var(--rosegold); color: #fff; border-color: transparent; }
.barber-card .b-name { color: var(--ink); font-weight: 600; font-size: 1rem; margin-top: 0.6rem; }
.barber-card .b-sub { color: var(--muted); font-size: 0.75rem; margin-top: 0.2rem; }

/* ③ Jours */
#dates { gap: 0.55rem; padding-bottom: 0.5rem; }
#dates .chip {
  min-width: 64px; height: 76px; padding: 0 0.5rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.15rem; border-radius: 1rem;
}
#dates .chip .c-date { font-size: 1.12rem; margin: 0; }
#dates .chip.selected { background: var(--ink); border-color: var(--ink); box-shadow: 0 8px 18px rgba(35, 31, 32, 0.18); }
#dates .chip.selected .c-day { color: #e9d6cf; }
#dates .chip.selected .c-date { color: #fff; }
#dates .chip.disabled { opacity: 0.5; background: transparent; border-style: dashed; }
#dates .chip.disabled .c-date { text-decoration: line-through; color: var(--muted); }
#calChip { background: var(--blush); border-color: #edd5ce; }
#calChip .c-day { color: var(--accent-dark); }
#calChip .c-date { color: var(--accent-dark); }
#calChip .c-date:empty::before { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; }
#calChip .c-day:empty::before { content: "DATE"; }

/* ④ Creneaux */
.slots { gap: 0.55rem; }
.slot {
  height: 48px; padding: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 0.75rem; color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.slot.selected { background: var(--rosegold); border-color: #8c6a3a; color: #fff; font-weight: 600; box-shadow: 0 6px 14px rgba(140, 106, 58, 0.28); }
.slot.taken { opacity: 1; background: #f6f0ed; border-color: #efe6e2; color: #b3a5a1; }
.slots-empty { color: var(--muted); font-size: 0.85rem; }

/* Liste d'attente */
.wl-box { background: var(--blush); border: 1px solid #edd5ce; border-radius: 1.1rem; padding: 1.1rem; }
.wl-box strong { color: var(--ink); font-size: 0.92rem; }
.wl-box p { color: var(--soft); }
.wl-btn {
  min-height: 48px; border-radius: 999px; background: #fff; border: 1px solid var(--accent-dark);
  color: var(--deep); font-family: inherit; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.wl-msg { color: var(--ink) !important; }

/* ⑤ Formulaire */
.form-group { margin-bottom: 1rem; }
.form-group label { color: var(--muted); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea {
  background: #fff; border: 1px solid var(--border-2); border-radius: 0.9rem; color: var(--ink);
  font-family: inherit; font-size: 16px; padding: 0 1rem;
}
.form-group input { height: 52px; }
.form-group textarea { min-height: 84px; padding: 0.85rem 1rem; resize: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #b9aba7; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(168, 131, 78, 0.14); }
#gMessage { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }

.error-msg { background: #fdecee; border: 1px solid #f1c2ca; color: #8e1c2f; border-radius: 0.9rem; line-height: 1.5; }

/* Recapitulatif */
.recap {
  border-color: var(--border); border-radius: 1.25rem; padding: 1.2rem 1.25rem; line-height: 1.85; color: var(--ink);
}
.recap::before {
  content: "Récapitulatif"; display: block; margin-bottom: 0.35rem;
  color: var(--accent-dark); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
}
.recap b { color: var(--ink); font-weight: 600; }

/* Bouton principal rose gold */
.submit-btn {
  min-height: 56px; background: var(--rosegold); color: #fff; font-family: inherit; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 999px; box-shadow: var(--shadow-cta);
}
.submit-btn:disabled { background: #e3d6d2; color: #8a7a76; opacity: 1; box-shadow: none; }

/* Confirmation */
.success { padding: 2.2rem 1.5rem 3rem; max-width: 480px; margin: 0 auto; }
.success .s-icon {
  font-size: 0; width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--gold);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 34px no-repeat,
    radial-gradient(circle, #a8834e 0 36px, transparent 37px);
}
.success h2 {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.4rem; line-height: 1.1;
  color: var(--ink); letter-spacing: 0; margin: 1.1rem 0 0.5rem;
}
.success p { color: var(--soft); }
.success .s-recap {
  background: #fff; border: 1px solid var(--border); border-radius: 1.25rem; color: var(--ink);
  padding: 1.2rem 1.25rem; line-height: 1.9;
}
.success .s-recap b { color: var(--deep); }
#successRecap div {
  color: var(--ink) !important; background: #fbf1ee !important; border: 1px solid #e8d6b6 !important;
  font-family: 'Montserrat', sans-serif; font-weight: 600 !important; letter-spacing: 0.18em !important;
}
.again-btn {
  min-height: 52px; padding: 0 1.8rem; background: transparent; border: 1px solid var(--accent); color: var(--deep);
  border-radius: 999px; font-family: inherit; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem;
}
#giftForm .again-btn { width: 100%; border-color: transparent; color: var(--muted); letter-spacing: 0.08em; text-transform: none; font-size: 0.85rem; font-weight: 500; }

/* ---------- Accueil ---------- */
.home-card {
  border-color: var(--border); border-radius: 1.2rem; padding: 1.05rem 1.1rem; gap: 1rem;
  transition: transform .2s, box-shadow .2s;
}
.home-card:hover { box-shadow: 0 8px 22px rgba(140, 106, 58, 0.10); }
#aboCard.home-card.gold, #giftCard { border-color: var(--border) !important; background: #fff !important; }
/* Carte principale « Prendre un rendez-vous » : grand bouton rose gold */
#homeChoice > .home-card:first-child {
  background: var(--rosegold); border-color: transparent; padding: 1.2rem 1.3rem; box-shadow: var(--shadow-cta);
}
#homeChoice > .home-card:first-child .hc-title {
  color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
}
#homeChoice > .home-card:first-child .hc-desc { color: rgba(255, 255, 255, 0.88); }
#homeChoice > .home-card:first-child .hc-arrow { color: #fff; }
#homeChoice > .home-card:first-child .hc-icon { background-color: rgba(255, 255, 255, 0.2); }
.hc-icon {
  width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 0; background-color: var(--blush);
  background-repeat: no-repeat; background-position: center; background-size: 24px;
}
.hc-title { color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.hc-desc { color: var(--muted); font-size: 0.8rem; }
.hc-badge { background: var(--rosegold); color: #fff; font-weight: 600; }
.hc-arrow { color: var(--accent); font-weight: 300; }
#homeChoice > .home-card:first-child .hc-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3Ccircle cx='12' cy='15' r='1.3'/%3E%3C/svg%3E");
}
#aboCard .hc-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8834e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.4 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E");
}
#giftCard .hc-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8834e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8.5' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12.5V20h14v-7.5M12 8.5V20M12 8.5C10.5 5 7 4.5 7 6.8S10 8.5 12 8.5c2 0 5 .6 5-1.7S13.5 5 12 8.5z'/%3E%3C/svg%3E");
}

.loading { color: var(--muted); }

/* Pied de page */
body::after {
  content: "Jayani’s Beauté"; display: block; text-align: center;
  margin-top: 1rem; padding: 2rem 0 2.4rem; background: #f4e4df;
  color: var(--deep); font-family: var(--serif); font-style: italic; font-size: 1.35rem; letter-spacing: 0.02em;
}

/* ---------- Carte cadeau ---------- */
.sm-giftcard {
  position: relative; height: 196px; border-radius: 1.4rem; overflow: hidden; margin-bottom: 2rem;
  background: linear-gradient(140deg, #f4ddd6 0%, #e7bdb5 45%, #d4b483 100%);
  box-shadow: 0 18px 40px rgba(140, 106, 58, 0.25);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.4rem 1.5rem; color: #fff;
}
.sm-giftcard::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 1rem; pointer-events: none; }
.sm-giftcard .g-top, .sm-giftcard .g-bot { position: relative; display: flex; justify-content: space-between; }
.sm-giftcard .g-top { align-items: flex-start; }
.sm-giftcard .g-bot { align-items: flex-end; gap: 1rem; }
.sm-giftcard .g-brand { font-family: var(--serif); font-style: italic; font-size: 1.65rem; }
.sm-giftcard .g-kind { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.92; }
.sm-giftcard .g-to { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-giftcard .g-amt { font-family: var(--serif); font-size: 3.2rem; line-height: 1; white-space: nowrap; }
#giftTypeChips { overflow: visible; gap: 0.6rem; }
#giftTypeChips .chip { flex: 1 1 0; text-align: left; padding: 0.95rem 1rem; border-radius: 1rem; border-color: var(--border); }
#giftTypeChips .chip .c-day { font-size: 0.92rem; font-weight: 600; color: var(--ink); letter-spacing: 0; text-transform: none; }
#giftTypeChips .chip .c-date { font-size: 0.78rem; font-weight: 400; color: var(--muted); margin-top: 0.2rem; }
#giftTypeChips .chip .c-date:empty::before { content: "Montant au choix"; }
#giftAmounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; overflow: visible; }
#giftAmounts .chip { min-width: 0; height: 54px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 0.9rem; }
#giftAmounts .chip .c-day { display: none; }
#giftAmounts .chip .c-date { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }
#giftAmounts .chip.selected { background: var(--ink); border-color: var(--ink); box-shadow: none; }
#giftAmounts .chip.selected .c-date { color: #fff; }

/* ================= Vitrine d'accueil ================= */
.sm-home { padding-bottom: 4.5rem; }
.sm-sec { margin-top: 3.2rem; text-align: center; }
.sm-sec[hidden] { display: none; }
.sm-kicker { color: var(--accent-dark); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; }
.sm-title {
  color: var(--ink); font-size: 1.4rem; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase; margin: 0.45rem 0 0.2rem;
}
.sm-title.sm-serif { font-family: var(--serif); font-style: italic; font-size: 2rem; letter-spacing: 0; text-transform: none; }
.sm-title::after { content: ""; display: block; width: 64px; height: 1px; margin: 0.9rem auto 0; background: var(--goldline); }
.sm-lead { color: var(--soft); font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; margin: 0.9rem auto 1.3rem; max-width: 32ch; }

.sm-gallery {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0;
  border-radius: 1.4rem; scrollbar-width: none; box-shadow: 0 14px 34px rgba(110, 84, 48, 0.14);
}
.sm-gallery::-webkit-scrollbar { display: none; }
.sm-gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; scroll-snap-align: center; display: block; cursor: zoom-in; }
.sm-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 0.9rem; }
.sm-dots i { width: 6px; height: 6px; border-radius: 50%; background: #e3cfc9; transition: all .25s; }
.sm-dots i.on { width: 20px; border-radius: 3px; background: var(--accent); }

.sm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.4rem; align-items: start; }
.sm-duo figure { margin: 0; }
.sm-duo figure:nth-child(2) { margin-top: 2rem; }
.sm-duo img {
  width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; object-position: center 30%;
  border-radius: 1.2rem; display: block; cursor: zoom-in; box-shadow: 0 10px 26px rgba(110, 84, 48, 0.14);
}
.sm-duo figcaption { margin-top: 0.7rem; color: var(--ink); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }

/* Carte des prestations */
#smPrestas { margin-top: 1.3rem; text-align: left; }
.sm-cat { background: #fff; border: 1px solid var(--border); border-radius: 1.1rem; margin-bottom: 0.65rem; }
.sm-cat h3 { color: var(--accent-dark); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.sm-cat ul { list-style: none; }
.sm-cat li { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.42rem 0; font-size: 0.9rem; color: var(--text); }
.sm-cat li i { flex: 1; border-bottom: 1px dotted #d9c6c0; transform: translateY(-3px); min-width: 12px; }
.sm-cat li b { font-weight: 600; color: var(--ink); white-space: nowrap; }
details.sm-cat { padding: 0; }
details.sm-cat summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.7rem; min-height: 58px; padding: 0 1.2rem; }
details.sm-cat summary::-webkit-details-marker { display: none; }
details.sm-cat summary h3 { margin: 0; flex: 1; }
details.sm-cat summary em { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.05rem; }
details.sm-cat summary::after {
  content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg) translateY(-2px); transition: transform .25s;
}
details.sm-cat[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details.sm-cat ul { padding: 0 1.2rem 0.8rem; border-top: 1px solid #f2e7e3; }
details.sm-cat li:first-child { padding-top: 0.75rem; }
.sm-cat li.sm-grp { padding-top: 0.8rem; padding-bottom: 0.1rem; }
.sm-cat li.sm-grp span { font-weight: 600; color: var(--ink); }
.sm-cat li.sm-var { padding: 0.3rem 0 0.3rem 0.9rem; font-size: 0.85rem; color: var(--muted); }
.sm-cat li.sm-var span { color: #4a3f40; }

.sm-cta, .sm-sticky {
  min-height: 56px; border: none; border-radius: 999px; background: var(--rosegold); color: #fff;
  font-family: inherit; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
}
.sm-cta { margin-top: 0.9rem; width: 100%; box-shadow: var(--shadow-cta); }

/* Horaires */
.sm-hours { list-style: none; margin-top: 1.3rem; background: #fff; border: 1px solid var(--border); border-radius: 1.1rem; padding: 0.4rem 1.2rem; text-align: left; }
.sm-hours li { display: flex; justify-content: space-between; padding: 0.75rem 0; font-size: 0.9rem; border-bottom: 1px solid #f2e7e3; }
.sm-hours li:last-child { border-bottom: none; }
.sm-hours li span { color: var(--muted); }
.sm-hours li b { color: var(--ink); font-weight: 500; }
.sm-hours li.today { margin: 0 -0.7rem; padding: 0.75rem 0.7rem; border-radius: 0.75rem; background: var(--blush); border-bottom-color: transparent; }
.sm-hours li.today span, .sm-hours li.today b { color: var(--deep); font-weight: 600; }

/* Bouton RDV collant */
.sm-sticky {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
  /* Masque = vraiment invisible (iOS 26 affiche la page SOUS la barre Safari transparente :
     un simple decalage sous le bord ne suffit pas) */
  transform: translate(-50%, 200%); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .35s ease, opacity .25s ease, visibility 0s linear .35s;
  width: min(440px, calc(100% - 32px)); z-index: 40; box-shadow: 0 12px 30px rgba(110, 84, 48, 0.35);
}
.sm-sticky.show {
  transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto;
  transition: transform .35s ease, opacity .25s ease, visibility 0s;
}

/* Photo en grand */
.sm-lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(30, 20, 22, 0.88);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.sm-lightbox.show { opacity: 1; pointer-events: auto; }
.sm-lightbox img { max-width: 100%; max-height: 100%; border-radius: 0.8rem; }

/* Bouton musique */
.sm-music {
  position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e8d6cf;
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--accent-dark); display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(110, 84, 48, 0.10);
}
.sm-music svg { width: 19px; height: 19px; }
.sm-music .sm-eq { display: none; gap: 2px; align-items: flex-end; height: 16px; }
.sm-music .sm-eq i { width: 3px; background: currentColor; border-radius: 2px; animation: smEq 1s ease-in-out infinite; }
.sm-music .sm-eq i:nth-child(2) { animation-delay: -.35s; }
.sm-music .sm-eq i:nth-child(3) { animation-delay: -.7s; }
.sm-music.on { background: var(--rosegold); color: #fff; border-color: transparent; }
.sm-music.on svg { display: none; }
.sm-music.on .sm-eq { display: flex; }
.sm-music.hint { animation: smPulse 1.8s ease-in-out 3; }
@keyframes smEq { 0%, 100% { height: 4px; } 50% { height: 15px; } }
@keyframes smPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(168, 131, 78, 0.45); } 50% { box-shadow: 0 0 0 10px rgba(168, 131, 78, 0); } }
@media (prefers-reduced-motion: reduce) {
  .sm-music .sm-eq i, .sm-music.hint { animation: none; }
  .sm-music .sm-eq i { height: 10px; }
}

/* ================= Ordinateur ================= */
@media (min-width: 900px) {
  .header { padding-top: 2.6rem; }
  .header::before { width: 380px; }
  .header p { font-size: 1.9rem; }
  .container { max-width: 560px; }
  #homeChoice.container { max-width: 1120px; padding-left: 2.5rem; padding-right: 2.5rem; }
  #homeChoice > .home-card { max-width: 560px; margin-left: auto; margin-right: auto; }
  .sm-sec { margin-top: 5.5rem; }
  .sm-title { font-size: 1.75rem; }
  .sm-title.sm-serif { font-size: 2.8rem; }
  .sm-lead { font-size: 1.4rem; max-width: 40ch; }
  .sm-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; overflow: visible; box-shadow: none; border-radius: 0; }
  .sm-gallery img { aspect-ratio: 4 / 5; border-radius: 1.5rem; box-shadow: 0 14px 34px rgba(110, 84, 48, 0.12); }
  .sm-gallery img:nth-child(2) { margin-top: 2.5rem; }
  .sm-dots { display: none; }
  .sm-duo { max-width: 760px; margin-left: auto; margin-right: auto; gap: 1.4rem; }
  .sm-duo figure:nth-child(2) { margin-top: 3rem; }
  #smPrestas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; align-items: start; }
  #smPrestasSec .sm-cta { max-width: 420px; }
  .sm-hours { max-width: 560px; margin-left: auto; margin-right: auto; }
  .sm-sticky { width: 380px; }
}

/* Plusieurs prestations : prestation choisie cochee + encart « Votre selection » avec le total */
.svc-wrap .svc-group.open { border-color: var(--accent); }
.svc-wrap .svc-group.selected .c-day::before {
  content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 0.55rem; vertical-align: -3px; border-radius: 50%;
  background: var(--rosegold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svc-summary {
  position: sticky; bottom: 10px; z-index: 5; margin-top: 1.1rem; padding: 1rem 1.1rem 0.9rem;
  border-radius: 1.2rem; border: 1px solid var(--accent); background: #fff; box-shadow: 0 10px 26px rgba(140, 106, 58, 0.16);
}
.svc-sum-title { color: var(--accent-dark); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em; margin-bottom: 0.35rem; }
.svc-sum-row { font-size: 0.88rem; color: var(--ink); }
.svc-sum-meta { color: var(--muted); }
.svc-sum-del { width: 36px; height: 36px; border-color: var(--border-2); color: var(--accent-dark); background: var(--blush); line-height: 1; }
.svc-sum-total { border-top-color: #f2e7e3; color: var(--ink); }
.svc-sum-total b { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.svc-sum-hint { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 0.95rem; }

/* Jayani : une photo de l'institut (au lieu des 2 réalisations de Studio M) */
.sm-solo { margin-top: 1.2rem; }
.sm-solo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1.4rem; display: block; cursor: zoom-in; box-shadow: 0 14px 34px rgba(110, 84, 48, 0.14); }
@media (min-width: 900px) { .sm-solo { max-width: 520px; margin-left: auto; margin-right: auto; } }
