/* ————————————————————————————————————————————————
   Terre & Ciel Yoga — Boussu
   Identité visuelle : crème, sauge, terre cuite, or.
   ———————————————————————————————————————————————— */
:root {
  --creme: #F8F5EF;
  --creme-warm: #F2E8DA;
  --sauge: #A9B49C;
  --sauge-deep: #5F6B55;
  --terre: #B96E4C;
  --terre-deep: #8E4C2E;
  --terre-darker: #7A3F26;
  --sable: #DCC4A2;
  --or: #C6A15A;
  --encre: #403B32;
  --encre-soft: #6B6356;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --font-script: 'Ephesis', cursive;

  --finale-p: 0;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--creme);
  color: var(--encre);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(220, 196, 162, .6); }
img { display: block; max-width: 100%; }

/* accès clavier */
:focus-visible { outline: 2px solid var(--terre); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--terre); color: var(--creme); padding: .7em 1.2em;
  border-radius: 999px; font-size: .8rem; letter-spacing: .1em; text-decoration: none;
  transition: top .25s ease;
}
.skip-link:focus { top: 12px; }

/* petites icônes SVG */
.ico {
  width: 1.05em; height: 1.05em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .75;
}

/* ————— L'emblème qui se reconstitue et voyage ————— */
#scene {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;          /* l'emblème ne déborde jamais de l'écran */
  z-index: 0;
  will-change: opacity;
}
#scene .emblem {
  position: relative;
  width: min(78vh, 52vw);
  aspect-ratio: 910 / 663;
  will-change: transform;
}
#scene.breathing .emblem-breathe {
  animation: breathe 9s ease-in-out infinite;
  transform-origin: 50% 60%;
}
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.016); } }
.emblem-breathe { position: absolute; inset: 0; }
.emblem .tc-layer, .emblem .tc-ridge, .emblem .tc-glow {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.emblem .tc-glow {
  background: radial-gradient(ellipse 48% 52% at 50% 34%, rgba(198,161,90,.55), rgba(198,161,90,.16) 46%, rgba(198,161,90,0) 72%);
  opacity: 0;
}
.emblem .tc-ridge { overflow: visible; }
.emblem .tc-sky { will-change: opacity, transform; }
.emblem .tc-branches { transform-origin: 50% 70%; will-change: opacity, transform; }
.emblem .tc-clip { position: absolute; overflow: hidden; }
.emblem .tc-clip-h { top: 0; left: 0; height: 100%; width: 0; }
.emblem .tc-clip-h img { position: absolute; top: 0; left: 0; }
.emblem .tc-clip-f { left: 0; bottom: 0; width: 100%; height: 0; }
.emblem .tc-clip-f img { position: absolute; left: 0; bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  #scene.breathing .emblem-breathe { animation: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 700px) {
  /* l'emblème reste présent mais s'efface derrière le texte sur petit écran */
  #scene { opacity: .55; }
  #scene .emblem { width: 86vw; }
}

/* ————— Header ————— */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 60px);
  transition: background .7s ease, box-shadow .7s ease, padding .7s ease;
}
header.scrolled {
  background: rgba(248, 245, 239, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 1px 0 rgba(67, 62, 53, .07);
}
.brand { font-family: var(--font-script); font-size: 2rem; color: var(--terre); text-decoration: none; line-height: 1; }
nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
nav a {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--encre-soft); transition: color .4s ease;
}
nav a:hover { color: var(--terre); }
nav a.nav-cta {
  color: var(--terre); border: 1px solid rgba(185,110,76,.45);
  border-radius: 999px; padding: .6em 1.5em; transition: background .4s ease, color .4s ease;
}
nav a.nav-cta:hover { background: var(--terre-deep); color: var(--creme); }

/* bouton menu (mobile) */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none;
  cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%; background: var(--encre);
  transition: transform .35s ease, opacity .25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

/* Sept rubriques plus « Mon espace » : en dessous de 1024 px, la barre
   devient trop serrée. Le menu compact prend le relais plus tôt qu'avant. */
