/* =========================================================
   Espace Confort & Beauté · Centre VAGHEGGI Phyto Space
   Palette tirée de l'institut : mur sarcelle, papier peint
   aux grandes feuilles, chêne clair, serviettes blanches.
   ========================================================= */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-standard-italic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --nuit: #12241f;          /* texte principal, vert-noir des feuilles */
  --foret: #1c3a33;         /* fond sombre, papier peint */
  --sarcelle: #2e6c80;      /* le mur du couloir */
  --sarcelle-fonce: #23596a;
  --sauge: #abbfb9;         /* le mur de l'onglerie */
  --sauge-pale: #e1e9e5;
  --serviette: #f2f4f0;     /* fond de page */
  --blanc: #ffffff;
  --chene: #cdb08a;         /* le mobilier */
  --violet: #3a2b5e;        /* gamme 75.15 */
  --or: #e2cf68;
  --texte: var(--nuit);
  --texte-doux: #43554f;
  --ligne: rgba(18, 36, 31, 0.16);
  --focus: var(--sarcelle);

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Forme « feuille » : deux coins opposés arrondis */
  --leaf-s: 1.4rem 0.35rem;
  --leaf-m: 3rem 0.5rem;
  --leaf-l: clamp(3rem, 9vw, 8.5rem) 0.5rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
.motion-on { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--serviette);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.25rem, 4.8vw, 4.1rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 1.6rem; height: 1.6rem; color: var(--sarcelle); }
.ico--ext { width: 0.95em; height: 0.95em; opacity: 0.8; }

.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;
}

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 200;
  background: var(--nuit); color: var(--serviette);
  padding: 0.75rem 1.1rem; border-radius: var(--leaf-s);
  transform: translateY(-160%); transition: transform 0.2s;
  text-decoration: none; font-weight: 500;
}
.skip:focus { transform: none; }

.wrap { max-width: 1260px; margin-inline: auto; padding-inline: var(--gutter); }

.amp { font-style: italic; }
.nowrap { white-space: nowrap; }

/* ---------------- Boutons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 2.9rem; padding: 0.8rem 1.35rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--leaf-s);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, border-radius 0.35s var(--ease-out);
}
.btn:hover { border-radius: 0.35rem 1.4rem; }
.btn--small { min-height: 2.6rem; padding: 0.55rem 1rem; font-size: 0.9375rem; }
.btn--big { min-height: 3.25rem; padding: 0.95rem 1.6rem; font-size: 1.0625rem; }
.btn--leaf { background: var(--sarcelle); color: var(--blanc); }
.btn--leaf:hover { background: var(--sarcelle-fonce); }
.btn--light { background: var(--serviette); color: var(--foret); }
.btn--ghost-light { border-color: rgba(242, 244, 240, 0.65); color: var(--serviette); background: rgba(18, 36, 31, 0.25); }
.btn--ghost-light:hover { background: rgba(242, 244, 240, 0.14); }
.btn--line { border-color: rgba(18, 36, 31, 0.32); color: var(--texte); background: transparent; }
.btn--line:hover { border-color: var(--sarcelle); color: var(--sarcelle); }
.btn:active { transform: translateY(1px); }

.link-ext {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 500; text-underline-offset: 0.25em;
}

/* ---------------- En-tête ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  color: var(--serviette);
  transition: background-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.site-header__inner {
  max-width: 1400px; margin-inline: auto;
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.site-header:not(.is-solid) {
  background: linear-gradient(to bottom, rgba(14, 30, 26, 0.78), rgba(14, 30, 26, 0.35) 60%, rgba(14, 30, 26, 0));
}
.site-header.is-solid {
  background: rgba(242, 244, 240, 0.94);
  color: var(--texte);
  box-shadow: 0 1px 0 var(--ligne);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(242, 244, 240, 0.82); backdrop-filter: blur(12px) saturate(1.2); }
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; margin-right: auto; min-height: 44px;
}
.brand__mark { width: 1.35rem; height: 1.35rem; fill: currentColor; stroke: none; }
.brand__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; }

.nav__list { display: flex; gap: 0.25rem; }
.nav__list a {
  position: relative; display: block; padding: 0.6rem 0.7rem;
  font-size: 0.9875rem; font-weight: 450; text-decoration: none;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.35rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__list a[aria-current="true"] { color: var(--sarcelle); }
.site-header:not(.is-solid) .nav__list a[aria-current="true"] { color: inherit; }

.site-header__actions { display: flex; align-items: center; gap: 0.6rem; }
.site-header:not(.is-solid) .btn--leaf { background: rgba(242, 244, 240, 0.95); color: var(--foret); }

.menu-btn {
  display: none; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0.5rem 0.9rem;
  background: transparent; border: 1px solid currentColor; border-radius: var(--leaf-s);
  cursor: pointer; font-weight: 500;
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .brand__name { font-size: 1.05rem; }
  .site-header__actions .btn--leaf { display: none; }
  .site-header__inner { gap: 0.75rem; }
}

/* Menu mobile */
.mobile-menu { position: fixed; inset: 0; z-index: 100; }
.mobile-menu__panel {
  position: absolute; inset: 0; overflow-y: auto;
  background: var(--foret); color: var(--serviette);
  padding: 1.25rem var(--gutter) 2rem;
  display: flex; flex-direction: column;
}
.motion-on .mobile-menu__panel { animation: menu-in 0.45s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-1.5rem); } }
.mobile-menu__close {
  align-self: flex-end; display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0.5rem 0.9rem; cursor: pointer; font-weight: 500;
  background: transparent; border: 1px solid rgba(242, 244, 240, 0.5); border-radius: var(--leaf-s);
}
.mobile-menu__list { margin-top: 2rem; }
.mobile-menu__list a {
  display: block; padding: 0.7rem 0;
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1;
  text-decoration: none; border-bottom: 1px solid rgba(242, 244, 240, 0.14);
}
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.75rem; justify-items: start; }
.mobile-menu :focus-visible { outline-color: var(--or); }

