/* ==========================================================================
   Soleil de la Trême — feuille de style
   Palette tirée du logo (soleil, braise), du vert des serviettes du cabinet
   et du bleu nuit de l'ancien site.
   ========================================================================== */

@font-face {
  font-family: "Sofia Sans";
  src: url("../fonts/sofia-sans.woff2") format("woff2");
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("../fonts/sofia-sans-italic.woff2") format("woff2");
  font-weight: 1 1000;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  src: url("../fonts/sofia-sans-extra-condensed.woff2") format("woff2");
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --nuit: #1E3346;
  --nuit-2: #2D4A63;
  --ardoise: #2C3033;
  --ardoise-doux: #565D63;
  --soleil: #FFC94A;
  --soleil-clair: #FFE7A3;
  --braise: #EE8A2C;
  --ambre: #9E4F00;
  --pre: #B9C531;
  --pre-fonce: #56620F;
  --pre-nuit: #2F3A18;
  --brume: #F1F4EA;
  --blanc: #FFFFFF;
  --trait: rgba(44, 48, 51, 0.16);

  /* Typographie */
  --font-texte: "Sofia Sans", "Segoe UI", system-ui, sans-serif;
  --font-titre: "Sofia Sans Extra Condensed", "Arial Narrow", "Sofia Sans", sans-serif;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
  --fs-h4: 1.6rem;
  --fs-h3: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --fs-h2: clamp(3rem, 2.2rem + 4vw, 5.75rem);
  --fs-hero: clamp(5.4rem, 1rem + 10vw, 10.5rem);

  /* Espaces */
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --maxw: 1240px;
  --header-h: 72px;

  --radius-s: 10px;
  --radius-m: 22px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

@media (min-width: 1024px) {
  :root { --fs-body: 1.125rem; --header-h: 86px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--blanc);
  color: var(--ardoise);
  font-family: var(--font-texte);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--nuit);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible, .signature :focus-visible, .site-footer :focus-visible,
.rme :focus-visible, .nav-list.is-open :focus-visible {
  outline-color: var(--soleil);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--soleil); color: var(--nuit); padding: 0.7rem 1.1rem;
  border-radius: var(--radius-s); font-weight: 700; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
}

.section-title {
  font-family: var(--font-titre);
  font-size: var(--fs-h2);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.005em;
  color: var(--nuit);
  margin-bottom: 0.35em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 34ch;
  color: var(--ardoise);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--soleil { background: var(--soleil); color: var(--nuit); }
.btn--soleil:hover { background: #FFB72E; }
.btn--clair { border-color: rgba(255, 255, 255, 0.75); color: var(--blanc); background: rgba(16, 30, 44, 0.42); }
.btn--clair:hover { background: rgba(16, 30, 44, 0.7); border-color: var(--blanc); }
.btn--contour { border-color: var(--nuit); color: var(--nuit); background: transparent; }
.btn--contour:hover { background: var(--nuit); color: var(--blanc); }

.link-btn {
  text-align: left;
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.18em; font: inherit; color: inherit;
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--blanc);
  transition: background-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.header-inner {
  height: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { position: relative; display: block; height: calc(var(--header-h) - 18px); aspect-ratio: 509 / 285; }
.brand-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.35s; }
.brand-logo--sombre { opacity: 0; }

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ardoise);
  box-shadow: 0 1px 0 var(--trait);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(255, 255, 255, 0.84); backdrop-filter: blur(12px) saturate(1.2); }
}
.site-header.is-scrolled:not(.is-solid) {
  background: rgba(20, 36, 52, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled:not(.is-solid) { background: rgba(20, 36, 52, 0.72); backdrop-filter: blur(12px) saturate(1.2); }
}
.site-header.is-solid .brand-logo--clair { opacity: 0; }
.site-header.is-solid .brand-logo--sombre { opacity: 1; }

.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.2rem);
}
.nav-list a:not(.btn) {
  font-weight: 600; text-decoration: none; padding: 0.4rem 0; position: relative;
}
.nav-list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--soleil); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list a:not(.btn):hover::after,
.nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.site-header.is-solid .nav-list a[aria-current="true"]::after { background: var(--braise); }

.nav-toggle { display: none; }

