/* Biancils : papier, encre noire, laiton. Mise en page éditoriale, une seule note dorée. */
:root {
  --paper: #fcfdfb;
  --sand: #f3f1ec;
  --ink: #151514;
  --stone: #5b5954;
  --line: #dedcd5;
  --gold: #85693a;
  --gold-light: #c8ad7a;
  --night: #161615;
  --display: "Cormorant Garamond", "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Titres */
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
h1.page { font-size: clamp(2.6rem, 8vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 18px; }
h2.sub { font-size: 1.9rem; margin-bottom: 14px; }
.lead { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.25; margin: 0 0 18px; }
p { margin: 0 0 1em; max-width: 62ch; }
p.big { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.25; font-weight: 500; }
.fine { color: var(--stone); font-size: 0.92rem; }

/* En-tête */
header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 12px; padding-bottom: 2px; position: static; }
.brand { display: block; line-height: 0; }
.brand img { height: 26px; width: auto; display: block; }
nav { order: 3; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; padding: 0 0 8px; }
nav > a, .menu summary {
  font-size: 0.92rem; letter-spacing: 0.03em; padding: 8px 0; text-decoration: none; cursor: pointer;
  border-bottom: 1px solid transparent;
}
nav > a:hover, .menu summary:hover { border-bottom-color: var(--line); }
nav > a[aria-current="page"], .menu summary[aria-current="page"], .menu[open] summary { border-bottom-color: var(--gold); }
@media (min-width: 800px) {
  .bar { flex-wrap: nowrap; padding-bottom: 0; min-height: 78px; }
  nav { order: 0; width: auto; padding: 0; gap: 0 36px; }
}

/* Menu Prestations */
.menu, nav { position: static; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg);
}
.menu[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--ink);
  box-shadow: 0 18px 30px rgba(21, 21, 20, 0.1);
  padding: 6px 0 14px; max-height: calc(100vh - 150px); overflow-y: auto;
}
.menu-panel .wrap { display: grid; column-gap: 56px; }
@media (min-width: 760px) { .menu-panel .wrap { grid-template-columns: 1fr 1fr; } }
.menu-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--display); font-size: 1.35rem; font-weight: 500;
}
.menu-panel a::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 6px;
  border-right: 1px solid var(--gold); border-top: 1px solid var(--gold); transform: rotate(45deg);
}
.menu-panel a.all { font-style: italic; font-weight: 400; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { color: var(--gold); }

/* Boutons */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  background: var(--ink); color: var(--paper); padding: 14px 30px;
  border: 1px solid var(--ink); font: 500 0.95rem/1.3 var(--sans); letter-spacing: 0.06em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.small { padding: 10px 20px; font-size: 0.85rem; }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.light:hover { background: var(--gold-light); border-color: var(--gold-light); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }

/* Accueil */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.hero-logo { margin: 0 0 22px; line-height: 0; }
.hero-logo img { width: min(100%, 440px); height: auto; display: block; }
.intro { color: var(--stone); max-width: 44ch; margin-bottom: 28px; }
.rating { color: var(--stone); font-size: 0.95rem; margin: 0; }
.rating strong { color: var(--ink); font-weight: 500; }

/* Photos qui défilent */
.show { position: relative; aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.show .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.show .slide.on { opacity: 1; }
.show img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 2px; }
.show-dots button { position: relative; width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; }
.show-dots button::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.show-dots button[aria-current="true"]::before { background: #fff; }
@media (prefers-reduced-motion: reduce) { .show .slide { transition: none; } }

/* Sections */
section { padding: 72px 0; }
.sand { background: var(--sand); }
.pagehead { padding: 56px 0 8px; }
.pagehead .lead { max-width: 30em; margin-bottom: 0; }
.crumb { margin: 0 0 14px; font-size: 0.92rem; }
.crumb a { color: var(--stone); }

/* Liste des soins */
.teasers { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.teasers a {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center;
  padding: 20px 8px; margin: 0 -8px; min-height: 68px; text-decoration: none; border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.teasers .n { grid-column: 1; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: 1.1; }
.teasers .d { grid-column: 1; color: var(--stone); font-size: 0.95rem; margin-top: 4px; }
.teasers a::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2; width: 10px; height: 10px; margin-right: 6px;
  border-right: 1px solid var(--gold); border-top: 1px solid var(--gold); transform: rotate(45deg);
  transition: transform 0.2s;
}
.teasers a:hover { background: var(--sand); }
.teasers a:hover::after { transform: translateX(4px) rotate(45deg); }

/* Vidéos */
.film { background: var(--sand); }
.film-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) { .film-grid { grid-template-columns: auto 1fr; gap: 72px; } }
.film video { width: min(100%, 300px); aspect-ratio: 9 / 16; object-fit: cover; background: #111; display: block; }

/* Pages de soins */
.service { padding-top: 40px; }
.service-grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .service-grid { grid-template-columns: 1.1fr 0.9fr; gap: 88px; align-items: start; }
  .service-grid .service-media { grid-column: 2; grid-row: 1; }
  .service-grid .service-text { grid-column: 1; grid-row: 1; }
  .service-grid.solo { grid-template-columns: minmax(0, 760px); }
  .service-grid.solo .service-text { grid-column: 1; }
}
.service-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--sand); }
@media (min-width: 900px) { .service-media img { aspect-ratio: 4 / 5; } }
.service-text h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 44px 0 14px; }
.service-text h2:first-child { margin-top: 0; }
.after { margin: 28px 0 0; }
.service-text h3 { font-size: 1.7rem; font-weight: 600; margin: 34px 0 6px; }
.pagehead .jump { margin: 24px 0 0; }

