/* ==========================================================
   Aplomb — Yoga d'alignement & yoga santé
   Journal d'apothicaire sur parchemin
   ========================================================== */

:root {
  --terracotta: #b05a36;
  --terracotta-soft: #d4a68e;
  --gradient-seal: linear-gradient(116deg, #b05a36, #d4a68e);
  --parchment: #fef9ef;
  --paper: #f5eee1;
  --taupe: #d1c9bf;
  --ink: #2a2b2f;
  --charcoal: #333333;
  --graphite: #515151;
  --ash: #808988;

  --serif: 'Newsreader', 'Tiempos Headline', Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --track: -0.023em;
  --radius-card: 24px;
  --radius-btn: 40px;
  --shadow-lg: rgba(0, 0, 0, 0.15) 0 0 20px 0;
  --shadow-xl: rgba(42, 43, 47, 0.1) 12px 32px 80px 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --announce-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--track);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
::selection { background: var(--terracotta); color: var(--parchment); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 920px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0; text-transform: uppercase; }
section { position: relative; }
.section--paper { background: var(--paper); }

/* ---------- Typo ---------- */
h1, h2, h3, h4, .h-md, .h-lg, .h-xl {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: normal;
  margin: 0;
}
h1 em, h2 em, h3 em, .h-md em, .h-lg em, .h-xl em, .manifesto__text em, .footer__giant em {
  font-style: italic;
  font-weight: 300;
}
.h-md { font-size: clamp(30px, 3.4vw, 45px); line-height: 1.1; }
.h-lg { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
.h-xl { font-size: clamp(44px, 7vw, 88px); line-height: 0.95; }
.lead { font-size: 18px; line-height: 1.45; font-weight: 300; color: var(--charcoal); max-width: 46ch; }
p { margin: 0 0 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: -0.28px; line-height: 1.4;
  color: var(--terracotta);
  margin: 0 0 16px;
}
.eyebrow--light { color: var(--parchment); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta-soft); box-shadow: 0 0 0 0 rgba(212,166,142,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212,166,142,0); } 100% { box-shadow: 0 0 0 0 rgba(212,166,142,0); } }

/* split text */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.btn span { position: relative; z-index: 1; display: inline-block; }
.btn--lg { padding: 16px 30px; }
.btn--primary { background: var(--terracotta); color: var(--parchment); }
.btn--primary::before, .btn--outline-light::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn--primary::before { background: var(--ink); }
.btn--primary:hover::before, .btn--outline-light:hover::before { transform: translateY(0); }
.btn--outline-light { border: 1.5px solid rgba(254,249,239,.7); color: var(--parchment); }
.btn--outline-light::before { background: var(--parchment); }
.btn--outline-light:hover { color: var(--ink); border-color: var(--parchment); }
.btn--ghost { padding: 8px 14px; font-weight: 400; font-size: 15px; color: var(--ink); }
.btn--ghost:hover { background: var(--paper); }

/* ---------- Intro ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--parchment);
}
.loader__seal { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__seal svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader__seal circle { fill: none; stroke: var(--terracotta); stroke-width: 1.5; stroke-dasharray: 340; stroke-dashoffset: 340; }
.loader__word { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 26px; color: var(--ink); letter-spacing: normal; }
.loader__count { position: absolute; bottom: 32px; right: var(--gutter); font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--taupe); }
html:not(.js) .loader { display: none; }

/* ---------- Progress + curseur ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: var(--gradient-seal); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; border-radius: 50%; display: none; }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1.5px solid var(--terracotta);
  display: none; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), opacity .3s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--terracotta); }
.cursor__label { font-size: 12px; font-weight: 600; color: var(--parchment); opacity: 0; transform: scale(.6); transition: .3s var(--ease); }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(176,90,54,.1); }
.cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--terracotta); border-color: var(--terracotta); }
.cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: grid; }
  .has-cursor .cursor-dot { display: block; }
}

/* image flottante (liste des cours) */
.float-img {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: 300px; aspect-ratio: 4/5; margin: -190px 0 0 -150px;
  border-radius: var(--radius-card); overflow: hidden;
  opacity: 0; transform: scale(.6) rotate(-6deg);
  box-shadow: var(--shadow-xl);
}
.float-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }

