/* ───────── Palette officielle ───────── */
:root {
  --creme: #F4EEE7;
  --rose: #C8B8AE;
  --taupe: #A99A8A;
  --champagne: #B89A62;
  --brun: #685030;
  --profond: #302820;

  --bg: var(--creme);
  --surface: #FBF8F4;
  --text: var(--profond);
  --text-soft: #5E4B33;            /* brun adouci, contraste AA sur creme */
  --line: rgba(184, 154, 98, .35); /* champagne fin */
  --err: #9A3B2E;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.05; margin: 0; text-wrap: balance; }
em { font-style: italic; color: var(--brun); }
p { margin: 0 0 1em; }
.small { font-size: 14px; }
.muted { color: var(--text-soft); }
.center { text-align: center; margin-top: 40px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--profond); color: var(--creme); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--brun); outline-offset: 3px; border-radius: 6px; }

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: var(--champagne); stroke: none; }

.eyebrow {
  font: 500 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  color: var(--brun); margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--champagne); }
.title { font-size: clamp(40px, 5.2vw, 72px); margin-bottom: 28px; }

/* ───────── Liquid Glass ───────── */
.glass {
  --g-tint: rgba(255, 255, 255, .42);
  position: relative; isolation: isolate; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 55%, rgba(255,255,255,.28) 100%),
    var(--g-tint);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 1px rgba(255, 255, 255, .35),
    inset 0 0 18px rgba(255, 255, 255, .25),
    0 10px 30px -12px rgba(48, 40, 32, .28);
}
/* reflet spéculaire qui glisse au survol */
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at var(--mx, 30%) -10%, rgba(255,255,255,.75), transparent 55%);
  opacity: .7; transition: opacity .4s var(--ease);
}
.glass-dark {
  --g-tint: rgba(104, 80, 48, .82);
  color: var(--creme) !important;
  border-color: rgba(255, 240, 220, .35);
  box-shadow:
    inset 0 1px 1px rgba(255, 236, 210, .55),
    inset 0 -1px 2px rgba(0, 0, 0, .18),
    0 14px 34px -14px rgba(48, 40, 32, .55);
}
.glass-dark::after { background: radial-gradient(120% 80% at var(--mx, 30%) -20%, rgba(255,236,210,.45), transparent 55%); }
.glass-panel {
  background: rgba(251, 248, 244, .62);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 60px -30px rgba(48, 40, 32, .35);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; cursor: pointer;
  font: 400 15px/1 var(--sans); letter-spacing: .04em; color: var(--profond); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; }
.btn-block { width: 100%; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

/* ───────── Navigation ───────── */
.nav {
  position: fixed; inset: 14px var(--pad) auto; z-index: 50; max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 24px; border-radius: 999px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 238, 231, .55);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border-color: rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 30px -18px rgba(48,40,32,.35);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.brand-text span { font-style: italic; color: var(--champagne); }
.logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(184,154,98,.4); }
.logo-lg { width: 88px; height: 88px; margin: 0 auto 18px; }
.lang-btn { width: 44px; padding: 0; font-size: 13px; letter-spacing: .1em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; letter-spacing: .08em; text-decoration: none; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--champagne); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; }
#account-btn img { width: 26px; height: 26px; border-radius: 50%; margin-left: -10px; }
.account-menu {
  position: absolute; right: 8px; top: calc(100% + 10px); min-width: 230px; padding: 10px;
  display: grid; gap: 2px; animation: pop .3s var(--ease);
}
.account-menu[hidden] { display: none; }
.account-who { font-size: 13px; color: var(--text-soft); padding: 8px 12px 10px; margin: 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.account-menu button, .account-menu a {
  all: unset; cursor: pointer; padding: 12px; border-radius: 12px; font-size: 15px;
}
.account-menu button:hover, .account-menu a:hover, .account-menu :focus-visible { background: rgba(200, 184, 174, .35); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* ───────── Hero ───────── */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: 120px var(--pad) 170px; overflow: hidden;
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: min(62%, 980px); }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  animation: heroIn 2.2s var(--ease) both;
}
.hero-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, var(--creme)); }
@keyframes heroIn { from { opacity: 0; transform: scale(1.08); } }
.hero-guides { position: absolute; inset: 0 var(--pad); display: flex; justify-content: space-between; pointer-events: none; }
.hero-guides i { width: 1px; background: linear-gradient(transparent, var(--line) 20%, var(--line) 80%, transparent); }
.hero-guides i:nth-child(2) { opacity: .5; }
.hero-inner { position: relative; max-width: 600px; }
.hero h1 { font-size: clamp(56px, 8.2vw, 124px); letter-spacing: -.01em; margin-bottom: 28px; }
.hero .lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 460px; color: var(--text-soft); margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-rating {
  position: absolute; right: calc(var(--pad) + 24px); bottom: 210px;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  text-decoration: none; font-size: 14px; animation: float 6s ease-in-out infinite;
}
.hero-rating strong { font: 500 20px/1 var(--serif); }
.hero-rating span { color: var(--text-soft); }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-side {
  position: absolute; right: 18px; bottom: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right bottom;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--text-soft);
}
.hero-strip {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; margin: 0 auto; max-width: var(--max);
  list-style: none; padding: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero-strip li { padding-right: 24px; }
.hero-strip h2 { font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 6px; }
.hero-strip p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* ───────── Sections ───────── */
.section { padding: clamp(80px, 12vw, 160px) var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-note { color: var(--text-soft); max-width: 520px; }

/* À propos */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding-bottom: 70px; }
.about-media > img:first-child { border-radius: 260px 260px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 86%; }
.about-float {
  position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); border: 8px solid var(--creme); box-shadow: 0 30px 60px -30px rgba(48,40,32,.5);
}
.about-text p:not(.eyebrow) { color: var(--text-soft); max-width: 520px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); }
.stats dd { margin: 6px 0 0; font: 300 44px/1 var(--serif); white-space: nowrap; }
.stats small { font-size: 20px; color: var(--text-soft); }

