/* ==========================================================================
   Kayza Pilates — feuille de style principale
   Direction : éditorial contemporain, chaleur, mouvement, précision.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f7f2ea;
  --paper-2: #efe6d8;
  --paper-3: #e7dbc9;
  --ink: #1c1b18;
  --ink-2: #2a2823;
  --ink-soft: #55504a;
  --ink-mute: #8a8279;
  --clay: #6e2a35;
  --clay-dark: #56202a;
  --sage: #7e8b76;
  --gold: #b08a4f;
  --line: rgba(28, 27, 24, 0.14);
  --line-light: rgba(247, 242, 234, 0.18);
  --white: #fdfbf7;

  --serif: "Fraunces", "Georgia", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 150px);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --fs-display: clamp(2.6rem, 6.4vw, 5.6rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.6rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.45rem);
  --fs-body: clamp(0.98rem, 1.05vw, 1.08rem);
  --fs-small: 0.82rem;
  --fs-eyebrow: 0.7rem;
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.loading .hero__title span,
body.loading .hero__eyebrow,
body.loading .hero__lead,
body.loading .hero__actions { opacity: 0; transform: translateY(30px); }

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--clay); color: var(--white); }

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.wrapper {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- 3. Curseur personnalisé ---------- */
.cursor {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body.has-cursor { cursor: none; }
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor input,
  body.has-cursor select,
  body.has-cursor textarea { cursor: none; }
}
.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor__dot {
  width: 5px; height: 5px;
  background: var(--clay);
}
.cursor__ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(28, 27, 24, 0.45);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.cursor.is-hover .cursor__ring {
  width: 64px; height: 64px;
  border-color: rgba(192, 106, 75, 0.8);
  background: rgba(192, 106, 75, 0.08);
}
body.menu-open .cursor { display: none; }

/* ---------- 4. Typographie utilitaire ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow__line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--clay);
}
.eyebrow--light { color: rgba(247, 242, 234, 0.7); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 26px;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--clay);
}
.display--light { color: var(--paper); }
.display--light em { color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.65;
  color: var(--ink-2);
}

p + p { margin-top: 1.1em; }

.section { padding-block: var(--section-y); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  grid-template-rows: auto auto;
  gap: 6px clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 88px);
}
.section-head > .eyebrow { grid-column: 1; grid-row: 1; }
.section-head > .display { grid-column: 1; grid-row: 2; margin-top: 18px; }
.section-head__aside {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 380px;
  justify-self: end;
}
.section-head--tight { display: block; margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- 5. Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
    background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn--clay { background: var(--clay); color: var(--white); }
.btn--clay::before { background: var(--ink); }
.btn--clay:hover { color: var(--white); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--clay); }

.btn--ghost {
  color: var(--paper);
  border-color: rgba(247, 242, 234, 0.45);
}
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--ink); border-color: var(--paper); }

.btn--outline {
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--paper); border-color: var(--ink); }

/* ---------- 6. En-tête ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 22px;
  transition: padding 0.5s var(--ease), background-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease), color 0.4s var(--ease);
  color: var(--paper);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled {
  padding-block: 12px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  height: 44px;
}
.brand__logo {
  display: block;
  height: 40px;
  width: auto;
}
.brand__logo--dark { display: none; }
.site-header.is-scrolled .brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo--dark { display: block; }
.brand--footer { height: auto; }
.brand--footer .brand__logo { height: 72px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.brand:hover .brand__mark { background: var(--clay); border-color: var(--clay); color: var(--white); }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand__sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  opacity: 0.72;
}

.site-nav { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.site-nav a {
  position: relative;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-block: 4px;
  opacity: 0.9;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header__cta { padding: 13px 22px; font-size: 0.68rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  background: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger span:first-child { transform: translate(-50%, -4px); }
.burger span:last-child { transform: translate(-50%, 4px); }
body.menu-open .burger span:first-child { transform: translate(-50%, 0) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- 7. Menu mobile ---------- */
.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 120px var(--gutter) 60px;
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
  visibility: hidden;
}
body.menu-open .menu-mobile { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-mobile nav { display: flex; flex-direction: column; gap: 6px; }
.menu-mobile nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1.25;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
body.menu-open .menu-mobile nav a { opacity: 1; transform: none; }
.menu-mobile nav a:nth-child(1) { transition-delay: 0.15s; }
.menu-mobile nav a:nth-child(2) { transition-delay: 0.2s; }
.menu-mobile nav a:nth-child(3) { transition-delay: 0.25s; }
.menu-mobile nav a:nth-child(4) { transition-delay: 0.3s; }
.menu-mobile nav a:nth-child(5) { transition-delay: 0.35s; }
.menu-mobile nav a:nth-child(6) { transition-delay: 0.4s; }
.menu-mobile nav a span {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--clay);
}
.menu-mobile nav a:hover { color: var(--gold); }
.menu-mobile .btn { align-self: flex-start; }
.menu-mobile__mail { font-size: 0.85rem; color: rgba(247, 242, 234, 0.6); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__content {
  display: flex;
  align-items: center;
  padding: clamp(104px, 12vh, 132px) clamp(22px, 4vw, 64px) clamp(48px, 6vh, 76px)
    max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero__inner { width: 100%; max-width: 620px; }

.hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-2);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
  animation: heroZoom 16s var(--ease-io) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1.01); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.62) 0%, rgba(18, 17, 15, 0.16) 20%, rgba(18, 17, 15, 0) 40%),
    linear-gradient(180deg, rgba(18, 17, 15, 0.6) 0%, rgba(18, 17, 15, 0) 24%, rgba(18, 17, 15, 0) 62%, rgba(18, 17, 15, 0.62) 100%);
}
.hero__caption {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2.4vh, 26px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.62);
}

