/* =====================================================================
   Mélodie de l’Âme — feuille de style
   Identité : doré / rose poudré / verre dépoli, Marcellus + Manrope,
   Dancing Script pour les accroches, Alex Brush pour les titres de soins.
   ===================================================================== */

/* ---------- Jetons ---------- */
:root {
  --blush: #faf3f3;
  --paper: #fffaf8;
  --gold: #baa356;            /* décor : bordures, pastilles, anneaux */
  --gold-text: #9a8440;       /* titres (contraste ≥ 3:1 sur fond clair) */
  --gold-deep: #7d6a2c;       /* liens et petits textes dorés (≥ 4.5:1) */
  --ink: #2f2622;
  --ink-2: #4a3f3a;
  --ink-3: #7c6f69;
  --rose: #ffa9f9;
  --mauve: #e0cde0;
  --mauve-2: #ead8ea;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.74);
  --line: rgba(186, 163, 86, 0.22);
  --shadow-card: 0 18px 60px rgba(84, 56, 40, 0.10);
  --shadow-soft: 0 10px 30px rgba(84, 56, 40, 0.07);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --font-serif: 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', 'Brush Script MT', cursive;
  --font-brush: 'Alex Brush', 'Dancing Script', cursive;
  --w: 1100px;
  --gutter: 22px;
  --topbar-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; }
p { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid rgba(186, 163, 86, 0.55); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--topbar-h) + 20px); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft);
  transition: top 160ms ease;
}
.skip-link:focus { top: 14px; }

/* ---------- Fond ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: var(--blush);
}
.backdrop::before {
  content: ""; position: absolute; inset: -140px;
  background-image:
    radial-gradient(circle at 0% 0%,     rgba(255, 169, 249, 0.55) 0%, rgba(255, 169, 249, 0) 45%),
    radial-gradient(circle at 100% 100%, rgba(255, 169, 249, 0.55) 0%, rgba(255, 169, 249, 0) 45%),
    radial-gradient(circle at 95% 15%,   rgba(226, 195, 134, 0.30) 0%, rgba(226, 195, 134, 0) 55%),
    radial-gradient(circle at 10% 95%,   rgba(226, 195, 134, 0.30) 0%, rgba(226, 195, 134, 0) 55%);
  filter: blur(55px);
  transform: scale(1.08);
}
.backdrop::after {
  content: ""; position: absolute; inset: -40px; pointer-events: none;
  background-image: radial-gradient(circle at 50% 42%,
    rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 22%,
    rgba(250, 243, 243, 0.55) 42%, rgba(250, 243, 243, 0) 68%);
  filter: blur(6px);
}

/* ---------- Barre de navigation ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--topbar-h);
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}
.topbar.is-scrolled {
  background: rgba(250, 243, 243, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(186, 163, 86, 0.16), 0 12px 40px rgba(84, 56, 40, 0.06);
}
.topbar-inner {
  position: relative; height: 100%;
  max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { position: relative; z-index: 60; display: inline-flex; align-items: center; border-radius: 12px; }
.brand-logo { height: 56px; width: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12)); }

.nav-desktop {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 6px 8px; border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 50px rgba(84, 56, 40, 0.10), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
}
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  position: relative; display: inline-block;
  padding: 10px 15px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
  font-size: 0.9rem; font-weight: 500; line-height: 1;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 140ms ease;
}
.nav-desktop .nav-list a:hover { background: rgba(255, 255, 255, 0.65); color: var(--ink); transform: translateY(-1px); }
.nav-desktop .nav-list a.is-active {
  color: var(--ink); background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(84, 56, 40, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.nav-desktop .nav-list a.is-active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 1px;
  background: var(--gold); opacity: 0.6;
}

.nav-cta {
  display: inline-flex; align-items: center;
  padding: 11px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--mauve-2), var(--mauve));
  color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(84, 56, 40, 0.12), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.nav-cta:hover { transform: translateY(-1px); background: rgba(186, 163, 86, 0.22); }

/* Menu mobile (checkbox, fonctionne sans JS) */
.nav-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 999px; cursor: pointer;
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 40px rgba(84, 56, 40, 0.12), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
  position: relative; z-index: 70;
}
.burger span { position: absolute; width: 18px; height: 2px; border-radius: 999px; background: var(--ink-2); transition: transform 200ms ease, opacity 200ms ease; }
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); }
.nav-toggle:checked ~ .burger span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .burger span:nth-child(3) { transform: rotate(-45deg); }

