/* ─────────────────────────────────────────────────────────────────────────
 * Cabinet Collomb Alves · Voiron — Design system
 * ─────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Karla:wght@300;400;500;600;700&display=swap');

:root {
  /* Couleurs — ajustées WCAG AA */
  --ink:        #1f1f1c;
  --ink-2:      #3d3d3a;
  --ink-3:      #5e5e58;  /* assombri (#797972 -> #5e5e58) pour passer 4.5:1 sur paper */
  --paper:      #f7f3e9;
  --paper-2:    #efe9d8;
  --paper-3:    #e6dfca;
  --sage:       #5d6b46;
  --sage-deep:  #4a5739;
  --sage-strong:#3a4530;  /* version assombrie de sage pour body text AA-compliant */
  --sage-light: #a8b88c;
  --sage-mist:  #d9dcce;
  --warm:       #b97d4a;
  --warm-deep:  #8d5a30;  /* version assombrie de warm pour body text AA-compliant */
  --warm-mist:  #e8d4ba;
  --on-dark:    #f3eedf;

  /* Type */
  --display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --body:    'Karla', system-ui, -apple-system, sans-serif;

  /* Espacements */
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(60px, 9vw, 110px);
  --content-max: 1240px;
  --nav-h: 84px; /* hauteur réelle de la nav (padding 36 + bouton 48) */

  /* Effets */
  --shadow-soft: 0 1px 2px rgba(31,31,28,0.05), 0 8px 24px -8px rgba(31,31,28,0.12);
  --shadow-card: 0 1px 2px rgba(31,31,28,0.06), 0 16px 40px -16px rgba(31,31,28,0.18);
  --border-soft: 1px solid rgba(31,31,28,0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ─── Reset & base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--paper);
}
body {
  margin: 0;
  background: transparent;
  position: relative;
  isolation: isolate;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;       /* bumped 16->17 pour confort lecture public 50+ */
  line-height: 1.6;      /* bumped 1.55->1.6 pour aération */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, image-slot { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ─── Type ─────────────────────────────────────────────────────────────── */
.kicker {
  font-family: var(--body);
  font-size: 13px;       /* bumped 12->13 pour lisibilité */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-strong);  /* assombri pour AA contrast */
}
.display-xl { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.01em; }
.display-l  { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.02; letter-spacing: -0.005em; }
.display-m  { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; }
.display-s  { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.2; }
.lede       { font-family: var(--body); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.body       { font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.small      { font-family: var(--body); font-size: 14px; line-height: 1.6; color: var(--ink-3); }
em.acc      { font-style: italic; color: var(--sage); }

/* ─── Layout ───────────────────────────────────────────────────────────── */
.wrap     { max-width: var(--content-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section  { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-tight { padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(40px, 6vw, 70px); }
.divider  { height: 1px; background: rgba(31,31,28,0.12); border: 0; margin: 0; }

/* ─── Boutons (tap targets ≥ 48 px sur mobile) ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;    /* bumped 12->14 px vert pour atteindre ≥ 48 px tap target */
  min-height: 48px;
  font-family: var(--body); font-size: 15px; font-weight: 600;  /* 14->15 lisibilité */
  letter-spacing: 0.02em;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--on-dark);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}
.btn--ghost  { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(31,31,28,0.05); }
.btn--sage   { background: var(--sage); border-color: var(--sage); color: var(--on-dark); }
.btn--sage:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn--on-dark-ghost { background: transparent; color: var(--on-dark); border-color: rgba(243,238,223,0.6); }
.btn--on-dark-ghost:hover { background: rgba(243,238,223,0.1); }
.btn--warm   { background: var(--warm); border-color: var(--warm); color: var(--paper); }
.btn--warm:hover { filter: brightness(0.96); }

.btn .ico { width: 16px; height: 16px; }

/* ─── Hero modes (modes de consultation sous les CTAs du hero) ──────── */
.hero__modes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(243, 238, 223, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero__modes svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--sage-light); }
.hero__modes__sep { color: rgba(243, 238, 223, 0.35); margin: 0 4px; }
@media (max-width: 480px) {
  .hero__modes { font-size: 12px; gap: 7px; margin-top: 18px; }
  .hero__modes svg { width: 12px; height: 12px; }
}

/* ─── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 233, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31,31,28,0.08);
  transition: background 0.2s ease;
}
.nav--transparent {
  background: transparent;
  border-bottom: 0; /* pas de 1 px résiduel : le hero comble jusqu'en haut */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav--transparent .nav-link,
.nav--transparent .nav-brand { color: var(--on-dark); }
.nav--transparent .nav-link::after { background: var(--on-dark); }
.nav--transparent .btn--ghost { color: var(--on-dark); border-color: rgba(243,238,223,0.5); }
.nav--transparent .btn--ghost:hover { background: rgba(243,238,223,0.1); }

.nav-inner {
  max-width: var(--content-max); margin: 0 auto;
  height: var(--nav-h); /* hauteur déterministe = offset du hero (zéro barre blanche) */
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-style: italic; font-size: 20px; color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
}
.nav-links {
  display: flex; gap: 28px;
  font-family: var(--body); font-size: 14px; font-weight: 500;
}
.nav-link {
  position: relative; text-decoration: none; color: var(--ink);
  padding-bottom: 4px;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--sage);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--sage); }

.nav-burger { display: none; width: 36px; height: 36px; border: 1px solid var(--ink); background: transparent; border-radius: 100px; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 14px; height: 1.5px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); }
.nav-burger span::before { top: -5px; }
.nav-burger span::after  { top: 5px; }