/* ---------- Annonce + nav ---------- */
.announce {
  position: relative; z-index: 60; height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--terracotta); color: var(--parchment);
  font-size: 14px; padding: 0 16px; text-align: center;
}
.announce p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.nav {
  position: fixed; top: var(--announce-h); left: 0; right: 0; z-index: 50;
  transition: transform .6s var(--ease), background-color .5s, top .4s var(--ease), box-shadow .5s;
}
.nav__inner {
  max-width: 1280px; margin: 0 auto; height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-solid { top: 0; background: rgba(254, 249, 239, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 -1px 0 var(--taupe); }
.nav.is-hidden { transform: translateY(-110%); }
.nav:not(.is-solid) .logo__word, .nav:not(.is-solid) .nav__links a, .nav:not(.is-solid) .btn--ghost { color: var(--parchment); }
.nav:not(.is-solid) .btn--ghost:hover { background: rgba(254,249,239,.12); }
.nav:not(.is-solid) .burger span { background: var(--parchment); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__seal { width: 22px; height: 22px; border-radius: 50%; background: var(--gradient-seal); position: relative; transition: transform .8s var(--ease); }
.logo__seal::after { content: ""; position: absolute; left: 50%; top: 3px; bottom: 3px; width: 1.5px; margin-left: -0.75px; background: var(--parchment); border-radius: 2px; }
.logo:hover .logo__seal { transform: rotate(180deg); }
.logo__word { font-family: var(--serif); font-size: 24px; white-space: nowrap; color: var(--ink); letter-spacing: normal; transition: color .4s; }
.logo--light .logo__word { color: var(--parchment); }
.logo__word em { font-style: italic; font-weight: 300; }

.nav__links { display: flex; gap: 28px; }
.nav__links a { position: relative; font-size: 15px; color: var(--ink); padding: 6px 0; transition: color .4s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-open .nav .burger span { background: var(--ink); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  display: flex; align-items: center; padding: 120px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a { font-family: var(--serif); font-size: 44px; line-height: 1.1; color: var(--ink); letter-spacing: normal; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mobile-menu a em { font-weight: 300; color: var(--terracotta); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .25s; }
.menu-open .nav .logo__word { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; margin-top: calc(var(--announce-h) * -1);
  padding: calc(var(--announce-h) + 140px) 0 40px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--parchment); overflow: hidden; background: #3a2c22;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 50% 60%; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(42,30,22,.55) 0%, rgba(42,30,22,.25) 35%, rgba(42,30,22,.72) 100%),
    linear-gradient(116deg, rgba(176,90,54,.35), rgba(212,166,142,0) 60%);
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(36px, 5.2vw, 76px); line-height: 1.02; color: var(--parchment);
  max-width: 20ch; margin-bottom: 18px;
}
.hero__quote { margin: 0 0 28px; }
.hero__cite { display: block; font-style: normal; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(254,249,239,.8); }
.hero__stats--diplomas .stat__num { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; line-height: 1.45; color: rgba(254,249,239,.82); max-width: 44ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  position: relative; z-index: 2; margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(254,249,239,.25);
}
.stat { padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(254,249,239,.25); }
.stat__num { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 45px); line-height: 1; letter-spacing: normal; }
.stat__label { font-size: 14px; color: rgba(254,249,239,.72); }
.hero__scroll { position: absolute; z-index: 2; right: var(--gutter); top: 50%; width: 1.5px; height: 80px; background: rgba(254,249,239,.25); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--parchment); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ---------- Marquee ---------- */
.marquee { padding: 28px 0; border-bottom: 1px solid var(--taupe); overflow: hidden; background: var(--parchment); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; }
.marquee__group span {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); color: var(--ink); letter-spacing: normal;
  white-space: nowrap; transition: color .3s, font-style .3s;
}
.marquee__group span::after { content: "·"; color: var(--terracotta); padding: 0 0.6em; font-style: normal; }
.marquee__group span:hover { color: var(--terracotta); font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifeste ---------- */
.manifesto { padding: clamp(120px, 18vw, 240px) 0; overflow: hidden; }
.manifesto .wrap { position: relative; z-index: 2; }
.manifesto__text { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 58px); line-height: 1.12; color: var(--ink); letter-spacing: normal; margin: 0; }
.manifesto__text .w { opacity: .14; transition: opacity .2s; }
html:not(.js) .manifesto__text .w { opacity: 1; }
.manifesto__float { position: absolute; z-index: 1; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-xl); }
.manifesto__float img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__float--a { width: clamp(120px, 14vw, 200px); aspect-ratio: 3/4; top: 8%; right: 5%; }
.manifesto__float--b { width: clamp(140px, 17vw, 240px); aspect-ratio: 4/3; bottom: 6%; left: 4%; }

/* ---------- Section head ---------- */
.section-head { margin-bottom: 56px; max-width: 860px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head--split .lead { margin: 0; }

/* ---------- Approche ---------- */
.approach { padding: clamp(80px, 10vw, 140px) 0; }
.steps--two { grid-template-columns: repeat(2, 1fr) !important; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.step {
  position: relative; background: var(--parchment); border-radius: var(--radius-card);
  padding: 40px 32px 32px; display: flex; flex-direction: column;
  transform-style: preserve-3d; transition: box-shadow .6s var(--ease);
  will-change: transform;
}
.step:hover { box-shadow: var(--shadow-xl); }
.step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(212,166,142,.22), transparent 45%); opacity: 0; transition: opacity .4s; }
.step:hover::before { opacity: 1; }
.step__num { font-size: 14px; font-weight: 600; color: var(--terracotta); margin-bottom: 40px; }
.step__title { font-size: 34px; line-height: 1.1; margin-bottom: 14px; }
.step p { color: var(--charcoal); margin-bottom: 32px; }

.mini-cal { margin-top: auto; border-top: 1px solid var(--taupe); padding-top: 20px; }
.mini-cal__days, .mini-cal__nums { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.mini-cal__days span { font-size: 11px; color: var(--graphite); }
.mini-cal__nums span { font-size: 14px; color: var(--ink); padding: 8px 0 6px; position: relative; cursor: default; transition: color .3s; }
.mini-cal__nums span::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 1.5px; background: var(--terracotta); transform: scaleX(0); transition: transform .4s var(--ease); }
.mini-cal__nums span:hover, .mini-cal__nums .is-active { color: var(--terracotta); }
.mini-cal__nums span:hover::after, .mini-cal__nums .is-active::after { transform: scaleX(1); }
.mini-cal__slot { margin-top: 16px; padding: 10px 16px; border-radius: 9999px; background: var(--paper); font-size: 14px; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.mini-cal__slot .mono { color: var(--terracotta); }

.props { margin: auto 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--taupe); display: flex; flex-wrap: wrap; gap: 8px; }
.props li { padding: 8px 14px; border-radius: 9999px; border: 1px solid var(--taupe); font-size: 14px; color: var(--charcoal); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); cursor: default; }
.props li:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--parchment); transform: translateY(-3px); }