/* Bouton animations */
.motion-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0.35rem 0; cursor: pointer;
  background: none; border: 0; font-size: 0.9375rem; font-weight: 450;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
  text-decoration-color: rgba(127, 127, 127, 0.5);
}
.motion-toggle:hover { text-decoration-color: currentColor; }

/* ---------------- Héros ---------------- */
.hero { position: relative; height: 230svh; background: var(--foret); }
.motion-off .hero { height: 100svh; min-height: 600px; }
.hero__stage {
  position: sticky; top: 0;
  height: 100svh; min-height: 600px;
  overflow: hidden; isolation: isolate;
  color: var(--serviette);
  --veil: 1; --photo-s: 1.12; --title-y: 0px; --title-s: 1; --cue: 1;
}
.hero__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 66% 55%;
  transform: scale(var(--photo-s)); transform-origin: 60% 50%;
  z-index: 0;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background: var(--foret); opacity: var(--veil);
}
.hero__stage::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 46%, rgba(18, 36, 31, 0.55), transparent 75%),
    linear-gradient(to top, rgba(18, 36, 31, 0.8), transparent 40%);
}
.hero__leaves { position: absolute; inset: 0; pointer-events: none; }
.hero__leaves--back { z-index: 3; }
.hero__leaves--front { z-index: 5; }

.hero__title-wrap {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 6.5rem;
  transform: translateY(var(--title-y)) scale(var(--title-s));
}
.hero__title {
  font-size: clamp(3.1rem, 9.8vw, 10rem);
  line-height: 0.92; font-weight: 420; letter-spacing: -0.02em;
  text-shadow: 0 2px 40px rgba(10, 24, 20, 0.35);
}
.hero__line { display: block; }
.hero__amp {
  display: inline-block;
  font-style: italic; font-weight: 380;
  font-size: 1.1em; line-height: 0.6;
  color: #bfdcb1;
  margin-right: 0.04em;
  transform: translateY(0.06em);
}
.hero__sub {
  margin: clamp(1rem, 2.4vh, 1.75rem) 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: 0.01em;
}
.hero__network {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin: 0.5rem 0 0; font-size: 0.9375rem; opacity: 0.92;
}
.hero__network img { height: clamp(2rem, 4vh, 2.6rem); width: auto; }
.hero__cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
  margin-top: clamp(1.4rem, 4vh, 2.5rem);
}
.hero__foot {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: 0;
  padding: 3rem var(--gutter) max(1rem, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(14, 30, 26, 0.85), rgba(14, 30, 26, 0));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  font-size: 0.9375rem;
}
.hero__cue { margin: 0; display: flex; align-items: center; gap: 0.75rem; opacity: var(--cue); padding-bottom: 0.7rem; }
.hero__cue-line { width: 3.5rem; height: 1px; background: currentColor; transform-origin: left; }
.motion-on .hero__cue-line { animation: cue 2.4s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); opacity: 0; } }
.motion-off .hero__cue { display: none; }
.hero__controls { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.hero__skip {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; text-underline-offset: 0.3em;
}
.hero :focus-visible { outline-color: var(--or); }

/* Entrée du titre : CSS seul, pour qu'il s'affiche même sans JavaScript */
.motion-on .hero__title-wrap > * { animation: rise 1.2s var(--ease-out) both; }
.motion-on .hero__title-wrap > :nth-child(1) { animation-delay: 0.55s; }
.motion-on .hero__title-wrap > :nth-child(2) { animation-delay: 0.8s; }
.motion-on .hero__title-wrap > :nth-child(3) { animation-delay: 0.95s; }
.motion-on .hero__title-wrap > :nth-child(4) { animation-delay: 1.1s; }
.motion-on .hero__title-wrap > :nth-child(5) { animation-delay: 1.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.4rem); } }

