/* ============================================================
   Sophie Bernadet — Sophrologue
   Design system : papier chaud, encre profonde, accent terre.
   Une seule palette pour tout le site (cf. :root).
   ============================================================ */

/* --- 1. Tokens ------------------------------------------------ */
:root {
  /* Palette — ne pas introduire d'autres couleurs */
  --paper: #f6f1e9;
  --paper-2: #efe7db;
  --paper-3: #e6dccd;
  --ink: #23201c;
  --ink-70: #4c463d;
  --ink-55: #6b6459;
  --clay: #98553a;
  --clay-deep: #7b4430;
  --clay-tint: #ecdfd4;
  --line: rgba(35, 32, 28, 0.14);
  --line-soft: rgba(35, 32, 28, 0.08);

  /* Typographie */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Avenir Next", "Segoe UI", sans-serif;

  --step--1: clamp(0.9375rem, 0.91rem + 0.12vw, 1rem);
  --step-0: clamp(1.0625rem, 1.03rem + 0.18vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.18rem + 0.35vw, 1.4375rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.7vw, 1.9375rem);
  --step-3: clamp(1.875rem, 1.6rem + 1.35vw, 2.75rem);
  --step-4: clamp(2.375rem, 1.85rem + 2.6vw, 4.25rem);

  /* Rythme */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 68ch;
  --section-y: clamp(4rem, 9vw, 8.5rem);

  /* Rayons */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 30px;
  --r-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(35, 32, 28, 0.04), 0 12px 30px -18px rgba(35, 32, 28, 0.28);
  --ease: cubic-bezier(0.32, 0.72, 0.26, 1);
}

/* --- 2. Reset ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Atmosphère : halo très léger, fixe, non interactif */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58rem 40rem at 82% -8%, rgba(152, 85, 58, 0.09), transparent 62%),
    radial-gradient(46rem 34rem at 4% 12%, rgba(230, 220, 205, 0.75), transparent 60%);
}

img, svg { display: block; max-width: 100%; height: auto; }

[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--clay-tint); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: var(--step--1);
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --- 3. Structure --------------------------------------------- */
.shell {
  width: min(100% - (var(--gutter) * 2), 76rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.shell--narrow { width: min(100% - (var(--gutter) * 2), 54rem); }

.section { padding-block: var(--section-y); position: relative; z-index: 1; }
.section--tint { background: linear-gradient(180deg, rgba(239, 231, 219, 0) 0%, var(--paper-2) 18%, var(--paper-2) 82%, rgba(239, 231, 219, 0) 100%); }
.section--rule { border-top: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay-deep);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-70);
  font-family: var(--font-display);
}

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--ink-70); }

/* --- 4. Boutons ---------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--clay); }
.btn--primary:hover { --btn-bg: var(--clay-deep); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { --btn-bg: rgba(255, 255, 255, 0.5); border-color: var(--ink); }

.btn--quiet {
  --btn-bg: transparent;
  --btn-fg: var(--ink-70);
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  font-weight: 500;
  border-color: var(--line);
}
.btn--quiet:hover { --btn-fg: var(--ink); border-color: var(--ink-55); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 2rem;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--clay-deep);
  text-decoration: none;
  text-underline-offset: 4px;
}
.link-more::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-more:hover { text-decoration: underline; }
.link-more:hover::after { transform: translateX(4px); }

.tel-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.tel-inline:hover { border-color: var(--clay); color: var(--clay-deep); }

/* --- 5. En-tête ---------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 233, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.masthead[data-stuck="true"] { border-bottom-color: var(--line-soft); }

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.wordmark__role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-70);
  padding-block: 0.4rem;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Sous-menu « Accompagnement » : <details> natif, donc utilisable au
   clavier sans JavaScript. En bureau il s'ouvre en panneau flottant,
   en mobile il se déplie dans le tiroir. */
.nav__item--group { position: relative; }
.menu { position: relative; }
.menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  list-style: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s var(--ease);
  opacity: 0.7;
}
.menu[open] > summary::after { transform: translateY(1px) rotate(-135deg); }

.menu__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.menu__panel a {
  display: block;
  text-decoration: none;
  color: var(--ink-70);
  font-size: var(--step--1);
  font-weight: 500;
  padding: 0.6rem 0;
}
.menu__panel a:hover { color: var(--clay-deep); }
.menu__panel a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.menu__panel small {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-55);
  font-weight: 400;
}