.bars { margin-top: auto; border-top: 1px solid var(--taupe); padding-top: 20px; height: 170px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; position: relative; }
.bars__col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bars__col i { display: block; width: 100%; height: var(--h); background: var(--terracotta); border-radius: 2px; transform-origin: bottom; transition: filter .3s; }
.bars__col:hover i { filter: brightness(1.15); }
.bars__col span { font-size: 12px; color: var(--graphite); }
.bars__legend { position: absolute; top: 22px; left: 0; color: var(--graphite); }

/* ---------- Image révélée ---------- */
.reveal-img { padding: clamp(60px, 8vw, 100px) var(--gutter) 0; }
.reveal-img__frame { max-width: 1280px; margin: 0 auto; aspect-ratio: 16/8; border-radius: var(--radius-card); overflow: hidden; }
.reveal-img__frame img, .about__frame img { width: 100%; height: 120%; object-fit: cover; }
.reveal-img__caption { margin-top: 16px; font-size: 14px; color: var(--graphite); display: flex; gap: 16px; align-items: baseline; padding: 0; }
.reveal-img__caption .mono { color: var(--terracotta); }

/* ---------- Cours ---------- */
.courses { padding: clamp(80px, 10vw, 140px) 0; }
.course-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--taupe); }
.course {
  position: relative; display: grid; grid-template-columns: 60px 1.2fr 1.4fr 90px 40px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--taupe); cursor: pointer;
}
.course::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.course:hover::before { transform: scaleY(1); }
.course__num { color: var(--terracotta); }
.course__title { font-size: clamp(28px, 3.2vw, 45px); line-height: 1.05; transition: transform .6s var(--ease); }
.course:hover .course__title { transform: translateX(16px); }
.course__desc { margin: 0; color: var(--graphite); font-size: 16px; }
.course__meta { font-size: 14px; color: var(--ink); text-align: right; }
.course__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--taupe); display: grid; place-items: center; color: var(--ink); transition: background-color .4s, color .4s, transform .6s var(--ease), border-color .4s; }
.course:hover .course__arrow { background: var(--terracotta); border-color: var(--terracotta); color: var(--parchment); transform: rotate(-45deg); }