/* Le menu plein écran ne concerne QUE le menu de la page d'accueil, le
   seul à avoir un bouton pour l'ouvrir. Écrit « nav », il masquait aussi
   les onglets de l'administration et le menu de l'espace membre sur
   téléphone et tablette — sans aucun moyen de les faire réapparaître. */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  header { padding-top: 14px; padding-bottom: 14px; }
  #navMenu {
    position: fixed; inset: 0 0 auto; top: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 26px;
    min-height: 100svh; padding: 96px 24px 40px;
    background: rgba(248, 245, 239, .97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s;
  }
  body.nav-open #navMenu { opacity: 1; visibility: visible; transform: none; }
  #navMenu a { font-size: .92rem; letter-spacing: .22em; }
  #navMenu a.nav-cta { margin-top: 10px; padding: .85em 2.2em; }
  body.nav-open { overflow: hidden; }

  /* Les autres en-têtes (espace membre, pages légales) gardent leurs
     liens visibles : peu nombreux, ils tiennent sur une ou deux lignes. */
  header nav:not(#navMenu) {
    flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px;
  }
  header nav:not(#navMenu) a { font-size: .72rem; letter-spacing: .12em; }
  header nav:not(#navMenu) a.nav-cta { padding: .6em 1.2em; }
}

/* ————— Layout & typo ————— */
main { position: relative; z-index: 1; }
section { position: relative; overflow-x: clip; padding: clamp(62px, 9vh, 112px) clamp(20px, 6vw, 78px); }
.inner { max-width: var(--maxw); margin: 0 auto; }

.kicker {
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--sauge-deep); margin-bottom: 20px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--encre); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1.06; font-weight: 300; }
h2 { font-size: clamp(1.95rem, 4vw, 3.1rem); line-height: 1.14; margin-bottom: 22px; }
.lead {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.22rem, 2vw, 1.6rem); line-height: 1.6;
  color: var(--terre-deep); text-wrap: pretty;
}
p.body { color: var(--encre-soft); max-width: 60ch; text-wrap: pretty; }
p.body + p.body { margin-top: 16px; }
.signature { font-family: var(--font-script); font-size: 1.9rem; color: var(--terre); }
.center-note { margin: 36px auto 0; text-align: center; }
#tarifs .cta-row { margin-top: 26px; }

.halo { position: relative; }
.halo::before {
  content: ""; position: absolute; inset: -12% -16%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(248,245,239,.92) 34%, rgba(248,245,239,0) 76%);
}

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 1.2s cubic-bezier(.22,.6,.25,1), transform 1.2s cubic-bezier(.22,.6,.25,1); }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

/* ————— Boutons ————— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-body); font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; padding: 1.05em 2.2em; text-align: center;
  transition: background .45s ease, color .45s ease, border-color .45s ease, transform .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terre-deep); color: var(--creme); border: 1px solid var(--terre-deep); }
.btn-primary:hover { background: var(--terre-darker); border-color: var(--terre-darker); }
.btn-ghost { color: var(--terre-deep); border: 1px solid rgba(185,110,76,.4); }
.btn-ghost:hover { background: rgba(185,110,76,.08); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ————— HERO ————— */
#hero {
  min-height: 100svh; display: grid; align-items: center;
  grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 76px);
  padding-top: 18vh; padding-bottom: 13vh;
}
#hero .hero-copy { max-width: 640px; }
#hero h1 { margin-bottom: 22px; }
#hero .lead { max-width: 34ch; margin-bottom: 20px; }
#hero p.body { margin-bottom: 34px; max-width: 46ch; }
.hero-place {
  display: flex; align-items: center; gap: .6em; margin-top: 30px;
  font-size: .82rem; letter-spacing: .06em; color: var(--encre-soft);
}
.hero-place .ico { width: 1.15em; height: 1.15em; color: var(--terre); opacity: 1; }

