/* ReflexoLib — feuille de style des sites vitrines praticiens.
   Les polices (--font-head / --font-body) et la palette (--sp…) sont injectées
   par le renderer selon l'univers du thème (Google Fonts + subsite-palettes). */

:root {
  --sp: #0b4f43;          /* primaire */
  --sp-dark: #083b32;
  --on-sp: #ffffff;
  --accent: #dde7c7;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --muted: #f1efe9;
  --text: #1c1c1a;
  --text-soft: #55554f;
  --border: #e4e1d8;
  --star: #d99a06;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(20, 24, 18, 0.07);
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body.theme-sable {
  --sp: #8a5a33; --sp-dark: #6d4626; --accent: #f0e2cf;
  --bg: #faf6f0; --muted: #f3ece1; --border: #e8ddcd;
}
body.theme-ardoise {
  --sp: #2f3e46; --sp-dark: #232f35; --accent: #cad2c5;
  --bg: #f7f8f8; --muted: #edf0ef; --border: #dde2e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sp); }

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.22; }
h2 { font-size: 2.25rem; text-align: center; margin-bottom: 12px; letter-spacing: -0.01em; }
.section { padding: 84px 0; }
.section-intro { text-align: center; color: var(--text-soft); max-width: 640px; margin: 0 auto 44px; font-size: 1.05rem; }

/* Kicker : petit libellé au-dessus des titres de section */
.kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sp);
  margin-bottom: 10px;
}
.kicker::after {
  content: '';
  display: block;
  width: 34px; height: 2px;
  background: var(--sp);
  opacity: 0.5;
  margin: 10px auto 0;
}

.btn {
  display: inline-block;
  background: var(--sp);
  color: var(--on-sp);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 34px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--sp-dark); }
