/* Fabienne Massage — feuille de style unique (site statique) */
:root {
  --bg: #2b282d;
  --bg-raised: #38343a;
  --bg-green: #4f6e2b;
  --green: #64853a;
  --lime: #edfc97;
  --ink: #f4f1f5;
  --ink-soft: #d3ccd6;
  --line: #5a545e;
  --on-lime: #232a10;

  --font-display: 'Petit Formal Script', 'Segoe Script', cursive;
  --font-body: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --step-0: 1.0625rem;
  --step-1: 1.35rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.4vw, 2.75rem);
  --step-4: clamp(2.6rem, 7vw, 4.25rem);

  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 3px; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), 1080px); margin-inline: auto; }
.prose { max-width: 68ch; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--lime); color: var(--on-lime); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); color: var(--lime); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #242126;
  border-bottom: 1px solid #4a444e;
}
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); text-decoration: none; line-height: 1; }
.brand span { color: var(--lime); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.nav a { white-space: nowrap; color: var(--ink-soft); text-decoration: none; font-size: .975rem; padding: .5rem 0; border-bottom: 2px solid transparent; transition: color .2s var(--ease-out), border-color .2s var(--ease-out); }
.nav ul a:hover, .nav ul a[aria-current="true"] { color: var(--lime); border-color: var(--lime); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem; border-radius: 999px;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--lime);
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.btn-primary { background: var(--lime); color: var(--on-lime); }
.btn-primary:hover { background: #fff; border-color: #fff; color: var(--on-lime); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--lime); }
.btn-ghost:hover { background: var(--lime); color: var(--on-lime); transform: translateY(-2px); }
.nav .btn { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; border-bottom: 2px solid var(--lime); }
.nav .btn.btn-primary { color: var(--on-lime); }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); color: var(--ink); border-radius: var(--radius-sm); width: 48px; height: 48px; cursor: pointer; }
.nav-toggle svg { margin: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid; align-items: center;
  background: #6c666f url('../images/hero.jpg') right center / cover no-repeat;
  isolation: isolate;
}
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(43,40,45,.88) 0%, rgba(43,40,45,.55) 48%, rgba(43,40,45,0) 78%); }
.hero-in { padding-block: 3rem 4rem; }
.hero-logo { width: min(100%, 560px); margin: 0 0 2rem -.5rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.hero p.lead { font-size: var(--step-1); max-width: 30ch; color: var(--ink); margin-bottom: 1.8rem; line-height: 1.5; }
.hero h1 { max-width: 14ch; margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin-top: 1.2rem; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
section { padding-block: var(--section-y); }
.s-raised { background: var(--bg-raised); }
.s-green { background: var(--bg-green); }
.s-green h3 { color: var(--lime); }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); max-width: 60ch; }

/* Bienvenue */
.welcome { display: grid; gap: clamp(1.5rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
.welcome figure { margin: 0; }
.welcome img { border-radius: var(--radius-md); aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 30%; width: 100%; }
.welcome figcaption { margin-top: .6rem; font-size: .95rem; color: var(--ink-soft); }
.quote-line { font-family: var(--font-display); font-size: var(--step-2); color: var(--lime); line-height: 1.35; margin: 1.5rem 0 0; }

/* Cabinet : bande de photos */
.cabinet { padding-block: 0 var(--section-y); }
.cabinet-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.cabinet-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); aspect-ratio: 4 / 3; }
.cabinet-grid .big { grid-column: span 2; }
.cabinet-cap { margin: 1rem 0 0; color: var(--ink-soft); max-width: 68ch; }

/* Carte des soins */
.carte-group { margin-top: 3rem; }
.carte-group > h3 { font-size: var(--step-2); color: var(--ink); padding-bottom: .4rem; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.signature { background: var(--bg-green); border-radius: var(--radius-md); padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; gap: 1rem 2.5rem; grid-template-columns: 1fr; }
.signature h3 { font-size: var(--step-2); margin-bottom: .3em; }
.signature .price { align-self: start; }
.price { font-family: var(--font-display); color: var(--lime); font-size: var(--step-1); line-height: 1.3; white-space: nowrap; }
.price small { display: block; font-family: var(--font-body); font-size: .9rem; color: var(--ink-soft); }
.soin { display: grid; grid-template-columns: 88px 1fr; gap: .4rem 1.1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.soin.no-img { grid-template-columns: 1fr; }
.soin img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-sm); }
.soin h4 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); margin: 0 0 .25em; color: var(--lime); line-height: 1.25; }
.soin .price { grid-column: 1 / -1; font-size: 1.15rem; }
.soin p { margin-bottom: .6em; }
.soin details summary { cursor: pointer; color: var(--lime); font-weight: 700; padding: .5rem 0; min-height: 44px; display: flex; align-items: center; }
.soin details[open] summary { margin-bottom: .3rem; }
.badge { display: inline-block; background: var(--lime); color: var(--on-lime); font: 800 .75rem/1 var(--font-body); padding: .3em .6em; border-radius: 999px; margin-left: .5rem; vertical-align: middle; font-family: var(--font-body); }