/* Tarifs */
.items { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.items li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.items .nm { display: block; }
.items .desc { display: block; color: var(--stone); font-size: 0.92rem; font-weight: 300; margin-top: 4px; max-width: 46ch; }
.items .dots { flex: 1; min-width: 12px; border-bottom: 1px dotted #a8a59b; transform: translateY(-4px); }
.items .price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; font-size: 1.05rem; }

/* Listes de détails */
ul.plain { list-style: none; margin: 0 0 1.5em; padding: 0; }
ul.plain li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); }
ul.plain li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 14px; height: 1px; background: var(--gold); }
.defs { margin: 0 0 1.5em; }
.defs > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px 28px; }
@media (min-width: 640px) { .defs > div { grid-template-columns: 170px 1fr; } }
.defs dt { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.defs dd { margin: 0; color: var(--stone); }
.defs.brands { border-top: 1px solid var(--ink); margin-top: 24px; }
.defs.brands dt a { text-decoration: none; }
.defs.brands dt a:hover { color: var(--gold); }
@media (min-width: 640px) { .defs.brands > div { grid-template-columns: 300px 1fr; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin-top: 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--sand); }

/* Institut */
.team-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .team-grid { grid-template-columns: 0.85fr 1.15fr; gap: 88px; } }
.team { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--sand); }

/* Avis */
.avis-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.score { font-family: var(--display); font-weight: 500; font-size: clamp(4.5rem, 14vw, 7rem); line-height: 1; margin: 0; }
.avis p { margin: 0 0 6px; }
.avis .txt { max-width: 38ch; }

/* Bandeau de réservation */
.band { background: var(--night); color: var(--paper); padding: 64px 0; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.band p { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4.6vw, 2.6rem); line-height: 1.15; margin: 0; max-width: 20em; }

/* Contact */
.grid2 { display: grid; gap: 48px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; gap: 88px; } }
table { border-collapse: collapse; width: 100%; max-width: 380px; }
th, td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
td { text-align: right; font-variant-numeric: tabular-nums; }
address { font-style: normal; margin: 0 0 12px; font-size: 1.1rem; }
.contact p { margin-bottom: 20px; }
.map { margin-top: 56px; background: var(--sand); min-height: 340px; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.map-gate { max-width: 44ch; }
.map-gate .lead { font-size: 1.8rem; }
.map.loaded { display: block; padding: 0; }
.map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* Mentions légales */
dl.legal { margin: 0; max-width: 62ch; }
dl.legal dt { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-top: 24px; }
dl.legal dd { margin: 4px 0 0; color: var(--stone); }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--stone); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
footer p { margin: 0; max-width: none; }

.reel { position: relative; aspect-ratio: 9 / 16; width: min(100%, calc(80vh * 9 / 16)); margin-inline: auto; background: var(--sand); overflow: hidden; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .8s ease; }
.reel video.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reel video { transition: none; } }
.reel-btn { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(21,21,20,.55); cursor: pointer; display: grid; place-items: center; }
.reel-btn span { width: 14px; height: 16px; border-left: 4px solid #fff; border-right: 4px solid #fff; box-sizing: border-box; }
.reel-btn.is-paused span { border: 0; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid #fff; margin-left: 3px; }
.home-film .show { width: 100%; max-width: 380px; }
@media (min-width: 760px) { .home-film .film-grid { grid-template-columns: 380px 1fr; } }