.btn-light { background: #ffffff; color: var(--sp); }
.btn-light:hover { background: var(--accent); }

/* ── Header / navigation ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--sp);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.site-header-name {
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
}
.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: #ffffff; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--sp);
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}
.hero-cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
/* Voile sombre au-dessus de la photo pour garder le texte blanc lisible */
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.18) 0%, rgba(10, 12, 16, 0.48) 100%);
}
.hero h1, .hero-tagline, .hero-rating { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero-inner { position: relative; padding: 108px 24px 96px; }
.hero-avatar {
  width: 104px; height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  border: 4px solid rgba(255, 255, 255, 0.45);
}
.hero h1 { font-size: 3.1rem; margin-bottom: 16px; letter-spacing: -0.01em; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.chip-outline { background: transparent; }
.hero-tagline { font-size: 1.25rem; color: rgba(255, 255, 255, 0.94); max-width: 640px; margin: 0 auto 24px; }
.hero-rating { margin-bottom: 28px; color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; }
.hero-note { margin-top: 14px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.66); letter-spacing: 0.04em; }
.stars { color: var(--star); letter-spacing: 2px; }
.hero .stars { color: #ffd76e; }

/* Barre de statistiques dans le hero (vraies données) */
.hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0;
  margin: 44px auto 0;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  overflow: hidden;
}
.hero-stats .stat {
  flex: 1 1 0;
  min-width: 150px;
  padding: 18px 12px;
  text-align: center;
}
.hero-stats .stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.55rem; color: #fff; line-height: 1.15; }
.hero-stats span { font-size: 0.76rem; color: rgba(255, 255, 255, 0.72); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Heros en deux colonnes (photo détourée / carte de réservation) ── */
.hero-split { text-align: left; overflow: visible; }
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
  position: relative;
}
.hero-copy h1 { font-size: 3.2rem; margin-bottom: 16px; }
.hero-split .hero-chips { justify-content: flex-start; }
.hero-split .hero-tagline { margin: 0 0 22px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-phone { font-size: 0.9rem; }

/* Hero clair : texte sombre sur fond du thème */
.hero-light { background: linear-gradient(160deg, var(--accent) 0%, var(--bg) 58%); color: var(--text); }
.hero-light h1, .hero-light .hero-tagline, .hero-light .hero-rating { text-shadow: none; }
.hero-light .hero-tagline { color: var(--text-soft); }
.hero-light .hero-rating { color: var(--text-soft); }
.hero-light .hero-note { color: var(--text-soft); opacity: 0.85; }
.hero-light .hero-phone { color: var(--text-soft); }
.hero-light .chip { background: #fff; border-color: var(--border); color: var(--sp-dark); box-shadow: var(--shadow); }
.hero-light .chip-outline { background: transparent; }

/* Photo détourée — forme selon l'univers */
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(20, 24, 18, 0.22);
}
body.layout-vague .hero-media img { border-radius: 999px 999px 26px 26px; }         /* arche */
body.layout-organique .hero-media img { border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; } /* galet */
body.layout-points .hero-media { transform: rotate(2.5deg); }
body.layout-points .hero-media img { border-radius: 18px; border: 4px solid #fff; box-shadow: 10px 10px 0 var(--sp); }
/* Les fonds décorés des layouts s'adaptent au hero clair */
body.layout-points .hero.hero-light {
  background-color: #fff;
  background-image: radial-gradient(color-mix(in srgb, var(--sp) 16%, transparent) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
body.layout-organique .hero.hero-light::before { background: color-mix(in srgb, var(--sp) 9%, transparent); }
body.layout-organique .hero.hero-light::after { background: color-mix(in srgb, var(--sp) 6%, transparent); }

/* Carte de réservation dans le hero (tarifs réels + CTA) */
.hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(20, 24, 18, 0.18);
  border: 1px solid var(--border);
  color: var(--text);
}
.hero-card-title { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 16px; }
.hero-card-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.hero-card-row em { display: block; font-style: normal; font-size: 0.78rem; color: var(--text-soft); }
.hero-card-row strong { color: var(--sp); white-space: nowrap; }
.hero-card-btn { display: block; text-align: center; margin-top: 18px; }
.hero-card-note { text-align: center; font-size: 0.78rem; color: var(--text-soft); margin-top: 12px; }
.hero-card-empty { color: var(--text-soft); font-size: 0.9rem; }

@media (max-width: 860px) {
  .hero-split-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; padding-bottom: 64px; }
  .hero-copy h1 { font-size: 2.4rem; }
  .hero-media img { aspect-ratio: 16 / 11; }
}

/* ── À propos ─────────────────────────────────────────────────────── */
.about-text { color: var(--text-soft); white-space: pre-line; margin-top: 28px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 44px;
  align-items: center;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { aspect-ratio: 16 / 10; }
}

/* ── Services ─────────────────────────────────────────────────────── */
.bg-muted { background: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
/* Pricing : cartes verticales, carte du milieu mise en avant */
.pricing { align-items: stretch; }
.service-card {
  display: flex; flex-direction: column;
  text-align: center;
  padding: 34px 26px 28px;
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 24, 18, 0.12); }
.service-card h3 { font-family: inherit; font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; }
.service-price-lg { font-family: var(--font-head); font-size: 2.3rem; color: var(--sp); margin: 10px 0 2px; line-height: 1.1; }
.service-duration { color: var(--text-soft); font-size: 0.82rem; }
.service-desc { color: var(--text-soft); font-size: 0.9rem; margin-top: 12px; flex: 1; }
.service-btn { margin-top: 20px; padding: 12px 20px; font-size: 0.88rem; }
.btn-ghost { background: transparent; color: var(--sp); border: 1.5px solid var(--sp); }
.btn-ghost:hover { background: var(--sp); color: #fff; }
.service-card.featured {
  border: 2px solid var(--sp);
  box-shadow: 0 18px 44px rgba(20, 24, 18, 0.14);
  transform: scale(1.03);
  z-index: 1;
}
.service-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.service-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--sp); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
  white-space: nowrap;
}

/* ── Avis ─────────────────────────────────────────────────────────── */
.review-card { background: var(--muted); box-shadow: none; position: relative; padding-top: 34px; }
.review-card::before {
  content: '“';
  position: absolute; top: 6px; left: 20px;
  font-family: var(--font-head);
  font-size: 3.4rem; line-height: 1;
  color: var(--sp); opacity: 0.25;
}
.review-text { color: var(--text-soft); font-size: 0.94rem; margin-top: 12px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 9px; color: var(--text-soft); font-size: 0.82rem; margin-top: 16px; font-weight: 600; }
.review-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sp); color: #fff;
  font-size: 0.78rem; font-weight: 700; font-style: normal;
}