@media (max-width: 959px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem;
    min-height: 48px; padding: 0 0.4rem 0 1rem;
    background: none; border: 0; cursor: pointer; font-weight: 700;
    position: relative; z-index: 2;
  }
  .nav-toggle-icon { position: relative; width: 26px; height: 14px; }
  .nav-toggle-icon::before, .nav-toggle-icon::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
    background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease);
  }
  .nav-toggle-icon::before { top: 2px; }
  .nav-toggle-icon::after { top: 10px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 6px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 6px; transform: rotate(-45deg); }
  .nav-toggle[aria-expanded="true"] { color: var(--blanc); }

  .nav-list {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.4rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--nuit); color: var(--blanc);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-list.is-open { opacity: 1; visibility: visible; }
  .nav-list a:not(.btn) {
    font-family: var(--font-titre); font-size: clamp(2.6rem, 12vw, 3.6rem); font-weight: 700; line-height: 1.05;
  }
  .nav-cta { margin-top: 1.4rem; }
  body.nav-open { overflow: hidden; }
  .brand { z-index: 2; }
  .site-header.menu-open { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; color: var(--blanc); }
  .site-header.menu-open .brand-logo--clair { opacity: 1; }
  .site-header.menu-open .brand-logo--sombre { opacity: 0; }
}

/* ==========================================================================
   Héros : lever de soleil
   ========================================================================== */