/* Cartes soins */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: var(--rose); color: var(--creme); isolation: isolate;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(48,40,32,.78)); }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 26px; }
.card h3 { font-size: 30px; margin-bottom: 8px; }
.card p { font-size: 14px; margin: 0; opacity: .9; }
.card .from {
  position: absolute; top: 16px; left: 16px; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; color: var(--profond);
}

/* Tarifs */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  font: 400 14px/1 var(--sans); color: var(--profond); transition: transform .3s var(--ease);
}
.chip:hover { transform: translateY(-1px); }
.chip.is-active { --g-tint: rgba(104, 80, 48, .82); color: var(--creme); border-color: rgba(255,240,220,.35); }
.price-panel { padding: clamp(24px, 4vw, 48px); }
.price-panel h3 { font-size: 36px; margin-bottom: 8px; }
/* Bannière photo en tête de chaque onglet de tarifs */
.price-panel { --pp: clamp(24px, 4vw, 48px); padding: var(--pp); overflow: hidden; }
.tab-hero {
  position: relative; margin: calc(-1 * var(--pp)) calc(-1 * var(--pp)) 12px; min-height: clamp(220px, 32vw, 340px);
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.tab-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  animation: tabImg 1.4s var(--ease) both;
}
.tab-hero::before { /* voile chaud pour lire le texte, qui se fond dans le panneau en bas */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(48, 40, 32, .05) 0%, rgba(48, 40, 32, .35) 45%, rgba(48, 40, 32, .72) 100%);
}
.tab-hero-text { padding: var(--pp); color: var(--creme); animation: fadeUp .7s var(--ease) .1s both; }
.tab-hero-text h3 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 10px; }
.tab-hero-text p { max-width: 560px; margin: 0; color: rgba(244, 238, 231, .92); text-wrap: pretty; }
@keyframes tabImg { from { opacity: 0; transform: scale(1.08); } }
.price-switch { display: flex; gap: 8px; margin: 20px 0 6px; }
.prices { list-style: none; padding: 0; margin: 20px 0 0; }
.prices li {
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line); animation: fadeUp .5s var(--ease) both;
}
.prices li:last-child { border-bottom: 0; }
.prices .dur { font-size: 14px; color: var(--text-soft); white-space: nowrap; }
.prices .price { font: 500 22px/1 var(--serif); font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.prices .book { min-height: 40px; padding: 0 16px; font-size: 13px; }
.prices .book[aria-disabled="true"] { opacity: .6; }

/* Galerie */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery button {
  all: unset; display: block; margin-bottom: 16px; border-radius: 16px; overflow: hidden; cursor: zoom-in;
  break-inside: avoid; animation: fadeUp .6s var(--ease) backwards;
}
.gallery button:focus-visible { outline: 2px solid var(--brun); outline-offset: 3px; }
.gallery img { width: 100%; transition: transform .9s var(--ease), filter .6s; }
.gallery button:hover img { transform: scale(1.04); }

/* Carrousel concave (galerie « Tout ») */
.concave { --ccw: 300px; position: relative; margin: 0 calc(-1 * var(--pad)); outline: none; }
.concave:focus-visible { outline: 2px solid var(--brun); outline-offset: 4px; border-radius: var(--radius); }
.cc-stage {
  position: relative; height: calc(var(--ccw) * 1.25 + 60px); perspective: 1200px;
  overflow-x: clip; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.cc-stage:active { cursor: grabbing; }
.cc-item {
  all: unset; position: absolute; left: 50%; top: 50%; width: var(--ccw); aspect-ratio: 4 / 5;
  border-radius: 14px; overflow: hidden; will-change: transform; background: var(--rose);
  box-shadow: 0 24px 50px -26px rgba(48, 40, 32, .55);
  -webkit-box-reflect: below 10px linear-gradient(transparent 74%, rgba(255, 255, 255, .16));
}
.cc-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cc-item::after { /* les photos sur les côtés s'estompent dans le crème */
  content: ""; position: absolute; inset: 0; background: var(--creme); opacity: calc(var(--dim, 0) * .5); pointer-events: none; transition: opacity .3s;
}
.cc-item.is-center { cursor: zoom-in; }
.cc-item:focus-visible { outline: 2px solid var(--brun); outline-offset: 3px; }
.cc-caption { text-align: center; margin-top: 34px; padding: 0 var(--pad); }
.cc-title { font: 400 28px/1.1 var(--serif); margin: 0 0 6px; }
.cc-sub { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); margin: 0; }
.cc-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.cc-count { min-width: 76px; text-align: center; font-size: 14px; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--text-soft); }
@media (max-width: 640px) { .concave { --ccw: min(56vw, 260px); } .cc-stage { perspective: 800px; } }

