/* Maison Zen — spa & massages */

:root {
  --ivoire: #f7f4ee;
  --ivoire-2: #efe9df;
  --sauge: #7d8f7a;
  --sauge-fonce: #4e5c4c;
  --terre: #b08968;
  --encre: #2c2f2b;
  --encre-doux: #6b6f68;
  --display: "Marcellus", Georgia, serif;
  --sans: "Karla", system-ui, sans-serif;
  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.4rem);
  --r: 999px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.04rem;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .55em; letter-spacing: .005em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--sauge); outline-offset: 3px; }

.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--pad) * 2, 760px); margin-inline: auto; }
section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.center { text-align: center; }

.kicker { font-size: .7rem; letter-spacing: .38em; text-transform: uppercase; color: var(--sauge); margin: 0 0 1.2rem; font-weight: 500; }
.title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.title-xl { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.intro { font-size: 1.08rem; color: var(--encre-doux); max-width: 56ch; }
.center .intro { margin-inline: auto; }
.lined { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.lined::before, .lined::after { content: ""; height: 1px; width: 46px; background: var(--sauge); opacity: .5; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 2rem; border-radius: var(--r); background: var(--sauge-fonce); color: var(--ivoire);
  font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 500; border: 1px solid var(--sauge-fonce); cursor: pointer;
  transition: background .35s, color .35s, transform .35s;
}
.btn:hover { background: transparent; color: var(--sauge-fonce); transform: translateY(-2px); }
.btn-light { background: transparent; color: var(--ivoire); border-color: rgba(247,244,238,.55); }
.btn-light:hover { background: var(--ivoire); color: var(--sauge-fonce); border-color: var(--ivoire); }
.btn-terre { background: var(--terre); border-color: var(--terre); color: #fff; }
.btn-terre:hover { background: transparent; color: var(--terre); }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; padding-block: 1.3rem; transition: .4s; color: var(--ivoire); }
.site-header.is-stuck { background: rgba(247,244,238,.94); backdrop-filter: blur(12px); padding-block: .7rem; box-shadow: 0 1px 0 rgba(44,47,43,.08); color: var(--encre); }

/* Au-dessus du héros, l'en-tête est clair ; une fois figé, il repasse en sombre. */
.site-header .menu a { color: rgba(247,244,238,.85); }
.site-header .menu a:hover { color: #fff; }
.site-header .brand span { color: rgba(247,244,238,.75); }
.site-header .btn { background: transparent; color: var(--ivoire); border-color: rgba(247,244,238,.6); }
.site-header .btn:hover { background: var(--ivoire); color: var(--sauge-fonce); border-color: var(--ivoire); }
.site-header .nav-toggle { border-color: rgba(247,244,238,.55); }
.site-header .nav-toggle span { background: var(--ivoire); }
.site-header.is-stuck .menu a { color: var(--encre-doux); }
.site-header.is-stuck .menu a:hover { color: var(--sauge-fonce); }
.site-header.is-stuck .brand span { color: var(--sauge); }
.site-header.is-stuck .btn { background: var(--sauge-fonce); color: var(--ivoire); border-color: var(--sauge-fonce); }
.site-header.is-stuck .btn:hover { background: transparent; color: var(--sauge-fonce); }
.site-header.is-stuck .nav-toggle { border-color: rgba(44,47,43,.25); }
.site-header.is-stuck .nav-toggle span { background: var(--encre); }
.menu.is-open a, .site-header.is-stuck .menu.is-open a { color: var(--encre); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--display); font-size: 1.42rem; font-weight: 400; letter-spacing: .06em; }
.brand span { font-size: .56rem; letter-spacing: .4em; text-transform: uppercase; color: var(--sauge); margin-top: 6px; }
.menu { display: flex; align-items: center; gap: 1.9rem; }
.menu a { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); transition: color .3s; }
.menu a:hover { color: var(--sauge-fonce); }
.header-cta { display: flex; align-items: center; gap: .9rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(44,47,43,.25); background: transparent; cursor: pointer; border-radius: 50%; }
.nav-toggle span { display: block; width: 16px; height: 1px; background: var(--encre); margin: 4.5px auto; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu { position: fixed; inset: 0; background: var(--ivoire); flex-direction: column; justify-content: center; gap: 2rem; transform: translateX(100%); transition: transform .5s cubic-bezier(.7,0,.2,1); }
  .menu.is-open { transform: none; }
  .menu a { font-size: 1rem; }
  .nav-toggle { display: block; position: relative; z-index: 70; }
  .header-cta .btn { display: none; }
}

/* ---------- Héros ---------- */
.hero { min-height: 92svh; display: grid; align-items: center; text-align: center; color: var(--ivoire); position: relative; overflow: hidden; padding-block: 8rem 5rem; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(44,47,43,.62), rgba(44,47,43,.42) 45%, rgba(44,47,43,.78)); }
.hero .kicker { color: rgba(247,244,238,.8); }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero-sub { font-size: 1.12rem; color: rgba(247,244,238,.9); max-width: 48ch; margin: 0 auto 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Valeurs ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.6rem, 4vw, 3rem); text-align: center; }
.value .num { font-family: var(--display); font-size: 2.4rem; color: var(--sauge); line-height: 1; display: block; margin-bottom: .6rem; }
.value h3 { font-size: 1.25rem; }
.value p { font-size: .96rem; color: var(--encre-doux); margin: 0; }