.hero {
  --p: 0;           /* progression du défilement dans le héros (0 → 1) */
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
  background: var(--nuit);
}
.sky { position: absolute; inset: 0; z-index: -1; }
.sky-layer { position: absolute; inset: 0; }
.sky-dawn {
  background:
    radial-gradient(ellipse 55% 60% at 12% 58%, rgba(14, 27, 40, 0.45), rgba(14, 27, 40, 0) 72%),
    linear-gradient(180deg,
      #1B2F42 0%, #2A4660 36%, #4B6076 60%, #9F8174 72%, #F2B572 83%, #FFD98C 91%, #FFE9B8 100%);
}
.sky-day {
  background: linear-gradient(180deg, #3A6688 0%, #6F98B3 45%, #C7D9DA 75%, #F6E9C2 100%);
  opacity: calc(var(--p) * 0.55);
}
.sky-night {
  background: linear-gradient(180deg, #0B1622 0%, #13243A 55%, #1E3346 100%);
  animation: nuit-qui-part 2.8s var(--ease) 0.15s forwards;
}
.stars { position: absolute; inset: 0 0 35% 0; width: 100%; height: 65%; animation: etoiles 2.6s ease-in 0.2s forwards; }

.sun {
  --sun: clamp(150px, 20vw, 300px);
  position: absolute;
  left: 69%;
  bottom: clamp(96px, 13.5vw, 210px);
  width: var(--sun); height: var(--sun);
  translate: -50% 85%;
  transform: translateY(calc(var(--p) * -24vh));
  animation: lever 2.9s var(--ease) 0.25s forwards;
}
.sun > * { position: absolute; max-width: none; }
.sun-glow {
  inset: -120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 120, 0.75) 0%, rgba(255, 190, 100, 0.32) 28%, rgba(255, 170, 90, 0) 62%);
  opacity: calc(0.85 + var(--p) * 0.15);
}
.sun-rays {
  inset: -42%;
  width: 184%; height: 184%;
  animation: rayons 120s linear infinite;
  rotate: calc(var(--p) * 50deg);
}
.sun-core {
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #FFF8DE 0%, #FFE085 38%, #FFC94A 68%, #F6A73B 100%);
  box-shadow: 0 0 40px rgba(255, 210, 110, 0.65);
}
.sun-ring { inset: -34%; width: 168%; height: 168%; rotate: calc(var(--p) * -30deg); }

.ridges {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(220px, 30vw, 420px);
}
.hero .ridge--loin { fill: #3A5570; transform: translateY(calc(var(--p) * 14px)); }
.hero .ridge--milieu { fill: #233A4F; transform: translateY(calc(var(--p) * 8px)); }

.hero-content {
  position: relative;
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding: calc(var(--header-h) + clamp(1.5rem, 7vh, 5.5rem)) var(--gutter) 0;
}
.hero-title {
  font-family: var(--font-titre);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.01em;
  margin: 0 0 0.18em -0.04em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; translate: 0 105%; animation: monte 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: 0.9s; }
.hero-title .line:nth-child(2) > span { animation-delay: 1.05s; color: var(--soleil-clair); }
.nowrap { white-space: nowrap; }
.hero-lead {
  font-size: var(--fs-lead);
  line-height: 1.4;
  max-width: 30ch;
  margin-bottom: 0.5em;
  opacity: 0; animation: apparait 0.9s ease 1.65s forwards;
}
.hero-who {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.82);
  max-width: 40ch;
  margin-bottom: 1.6rem;
  opacity: 0; animation: apparait 0.9s ease 1.8s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  opacity: 0; animation: apparait 0.9s ease 1.95s forwards;
}

@keyframes nuit-qui-part { to { opacity: 0; } }
@keyframes etoiles { to { opacity: 0; } }
@keyframes lever { to { translate: -50% 0; } }
@keyframes rayons { to { transform: rotate(360deg); } }
@keyframes monte { to { translate: 0 0; } }
@keyframes apparait { to { opacity: 1; } }

@media (max-width: 719px) {
  .sun { left: 74%; bottom: 150px; --sun: 150px; }
  .ridges { height: 250px; }
  .hero-content { padding-top: calc(var(--header-h) + 2.2rem); }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (min-width: 720px) and (max-height: 760px) {
  .hero-content { padding-top: calc(var(--header-h) + 2rem); }
  .hero { --fs-hero: clamp(5rem, 11vw, 9.5rem); }
}

/* ==========================================================================
   Bande RME (prolonge le pré du héros)
   ========================================================================== */
.rme { background: var(--pre-nuit); color: var(--blanc); padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.rme-inner {
  display: grid; gap: 1rem 2rem; align-items: center;
  grid-template-columns: auto 1fr;
}
.rme-logo { width: 116px; background: var(--blanc); border-radius: var(--radius-s); padding: 10px 12px; }
.rme-title { font-family: var(--font-titre); font-size: 2rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--pre); }
.rme-text p { margin: 0; max-width: 62ch; color: rgba(255, 255, 255, 0.9); }
.rme-link { grid-column: 1 / -1; font-weight: 700; color: var(--soleil); justify-self: start; }
@media (min-width: 1024px) {
  .rme-inner { grid-template-columns: auto 1fr auto; }
  .rme-link { grid-column: auto; justify-self: end; max-width: 22ch; text-align: right; }
}
@media (max-width: 559px) {
  .rme-inner { grid-template-columns: 1fr; }
  .rme-logo { width: 104px; }
}

/* ==========================================================================
   Approche
   ========================================================================== */
.approche { padding: var(--section) 0; }
.approche-grid {
  display: grid; gap: 2.5rem 4rem;
  grid-template-columns: 1fr;
  grid-template-areas: "intro" "photo" "points" "note";
}
.approche-intro { grid-area: intro; }
.approche-photo { grid-area: photo; margin: 0; }
.approche-points { grid-area: points; display: grid; gap: 2rem; }
.approche-note { grid-area: note; margin: 0; color: var(--ardoise-doux); font-size: var(--fs-small); }

.arch { overflow: hidden; border-radius: 999px 999px var(--radius-m) var(--radius-m); background: var(--brume); }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; }

.point h3 {
  font-family: var(--font-titre); font-size: var(--fs-h3); font-weight: 720; color: var(--nuit);
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem;
}
.point h3::before {
  content: ""; flex: none; width: 0.7em; height: 0.7em; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--soleil-clair), var(--soleil) 55%, var(--braise));
}
.point p { margin: 0; max-width: 46ch; }

@media (min-width: 900px) {
  .approche-grid {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas: "intro photo" "points photo" "note photo";
    align-items: start;
  }
  .approche-photo { position: sticky; top: calc(var(--header-h) + 2rem); }
  .approche-points { grid-template-columns: 1fr; gap: 2.2rem; border-top: 1px solid var(--trait); padding-top: 2.2rem; }
  .point { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; align-items: baseline; }
  .point h3 { margin: 0; }
}


/* ==========================================================================
   Massages
   ========================================================================== */
.massages { padding: var(--section) 0; background: var(--brume); }
.massages-head { display: grid; gap: 0.5rem 3rem; margin-bottom: 2rem; }
@media (min-width: 900px) {
  .massages-head { grid-template-columns: auto 1fr; align-items: end; }
  .massages-head .lead { margin-bottom: 1.1em; }
}

