/* =====================================================================
   L'Oliveraie Spa Bébé — feuille de styles (mobile-first)
   Sommaire : 1. Tokens · 2. Base · 3. Mise en page · 4. Boutons
   5. En-tête & menu · 6. Héros · 7. Cartes · 8. Sections
   9. FAQ · 10. Tarifs · 11. Pied de page · 12. Animations · 13. Utilitaires
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --sage: #b7c5ae;
  --sage-100: #e6ece1;
  --sage-50: #f1f4ee;
  --olive: #89977b;
  --olive-700: #5b6950; /* boutons : contraste AA avec le blanc */
  --olive-800: #47523f;
  --beige: #e9dfd0;
  --beige-50: #f3ede3;
  --ivory: #faf7f0;
  --white: #fffdf9;
  --brown: #78604d;
  --ink: #403a32;
  --ink-soft: #625a50;
  --line: #e2d9cb;
  --todo: #b4691f;

  --font-title: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(64, 58, 50, 0.06), 0 4px 14px rgba(64, 58, 50, 0.06);
  --shadow: 0 2px 6px rgba(64, 58, 50, 0.05), 0 18px 40px -12px rgba(64, 58, 50, 0.18);

  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 80px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--olive-800); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brown); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 500; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 7.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 5.4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 4.4vw, 1.9rem); }
h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.01em; }
h1 em, h2 em { font-style: italic; color: var(--brown); }

:focus-visible {
  outline: 2px solid var(--olive-800);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--sage); color: var(--ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Mise en page ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 780px; }
.section { padding-block: clamp(64px, 11vw, 128px); position: relative; }
.section-tight { padding-block: clamp(48px, 7vw, 80px); }
.bg-sage { background: var(--sage-50); }
.bg-sage-strong { background: var(--sage); }
.bg-beige { background: var(--beige-50); }
.bg-white { background: var(--white); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }

.lead { font-size: clamp(1.08rem, 2.6vw, 1.22rem); color: var(--ink-soft); line-height: 1.7; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 640px) and (max-width: 899px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
  .split-60 { grid-template-columns: 1.25fr 1fr; }
}

/* ---------- 4. Boutons ---------- */
.btn {
  --bg: var(--olive-700); --fg: #fff; --bd: var(--olive-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 500 0.98rem/1.2 var(--font-body); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--olive-800); border-radius: inherit;
  transform: scale(0.2); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(71, 82, 63, 0.55); }