.hero-card {
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(185,110,76,.16);
  border-radius: 20px; padding: clamp(26px, 3vw, 38px);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 28px 60px -38px rgba(67,62,53,.55);
  justify-self: end; width: 100%; max-width: 400px;
}
.hero-card .hc-kicker {
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sauge-deep); margin-bottom: 10px;
}
.hero-card .hc-title { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; margin-bottom: 22px; }
.hero-card .hc-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.hero-card .hc-list li { display: flex; align-items: center; gap: .75em; font-size: .95rem; color: var(--encre-soft); line-height: 1.4; }
.hero-card .hc-list strong { font-weight: 500; color: var(--encre); }
.hero-card .hc-list .ico { color: var(--terre); opacity: .9; width: 1.15em; height: 1.15em; }
.hero-card .btn { width: 100%; }
.hero-card .hc-note { margin-top: 12px; text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-soft); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--encre-soft); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
}
.scroll-hint .thread {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(67,62,53,0), var(--sable));
  animation: thread 4.5s ease-in-out infinite;
}
@keyframes thread { 0%,100% { transform: scaleY(.6); opacity: .5; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint .thread { animation: none; } }

@media (max-width: 980px) {
  #hero { grid-template-columns: 1fr; padding-top: 15vh; gap: 40px; }
  #hero .hero-copy { max-width: 620px; }
  .hero-card { justify-self: stretch; max-width: 460px; }
  .scroll-hint { display: none; }
}

/* ————— Bienvenue ————— */
#bienvenue { text-align: center; }
#bienvenue .inner { max-width: 760px; }
#bienvenue .lead { margin: 0 auto 24px; max-width: 30ch; }
#bienvenue p.body { margin: 0 auto; }
#bienvenue .signature { margin-top: 26px; display: inline-block; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.section-head .kicker { margin-bottom: 16px; }
.section-head p.body { margin: 0 auto; }

/* ————— Le Hatha Yoga : les piliers ————— */
.pillar-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.pillar {
  background: rgba(255,255,255,.55); border: 1px solid rgba(185,110,76,.12);
  border-radius: 16px; padding: 32px 28px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s cubic-bezier(.2,.6,.2,1), box-shadow .5s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -30px rgba(67,62,53,.42); }
.pillar h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; position: relative; padding-top: 18px; }
.pillar h3::before {
  content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 1.5px;
  background: var(--sable);
}
.pillar p { font-size: .95rem; color: var(--encre-soft); text-wrap: pretty; }

/* ————— Les cours ————— */
.class-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
/* un seul cours au programme : la carte reste à taille humaine, centrée */
.class-grid:has(.class-card:only-child) { max-width: 660px; margin: 0 auto; }
.class-card {
  background: rgba(255,255,255,.62); border: 1px solid rgba(185,110,76,.14);
  border-radius: 18px; padding: 38px 34px 32px; display: flex; flex-direction: column;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s cubic-bezier(.2,.6,.2,1), box-shadow .5s ease, border-color .5s ease;
}
.class-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(67,62,53,.45); border-color: rgba(185,110,76,.28); }
.class-card .cc-day {
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sauge-deep); margin-bottom: 8px;
}
/* Un cours annoncé pour plus tard : la date se lit d'un coup d'œil. */
.cc-bientot {
  display: inline-block; margin-left: 8px; padding: 2px 9px;
  border-radius: 999px; background: rgba(198, 161, 90, .18);
  color: var(--terre-deep); font-size: .72rem; letter-spacing: .04em;
  text-transform: none; vertical-align: middle;
}

.class-card h3 { font-size: 1.85rem; font-weight: 500; line-height: 1.15; margin-bottom: 14px; }
.class-card .cc-desc { font-size: .95rem; color: var(--encre-soft); text-wrap: pretty; }
.class-card .cc-meta {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 18px; margin: 26px 0 0;
  padding: 22px 0 0; border-top: 1px solid rgba(67,62,53,.1);
}
.class-card .cc-meta li { display: flex; align-items: center; gap: .7em; font-size: .9rem; color: var(--encre-soft); }
.class-card .cc-meta .ico { color: var(--terre); opacity: .85; }
/* (la fiche du cours n'a plus de bouton : le calendrier suit dans la même section) */
.planning-note { text-align: center; margin: 40px auto 0; max-width: 60ch; color: var(--encre-soft); font-size: .94rem; }

/* ————— Pour qui ————— */
.audience-list {
  list-style: none; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 940px; margin: 0 auto;
}
.audience-list li {
  position: relative; padding: 20px 24px 20px 54px;
  background: rgba(255,255,255,.5); border: 1px solid rgba(185,110,76,.1);
  border-radius: 14px; font-size: .97rem; color: var(--encre-soft); line-height: 1.6;
}
.audience-list li::before {
  content: ""; position: absolute; left: 26px; top: 1.7em;
  width: 10px; height: 6px; border-bottom: 1.5px solid var(--sauge-deep); border-left: 1.5px solid var(--sauge-deep);
  transform: rotate(-45deg);
}

