/* Maison MeMa & Spa, Hay Riad, Rabat
   Design system. Colours, fonts and iconography come from the client's kit:
   Ivoire Doux, Beige Sable, Or Signature, Taupe Élégant, Gris Raffiné, Playfair
   Display. The kit has no dark tone, so the ink and the deep taupe are derived
   from its taupe and measured for contrast. No black anywhere.
   Playfair carries titles and nav, Waterfall is the kit's signature script,
   Albert Sans carries the text.
   Nothing on this site is hidden on load: no opacity:0, no scroll reveal. */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* kit */
  --ivoire: #EDE3D4;
  --sable: #DCC8A3;
  --or: #C9A562;
  --taupe: #A67D5A;
  --gris: #8B7F79;
  /* derived, contrast measured on --ivoire */
  --ivoire-clair: #F6F0E7;
  --encre: #3F2F24;          /* 10:1 */
  --profond: #5A4334;        /* ivory text on it 7.2:1 */
  --script-ink: #7A5B3F;     /* 4.9:1 */
  --meta: #6E625C;           /* 4.6:1 */
  --filet: rgba(63, 47, 36, .14);
  --filet-or: rgba(201, 165, 98, .6);

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --script: "Waterfall", "Snell Roundhand", cursive;

  --wrap: 1220px;
  --gout: clamp(20px, 5vw, 56px);
  --section: clamp(76px, 9vw, 132px);
  --r: 2px;
  --t: .3s ease;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gout); }
.section { padding: var(--section) 0; }
.section--sable { background: var(--sable); }
.section--clair { background: var(--ivoire-clair); }

/* ------------------------------------------------------------ typography -- */
.h1, .h2, .h3 { margin: 0; font-family: var(--display); font-weight: 400; color: var(--encre); letter-spacing: -.005em; }
.h1 { font-size: clamp(2.7rem, 6vw, 5.1rem); line-height: 1.04; }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.62rem); line-height: 1.25; }
.h1 em, .h2 em { font-style: italic; }

/* the kit's signature script, set as an overline above the roman title.
   Waterfall has a small x-height, so it never goes under 2rem. */
.scr { display: block; margin: 0 0 6px; font-family: var(--script); font-weight: 400; font-size: clamp(2.1rem, 3vw, 2.6rem); line-height: 1; color: var(--script-ink); }
.scr--or { color: var(--or); }

.kicker { margin: 0 0 14px; color: var(--meta); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.lead { margin: 20px 0 0; font-size: 1.07rem; line-height: 1.78; max-width: 56ch; }
.p { margin: 14px 0 0; max-width: 58ch; }

.tete-sec { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(40px, 5vw, 62px); }
.tete-sec .h2 { max-width: 22ch; }
.tete-sec .lead { margin-left: auto; margin-right: auto; }

/* the MM ribbon, reduced to a small gold rule ornament */
.ruban { display: block; width: 88px; height: 22px; margin: 0 auto 14px; color: var(--or); }
.ruban path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }

/* ---------------------------------------------------------------- boutons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; min-height: 52px;
  border: 1px solid transparent; border-radius: var(--r);
  background: transparent;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.btn:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
/* monochrome at rest, gold on hover only */
.btn--plein { background: var(--profond); border-color: var(--profond); color: var(--ivoire-clair); }
.btn--plein:hover { background: var(--or); border-color: var(--or); color: var(--encre); }
.btn--ligne { border-color: var(--encre); color: var(--encre); }
.btn--ligne:hover { background: var(--encre); color: var(--ivoire-clair); }
.btn--clair { background: var(--ivoire-clair); border-color: var(--ivoire-clair); color: var(--encre); }
.btn--clair:hover { background: var(--or); border-color: var(--or); }
.btn--ligne-clair { border-color: rgba(246, 240, 231, .75); color: var(--ivoire-clair); }
.btn--ligne-clair:hover { background: var(--ivoire-clair); color: var(--encre); }

.lienfleche {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  color: var(--encre); font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 6px; border-bottom: 1px solid var(--filet-or);
}
.lienfleche svg { display: block; width: 22px; height: 10px; transition: transform var(--t); }
.lienfleche:hover svg { transform: translateX(6px); }