.filtre { margin-bottom: 2.5rem; }
.filtre-label { font-weight: 700; margin-bottom: 0.6rem; }
.filtre-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 44px; padding: 0.45rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--nuit);
  background: transparent; color: var(--nuit); cursor: pointer; font-weight: 600; font-size: 0.98rem;
  transition: background-color 0.2s, color 0.2s;
}
.chip:hover { background: rgba(30, 51, 70, 0.08); }
.chip[aria-pressed="true"] { background: var(--nuit); color: var(--blanc); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
.filtre-status { margin: 0.75rem 0 0; font-size: var(--fs-small); color: var(--ardoise-doux); }

.massages-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .massages-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 4rem; align-items: start; }
}
@media (min-width: 1200px) {
  .massages-layout { grid-template-columns: minmax(0, 1fr) 440px; }
}

.duree + .duree { margin-top: 3.5rem; }
.duree-title {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--font-titre); font-size: var(--fs-h3); font-weight: 720; color: var(--nuit);
  padding-bottom: 0.9rem; border-bottom: 2px solid var(--nuit);
}
.duree-prix {
  font-family: var(--font-texte); font-size: 1rem; font-weight: 800; letter-spacing: 0.01em;
  background: var(--soleil); color: var(--nuit); padding: 0.3rem 0.8rem; border-radius: 999px; white-space: nowrap;
}

.massage { border-bottom: 1px solid var(--trait); }
.massage summary {
  list-style: none; cursor: pointer;
  display: grid; align-items: center; gap: 0.15rem 1rem;
  grid-template-columns: 64px 1fr 40px;
  grid-template-areas: "thumb name icon" "thumb short icon";
  padding: 1.1rem 0;
  border-radius: var(--radius-s);
}
.massage summary::-webkit-details-marker { display: none; }
.massage-thumb { grid-area: thumb; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.massage-name {
  grid-area: name; font-family: var(--font-titre); font-weight: 700;
  font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.15rem); line-height: 1; color: var(--nuit);
  transition: color 0.2s;
}
.massage-short { grid-area: short; color: var(--ardoise-doux); font-size: 0.98rem; line-height: 1.35; }
.massage-icon {
  grid-area: icon; justify-self: end;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--nuit); position: relative;
  transition: background-color 0.25s, transform 0.35s var(--ease);
}
.massage-icon::before, .massage-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: var(--nuit); border-radius: 2px; transition: background-color 0.25s;
}
.massage-icon::after { transform: rotate(90deg); }
.massage summary:hover .massage-name { color: var(--ambre); }
.massage summary:hover .massage-icon { background: var(--soleil); border-color: var(--soleil); }
.massage[open] .massage-icon { transform: rotate(135deg); background: var(--nuit); }
.massage[open] .massage-icon::before, .massage[open] .massage-icon::after { background: var(--blanc); }
.massage[open] .massage-name { color: var(--ambre); }



.massage-body { padding: 0.2rem 0 1.8rem; display: grid; gap: 1.25rem; }
.massage-photo { width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--radius-m); }
.massage-text { max-width: 62ch; }
.massage-text p { margin-bottom: 0.8em; }
.massage-meta { font-weight: 800; color: var(--nuit); }

/* Ouverture animée quand le navigateur le permet */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .massage::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
  }
  .massage[open]::details-content { block-size: auto; }
}

@media (min-width: 720px) {
  .massage summary { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 40px; grid-template-areas: "name short icon"; padding: 1.35rem 0; }
  .massage-thumb { display: none; }
}
@media (min-width: 1024px) {
  .massage-photo { display: none; }
  .massage-body { padding-bottom: 2rem; }
}
@media (max-width: 719px) {
  .massage-photo { aspect-ratio: 16 / 10; max-height: none; }
}

.massage.is-hidden, .duree.is-hidden { display: none; }
.filtre-vide { margin-top: 1.5rem; font-weight: 600; }