/* ————— Déroulement d'une séance ————— */
.steps { list-style: none; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-n {
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1;
  color: var(--terre-deep); opacity: .72; flex: none; width: 1.4em;
}
.step h3 { font-size: 1.22rem; font-weight: 500; margin-bottom: 6px; line-height: 1.25; }
.step p { font-size: .93rem; color: var(--encre-soft); text-wrap: pretty; }

.bring {
  margin-top: 40px; padding: 26px clamp(22px, 3vw, 36px);
  background: var(--creme-warm); border-radius: 18px;
}
.bring h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 12px; }
.bring ul { list-style: none; display: grid; gap: 10px 30px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.bring li { position: relative; padding-left: 22px; font-size: .95rem; color: var(--encre-soft); }
.bring li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--sable); }

/* ————— Marylene ————— */
#marylene .inner {
  display: grid; grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.coach-photo {
  position: relative; margin: 0;
  border-radius: 260px 260px 18px 18px; overflow: hidden;
  background: var(--creme-warm);
  box-shadow: 0 34px 70px -40px rgba(67,62,53,.55);
}
.coach-photo img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 32%; }
.coach-role {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sauge-deep); margin-bottom: 22px;
}
#marylene .lead { margin-bottom: 24px; }
#marylene .signature { margin-top: 26px; display: inline-block; }
.parcours {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(67,62,53,.12);
  display: grid; grid-template-columns: auto 1fr; gap: 10px 26px;
}
.parcours dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sauge-deep); padding-top: .35em; }
.parcours dd { font-size: .97rem; color: var(--encre-soft); }
@media (max-width: 920px) {
  #marylene .inner { grid-template-columns: 1fr; }
  .coach-photo { max-width: 340px; margin: 0 auto; }
  #marylene .halo { text-align: center; }
  #marylene p.body { margin-left: auto; margin-right: auto; }
  .parcours { grid-template-columns: 1fr; text-align: center; gap: 4px; }
  .parcours dd { margin-bottom: 12px; }
}

/* ————— Tarifs ————— */
.price-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); align-items: stretch; }
.price {
  background: rgba(255,255,255,.55); border: 1px solid rgba(185,110,76,.14);
  border-radius: 16px; padding: 40px 32px; display: flex; flex-direction: column;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s ease, box-shadow .5s ease;
}
.price:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -28px rgba(67,62,53,.4); }
.price.featured { background: var(--creme-warm); border-color: rgba(185,110,76,.35); }
.price .pname { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 6px; }
.price .pnote { font-size: .84rem; color: var(--encre-soft); margin-bottom: 24px; line-height: 1.6; }
.price .amount { font-family: var(--font-display); font-size: 2.9rem; line-height: 1; color: var(--terre); }
.price .amount small { font-family: var(--font-body); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-soft); display: block; margin-top: 8px; }
.price ul { list-style: none; margin: 26px 0 0; display: flex; flex-direction: column; gap: 11px; }
.price li { font-size: .93rem; color: var(--encre-soft); padding-left: 22px; position: relative; line-height: 1.55; }
.price li::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 6px; border-bottom: 1.5px solid var(--sauge-deep); border-left: 1.5px solid var(--sauge-deep); transform: rotate(-45deg); }
/* (les cartes n'ont plus de bouton : un seul appel à l'action sous la section) */
.price .badge { align-self: flex-start; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terre); border: 1px solid rgba(185,110,76,.4); border-radius: 999px; padding: .4em 1em; margin-bottom: 14px; }

/* ————— Accès ————— */
.acces-grid { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
#address { font-style: normal; display: flex; flex-direction: column; gap: 2px; font-size: 1.05rem; color: var(--encre-soft); }
#address strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--encre); margin-bottom: 10px; }
.acces-notes { list-style: none; margin: 26px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.acces-notes li { position: relative; padding-left: 22px; font-size: .94rem; color: var(--encre-soft); line-height: 1.6; }
.acces-notes li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--sable); }
.acces-map { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(67,62,53,.6); background: var(--creme-warm); }
.acces-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; aspect-ratio: 4 / 3; border: 0; }
@media (max-width: 900px) {
  .acces-grid { grid-template-columns: 1fr; }
  .acces-map iframe { min-height: 300px; }
}