/* ------------------------------------------------------------------- nav -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 14px var(--gout);
  background: linear-gradient(to bottom, rgba(42, 30, 22, .62), rgba(42, 30, 22, .28) 60%, rgba(42, 30, 22, 0));
  transition: background-color var(--t), box-shadow var(--t), padding var(--t);
}
.nav.scrolled { background: var(--ivoire); box-shadow: 0 1px 0 var(--filet), 0 8px 30px rgba(63, 47, 36, .06); padding-top: 10px; padding-bottom: 10px; }

.nav__brand { position: relative; z-index: 120; justify-self: start; display: block; line-height: 0; }
/* the lockup is 1223x300: height is set, the width follows, never both */
.nav__logo { width: auto; height: 58px; max-width: none; transition: height var(--t); }
.nav.scrolled .nav__logo { height: 50px; }
.nav__logo--or { display: none; }
.nav.scrolled .nav__logo--clair, .nav.menu-open .nav__logo--clair { display: none; }
.nav.scrolled .nav__logo--or, .nav.menu-open .nav__logo--or { display: block; }

.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 36px); }
.nav__links a {
  font-family: var(--display); font-size: 1.02rem; color: var(--encre); text-decoration: none;
  padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color var(--t), color var(--t);
}
.nav__links a:hover, .nav__links a.active { border-bottom-color: var(--or); }

.nav__end { position: relative; z-index: 120; justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav__cta { padding: 12px 22px; min-height: 46px; font-size: .7rem; }
.nav__cta--menu { display: none; }

.nav__burger {
  display: none; width: 46px; height: 46px; padding: 0; background: transparent;
  border: 1px solid rgba(246, 240, 231, .55); border-radius: 50%; cursor: pointer;
}
.nav__burger span { display: block; width: 17px; height: 1.5px; margin: 4px auto; background: var(--ivoire-clair); transition: transform var(--t), opacity var(--t); }
.nav.scrolled .nav__burger, .nav.menu-open .nav__burger { border-color: var(--filet); }
.nav.scrolled .nav__burger span, .nav.menu-open .nav__burger span { background: var(--encre); }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (min-width: 1081px) {
  .nav:not(.scrolled) .nav__links a { color: var(--ivoire-clair); }
  .nav:not(.scrolled) .nav__cta--bar { background: var(--ivoire-clair); border-color: var(--ivoire-clair); color: var(--encre); }
  .nav:not(.scrolled) .nav__cta--bar:hover { background: var(--or); border-color: var(--or); }
}

/* ------------------------------------------------------------------ hero -- */
.hero { position: relative; min-height: 640px; min-height: clamp(640px, 94vh, 960px); min-height: clamp(640px, 94svh, 960px); display: flex; align-items: flex-end; overflow: hidden; background: var(--profond); }
.hero__media { position: absolute; inset: 0; }
.hero__media picture { position: absolute; inset: 0; display: block; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(42, 30, 22, .86) 0%, rgba(42, 30, 22, .62) 22%, rgba(42, 30, 22, .18) 48%, rgba(42, 30, 22, 0) 64%),
    linear-gradient(to right, rgba(42, 30, 22, .72) 0%, rgba(42, 30, 22, .38) 30%, rgba(42, 30, 22, 0) 58%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gout) clamp(58px, 8vw, 104px); }
.hero__titre { max-width: 11ch; color: var(--ivoire-clair); }
.hero__sub { margin: 22px 0 0; max-width: 44ch; color: rgba(246, 240, 231, .9); font-size: 1.1rem; line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* the ribbon that crosses the two M of the logo, drawn once on load behind the title */
.hero__ruban { position: absolute; z-index: 1; left: 38%; bottom: 5%; width: 64vw; height: auto; color: var(--or); pointer-events: none; }
.hero__ruban path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: trace 3.2s .4s cubic-bezier(.6, .1, .2, 1) forwards; opacity: .75; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* the text rises into place; it is never transparent at any point */
.monte { animation: monte .9s cubic-bezier(.2, .7, .2, 1) both; }
.monte--2 { animation-delay: .12s; }
.monte--3 { animation-delay: .24s; }
@keyframes monte { from { transform: translateY(16px); } to { transform: none; } }

/* ------------------------------------------------------------- tete de page -- */
.tete { position: relative; min-height: 56vh; min-height: 56svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--profond); }
.tete__media { position: absolute; inset: 0; }
.tete__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.tete::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(42, 30, 22, .78) 0%, rgba(42, 30, 22, .45) 42%, rgba(42, 30, 22, .1) 75%), linear-gradient(to bottom, rgba(42, 30, 22, .45), rgba(42, 30, 22, 0) 30%); }
.tete__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 130px var(--gout) clamp(44px, 5vw, 70px); }
.tete .h1 { color: var(--ivoire-clair); font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 16ch; }
.tete__sub { margin: 16px 0 0; max-width: 52ch; color: rgba(246, 240, 231, .9); font-size: 1.05rem; }