/* ---------- Galerie ---------- */
.gallery { background: var(--parchment); }
.gallery__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 100px 0 40px; }
.gallery__head { margin-bottom: 36px; }
.gallery__track { display: flex; align-items: flex-end; gap: 28px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.g-item { margin: 0; flex: none; }
.g-item__img { border-radius: var(--radius-card); overflow: hidden; height: 100%; }
.g-item__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.85); }
.g-item:hover .g-item__img img { transform: scale(1); filter: saturate(1.05); }
.g-item--tall { width: clamp(240px, 24vw, 340px); }
.g-item--tall .g-item__img { aspect-ratio: 3/4; height: auto; }
.g-item--wide { width: clamp(320px, 38vw, 540px); }
.g-item--wide .g-item__img { aspect-ratio: 4/3; height: auto; }
.g-item figcaption { margin-top: 14px; font-size: 14px; color: var(--graphite); display: flex; gap: 12px; align-items: baseline; }
.g-item figcaption .mono { color: var(--terracotta); }
.g-item:nth-child(even) { transform: translateY(-40px); }
.g-end { flex: none; width: 340px; padding: 0 40px 60px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- À propos ---------- */
.about { padding: clamp(80px, 10vw, 140px) 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__frame { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/5; }
.about__badge { position: absolute; right: -40px; bottom: -40px; width: 170px; height: 170px; display: grid; place-items: center; }
.about__badge svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.about__badge text { font-family: var(--mono); font-size: 13.5px; fill: var(--ink); letter-spacing: 2px; }
.about__badge-core { width: 70px; height: 70px; border-radius: 50%; background: var(--gradient-seal); box-shadow: var(--shadow-xl); position: relative; }
.about__badge-core::after { content: ""; position: absolute; left: 50%; top: 14px; bottom: 14px; width: 1.5px; margin-left: -.75px; background: var(--parchment); }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text .h-lg { margin-bottom: 28px; }
.about__text p { max-width: 52ch; }
.tags { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; row-gap: 8px; }
.tags li { font-size: 14px; color: var(--charcoal); }
.tags li + li::before { content: "·"; color: var(--terracotta); padding: 0 16px; font-weight: 700; }
.quote { margin: 32px 0 24px; padding-left: 24px; border-left: 1.5px solid var(--terracotta); }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 24px; line-height: 1.3; color: var(--ink); letter-spacing: normal; margin: 0; }
.note { font-size: 14px; color: var(--graphite); }

/* ---------- Retraite ---------- */
.retreat { min-height: 110vh; display: flex; align-items: flex-end; padding: 160px 0 80px; color: var(--parchment); overflow: hidden; }
.retreat__media { position: absolute; inset: 0; overflow: hidden; }
.retreat__media img { width: 100%; height: 100%; object-fit: cover; }
.retreat__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,30,22,.15), rgba(42,30,22,.7)); }
.retreat__content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.retreat__content .eyebrow { width: 100%; }
.retreat__title { font-size: clamp(48px, 8vw, 110px); line-height: .92; color: var(--parchment); max-width: 9ch; }
.retreat__card { background: rgba(254,249,239,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(254,249,239,.25); border-radius: var(--radius-card); padding: 28px; min-width: 300px; }
.retreat__facts { margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.retreat__facts dt { font-size: 12px; text-transform: uppercase; font-weight: 600; color: rgba(254,249,239,.7); }
.retreat__facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 22px; letter-spacing: normal; }

/* ---------- Évènements (dans la section image) ---------- */
.retreat__events { list-style: none; margin: 0 0 24px; padding: 0; }
.retreat__events li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(254,249,239,.2); font-family: var(--serif); font-size: 24px; letter-spacing: normal; transition: padding .5s var(--ease); }
.retreat__events li:hover { padding-left: 10px; }
.retreat__events .mono { color: var(--terracotta-soft); }