@media (max-width: 880px) {
  :root { --nav-h: 72px; } /* bouton masqué : padding 36 + burger 36 */
  .nav-inner > .btn { display: none; }
  .nav-burger { display: inline-flex; }

  /* Panneau de menu déroulant mobile (masqué par défaut, révélé par .nav--open) */
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: rgba(247, 243, 233, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 31, 28, 0.08);
    box-shadow: 0 14px 28px rgba(31, 31, 28, 0.10);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav-link,
  .nav--transparent .nav-link { /* spécificité 0,2,0 : bat .nav--transparent .nav-link de base → texte foncé lisible sur panneau clair */
    padding: 14px var(--gutter);
    color: var(--ink);
  }
  .nav-link::after { display: none; } /* pas de soulignement animé en pile verticale */
  .nav-link[aria-current="page"],
  .nav--transparent .nav-link[aria-current="page"] { color: var(--sage); } /* garde la page active mise en avant */

  .nav--open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }
  /* Burger toujours visible/contrasté, y compris sur la nav transparente */
  .nav--transparent .nav-burger { border-color: var(--on-dark); }
  .nav--transparent .nav-burger span,
  .nav--transparent .nav-burger span::before,
  .nav--transparent .nav-burger span::after { background: var(--on-dark); }
  .nav--transparent.nav--open .nav-burger { border-color: var(--ink); }
  .nav--transparent.nav--open .nav-burger span,
  .nav--transparent.nav--open .nav-burger span::before,
  .nav--transparent.nav--open .nav-burger span::after { background: var(--ink); }
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: calc(-1 * var(--nav-h)); /* visse sous la nav transparente */
  padding-top: var(--nav-h);
  background: #2a3328;
  color: var(--on-dark);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media image-slot { width: 100%; height: 100%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,28,20,0.35) 0%, rgba(20,28,20,0.10) 40%, rgba(20,28,20,0.70) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--content-max); margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: calc(100vh - var(--nav-h));
  display: grid; grid-template-rows: 1fr auto 1fr;
  align-items: center;
}
.hero__center { grid-row: 2; text-align: center; }
.hero__center .kicker { color: var(--sage-light); margin-bottom: 22px; display: inline-block; }
.hero__title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0;
}
.hero__sub {
  font-family: var(--body);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.06em;
  margin-top: 28px;
  color: rgba(243,238,223,0.85);
}
.hero__note {
  font-family: var(--body);
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: 0.04em;
  margin-top: 10px;
  color: rgba(243,238,223,0.78);
}
.hero__note strong { color: var(--on-dark); font-weight: 600; }
.hero__ctas {
  display: flex; gap: 14px; justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero__scroll {
  grid-row: 3; align-self: end;
  text-align: center; padding-bottom: 28px;
  font-family: var(--body); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(243,238,223,0.6);
}
.hero__scroll .line { display: block; width: 1px; height: 36px; background: rgba(243,238,223,0.5); margin: 10px auto 0; }

/* Hero "sub" pour pages secondaires */
.subhero {
  padding-top: 90px;
  padding-bottom: 50px;
}
.subhero .kicker { display: block; margin-bottom: 18px; }
.subhero h1 { margin: 0; max-width: 880px; }
.subhero .lede { max-width: 660px; margin-top: 22px; }

/* ─── Intro phrase ─────────────────────────────────────────────────────── */
.intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.intro p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0;
}