/* ------------------------------------------------------------ bandeau faits -- */
.faits { background: var(--profond); color: var(--ivoire-clair); }
.faits__row { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.fait { display: flex; align-items: flex-start; gap: 14px; padding: 28px clamp(16px, 2.2vw, 30px); }
.fait + .fait { border-left: 1px solid rgba(201, 165, 98, .28); }
.fait svg { display: block; flex: none; width: 21px; height: 21px; color: var(--or); margin-top: 3px; }
.fait__k { margin: 0 0 3px; color: rgba(246, 240, 231, .72); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.fait__v { margin: 0; font-size: .95rem; line-height: 1.5; }
.fait__v a { text-decoration: none; }
.fait__v a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- le lieu -- */
.lieu { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.lieu__media { position: relative; justify-self: center; width: 100%; max-width: 440px; padding: 0 0 60px 0; }
.lieu__media::before { content: ""; position: absolute; left: 18px; top: 18px; width: calc(100% - 60px); height: calc(100% - 60px); border: 1px solid var(--filet-or); z-index: 0; }
.lieu__grand { position: relative; z-index: 1; display: block; width: calc(100% - 42px); height: 520px; object-fit: cover; object-position: 50% 60%; border-radius: var(--r); background: var(--sable); }
.lieu__petit { position: absolute; z-index: 2; right: 0; bottom: 0; width: 190px; height: 250px; object-fit: cover; border: 8px solid var(--ivoire); border-radius: var(--r); }
.lieu__espaces { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--filet); }
.lieu__espaces li { padding: 12px 0; border-bottom: 1px solid var(--filet); font-family: var(--display); font-size: 1.05rem; }

/* ------------------------------------------------------------ hammam trio -- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
.formule { display: flex; flex-direction: column; background: var(--ivoire-clair); border: 1px solid var(--filet); border-radius: var(--r); overflow: hidden; }
.formule__img { width: 100%; height: 230px; object-fit: cover; }
.formule__corps { display: flex; flex-direction: column; flex: 1; padding: 26px clamp(22px, 2.4vw, 30px) 30px; }
.formule__k { margin: 0; color: var(--meta); font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.formule__nom { margin: 2px 0 0; font-family: var(--script); font-weight: 400; font-size: 2.7rem; line-height: 1.05; color: var(--script-ink); }
.formule__prix { display: flex; align-items: baseline; gap: 14px; margin: 12px 0 0; padding: 14px 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.formule__prix b { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; }
.formule__prix span { font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--meta); }
.formule__liste { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.formule__liste li { position: relative; padding-left: 20px; font-size: .95rem; line-height: 1.5; }
.formule__liste li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--or); }
.formule__pied { margin-top: auto; padding-top: 26px; }

/* the house formula: the only dark card of the site */
.formule--maison { background: var(--profond); border-color: var(--or); color: var(--ivoire-clair); }
.formule--maison .formule__k { color: rgba(246, 240, 231, .72); }
.formule--maison .formule__nom { color: var(--or); }
.formule--maison .formule__prix { border-color: rgba(201, 165, 98, .35); }
.formule--maison .formule__prix span { color: rgba(246, 240, 231, .78); }
.formule--maison .btn--ligne { border-color: var(--ivoire-clair); color: var(--ivoire-clair); }
.formule--maison .btn--ligne:hover { background: var(--or); border-color: var(--or); color: var(--encre); }

/* -------------------------------------------------- index des prestations -- */
.index { border-top: 1px solid var(--filet); }
.index__row {
  position: relative; display: grid; grid-template-columns: 62px 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 2.8vw, 32px) 0; border-bottom: 1px solid var(--filet); text-decoration: none;
  transition: padding-left .35s ease;
}
.index__row:hover { padding-left: 14px; }
.ico { display: flex; align-items: center; justify-content: center; flex: none; width: 62px; height: 62px; border-radius: 50%; background: var(--sable); }
.ico svg { display: block; width: 34px; height: 34px; color: var(--profond); }
.index__nom { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
.index__det { margin: 4px 0 0; color: var(--meta); font-size: .95rem; line-height: 1.55; max-width: 56ch; }
.index__go { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.index__go svg { display: block; width: 20px; height: 9px; transition: transform .3s ease; }
.index__row:hover .index__go svg { transform: translateX(6px); }
.index__vue { position: absolute; right: 180px; top: 50%; width: 170px; height: 220px; transform: translateY(-50%) scale(.94) rotate(-2deg); opacity: 0; pointer-events: none; border: 6px solid var(--ivoire-clair); box-shadow: 0 18px 40px rgba(63, 47, 36, .18); overflow: hidden; transition: opacity .35s ease, transform .35s ease; }
.index__vue img { width: 100%; height: 100%; object-fit: cover; }
.index__row:hover .index__vue { opacity: 1; transform: translateY(-50%) scale(1) rotate(-2deg); }
@media (hover: none) { .index__vue { display: none; } }

/* ------------------------------------------------------------ instagram ---- */
.ig { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.ig__t { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--sable); text-decoration: none; }
.ig__t img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ig__t:hover img { transform: scale(1.05); }
.ig__voir { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 14px; background: linear-gradient(to top, rgba(42, 30, 22, .82), rgba(42, 30, 22, 0)); color: var(--ivoire-clair); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.ig__play { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(246, 240, 231, .92); }
.ig__play svg { display: block; width: 12px; height: 12px; fill: var(--encre); }

/* an empty slot: the frame waits for the next post */
.case { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 3 / 4; padding: 20px; background: var(--ivoire); border-radius: var(--r); text-align: center; }
.section--sable .case, .galerie .case { background: var(--ivoire-clair); }
.case::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--filet-or); pointer-events: none; }
.case .ico { margin-bottom: 10px; background: transparent; border: 1px solid var(--filet-or); }
.case .ico svg { color: var(--or); }
.case__nom { margin: 0; font-family: var(--script); font-size: 2.1rem; line-height: 1.05; color: var(--script-ink); }
.case__k { margin: 0; color: var(--meta); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.ig__pied { margin-top: 34px; text-align: center; }
.ig__compte { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-decoration: none; }
.ig__compte svg { display: block; width: 19px; height: 19px; }
.ig__compte:hover { color: var(--script-ink); }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.galerie__note { margin: 30px auto 0; max-width: 56ch; text-align: center; color: var(--meta); font-size: .95rem; }

/* ------------------------------------------------------------ CTA de fin --- */
.fin { text-align: center; }
.fin .lead { margin-left: auto; margin-right: auto; }
.fin .hero__cta { justify-content: center; }

/* ----------------------------------------------------------- prestations --- */
.sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 auto; max-width: 900px; }
.sommaire a { padding: 9px 16px; border: 1px solid var(--filet); border-radius: 999px; font-family: var(--display); font-size: .98rem; text-decoration: none; transition: background-color var(--t), border-color var(--t); }
.sommaire a:hover { background: var(--ivoire-clair); border-color: var(--filet-or); }

.groupe { scroll-margin-top: 90px; }
.groupe + .groupe { margin-top: clamp(60px, 7vw, 100px); }
.groupe__head { display: flex; align-items: baseline; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--filet-or); }
.groupe__num { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--meta); }
.groupe__titre { margin: 0; font-family: var(--script); font-weight: 400; font-size: clamp(2.5rem, 4vw, 3.2rem); line-height: 1; color: var(--script-ink); }
.groupe__corps { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; margin-top: 32px; }
.groupe__aside img { width: 100%; max-width: 300px; height: 380px; object-fit: cover; border-radius: var(--r); }
.groupe__aside p { margin: 18px 0 0; color: var(--meta); font-size: .96rem; }
.groupe__aside .btn { margin-top: 20px; }
.groupe--large .groupe__corps { grid-template-columns: 1fr; }