/* Avis */
.avis { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.avis-score .big { font: 300 clamp(110px, 14vw, 180px)/.9 var(--serif); margin: 0; }
.stars { color: var(--champagne); letter-spacing: .3em; font-size: 20px; margin: 10px 0; }
.avis-score p:last-child { color: var(--text-soft); }
.avis-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.avis-bars .row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; }
.avis-bars .row b { font: 500 20px/1 var(--serif); }
.bar { height: 2px; background: rgba(169,154,138,.35); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brun); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.is-visible .bar i { transform: scaleX(var(--v)); }

/* Réservation */
.demo-banner { padding: 12px 18px; border-radius: 14px; background: rgba(184,154,98,.15); border: 1px solid var(--line); font-size: 14px; margin-bottom: 24px; }
.booking-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.booking-steps { display: grid; gap: 20px; }
.step { margin: 0; padding: clamp(20px, 3vw, 32px); min-width: 0; transition: opacity .4s; }
.step:disabled { opacity: .5; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 400 26px/1 var(--serif); margin-bottom: 20px; padding: 0; }
.step legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--champagne); font: 400 14px/1 var(--sans); color: var(--brun); }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--text-soft); margin-bottom: 16px; clear: both; }
.field > span[aria-hidden] { color: var(--brun); }
.field { grid-template-columns: auto 1fr; } .field > :is(input, select, textarea, small) { grid-column: 1 / -1; }
.step legend b { font-weight: 400; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--sans); color: var(--profond); min-height: 48px; padding: 12px 16px;
  border-radius: 14px; border: 1px solid rgba(169,154,138,.55); background: rgba(255,255,255,.6);
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brun); box-shadow: 0 0 0 3px rgba(104,80,48,.15); }
.field input[readonly] { background: transparent; color: var(--text-soft); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: 13px; min-height: 1em; margin: 0; }
.service-list { display: grid; gap: 8px; max-height: 360px; overflow: auto; padding: 2px; clear: both; }
.service-opt {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; cursor: pointer;
  padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(169,154,138,.4); background: rgba(255,255,255,.35);
  transition: border-color .3s, background .3s;
}
.service-opt:hover { border-color: var(--taupe); }
.service-opt:has(input:checked) { border-color: var(--brun); background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px var(--brun); }
.service-opt:has(input:focus-visible) { outline: 2px solid var(--brun); outline-offset: 2px; }
.service-opt input { position: absolute; opacity: 0; pointer-events: none; }
.service-opt small { color: var(--text-soft); grid-column: 1; }
.service-opt b { font: 500 20px/1 var(--serif); grid-row: 1 / 3; grid-column: 2; }