/* ── Lieux ────────────────────────────────────────────────────────── */
.location-card h3 { font-family: inherit; font-weight: 600; font-size: 1.02rem; }
.location-address { color: var(--text-soft); font-size: 0.92rem; margin-top: 10px; }
.location-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--sp);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.location-link:hover { text-decoration: underline; }

/* ── Contact ──────────────────────────────────────────────────────── */
.contact {
  background: var(--sp);
  color: #ffffff;
  text-align: center;
}
.contact h2 { color: #ffffff; }
.contact-text { color: rgba(255, 255, 255, 0.88); max-width: 560px; margin: 0 auto 20px; }
.contact-info { margin-bottom: 30px; color: rgba(255, 255, 255, 0.92); }
.contact-info p { margin: 4px 0; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.footer a { color: var(--sp); text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }

.footer-rich { text-align: left; padding: 48px 0 24px; }
.footer-cols {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sp);
  margin-bottom: 8px;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-soft); }
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 10px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; font-size: 0.88rem; }
.footer-col a { font-weight: 500; }
.footer-text { color: var(--text-soft); }
.footer-cta { display: inline-block; margin-top: 14px; background: var(--sp); color: #fff; }
.footer-cta:hover { background: var(--sp-dark); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border); padding-top: 20px; }
.footer-rich .footer-bottom { margin-top: 8px; }
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr !important; }
}