.btn:hover::before { transform: scale(1); opacity: 1; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-outline { --bg: transparent; --fg: var(--olive-800); --bd: var(--olive-700); }
.btn-outline::before { background: var(--olive-700); }
.btn-outline:hover { --fg: #fff; }
.btn-light { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn-light::before { background: var(--beige); }
.btn-light:hover { --fg: var(--ink); }
.btn-ghost-light { --bg: rgba(255, 253, 249, 0.12); --fg: #fff; --bd: rgba(255, 253, 249, 0.7); backdrop-filter: blur(6px); }
.btn-ghost-light::before { background: var(--white); }
.btn-ghost-light:hover { --fg: var(--ink); }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 500; color: var(--olive-800); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease-out); }
.link-arrow:hover span { background-size: 100% 1px; }

.ext-note { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- 5. En-tête & menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
  view-transition-name: site-header;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(64, 58, 50, 0.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-img { display: block; height: 66px; width: auto; }
.logo-icon { display: block; height: 42px; width: auto; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-title); font-size: 1.6rem; font-weight: 500; letter-spacing: 0.01em; color: #b85a2c; }
.logo-sub { font-size: 0.56rem; letter-spacing: 0.28em; text-transform: uppercase; color: #9a4f2a; margin-top: 4px; padding-left: 2px; white-space: nowrap; }
@media (min-width: 900px) {
  .logo-img { height: 90px; }
  .logo-icon { height: 54px; }
  .logo-name { font-size: 2.05rem; }
  .logo-sub { font-size: 0.62rem; letter-spacing: 0.3em; margin-top: 5px; }
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font-size: 0.97rem; position: relative;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px;
  background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out);
}
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
.nav-desktop a[aria-current="page"] { color: var(--brown); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }
@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none !important; }
}
@media (min-width: 560px) and (max-width: 1079px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  width: 48px; height: 48px; border: 0; background: transparent; padding: 0; cursor: pointer;
  display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle .bars { width: 24px; height: 14px; position: relative; }
.nav-toggle .bars span {
  position: absolute; left: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.45s var(--ease-out), opacity 0.3s, width 0.3s;
}
.nav-toggle .bars span:nth-child(1) { top: 0; width: 24px; }
.nav-toggle .bars span:nth-child(2) { top: 6px; width: 16px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; width: 20px; }
.nav-open .nav-toggle .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 24px; }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 24px; }

.nav-mobile {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ivory);
  display: flex; flex-direction: column;
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.55s var(--ease-out), visibility 0s linear 0.55s;
}
.nav-open .nav-mobile { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.55s var(--ease-out), visibility 0s; }
.nav-mobile ul { list-style: none; padding: 0; margin: 0 0 24px; }
.nav-mobile li { border-bottom: 1px solid var(--line); margin: 0; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.nav-open .nav-mobile li { opacity: 1; transform: none; }
.nav-open .nav-mobile li:nth-child(1) { transition-delay: 0.08s; }
.nav-open .nav-mobile li:nth-child(2) { transition-delay: 0.12s; }
.nav-open .nav-mobile li:nth-child(3) { transition-delay: 0.16s; }
.nav-open .nav-mobile li:nth-child(4) { transition-delay: 0.2s; }
.nav-open .nav-mobile li:nth-child(5) { transition-delay: 0.24s; }
.nav-open .nav-mobile li:nth-child(6) { transition-delay: 0.28s; }
.nav-open .nav-mobile li:nth-child(7) { transition-delay: 0.32s; }
.nav-mobile a.nav-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 58px;
  font-family: var(--font-title); font-size: 1.65rem; color: var(--ink); text-decoration: none;
}
.nav-mobile a.nav-link[aria-current="page"] { color: var(--brown); font-style: italic; }
.nav-mobile .sub { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); }
.nav-mobile-foot { margin-top: auto; display: grid; gap: 12px; padding-top: 12px; }
.nav-mobile-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.95rem; }
.nav-mobile-contact a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 1080px) { .nav-mobile { display: none; } }

/* Barre de réservation mobile (apparaît après le héros) */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px;
  transform: translateY(110%); transition: transform 0.5s var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; }
.mobile-cta .btn-call { flex: 0 0 48px; padding: 0; }
.nav-open .mobile-cta { transform: translateY(110%); }
@media (min-width: 900px) { .mobile-cta { display: none; } }
body.has-mobile-cta { padding-bottom: 0; }