.nav-overlay { display: none; position: fixed; inset: 0; z-index: 50; background: rgba(47, 38, 34, 0.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nav-mobile {
  display: none; position: absolute; top: calc(var(--topbar-h) - 6px); left: 14px; right: 14px; z-index: 65;
  padding: 10px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 22px 70px rgba(84, 56, 40, 0.18), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
  opacity: 0; transform: translateY(-8px) scale(0.98);
  transition: opacity 160ms ease, transform 160ms ease;
}
.nav-toggle:checked ~ .nav-mobile { display: block; opacity: 1; transform: none; }
.nav-toggle:checked ~ .nav-overlay { display: block; }
.nav-list--mobile { flex-direction: column; align-items: stretch; gap: 6px; }
.nav-list--mobile a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 14px; font-size: 1rem;
  background: rgba(255, 255, 255, 0.5);
}
.nav-list--mobile a::after { content: "›"; font-size: 1.2rem; opacity: 0.45; }
.nav-list--mobile a.is-active { background: rgba(186, 163, 86, 0.14); color: var(--ink); }
.nav-list--mobile .nav-list-cta a { background: linear-gradient(135deg, var(--mauve-2), var(--mauve)); font-weight: 600; justify-content: center; }
.nav-list--mobile .nav-list-cta a::after { content: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.98rem; font-weight: 500; line-height: 1.1;
  text-decoration: none; color: var(--ink); cursor: pointer; border: 0;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--mauve-2), var(--mauve));
  box-shadow: 0 16px 40px rgba(84, 56, 40, 0.13), 0 2px 0 rgba(255, 255, 255, 0.85) inset;
}
.btn-primary:hover { transform: translateY(-2px); background: rgba(186, 163, 86, 0.2); box-shadow: 0 22px 55px rgba(84, 56, 40, 0.16), 0 2px 0 rgba(255, 255, 255, 0.9) inset; }
.btn-secondary {
  background: var(--glass-strong); border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 34px rgba(84, 56, 40, 0.10), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
}
.btn-secondary:hover { transform: translateY(-2px); background: #fff; }
.btn-ghost { background: transparent; color: var(--gold-deep); padding-inline: 12px; text-decoration: underline; text-decoration-color: rgba(186, 163, 86, 0.45); }
.btn-ghost:hover { text-decoration-color: var(--gold-deep); }

/* ---------- Éléments typographiques partagés ---------- */
.kicker { margin-bottom: 8px; font-family: var(--font-serif); font-size: 0.95rem; letter-spacing: 0.04em; color: var(--gold-deep); }
.section-title { font-family: var(--font-serif); font-size: clamp(1.75rem, 2.7vw, 2.35rem); color: var(--gold-text); }
.lead { margin-top: 8px; font-family: var(--font-script); font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.prose { color: var(--ink-2); font-size: 1.02rem; line-height: 1.8; }
.prose p + p { margin-top: 14px; }
.callout {
  margin: 18px 0; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.callout strong { color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chips li {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 500; color: var(--ink-2);
  background: rgba(186, 163, 86, 0.14);
  box-shadow: 0 2px 6px rgba(84, 56, 40, 0.06), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.chips-plus li::before { content: "+"; margin-right: 6px; font-weight: 700; color: var(--gold-deep); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 600; color: var(--ink);
  background: var(--glass-strong); border: 1px solid var(--line);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.presta-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; }
.empty { text-align: center; color: var(--ink-3); padding: 30px; }

/* ---------- Héro (accueil) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - 20px);
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--topbar-h) + 40px) var(--gutter) 56px;
}
.hero-art { position: absolute; inset: 0; display: grid; place-items: center; z-index: -1; pointer-events: none; }
.hero-mandala {
  width: min(82vw, 680px); height: auto; opacity: 0.13;
  animation: mandala-spin 160s linear infinite, art-in 1.8s ease-out both;
}
/* Image de fond du haut de page (facultative, choisie dans l'admin) :
   grande image centrée derrière le titre, au-dessus du mandala ; bords fondus dans le fond. */
.hero-image {
  position: absolute; left: 50%; top: 53%; transform: translate(-50%, -50%);
  height: 82%; width: auto; max-width: none;
  opacity: 0.55; filter: saturate(0.8) brightness(1.05); /* version douce et aérée */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 85%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 85%, transparent 100%);
  animation: hero-image-in 1.6s ease-out both;
}
/* Avec une image : mandala réduit à un filigrane, titre un peu plus petit (plus d'air) */
.hero--image .hero-mandala { animation: mandala-spin 160s linear infinite, art-in-faint 1.8s ease-out both; }
@keyframes art-in-faint { from { opacity: 0; transform: scale(0.92); } to { opacity: 0.06; transform: scale(1); } }
.hero--image .hero-title { font-size: clamp(2.15rem, 5vw, 4rem); }
/* Avec une image : le texte remonte dans le creux de l'image (comme la maquette),
   et le haut de page garde une hauteur minimale sur les petits écrans. */
.hero.hero--image {
  min-height: max(calc(100svh - 10px), 780px);
  padding-top: calc(var(--topbar-h) + 8px); padding-bottom: max(14svh, 110px);
}
@media (min-width: 901px) {
  /* Ordinateur : un peu plus de hauteur pour que l'image garde la même composition */
  .hero.hero--image { min-height: max(calc(100svh - 10px), 960px); }
}
/* Avec une image, la ligne « lieu — horaires » descend en bas du haut de page, sous l'image */
.hero--image .hero-meta {
  position: absolute; left: 0; right: 0; bottom: 48px; margin: 0; padding: 0 var(--gutter);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}
@keyframes hero-image-in { from { opacity: 0; } to { opacity: 0.55; } }
.ring {
  position: absolute; left: 50%; top: 50%;
  width: min(70vw, 560px); aspect-ratio: 1; margin-left: calc(min(70vw, 560px) / -2); margin-top: calc(min(70vw, 560px) / -2);
  border-radius: 50%; border: 1px solid rgba(186, 163, 86, 0.5);
  opacity: 0; animation: ring-pulse 10s ease-out infinite;
}
.ring-2 { animation-delay: 3.3s; }
.ring-3 { animation-delay: 6.6s; }
.hero-content { max-width: 820px; margin: 0 auto; }
.hero-title {
  font-family: var(--font-serif); font-size: clamp(2.35rem, 5.4vw, 4.3rem); line-height: 1.05;
  color: var(--gold-text); letter-spacing: -0.005em; text-wrap: balance;
  animation: rise 900ms cubic-bezier(.2,.7,.2,1) both;
}
.hero-lead {
  margin: 18px auto 0; max-width: 34ch;
  font-family: var(--font-script); font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 500; line-height: 1.3; color: var(--ink-2);
  animation: rise 900ms cubic-bezier(.2,.7,.2,1) 150ms both;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; animation: rise 900ms cubic-bezier(.2,.7,.2,1) 300ms both; }
.hero-meta { margin-top: 26px; font-size: 0.9rem; color: var(--ink-3); animation: rise 900ms cubic-bezier(.2,.7,.2,1) 450ms both; }
.page-head .hero-actions { margin-top: 20px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes art-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 0.13; transform: scale(1); } }
@keyframes mandala-spin { to { rotate: 360deg; } }
@keyframes ring-pulse {
  0%   { transform: scale(0.45); opacity: 0; }
  15%  { opacity: 0.55; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Sections « split » (présentation, parcours, sonothérapie) ---------- */
.split { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter); }
.split-card {
  display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.2fr; gap: 40px; align-items: start;
  padding: 34px; border-radius: var(--r-xl);
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}
.split--flip .split-media { order: 2; }
/* Photos : toujours entières, dans leur vrai format (jamais recadrées ni agrandies),
   et assez basses pour tenir dans l'écran. */
.split-media { position: sticky; top: calc(var(--topbar-h) + 24px); margin: 0; justify-self: center; }
.split-media img {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: max(360px, calc(100vh - var(--topbar-h) - 72px));
  border-radius: 20px; box-shadow: 0 14px 40px rgba(84, 56, 40, 0.12);
}
.split-media img.is-contain { object-fit: contain; background: rgba(255, 255, 255, 0.7); padding: 10px; }
.split-media::after {
  content: ""; position: absolute; inset: 12px -12px -12px 12px; z-index: -1;
  border-radius: 20px; border: 1px solid rgba(186, 163, 86, 0.35);
}
.split-body .section-title { text-wrap: balance; }
.split-body .prose { margin-top: 18px; }
/* Section sans image : une seule colonne, ligne de lecture confortable */
.split-card--text { grid-template-columns: 1fr; }
.split-card--text .split-body { max-width: 68ch; margin: 0 auto; }

/* ---------- Aperçu des soins (accueil) ---------- */
.soins { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 20px; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 26px; }
.soins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.soin-card {
  border-radius: 24px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.soin-card:hover { transform: translateY(-4px); box-shadow: 0 26px 70px rgba(84, 56, 40, 0.14); }
.soin-link { display: block; padding: 14px 14px 20px; color: inherit; text-decoration: none; border-radius: 24px; }
.soin-media { margin: 0 0 14px; }
.soin-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.soin-title { font-family: var(--font-brush); font-size: 2.2rem; line-height: 1; color: var(--gold-text); padding: 0 6px; }
.soin-sub { margin-top: 8px; padding: 0 6px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.55; }
.soin-more { display: inline-block; margin: 14px 6px 0; font-size: 0.9rem; font-weight: 600; color: var(--gold-deep); text-decoration: underline; text-decoration-color: rgba(186, 163, 86, 0.4); text-underline-offset: 4px; }
.soin-card:hover .soin-more { text-decoration-color: var(--gold-deep); }
.section-actions { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- Bandeau initiations ---------- */
.teaser { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter); }
.teaser-card {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 30px 34px; border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.45)); border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-card);
}
.teaser-card > div { max-width: 62ch; color: var(--ink-2); }
.teaser-card p { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 40px; }
.contact-card {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center;
  padding: 36px; border-radius: var(--r-xl);
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}
.contact-main p { margin-top: 12px; color: var(--ink-2); max-width: 56ch; }
.contact-main .hero-actions { justify-content: flex-start; margin-top: 22px; }
.contact-details { margin: 0; display: grid; gap: 12px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: 86px 1fr; gap: 10px; align-items: baseline; }
.contact-details dt { font-family: var(--font-serif); font-size: 0.9rem; color: var(--gold-deep); }
.contact-details dd { margin: 0; color: var(--ink-2); font-size: 0.98rem; overflow-wrap: anywhere; }
.citation { margin: 34px auto 0; text-align: center; font-family: var(--font-script); font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--gold-text); }

/* ---------- En-tête de page (prestations / initiations / légales) ---------- */
.page-head {
  max-width: var(--w); margin: calc(var(--topbar-h) + 34px) auto 0; padding: 36px var(--gutter) 30px;
  text-align: center; border-radius: var(--r-xl);
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
@media (max-width: 1160px) { .page-head { margin-left: var(--gutter); margin-right: var(--gutter); } }
.page-title { font-family: var(--font-serif); font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--gold-text); text-wrap: balance; }
.page-head .lead { max-width: 60ch; margin-left: auto; margin-right: auto; }
.page-text { max-width: 64ch; margin: 12px auto 0; color: var(--ink-2); }
.page-head .chips { justify-content: center; margin-top: 18px; }
.page-head--compact { padding-bottom: 26px; }

/* ---------- Prestations ---------- */
.presta-list { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 24px var(--gutter) 10px; display: grid; gap: 22px; }
.presta {
  display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 34px; align-items: start;
  padding: 26px; border-radius: var(--r-xl);
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.presta-media { margin: 0; position: sticky; top: calc(var(--topbar-h) + 24px); justify-self: center; }
.presta-media img {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: max(360px, calc(100vh - var(--topbar-h) - 72px));
  border-radius: 20px; box-shadow: 0 14px 40px rgba(84, 56, 40, 0.12);
}
.presta-title {
  display: inline-block; padding: 8px 26px 10px; border-radius: 999px;
  font-family: var(--font-brush); font-size: clamp(2.2rem, 3vw, 2.7rem); line-height: 1; color: var(--gold-text);
  background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(186, 163, 86, 0.5);
  box-shadow: 0 6px 18px rgba(84, 56, 40, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.presta-sub { margin-top: 12px; font-family: var(--font-serif); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.4; color: var(--ink); }
.presta-body .prose { margin-top: 14px; }
.presta-actions { margin-top: 20px; }

.presta-notes { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 14px var(--gutter) 30px; display: grid; gap: 16px; }
.note-perso {
  margin: 0; padding: 26px 30px; border-radius: var(--r-xl); text-align: center;
  font-family: var(--font-script); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.5; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.5); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.note-rappel { padding: 16px 22px; border-radius: 18px; font-size: 0.95rem; color: var(--ink-3); text-align: center; background: rgba(255, 255, 255, 0.4); }

/* ---------- Initiations ---------- */
.formation-list { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 24px var(--gutter) 10px; display: grid; gap: 22px; }
.formation {
  padding: 26px; border-radius: var(--r-xl);
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
/* Initiation illustrée : photo entière à gauche, texte à droite (comme les prestations) */
.formation.has-image { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 34px; align-items: start; }
.formation-media { margin: 0; position: sticky; top: calc(var(--topbar-h) + 24px); justify-self: center; }
.formation-media img {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: max(360px, calc(100vh - var(--topbar-h) - 72px));
  border-radius: 20px; box-shadow: 0 14px 40px rgba(84, 56, 40, 0.12);
}
.formation.has-image .formation-head { text-align: left; max-width: none; margin: 0 0 18px; }
.formation.has-image .formation-head .presta-meta { justify-content: flex-start; }
.formation-head { text-align: center; max-width: 70ch; margin: 0 auto 18px; }
.formation-title { font-family: var(--font-brush); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.05; color: var(--gold-text); }
.formation-sub { margin-top: 10px; color: var(--ink-2); line-height: 1.6; }
.formation-head .presta-meta { justify-content: center; }
.formation-blocs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.formation-bloc h3 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--gold-deep); margin-bottom: 8px; }
.formation-bloc ul { margin: 0; padding-left: 20px; color: var(--ink-2); line-height: 1.7; }
.formation-bloc li { margin: 4px 0; }
.formation-bloc li::marker { color: var(--gold); }
.formation-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.formation-note { font-size: 0.92rem; color: var(--ink-3); }
.formation-note::before { content: "✦"; margin-right: 8px; color: var(--gold); }

.info-grid { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 14px var(--gutter) 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { padding: 26px; border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.48); border: 1px solid rgba(255, 255, 255, 0.65); box-shadow: var(--shadow-soft); color: var(--ink-2); }
.info-card h2 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold-text); margin-bottom: 10px; }
.info-card p + p { margin-top: 10px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 900px; margin: 0 auto; padding: 24px var(--gutter) 40px; display: grid; gap: 18px; }
.legal-card { padding: clamp(22px, 4vw, 34px); border-radius: var(--r-xl); background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow-soft); color: var(--ink-2); }
.legal-card h2 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold-text); margin-bottom: 12px; }
.legal-card p + p, .legal-card ul + p { margin-top: 10px; }
.legal-card strong { color: var(--ink); font-weight: 600; }
.legal-list { margin: 8px 0; padding-left: 20px; }
.legal-list li::marker { color: var(--gold); }
.page-404 .page-head { margin-bottom: 60px; }