@media (min-width: 62em) {
  .menu__panel {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: -1.1rem;
    z-index: 60;
    width: 20.5rem;
    padding: 0.6rem 1.1rem;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-soft);
  }
  .menu__panel li + li { border-top: 1px solid var(--line-soft); }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.4rem 1rem 0.4rem 0.85rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bars span {
  height: 1.5px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 61.99em) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -40px rgba(35, 32, 28, 0.5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: 0.95rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 1.25rem; width: 100%; }

  /* Le sous-menu se déplie dans le tiroir, sans panneau flottant. */
  .menu > summary { display: flex; justify-content: space-between; width: 100%; }
  .menu__panel { padding: 0.2rem 0 0.9rem 1rem; border-bottom: 1px solid var(--line-soft); }
  .menu__panel a { padding: 0.7rem 0; font-size: 1.05rem; }
}

/* --- 6. Hero -------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem); }
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 56em) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em {
  font-style: italic;
  color: var(--clay-deep);
}
.hero__lede { font-size: var(--step-1); color: var(--ink-70); max-width: 34ch; font-family: var(--font-display); }
.hero__aside {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  font-size: var(--step--1);
  color: var(--ink-70);
}
.hero__aside dl { margin: 0; display: grid; gap: 1.1rem; }
.hero__aside dt {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-55);
  margin-bottom: 0.15rem;
}
.hero__aside dd { margin: 0; color: var(--ink); }

/* --- 7. Respiration ------------------------------------------ */
.breathe {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 56em) {
  .breathe { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

.breathe__stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: min(100%, 24rem);
  margin-inline: auto;
}
.breathe__halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(152, 85, 58, 0.14), rgba(152, 85, 58, 0) 68%);
}
.breathe__bubble {
  position: relative;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 252, 246, 0.95), rgba(236, 223, 212, 0.55) 46%, rgba(152, 85, 58, 0.22) 100%);
  border: 1px solid rgba(152, 85, 58, 0.22);
  box-shadow: inset 0 0 40px rgba(255, 252, 246, 0.6), 0 20px 45px -30px rgba(123, 68, 48, 0.5);
  transform: scale(0.62);
  will-change: transform;
}
.breathe__ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.breathe__ring--2 { inset: 14%; border-color: var(--line-soft); }

.breathe__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.35rem;
  pointer-events: none;
}
.breathe__phase {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--ink);
}
.breathe__count {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-55);
  font-variant-numeric: tabular-nums;
}

.breathe__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.breathe__hint { font-size: var(--step--1); color: var(--ink-55); margin: 0; }

.breathe__after {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.breathe__after h3 { font-size: var(--step-2); margin-bottom: 0.5em; }

/* --- 8. « Vous venez parce que… » ---------------------------- */
.needs {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 46em) {
  .needs { grid-template-columns: repeat(12, 1fr); }
  /* Grille éditoriale asymétrique : 7/5, 5/7, 7/5 */
  .needs > li:nth-child(4n + 1) { grid-column: span 7; }
  .needs > li:nth-child(4n + 2) { grid-column: span 5; }
  .needs > li:nth-child(4n + 3) { grid-column: span 5; }
  .needs > li:nth-child(4n + 4) { grid-column: span 7; }
}

.need {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.need:hover {
  transform: translateY(-3px);
  border-color: rgba(152, 85, 58, 0.35);
  background: #fffdf9;
  box-shadow: var(--shadow-soft);
}
.need h3 { margin: 0; font-size: var(--step-1); }
.need p { color: var(--ink-70); font-size: var(--step--1); line-height: 1.6; margin: 0; flex: 1; }
.need .link-more { margin-top: 0.4rem; }
.need:hover .link-more::after { transform: translateX(4px); }

/* --- 9. Étapes de la première séance ------------------------- */
.steps {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
@media (min-width: 52em) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.25rem); }
  .steps > li:nth-child(even) { transform: translateY(clamp(1rem, 3vw, 2.75rem)); }
}
.step {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--clay-deep);
  margin-bottom: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 0.45em; }
.step p { color: var(--ink-70); font-size: var(--step--1); line-height: 1.65; }

.reassure {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--clay-tint);
  border-radius: var(--r-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.reassure p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin: 0;
  max-width: 34ch;
}
.reassure .btn-row { margin-top: 0; }

/* --- 10. Accompagnement (offres) ---------------------------- */
.offers { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.offer {
  display: grid;
  gap: 0.5rem 2.5rem;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 52em) {
  .offer { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; align-items: center; }
}
.offer h2, .offer h3 { margin: 0; font-size: var(--step-1); }
.offer p { margin: 0; color: var(--ink-70); font-size: var(--step--1); line-height: 1.6; }
.offer .link-more { white-space: nowrap; }

/* --- 11. Témoignages ---------------------------------------- */
.quotes { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; }
@media (min-width: 50em) { .quotes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); } }