/* ————— Carte : chargement sur consentement ————— */
.map-consent {
  position: relative; width: 100%; min-height: 380px; aspect-ratio: 4 / 3;
  display: grid; place-items: center; padding: 30px;
  background:
    linear-gradient(135deg, rgba(169,180,156,.22), rgba(220,196,162,.28)),
    var(--creme-warm);
}
.map-consent-inner { text-align: center; max-width: 34ch; }
.map-consent .ico { width: 2.1em; height: 2.1em; color: var(--terre); opacity: 1; margin: 0 auto 14px; }
.map-consent .mc-title { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 10px; }
.map-consent .mc-text { font-size: .88rem; color: var(--encre-soft); line-height: 1.6; margin-bottom: 22px; }
.map-consent .btn { background: rgba(255,255,255,.6); }
.map-consent .mc-alt { margin-top: 14px; font-size: .82rem; color: var(--encre-soft); }
.map-consent .mc-alt a { color: var(--terre-deep); }
.acces-map.map-loaded { background: none; }
@media (max-width: 900px) { .map-consent { min-height: 300px; } }

/* ————— FAQ ————— */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid rgba(67,62,53,.12); }
.faq-item { border-bottom: 1px solid rgba(67,62,53,.12); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: var(--encre); transition: color .3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terre); }
.faq-item summary::after,
.faq-item summary::before {
  content: ""; position: absolute; right: 6px; top: 50%; background: var(--terre);
  transition: transform .35s ease, opacity .35s ease;
}
.faq-item summary::before { width: 15px; height: 1.5px; transform: translateY(-50%); }
.faq-item summary::after { width: 1.5px; height: 15px; right: 12.75px; transform: translateY(-50%); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq-a { padding: 0 40px 26px 0; }
.faq-a p { color: var(--encre-soft); font-size: .98rem; text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faqIn .45s ease both; }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* ————— Réservation / CTA final ————— */
/* ————— Le calendrier, à sa place : dans la section des cours ————— */
.booking-anchor { margin-top: 56px; padding-top: 44px; border-top: 1px solid rgba(67,62,53,.12); }
.booking-anchor > .kicker { text-align: center; margin-bottom: 22px; }

/* ————— Clôture ————— */
#rejoindre { min-height: 78svh; display: flex; align-items: center; text-align: center; }
#rejoindre .inner { max-width: 760px; }
#rejoindre img.logo-full { width: min(300px, 56vw); height: auto; margin: 0 auto 20px; }
/* La devise du studio : elle ferme la page, au-dessus de l'invitation. */
#rejoindre .devise {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.5;
  color: var(--terre-deep); max-width: 26ch;
  margin: 0 auto 26px; padding-bottom: 24px; position: relative;
}
/* Un fil, plutôt qu'un trait : le même motif que le reste du site. */
#rejoindre .devise::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 16px; transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(185,110,76,.5), transparent);
}
#rejoindre h2 { margin-bottom: 14px; }
#rejoindre .lead { margin: 0 auto 32px; max-width: 34ch; }
@media (prefers-reduced-motion: reduce) { #rejoindre { min-height: 0; } }

.booking-note { margin-top: 22px; font-size: .88rem; color: var(--encre-soft); max-width: 52ch; margin-left: auto; margin-right: auto; }
.booking-soon { margin-top: 10px; font-size: .95rem; color: var(--terre-deep); font-family: var(--font-display); font-style: italic; }
.booking-fallback {
  background: rgba(255,255,255,.6); border: 1px solid rgba(185,110,76,.16);
  border-radius: 20px; padding: clamp(30px, 4vw, 46px);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.booking-fallback h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: 12px; }
.booking-fallback > p { color: var(--encre-soft); max-width: 50ch; margin: 0 auto 26px; font-size: .97rem; }
.booking-fallback .btn { text-transform: none; letter-spacing: .04em; font-size: .86rem; }
.booking-card {
  background: rgba(255,255,255,.6); border: 1px solid rgba(185,110,76,.16);
  border-radius: 20px; padding: clamp(28px, 4vw, 44px);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  max-width: 620px; margin: 0 auto;
}
.booking-recap { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.booking-recap li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .55em 1.4em; font-size: 1rem; color: var(--encre-soft);
}
.booking-recap strong { font-weight: 500; color: var(--encre); }
.booking-recap .ico { color: var(--terre); opacity: .9; }
.booking-recap li .ico + span { margin-right: .2em; }
.booking-card .booking-note { margin-top: 20px; }
.booking-widget { border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.6); border: 1px solid rgba(185,110,76,.16); }
.booking-widget iframe { display: block; width: 100%; min-height: 720px; border: 0; }