/* ---------- 6. Héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; background: var(--beige-50); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.hero-bg .b1 { width: 520px; height: 520px; background: var(--sage-100); right: -160px; top: -120px; animation: drift 18s ease-in-out infinite alternate; }
.hero-bg .b2 { width: 420px; height: 420px; background: #efe3d2; left: -180px; bottom: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid { display: grid; gap: 34px; padding-top: 20px; padding-bottom: 56px; align-items: center; }
.hero-content h1 { font-size: clamp(2.35rem, 9.6vw, 3rem); margin-bottom: 18px; max-width: 14ch; }
.hero-content .lead { max-width: 40ch; margin-bottom: 28px; }
.hero-brand { font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brown); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.hero-brand::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.hero-pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills li { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 253, 249, 0.75); border: 1px solid var(--line); font-size: 0.86rem; color: var(--ink-soft); }
.hero-pills svg { width: 16px; height: 16px; color: var(--olive-700); }

/* Composition visuelle : arche + médaillon + badge + branche */
.hero-visual { position: relative; width: 100%; max-width: 520px; margin-inline: auto; padding: 0 0 34px 0; }
.hero-arch { position: relative; aspect-ratio: 4 / 4.4; border-radius: 999px 999px var(--radius-l) var(--radius-l); overflow: hidden; box-shadow: var(--shadow); margin-left: 14%; }
.hero-arch img, .hero-round img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch img { object-position: center 35%; }
.hero-round { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--beige-50); box-shadow: var(--shadow); }
.hero-badge { position: absolute; right: -4px; bottom: 22%; background: var(--white); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 0.84rem; line-height: 1.35; max-width: 190px; display: flex; gap: 10px; align-items: center; }
.hero-badge .ico { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sage-50); color: var(--olive-700); display: grid; place-items: center; }
.hero-badge .ico svg { width: 20px; height: 20px; }
.hero-badge strong { display: block; font-family: var(--font-title); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.hero-branch { position: absolute; width: 46%; left: -6%; top: -4%; color: var(--olive); opacity: 0.7; z-index: 2; pointer-events: none; }
.scroll-cue { display: none; }
@media (max-width: 899px) {
  .hero-grid { gap: 26px; padding-top: 18px; }
  .hero-visual { order: -1; max-width: 460px; padding-bottom: 26px; }
  .hero-arch { aspect-ratio: 1 / 0.82; margin-left: 12%; }
  .hero-round { width: 34%; border-width: 5px; }
  .hero-badge { bottom: 8%; padding: 10px 12px; font-size: 0.78rem; }
  .hero-badge .ico { width: 32px; height: 32px; }
  .hero-branch { width: 40%; left: -4%; top: -6%; }
}

@media (min-width: 900px) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 860px); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); padding-top: 48px; padding-bottom: 80px; }
  .hero-content h1 { font-size: clamp(2.8rem, 4.3vw, 4.1rem); }
  .hero-visual { max-width: 580px; margin-right: 0; }
  .scroll-cue {
    display: inline-flex; flex-direction: column; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none;
  }
  .scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--brown), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
}
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Barre de progression de lecture */
.scroll-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--olive); transform-origin: left; transform: scaleX(0); z-index: 120; pointer-events: none; }
/* En-tête des pages intérieures */
.page-hero { position: relative; background: var(--beige-50); overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; padding-top: clamp(40px, 8vw, 88px); padding-bottom: clamp(40px, 7vw, 80px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 56ch; }
.page-hero .hero-leaf { width: 200px; right: -40px; top: 18px; opacity: 0.35; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "·"; margin-right: 6px; opacity: 0.6; }
.breadcrumb a { color: inherit; }

/* Héros des pages de soins (photo + infos) */
.care-hero { background: var(--beige-50); }
.care-hero .container { padding-top: clamp(28px, 6vw, 64px); padding-bottom: clamp(48px, 7vw, 88px); }
.care-hero-grid { display: grid; gap: 28px; align-items: center; }
.care-hero-media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.care-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .care-hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .care-hero-media { aspect-ratio: 5 / 6; border-radius: 200px 200px var(--radius-l) var(--radius-l); }
}

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0 28px; }
.fact { background: var(--white); padding: 14px 16px; }
.fact dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.fact dd { margin: 0; font-family: var(--font-title); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.fact.wide { grid-column: 1 / -1; }
.fact.wide dd { font-family: var(--font-body); font-size: 0.98rem; line-height: 1.5; font-weight: 400; }

/* ---------- 7. Cartes ---------- */
.media-frame {
  position: relative; overflow: hidden; background-color: var(--sage-100);
  background-image: url("../img/placeholder-olive.svg"); background-size: cover; background-position: center;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.is-missing img { display: none; }
.media-frame .ph-label {
  position: absolute; left: 12px; bottom: 12px; font-size: 0.75rem; color: var(--olive-800);
  background: rgba(255, 253, 249, 0.85); padding: 4px 10px; border-radius: 999px; display: none;
}
.mode-preview .media-frame.is-missing .ph-label { display: inline-block; }

.card-service {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s;
  height: 100%;
}
.card-service .media-frame { aspect-ratio: 4 / 3; }
.card-service .media-frame img { transition: transform 1.1s var(--ease-out); }
.card-service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-service:hover .media-frame img { transform: scale(1.06); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; } /* zone cliquable étendue */
.card-service { position: relative; }
.card-body > p { color: var(--ink-soft); font-size: 0.98rem; }
.card-audience { display: flex; gap: 8px; align-items: flex-start; font-size: 0.88rem; color: var(--olive-800); background: var(--sage-50); border-radius: 12px; padding: 10px 12px; margin: 4px 0 18px; }
.card-audience svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; font-size: 0.92rem; color: var(--ink-soft); }
.card-meta .price { font-family: var(--font-title); font-size: 1.5rem; color: var(--ink); }
.card-actions { display: flex; gap: 10px; margin-top: 16px; position: relative; z-index: 2; }
.card-actions .btn { flex: 1; padding-inline: 14px; }
.card-body h4 { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: -0.005em; margin-bottom: 8px; }
.more-group { margin: clamp(36px, 6vw, 56px) 0 20px; }
.more-group:first-child { margin-top: 0; }

/* Cartes « valeurs » */
.value { padding: 26px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); height: 100%; transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.value .icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-50); color: var(--olive-700); margin-bottom: 18px; }
.value .icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.5rem; margin-bottom: 8px; }
.value p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* Image arrondie organique */
.organic { border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.arch { border-radius: 999px 999px var(--radius-l) var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.arch img, .organic img { width: 100%; height: 100%; object-fit: cover; }
.figure-stack { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.figure-stack .badge-float {
  position: absolute; left: -6px; bottom: 28px; background: var(--white); border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--shadow); max-width: 220px; font-size: 0.9rem; line-height: 1.45;
}
.figure-stack .badge-float strong { display: block; font-family: var(--font-title); font-size: 1.35rem; font-weight: 500; }
.figure-stack .leaf-deco { position: absolute; width: 130px; right: -18px; top: -26px; color: var(--olive); }

/* ---------- 8. Sections ---------- */
.quote {
  font-family: var(--font-title); font-style: italic; font-size: clamp(1.5rem, 4.5vw, 2.1rem); line-height: 1.3;
  color: var(--brown); border-left: 2px solid var(--sage); padding-left: 20px; margin: 28px 0;
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6950' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.dot-list { list-style: none; padding: 0; }
.dot-list li { position: relative; padding-left: 22px; }
.dot-list li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps.steps-row { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps li { counter-increment: step; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 76px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage-50); color: var(--olive-800);
  font-family: var(--font-title); font-size: 1.35rem;
}
.steps li h3 { font-size: 1.35rem; margin-bottom: 4px; }
.steps li p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
@media (min-width: 900px) {
  .steps.steps-row li { padding: 76px 22px 24px; }
}

.callout {
  border-radius: var(--radius); padding: 20px 22px; background: var(--beige-50); border: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start; font-size: 0.97rem;
}
.callout svg { width: 22px; height: 22px; flex: none; color: var(--brown); margin-top: 2px; }
.callout p:last-child { margin: 0; }
.callout-sage { background: var(--sage-50); }

.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 1.45rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 5vw, 2.3rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink); }
.prose .muted { color: var(--ink-soft); }

/* Bandeau CTA */
.cta-band { position: relative; overflow: hidden; background: var(--olive-800); color: #f4f1ea; border-radius: var(--radius-l); padding: clamp(36px, 7vw, 72px) clamp(24px, 6vw, 72px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3e6dc; max-width: 54ch; }
.cta-band .eyebrow { color: var(--sage); }
.cta-band .leaf-deco { position: absolute; right: -30px; bottom: -40px; width: 240px; color: var(--olive); opacity: 0.45; }

/* Section cartes cadeaux */
.gift-visual { position: relative; max-width: 440px; margin-inline: auto; width: 100%; aspect-ratio: 1.58; perspective: 1000px; }
.gift-card {
  position: absolute; inset: 0; border-radius: 22px; padding: 26px 28px; overflow: hidden;
  background: linear-gradient(135deg, #f7f2e8 0%, #ece3d3 100%); color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(64, 58, 50, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.8s var(--ease-out);
}
.gift-card.back { background: linear-gradient(135deg, #a4b39a, #7f8d71); transform: rotate(-7deg) translate(-16px, 14px); }
.gift-visual:hover .gift-card.front { transform: rotate(2deg) translateY(-8px); }
.gift-visual:hover .gift-card.back { transform: rotate(-10deg) translate(-26px, 20px); }
.gift-card .gc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gift-card .gc-title { font-family: var(--font-title); font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1; }
.gift-card .gc-sub { font-size: 0.66rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--brown); margin-top: 6px; }
.gift-card .gc-label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.gift-card .gc-msg { font-family: var(--font-title); font-style: italic; font-size: clamp(1.15rem, 4vw, 1.4rem); color: var(--brown); }
.gift-card .gc-branch { position: absolute; right: -24px; bottom: -18px; width: 170px; color: var(--olive); opacity: 0.55; }

.gift-option { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: 100%; transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.gift-option:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.gift-option .tag { align-self: flex-start; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive-800); background: var(--sage-50); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.gift-option h3 { font-size: 1.6rem; margin-bottom: 6px; }
.gift-option p { color: var(--ink-soft); font-size: 0.97rem; }
.gift-option .price { font-family: var(--font-title); font-size: 1.6rem; margin: auto 0 16px; }
.gift-option .price .small { font-family: var(--font-body); font-size: 0.9rem; }

.occasions { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.occasions li { margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; }
.occasions svg { width: 16px; height: 16px; color: var(--olive-700); }

/* Avis */
.review { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); margin: 0; height: 100%; }
.review blockquote { margin: 0 0 14px; font-family: var(--font-title); font-size: 1.3rem; line-height: 1.45; font-style: italic; }
.review figcaption { font-size: 0.9rem; color: var(--ink-soft); }
.placeholder-box { border: 1.5px dashed var(--sage); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--ink-soft); background: rgba(255, 253, 249, 0.6); }

/* Badges « à compléter » (mode preview uniquement) */
.todo {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
  color: var(--todo); background: #fbefe2; border: 1px dashed #d9a571; border-radius: 6px; padding: 3px 8px; vertical-align: middle;
}
.todo::before { content: "✎"; font-size: 0.85rem; text-transform: none; }
.todo-static { display: none; }
.mode-preview .todo-static { display: inline-flex; }
.leaf-deco-big { width: 80%; max-width: 360px; margin-inline: auto; color: var(--olive); opacity: 0.55; }
.preview-banner {
  background: #fbefe2; color: #6d4012; font-size: 0.78rem; line-height: 1.4; text-align: center; padding: 6px var(--gutter);
  border-bottom: 1px solid #ebcfae;
}
.preview-banner a { color: inherit; }

/* ---------- 9. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.4s, border-color 0.4s; }
.faq details[open] { border-color: var(--sage); box-shadow: var(--shadow-s); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; position: relative; min-height: 60px;
  font-weight: 500; font-size: 1.02rem; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--sage-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2347523f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.45s var(--ease-out), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--sage-100); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- 10. Tarifs ---------- */
.price-card { position: relative; display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: box-shadow 0.5s, transform 0.5s var(--ease-out); }
.price-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.price-card .media-frame { aspect-ratio: 16 / 9; }
.price-card-body { padding: 24px; display: grid; gap: 14px; }
.price-card h3 { margin: 0; }
.price-card p { margin: 0; color: var(--ink-soft); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.price-line .amount { font-family: var(--font-title); font-size: 2.3rem; line-height: 1; color: var(--ink); }
.price-line .dur { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.price-line .dur svg { width: 16px; height: 16px; }
.price-card .btn-row { margin-top: 4px; }
@media (min-width: 760px) {
  .price-card { grid-template-columns: 280px 1fr; }
  .price-card .media-frame { aspect-ratio: auto; height: 100%; min-height: 240px; }
  .price-card-body { padding: 30px 32px; }
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; font-family: var(--font-title); font-size: 1.6rem; padding: 0 0 10px; }
.price-table th, .price-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-weight: 500; }
.price-table th small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.88rem; margin-top: 2px; }
.price-table td { text-align: right; white-space: nowrap; padding-left: 14px; }
.price-table td.dur { color: var(--ink-soft); font-size: 0.92rem; }
.price-table td.amt { font-family: var(--font-title); font-size: 1.35rem; }
@media (max-width: 479px) { .price-table td.dur { display: none; } }

/* Horaires */
.hours { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.closed td { color: var(--ink-soft); }
.hours tr.today th, .hours tr.today td { font-weight: 500; color: var(--olive-800); }

/* ---------- 11. Pied de page ---------- */
.site-footer { background: #39352e; color: #d9d3c8; padding-top: clamp(56px, 9vw, 96px); font-size: 0.95rem; position: relative; overflow: hidden; }
.site-footer a { color: #ece6db; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer li a { display: inline-flex; min-height: 36px; align-items: center; }
.site-footer .logo { color: #fff; }
.site-footer .logo-img { height: 120px; }
.footer-about p { margin-top: 18px; max-width: 34ch; color: #c7c0b4; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); display: grid; place-items: center; transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out); }
.socials a:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--sage); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.footer-hours { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.footer-hours th, .footer-hours td { padding: 4px 0; font-weight: 400; text-align: left; }
.footer-hours td { text-align: right; color: #c7c0b4; }
.footer-bottom { margin-top: 56px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: 0.84rem; color: #b3ac9f; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-bottom li a { min-height: 32px; }
.site-footer .footer-branch { position: absolute; right: -40px; bottom: 70px; width: 260px; color: #47423a; pointer-events: none; display: none; }
@media (min-width: 1080px) { .site-footer .footer-branch { display: block; } }
.site-footer .container { position: relative; z-index: 1; }
@media (max-width: 899px) { .site-footer { padding-bottom: 72px; } }
.site-footer .todo { background: transparent; color: #f0c08e; border-color: #8a6a49; }

/* ---------- 12. Animations ---------- */
/* Transitions entre pages (navigateurs compatibles : Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Apparition au défilement (activée seulement si JS présent) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.reveal-fade { transform: none; }
.js .reveal.reveal-scale { transform: scale(0.96); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Entrée du héros et des en-têtes de page */
.js .hero-in > * { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease-out) forwards; }
.js .hero-in > *:nth-child(1) { animation-delay: 0.1s; }
.js .hero-in > *:nth-child(2) { animation-delay: 0.2s; }
.js .hero-in > *:nth-child(3) { animation-delay: 0.32s; }
.js .hero-in > *:nth-child(4) { animation-delay: 0.44s; }
.js .hero-in > *:nth-child(5) { animation-delay: 0.56s; }
.js .hero-in > *:nth-child(6) { animation-delay: 0.68s; }
.js .hero-in > .split-words { opacity: 1; transform: none; animation: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Titres révélés mot à mot (masque) */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split-words .w > span { display: inline-block; }
.js .split-words .w > span { transform: translateY(105%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.06s + var(--base, 0s)); }
.js .split-words.is-in .w > span { transform: none; }

/* Composition du héros : arche qui se dévoile, médaillon, badge, branche dessinée */
.js .hero-arch { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); animation: unveil 1.5s var(--ease-out) 0.25s forwards; }
.js .hero-arch img { transform: scale(1.18); animation: zoom-settle 2.4s var(--ease-out) 0.25s forwards; }
.js .hero-round { opacity: 0; transform: scale(0.6) rotate(-12deg); animation: pop 1.1s var(--ease-out) 0.95s forwards; }
.js .hero-badge { opacity: 0; transform: translateY(20px); animation: rise 0.9s var(--ease-out) 1.3s forwards, bob 6s ease-in-out 2.4s infinite; }
.js .hero-branch path.stem { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.6s var(--ease-out) 0.6s forwards; }
.js .hero-branch path:not(.stem), .js .hero-branch ellipse { opacity: 0; animation: fade-in 1.2s ease 1.4s forwards; }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes zoom-settle { to { transform: scale(1); } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes fade-in { to { opacity: 1; } }

/* Images révélées au défilement */
.js .img-reveal { clip-path: inset(12% 8% 12% 8% round var(--radius-l)); transition: clip-path 1.4s var(--ease-out); }
.js .img-reveal img { transform: scale(1.15); transition: transform 1.8s var(--ease-out); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0 round 0); }
.js .img-reveal.is-in img { transform: scale(1); }
.js .arch.img-reveal.is-in { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); }

/* Ligne des sur-titres qui s'étire */
.js .eyebrow::before, .js .center .eyebrow::after { transform: scaleX(0); transform-origin: right; transition: transform 1s var(--ease-out) 0.2s; }
.js .center .eyebrow::after { transform-origin: left; }
.js .is-in .eyebrow::before, .js .is-in .eyebrow::after, .js .eyebrow.is-in::before, .js .eyebrow.is-in::after,
.js .hero-in .eyebrow::before { transform: none; }

/* Icônes des valeurs */
.js .value .icon { transform: scale(0.4) rotate(-30deg); opacity: 0; transition: transform 0.9s var(--ease-out) calc(var(--d, 0s) + 0.25s), opacity 0.6s calc(var(--d, 0s) + 0.25s); }
.js .value.is-in .icon { transform: none; opacity: 1; }

/* Étapes : la pastille numérotée s'allume */
.js .steps li::before { transform: scale(0.5); opacity: 0; transition: transform 0.8s var(--ease-out) calc(var(--d, 0s) + 0.2s), opacity 0.5s calc(var(--d, 0s) + 0.2s); }
.js .steps li.is-in::before, .js .is-in .steps li::before { transform: none; opacity: 1; }
/* Feuilles d'olivier : balancement très léger */
.leaf-sway { transform-origin: 20% 80%; animation: sway 7s ease-in-out infinite alternate; }
.leaf-sway.slow { animation-duration: 11s; }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(3deg); } }
.draw path.stem { stroke-dasharray: 400; stroke-dashoffset: 400; }
.draw.is-in path.stem { animation: draw 2.4s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-in > *, .js .hero-round, .js .hero-badge, .js .value .icon, .js .steps li::before { opacity: 1 !important; transform: none !important; }
  .js .split-words .w > span, .js .hero-arch img, .js .img-reveal img { transform: none !important; }
  .js .hero-arch, .js .img-reveal { clip-path: none !important; }
  .js .hero-branch path, .js .hero-branch ellipse { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .hero-bg .blob { animation: none !important; }
  .scroll-progress { display: none; }
  .draw path.stem { stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
}

/* ---------- 13. Utilitaires ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.stack > * + * { margin-top: 16px; }
.divider-leaf { display: flex; justify-content: center; color: var(--olive); margin: 0 auto 18px; width: 70px; }
.anchor-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 0.94rem; transition: background-color 0.3s, border-color 0.3s; }
.anchor-nav a:hover { border-color: var(--olive); background: var(--sage-50); }
noscript .noscript-nav { display: block; padding: 12px var(--gutter); background: var(--beige-50); }

.icon-circle { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-50); color: var(--olive-700); margin-bottom: 16px; }
.icon-circle svg { width: 26px; height: 26px; }

/* Étiquette de catégorie sur les cartes de soins */
.card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(255, 253, 249, 0.92); color: var(--olive-800); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.price-suffix { font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); }
/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 0.92rem; font-weight: 500; color: var(--ink); padding: 0; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d6ccbc; background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23625a50' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:not([type="checkbox"]):not([type="radio"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive-700); box-shadow: 0 0 0 3px rgba(91, 105, 80, 0.18); }
.field .hint { font-size: 0.84rem; color: var(--ink-soft); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.checks { display: grid; gap: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); cursor: pointer; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--olive-700); flex: none; }
.field .check { padding: 10px 12px; font-size: 0.95rem; font-weight: 400; align-items: center; }
.field .check input { margin: 0; }
.hp { position: absolute !important; left: -9999px; }
.form-error { color: #8c1d18; background: #fbeceb; border: 1px solid #efc6c3; border-radius: 12px; padding: 12px 14px; font-size: 0.95rem; }
/* ---------- Cartes cadeaux : composition & paiement ---------- */
.gift-builder { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .gift-builder { grid-template-columns: 1.35fr 1fr; gap: 56px; } }
.gift-builder.is-locked .gift-builder-main { opacity: 0.55; pointer-events: none; }
.gift-builder-main { display: grid; gap: 28px; transition: opacity 0.4s; }
.gift-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.gift-step legend { font-family: var(--font-title); font-size: 1.6rem; margin-bottom: 14px; padding: 0; }
.gift-choices { display: grid; gap: 12px; }
@media (min-width: 640px) { .gift-choices { grid-template-columns: 1fr 1fr; } }
.gift-choice { position: relative; display: block; cursor: pointer; }
.gift-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gift-choice-body {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px 16px; border-radius: 16px; background: var(--white);
  border: 1.5px solid var(--line); transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out), background-color 0.3s;
}
.gift-choice:hover .gift-choice-body { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.gift-choice input:checked + .gift-choice-body { border-color: var(--olive-700); background: var(--sage-50); box-shadow: 0 0 0 3px rgba(91, 105, 80, 0.14); }
.gift-choice input:focus-visible + .gift-choice-body { outline: 2px solid var(--olive-800); outline-offset: 3px; }
.gift-choice input:checked + .gift-choice-body::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--olive-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
  animation: pop 0.4s var(--ease-out);
}
.gift-choice .tag { align-self: flex-start; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive-800); background: var(--sage-100); border-radius: 999px; padding: 3px 10px; margin-bottom: 4px; }
.gift-choice strong { font-weight: 500; padding-right: 26px; line-height: 1.35; }
.gift-choice .desc { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }
.gift-choice .price { margin-top: auto; padding-top: 6px; font-family: var(--font-title); font-size: 1.35rem; }
.gift-amount { margin-top: 16px; }
.amount-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.amount-row input { max-width: 160px; }
.amount-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--ink); cursor: pointer; transition: background-color 0.25s, border-color 0.25s; }
.chip:hover { border-color: var(--olive); }
.chip.is-active { background: var(--olive-700); border-color: var(--olive-700); color: #fff; }

.gift-builder-preview { order: -1; }
@media (min-width: 980px) { .gift-builder-preview { order: 0; } .gift-preview-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
.gift-card.preview { position: relative; inset: auto; aspect-ratio: 1.58; width: 100%; max-width: 460px; transform: rotate(-1.5deg); padding: 22px 24px; }
.gift-card.preview .gc-body { display: grid; gap: 4px; }
.gift-card.preview .gc-for { font-family: var(--font-title); font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1.1; word-break: break-word; }
.gift-card.preview .gc-msg { font-size: clamp(0.95rem, 3vw, 1.1rem); max-height: 3.2em; overflow: hidden; }
.gift-card.preview .gc-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; font-size: 0.82rem; color: var(--ink-soft); position: relative; z-index: 1; }
.gift-card.preview .gc-foot span:first-child { max-width: 60%; }
.gc-code { font-family: "Courier New", monospace; letter-spacing: 1px; background: rgba(255, 253, 249, 0.8); border: 1px dashed var(--olive); border-radius: 8px; padding: 4px 8px; white-space: nowrap; }
.gift-total { display: flex; justify-content: space-between; align-items: baseline; max-width: 460px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.gift-total strong { font-family: var(--font-title); font-size: 2rem; font-weight: 500; }
.gift-pay.is-loading { pointer-events: none; opacity: 0.8; }
.gift-pay.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.5); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }

.pay-card { display: grid; gap: 14px; }
.pay-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.pay-summary:empty { display: none; }
.pay-summary div { display: grid; }
.pay-amount { font-family: var(--font-title); font-size: 1.9rem; font-weight: 500; }
.pay-status:empty { display: none; }
.pay-status { font-size: 0.97rem; display: flex; gap: 10px; align-items: center; }
.pay-status.is-error { color: #8c1d18; background: #fbeceb; border-radius: 12px; padding: 12px 14px; }
.pay-status.is-info { background: var(--beige-50); border-radius: 12px; padding: 12px 14px; }
.pay-success { display: grid; gap: 12px; justify-items: start; }
.pay-check { width: 64px; height: 64px; border-radius: 50%; background: var(--olive-700); color: #fff; display: grid; place-items: center; animation: pop-in 0.7s var(--ease-out); }
@keyframes pop-in { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.pay-check svg { width: 32px; height: 32px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.8s var(--ease-out) 0.3s forwards; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--sage); border-top-color: var(--olive-800); border-radius: 50%; animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
#sumup-card:empty { display: none; }
#sumup-card { min-height: 120px; }
/* ---------- Bouton « remonter en haut » ---------- */
.to-top {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 95;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: rgba(255, 253, 249, 0.92); color: var(--olive-800); box-shadow: var(--shadow-s);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.9);
  transition: opacity 0.4s, transform 0.5s var(--ease-out), visibility 0s linear 0.4s, background-color 0.3s, color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.to-top svg { width: 20px; height: 20px; transition: transform 0.35s var(--ease-out); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s, transform 0.5s var(--ease-out), visibility 0s, background-color 0.3s, color 0.3s; }
.to-top:hover { background: var(--olive-700); color: #fff; }
.to-top:hover svg { transform: translateY(-2px); }
.nav-open .to-top { opacity: 0; visibility: hidden; }
/* Sur mobile, au-dessus de la barre « Réserver » */
@media (max-width: 899px) { .to-top.above-cta { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .to-top { right: 28px; bottom: 28px; width: 52px; height: 52px; } }
@media print { .to-top { display: none; } }