.cal { clear: both; max-width: 420px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head p { margin: 0; font: 400 22px/1 var(--serif); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 12px; letter-spacing: .1em; color: var(--text-soft); padding: 6px 0; }
.cal-grid button {
  all: unset; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  font-size: 15px; min-width: 36px; transition: background .25s, color .25s;
}
.cal-grid button:hover:not(:disabled) { background: rgba(200,184,174,.45); }
.cal-grid button:focus-visible { outline: 2px solid var(--brun); }
.cal-grid button:disabled { color: rgba(48,40,32,.28); cursor: default; }
.cal-grid button[aria-pressed="true"] { background: var(--brun); color: var(--creme); }
.cal-grid .today { box-shadow: inset 0 0 0 1px var(--champagne); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 22px; }
.times .chip { padding: 0; justify-content: center; display: flex; align-items: center; font-variant-numeric: tabular-nums; }
.times p { grid-column: 1 / -1; margin: 0; color: var(--text-soft); font-size: 15px; }
.google-btn { gap: 12px; }

.summary { position: sticky; top: 100px; padding: 28px; }
.summary dl { margin: 0 0 24px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.summary dd { margin: 0; text-align: right; font-size: 15px; }
.summary #s-price { font: 500 24px/1 var(--serif); }
.summary .err { margin-top: 12px; }

.done { text-align: center; padding: clamp(32px, 6vw, 64px); animation: fadeUp .6s var(--ease) both; }
.done .check { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--champagne); color: var(--brun); }
.done h3 { font-size: 40px; margin-bottom: 12px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px; }
.contact-list li { display: flex; gap: 18px; }
.contact-list .ico { width: 22px; height: 22px; color: var(--champagne); margin-top: 4px; }
.contact-list h3 { font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; }
.contact-list p { margin: 0 0 4px; color: var(--text-soft); }
.contact-list a { color: var(--brun); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: sepia(.25) saturate(.8); }

/* Agenda institut */
.agenda { padding: 130px var(--pad) 100px; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; min-height: 100svh; }
body.view-agenda main { display: none; }
.agenda-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 32px; }
.agenda-tools .chips { margin: 0 12px 0 0; }
.day-group { margin-bottom: 36px; animation: fadeUp .5s var(--ease) both; }
.day-group h3::first-letter, .cal-head p::first-letter { text-transform: uppercase; }
.day-group h3 { font-size: 28px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.rdv {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: start;
  padding: 20px 24px; margin-bottom: 12px;
}
.rdv .time { font: 400 26px/1 var(--serif); font-variant-numeric: tabular-nums; }
.rdv .time small { display: block; font: 300 13px/1.6 var(--sans); color: var(--text-soft); }
.rdv h4 { margin: 0 0 6px; font: 500 16px/1.4 var(--sans); }
.rdv p { margin: 0; font-size: 15px; color: var(--text-soft); overflow-wrap: anywhere; }
.rdv a { color: var(--brun); }
.rdv .note { margin-top: 8px; font-style: italic; }
.rdv-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; justify-content: flex-end; }
#edit-rdv .times { margin: 4px 0 18px; }
.chip.is-current:not(.is-active) { box-shadow: inset 0 0 0 1.5px var(--champagne); } /* horaire actuel */
.empty { text-align: center; color: var(--text-soft); padding: 60px 20px; }

