/* =========================================================
   L'Onde Essentielle — feuille de style partagée
   Palette « onde » : eau, eucalyptus, lumière
   ========================================================= */

:root {
  --base:       #FAFBF7;  /* blanc d'eau, lumineux */
  --wash:       #EEF2EA;  /* lavis sauge clair */
  --wash-deep:  #E2EAE2;  /* lavis sauge soutenu */
  --ink:        #1E2B24;  /* encre forêt, presque noir */
  --ink-soft:   #46544B;  /* corps de texte adouci */
  --sage:       #5F7A68;  /* vert primaire */
  --sage-deep:  #45594C;  /* survol */
  --sage-pale:  #A9BCAE;  /* secondaire */
  --amber:      #C29A52;  /* goutte ambrée, accent rare */
  --line:       rgba(30, 43, 36, 0.12);
  --line-soft:  rgba(30, 43, 36, 0.07);

  --measure: 60ch;
  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.25rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1.1rem;
}

.lead {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink);
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.measure { max-width: var(--measure); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--wash { background: var(--wash); }
.section--wash-deep { background: var(--wash-deep); }

/* ---------- Signature : l'onde ---------- */
.onde {
  display: block;
  width: clamp(120px, 22vw, 220px);
  height: auto;
  color: var(--sage);
}
.onde path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.onde--draw path {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: ondeDraw 2.4s ease-out forwards;
}
@keyframes ondeDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .onde--draw path { animation: none; stroke-dashoffset: 0; }
}
.onde-divider { display: flex; justify-content: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.onde-divider .onde { color: var(--sage-pale); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn--solid { background: var(--sage); color: #fff; }
.btn--solid:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sage); color: var(--sage-deep); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* lien souligné fin, accent ambré rare */
.tlink {
  color: var(--sage-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--sage-pale);
  padding-bottom: 1px;
  transition: border-color .2s ease, color .2s ease;
}
.tlink:hover { color: var(--ink); border-color: var(--amber); }

/* =========================================================
   En-tête / navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 247, 0.86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 88px;
}
.brand-logo { height: 56px; width: auto; display: block; }
.footer-logo { height: 60px; width: auto; display: block; margin-bottom: 0.4rem; }
@media (max-width: 860px) { .brand-logo { height: 44px; } }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 34px; height: 16px; color: var(--sage); flex: none; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand-name b { font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color .2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--sage-deep); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--sage);
}
.nav-cta { margin-left: 0.4rem; }
.nav-cta .btn { padding: 0.6rem 1.15rem; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--base);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.5rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
    box-shadow: 0 20px 40px -28px rgba(30,43,36,.4);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 0.95rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a.is-active::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; padding: 0.85rem 1.2rem; }
  .nav-toggle { display: inline-flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(4.5rem, 11vw, 9rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% -10%, var(--wash) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 110%, var(--wash-deep) 0%, transparent 50%);
  z-index: -1;
}
.hero-inner { max-width: 50rem; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--sage-deep); }
.hero .lead { max-width: 42ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-onde { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* =========================================================
   Blocs de contenu
   ========================================================= */
.stack > * + * { margin-top: 1.25rem; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* deux colonnes texte / média */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split-media { order: 0; }
}

/* grille de cartes */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.card {
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(30,43,36,.45); border-color: var(--sage-pale); }
.card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--sage-pale);
  display: block;
  margin-bottom: 0.6rem;
}
.card h3 { font-size: 1.28rem; margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }
.card .leaf { width: 30px; height: 30px; color: var(--sage); margin-bottom: 1rem; }

/* liste « ressentis / signaux » */
.signal-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.signal-list li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  position: relative;
  break-inside: avoid;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.signal-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.25rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sage-pale);
}
@media (max-width: 620px) { .signal-list { columns: 1; } }

/* citation / voix poétique */
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 24ch;
}
.pullquote--center { margin-inline: auto; text-align: center; max-width: 30ch; }

/* placeholder photo élégant */
.photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--wash) 0%, var(--wash-deep) 100%);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.photo--wide { aspect-ratio: 16 / 10; }
.photo__note {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  text-align: center;
  padding: 1rem;
  max-width: 22ch;
}
.photo__wm { position: absolute; width: 46%; color: rgba(95,122,104,.25); }

/* déroulé d'une séance (étapes) */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .step-n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--sage);
  line-height: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p:last-child { margin-bottom: 0; }

/* CTA bande */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1.2rem; }
.cta-band .lead { max-width: 40ch; margin-inline: auto; margin-bottom: 2rem; }

/* infos pratiques */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.5rem 2.5rem; }
.fact { border-top: 2px solid var(--sage-pale); padding-top: 1rem; }
.fact .k { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.4rem; }
.fact .v { color: var(--ink); }
.fact .v strong { font-weight: 700; }

/* articles (blog) */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(1.5rem,3vw,2.4rem); }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post .photo { aspect-ratio: 3/2; margin-bottom: 1.1rem; }
.post .tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.5rem; }
.post h3 { font-size: 1.32rem; margin-bottom: 0.5rem; transition: color .2s ease; }
.post:hover h3 { color: var(--sage-deep); }
.post p { font-size: 0.97rem; }

/* formulaire */
.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-deep); font-weight: 700; }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(95,122,104,.15);
}
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: #C7D2CB;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-footer a { color: #DCE5DF; text-decoration: none; border-bottom: 1px solid rgba(220,229,223,.25); }
.site-footer a:hover { border-color: var(--amber); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(220,229,223,.16);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .brand-name { color: #fff; font-size: 1.4rem; }
.footer-brand .brand-mark { color: var(--sage-pale); }
.footer-brand p { color: #AEBDB3; margin-top: 1rem; max-width: 32ch; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.6rem; font-size: 0.85rem; color: #9AA89E;
}
.footer-bottom a { border: 0; }

/* reveal au scroll — masqué uniquement si JS actif (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* focus visible accessible */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  border-radius: 4px;
}

/* utilitaires */
.center { text-align: center; }
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 2rem; }
.muted { color: var(--ink-soft); }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.7rem 1.2rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* photos réelles intégrées */
img.photo { display: block; width: 100%; height: auto; object-fit: cover; }

/* portrait rond (page À propos) */
img.portrait { width: 100%; max-width: 330px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; display: block; margin-inline: auto; box-shadow: 0 26px 55px -32px rgba(30,43,36,.55); }