/* ---------- Deux colonnes ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.round-img { border-radius: 300px 300px 0 0; overflow: hidden; }
.round-img img { width: 100%; aspect-ratio: 4/4.8; object-fit: cover; }
.quote-mark { font-family: var(--display); font-size: 1.35rem; font-style: italic; color: var(--terre); line-height: 1.6; }

/* ---------- Soins ---------- */
.care { background: var(--ivoire-2); }
.care-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; }
.care-card { background: var(--ivoire); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s, box-shadow .4s; }
.care-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(44,47,43,.5); }
.care-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.care-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.care-body h3 { font-size: 1.35rem; margin: 0; }
.care-meta { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sauge); }
.care-body p { font-size: .95rem; color: var(--encre-doux); margin: 0; flex: 1; }
.care-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .8rem; padding-top: .9rem; border-top: 1px solid rgba(44,47,43,.12); }
.care-foot .price { font-family: var(--display); font-size: 1.5rem; }
.care-foot .price small { font-size: .8rem; color: var(--encre-doux); font-family: var(--sans); }
.care-foot a { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terre); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Forfaits ---------- */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; align-items: stretch; }
.pack { border: 1px solid rgba(125,143,122,.4); border-radius: 22px; padding: clamp(1.8rem, 3vw, 2.4rem); background: var(--ivoire); display: flex; flex-direction: column; gap: .9rem; position: relative; }
.pack.best { background: var(--sauge-fonce); color: var(--ivoire); border-color: var(--sauge-fonce); }
.pack.best .pack-price, .pack.best h3 { color: var(--ivoire); }
.pack.best li { color: rgba(247,244,238,.85); }
.pack .flag { position: absolute; top: -12px; left: 50%; translate: -50% 0; background: var(--terre); color: #fff; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; padding: .3rem .9rem; border-radius: var(--r); }
.pack h3 { font-size: 1.4rem; margin: 0; }
.pack-price { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.pack-price small { font-size: .85rem; font-family: var(--sans); color: var(--encre-doux); }
.pack ul { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .55rem; font-size: .95rem; color: var(--encre-doux); flex: 1; }
.pack li { display: flex; gap: .6rem; align-items: flex-start; }
.pack li::before { content: "—"; color: var(--terre); flex: none; }
.pack.best li::before { color: var(--ivoire); opacity: .6; }

/* ---------- Bon cadeau ---------- */
.gift { background: var(--sauge-fonce); color: var(--ivoire); }
.gift .kicker { color: rgba(247,244,238,.7); }
.gift-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .gift-grid { grid-template-columns: 1fr; } }
.gift p { color: rgba(247,244,238,.82); }
.gift-card {
  background: linear-gradient(140deg, #6f8069, #55654f);
  border: 1px solid rgba(247,244,238,.28); border-radius: 20px;
  padding: clamp(1.8rem, 4vw, 2.8rem); position: relative; overflow: hidden;
}
.gift-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(247,244,238,.22); right: -80px; top: -80px; }
.gift-card .amount { font-family: var(--display); font-size: 3rem; line-height: 1; margin: .6rem 0 .4rem; }
.gift-card .label { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(247,244,238,.7); }
.gift-card .valid { font-size: .84rem; color: rgba(247,244,238,.7); margin-top: 1.4rem; }

/* ---------- Avis ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.rev { background: var(--ivoire-2); border-radius: 20px; padding: 1.9rem; }
.rev .stars { color: var(--terre); letter-spacing: .2em; margin-bottom: .7rem; }
.rev blockquote { margin: 0 0 1.1rem; font-family: var(--display); font-size: 1.15rem; line-height: 1.55; }
.rev cite { font-style: normal; font-size: .84rem; color: var(--encre-doux); }

/* ---------- Réservation ---------- */
.book-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.05rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(44,47,43,.25); background: transparent;
  padding: .7rem 0; font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--encre);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--sauge); }
.form-ok { border: 1px solid var(--sauge); background: rgba(125,143,122,.12); border-radius: 16px; padding: .95rem 1.15rem; font-size: .95rem; }
.side { background: var(--ivoire-2); border-radius: 22px; padding: clamp(1.7rem, 3vw, 2.4rem); }
.hours { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(44,47,43,.1); font-size: .95rem; }
.hours li.closed { color: var(--encre-doux); }
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-open-now { color: #4a7c52; }
.status.is-closed-now { color: var(--terre); }
.map-embed { border-radius: 18px; overflow: hidden; margin-top: 1.3rem; }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(.3); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--encre); color: rgba(247,244,238,.66); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.site-footer .brand b { color: var(--ivoire); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.4rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sauge); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.site-footer a:hover { color: var(--ivoire); }
.footer-bottom { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(247,244,238,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .82rem; }

/* ---------- Animation ---------- */
.js-anim [data-anim] { opacity: 0; transform: translateY(24px); transition: opacity .85s cubic-bezier(.2,1,.3,1), transform .85s cubic-bezier(.2,1,.3,1); }
.js-anim [data-anim].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim [data-anim] { opacity: 1; transform: none; transition: none; }
}