/* Dialogs */
dialog { border: 0; padding: 0; color: var(--text); }
dialog::backdrop { background: rgba(48, 40, 32, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet { width: min(560px, calc(100% - 32px)); max-height: 85vh; padding: 28px; animation: pop .35s var(--ease); }
.sheet header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sheet h2 { font-size: 36px; }
.sheet .rdv { grid-template-columns: 1fr auto; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); }
.lightbox { background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 18px; animation: pop .35s var(--ease); }
.lightbox button { position: absolute; top: 12px; right: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 160%);
  padding: 14px 24px; border-radius: 999px; font-size: 15px; transition: transform .5s var(--ease), visibility .5s;
  max-width: calc(100% - 32px); visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* Footer */
.footer { text-align: center; padding: 64px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 14px; }
.quote { margin: 44px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.quote p { font: italic 300 clamp(24px, 2.4vw, 32px)/1.3 var(--serif); margin-bottom: 12px; }
.quote footer { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.footer a { color: var(--brun); }

/* Animations d'apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* Animation d'entrée : logo + nom qui apparaissent, fine ligne champagne qui se remplit, puis rideau qui se lève */
html.is-loading { overflow: hidden; }
.is-loading .hero *, .is-loading .hero *::before, .is-loading .hero *::after { animation-play-state: paused !important; }
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--creme); text-align: center;
  transition: transform 1s cubic-bezier(.76, 0, .24, 1), border-radius 1s cubic-bezier(.76, 0, .24, 1);
}
.loader.out { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 12vh 12vh; }
.loader.out > * { opacity: 0; transition: opacity .35s; }
.intro-logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; animation: introLogo 1.1s var(--ease) both; }
.intro-name { margin: 6px 0 0; font: 300 clamp(38px, 9vw, 56px)/1 var(--serif); letter-spacing: .02em; }
.intro-name > * { display: inline-block; animation: introUp .9s var(--ease) both; }
.intro-name em { color: var(--champagne); animation-delay: .15s; }
.intro-name span:last-child { animation-delay: .3s; }
.intro-sub { margin: 0; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--text-soft); animation: introUp .9s var(--ease) .45s both; }
.intro-line { display: block; width: 120px; height: 1px; margin-top: 10px; background: var(--champagne); transform-origin: left; animation: introLine 1.3s cubic-bezier(.65, 0, .35, 1) .2s both; }
@keyframes introLogo { from { opacity: 0; transform: scale(.85); filter: blur(6px); } }
@keyframes introUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes introLine { from { transform: scaleX(0); } }

/* Bandeau cookies */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 460px; padding: 22px 24px;
  animation: pop .5s var(--ease);
}
.consent[hidden] { display: none; }
.consent-title { font: 400 24px/1.1 var(--serif); margin-bottom: 8px; }
.consent p:not(.consent-title) { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }
.consent a { color: var(--brun); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link-btn { all: unset; cursor: pointer; text-decoration: underline; color: var(--brun); }
.link-btn:focus-visible { outline: 2px solid var(--brun); outline-offset: 2px; }
.footer-links a { color: var(--brun); }
.map { position: relative; background: rgba(200, 184, 174, .25); }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; }
.map-consent[hidden] { display: none; }
.map-consent .ico { width: 28px; height: 28px; color: var(--champagne); }
.map-consent p { max-width: 260px; font-size: 14px; color: var(--text-soft); margin: 0; }

/* Page Politique de confidentialité */
.legal { max-width: 780px; margin: 0 auto; padding: 140px var(--pad) 80px; }
.legal .lead { font-size: 18px; color: var(--text-soft); }
.legal h2 { font-size: clamp(26px, 3vw, 32px); margin: 56px 0 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--text-soft); }
.legal strong { color: var(--text); font-weight: 500; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1em; }
.legal a { color: var(--brun); overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: 16px; background: rgba(251, 248, 244, .6); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.legal tr:last-child td { border-bottom: 0; }
.legal td:first-child { font-family: ui-monospace, monospace; font-size: 13px; color: var(--text); }

/* Horizon Bloom (hero) : un horizon clair qui se lève, avec un halo champagne qui respire */
.horizon { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; --hz: calc(100% - 190px); }
.hero-inner, .hero-strip, .hero-rating { z-index: 2; }
.planet {
  position: absolute; left: 50%; top: var(--hz); width: 260vw; aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%);
  /* bord fondu (aucune ligne nette) : le crème monte en douceur sur la photo, comme une brume */
  background: radial-gradient(closest-side, var(--creme) 90%, rgba(244, 238, 231, .85) 94%, rgba(244, 238, 231, 0) 100%);
  animation: rise 2.4s var(--ease) .2s both;
}
.bloom {
  position: absolute; left: 50%; top: calc(var(--hz) - 230px); width: min(120vw, 1100px); height: 380px;
  transform: translateX(-50%); transform-origin: 50% 60%;
  background: radial-gradient(50% 50% at 50% 60%, #FFFCF6 0%, rgba(242, 226, 202, .8) 20%, rgba(200, 184, 174, .32) 46%, transparent 70%);
  animation: bloom 3s var(--ease) .7s both, breathe 9s ease-in-out 3.7s infinite;
}
.bloom::after { /* cœur lumineux posé sur l'horizon, très diffus */
  content: ""; position: absolute; left: 25%; right: 25%; top: calc(60% - 20px); height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 253, 248, .9), rgba(255, 248, 236, 0)); filter: blur(6px);
}
/* Les lignes de fond apparaissent progressivement sous le hero (pas de couture entre les deux) */
.hero + .section { position: relative; }
.hero + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 100vw; height: 320px; transform: translateX(-50%);
  z-index: -1; pointer-events: none; background: linear-gradient(var(--creme), rgba(244, 238, 231, 0));
}
/* Flou progressif en bas du hero (ordinateur) : la photo se dissout dans la page, sans séparation visible */
@media (min-width: 901px) {
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; pointer-events: none;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(transparent, #000 75%); mask-image: linear-gradient(transparent, #000 75%);
    background: linear-gradient(rgba(244, 238, 231, 0), rgba(244, 238, 231, .55) 60%, var(--creme));
  }
}
.dust { /* quelques paillettes champagne au-dessus de l'horizon */
  position: absolute; left: 0; top: calc(var(--hz) - 140px); width: 2px; height: 2px; border-radius: 50%; color: rgba(184, 154, 98, .7);
  box-shadow: 8vw 40px, 17vw 90px, 26vw 20px, 34vw 110px, 43vw 60px, 52vw 15px, 61vw 100px, 70vw 45px, 79vw 120px, 88vw 30px, 94vw 85px;
  animation: twinkle 5s ease-in-out 2s infinite alternate both;
}
@keyframes rise { from { transform: translateX(-50%) translateY(80px); opacity: 0; } }
@keyframes bloom { from { opacity: 0; transform: translateX(-50%) scale(.5); } }
@keyframes breathe { 50% { opacity: .78; transform: translateX(-50%) scale(1.07); } }
@keyframes twinkle { from { opacity: .15; } to { opacity: .8; } }

