/* SonoSens — feuille de style principale
   Palette tirée des photos : ivoire chaud, paille, laiton des bols, bleu ardoise du handpan. */

:root {
  --ground: #FBF7F0;
  --surface: #F3EDE0;
  --ink: #2C2620;
  --muted: #6F6557;
  --brass: #9A7434;
  --brass-dark: #7E5E28;
  --slate: #3D5560;
  --line: #E2D9C7;
  --radius: 8px;
  --wrap: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1, h2, h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; line-height: 1.2; text-wrap: balance; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: .8rem 0; }
a { color: var(--slate); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 44rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: var(--brass); font-weight: 600; margin: 0 0 .8rem;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .8rem 1.25rem;
}
.brand-wrap { display: inline-flex; flex-direction: column; gap: .1rem; text-decoration: none; line-height: 1; }
.brand {
  font-family: "Marcellus", Georgia, serif; font-size: 1.35rem;
  color: var(--ink); letter-spacing: .02em; display: block;
}
.brand span { color: var(--brass); }
.brand-tagline {
  font-style: italic; font-size: .7rem; color: var(--muted);
  letter-spacing: .01em; display: block;
}
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--brass-dark); }
.site-nav a[aria-current="page"] { color: var(--brass-dark); border-bottom: 2px solid var(--brass); padding-bottom: 2px; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  padding: .65rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--brass); color: #FFFDF8; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brass-dark); }
.btn-ghost { border: 1px solid var(--brass); color: var(--brass-dark); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--surface); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

/* Burger mobile */
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--ink); cursor: pointer; padding: .2rem .5rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 72vh; display: grid; align-items: center; color: #FFFDF8; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,24,16,.25) 0%, rgba(30,24,16,.55) 100%);
}
.hero .content { position: relative; z-index: 1; padding: 5rem 1.25rem 2rem; }
.hero h1 { color: #FFFDF8; max-width: 22ch; }
.hero p.sub { font-size: 1.15rem; max-width: 46ch; margin: .4rem 0 1.6rem; color: #F3EDE0; }
.hero .actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero .btn-ghost { border-color: #F3EDE0; color: #FFFDF8; }
.hero .btn-ghost:hover { background: rgba(255,253,248,.14); }

/* ---------- Sections ---------- */
section.block { padding: 4.5rem 0; }
section.block.tinted { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 42rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); }

/* Cartes prestations */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem; }
.card {
  background: #FFFEFA; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(44,38,32,.12); }
.card img { height: 13rem; width: 100%; object-fit: cover; }
.card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card h3 { margin: 0; }
.card .desc { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.card .price { font-weight: 600; color: var(--brass-dark); font-variant-numeric: tabular-nums; }
.card .link { color: var(--slate); font-weight: 600; font-size: .92rem; }

/* Frise déroulé du soin */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1.2rem; }
.step { position: relative; padding: 1.1rem 1.1rem 1.2rem; background: #FFFEFA; border: 1px solid var(--line); border-radius: var(--radius); }
.step strong { display: block; margin-bottom: .2rem; }
.step span { color: var(--muted); font-size: .9rem; line-height: 1.5; display: block; }

/* Média + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 47rem) { .split { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- Prestations ---------- */
.presta { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 2.5rem; padding: 3rem 0; border-top: 1px solid var(--line); align-items: start; }
.presta:first-of-type { border-top: none; }
.presta img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; position: sticky; top: 5.5rem; }
.presta .facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: .6rem 0 1rem; color: var(--muted); font-size: .95rem; }
.presta .facts strong { color: var(--brass-dark); font-variant-numeric: tabular-nums; font-size: 1.05rem; }
@media (max-width: 47rem) { .presta { grid-template-columns: 1fr; gap: 1.4rem; } .presta img { position: static; } }

.tablewrap { overflow-x: auto; margin: 1.2rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: #FFFEFA; border: 1px solid var(--line); border-radius: var(--radius); }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
th { background: var(--surface); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; color: var(--brass-dark); }

details.faq { border-bottom: 1px solid var(--line); padding: .9rem 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::after { content: "+"; color: var(--brass); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); margin: .6rem 0 .2rem; }

/* ---------- À propos ---------- */
.instruments { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.4rem; }
.instrument { background: #FFFEFA; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.instrument img { height: 12rem; width: 100%; object-fit: cover; }
.instrument .body { padding: 1rem 1.1rem 1.2rem; }
.instrument h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.instrument p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 47rem) { .contact-grid { grid-template-columns: 1fr; } }

form .field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
input, select, textarea {
  width: 100%; padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: #FFFEFA; border: 1px solid var(--line); border-radius: 6px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--slate); outline-offset: 1px; border-color: var(--slate); }
button.btn { border: none; cursor: pointer; font: inherit; }

.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.contact-card p { margin: .5rem 0; }
.contact-card a { font-weight: 600; }

/* Bandeau CTA final */
.cta-band { text-align: center; padding: 4.5rem 0; background: var(--slate); color: #F3EDE0; }
.cta-band h2 { color: #FFFDF8; }
.cta-band p { color: #D8DFE2; max-width: 44ch; margin: .5rem auto 1.6rem; }
.cta-band .actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--brass); }
.cta-band .btn-ghost { border-color: #D8DFE2; color: #F3EDE0; }
.cta-band .btn-ghost:hover { background: rgba(243,237,224,.12); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #CBC2B4; padding: 2.8rem 0 5.5rem; font-size: .92rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; justify-content: space-between; }
.site-footer a { color: #E8E0D2; }
.site-footer .brand { color: #FFFDF8; font-size: 1.2rem; }

/* Barre d'appel mobile */
.call-bar { display: none; }

/* Note personnalisée sous le tableau des tarifs */
.presta-note {
  margin-top: 1.2rem;
  padding: .9rem 1.1rem;
  background: var(--surface);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: .95rem;
}

.note { font-size: .88rem; color: var(--muted); }

/* Avertissement */
.disclaimer { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--brass); padding: .2rem 0 .2rem 1rem; margin-top: 2rem; }

/* ---------- Mobile ---------- */
@media (max-width: 47rem) {
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7rem 0; width: 100%; }
  .site-nav .btn { margin-top: .5rem; width: auto; }
  .nav-toggle { display: block; }

  .hero { min-height: 78vh; }

  .call-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.1);
    justify-content: stretch;
  }
  .cb-btn {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .15rem; padding: .55rem .3rem .5rem;
    color: #E8E0D2; text-decoration: none;
    font-size: .65rem; font-weight: 600; letter-spacing: .03em;
    border-right: 1px solid rgba(255,255,255,.08);
  }
  .cb-btn:last-child { border-right: none; }
  .cb-btn:active { background: rgba(255,255,255,.08); }
  .cb-btn span { display: block; }
  .cb-btn:nth-child(1) { color: #9CD8A0; }
  .cb-btn:nth-child(2) { color: #6BD07A; }
  .cb-btn:nth-child(3) { color: #9DBFD8; }
  .cb-btn:nth-child(4) { color: #D8C09D; }
  body { padding-bottom: 4rem; }
}