/* ---------- Bienfaits ---------- */
.benefits { padding: clamp(80px, 10vw, 140px) 0; }
.benefits__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.benefits__aside { position: sticky; top: 110px; }
.benefits__aside .h-lg { margin-bottom: 36px; }
.benefits__img { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 5/4; }
.benefits__img img { width: 100%; height: 120%; object-fit: cover; }
.benefits__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--taupe); }
.benefit {
  position: relative; display: grid; grid-template-columns: 56px 56px 1fr; gap: 20px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--taupe);
  opacity: .32; transition: opacity .6s var(--ease);
}
.benefit.is-on, .no-anim .benefit, html:not(.js) .benefit { opacity: 1; }
.benefit::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.benefit.is-on::before { transform: scaleX(1); }
.benefit__num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--terracotta); letter-spacing: normal; }
.benefit__icon { width: 48px; height: 48px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease), stroke .4s; }
.benefit__icon * { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.6s var(--ease); }
.benefit.is-on .benefit__icon *, .no-anim .benefit__icon *, html:not(.js) .benefit__icon * { stroke-dashoffset: 0; }
.benefit:hover .benefit__icon { transform: rotate(-8deg) scale(1.1); stroke: var(--terracotta); }
.benefit h3 { font-size: 30px; line-height: 1.1; margin-bottom: 8px; transition: transform .6s var(--ease); }
.benefit:hover h3 { transform: translateX(8px); }
.benefit p { margin: 0; color: var(--charcoal); max-width: 44ch; }

/* ---------- Diplômes ---------- */
.diplomas { list-style: none; margin: 32px 0 24px; padding: 0; border-top: 1px solid var(--taupe); }
.diploma { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--taupe); position: relative; overflow: hidden; }
.diploma::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateX(-101%); transition: transform .7s var(--ease); z-index: -1; }
.diploma:hover::after { transform: none; }
.diploma__tag { justify-self: start; padding: 8px 12px; border-radius: 9999px; border: 1px solid var(--terracotta); color: var(--terracotta); font-size: 12px; transition: background-color .4s, color .4s; }
.diploma:hover .diploma__tag { background: var(--terracotta); color: var(--parchment); }
.diploma strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--ink); letter-spacing: normal; }
.diploma span:not(.diploma__tag) { font-size: 14px; color: var(--graphite); }

/* ---------- Témoignages ---------- */
.testimonials { padding: clamp(100px, 12vw, 160px) 0; }
.t-score { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--graphite); text-align: right; }
.t-score__stars { color: var(--terracotta); letter-spacing: 4px; font-size: 16px; }
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; perspective: 1400px; align-items: start; }
.t-card {
  position: relative; margin: 0; padding: 40px 36px 32px; border-radius: var(--radius-card);
  background: var(--paper); display: flex; flex-direction: column; overflow: hidden;
  transform-style: preserve-3d; transition: box-shadow .6s var(--ease), background-color .6s;
}
.t-card:nth-child(2) { margin-top: 64px; }
.t-card:nth-child(4) { margin-top: 64px; }
.t-card:hover { box-shadow: var(--shadow-xl); background: #f8f2e6; }
.t-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(212,166,142,.25), transparent 45%); opacity: 0; transition: opacity .4s; }
.t-card:hover::before { opacity: 1; }
.t-card__mark { position: absolute; top: -18px; right: 26px; font-family: var(--serif); font-size: 160px; line-height: 1; color: var(--taupe); transition: transform .8s var(--ease), color .6s; pointer-events: none; }
.t-card:hover .t-card__mark { transform: translateY(10px) rotate(-8deg); color: var(--terracotta-soft); }
.t-card__hl { position: relative; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; color: var(--ink); letter-spacing: normal; margin: 0 0 20px; max-width: 18ch; }
.t-card__hl em { font-style: italic; font-weight: 300; color: var(--terracotta); }
.t-card__text { margin: 0; position: relative; }
.t-card__text p { margin: 0; color: var(--charcoal); font-size: 16px; line-height: 1.6; }
.t-card__text.is-clamped p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.t-card__more { align-self: flex-start; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--terracotta); padding: 4px 0; position: relative; }
.t-card__more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .5s var(--ease); }
.t-card__more:hover::after { transform: scaleX(1); }
.t-card figcaption { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--taupe); }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-seal); color: var(--parchment); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; letter-spacing: normal; transition: transform .8s var(--ease); }
.t-card:hover .avatar { transform: rotate(360deg); }
.t-card strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.t-card small { font-size: 14px; color: var(--graphite); }