/* ---------- Pied de page ---------- */
.footer {
  margin-top: 50px; padding: 54px 0 30px; position: relative;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.5), transparent 55%),
              linear-gradient(180deg, rgba(250, 244, 241, 0.96), rgba(242, 232, 227, 0.98));
  border-top: 1px solid rgba(186, 163, 86, 0.16);
}
.footer-inner { max-width: calc(var(--w) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 36px; align-items: start; }
.footer-brand img { width: 96px; height: auto; }
.footer-tagline { margin-top: 12px; font-family: var(--font-script); font-size: 1.35rem; color: var(--ink-2); }
.footer h2 { font-family: var(--font-serif); font-size: 1rem; color: var(--gold-deep); margin-bottom: 12px; }
.footer ul { display: grid; gap: 6px; }
.footer li { color: var(--ink-2); font-size: 0.95rem; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-seo { margin: 36px auto 0; max-width: 880px; text-align: center; font-size: 0.86rem; line-height: 1.9; color: var(--ink-3); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-list a { padding: 10px 11px; font-size: 0.86rem; }
  .formation.has-image .formation-blocs { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-desktop, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .split-card, .contact-card, .presta { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .split--flip .split-media { order: 0; }
  .split-media, .presta-media, .formation-media { position: static; }
  /* Téléphone et tablette : photo entière, centrée, au plus 70 % de la hauteur d'écran */
  .split-media img, .presta-media img, .formation-media img { max-height: 70vh; max-height: 70svh; }
  .split-media::after { display: none; }
  .formation.has-image { display: block; }
  .formation.has-image .formation-head { text-align: center; }
  .formation.has-image .formation-head .presta-meta { justify-content: center; }
  .formation-media { display: flex; justify-content: center; margin: 0 0 20px; }
  .soins-grid { grid-template-columns: 1fr; }
  .formation-blocs, .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .contact-main .hero-actions { justify-content: center; }
  .contact-main { text-align: center; }
  .contact-main p { margin-inline: auto; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --topbar-h: 68px; }
  .brand-logo { height: 50px; }
  body { font-size: 1rem; }
  .hero { min-height: calc(100svh - 10px); padding-bottom: 44px; }
  .hero-actions .btn { width: 100%; }
  .split { padding: 16px var(--gutter); }
  .split-card, .presta, .formation, .teaser-card, .contact-card { padding: 18px; border-radius: 22px; }
  .page-head { padding: 28px 18px 24px; margin-top: calc(var(--topbar-h) + 22px); }
  .presta-title { font-size: 2.1rem; padding: 6px 20px 8px; }
  .presta-actions .btn, .formation-foot .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
  .contact-details > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-mandala { opacity: 0.13; }
  .hero--image .hero-mandala { opacity: 0.06; }
  .ring { display: none; }
}

/* ---------- Impression ---------- */
@media print {
  .topbar, .backdrop, .hero-art, .skip-link, .btn, .nav-cta { display: none !important; }
  body { background: #fff; color: #000; }
  .split-card, .presta, .formation, .legal-card { box-shadow: none; background: #fff; border: 1px solid #ddd; }
}