.sous { margin: 26px 0 4px; color: var(--meta); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.sous:first-child { margin-top: 0; }
.tarifs { list-style: none; margin: 0; padding: 0; }
.tarifs li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: .98rem; }
.tarifs__n { flex: 0 1 auto; }
.tarifs__n small { display: block; color: var(--meta); font-size: .84rem; }
.tarifs__l { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted rgba(63, 47, 36, .35); transform: translateY(-4px); }
.tarifs__p { flex: none; font-family: var(--display); font-size: 1.08rem; white-space: nowrap; }
.tarifs__p i { font-size: .86rem; color: var(--meta); margin-right: 6px; }
.colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(30px, 4vw, 60px); }

/* ---------------------------------------------------------------- à propos -- */
.mot { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.mot blockquote { margin: 0; max-width: 34ch; font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.45; }
.mot figcaption { margin-top: 26px; color: var(--meta); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

.visite { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.visite figure { margin: 0; }
.visite img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.visite figcaption { margin-top: 10px; font-family: var(--display); font-size: 1.02rem; }

.maryam { background: var(--taupe); color: #FFFFFF; }
.maryam__in { max-width: var(--wrap); margin: 0 auto; padding: clamp(60px, 7vw, 96px) var(--gout); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(26px, 4vw, 56px); align-items: center; }
.maryam__mm { width: 110px; height: auto; }
.maryam .h2 { color: #FFFFFF; }
/* white on the kit taupe is 3.7:1, so every line here is large or bold */
.maryam__txt { margin: 12px 0 0; font-size: 1.2rem; font-weight: 600; line-height: 1.55; max-width: 44ch; }
.maryam .btn--clair { color: var(--profond); }

/* --------------------------------------------------------------- contact --- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: stretch; }
.contact__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.contact__liste li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.contact__liste svg { display: block; flex: none; width: 21px; height: 21px; color: var(--taupe); margin-top: 4px; }
.contact__k { margin: 0 0 3px; color: var(--meta); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.contact__v { margin: 0; font-size: 1rem; line-height: 1.6; }
.contact__v a { text-decoration: none; }
.contact__v a:hover { text-decoration: underline; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.horaires { list-style: none; margin: 4px 0 0; padding: 0; max-width: 360px; }
.horaires li { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; border-bottom: 1px solid var(--filet); font-size: .95rem; }
.horaires .ferme { color: var(--meta); font-style: italic; }
.carte-map { position: relative; min-height: 440px; border-radius: var(--r); overflow: hidden; background: var(--sable); }
.carte-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------- footer ---- */
.pied { background: var(--profond); color: rgba(246, 240, 231, .82); }
.pied__haut { max-width: var(--wrap); margin: 0 auto; padding: clamp(60px, 7vw, 90px) var(--gout) clamp(40px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: clamp(34px, 4vw, 64px); }
/* 900x662: height set, width follows */
.pied__logo { width: auto; height: 150px; max-width: none; }
.pied__sign { margin: 20px 0 0; color: var(--or); font-family: var(--script); font-size: 2.1rem; line-height: 1.15; }
.pied h4 { margin: 0 0 18px; color: var(--ivoire-clair); font-family: var(--display); font-size: 1.15rem; font-weight: 400; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pied a { color: rgba(246, 240, 231, .82); text-decoration: none; font-size: .95rem; }
.pied a:hover { color: var(--ivoire-clair); text-decoration: underline; }
.pied__contact li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .95rem; line-height: 1.55; }
.pied__contact svg { display: block; flex: none; width: 17px; height: 17px; color: var(--or); margin-top: 4px; }
.pied__bas { border-top: 1px solid rgba(201, 165, 98, .25); }
.pied__bas-in { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gout); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; }
.pied__bas a { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.pied__bas a:hover { text-decoration: none; color: var(--or); }

/* ================================================== modale de réservation ==
   Scroll architecture from .claude/rules/booking-modal.md §1, verbatim. Only the
   colours, radius and fonts belong to this site.                              */
.rsv { position: fixed; inset: 0; z-index: 140; display: flex; align-items: flex-start; justify-content: center;
  padding: 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.rsv.is-open { visibility: visible; opacity: 1; }
.rsv__backdrop { position: fixed; inset: 0; background: rgba(42, 30, 22, .62); }
.rsv__card { position: relative; display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: minmax(0, 1fr);
  width: min(960px, calc(100vw - 40px)); margin: auto;
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow: hidden; background: var(--ivoire-clair); border-radius: var(--r); box-shadow: 0 30px 90px rgba(42, 30, 22, .35); }
.rsv__aside { min-height: 0; overflow-y: auto; position: relative; isolation: isolate; background: var(--profond); color: var(--ivoire-clair); padding: 40px 34px; display: flex; flex-direction: column; }
.rsv__aside-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rsv__aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(42, 30, 22, .92), rgba(42, 30, 22, .55) 60%, rgba(42, 30, 22, .35)); }
.rsv__body { display: flex; flex-direction: column; overflow-y: auto; min-height: 0; -webkit-overflow-scrolling: touch; padding: 38px 36px 30px; }
.rsv__body > * { flex-shrink: 0; }

.rsv__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 42px; height: 42px; border: 1px solid var(--filet); background: var(--ivoire-clair); font-size: 1.7rem; line-height: 1; color: var(--encre); cursor: pointer; border-radius: 50%; }
.rsv__close:hover { background: var(--sable); }
.rsv__mark { width: 70px; height: auto; margin: 0 0 auto; }
.rsv__aside .rsv__h { margin: 26px 0 10px; font-family: var(--script); font-size: 2.9rem; line-height: 1.05; color: var(--or); }
.rsv__aside p { margin: 0 0 18px; font-size: .95rem; line-height: 1.6; color: rgba(246, 240, 231, .92); }
.rsv__steps { display: flex; gap: 8px; }
.rsv__steps i { display: block; width: 36px; height: 2px; background: rgba(246, 240, 231, .3); transition: background var(--t); }
.rsv__steps i.on { background: var(--or); }

.rsv__lbl { display: block; margin: 0 0 12px; color: var(--meta); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.rsv__packs { display: block; border-top: 1px solid var(--filet); max-height: 340px; overflow-y: auto; }
.rsv__grp { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 6px 12px 2px; background: transparent; border: 0; border-bottom: 1px solid var(--filet); cursor: pointer; text-align: left; color: var(--script-ink); }
.rsv__grp-t { flex: 1 1 auto; font-family: var(--script); font-size: 2rem; line-height: 1; }
.rsv__grp-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--or); color: var(--encre); font-family: var(--sans); font-size: .78rem; font-weight: 600; }
.rsv__grp-c { flex: none; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--t); }
.rsv__grp[aria-expanded="true"] .rsv__grp-c { transform: translateY(2px) rotate(-135deg); }
.rsv__grp:hover .rsv__grp-t { color: var(--encre); }
.rsv__pack { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%;
  padding: 12px 10px 12px 4px; background: transparent; border: 0; border-bottom: 1px solid var(--filet); text-align: left; cursor: pointer;
  font-family: var(--sans); color: var(--encre); transition: background-color var(--t); }
.rsv__pack:hover { background: var(--ivoire); }
.rsv__box { display: block; position: relative; width: 18px; height: 18px; border: 1px solid rgba(63, 47, 36, .42); border-radius: 50%; transition: background-color var(--t), border-color var(--t); }
.rsv__pack[aria-pressed="true"] { background: var(--ivoire); }
.rsv__pack[aria-pressed="true"] .rsv__box { background: var(--or); border-color: var(--or); }
.rsv__pack[aria-pressed="true"] .rsv__box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid var(--encre); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.rsv__pack-n { font-family: var(--display); font-size: 1.02rem; line-height: 1.3; }
.rsv__pack-n small { display: block; margin-top: 2px; font-family: var(--sans); font-size: .8rem; color: var(--meta); }
.rsv__pack-p { font-size: .88rem; white-space: nowrap; text-align: right; }
.rsv__compte { margin: 12px 0 22px; font-size: .86rem; color: var(--meta); }

.rsv__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; margin-bottom: 20px; }
.rsv__field label { display: block; margin: 0 0 9px; color: var(--meta); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.rsv__field input[type="date"] { -webkit-appearance: none; appearance: none; width: 100%;
  min-height: 48px; line-height: 1.3; padding: 0 14px; font-family: var(--sans); font-size: 16px; color: var(--encre);
  background: var(--ivoire); border: 1px solid var(--filet); border-radius: var(--r); }
.rsv__field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.rsv__field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.rsv__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rsv__chip { min-height: 48px; padding: 0 13px; border: 1px solid var(--filet); background: var(--ivoire); border-radius: var(--r);
  font-family: var(--sans); font-size: .92rem; color: var(--encre); cursor: pointer; transition: background-color var(--t), color var(--t), border-color var(--t); }
.rsv__chip[aria-pressed="true"] { background: var(--profond); border-color: var(--profond); color: var(--ivoire-clair); }

.rsv__recap { margin: 0 0 16px; padding: 14px 16px; background: var(--ivoire); border-left: 2px solid var(--or); font-size: .94rem; line-height: 1.55; }
.rsv__recap b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; }
.rsv__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.rsv__total span:first-child { color: var(--meta); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.rsv__total span:last-child { font-family: var(--display); font-size: 1.4rem; }
.rsv__hint { margin: 12px 0 18px; min-height: 1.4em; font-size: .9rem; color: var(--script-ink); }
.rsv__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rsv__actions .btn { flex: 1 1 200px; min-width: 0; }
.rsv__actions .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.rsv__note { margin: 18px 0 0; font-size: .85rem; color: var(--meta); }
body.rsv-open { overflow: hidden; }

/* ------------------------------------------------------------ responsive --- */
@media (max-width: 1080px) {
  /* two tracks once the links leave the flow, or the burger lands mid-bar */
  .nav { grid-template-columns: 1fr auto; }
  .nav__cta--bar { display: none; }
  .nav__cta--menu { display: inline-flex; margin-top: 12px; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 24px;
    background: var(--ivoire);
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility .35s ease; z-index: 100;
  }
  .nav__links.nav-open { transform: translateX(0); visibility: visible; }
  .nav__links a { font-size: 1.5rem; color: var(--encre); }
  .nav.menu-open { background: var(--ivoire); box-shadow: none; }

  .lieu, .contact { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .index__vue { display: none; }
  .visite { grid-template-columns: repeat(2, 1fr); }
  .pied__haut { grid-template-columns: 1fr 1fr; }
  .maryam__in { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 1020px) {
  .rsv__card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
  .rsv__aside { padding: 18px 60px 16px 24px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 16px; overflow: visible; }
  .rsv__aside p:not(.rsv__h), .rsv__aside-img { display: none; }
  .rsv__mark { width: 40px; margin: 0; }
  .rsv__aside .rsv__h { margin: 0; font-size: 2.1rem; }
  .rsv__steps { width: 100%; margin-top: 4px; }
  .rsv__body { padding: 24px 24px 26px; }
}

@media (max-width: 860px) {
  .groupe__corps { grid-template-columns: 1fr; }
  .groupe__aside { display: grid; grid-template-columns: 140px 1fr; gap: 0 20px; align-items: start; }
  .groupe__aside img { grid-row: span 2; width: 140px; height: 180px; }
  .groupe__aside p { margin-top: 0; }
  .colonnes { grid-template-columns: 1fr; }
  .ig { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .index__row { grid-template-columns: 50px 1fr; }
  .index__go { grid-column: 2; margin-top: 6px; }
  .ico { width: 50px; height: 50px; }
  .ico svg { width: 28px; height: 28px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__logo, .nav.scrolled .nav__logo { height: 44px; }
  .hero__titre { max-width: 9ch; }
  .hero__ruban { display: none; }
  .lieu__grand { height: 420px; }
  .lieu__petit { width: 140px; height: 190px; }
  .lieu__espaces { grid-template-columns: 1fr; }
  .faits__row { grid-template-columns: 1fr; }
  .fait + .fait { border-left: 0; border-top: 1px solid rgba(201, 165, 98, .28); }
  .pied__haut { grid-template-columns: 1fr; }
  .pied__logo { height: 120px; }
  .case__nom { font-size: 1.8rem; }

  .rsv { padding: 0; }
  .rsv__card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); width: 100vw; margin: 0;
    height: 100vh; max-height: 100vh; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .rsv__packs { max-height: none; }
  .rsv__grid { grid-template-columns: 1fr; }
  .rsv__actions .btn { flex: 0 0 auto; width: 100%; }
  .rsv__body { padding: 20px 20px 28px; }
}

@media (max-width: 420px) {
  .hero__cta .btn, .contact__cta .btn, .fin .btn { flex: 1 1 100%; }
  .nav__logo, .nav.scrolled .nav__logo { height: 40px; }
  .groupe__aside { grid-template-columns: 1fr; }
  .groupe__aside img { width: 100%; max-width: none; height: 220px; }
  .groupe__aside p { margin-top: 16px; }
}

/* a long single list (épilation) flows over two columns */
.tarifs--2 { columns: 2; column-gap: clamp(30px, 4vw, 60px); }
.tarifs--2 li { break-inside: avoid; }
@media (max-width: 860px) { .tarifs--2 { columns: 1; } }