/* Disque d'aperçu (ordinateur) */
.massages-preview { display: none; }
@media (min-width: 1024px) {
  .massages-preview { display: block; position: sticky; top: calc(var(--header-h) + 2rem); }
}
.preview-disc { position: relative; aspect-ratio: 1; }
.preview-ring {
  position: absolute; inset: -7%; width: 114%; height: 114%; max-width: none;
  transition: transform 0.9s var(--ease);
}
.preview-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  opacity: 0; transition: opacity 0.45s ease;
}
.preview-img.is-active { opacity: 1; }
.preview-caption { margin: 2rem 0 0; display: grid; gap: 0.2rem; text-align: center; }
.preview-caption [data-preview-name] { font-family: var(--font-titre); font-size: 1.9rem; font-weight: 700; color: var(--nuit); line-height: 1; }
.preview-meta { color: var(--ardoise-doux); font-weight: 600; }

/* ==========================================================================
   Soin signature
   ========================================================================== */
.signature {
  position: relative; overflow: hidden;
  background: var(--nuit); color: var(--blanc);
  padding: var(--section) 0;
  isolation: isolate;
}
.signature-photo { margin: 0; position: relative; width: fit-content; }
.signature-photo::before {
  content: ""; position: absolute; z-index: -1; inset: -26%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FFE08A 0%, #FFC94A 34%, #F09A3A 54%, rgba(238, 138, 44, 0) 71%);
}
.signature-grid { display: grid; gap: 2.5rem; align-items: center; }
.signature-photo img {
  width: min(100%, 520px); aspect-ratio: 1; object-fit: cover; object-position: 50% 40%;
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--nuit), 0 0 0 11px var(--soleil);
}
.signature .section-title { color: var(--blanc); }
.signature-kicker { color: var(--pre); font-weight: 700; margin-bottom: 0.8rem; }
.signature-sub { font-size: var(--fs-lead); color: var(--soleil-clair); font-weight: 600; }
.signature-text > p:not(.signature-kicker):not(.signature-sub) { max-width: 52ch; color: rgba(255, 255, 255, 0.9); margin-bottom: 1.8rem; }
@media (min-width: 900px) {
  .signature-grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
}
@media (max-width: 899px) {
  .signature-grid { gap: 4rem; }
  .signature-photo { margin-inline: auto; }
  .signature-photo::before { inset: -16%; }
  .signature-photo img { width: min(74vw, 400px); }
}

/* ==========================================================================
   À propos et valeurs
   ========================================================================== */
.apropos { padding: var(--section) 0; }
.apropos-grid { display: grid; gap: 3rem; align-items: center; }
.apropos-treme { margin: 0; }
.apropos-treme img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius-m) var(--radius-m) var(--radius-m) 160px;
}
.apropos-treme figcaption { margin-top: 0.8rem; color: var(--ardoise-doux); font-size: var(--fs-small); }
.apropos-who { display: flex; align-items: center; gap: 1.2rem; margin: 0.4rem 0 1.6rem; }
.apropos-portrait {
  width: 112px; height: 112px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  box-shadow: 0 0 0 4px var(--blanc), 0 0 0 7px var(--soleil);
}
.apropos-name { margin: 0; display: grid; gap: 0.1rem; line-height: 1.3; }
.apropos-name strong { font-family: var(--font-titre); font-size: 2rem; color: var(--nuit); font-weight: 700; line-height: 1; }
.apropos-name span { color: var(--ardoise-doux); font-size: var(--fs-small); }
.apropos-text > p { max-width: 54ch; }
@media (min-width: 900px) {
  .apropos-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.valeurs { margin-top: clamp(4rem, 8vw, 7rem); }
.valeurs-title { font-family: var(--font-titre); font-size: var(--fs-h3); font-weight: 720; color: var(--nuit); margin-bottom: 1.8rem; }
.valeurs-grid { display: grid; gap: 2.2rem; }
.valeur { border-top: 3px solid var(--pre); padding-top: 1.1rem; }
.valeur h4 { font-family: var(--font-titre); font-size: var(--fs-h4); font-weight: 700; color: var(--nuit); margin-bottom: 0.6rem; line-height: 1.05; }
.valeur p { margin: 0; font-size: 1.0625rem; }
@media (min-width: 720px) { .valeurs-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; } }
@media (min-width: 1200px) { .valeurs-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Rendez-vous
   ========================================================================== */
.rdv { padding: var(--section) 0; background: var(--brume); }
.rdv-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) {
  .rdv-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4.5rem; }
  .rdv-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.rdv-steps { margin: 1.8rem 0; padding: 0; list-style: none; counter-reset: etape; display: grid; gap: 0.9rem; }