/* ─── Video section ────────────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-card);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame__placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(168,184,140,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #2a3a2a 0%, #1a1f1a 60%, #2a2820 100%);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.video-play {
  width: 86px; height: 62px;
  background: rgba(220, 30, 30, 0.92);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-frame__placeholder:hover .video-play {
  transform: scale(1.05);
  background: rgba(230, 40, 40, 1);
}
.video-play::before {
  content: '';
  width: 0; height: 0;
  border-left: 22px solid white;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.video-frame__caption {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 13px; color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.55);
  padding: 6px 12px; border-radius: 4px;
}

@media (max-width: 880px) {
  .video-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ── Lecteur YouTube minimal (play + timeline + plein écran) ───────────── */
.ytmin { position: relative; }
.ytmin__stage { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* On agrandit l'iframe (×2 en hauteur) et on le recentre : le bandeau
   « titre + chaîne » de YouTube, ancré en haut du lecteur, sort du cadre,
   tandis que la vidéo (letterboxée) remplit exactement le conteneur — sans
   zoom ni rognage. C'est le seul moyen de masquer ce bandeau non désactivable. */
.ytmin iframe {
  position: absolute; left: 0; top: -50%;
  width: 100%; height: 200%; border: 0;
  pointer-events: none;
}
/* Capte le survol/clic pour neutraliser les overlays natifs de YouTube
   (titre, chaîne, partage) et router le clic vers play/pause. */
.ytmin__catch { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
/* Cache opaque : masque le gros bouton play / la vignette de YouTube tant
   que la lecture n'a pas démarré (et à la pause), avec notre propre bouton. */
.ytmin__cover {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; cursor: pointer;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(168,184,140,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #2a3a2a 0%, #1a1f1a 60%, #2a2820 100%);
  transition: opacity 0.35s ease;
}
.ytmin__cover--hidden { opacity: 0; pointer-events: none; }
.ytmin__cover-btn {
  width: 86px; height: 62px;
  background: rgba(220, 30, 30, 0.92); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ytmin__cover:hover .ytmin__cover-btn { transform: scale(1.05); background: rgba(230, 40, 40, 1); }
.ytmin__cover-btn::before {
  content: ''; width: 0; height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent; border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.ytmin__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  opacity: 0; transition: opacity 0.25s ease;
}
.ytmin:hover .ytmin__bar,
.ytmin:not(.ytmin--playing) .ytmin__bar,
.ytmin__bar:focus-within { opacity: 1; }
.ytmin__btn {
  flex: 0 0 auto; width: 34px; height: 34px; padding: 0;
  display: grid; place-items: center;
  background: transparent; border: 0; color: #fff; cursor: pointer;
  border-radius: 6px; transition: background 0.15s ease;
}
.ytmin__btn:hover { background: rgba(255,255,255,0.18); }
.ytmin__btn svg { width: 22px; height: 22px; fill: currentColor; }
.ytmin__track {
  flex: 1 1 auto; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.32); cursor: pointer; position: relative;
}
.ytmin__track:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ytmin__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: #fff; border-radius: 3px;
}

/* ─── Pour qui ─────────────────────────────────────────────────────────── */
.pourqui {
  background: var(--paper-2);
  border-top: 1px solid rgba(31,31,28,0.08);
  border-bottom: 1px solid rgba(31,31,28,0.08);
}
.pourqui__publics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; max-width: 880px; margin: 36px auto 40px;
}
.pourqui__public {
  padding: 22px 16px;
  background: var(--paper); border: var(--border-soft); border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--display); font-style: italic; font-size: 22px; color: var(--ink);
}
.pourqui__tags {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 920px; margin: 0 auto;
}
.tag {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 10px 18px;
  background: var(--paper); border: 1px solid rgba(31,31,28,0.18); border-radius: 100px;
  font-size: 15px; color: var(--ink-2);
}
/* Tag clickable (utilisé comme lien) : tap target plus généreux */
a.tag {
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
a.tag:hover { background: var(--paper-2); border-color: var(--sage); }
a.tag:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.pourqui__note {
  text-align: center; margin-top: 26px; font-size: 13px; font-style: italic; color: var(--ink-3);
}
@media (max-width: 720px) {
  .pourqui__publics { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Sentier (4 étapes) ───────────────────────────────────────────────── */
.path {
  position: relative;
  padding-left: 0;
}
.path__rail {
  position: absolute;
  left: clamp(50px, 9vw, 120px); top: 60px; bottom: 60px;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--sage) 50%, transparent 50%);
  background-size: 2px 12px;
  opacity: 0.55;
}
.step {
  display: grid;
  grid-template-columns: clamp(80px, 13vw, 180px) 1fr;
  gap: 40px;
  margin-bottom: 70px;
  position: relative;
}
.step:last-child { margin-bottom: 0; }
.step__num {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--sage);
  position: relative;
  padding-left: 50px;
  line-height: 1;
}
.step__num::before {
  content: '';
  position: absolute;
  left: -12px; top: 10px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  z-index: 1;
}
.step__title { margin: 0 0 12px; }
.step__body  { max-width: 640px; }
.step__tags  { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step__tag {
  padding: 5px 12px; font-size: 13px;
  background: var(--paper-2); border: 1px solid rgba(31,31,28,0.12); border-radius: 100px;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step__num { padding-left: 28px; font-size: 28px; }
  .step__num::before { left: 0; top: 8px; }
  .path__rail { left: 6px; }
}

/* ─── Le cabinet — cartes praticiennes ─────────────────────────────────── */
.cabinet {
  background: var(--paper-2);
  border-top: 1px solid rgba(31,31,28,0.08);
}
.prat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.prat-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  box-shadow: var(--shadow-soft);
}
.prat-card__media {
  width: 200px;
}
.prat-card__media image-slot,
.prat-card__media img { width: 200px; height: 100%; min-height: 280px; border-radius: 0; object-fit: cover; }
.prat-card__body { padding: 26px 28px; }
.prat-card__name { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 0 0 4px; color: var(--ink); }
.prat-card__role { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--sage); margin-bottom: 14px; }
.prat-card__bio { font-size: 14.5px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.55; }
.prat-card__meta { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 4px; letter-spacing: 0.04em; }
.prat-card__sched { font-size: 14px; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.prat-card__sched .tel { font-weight: 700; }
.prat-card__cta { margin-top: 14px; }
@media (max-width: 1000px) { .prat-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .prat-card { grid-template-columns: 1fr; }
  .prat-card__media { width: 100%; }
  .prat-card__media image-slot,
  .prat-card__media img { width: 100%; height: 240px; min-height: 0; }
}

/* ─── Info pratique en bande ───────────────────────────────────────────── */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(31,31,28,0.18);
  border-bottom: 1px solid rgba(31,31,28,0.18);
}
.fact {
  padding: 26px 16px; text-align: center;
  border-left: 1px solid rgba(31,31,28,0.10);
}
.fact:first-child { border-left: 0; }
.fact__val { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); }
.fact__lbl { font-size: 13px; color: var(--ink-3); margin-top: 4px; letter-spacing: 0.04em; }
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(3), .fact:nth-child(4) { border-top: 1px solid rgba(31,31,28,0.10); }
}

