/* Thème par défaut — surchargé par centre.theme dans centres/<id>.js */
:root {
  --primary: #8a6a52;
  --primary-ink: #ffffff;
  --accent: #c9a98c;
  --bg: #fbf8f5;
  --surface: #ffffff;
  --alt: #f3ede7;
  --text: #2b2420;
  --muted: #7a6d64;
  --border: #e6ddd4;
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--primary); font-weight: 600; margin: 0 0 .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem var(--font-body); cursor: pointer; text-decoration: none; transition: transform .15s, opacity .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.35rem var(--font-title); margin-right: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-size: 1rem; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-full .brand-mark { width: auto; height: 54px; border-radius: 0; background: none; }
.brand-full .brand-mark img { width: auto; height: 54px; object-fit: contain; }
.brand-full #brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-logo { width: clamp(150px, 22vw, 230px); margin-bottom: 18px; }
.demo-notice { background: var(--text); color: var(--bg); text-align: center; font-size: .78rem; padding: 7px 16px; letter-spacing: .02em; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* Hero */
.hero { position: relative; padding: clamp(80px, 14vw, 160px) 0 clamp(60px, 10vw, 110px); background:
  radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 55%),
  radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 50%), var(--bg); background-size: cover; background-position: center; }
.hero.has-image { color: #fff; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.15)); }
.hero.has-image .lead, .hero.has-image .eyebrow { color: rgba(255,255,255,.88); }
.hero.has-image .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-inner { position: relative; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero-highlights { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .9rem; }
.hero-highlights li::before { content: "✦ "; color: var(--accent); }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--alt); }
.section-head { margin-bottom: 36px; }

/* Services */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { padding: .55em 1.2em; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font: 500 .9rem var(--font-body); color: var(--muted); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.service { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.service-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.price { font-weight: 700; font-size: 1.05rem; }
.duration { color: var(--muted); font-size: .85rem; }
.badge { align-self: flex-start; font-size: .72rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--text); }

/* À propos */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-media { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(135deg, var(--accent), var(--primary)); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checklist li::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: 10px; }

/* Équipe */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.member { text-align: center; }
.member-photo { aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 14px; background: linear-gradient(160deg, var(--alt), var(--accent)); background-size: cover; background-position: center; display: grid; place-items: center; font: 600 2.4rem var(--font-title); color: var(--primary); }
.member h3 { margin: 0; }
.member p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Avis */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.testimonial { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.testimonial .stars { color: var(--accent); letter-spacing: 2px; }
.testimonial blockquote { margin: 10px 0 14px; font-family: var(--font-title); font-size: 1.2rem; line-height: 1.4; }
.testimonial cite { font-style: normal; color: var(--muted); font-size: .88rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.contact-list a { text-decoration: none; }
.hours { border-collapse: collapse; margin-bottom: 28px; width: 100%; max-width: 360px; font-size: .92rem; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { font-weight: 700; color: var(--text); }
.map { min-height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--alt); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: .85rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.socials { display: flex; gap: 14px; }
.book-fab { display: none; }

/* Modal de réservation */
.modal { position: fixed; inset: 0; z-index: 50; display: none; }
.modal.open { display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 16, 14, .55); }
.modal-panel { position: relative; background: var(--surface); width: min(640px, 100% - 24px); max-height: calc(100vh - 32px); overflow: auto; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; counter-reset: s; }
.steps li { flex: 1; font-size: .75rem; color: var(--muted); border-top: 3px solid var(--border); padding-top: 6px; }
.steps li.done, .steps li.active { border-color: var(--primary); color: var(--text); }
.step-body { min-height: 220px; }
.choice-list { display: grid; gap: 8px; }
.choice { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.choice:hover { border-color: var(--accent); }
.choice.selected { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent); }
.choice small { color: var(--muted); display: block; }
.group-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 16px 0 6px; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; }
.date { flex: 0 0 64px; padding: 10px 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; text-align: center; font: inherit; color: inherit; line-height: 1.2; }
.date small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; }
.date strong { font-size: 1.2rem; }
.date.selected { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.date.selected small { color: inherit; }
.date:disabled { opacity: .35; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { padding: 10px 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; font: inherit; color: inherit; }
.slot.selected { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.empty { color: var(--muted); font-size: .92rem; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.booking-summary { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--alt); font-size: .88rem; }
.booking-summary:empty { display: none; }
.modal-actions { display: flex; justify-content: space-between; margin-top: 20px; }
.success { text-align: center; padding: 20px 0; }
.success .icon { font-size: 3rem; color: var(--primary); }

@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 16px; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner > .btn { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16/10; }
  .book-fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 30; box-shadow: var(--shadow); }
}