.rdv-steps li { counter-increment: etape; display: grid; grid-template-columns: 2.2rem 1fr; align-items: baseline; }
.rdv-steps li::before {
  content: counter(etape); font-family: var(--font-titre); font-size: 1.7rem; font-weight: 800; color: var(--ambre); line-height: 1;
}
.rdv-call { font-weight: 600; }
.rdv-call a { color: var(--nuit); font-weight: 800; white-space: nowrap; }

.rdv-form {
  background: var(--blanc);
  border-radius: var(--radius-m);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: 0 1px 0 var(--trait), 0 24px 60px -30px rgba(30, 51, 70, 0.35);
  display: grid; gap: 1.5rem;
}
.field { display: grid; gap: 0.4rem; align-content: start; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field > legend { font-weight: 700; color: var(--nuit); padding: 0; margin-bottom: 0.1rem; }
.req, .opt { font-weight: 500; font-size: 0.85rem; color: var(--ardoise-doux); margin-left: 0.3rem; }
input[type="text"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #8F969B; border-radius: var(--radius-s);
  background: var(--blanc);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 96px; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231E3346' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 20px;
}
input:hover, select:hover, textarea:hover { border-color: var(--nuit); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--nuit); box-shadow: 0 0 0 3px rgba(255, 201, 74, 0.9);
}
.field-hint { margin: 0; font-size: 0.9rem; color: var(--ardoise-doux); }
.field-error { margin: 0; font-size: 0.95rem; font-weight: 700; color: #A3231A; }
.field-error:empty { display: none; }
.field-error::before { content: "⚠ "; }
[aria-invalid="true"] { border-color: #A3231A !important; background: #FFF6F5; }
.is-flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 201, 74, 0); } 30% { box-shadow: 0 0 0 6px rgba(255, 201, 74, 0.9); } }

.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 1rem;
  border: 1.5px solid #8F969B; border-radius: 999px; font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.choice:hover span { border-color: var(--nuit); }