.quote {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
}
.quote blockquote p { max-width: none; }
.quote figcaption { font-size: var(--step--1); color: var(--ink-55); margin-top: auto; }

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay-deep);
  background: rgba(236, 223, 212, 0.5);
}

.placeholder-note {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px dashed rgba(152, 85, 58, 0.4);
  border-radius: var(--r-md);
  background: rgba(255, 253, 249, 0.5);
  color: var(--ink-70);
  font-size: var(--step--1);
}
.placeholder-note strong { color: var(--ink); }

/* Marqueur des informations pratiques restant à renseigner par Sophie.
   Rechercher « class="todo" » dans le projet pour les retrouver toutes. */
.todo {
  border-bottom: 1px dashed rgba(152, 85, 58, 0.6);
  color: var(--clay-deep);
  font-style: italic;
}


/* --- 12. Sophie --------------------------------------------- */
.about { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 56em) { .about { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

.portrait {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
  aspect-ratio: 4 / 5;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.pull {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 1.2em;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 2px solid var(--clay);
  max-width: 32ch;
}

.credentials { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.credentials li {
  display: flex;
  gap: 0.85rem;
  font-size: var(--step--1);
  color: var(--ink-70);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.credentials li::before { content: "—"; color: var(--clay); flex: none; }

/* --- 13. Premier contact ------------------------------------ */
.first-contact {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
}
@media (min-width: 56em) { .first-contact { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; } }
.first-contact h2 { color: var(--paper); }
.first-contact p { color: rgba(246, 241, 233, 0.78); }
.first-contact .eyebrow { color: #e0b79f; }
.first-contact .btn--outline { --btn-fg: var(--paper); border-color: rgba(246, 241, 233, 0.35); }
.first-contact .btn--outline:hover { --btn-bg: rgba(246, 241, 233, 0.1); border-color: var(--paper); }
.first-contact .tel-inline { color: var(--paper); border-color: rgba(246, 241, 233, 0.35); }
.first-contact .tel-inline:hover { color: #e0b79f; border-color: #e0b79f; }

.no-commit {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: rgba(246, 241, 233, 0.07);
  border: 1px solid rgba(246, 241, 233, 0.16);
  border-radius: var(--r-md);
}
.no-commit__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--paper);
  margin: 0;
}

/* --- 14. Formulaire ----------------------------------------- */
.form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.4rem; }
.field > label { font-size: var(--step--1); font-weight: 600; }
.field__help { font-size: 0.85rem; color: var(--ink-55); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  min-height: 3.1rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-55); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(152, 85, 58, 0.14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--clay-deep); }
.field input:user-invalid ~ .field__error, .field textarea:user-invalid ~ .field__error { display: block; }
.field__error { display: none; font-size: 0.85rem; color: var(--clay-deep); font-weight: 600; }

.form__consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-70); }
.form__consent input { width: 1.15rem; height: 1.15rem; min-height: 0; margin-top: 0.25rem; flex: none; accent-color: var(--clay); }
.form__status { font-size: var(--step--1); font-weight: 600; }
.form__status[data-state="ok"] { color: var(--clay-deep); }
.form__status[data-state="error"] { color: #8f3222; }
.hp { position: absolute; left: -9999px; }

/* --- 15. Pied de page --------------------------------------- */
.footer {
  margin-top: var(--section-y);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  position: relative;
  z-index: 1;
}
.footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 48em) { .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); } }
.footer h2 { font-size: var(--step-1); margin-bottom: 0.6em; }
.footer p, .footer li { font-size: var(--step--1); color: var(--ink-70); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-55);
}

/* --- 16. Pages internes ------------------------------------- */
.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { max-width: 30ch; }
.page-head .lede { max-width: 46ch; }

.breadcrumb { font-size: 0.85rem; color: var(--ink-55); margin-bottom: 1.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.breadcrumb a { text-decoration: none; border-bottom: 1px solid var(--line); }

.prose h2 { margin-top: 2.5em; font-size: var(--step-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2em; max-width: var(--measure); }
.prose li { margin-bottom: 0.5em; color: var(--ink-70); }

.topic {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem 3rem;
  scroll-margin-top: 6rem;
}
@media (min-width: 52em) { .topic { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.topic h2, .topic h3 { margin: 0; font-size: var(--step-2); }
.topic__body p { color: var(--ink-70); }

/* --- 17. Révélations au scroll ------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* --- 18. Mouvement réduit ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .breathe__bubble { transform: scale(0.82); }
  .steps > li:nth-child(even) { transform: none; }
}

/* --- 19. Photographies -------------------------------------- */
/* Les pages restaurées réutilisent les photographies du cabinet et
   les portraits. Cadre discret, même vocabulaire de rayons et de
   filets que le reste du site. */
.figure { margin: 0; }
.figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  background: var(--paper-3);
}
.figure--framed img { border: 1px solid var(--line); }
.figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-55);
  line-height: 1.55;
}
.figure--zoom { overflow: hidden; border-radius: var(--r-md); }
.figure--zoom img { transition: transform 0.9s var(--ease); }
.figure--zoom:hover img { transform: scale(1.03); }

/* Trois vues du cabinet côte à côte, empilées en mobile. */
.collage { display: grid; gap: clamp(0.9rem, 2vw, 1.5rem); }
@media (min-width: 46em) {
  .collage { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .collage .figure:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.5rem); }
}

