/* Site public — palette nude / rose poudré, typographie sobre. Aucun style en ligne (CSP stricte). */
:root {
  --bg: #fbf7f4;
  --surface: #ffffff;
  --tint: #f4ebe6;
  --ink: #2a2023;
  --muted: #6b5c61;
  --line: #e8dcd6;
  --accent: #9b4a5a;
  --accent-ink: #ffffff;
  --accent-hover: #823c4a;
  --accent-soft: #f3e1e0;
  /* Valeurs d'origine ; /theme.css les remplace selon l'apparence choisie dans les réglages. */
  --line-strong: #cdbdb7;
  --ring: #d68a97;
  --glow: #f6dfdb;
  --topbar: rgba(251, 247, 244, .92);
  --n1a: #f1c9c6; --n1b: #e4a5a8;
  --n2a: #f6ddd4; --n2b: #ecc0b4;
  --n3a: #e6b8bf; --n3b: #c97c8b;
  --n4a: #f3e1e0; --n4b: #e3c1c5;
  --n5a: #efd5c4; --n5b: #dcb199;
  --ok: #2f6b4f;
  --danger: #a3322f;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(42, 32, 35, .05), 0 8px 24px rgba(42, 32, 35, .06);
  --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: calc(clamp(2.1rem, 6vw, 3.6rem) * var(--heading-scale, 1)); }
h2 { font-size: calc(clamp(1.7rem, 4vw, 2.4rem) * var(--heading-scale, 1)); }
h3 { font-size: calc(1.25rem * var(--heading-scale, 1)); }
p { margin: 0 0 1em; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }

/* En-tête */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--topbar); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--font-heading); font-size: calc(1.35rem * var(--heading-scale, 1)); font-weight: 600; color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 680px) { .nav a:not(.btn) { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-hover); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .92rem; }

/* Réseaux sociaux */
.icon { width: 1.25em; height: 1.25em; flex: none; }
.social-icons { display: inline-flex; align-items: center; gap: 4px; }
.social-icons:empty, .social-pills:empty { display: none; }
.social-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--accent); }
.social-icon:hover { background: var(--accent-soft); color: var(--accent-hover); }
.social-icon .icon { width: 22px; height: 22px; }
.social-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.social-lead { color: var(--muted); font-size: .95rem; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: var(--shadow); }
.pill:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 680px) { .nav { gap: 6px; } }

/* Héros */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 96px); background: radial-gradient(1200px 500px at 85% -10%, var(--glow) 0%, transparent 60%), var(--bg); }
.hero-inner { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.2fr .8fr; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
@media (max-width: 800px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { order: -1; justify-self: start; } }

/* Motif décoratif : cinq « ongles » */
.hero-art { display: flex; align-items: flex-end; gap: 10px; height: 220px; justify-self: end; }
.nail { display: block; width: 46px; border-radius: 22px 22px 14px 14px; box-shadow: inset -6px -8px 14px rgba(0, 0, 0, .06), inset 6px 8px 14px rgba(255, 255, 255, .5); }
.n1 { height: 120px; background: linear-gradient(160deg, var(--n1a), var(--n1b)); }
.n2 { height: 170px; background: linear-gradient(160deg, var(--n2a), var(--n2b)); }
.n3 { height: 200px; background: linear-gradient(160deg, var(--n3a), var(--n3b)); }
.n4 { height: 165px; background: linear-gradient(160deg, var(--n4a), var(--n4b)); }
.n5 { height: 105px; background: linear-gradient(160deg, var(--n5a), var(--n5b)); }
@media (max-width: 800px) { .hero-art { height: 150px; } .nail { width: 36px; } .n1 { height: 80px; } .n2 { height: 115px; } .n3 { height: 140px; } .n4 { height: 112px; } .n5 { height: 70px; } }

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tint { background: var(--tint); }

/* Prestations */
.services { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.service h3 { margin: 0; }
.service p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.service-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; }
.price { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; }
.dur { color: var(--muted); font-size: .9rem; }
.service .btn { margin-top: 12px; }

/* Galerie */
.gallery { columns: 3 220px; column-gap: 14px; margin-top: 28px; }
.gallery button { display: block; width: 100%; padding: 0; margin: 0 0 14px; border: 0; border-radius: 14px; overflow: hidden; background: var(--line); cursor: zoom-in; break-inside: avoid; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.03); }
.empty { color: var(--muted); font-style: italic; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(20, 12, 14, .92); }
.lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox figure { margin: 0; text-align: center; min-width: 0; }
.lightbox img { margin: 0 auto; max-height: 82vh; max-width: 100%; width: auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 12px; font-size: .95rem; opacity: .9; }
.lb-close, .lb-nav { background: rgba(255, 255, 255, .14); border: 0; color: #fff; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .28); }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
@media (max-width: 600px) { .lightbox[open] { grid-template-columns: 40px 1fr 40px; } .lb-nav { width: 38px; height: 38px; font-size: 1.6rem; } }

/* À propos */
.about { display: grid; gap: 40px; grid-template-columns: 1.3fr .9fr; align-items: start; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }
.about-text { white-space: pre-line; font-size: 1.05rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.info h3 { margin-bottom: .6em; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.contact:empty { display: none; }

/* Réservation */
#booking-form { display: grid; gap: 18px; margin-top: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; box-shadow: var(--shadow); min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; padding: 0 6px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 .9rem var(--font-body); }

.choices { display: grid; gap: 10px; margin-top: 8px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); transition: border-color .15s, background .15s; }
.choice input:checked + .choice-body { border-color: var(--accent); background: var(--accent-soft); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--ring); outline-offset: 2px; }
.choice-name { font-weight: 600; }
.choice-sub { color: var(--muted); font-size: .88rem; }
.choice-price { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; }
.cal-title { font-weight: 600; text-transform: capitalize; }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .78rem; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-day { aspect-ratio: 1; min-height: 40px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--line-strong); font: 500 .95rem var(--font-body); display: grid; place-items: center; padding: 0; }
button.cal-day { cursor: pointer; background: var(--bg); border-color: var(--line); color: var(--ink); }
button.cal-day:hover { border-color: var(--accent); }
button.cal-day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.start-2 { grid-column-start: 2; } .start-3 { grid-column-start: 3; } .start-4 { grid-column-start: 4; }
.start-5 { grid-column-start: 5; } .start-6 { grid-column-start: 6; } .start-7 { grid-column-start: 7; }

.slots-title { margin: 18px 0 8px; font-weight: 600; text-transform: capitalize; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-height: 44px; min-width: 76px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer; }
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.field { display: grid; gap: 6px; margin-top: 14px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font: inherit; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--ring); outline-offset: 0; border-color: var(--accent); }
.two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: .9rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; font-size: .98rem; }
.notice { border-radius: 12px; padding: 12px 16px; background: #fff3d6; color: #5a4300; margin: 0; }
.notice.error { background: #fbe3e1; color: #7c1f1c; }
.success { text-align: center; padding: 32px 20px; }
.success .tick { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 1.8rem; margin-bottom: 12px; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer p { margin: 0; }

/* Pages légales */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
