/* NailOS en ligne — site public « Rose Dorée » (couleurs du logo Cindy Rose Dorée), mobile d'abord */
:root {
  --bg: #f3d4cc; --paper: #fffaf8; --card: #fbebe6; --line: rgba(122, 65, 48, .14);
  --text: #4f2e25; --muted: #9a6f62; --title: #6b3b26; --gold: #80481b; --accent: #b9705a;
  --btn1: #e7b7a3; --btn2: #c4826f; --ok: #3f9a72; --warn: #b7862a; --bad: #c2475a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background-image: radial-gradient(circle at 85% -10%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 50%);
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; color: var(--title); margin: 0 0 .5em; }
h1 { font-size: 1.9rem; color: var(--gold); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
.small { font-size: .85rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }

/* en-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 250, 248, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; padding: 10px 16px 4px; text-decoration: none; color: var(--gold); font-family: Georgia, serif; font-size: 1.15rem; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.nav { display: flex; gap: 4px; overflow-x: auto; padding: 4px 12px 10px; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: 0 0 auto; padding: 8px 14px; border-radius: 20px; text-decoration: none; color: var(--text); font-size: .95rem; }
.nav a.on { background: var(--card); color: var(--title); }
.nav a.nav-cta { background: linear-gradient(135deg, var(--btn1), var(--btn2)); color: #fff; }

main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 18px 16px 40px; outline: none; }
.loading { text-align: center; color: var(--muted); padding: 40px 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 0 0 14px; box-shadow: 0 1px 3px rgba(122, 65, 48, .06); }

/* accueil */
.hero { text-align: center; padding: 10px 0 18px; }
.hero-logo { width: min(260px, 70vw); height: auto; display: block; margin: 0 auto 6px; }
.tagline { font-family: Georgia, serif; font-style: italic; color: var(--accent); font-size: 1.1rem; margin: 0 0 18px; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border: 0; }
.hours li.closed span:last-child { color: var(--muted); }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 26px; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--card); color: var(--title); }
.btn.primary { background: linear-gradient(135deg, var(--btn1), var(--btn2)); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.danger { background: transparent; border: 1px solid rgba(194, 71, 90, .4); color: var(--bad); }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* listes de choix */
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.choice:hover, .choice:focus-visible { border-color: var(--accent); }
.choice.on { border: 2px solid var(--accent); background: var(--card); }
.choice b { display: block; color: var(--title); font-weight: 600; }
.choice .price { white-space: nowrap; font-weight: 600; color: var(--gold); }
.cat { margin: 16px 0 8px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; background: var(--accent); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.2rem; cursor: pointer; color: var(--title); }
.qty output { min-width: 22px; text-align: center; font-weight: 600; }

/* étapes */
.steps { display: flex; gap: 6px; margin: 0 0 16px; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: rgba(122, 65, 48, .12); }
.steps i.on { background: var(--btn2); }
.sum { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--card); margin: 14px 0; }
.sum b { color: var(--gold); }

/* calendrier */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.2rem; cursor: pointer; color: var(--title); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal span { text-align: center; font-size: .75rem; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.cal button { aspect-ratio: 1; border-radius: 12px; border: 1px solid transparent; background: transparent; font: inherit; color: rgba(79, 46, 37, .35); cursor: default; }
.cal button.free { background: var(--paper); border-color: var(--line); color: var(--title); font-weight: 600; cursor: pointer; }
.cal button.free:hover { border-color: var(--accent); }
.cal button.today { box-shadow: inset 0 0 0 1px var(--accent); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots button { min-height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-weight: 600; color: var(--title); cursor: pointer; }
.slots button:hover { border-color: var(--accent); }

/* formulaires */
label.f { display: block; margin: 0 0 12px; }
label.f span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
input, textarea, select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--text); }
textarea { min-height: 90px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid rgba(185, 112, 90, .35); border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .92rem; }
.check input { width: 22px; min-height: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--btn2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* messages */
.msg { padding: 12px 16px; border-radius: 14px; margin: 12px 0; }
.msg.ok { background: rgba(63, 154, 114, .12); color: #2f7d5b; }
.msg.warn { background: rgba(183, 134, 42, .12); color: #8a6420; }
.msg.bad { background: rgba(194, 71, 90, .1); color: var(--bad); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: .8rem; font-weight: 600; background: var(--card); }
.badge.pending { color: var(--warn); }
.badge.confirmed { color: var(--ok); }
.badge.cancelled, .badge.declined { color: var(--bad); }
.codebox { font-family: ui-monospace, Consolas, monospace; font-size: 1.4rem; letter-spacing: .2em; color: var(--gold); text-align: center; padding: 10px; border: 1px dashed var(--accent); border-radius: 12px; margin: 8px 0; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border: 0; }
.stars { display: flex; gap: 6px; }
.stars button { font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; color: rgba(122, 65, 48, .25); padding: 4px; }
.stars button.on { color: #c9a063; }
.legal p { margin: .4em 0 .9em; }
.soon { text-align: center; padding: 20px 0; }
.soon img { width: min(220px, 60vw); }

.foot { text-align: center; padding: 18px 16px 26px; border-top: 1px solid var(--line); background: rgba(255, 250, 248, .6); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 6px; }
.foot a { color: var(--text); font-size: .9rem; }
.noscript { text-align: center; padding: 20px; }

@media (min-width: 720px) {
  .brand { padding: 12px 20px 6px; }
  .nav { justify-content: center; }
  h1 { font-size: 2.3rem; }
  .choices.two { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