/* Feuilles générées */
.leaf {
  position: absolute; left: var(--x); top: var(--y);
  height: calc(var(--len) * 100vmax);
  aspect-ratio: var(--ar);
  transform-origin: 50% var(--fy);
  will-change: transform;
}
.leaf svg {
  display: block; width: 100%; height: 100%; overflow: visible;
  transform-origin: 50% var(--fy);
}
.motion-on .hero .leaf svg { animation: sway var(--dur, 7s) ease-in-out var(--delay, 0s) infinite alternate; }
@keyframes sway {
  from { transform: rotate(calc(var(--amp, 1.2deg) * -1)); }
  to   { transform: rotate(var(--amp, 1.2deg)); }
}
.hero.is-idle .leaf svg { animation-play-state: paused; }
.leaf--shadow svg { filter: drop-shadow(0 1.5rem 2rem rgba(6, 18, 15, 0.45)); }

/* ---------------- Présentation ---------------- */
.intro { padding-block: var(--section); outline: none; }
.intro__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.leaf-frame { overflow: hidden; border-radius: var(--leaf-l); }
.intro__photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 30% 50%; }
.intro__text h2 { margin-bottom: 1.5rem; }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--sarcelle); }
.intro__text p { max-width: 60ch; }
.facts {
  margin: 2.25rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--ligne);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem;
}
.facts dt { font-size: 0.875rem; color: var(--texte-doux); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }

/* ---------------- Titres de section ---------------- */
.section-head {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: end;
  gap: 1.25rem 4rem; margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head p { margin: 0; max-width: 42ch; color: var(--texte-doux); }

/* ---------------- Soins & tarifs ---------------- */
.soins { padding-block: 0 var(--section); }
.acc { border-top: 1px solid var(--ligne); }
.acc__item { border-bottom: 1px solid var(--ligne); }
.acc__head { margin: 0; font: inherit; letter-spacing: normal; }
.acc__btn {
  width: 100%; cursor: pointer; text-align: left;
  background: none; border: 0; padding: clamp(1.1rem, 2.2vw, 1.6rem) 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr) auto 3rem;
  grid-template-areas: "name desc from icon";
  align-items: center; gap: 0.35rem 1.75rem;
}
.acc__name {
  grid-area: name;
  font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1;
  transition: color 0.25s, transform 0.4s var(--ease-out);
}
.acc__desc { grid-area: desc; color: var(--texte-doux); }
.acc__from { grid-area: from; font-weight: 500; color: var(--sarcelle); white-space: nowrap; font-variant-numeric: tabular-nums; }
.acc__icon {
  grid-area: icon; justify-self: end;
  width: 2.9rem; height: 2.9rem; display: grid; place-items: center;
  border: 1px solid rgba(18, 36, 31, 0.3); border-radius: 1.45rem 0.3rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.acc__btn:hover .acc__name { color: var(--sarcelle); transform: translateX(0.35rem); }
.acc__btn:hover .acc__icon { border-color: var(--sarcelle); }
.acc__icon .ico { transition: transform 0.4s var(--ease-out); }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--sarcelle); border-color: var(--sarcelle); color: var(--blanc); }
.acc__btn[aria-expanded="true"] .acc__icon .ico { transform: rotate(45deg); }
.acc__btn[aria-expanded="true"] .acc__name { color: var(--sarcelle); }
.acc__panel { overflow: hidden; }
.acc__inner {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); padding: 0.5rem 0 2.5rem;
}
.acc__inner--solo .prices { grid-column: 2; }
.acc__photo { border-radius: var(--leaf-m); align-self: start; }
.acc__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.prices li { padding: 0.95rem 0; border-bottom: 1px dashed var(--ligne); }
.prices li:first-child { padding-top: 0.2rem; }
.prices li:last-child { border-bottom: 0; }
.prices__row { display: flex; align-items: baseline; gap: 0.9rem; }
.prices__name { flex: 1 1 auto; display: flex; align-items: baseline; gap: 0.75rem; font-weight: 500; }
.prices__name::after {
  content: ""; flex: 1 1 1.5rem; min-width: 1.5rem;
  border-bottom: 1.5px dotted rgba(18, 36, 31, 0.35); transform: translateY(-0.3em);
}
.prices__val { white-space: nowrap; font-weight: 500; color: var(--sarcelle); font-variant-numeric: tabular-nums; }
.prices p { margin: 0.25rem 0 0; color: var(--texte-doux); font-size: 0.98rem; max-width: 62ch; }