/* Sauna */
.sauna { display: grid; gap: 2rem 4rem; grid-template-columns: 1fr; align-items: center; }
.sauna img { width: min(100%, 360px); margin-inline: auto; background: #fff; border-radius: var(--radius-md); }
.sauna .price { font-size: var(--step-2); margin-bottom: 1rem; }

/* Entreprises */
.pro { display: grid; gap: 2rem 4rem; grid-template-columns: 1fr; }
.pro ul.tarifs { list-style: none; padding: 0; margin: 1.2rem 0; }
.pro ul.tarifs li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.pro ul.tarifs b { color: var(--lime); white-space: nowrap; }

/* Cadeau */
.gift { background: var(--lime); color: var(--on-lime); text-align: center; }
.gift .wrap { max-width: 760px; }
.gift h2 { color: var(--on-lime); }
.gift p { font-size: var(--step-1); line-height: 1.55; }
.gift .btn { background: var(--on-lime); color: var(--lime); border-color: var(--on-lime); }
.gift .btn:hover { background: #fff; color: var(--on-lime); border-color: var(--on-lime); }

/* Livre d'or */
.avis { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.avis blockquote { margin: 0; }
.avis blockquote p { font-family: var(--font-display); line-height: 1.5; margin-bottom: .6em; }
.avis .main p { font-size: var(--step-2); color: var(--ink); }
.avis .side p { font-size: var(--step-1); color: var(--ink-soft); }
.avis cite { font-style: normal; color: var(--lime); font-weight: 700; font-size: .95rem; }
.avis .side { padding-top: 1.2rem; border-top: 1px solid var(--line); }

/* Contact */
.contact { display: grid; gap: 2.5rem 4rem; grid-template-columns: 1fr; }
.tel { display: inline-block; font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3.2rem); color: var(--lime); text-decoration: none; line-height: 1.2; margin: .2em 0 .6em; }
.tel:hover { color: #fff; }
.contact address { font-style: normal; margin-bottom: 1.4rem; }
.contact dl { margin: 0; }
.contact dt { font-weight: 700; color: var(--lime); margin-top: 1rem; }
.contact dd { margin: 0; color: var(--ink-soft); }
.partner { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .975rem; color: var(--ink-soft); }
.partner h3 { font-size: var(--step-1); }

/* Pied de page */
.site-footer { background: #1f1c21; padding-block: 3rem; font-size: .875rem; line-height: 1.7; color: var(--ink-soft); }
.site-footer .legal { max-width: 90ch; }
.site-footer .legal strong { color: var(--ink); }
.site-footer .id { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }

/* ---------- Apparition au scroll (si JS actif) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Tablette et plus ---------- */
@media (min-width: 720px) {
  .welcome { grid-template-columns: 5fr 6fr; }
  .cabinet-grid { grid-template-columns: repeat(4, 1fr); }
  .cabinet-grid .big { grid-column: span 2; grid-row: span 2; }
  .signature { grid-template-columns: 1fr auto; }
  .soin { grid-template-columns: 120px 1fr auto; padding-block: 1.6rem; gap: .4rem 1.5rem; }
  .soin.no-img { grid-template-columns: 1fr auto; }
  .soin img { width: 120px; height: 120px; }
  .soin .price { grid-column: auto; text-align: right; }
  .sauna { grid-template-columns: 1fr 1.3fr; }
  .pro { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .avis { grid-template-columns: 1.4fr 1fr; }
  .avis .main { grid-row: span 2; padding-right: 1rem; }
  .avis .side:first-of-type { padding-top: 0; border-top: 0; }
  .contact { grid-template-columns: 1.1fr 1fr; align-items: start; }
}

/* ---------- Mobile : menu repliable ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: #242126; border-bottom: 1px solid #4a444e; flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1.2rem; gap: .8rem; display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid #3a353e; font-size: 1.05rem; }
  .hero { background-position: 72% center; }
  .hero::before { background: linear-gradient(180deg, rgba(43,40,45,.82) 0%, rgba(43,40,45,.6) 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