/* Floating Lines : fond fixe de tout le site, sous le contenu (opacité pilotée par lines.js) */
.lines-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.lines-bg canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .4s linear; }

/* Effet « tilted card » (variables --rx, --ry, --ts pilotées par app.js) */
:is(.card, .gallery button, .about-media img), .card.reveal.is-visible {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ts, 1));
  transition: transform .7s cubic-bezier(.22, 1.2, .36, 1), opacity .8s var(--ease) var(--d, 0s), box-shadow .5s var(--ease);
  will-change: transform;
}
.is-tilting { transition-duration: .18s, .8s, .5s; box-shadow: 0 30px 60px -28px rgba(48, 40, 32, .45); }
.card.reveal:not(.is-visible) { transform: perspective(900px) translateY(24px); }
@media (hover: none) { :is(.card, .gallery button, .about-media img) { transition-duration: .35s, .8s, .5s; } }

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
  .booking-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav { padding-left: 18px; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px;
    border-radius: var(--radius); background: rgba(251,248,244,.88);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,.8); box-shadow: 0 24px 60px -30px rgba(48,40,32,.4);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; border-radius: 12px; }
  .nav-links a::after { display: none; }
}
@media (max-width: 900px) {
  .about, .avis, .contact-grid { grid-template-columns: 1fr; }
  .nav { background: rgba(244, 238, 231, .55); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border-color: rgba(255,255,255,.7); }
  .hero { display: block; min-height: 0; padding: 0 0 56px; }
  .hero-media { position: relative; width: 100%; height: 64svh; }
  .horizon { --hz: calc(64svh - 44px); }
  .bloom { height: 280px; top: calc(var(--hz) - 170px); width: 150vw; }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); object-position: 50% 35%; }
  .hero-media::after { display: none; }
  .hero-inner { margin-top: -14px; padding: 0 var(--pad); }
  .hero-strip { position: relative; left: auto; right: auto; bottom: auto; margin: 48px var(--pad) 0; }
  .hero-rating { top: 110px; bottom: auto; right: var(--pad); }
  .hero-side, .hero-guides { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-book, .brand-text { display: none; }
  .logo { width: 44px; height: 44px; }
  #account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #account-btn { width: 44px; padding: 0; }
  .hero-media { height: 58svh; }
  .horizon { --hz: calc(58svh - 44px); }
  .hero-strip { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .stats { gap: 24px; }
  .stats dd { font-size: 34px; }
  .prices li { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .prices .dur { grid-row: 2; }
  .prices .book { grid-column: 2; grid-row: 2; }
  .prices .price { grid-row: 1; grid-column: 2; }
  .rdv { grid-template-columns: 1fr; gap: 10px; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery button { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