.hero__eyebrow {
  color: rgba(247, 242, 234, 0.78);
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 0.15s forwards;
}
.hero__eyebrow .eyebrow__line { background: var(--gold); }

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.9vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: clamp(16px, 2.4vh, 26px) 0 clamp(18px, 2.6vh, 26px);
  text-wrap: balance;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.hero__title .line:nth-child(1) span { animation-delay: 0.25s; }
.hero__title .line:nth-child(2) span { animation-delay: 0.38s; }
.hero__title .line:nth-child(3) span { animation-delay: 0.51s; }
.hero__title .line--italic span {
  font-style: italic;
  color: #e7d8c2;
}
@keyframes lineUp {
  to { transform: translateY(0); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lead {
  max-width: 500px;
  color: rgba(247, 242, 234, 0.82);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.72;
  margin-bottom: clamp(22px, 3vh, 30px);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.72s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.86s forwards;
}
.hero__note {
  margin-top: 22px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.46);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1s forwards;
}
.hero__actions .btn--ghost { color: var(--paper); }

.hero__badge {
  position: absolute;
  right: clamp(16px, 2.2vw, 30px);
  bottom: clamp(52px, 7vh, 80px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(20, 19, 17, 0.42);
  border: 1px solid rgba(247, 242, 234, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--paper);
}
.hero__badge-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
}
.hero__badge-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(247, 242, 234, 0.7);
}

/* ---------- 9. Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-block: 20px;
  border-block: 1px solid rgba(247, 242, 234, 0.08);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-style: italic;
  white-space: nowrap;
  color: rgba(247, 242, 234, 0.9);
}
.marquee__track i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 10. Studio ---------- */
.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.studio__text { max-width: 560px; }
.studio__text .lead { margin-top: 28px; }
.studio__text > p:not(.lead) { margin-top: 18px; color: var(--ink-soft); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat dt {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.stat dt i {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  color: var(--clay);
  font-weight: 600;
}
.stat dd {
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-top: 6px;
}

.studio__figure { position: relative; margin-top: clamp(0px, 3vw, 40px); }
.media {
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.media--tall { aspect-ratio: 4 / 5; }
.studio__figure:hover img { transform: scale(1.05); }
.studio__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- 11. Cours ---------- */
.classes { background: var(--paper); }
.class-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.class-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.class-note {
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.class-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px -30px rgba(28, 27, 24, 0.35);
  border-color: transparent;
}
.class-card__num {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 3;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: rgba(247, 242, 234, 0.9);
}
.class-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.class-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 17, 0.32) 0%, rgba(20, 19, 17, 0) 45%);
}
.class-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 1.1s var(--ease), filter 0.8s var(--ease);
}
.class-card:hover .class-card__media img {
  transform: scale(1.07);
  filter: saturate(1) contrast(1.04);
}
.class-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px 26px;
  flex: 1;
}
.class-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
}
.class-card__meta {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
}
.class-card__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.class-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 600;
}
.class-card__arrow {
  transition: transform 0.4s var(--ease);
}
.class-card:hover .class-card__arrow { transform: translateX(6px); }