/* ─── CTA bandeau sombre ───────────────────────────────────────────────── */
.cta-band {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
}
.cta-band .kicker { color: var(--warm-mist); }
.cta-band h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; margin: 8px 0 12px; }
.cta-band p { font-size: 14px; color: rgba(243,238,223,0.75); margin: 0; }
/* Grid 2-cols pour mettre les 2 boutons téléphone côte à côte sur desktop.
   Le bouton "Réserver" et la note occupent toute la largeur (span 2 cols). */
.cta-band__ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
.cta-band__ctas > .btn--warm,
.cta-band__ctas > .cta-band__note {
  grid-column: 1 / -1;
}
.cta-band__ctas > .btn--warm { justify-self: start; }
.cta-band .btn--warm { width: auto; }
.cta-band__note { font-size: 12px; color: rgba(243,238,223,0.55); margin-top: 4px; font-style: italic; }

/* Bouton téléphone + nom de la praticienne en dessous */
.cta-tel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
}
.cta-tel .btn { width: 100%; }
.cta-tel__name {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: rgba(243,238,223,0.7);
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; padding: 32px 28px; }
  .cta-band__ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .cta-band__ctas > .btn--warm { justify-self: stretch; }
}

/* ─── Cards génériques ─────────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
}
.card--paper2 { background: var(--paper-2); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 22px; margin: 0 0 8px; color: var(--ink); }
.card p  { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.card__num {
  font-family: var(--display); font-style: italic; font-size: 38px; color: var(--sage); line-height: 1; margin-bottom: 12px;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.foot {
  background: var(--paper-2);
  border-top: 1px solid rgba(31,31,28,0.10);
  padding: 56px var(--gutter) 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.foot-inner { max-width: var(--content-max); margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.foot h4 { font-family: var(--body); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin: 0 0 12px; font-weight: 600; }
.foot-brand { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--sage); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-bottom {
  border-top: 1px solid rgba(31,31,28,0.10);
  padding-top: 18px;
  font-size: 12px; color: var(--ink-3);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Decorative leaf shapes (subtle) ──────────────────────────────────── */