.choice input:checked + span { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.choice input:checked + span::before { content: "✓"; margin-right: 0.45rem; color: var(--soleil); }
.choice input:focus-visible + span { outline: 3px solid var(--nuit); outline-offset: 3px; }

.apercu { border: 1.5px dashed #B5BBBF; border-radius: var(--radius-s); padding: 0.2rem 1rem; }
.apercu summary { cursor: pointer; font-weight: 700; color: var(--nuit); padding: 0.7rem 0; }
.apercu-texte {
  white-space: pre-wrap; font-family: var(--font-texte); font-size: 0.98rem; line-height: 1.5;
  margin: 0 0 1rem; color: var(--ardoise);
}
.rdv-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 519px) { .rdv-actions .btn { width: 100%; } }
.form-status { margin: 0; font-weight: 700; color: var(--pre-fonce); }
.form-status:empty { display: none; }
.form-status.is-error { color: #A3231A; }
.form-note { margin: 0; font-size: 0.9rem; color: var(--ardoise-doux); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: var(--section) 0 calc(var(--section) * 0.8); }
.contact-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.contact-bloc h3 { font-family: var(--font-titre); font-size: var(--fs-h3); font-weight: 720; color: var(--nuit); margin-bottom: 0.9rem; }
.contact-bloc address { font-size: 1.15rem; line-height: 1.45; margin-bottom: 0.8rem; }
.contact-link { font-weight: 700; color: var(--nuit); }
.contact-small { color: var(--ardoise-doux); font-size: var(--fs-small); }
.contact-bloc > .contact-small { margin-top: 0.6rem; }

.course { margin-bottom: 1rem; max-width: 260px; }
.course-arc { width: 100%; overflow: visible; }
.course-track { stroke: #E2E8D5; stroke-width: 8; stroke-linecap: round; }
.course-done { stroke: var(--soleil); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1s var(--ease); }
.course-sun { fill: var(--braise); stroke: var(--blanc); stroke-width: 3; }
.course-arc text { font-size: 14px; fill: var(--ardoise-doux); font-family: var(--font-texte); font-weight: 600; }
.course-status { margin: 0.8rem 0 0; font-weight: 800; color: var(--nuit); }
.course-status.is-open { color: var(--pre-fonce); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.contact-list a {
  display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px;
  font-weight: 600; text-decoration: none; word-break: break-word;
}
.contact-list a:hover { color: var(--ambre); text-decoration: underline; }
.contact-list svg { width: 22px; height: 22px; flex: none; fill: var(--nuit); }

.carte { border-radius: var(--radius-m); overflow: hidden; background: var(--brume); min-height: 340px; display: grid; }
.carte-placeholder {
  display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 2rem;
  background: repeating-linear-gradient(115deg, transparent 0 38px, rgba(30, 51, 70, 0.05) 38px 40px), var(--brume);
}
.carte-placeholder::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%; margin-bottom: 0.6rem;
  background: var(--braise); box-shadow: 0 0 0 14px rgba(255, 201, 74, 0.45), 0 0 0 30px rgba(255, 201, 74, 0.18);
}
.carte-placeholder p { max-width: 40ch; margin: 0.8rem 0 0; color: var(--ardoise-doux); }
.carte iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ==========================================================================
   Pied de page : coucher de soleil
   ========================================================================== */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--blanc);
  background: linear-gradient(180deg, #1B2F42 0%, #2E4359 30%, #6D5A63 55%, #D7875A 76%, #F3A955 92%);
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(14rem, 26vw, 24rem);
}
.dusk { position: absolute; inset: 0; z-index: -1; }
.dusk-sun {
  position: absolute; left: 24%; bottom: clamp(80px, 11vw, 170px);
  width: clamp(130px, 16vw, 240px); aspect-ratio: 1; translate: -50% 40%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FFE6A0 0%, #FFB94A 55%, #EE7A2C 100%);
  box-shadow: 0 0 80px 30px rgba(255, 160, 80, 0.45);
}
.ridges--soir .ridge--loin { fill: #4A3F55; }
.ridges--soir .ridge--milieu { fill: #2B2E44; }
.ridges--soir .ridge--pre-soir { fill: #1B1F2E; }
.ridges--soir { transform: scaleX(-1); }

.footer-inner { display: grid; gap: 2.5rem; }
.footer-brand img { width: 190px; margin-bottom: 1rem; }
.footer-brand p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.footer-brand a { font-weight: 700; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-nav a, .footer-nav .link-btn { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.footer-nav a:hover, .footer-nav .link-btn:hover { text-decoration: underline; }
.footer-copy { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: var(--fs-small); align-self: end; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr auto; align-items: start; }
  .footer-nav ul { grid-template-columns: repeat(2, auto); gap: 0.2rem 2.5rem; }
  .footer-nav li:last-child { grid-column: 1 / -1; }
}

/* ---------- Fenêtre mentions légales ---------- */
.dialog {
  width: min(680px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  border: 0; border-radius: var(--radius-m); padding: 0;
  color: var(--ardoise); background: var(--blanc);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
}
.dialog::backdrop { background: rgba(14, 26, 38, 0.6); backdrop-filter: blur(3px); }
.dialog-inner { padding: clamp(1.5rem, 4vw, 2.5rem); }
.dialog h2 { font-family: var(--font-titre); font-size: 2.6rem; color: var(--nuit); margin: 0 0 1.2rem; padding-right: 5rem; line-height: 0.95; }
.dialog h3 { font-size: 1.05rem; color: var(--nuit); margin: 1.4rem 0 0.4rem; }
.dialog p { margin: 0 0 0.6rem; }
.dialog-close {
  position: absolute; top: 1rem; right: 1rem; min-height: 44px; padding: 0 1rem;
  border-radius: 999px; border: 1.5px solid var(--nuit); background: var(--blanc); color: var(--nuit);
  font-weight: 700; cursor: pointer;
}
.dialog-close:hover { background: var(--nuit); color: var(--blanc); }

/* ==========================================================================
   Mouvement réduit : l'aube est déjà levée
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .sun-rays { animation: none; }
  .hero { --p: 0 !important; }
}

@media print {
  .site-header, .sky, .dusk, .filtre, .massages-preview, .rdv-form, .carte { display: none !important; }
  .hero { min-height: auto; color: var(--ardoise); background: none; }
  .hero-title .line > span, .hero-lead, .hero-who, .hero-actions { translate: none; opacity: 1; animation: none; }
  .massage-body { display: block !important; }
}