/* ── Animations (désactivées si prefers-reduced-motion) ───────────── */
@keyframes ss-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes ss-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: ss-fade-up 0.7s ease both; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.32s; }
  .hero-inner > *:nth-child(6) { animation-delay: 0.4s; }

  .card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20, 24, 18, 0.12); }
  .btn { transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
  .btn:hover { transform: translateY(-1px); }

  .site-nav a { position: relative; }
  .site-nav a::after {
    content: '';
    position: absolute; left: 0; bottom: -4px;
    width: 0; height: 2px; background: #ffffff;
    transition: width 0.25s ease;
  }
  .site-nav a:hover::after { width: 100%; }

  /* Révélation au scroll — navigateurs récents uniquement (progressif) */
  @supports (animation-timeline: view()) {
    .section .container {
      animation: ss-fade-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
.hero-inner { position: relative; z-index: 1; }

/* ── Thèmes de blocs (mise en page) ───────────────────────────────── */
/* layout-classique = défaut (rien à surcharger) */

/* Épuré : grands espaces, fonds unis, cartes légères */
body.layout-epure .section { padding: 104px 0; }
body.layout-epure .bg-muted { background: var(--bg); }
body.layout-epure .hero-inner { padding: 132px 24px; }
body.layout-epure .card { box-shadow: none; border: 1px solid var(--border); }
body.layout-epure h2 { margin-bottom: 20px; }
body.layout-epure .section-intro { margin-bottom: 56px; }

/* Compact : dense, efficace */
body.layout-compact .section { padding: 40px 0; }
body.layout-compact .hero-inner { padding: 56px 24px; }
body.layout-compact .hero h1 { font-size: 2.2rem; }
body.layout-compact .hero-avatar { width: 80px; height: 80px; margin-bottom: 16px; }
body.layout-compact .cards { gap: 14px; margin-top: 24px; }
body.layout-compact .card { padding: 18px; border-radius: 10px; }
body.layout-compact h2 { font-size: 1.6rem; }

/* Zen : halo doux, tout en rondeurs */
body.layout-zen .hero { background: radial-gradient(120% 95% at 50% 0%, var(--sp) 0%, var(--sp-dark) 100%); }
body.layout-zen .hero-inner { padding: 112px 24px; }
body.layout-zen .section { padding: 88px 0; }
body.layout-zen h2 { font-weight: 400; letter-spacing: 0.01em; }
body.layout-zen .card { border-radius: 26px; box-shadow: 0 8px 28px rgba(20, 24, 18, 0.07); }
body.layout-zen .btn { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16); }
body.layout-zen .hero-avatar { border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08); }

/* Vague : séparateurs ondulés (masques SVG maison, libres de droit) */
body.layout-vague .hero { padding-bottom: 30px; }
body.layout-vague .hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 64px;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 240 64 480 4 720 26 C 960 48 1200 10 1440 34 L 1440 64 L 0 64 Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 240 64 480 4 720 26 C 960 48 1200 10 1440 34 L 1440 64 L 0 64 Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
body.layout-vague .contact { position: relative; padding-top: 100px; }
body.layout-vague .contact::before {
  content: '';
  position: absolute; left: 0; right: 0; top: -1px; height: 64px;
  background: var(--bg);
  transform: scaleY(-1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 240 64 480 4 720 26 C 960 48 1200 10 1440 34 L 1440 64 L 0 64 Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 240 64 480 4 720 26 C 960 48 1200 10 1440 34 L 1440 64 L 0 64 Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
body.layout-vague .card { border-radius: 18px; }

/* Organique : bulles flottantes, formes asymétriques */
body.layout-organique .hero::before,
body.layout-organique .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
body.layout-organique .hero::before { width: 340px; height: 340px; top: -120px; right: -80px; }
body.layout-organique .hero::after { width: 220px; height: 220px; bottom: -70px; left: -60px; background: rgba(255, 255, 255, 0.05); }
@media (prefers-reduced-motion: no-preference) {
  body.layout-organique .hero::before { animation: ss-float 9s ease-in-out infinite; }
  body.layout-organique .hero::after { animation: ss-float 12s ease-in-out infinite reverse; }
}
body.layout-organique .card { border-radius: 30px 12px 30px 12px; }
body.layout-organique .btn { border-radius: 24px 10px 24px 10px; }
body.layout-organique .hero-avatar { border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%; }

/* Éditorial : typographie affirmée, alignement gauche, filets */
body.layout-editorial .hero { text-align: left; }
body.layout-editorial .hero-inner { padding: 96px 24px; }
body.layout-editorial .hero h1 { font-size: 3.4rem; }
body.layout-editorial .hero-avatar { margin: 0 0 24px; }
body.layout-editorial .hero-tagline { margin-left: 0; }
body.layout-editorial .hero-chips { justify-content: flex-start; }
body.layout-editorial .kicker { text-align: left; }
body.layout-editorial .kicker::after { margin-left: 0; }
body.layout-editorial h2 { text-align: left; font-size: 2.4rem; }
body.layout-editorial h2::after { content: ''; display: block; width: 56px; height: 3px; background: var(--sp); margin-top: 14px; }
body.layout-editorial .section-intro { text-align: left; margin-left: 0; }
body.layout-editorial .bg-muted { background: var(--bg); }
body.layout-editorial .card { box-shadow: none; border: none; border-top: 2px solid var(--sp); border-radius: 0; background: transparent; padding-left: 0; }
body.layout-editorial .card:hover { transform: none; box-shadow: none; }

/* Dégradé : fonds en dégradés profonds */
body.layout-degrade .hero { background: linear-gradient(135deg, var(--sp) 0%, var(--sp-dark) 55%, #101018 130%); }
body.layout-degrade .contact { background: linear-gradient(135deg, var(--sp-dark) 0%, var(--sp) 100%); }
body.layout-degrade .btn { background: linear-gradient(135deg, var(--sp) 0%, var(--sp-dark) 100%); }
body.layout-degrade .btn-light { background: #ffffff; }
body.layout-degrade .card { border: 1px solid var(--border); box-shadow: 0 10px 34px rgba(0, 0, 0, 0.07); border-radius: 16px; }
body.layout-degrade .stars { color: #ffd76e; }

/* Feuillage : motif végétal (SVG maison) en filigrane */
body.layout-feuillage .hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M60 12 C 84 28 88 58 60 92 C 32 58 36 28 60 12 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.09' stroke-width='2'/%3E%3Cpath d='M60 30 L 60 86' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 150px 150px;
}
body.layout-feuillage .section { padding: 84px 0; }
body.layout-feuillage .card { border-radius: 20px; border: 1px solid var(--border); box-shadow: none; }
body.layout-feuillage h2 { font-style: italic; }

/* Pointillé : trame de points, style ludique */
body.layout-points .hero {
  background-color: var(--sp);
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
body.layout-points .contact {
  background-color: var(--sp);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
body.layout-points .card { border: 2px solid var(--border); box-shadow: 5px 5px 0 var(--border); border-radius: 14px; }
body.layout-points .card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--border); }
body.layout-points .btn { border-radius: 12px; }
body.layout-points .hero-avatar { border-radius: 18px; }

/* ── Bienfaits ────────────────────────────────────────────────────── */
.benefit-card { text-align: left; }
.benefit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--sp) 10%, #ffffff);
  color: var(--sp);
  margin-bottom: 16px;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-text { color: rgba(0, 0, 0, 0.62); font-size: 0.95rem; margin-top: 8px; line-height: 1.55; }

/* ── Déroulement (étapes numérotées) ──────────────────────────────── */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 26px; text-align: left; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sp);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; }
.step-text { color: rgba(0, 0, 0, 0.62); font-size: 0.95rem; line-height: 1.55; }

/* ── FAQ (accordéon natif) ────────────────────────────────────────── */
.faq { margin-top: 32px; text-align: left; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem; color: var(--sp);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '–'; }
.faq-answer { padding: 0 20px 16px; color: rgba(0, 0, 0, 0.62); font-size: 0.95rem; line-height: 1.6; }

/* ── Galerie ──────────────────────────────────────────────────────── */
.gallery {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.gallery img:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ── Bandeau CTA ──────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(120deg, var(--sp) 0%, var(--sp-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { color: #fff; }
.cta-text { color: rgba(255, 255, 255, 0.88); max-width: 560px; margin: 12px auto 0; }
.cta-band .btn { margin-top: 26px; }

/* ── Réservation intégrée (widget natif aux couleurs du site) ─────── */
.booking { background: var(--muted); }
.booking-login { margin-top: 18px; font-weight: 500; }
.booking-login a { color: var(--sp); }
.booking-fallback { margin-top: 6px; font-size: 0.85rem; color: rgba(0, 0, 0, 0.5); }
.booking-fallback a { color: inherit; text-decoration: underline; }

.rlw {
  max-width: 720px;
  margin: 32px auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  text-align: left;
}
.rlw-steps {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem; color: rgba(0, 0, 0, 0.45);
}
.rlw-step { display: inline-flex; align-items: center; gap: 7px; }
.rlw-step .n {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid currentColor; font-size: 0.72rem; font-weight: 700;
}
.rlw-step.active { color: var(--sp); font-weight: 700; }
.rlw-step.active .n { background: var(--sp); border-color: var(--sp); color: #fff; }
.rlw-step.done { color: var(--sp); }
.rlw-sep { flex: 1; height: 1px; background: var(--border); }
.rlw-body { padding: 22px; }
.rlw-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.rlw-block { display: block; }
.rlw-center { text-align: center; }
.rlw-muted { color: rgba(0, 0, 0, 0.55); font-size: 0.85rem; }
.rlw-link {
  color: var(--sp); text-decoration: underline; cursor: pointer;
  background: none; border: 0; font: inherit; font-size: 0.9em; padding: 0;
}
.rlw-service {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  width: 100%; padding: 14px 16px; margin-bottom: 10px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: #fff; cursor: pointer; font: inherit; text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.rlw-service:hover { border-color: var(--sp); background: var(--bg); }
.rlw-service-name { font-weight: 600; }
.rlw-price { color: var(--sp); font-weight: 700; white-space: nowrap; }
.rlw-weeknav { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; font-weight: 600; }
.rlw-nav {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer;
  font-size: 1.1rem; line-height: 1; color: var(--sp);
}
.rlw-nav:hover:not(:disabled) { border-color: var(--sp); }
.rlw-nav:disabled { opacity: 0.35; cursor: default; }
.rlw-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.rlw-day {
  padding: 8px 2px; border: 1.5px solid var(--border); border-radius: 10px;
  background: #fff; cursor: pointer; text-align: center; font: inherit; font-size: 0.78rem;
}
.rlw-day .rlw-count { font-size: 0.68rem; color: rgba(0, 0, 0, 0.45); }
.rlw-day.sel { background: var(--sp); border-color: var(--sp); color: #fff; }
.rlw-day.sel .rlw-count { color: rgba(255, 255, 255, 0.8); }
.rlw-day:disabled { opacity: 0.35; cursor: default; }
.rlw-slots {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px; margin-top: 14px; max-height: 220px; overflow-y: auto; padding: 2px;
}
.rlw-slot {
  padding: 8px 2px; border: 1.5px solid var(--border); border-radius: 999px;
  background: #fff; cursor: pointer; font: inherit; font-size: 0.85rem;
}
.rlw-slot:hover { border-color: var(--sp); }
.rlw-slot.sel { background: var(--sp); border-color: var(--sp); color: #fff; }
.rlw-recap {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; margin: 16px 0 12px; font-size: 0.95rem; line-height: 1.55;
}
.rlw-cta {
  display: block; width: 100%; margin-top: 14px; padding: 14px;
  border: 0; border-radius: 999px; background: var(--sp); color: #fff;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: background 0.15s ease;
}
.rlw-cta:hover:not(:disabled) { background: var(--sp-dark); }
.rlw-cta:disabled { opacity: 0.55; cursor: default; }
.rlw-cta-link { text-align: center; text-decoration: none; box-sizing: border-box; }
.rlw-tabs { display: flex; gap: 6px; margin-bottom: 16px; background: var(--muted); border-radius: 999px; padding: 4px; }
.rlw-tab {
  flex: 1; padding: 9px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; color: rgba(0, 0, 0, 0.55);
}
.rlw-tab.sel { background: #fff; color: var(--sp); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.rlw-form { margin-bottom: 10px; }
.rlw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rlw-input {
  width: 100%; box-sizing: border-box; padding: 12px 14px; margin-bottom: 10px;
  border: 1.5px solid var(--border); border-radius: 10px; font: inherit;
}
.rlw-input:focus { outline: 2px solid var(--sp); outline-offset: 0; border-color: var(--sp); }
.rlw-code { text-align: center; letter-spacing: 8px; font-size: 1.3rem; font-weight: 700; }
.rlw-error { background: #fdecec; color: #b3261e; padding: 11px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.rlw-info { background: var(--bg); color: var(--sp-dark); padding: 11px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.rlw-done { text-align: center; padding: 8px 0; }
.rlw-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sp); color: #fff; font-size: 1.6rem; font-weight: 700;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .rlw-body { padding: 16px; }
  .rlw-row { grid-template-columns: 1fr; gap: 0; }
  .rlw-steps { font-size: 0.72rem; padding: 13px 14px; }
}

/* ── Témoignages sur fond sombre (univers zen / dégradé / éditorial) ── */
body.layout-zen #avis, body.layout-degrade #avis, body.layout-editorial #avis {
  background: var(--sp-dark);
}
body.layout-zen #avis h2, body.layout-degrade #avis h2, body.layout-editorial #avis h2 { color: #fff; }
body.layout-zen #avis .kicker, body.layout-degrade #avis .kicker, body.layout-editorial #avis .kicker { color: rgba(255, 255, 255, 0.75); }
body.layout-zen #avis .kicker::after, body.layout-degrade #avis .kicker::after, body.layout-editorial #avis .kicker::after { background: rgba(255, 255, 255, 0.55); }
body.layout-zen #avis .review-card, body.layout-degrade #avis .review-card, body.layout-editorial #avis .review-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
body.layout-zen #avis .review-text, body.layout-degrade #avis .review-text, body.layout-editorial #avis .review-text { color: rgba(255, 255, 255, 0.88); }
body.layout-zen #avis .review-author, body.layout-degrade #avis .review-author, body.layout-editorial #avis .review-author { color: rgba(255, 255, 255, 0.65); }
body.layout-zen #avis .review-card::before, body.layout-degrade #avis .review-card::before, body.layout-editorial #avis .review-card::before { color: #fff; opacity: 0.2; }
body.layout-zen #avis .review-avatar, body.layout-degrade #avis .review-avatar, body.layout-editorial #avis .review-avatar { background: rgba(255, 255, 255, 0.2); }

/* ── Spécialités (zigzag image / contenu) ─────────────────────────── */
.spec-rows { margin-top: 48px; display: grid; gap: 72px; }
.spec-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.spec-row.reverse .spec-media { order: 2; }
.spec-media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(20, 24, 18, 0.16);
}
.spec-row.reverse .spec-media img { border-radius: 22px 22px 22px 90px; }
.spec-row:not(.reverse) .spec-media img { border-radius: 22px 22px 90px 22px; }
.spec-copy h3 { font-size: 1.6rem; margin-bottom: 12px; }
.spec-text { color: var(--text-soft); line-height: 1.7; }
.spec-points { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.spec-points li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  font-weight: 500;
}
.spec-points li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sp) 14%, #ffffff);
  color: var(--sp);
  font-size: 0.7rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.spec-link { font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.spec-link:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .spec-row, .spec-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .spec-row.reverse .spec-media { order: 0; }
  .spec-points { grid-template-columns: 1fr; }
  .spec-rows { gap: 52px; }
}

/* ── Citation ─────────────────────────────────────────────────────── */
.quote-band { padding: 76px 0; background: var(--muted); }
.quote { text-align: center; }
.quote p {
  font-family: var(--font-head);
  font-size: 1.7rem;
  line-height: 1.45;
  color: var(--text);
  quotes: '«\00a0' '\00a0»';
}
.quote p::before { content: open-quote; color: var(--sp); }
.quote p::after { content: close-quote; color: var(--sp); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.88rem; color: var(--text-soft); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Horaires d'ouverture ─────────────────────────────────────────── */
.hours {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hours-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 22px;
  font-size: 0.95rem;
}
.hours-row + .hours-row { border-top: 1px solid var(--border); }
.hours-day { font-weight: 600; }
.hours-ranges { font-variant-numeric: tabular-nums; }
.hours-row.closed .hours-ranges { color: var(--text-soft); font-style: italic; }
.hours-note { text-align: center; color: var(--text-soft); font-size: 0.85rem; margin-top: 16px; }

/* ── Carte & itinéraire ───────────────────────────────────────────── */
.maps { margin-top: 36px; display: grid; gap: 22px; }
.maps-multi { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.map-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-frame { display: block; width: 100%; height: 320px; border: 0; }
.maps-multi .map-frame { height: 240px; }
.map-info { padding: 20px 24px 24px; }
.map-info h3 { font-family: inherit; font-weight: 600; font-size: 1.05rem; }
.map-address { color: var(--text-soft); font-size: 0.92rem; margin: 8px 0 16px; }
.map-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-small { padding: 10px 22px; font-size: 0.85rem; }
.map-link { font-size: 0.85rem; font-weight: 600; }

/* ── Formulaire de contact ────────────────────────────────────────── */
.rlc-form { max-width: 620px; margin: 36px auto 0; }
.rlc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rlc-input {
  width: 100%; box-sizing: border-box;
  padding: 13px 16px; margin-bottom: 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font: inherit;
  color: var(--text);
}
.rlc-input:focus { outline: 2px solid var(--sp); outline-offset: 0; border-color: var(--sp); }
.rlc-input::placeholder { color: var(--text-soft); opacity: 0.75; }
.rlc-textarea { resize: vertical; min-height: 130px; }
.rlc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rlc-submit { display: block; width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.rlc-submit:disabled { opacity: 0.55; cursor: default; }
.rlc-status { text-align: center; margin-top: 14px; font-size: 0.92rem; min-height: 1.4em; }
.rlc-status.ok { color: var(--sp); font-weight: 600; }
.rlc-status.err { color: #b3261e; font-weight: 600; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-inner { padding: 64px 20px; }
  h2 { font-size: 1.6rem; }
  .section { padding: 52px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .booking-frame iframe { height: 940px; }
}