/* ---------- Canaux de contact ---------- */
.channels { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.channel { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; border-radius: 9999px; border: 1px solid var(--taupe); overflow: hidden; isolation: isolate; transition: border-color .4s, color .4s; }
.channel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateX(-101%); transition: transform .7s var(--ease); border-radius: inherit; }
.channel:hover { border-color: var(--ink); color: var(--parchment); }
.channel:hover::before { transform: none; }
.channel__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--terracotta); display: grid; place-items: center; transition: transform .7s var(--ease); }
.channel:hover .channel__icon { transform: rotate(-12deg) scale(1.05); }
.channel__icon svg, .icon-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--parchment); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.channel__txt { display: flex; flex-direction: column; }
.channel__txt small { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--terracotta); }
.channel:hover .channel__txt small { color: var(--terracotta-soft); }
.channel__txt strong { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: normal; }
.channel__arrow { margin-left: auto; font-size: 20px; transition: transform .6s var(--ease); }
.channel:hover .channel__arrow { transform: translateX(6px) rotate(-45deg); }

.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background-color .3s, transform .5s var(--ease); }
.icon-btn svg { stroke: var(--ink); }
.icon-btn:hover { background: var(--paper); transform: rotate(-10deg); }
.nav:not(.is-solid) .icon-btn svg { stroke: var(--parchment); }
.nav:not(.is-solid) .icon-btn:hover { background: rgba(254,249,239,.12); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--taupe); }
.faq__item { border-bottom: 1px solid var(--taupe); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-size: 20px; color: var(--ink); transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--terracotta); }
.faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--taupe); position: relative; transition: transform .5s var(--ease), background-color .4s, border-color .4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--terracotta); border-color: var(--terracotta); color: var(--parchment); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__body { overflow: hidden; }
.faq__body p { padding-bottom: 26px; margin: 0; max-width: 60ch; color: var(--charcoal); }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 10vw, 140px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro .h-xl { margin-bottom: 28px; }
.form { background: var(--parchment); border-radius: var(--radius-card); padding: 36px; box-shadow: var(--shadow-xl); display: flex; flex-direction: column; gap: 20px; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--charcoal); margin-bottom: 12px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 9999px; border: 1px solid var(--taupe); font-size: 14px; color: var(--charcoal); transition: .35s var(--ease); }
.chips label:hover span { border-color: var(--terracotta); color: var(--terracotta); }
.chips input:checked + span { background: var(--terracotta); border-color: var(--terracotta); color: var(--parchment); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(176,90,54,.25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--charcoal); }
.field input, .field textarea {
  font: inherit; letter-spacing: inherit; color: var(--ink);
  background: var(--parchment); border: 1px solid var(--ash); border-radius: 9999px; padding: 12px 20px;
  transition: border-color .3s, box-shadow .3s; width: 100%;
}
.field textarea { border-radius: 24px; resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--graphite); opacity: .75; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(176,90,54,.2); }
.field.is-invalid input { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(176,90,54,.2); }
.form .btn { align-self: flex-start; }
.form__ok { margin: 0; font-size: 15px; color: var(--terracotta); font-weight: 600; min-height: 1.5em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(254,249,239,.75); padding: 80px 0 32px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { margin-top: 12px; font-size: 14px; }
.footer__cols { display: flex; gap: 72px; }
.footer__cols h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--terracotta-soft); margin-bottom: 16px; letter-spacing: -0.28px; }
.footer__cols a { display: block; font-size: 15px; padding: 4px 0; transition: color .3s, transform .4s var(--ease); }
.footer__cols a:hover { color: var(--parchment); transform: translateX(6px); }
.footer__giant { font-family: var(--serif); line-height: .85; color: var(--parchment); letter-spacing: normal; text-align: center; margin: 70px 0 50px; display: flex; flex-direction: column; align-items: center; }
.footer__giant span { display: block; font-size: clamp(96px, 21vw, 320px); }
.footer__giant em { display: block; font-size: clamp(40px, 8vw, 120px); margin-top: .1em; }
.footer__giant em { color: var(--terracotta-soft); }
.footer__bottom { display: flex; justify-content: space-between; font-size: 14px; border-top: 1px solid rgba(254,249,239,.15); padding-top: 24px; }
.to-top:hover { color: var(--parchment); }