.soins__foot {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
}
.soins__foot p { margin: 0; color: var(--texte-doux); max-width: 52ch; }

/* ---------------- Méthode ---------------- */
.methode { background: var(--sauge-pale); padding-block: var(--section); }
.methode h2 { max-width: 18ch; }
.steps {
  position: relative; margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem);
}
.steps::before {
  content: ""; position: absolute; left: 2.1rem; right: 10%; top: 2.1rem; height: 1px;
  background: linear-gradient(to right, var(--sarcelle), rgba(46, 108, 128, 0.15));
}
.step { position: relative; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin-bottom: 1.5rem;
  background: var(--sauge-pale); border: 1px solid var(--sarcelle); border-radius: 2.1rem 0.35rem;
  font-family: var(--serif); font-size: 1.9rem; color: var(--sarcelle);
}
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--texte-doux); margin: 0; max-width: 36ch; }

/* ---------------- Institut ---------------- */
.institut { padding-block: var(--section); }
.gallery {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.gallery__item { display: flex; flex-direction: column; min-width: 0; }
.gallery__btn {
  flex: 1; display: block; padding: 0; border: 0; cursor: zoom-in; background: var(--sauge-pale);
  overflow: hidden; border-radius: var(--leaf-m);
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.gallery__btn:hover img { transform: scale(1.035); }
.gallery__cap { margin: 0.6rem 0 0; font-size: 0.9375rem; color: var(--texte-doux); }
.g-a { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.g-a img { min-height: 100%; aspect-ratio: auto; }
.g-b { grid-column: 8 / span 5; grid-row: 1; }
.g-c { grid-column: 8 / span 5; grid-row: 2; }
.g-d { grid-column: 1 / span 5; grid-row: 3; }
.g-e { grid-column: 6 / span 7; grid-row: 3; }
.g-b img, .g-c img { aspect-ratio: 16 / 10; }
.g-d img, .g-e img { aspect-ratio: 16 / 9.5; }
.g-c img { object-position: 30% 50%; }
.g-b .gallery__btn, .g-d .gallery__btn { border-radius: 0.5rem 3rem; }
.gallery__hint { display: none; }

.yorelys {
  margin-top: clamp(4rem, 9vw, 7.5rem);
  display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.yorelys__photo { overflow: hidden; border-radius: 0.5rem clamp(3rem, 9vw, 8.5rem); background: var(--sauge); }
.yorelys__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.yorelys__text h3 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.25rem; }
.yorelys__text > p { max-width: 52ch; }
.yorelys__quote {
  margin: 2rem 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--ligne);
}
.yorelys__quote p { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.35; margin-bottom: 0.75rem; }
.yorelys__quote footer { font-size: 0.9375rem; color: var(--texte-doux); }

/* ---------------- Avis ---------------- */
.avis { background: var(--foret); color: var(--serviette); padding-block: var(--section); --focus: var(--or); }
.avis__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.avis__head h2 { max-width: 14ch; }
.avis__score { margin: 0; display: flex; flex-direction: column; gap: 0.2rem; max-width: 30ch; color: #d3e0da; }
.avis__score strong { color: var(--serviette); font-weight: 500; }
.stars { color: var(--or); letter-spacing: 0.2em; font-size: 1.25rem; }
.quotes {
  display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto;
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 6vw, 6rem);
}
.quote { margin: 0; }
.quote p { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.3; margin-bottom: 0.9rem; }
.quote--big { grid-row: 1 / span 2; }
.quote--big p { font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.18; }
.quote footer { color: #b9cbc4; font-size: 0.9375rem; }
.avis .link-ext { margin-top: clamp(2.5rem, 5vw, 3.5rem); color: #cfe3c4; }

/* ---------------- Offres ---------------- */
.offres { padding-block: var(--section); }
.vcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.25rem); perspective: 1000px; }
.vcard { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; }
.vcard__face {
  position: relative; overflow: hidden;
  aspect-ratio: 1.586; border-radius: 1.1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  display: grid; grid-template-rows: auto 1fr auto;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
  box-shadow: 0 1.2rem 2.4rem -1.2rem rgba(18, 36, 31, 0.45);
}
.vcard__face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.28), transparent 55%);
  opacity: 0; transition: opacity 0.4s;
}
.vcard.is-tilting .vcard__face { transition: transform 0.08s linear; }
.vcard.is-tilting .vcard__face::after { opacity: 1; }
.vcard__brand { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; position: relative; }
.vcard__name { align-self: end; font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1; position: relative; }
.vcard__price { justify-self: end; font-weight: 500; font-size: 1.05rem; font-variant-numeric: tabular-nums; position: relative; }
.vcard__perk { margin: 1rem 0 0; font-weight: 500; }
.vcard--green .vcard__face {
  color: var(--serviette);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 190'%3E%3Cg fill='none' stroke='%23cfe3c4' stroke-opacity='.22' stroke-width='1'%3E%3Cpath d='M-20 210 Q150 120 330 -30'/%3E%3Cpath d='M40 170 Q70 130 60 90M80 150 Q120 120 118 70M120 125 Q160 100 165 50M160 100 Q200 80 210 30M200 80 Q240 60 252 15M60 182 Q110 175 150 150M100 160 Q150 160 190 130M140 135 Q190 140 230 105M180 110 Q230 115 270 80'/%3E%3C/g%3E%3C/svg%3E") center / cover,
    linear-gradient(135deg, #2f6656, #173a33 70%);
}
.vcard--white .vcard__face {
  color: var(--foret);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 190'%3E%3Cg fill='none' stroke='%232e6c80' stroke-opacity='.18'%3E%3Cpath d='M-20 210 Q150 120 330 -30'/%3E%3Cpath d='M40 170 Q70 130 60 90M80 150 Q120 120 118 70M120 125 Q160 100 165 50M160 100 Q200 80 210 30M200 80 Q240 60 252 15M60 182 Q110 175 150 150M100 160 Q150 160 190 130M140 135 Q190 140 230 105M180 110 Q230 115 270 80'/%3E%3C/g%3E%3C/svg%3E") center / cover,
    linear-gradient(140deg, #ffffff, #e4ebe7);
  border: 1px solid rgba(18, 36, 31, 0.1);
}
.vcard--black .vcard__face {
  color: #efe3a2;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 190'%3E%3Cg fill='none' stroke='%23e2cf68' stroke-opacity='.2'%3E%3Ccircle cx='250' cy='40' r='14'/%3E%3Ccircle cx='250' cy='40' r='26'/%3E%3Ccircle cx='250' cy='40' r='40'/%3E%3Ccircle cx='250' cy='40' r='56'/%3E%3Ccircle cx='250' cy='40' r='74'/%3E%3Ccircle cx='250' cy='40' r='94'/%3E%3C/g%3E%3C/svg%3E") center / cover,
    linear-gradient(135deg, #2a2d2b, #0f1211 75%);
}
.offres__more {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
.gift {
  display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; align-items: start;
  background: var(--sauge-pale); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--leaf-m);
}
.gift__ico { width: 2.2rem; height: 2.2rem; fill: none; stroke: var(--sarcelle); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gift h3 { margin-bottom: 0.4rem; }
.gift p { margin: 0; color: var(--texte-doux); }
.gift .btn { grid-column: 2; justify-self: start; margin-top: 1rem; }
.perks li { padding: 1rem 0; border-bottom: 1px solid var(--ligne); color: var(--texte-doux); }
.perks li:first-child { padding-top: 0.25rem; }
.perks strong { display: block; color: var(--texte); font-weight: 500; }

/* ---------------- Infos pratiques ---------------- */
.infos { background: var(--sauge-pale); padding-block: var(--section) calc(var(--section) + 4rem); }
.infos__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.5rem, 6vw, 6rem); }
.infos h2 { margin-bottom: 1.25rem; }
.status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1.5rem; padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--blanc); font-weight: 500; font-size: 0.975rem;
}
.status__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #8a9893; flex: none; }
.status[data-state="open"] .status__dot { background: #2f8a57; box-shadow: 0 0 0 4px rgba(47, 138, 87, 0.18); }
.status[data-state="soon"] .status__dot, .status[data-state="maybe"] .status__dot { background: #c98a1b; box-shadow: 0 0 0 4px rgba(201, 138, 27, 0.18); }
.contact-block {
  display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem;
  padding: 1.5rem 0; border-top: 1px solid var(--ligne);
}
.contact-block > .ico { margin-top: 0.15rem; }
.contact-block__title { margin: 0 0 0.25rem; font-size: 0.875rem; color: var(--texte-doux); }
.contact-block address, .tel { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.35; font-weight: 450; }
.tel { text-decoration: none; }
.tel:hover { color: var(--sarcelle); }
.contact-block p { margin-bottom: 0.75rem; }
.contact-block p:last-child { margin-bottom: 0; }
.contact-block__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.btn.is-done { border-color: #2f8a57; color: #23704a; }
.note {
  margin-top: 1rem; padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.65); border-left: 3px solid var(--sarcelle); border-radius: 0 0.75rem 0.75rem 0;
}
.note h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.note li { position: relative; padding-left: 1.1rem; color: var(--texte-doux); }
.note li + li { margin-top: 0.35rem; }
.note li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.4rem; height: 0.4rem; border-radius: 0.25rem 0.05rem; background: var(--sarcelle); }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2rem); margin-bottom: 0.9rem; }
.hours th, .hours td { padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours__note { display: block; font-size: 0.875rem; color: var(--texte-doux); }
.hours tr.is-today { background: var(--blanc); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th { padding-left: 0.75rem; }
.hours tr.is-today td { padding-right: 0.75rem; }
.hours__today { display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.5rem; border-radius: 0.6rem 0.15rem; background: var(--sarcelle); color: var(--blanc); font-size: 0.75rem; font-weight: 500; vertical-align: 0.15em; }

.map {
  margin-top: 2rem; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--leaf-m); background: var(--foret); color: var(--sauge);
}
.map__placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 0.9rem; padding: 4.5rem 1.5rem 1.5rem; text-align: center; position: relative; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--sauge); }
.map__placeholder p { position: relative; margin: 0; max-width: 30ch; font-size: 0.9375rem; color: #d3e0da; }
.map__placeholder .btn { position: relative; background: var(--serviette); border-color: var(--serviette); color: var(--foret); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__fallback { margin: 0.6rem 0 0; font-size: 0.9375rem; }

/* ---------------- Pied de page ---------------- */
.site-footer {
  position: relative; background: var(--foret); color: var(--serviette);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem; --focus: var(--or);
}
.site-footer__leaves { position: absolute; left: 0; right: 0; bottom: calc(100% - 2px); height: clamp(6rem, 14vw, 11rem); pointer-events: none; overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer__brand { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; margin-bottom: 1rem; }
.site-footer__network { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: #c4d3cd; }
.site-footer__network img { height: 2.1rem; width: auto; }
.site-footer p { color: #d3e0da; }
.site-footer a { text-underline-offset: 0.25em; }
.site-footer__links li + li { margin-top: 0.35rem; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(242, 244, 240, 0.14); font-size: 0.875rem; color: #a9bcb5 !important; }

/* ---------------- Barre d'action mobile ---------------- */
.action-bar { display: none; }
@media (max-width: 900px) {
  .action-bar {
    position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem;
    padding: 0.6rem var(--gutter) max(0.6rem, env(safe-area-inset-bottom));
    background: rgba(242, 244, 240, 0.94); box-shadow: 0 -1px 0 var(--ligne);
    transform: translateY(110%); transition: transform 0.35s var(--ease-out);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 3rem; border-radius: var(--leaf-s); text-decoration: none; font-weight: 500;
    border: 1px solid rgba(18, 36, 31, 0.3);
  }
  .action-bar__btn--main { background: var(--sarcelle); color: var(--blanc); border-color: var(--sarcelle); }
  .site-footer { padding-bottom: 6rem; }
}

/* ---------------- Visionneuse ---------------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(12, 26, 22, 0.96); color: var(--serviette); --focus: var(--or);
}
.lightbox::backdrop { background: rgba(12, 26, 22, 0.6); }
.lightbox[open] { display: grid; place-items: center; }
.motion-on .lightbox[open] { animation: fade 0.3s ease-out; }
@keyframes fade { from { opacity: 0; } }
.lightbox__fig { display: grid; justify-items: center; gap: 0.9rem; padding: 4.5rem 4.5rem 3rem; max-width: 100%; }
.lightbox__img { max-width: min(1400px, 100%); max-height: calc(100dvh - 10rem); width: auto; height: auto; border-radius: 0.75rem; }
.lightbox__cap { font-family: var(--serif); font-size: 1.35rem; text-align: center; }
.lightbox__btn, .lightbox__close {
  position: absolute; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-width: 3rem; min-height: 3rem; cursor: pointer;
  background: rgba(242, 244, 240, 0.08); border: 1px solid rgba(242, 244, 240, 0.35); border-radius: var(--leaf-s);
}
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(242, 244, 240, 0.18); }
.lightbox__btn .ico { width: 1.5rem; height: 1.5rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 1rem; right: 1rem; padding: 0 1rem; font-weight: 500; }
.lightbox__count { position: absolute; top: 1.6rem; left: 1.25rem; margin: 0; font-size: 0.9375rem; color: #c4d3cd; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  body { font-size: 1.0625rem; }
  .intro__grid, .infos__grid, .yorelys, .offres__more { grid-template-columns: 1fr; }
  .intro__photo img { aspect-ratio: 4 / 3.3; }
  .section-head { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 0.9rem; }
  .facts div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
  .facts dd { text-align: right; font-size: 1.15rem; }

  .acc__btn {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name icon" "desc icon" "from icon";
  }
  .acc__desc { font-size: 0.975rem; }
  .acc__inner, .acc__inner--solo { grid-template-columns: 1fr; }
  .acc__inner--solo .prices { grid-column: 1; }
  .acc__photo img { aspect-ratio: 16 / 9; }

  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { left: 2.1rem; right: auto; top: 2.1rem; bottom: 2.1rem; width: 1px; height: auto; background: linear-gradient(to bottom, var(--sarcelle), rgba(46, 108, 128, 0.15)); }
  .step { display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 1.25rem; }
  .step__num { grid-row: 1 / span 2; margin: 0; }
  .step h3 { align-self: center; margin: 0.4rem 0 0.4rem; }

  .gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 0.75rem;
    scrollbar-width: thin;
  }
  .gallery__item { flex: 0 0 82%; scroll-snap-align: center; }
  .gallery__btn img, .g-a img, .g-b img, .g-c img, .g-d img, .g-e img { aspect-ratio: 4 / 3.4; min-height: 0; height: auto; }
  .gallery__hint { display: block; }
  .yorelys__photo { max-width: 26rem; }

  .quotes { grid-template-columns: 1fr; }
  .quote--big { grid-row: auto; }

  .vcards { grid-template-columns: 1fr; max-width: 26rem; }
  .gift .btn { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (orientation: portrait) {
  .hero__photo img { object-position: 80% 50%; }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; width: min(100%, 20rem); }
  .hero__foot { font-size: 0.875rem; }
  .hero__cue { display: none; }
  .hero__controls { width: 100%; justify-content: space-between; margin: 0; }
  .prices__row { flex-wrap: wrap; }
  .prices__name::after { display: none; }
  .prices__row { justify-content: space-between; }
}

@media (max-height: 640px) and (orientation: landscape) {
  .hero__title { font-size: clamp(2.6rem, 8vw, 6rem); }
  .hero__network { display: none; }
}

/* Animations réduites : tout est statique, rien n'est masqué */
.motion-off *, .motion-off *::before, .motion-off *::after {
  animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

@media print {
  .site-header, .action-bar, .hero__leaves, .hero__foot, .map, .site-footer__leaves { display: none !important; }
  .hero { height: auto; } .hero__stage { position: static; height: auto; min-height: 0; color: var(--nuit); }
  .hero__title-wrap { position: static; }
  .hero__veil, .hero__photo, .hero__stage::after { display: none; }
}