/* --- 20. Blocs texte + image -------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split--reverse .split__media { order: -1; }
  .split--narrow { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}
.split__body > :last-child { margin-bottom: 0; }
.split__media { align-self: stretch; display: grid; align-content: start; }

/* --- 21. Informations pratiques ----------------------------- */
.info-grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
@media (min-width: 44em) { .info-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); } }
.info {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.info h3, .info__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay-deep);
}
.info p { margin: 0; font-size: var(--step--1); color: var(--ink-70); line-height: 1.6; }
.info.prose { gap: 0.9rem; }
.info.prose p { max-width: none; }
.info p strong { color: var(--ink); }
.info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info a:hover { border-color: var(--clay); color: var(--clay-deep); }

/* --- 22. Repère de confiance (portrait + rappel des titres) -- */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.trust > img {
  width: clamp(4.75rem, 9vw, 6.75rem);
  height: clamp(4.75rem, 9vw, 6.75rem);
  flex: none;
  border-radius: var(--r-pill);
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-3);
}
.trust__body { flex: 1 1 18rem; }
.trust__body b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.trust__body p { margin: 0; font-size: var(--step--1); color: var(--ink-70); line-height: 1.6; }

/* --- 23. Encadrés ------------------------------------------- */
.callout {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--paper-2);
  border-left: 2px solid var(--clay);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-block: clamp(1.75rem, 4vw, 2.75rem);
}
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3 { margin: 0; font-size: var(--step-1); }
.callout p { color: var(--ink-70); font-size: var(--step--1); margin: 0; }
.callout .btn-row { margin-top: 0.4rem; }

.note {
  font-size: 0.9rem;
  color: var(--ink-55);
  line-height: 1.6;
  max-width: var(--measure);
}

/* --- 24. Tarifs ---------------------------------------------- */
.rates { width: 100%; border-collapse: collapse; margin: 1.5rem 0 0; font-size: var(--step--1); }
.rates caption {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay-deep);
  padding-bottom: 0.9rem;
}
.rates th, .rates td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.rates thead th { border-bottom-color: var(--line); font-size: 0.85rem; color: var(--ink-55); font-weight: 600; }
.rates tbody th { font-weight: 600; color: var(--ink); }
.rates td:last-child { white-space: nowrap; font-weight: 600; color: var(--clay-deep); text-align: right; }
.rates tr:last-child th, .rates tr:last-child td { border-bottom: 0; }

/* --- 25. Offres numérotées ---------------------------------- */
.offer__num {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}
.offer__aside { font-size: var(--step--1); color: var(--ink-55); }

/* --- 26. Pied de page : quatre colonnes --------------------- */
/* Le site compte désormais toutes les pages historiques : le pied de
   page en liste la totalité, sur une colonne supplémentaire. */
@media (min-width: 48em) {
  .footer__grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 68em) {
  .footer__grid--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr); }
}
.footer__social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin-top: 0.9rem; }
.footer address { font-style: normal; font-size: var(--step--1); color: var(--ink-70); line-height: 1.9; }
.footer__syndicat { display: flex; gap: 0.85rem; align-items: flex-start; margin-top: 1.25rem; }
.footer__syndicat img { width: 3rem; height: 3rem; flex: none; border-radius: var(--r-sm); object-fit: cover; }

/* Variante numérotée de la liste d'offres, reprise des pages historiques :
   numéro, description, puis précision à droite. */
@media (min-width: 52em) {
  .offers--numbered .offer {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 13rem);
    align-items: start;
    gap: 0.5rem 2rem;
  }
  .offers--numbered .offer__aside { text-align: right; }
}
.offer div p + p { margin-top: 0.7em; }
.offer h3 a { text-decoration: none; border-bottom: 1px solid var(--line); }
.offer h3 a:hover { border-color: var(--clay); color: var(--clay-deep); }
.offer ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.offer li { font-size: var(--step--1); color: var(--ink-70); margin-bottom: 0.4em; }