/* ---------- États initiaux (JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-clip] { clip-path: inset(18% 8% 18% 8% round 24px); }
.js.no-anim [data-reveal] { opacity: 1; transform: none; }
.js.no-anim [data-clip] { clip-path: none; }
.js.no-anim .loader { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .course { grid-template-columns: 44px 1fr 80px 40px; }
  .course__desc { grid-column: 2 / 3; grid-row: 2; }
}
@media (max-width: 900px) {
  .steps, .steps--two { grid-template-columns: 1fr !important; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__grid > div:first-child { position: static; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefits__aside { position: static; }
  .benefits__img { display: none; }
  .t-grid { grid-template-columns: 1fr; }
  .t-card:nth-child(2), .t-card:nth-child(4) { margin-top: 0; }
  .section-head--split .t-score { text-align: left; }
  .about__badge { right: 12px; bottom: -50px; width: 140px; height: 140px; }
  .gallery__pin { height: auto; padding: 80px 0; }
  .gallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .g-item { scroll-snap-align: start; }
  .g-item:nth-child(even) { transform: none; }
  .g-item--tall { width: 70vw; }
  .g-item--wide { width: 84vw; }
  .g-end { width: 70vw; padding: 0 0 40px; }
}
@media (max-width: 680px) {
  :root { --announce-h: 34px; }
  .announce { font-size: 13px; }
  .announce__long { display: none; }
  .nav__actions .btn--ghost, .nav__actions .btn--primary { display: none; }
  .nav__inner { height: 64px; }
  .hero { padding-top: calc(var(--announce-h) + 110px); }
  .hero__stats { grid-template-columns: 1fr; margin-top: 48px; }
  .stat, .stat + .stat { padding: 16px 0; border-left: 0; flex-direction: row; align-items: baseline; gap: 14px; }
  .stat + .stat { border-top: 1px solid rgba(254,249,239,.2); }
  .stat__num { min-width: 110px; }
  .hero__scroll { display: none; }
  .hero__ctas .btn { width: 100%; }
  .manifesto__float--a { top: 3%; right: -20px; }
  .manifesto__float--b { bottom: 2%; left: -20px; }
  .reveal-img__frame { aspect-ratio: 4/5; }
  .course { grid-template-columns: 1fr 40px; gap: 8px 16px; padding: 24px 0; }
  .course__num, .course__meta { display: none; }
  .course__title { grid-column: 1; }
  .course__desc { grid-column: 1; grid-row: 2; font-size: 15px; }
  .course__arrow { grid-column: 2; grid-row: 1 / 3; }
  .retreat { min-height: 100svh; }
  .retreat__card { min-width: 0; width: 100%; }
  .form { padding: 24px 20px; }
  .benefit { grid-template-columns: 44px 1fr; gap: 12px 16px; }
  .benefit__icon { grid-column: 2; width: 40px; height: 40px; }
  .benefit > div { grid-column: 2; }
  .benefit h3 { font-size: 26px; }
  .t-card { padding: 32px 22px 24px; }
  .channel__txt strong { font-size: 20px; }
  .logo__word { font-size: 21px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .footer__cols { gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}