/* ————— Footer ————— */
footer { position: relative; z-index: 1; background: var(--creme-warm); padding: 76px clamp(20px, 6vw, 78px) 44px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto 56px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
footer img.logo-foot { width: 150px; height: auto; }
footer /* La période d'un horaire, dans le pied de page : présente, discrète. */
.f-quand { display: block; font-size: .78em; opacity: .7; }

.f-tag { margin-top: 16px; font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--encre-soft); max-width: 30ch; }
footer .f-title { font-family: var(--font-body); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 400; color: var(--terre-deep); margin-bottom: 16px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer .f-legal { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(67,62,53,.12); gap: 6px; }
footer .f-legal a { font-size: .84rem; }
footer a, footer li { color: var(--encre-soft); font-size: .93rem; text-decoration: none; line-height: 1.5; }
footer a:hover { color: var(--terre); text-decoration: underline; text-underline-offset: 3px; }
/* La signature de l'agence : présente, sans voler la vedette. */
.f-credits a { color: var(--terre-deep); text-decoration: none; border-bottom: 1px solid rgba(142,76,46,.35); }
.f-credits a:hover { border-bottom-color: var(--terre-deep); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(67,62,53,.1); font-size: .8rem; color: var(--encre-soft); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ————— Mobile : respirations et confort de lecture ————— */
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  section { padding-left: 20px; padding-right: 20px; }
  .btn { padding: 1em 1.9em; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-card .hc-title { font-size: 1.75rem; }
  .step-n { font-size: 2rem; }

  /* Sur mobile les cartes s'empilent : chaque marge intérieure est payée
     autant de fois qu'il y a de cartes. On resserre sans rien retirer. */
  .class-card { padding: 26px 24px 24px; }
  .price      { padding: 30px 24px; }
  .pillar     { padding: 24px 22px; }
  .audience-list li { padding: 16px 20px 16px 46px; }
  .audience-list li::before { left: 22px; top: 1.55em; }
  .pillar-grid, .price-grid, .class-grid, .audience-list, .steps { gap: 14px; }
  .price ul { margin: 20px 0 22px; gap: 9px; }
  .price .amount { font-size: 2.5rem; }
  .bring { margin-top: 30px; }
  .section-head { margin-bottom: 34px; }
  .faq-item summary { padding-top: 20px; padding-bottom: 20px; }
  .booking-anchor { margin-top: 40px; padding-top: 34px; }
}


/* ————————————————————————————————————————————————
   Pages légales (mentions légales, confidentialité)
   ———————————————————————————————————————————————— */
.legal-page { padding-top: clamp(120px, 18vh, 200px); }
.legal-page .inner { max-width: 760px; }
.legal-page .kicker { margin-bottom: 14px; }
.legal-page h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 18px; }
.legal-page .updated { font-size: .82rem; color: var(--encre-soft); letter-spacing: .06em; }
.legal-page h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 54px 0 16px;
  padding-top: 22px; border-top: 1px solid rgba(67,62,53,.12);
}
.legal-page h3 { font-size: 1.18rem; font-weight: 500; margin: 26px 0 10px; }
.legal-page p, .legal-page li { color: var(--encre-soft); font-size: .98rem; text-wrap: pretty; }
.legal-page p + p { margin-top: 14px; }
.legal-page ul { list-style: none; margin: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.legal-page ul li { position: relative; padding-left: 22px; }
.legal-page ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sable);
}
.legal-page a { color: var(--terre-deep); text-underline-offset: 3px; }
.legal-page dl.legal-facts {
  display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 12px 28px;
  margin: 24px 0; padding: 26px 28px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(185,110,76,.14); border-radius: 16px;
}
.legal-page dl.legal-facts dt {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sauge-deep); padding-top: .3em;
}
.legal-page dl.legal-facts dd { color: var(--encre); font-size: .98rem; }
.legal-page .todo {
  color: var(--terre-deep); background: rgba(185,110,76,.1);
  border-radius: 6px; padding: .1em .5em; font-size: .92em;
}
.legal-back { display: inline-flex; align-items: center; gap: .5em; margin-top: 60px; }
@media (max-width: 640px) {
  .legal-page dl.legal-facts { grid-template-columns: 1fr; gap: 4px 0; padding: 22px; }
  .legal-page dl.legal-facts dd { margin-bottom: 14px; }
}