.class-card__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 26px 22px;
  background: linear-gradient(180deg, rgba(20, 19, 17, 0.1) 0%, rgba(20, 19, 17, 0.92) 78%);
  color: var(--paper);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.class-card__hover span {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(247, 242, 234, 0.92);
}
.class-card:hover .class-card__hover,
.class-card:focus-visible .class-card__hover { opacity: 1; transform: none; }

/* ---------- 12. Méthode ---------- */
.method {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.method::before {
  content: "";
  position: absolute;
  right: -14vw; top: -30vh;
  width: 60vw; height: 90vh;
  background: radial-gradient(closest-side, rgba(176, 138, 79, 0.16), transparent 70%);
  pointer-events: none;
}
.method__head { max-width: 780px; }
.method__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(48px, 6vw, 96px);
}
.method__cols article {
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}
.method__num {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.method__cols h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin: 14px 0 12px;
}
.method__cols p { color: rgba(247, 242, 234, 0.66); font-size: 0.94rem; line-height: 1.75; }

/* ---------- 13. Horaire ---------- */
.schedule { background: var(--paper-2); }
.schedule__tabs { position: relative; }
.schedule__tablist {
  position: relative;
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.schedule__tablist::-webkit-scrollbar { display: none; }
.schedule__tablist button {
  position: relative;
  background: none;
  border: 0;
  padding: 12px 2px 16px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.schedule__tablist button[aria-selected="true"] { color: var(--ink); }
.schedule__ink {
  position: absolute;
  bottom: -1px; left: 0;
  height: 2px;
  background: var(--clay);
  width: 90px;
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}
.schedule__panel { padding-top: clamp(20px, 3vw, 34px); display: none; }
.schedule__panel.is-active { display: block; animation: fadeIn 0.6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.schedule__list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.6fr) minmax(0, 1fr) 130px;
  gap: 18px;
  align-items: center;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.schedule__list li:hover { background: rgba(247, 242, 234, 0.7); padding-left: 16px; }
.schedule__time {
  font-family: var(--serif);
  font-size: 1.15rem;
}
.schedule__name { font-weight: 600; }
.schedule__level { font-size: 0.84rem; color: var(--ink-mute); }
.schedule__spots {
  justify-self: end;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

/* ---------- 14. Galerie ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, 22vw);
  gap: clamp(10px, 1.4vw, 18px);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--paper-2);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.01);
  transition: filter 0.9s var(--ease), transform 1.2s var(--ease);
}
.gallery__item:hover img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.06);
}
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  color: var(--paper);
  background: linear-gradient(0deg, rgba(20, 19, 17, 0.72), transparent);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; transform: none; }
.gallery__item figcaption span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- 15. Témoignages ---------- */
.quotes { background: var(--paper); }
.quotes__slider { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.quote {
  display: none;
  max-width: 900px;
}
.quote.is-active { display: block; animation: fadeIn 0.7s var(--ease); }
.quote blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.quote figcaption {
  margin-top: 26px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.quotes__controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}
.quotes__btn {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  font-size: 1rem;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
}
.quotes__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.35s var(--ease), transform 0.35s;
}
.quotes__dots button.is-active { background: var(--clay); transform: scale(1.3); }

/* ---------- 16. Tarifs ---------- */
.pricing { background: var(--paper-2); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3.2vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px -40px rgba(28, 27, 24, 0.4);
}
.price-card--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.price-card--featured .price-card__note,
.price-card--featured li { color: rgba(247, 242, 234, 0.72); }
.price-card--featured .price-card__kicker { color: var(--gold); }
.price-card__badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 6px 12px;
  background: var(--clay);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.price-card__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}
.price-card__amount {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-card__amount span { font-weight: 400; }
.price-card__note { font-size: 0.84rem; color: var(--ink-mute); }
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.price-card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid var(--clay);
}
.price-card .btn { margin-top: auto; }

/* ---------- 17. Contact ---------- */
.contact { background: var(--paper); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact__intro .lead { margin-top: 26px; max-width: 460px; }
.contact__infos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.contact__infos dt {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.contact__infos dd { font-size: 0.98rem; }
.contact__infos a { position: relative; }
.contact__infos a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.contact__infos a:hover::after { transform: scaleX(1); transform-origin: left; }

.contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(26px, 3vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field label span { color: var(--clay); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192, 106, 75, 0.12);
}
.field input.is-invalid,
.field textarea.is-invalid { border-color: #b4423a; }
.contact__consent {
  grid-column: 1 / -1;
  font-size: 0.74rem;
  color: var(--ink-mute);
  line-height: 1.6;
}
.contact__form .btn { grid-column: 1 / -1; justify-self: start; }
.contact__status {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--sage);
  min-height: 1.2em;
}
.contact__status.is-error { color: #b4423a; }

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line-light);
}
.brand--footer .brand__mark { border-color: rgba(247, 242, 234, 0.4); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.site-footer nav a,
.site-footer__contact a {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.72);
  transition: color 0.3s;
}
.site-footer nav a:hover,
.site-footer__contact a:hover { color: var(--white); }
.site-footer__contact { display: flex; flex-direction: column; gap: 12px; }

.site-footer__word {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(5rem, 22vw, 18rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(247, 242, 234, 0.07);
  padding-block: clamp(20px, 3vw, 40px) 0;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--line-light);
  font-size: 0.72rem;
  color: rgba(247, 242, 234, 0.45);
}

/* ---------- 19. Animations d'apparition ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .class-grid--two { grid-template-columns: 1fr; }
  .class-card__media { aspect-ratio: 16 / 11; }
  .pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card--featured { grid-column: 1 / -1; order: -1; }
  .methods__cols { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-nav,
  .site-header__cta { display: none; }
  .burger { display: block; }
  .site-header { color: var(--paper); }
  .site-header.is-scrolled { color: var(--ink); }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { order: -1; height: 56svh; min-height: 380px; }
  .hero__content { padding: 34px var(--gutter) 56px; }
  .hero__inner { max-width: none; }
  .hero__badge { bottom: 16px; right: 16px; padding: 12px 16px; }
  .hero__caption { display: none; }
  .hero__badge-num { font-size: 1.5rem; }

  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head__aside { justify-self: start; max-width: 520px; }

  .studio__grid { grid-template-columns: 1fr; }
  .studio__text { max-width: none; }
  .studio__figure { max-width: 560px; }

  .method__cols { grid-template-columns: 1fr; gap: 30px; }

  .schedule__list li { grid-template-columns: 84px minmax(0, 1fr) 110px; }
  .schedule__level { display: none; }

  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(150px, 34vw); }
  .gallery__item--wide { grid-column: span 2; }

  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --section-y: 64px; }

  .hero__media { height: 48svh; min-height: 320px; }
  .hero__content { padding: 28px var(--gutter) 50px; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero__actions .btn { flex: 1; }
  .hero__note { margin-top: 22px; }

  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stat dt { font-size: 1.5rem; }

  .class-grid { grid-template-columns: 1fr; }
  .class-card__media { aspect-ratio: 16 / 10; }

  .schedule__list li {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px 14px;
    align-items: baseline;
  }
  .schedule__spots { grid-column: 2; justify-self: start; margin-top: 2px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .gallery__item--wide { grid-column: span 2; }

  .pricing__grid { grid-template-columns: 1fr; }
  .price-card--featured { order: 0; }

  .contact__form { grid-template-columns: 1fr; padding: 22px; }
  .contact__form .btn { width: 100%; }

  .site-footer__top { flex-direction: column; }
}

/* ---------- 21. Accessibilité / mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line span { transform: none; }
  .hero__media img { transform: none; }
  .cursor { display: none !important; }
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* ---------- 22. Citation fondatrice + promesses ---------- */
.studio__quote {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-2);
}
.studio__quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

.promesse { background: var(--paper); }
.promesse__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}
.promesse__grid article {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.promesse__num {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--clay);
}
.promesse__grid h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  margin: 14px 0 10px;
}
.promesse__grid p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}
@media (max-width: 900px) {
  .promesse__grid { grid-template-columns: 1fr; gap: 26px; }
}