.leaf-bg { position: relative; overflow: hidden; }
.leaf-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(93,107,70,0.04), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(185,125,74,0.05), transparent 40%);
  pointer-events: none;
}

/* ─── Témoignages patients (anonymisés, conformes au Code de déontologie) ── */
.testimonials {
  background: var(--paper-2);
  border-top: 1px solid rgba(31,31,28,0.08);
  border-bottom: 1px solid rgba(31,31,28,0.08);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testi-card {
  background: var(--paper);
  border: var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
}
.testi-card::before {
  content: '“';
  position: absolute;
  top: -8px; left: 20px;
  font-family: var(--display);
  font-size: 72px;
  line-height: 1;
  color: var(--sage);
  opacity: 0.35;
}
.testi-card__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 14px 0 18px;
}
.testi-card__label {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding-top: 14px;
  border-top: 1px dashed rgba(31,31,28,0.15);
}
.testi-deonto {
  text-align: center;
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-style: italic;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr; } }

/* ─── Quote block ──────────────────────────────────────────────────────── */
.quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.quote::before, .quote::after { color: var(--sage); }
.quote::before { content: '« '; }
.quote::after  { content: ' »'; }
.quote-source {
  margin-top: 16px; text-align: center;
  font-family: var(--body); font-size: 13px; color: var(--ink-3); font-style: normal;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ─── Utilities ────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 8px; }
.stack-md > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.flex-row { display: flex; gap: 14px; flex-wrap: wrap; }
.center-x { display: flex; justify-content: center; }

/* Scroll-reveal — only gated when JS is active (shared.js adds .js to <html>) */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ─── Accessibilité globale ──────────────────────────────────────────── */

/* Skip-to-content (caché par défaut, visible au focus clavier) */
.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-card);
  transition: top 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 3px solid var(--sage);
  outline-offset: 2px;
}

/* Focus visible pour tous les liens (utilisateurs clavier) */
a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
}

/* ─── Bouton "Réserver un appel" sticky mobile ────────────────────────── */

.mobile-call-bar { display: none; }

@media (max-width: 760px) {
  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(31, 31, 28, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(243, 238, 223, 0.12);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  }
  .mobile-call-bar a {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    background: var(--warm);
    color: var(--paper);
    text-decoration: none;
    border-radius: 100px;
    font-family: var(--body);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
    transition: filter 0.15s ease, transform 0.15s ease;
  }
  .mobile-call-bar a:hover { filter: brightness(0.96); }
  .mobile-call-bar a:active { transform: scale(0.98); }
  .mobile-call-bar a:focus-visible { outline: 3px solid var(--on-dark); outline-offset: -3px; }
  /* Padding-bottom du body pour ne pas masquer le contenu sous la barre */
  body { padding-bottom: 88px; }
}

/* Image slot defaults */
image-slot {
  background: var(--sage-mist);
  font-family: var(--body);
}

/* ─── Leaves background (chute lente, fige au scroll) ─────────────────── */
.leaves-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
/* 3 couches de profondeur (vitesses de chute différentes par tier) */
.leaves-layer {
  position: absolute;
  inset: 0;
}
.leaf-bg {
  position: absolute;
  top: -8%;
  will-change: transform, margin-left;
  animation-name: leaf-fall, leaf-sway;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-fill-mode: both, both;
  animation-play-state: running;
}
.leaf-bg svg { display: block; width: 100%; height: 100%; }
/* Fige toutes les feuilles pendant le scroll → "elles paraissent immobiles" */
.leaves-bg.is-scrolling .leaf-bg {
  animation-play-state: paused;
}

/* Chute lente avec rotation douce — l'akène flotte plutôt qu'il ne tombe. */
@keyframes leaf-fall {
  from { transform: translateY(-12vh) rotate(0deg);   }
  to   { transform: translateY(116vh) rotate(540deg); }
}
/* Sway bidirectionnel — drift symétrique gauche/droite (effet vent). */
@keyframes leaf-sway {
  0%, 100% { margin-left: calc(var(--sway, 80px) * -0.5); }
  50%      { margin-left: calc(var(--sway, 80px) *  0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .leaves-bg { display: none; }
}