/* ————————————————————————————————————————————————
   Calendrier de réservation
   ———————————————————————————————————————————————— */
.booking-module { max-width: 640px; text-align: left; }
.booking-loading { color: var(--encre-soft); font-style: italic; font-family: var(--font-display); font-size: 1.1rem; }

.bk-step {
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sauge-deep); margin-bottom: 16px;
}

/* ————— Choix de la séance ————— */
.bk-slots { display: grid; gap: 10px; margin-bottom: 8px; }
.bk-slot {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px;
  width: 100%; text-align: left; cursor: pointer;
  padding: 16px 20px; border-radius: 14px;
  border: 1px solid rgba(185,110,76,.18);
  background: rgba(255,255,255,.55);
  font-family: var(--font-body); font-size: 1rem; color: var(--encre);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.bk-slot:hover:not(:disabled) { border-color: rgba(185,110,76,.5); transform: translateY(-2px); }
.bk-slot.is-selected {
  border-color: var(--terre-deep); background: var(--creme-warm);
  box-shadow: inset 0 0 0 1px var(--terre-deep);
}
.bk-slot.is-full { opacity: .5; cursor: not-allowed; }
.bk-slot .bk-date { font-family: var(--font-display); font-size: 1.22rem; font-weight: 500; flex: 1 1 auto; }
.bk-slot .bk-date::first-letter { text-transform: uppercase; }
.bk-slot .bk-time { color: var(--encre-soft); font-size: .95rem; }
.bk-slot .bk-places {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sauge-deep); border: 1px solid rgba(95,107,85,.3);
  border-radius: 999px; padding: .35em .9em; white-space: nowrap;
}
.bk-slot .bk-places.is-low { color: var(--terre-deep); border-color: rgba(142,76,46,.4); }
.bk-slot.is-full .bk-places { color: var(--encre-soft); border-color: rgba(67,62,53,.2); }

/* ————— Formulaire ————— */
.bk-form { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(67,62,53,.12); }
.bk-chosen { font-size: .95rem; color: var(--encre-soft); margin-bottom: 22px; }
.bk-chosen strong { color: var(--encre); }

.bk-field { margin-bottom: 18px; border: 0; padding: 0; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.bk-field label, .bk-field legend {
  display: block; margin-bottom: 7px; padding: 0;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-soft);
}
.bk-field .bk-opt { text-transform: none; letter-spacing: 0; opacity: .75; }
.bk-field input[type="text"], .bk-field input[type="email"],
.bk-field input[type="tel"], .bk-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; font-weight: 300;
  color: var(--encre); background: rgba(255,255,255,.7);
  border: 1px solid rgba(67,62,53,.18); border-radius: 10px;
  padding: .8em 1em; transition: border-color .3s ease, background .3s ease;
}
.bk-field textarea { resize: vertical; min-height: 3.4em; }
.bk-field input:focus, .bk-field textarea:focus {
  outline: none; border-color: var(--terre-deep); background: #fff;
}
.bk-field.has-error input, .bk-field.has-error textarea { border-color: #A2482F; background: rgba(162,72,47,.05); }
.bk-hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--encre-soft); }

.bk-pay { margin-top: 26px; }
/* le sélecteur reprend .bk-field pour passer devant la règle des libellés
   en petites majuscules, qui ne convient pas à une phrase complète */
.bk-field .bk-radio {
  display: flex; gap: .8em; align-items: flex-start; cursor: pointer;
  padding: 14px 16px; margin-bottom: 8px; border-radius: 12px;
  border: 1px solid rgba(67,62,53,.14); background: rgba(255,255,255,.5);
  text-transform: none; letter-spacing: 0; font-size: .97rem; color: var(--encre);
  transition: border-color .3s ease, background .3s ease;
}
.bk-field .bk-radio:hover { border-color: rgba(185,110,76,.4); }
.bk-field .bk-radio input { margin-top: .3em; accent-color: var(--terre-deep); flex: none; }
.bk-field .bk-radio:has(input:checked) { border-color: var(--terre-deep); background: var(--creme-warm); }
.bk-field .bk-radio strong { font-weight: 500; }
.bk-field .bk-radio small { display: block; margin-top: 3px; font-size: .84rem; color: var(--encre-soft); }

.bk-consent {
  display: flex; gap: .7em; align-items: flex-start;
  margin: 22px 0 6px; font-size: .88rem; color: var(--encre-soft); line-height: 1.55;
}
.bk-consent input { margin-top: .25em; accent-color: var(--terre-deep); flex: none; }
.bk-consent a { color: var(--terre-deep); }

/* Piège à robots : hors écran, jamais visible ni tabulable */
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bk-errors {
  margin: 18px 0 0; padding: 14px 18px; border-radius: 10px;
  background: rgba(162,72,47,.08); border: 1px solid rgba(162,72,47,.25);
}
.bk-errors p { color: #8C3D26; font-size: .92rem; }
.bk-errors p + p { margin-top: 6px; }

.bk-submit { width: 100%; margin-top: 22px; }
.bk-submit:disabled { opacity: .6; cursor: wait; transform: none; }

/* ————— Confirmation ————— */
.bk-success { text-align: center; }
.bk-check {
  display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px;
  border-radius: 50%; background: rgba(95,107,85,.12);
}
.bk-check svg { width: 28px; height: 28px; fill: none; stroke: var(--sauge-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-success h3 { font-size: 1.7rem; font-weight: 500; margin-bottom: 14px; }
.bk-recap { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: var(--encre); margin-bottom: 16px; }
.bk-ref { margin: 18px 0 24px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-soft); }

@media (max-width: 620px) {
  .bk-row { grid-template-columns: 1fr; }
  .bk-slot { padding: 14px 16px; }
  .bk-slot .bk-date { font-size: 1.1rem; flex: 1 1 100%; }
}

/* ————— Pages d'état (paiement, annulation) ————— */
.status-page { text-align: center; }
.status-page .legal-facts { text-align: left; }
.status-page .cta-row { justify-content: center; margin-top: 30px; }
.status-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px;
  border-radius: 50%; background: rgba(95,107,85,.12);
}
.status-icon svg { width: 32px; height: 32px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.status-ok svg    { stroke: var(--sauge-deep); }
.status-wait      { background: rgba(198,161,90,.16); }
.status-wait svg  { stroke: #9A7A34; }
.status-error     { background: rgba(162,72,47,.1); }
.status-error svg { stroke: #A2482F; }
.status-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ————————————————————————————————————————————————
   Chiffres alignés

   Cormorant Garamond dessine par défaut des chiffres « à l'ancienne »,
   où le 1 ressemble à un I et le 0 à un O. Ravissant dans un texte,
   ambigu pour un prix, une date ou un décompte de places : on force donc
   les chiffres alignés partout où l'on lit un nombre.
   ———————————————————————————————————————————————— */
h1, h2, h3,
.lead, .hc-title, .price .amount, .bk-date, .bk-recap,
.legal-page .updated, .legal-facts dd, .as-count strong,
.step-n, .footer-bottom {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}


/* ————————————————————————————————————————————————
   Rappel de réservation, sur mobile

   Sur un petit écran, la page est longue et le calendrier reste loin.
   Cette barre discrète apparaît une fois le hero dépassé : la réservation
   n'est plus jamais qu'à un geste, sans avoir à remonter chercher le menu.
   Elle s'efface quand le calendrier est à l'écran — inutile de doubler
   un bouton par un autre.
   ———————————————————————————————————————————————— */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; justify-content: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(248, 245, 239, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(67, 62, 53, .1);
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.22,.6,.25,1);
}
.sticky-cta .btn { width: 100%; max-width: 420px; padding-top: .95em; padding-bottom: .95em; }
body.cta-visible .sticky-cta { transform: none; }

@media (max-width: 1024px) {
  .sticky-cta { display: flex; }
  /* la barre ne doit pas masquer la fin du pied de page */
  body.cta-visible footer { padding-bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* ————— « Mon espace » dans la navigation —————
   Un lien un peu à part : ni rubrique du site, ni appel à l'action.
   L'icône le distingue sans l'alourdir. */
nav a.nav-member {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--terre-deep);
}
nav a.nav-member .ico { width: 1.15em; height: 1.15em; opacity: .9; }
nav a.nav-member:hover { color: var(--terre-darker); }

@media (max-width: 1024px) {
  #navMenu a.nav-member {
    font-size: .92rem; letter-spacing: .22em;
    padding-top: 14px; margin-top: 6px;
    border-top: 1px solid rgba(67, 62, 53, .12);
  }
  #navMenu a.nav-member .ico { width: 1em; height: 1em; }
}
