/* ============================================================
   SAFAA YOGA — Tamraght, Maroc
   Palette : vert profond & blanc cassé, ombres douces, organique.
   ============================================================ */

:root {
  --bg:         #F7F8F3;
  --surface:    #FFFFFF;
  --cream:      #F1EFE4;
  --ink:        #14261C;
  --ink-soft:   #4B5C51;
  --green-950:  #0B2318;
  --green-900:  #10331F;
  --green-700:  #1C4A36;
  --green-600:  #2A6248;
  --green-500:  #3E7A5C;
  --sage:       #8FB3A0;
  --sage-light: #DFEAE0;
  --line:       rgba(20, 38, 28, .12);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Outfit", "Segoe UI", system-ui, sans-serif;

  --shadow-soft:
    0 1px 2px rgba(16, 51, 31, .05),
    0 8px 24px rgba(16, 51, 31, .07);
  --shadow-deep:
    0 2px 4px rgba(16, 51, 31, .06),
    0 12px 32px rgba(16, 51, 31, .10),
    0 32px 80px rgba(16, 51, 31, .12);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--sage); color: var(--green-950); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 99px; border: 2px solid var(--bg); }

:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 16em; }
h2 em, h1 em { font-style: italic; color: var(--green-600); }

.section {
  padding: clamp(90px, 12vw, 170px) clamp(20px, 6vw, 96px);
  max-width: 1440px;
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--green-600);
}
.kicker--light { color: var(--sage); }
.kicker--light::before { background: var(--sage); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Curseur ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  /* Invisible tant que la souris n'a pas bougé (sinon un point traîne en haut à gauche) */
  .cursor {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 38px; height: 38px;
    border: 1px solid var(--green-600);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3000;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: width .35s var(--ease-out), height .35s var(--ease-out), opacity .3s;
  }
  .cursor-dot {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 5px; height: 5px;
    background: var(--green-700);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3001;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .3s;
  }
  body.cursor-live .cursor { opacity: .55; }
  body.cursor-live .cursor-dot { opacity: 1; }
  body.cursor-live .cursor.is-hover { width: 64px; height: 64px; opacity: .9; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 48px);
  transition: padding .45s var(--ease-out), background .45s, box-shadow .45s;
}
.nav--scrolled {
  padding-block: 12px;
  background: rgba(247, 248, 243, .8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(16, 51, 31, .06);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1002;
}
.nav__lotus { width: 34px; height: 34px; color: var(--green-700); }
.nav__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--ink);
}
.nav__name em { color: var(--green-600); }

.nav__links { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav__links a {
  position: relative;
  font-size: .92rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding-block: 4px;
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--green-700); }
.nav__links a:hover::after, .nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink-soft);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: border-color .3s, background .3s;
}
.lang-toggle:hover { border-color: var(--green-600); background: var(--surface); }
.lang-toggle i { font-style: normal; opacity: .4; }
.lang-toggle span { opacity: .45; transition: opacity .3s, color .3s; }
.lang-toggle span.is-on { opacity: 1; color: var(--green-700); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .35s var(--ease-out), box-shadow .35s, background .35s, color .35s;
  will-change: transform;
}
.btn--primary {
  background: var(--green-700);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--surface); border-color: var(--sage); transform: translateY(-2px); }
.btn--light {
  background: var(--cream);
  color: var(--green-900);
}
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.btn--nav { padding: 10px 22px; font-size: .88rem; }
.btn--full { width: 100%; }

/* ---------- Burger + menu mobile ---------- */
.burger { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 90px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--a {
  width: 46vw; height: 46vw;
  min-width: 380px; min-height: 380px;
  background: radial-gradient(circle, rgba(143, 179, 160, .5), transparent 65%);
  top: -12%; right: -8%;
  animation: floatA 14s ease-in-out infinite alternate;
}
.hero__glow--b {
  width: 38vw; height: 38vw;
  min-width: 320px; min-height: 320px;
  background: radial-gradient(circle, rgba(223, 234, 224, .9), transparent 65%);
  bottom: -10%; left: -6%;
  animation: floatA 18s ease-in-out infinite alternate-reverse;
}
@keyframes floatA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4%, 6%, 0) scale(1.08); }
}

.hero__inner { position: relative; z-index: 1; max-width: 980px; }

.hero__kicker {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 28px;
  text-shadow: 0 0 12px rgba(247, 248, 243, .95);
}

.hero__title {
  font-size: clamp(3rem, 10vw, 7.2rem);
  color: var(--green-950);
  margin-bottom: 30px;
  text-shadow: 0 0 26px rgba(247, 248, 243, .85);
}
.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.hero__title .wi {
  display: inline-block;
  transform: translateY(112%);
  filter: blur(8px);
  opacity: 0;
  transition:
    transform 1.1s var(--ease-out),
    filter 1.1s var(--ease-out),
    opacity .8s;
}
.hero__title.is-in .wi { transform: translateY(0); filter: blur(0); opacity: 1; }
.hero__title .w:nth-child(1) .wi { transition-delay: .1s; }
.hero__title .w:nth-child(2) .wi { transition-delay: .22s; }
.hero__title .w:nth-child(3) .wi { transition-delay: .34s; }
.hero__title .w:last-child .wi { font-style: italic; color: var(--green-600); }

.hero__sub {
  max-width: 590px;
  margin-inline: auto;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 400;
  margin-bottom: 40px;
  text-shadow:
    0 0 8px rgba(247, 248, 243, .95),
    0 0 20px rgba(247, 248, 243, .9);
}

.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Respiration */
.breath {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: 42px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 12px;
  background: rgba(255, 255, 255, .65);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.breath__ring {
  position: relative;
  width: 34px; height: 34px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.breath__dot {
  width: 22px; height: 22px;
  background: radial-gradient(circle at 35% 35%, var(--green-500), var(--green-700));
  border-radius: 50%;
  transform: scale(.45);
  will-change: transform;
}
.breath__label {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  min-width: 74px;
  transition: opacity .5s;
}
.breath__label.is-fading { opacity: 0; }

.hero__scroll {
  position: absolute;
  bottom: 42px;
  right: clamp(20px, 4vw, 48px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__scroll i {
  width: 1px; height: 52px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--green-600);
  animation: scrollHint 2.2s var(--ease-out) infinite;
}
@keyframes scrollHint {
  0% { top: -50%; } 60% { top: 100%; } 100% { top: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  background: var(--surface);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--green-700);
  white-space: nowrap;
}
.marquee__track i { color: var(--sage); font-style: normal; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- À propos ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.about__media { position: relative; }

.blob {
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
  overflow: hidden;
  animation: blobMorph 14s ease-in-out infinite alternate;
  box-shadow: var(--shadow-deep);
}
@keyframes blobMorph {
  0%   { border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; }
  50%  { border-radius: 45% 55% 48% 52% / 55% 44% 56% 45%; }
  100% { border-radius: 52% 48% 42% 58% / 45% 55% 45% 55%; }
}
.about__portrait { aspect-ratio: 1; }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }

.about__teaching {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 46%;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-deep);
}
.about__teaching img { aspect-ratio: 4/5; object-fit: cover; }

.about__badge {
  position: absolute;
  top: 4%;
  left: -6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px; height: 108px;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: var(--shadow-deep);
  rotate: -8deg;
  animation: badgeFloat 6s ease-in-out infinite alternate;
}
.about__badge strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--green-700);
  line-height: 1;
}
.about__badge span {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}
@keyframes badgeFloat { to { translate: 0 -12px; rotate: -2deg; } }

.about__text h2 { margin-bottom: 26px; }
.about__text p { color: var(--ink-soft); margin-bottom: 18px; max-width: 56ch; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 26px 0 38px;
}
.chips li {
  padding: 8px 18px;
  background: var(--sage-light);
  color: var(--green-900);
  font-size: .84rem;
  font-weight: 400;
  border-radius: 999px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--green-700);
  line-height: 1;
}
.stat em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.2rem;
  color: var(--green-500);
}
.stat span {
  display: block;
  font-size: .8rem;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: .02em;
}

/* ---------- Certification ---------- */
.cert { text-align: center; }
.cert__head h2 { margin-inline: auto; }
.cert__lead { color: var(--ink-soft); max-width: 46ch; margin: 18px auto 0; }

.cert__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-top: clamp(50px, 6vw, 80px);
  text-align: left;
}

.cert__doc {
  background: var(--surface);
  padding: 16px 16px 40px;
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
  rotate: -2deg;
  transition: rotate .6s var(--ease-out), scale .6s var(--ease-out);
  cursor: zoom-in;
}
.cert__doc:hover { rotate: 0deg; scale: 1.02; }
.cert__doc img { border-radius: 6px; }
.cert__doc figcaption {
  text-align: center;
  font-size: .8rem;
  color: var(--ink-soft);
  margin-top: 16px;
  letter-spacing: .06em;
}

.cert__facts { display: flex; flex-direction: column; }
.cert__facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-block: 15px;
  border-bottom: 1px dashed var(--line);
}
.cert__facts dt {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-600);
  white-space: nowrap;
}
.cert__facts dd { text-align: right; font-size: .96rem; }

.cert__note {
  margin-top: 34px;
  font-size: .84rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Séances ---------- */
.services h2 { margin-bottom: clamp(40px, 5vw, 64px); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow .5s var(--ease-out), border-color .5s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow-deep); border-color: transparent; }

.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--sage-light);
  color: var(--green-700);
  border-radius: 16px;
  margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.card__meta {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.card > p:not(.card__meta):not(.card__price) {
  font-size: .93rem;
  color: var(--ink-soft);
  flex-grow: 1;
}

.card__price { margin-top: 22px; }
.card__price strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-700);
}
.card__price span { font-size: .84rem; color: var(--ink-soft); }

.card__link {
  margin-top: 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--green-700);
  transition: letter-spacing .35s var(--ease-out);
}
.card__link:hover { letter-spacing: .04em; }

/* ---------- Pratiques ---------- */
.practices__head { max-width: 780px; }
.practices__head h2 { margin-bottom: 20px; }
.practices__lead { color: var(--ink-soft); max-width: 62ch; }

.practices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  margin-top: clamp(44px, 5vw, 68px);
}

.practice {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out), border-color .5s;
}
.practice:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
  border-color: transparent;
}

.practice__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sage-light);
}
.practice__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .8s var(--ease-out);
}
.practice:hover .practice__media img { scale: 1.06; }

.practice__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 24px 24px;
}
.practice__body h3 {
  font-size: 1.32rem;
  line-height: 1.15;
  margin-bottom: 8px;
}
.practice__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--green-600);
  margin-bottom: 14px;
}
.practice__desc {
  font-size: .92rem;
  color: var(--ink-soft);
  flex: 1;
}
.practice__good {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: .86rem;
}
.practice__good span {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 5px;
}
.practice__good em {
  font-style: normal;
  color: var(--ink-soft);
}

/* ---------- En ligne / packs ---------- */
.online {
  position: relative;
  background: var(--green-950);
  color: var(--cream);
  border-radius: clamp(28px, 4vw, 56px);
  max-width: 1360px;
  overflow: hidden;
}
.online::before {
  content: "";
  position: absolute;
  width: 60vw; height: 60vw;
  top: -30%; right: -20%;
  background: radial-gradient(circle, rgba(62, 122, 92, .35), transparent 60%);
  pointer-events: none;
}
.online::after {
  content: "";
  position: absolute;
  width: 40vw; height: 40vw;
  bottom: -25%; left: -12%;
  background: radial-gradient(circle, rgba(143, 179, 160, .18), transparent 60%);
  pointer-events: none;
}

.online__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 100px);
  align-items: center;
}
.online h2 { color: #fff; margin-bottom: 24px; }
.online__left > p { color: rgba(241, 239, 228, .78); max-width: 52ch; }

.steps { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; align-items: center; gap: 16px; }
.steps i {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.05rem;
  color: var(--cream);
  border: 1px solid rgba(241, 239, 228, .3);
  border-radius: 50%;
}
.steps span { color: rgba(241, 239, 228, .9); font-size: .98rem; }

.online__packs { display: flex; flex-direction: column; gap: 16px; }

.pack {
  position: relative;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 24px 26px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .45s var(--ease-out), background .45s;
}
.pack:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
.pack h3 { font-size: 1.3rem; color: #fff; }
.pack__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sage);
  margin: 6px 0 8px;
}
.pack__price span { font-size: .85rem; color: rgba(241, 239, 228, .6); font-family: var(--font-body); }
.pack > p:not(.pack__price):not(.pack__tag) {
  font-size: .9rem;
  color: rgba(241, 239, 228, .72);
  margin-bottom: 18px;
}
.pack .btn { padding: 11px 22px; font-size: .86rem; }

.pack--featured {
  background: var(--cream);
  border-color: transparent;
}
.pack--featured h3, .pack--featured .pack__price { color: var(--green-900); }
.pack--featured .pack__price { color: var(--green-600); }
.pack--featured .pack__price span { color: var(--ink-soft); }
.pack--featured > p:not(.pack__price):not(.pack__tag) { color: var(--ink-soft); }
.pack--featured .btn { background: var(--green-700); color: var(--cream); }
.pack--featured .btn:hover { background: var(--green-900); box-shadow: var(--shadow-deep); }

.pack__tag {
  position: absolute;
  top: -11px;
  right: 22px;
  background: var(--green-600);
  color: #fff;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
}

.pack--soon { opacity: .82; }

.online__note {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  text-align: center;
  font-size: .86rem;
  color: rgba(241, 239, 228, .55);
  font-style: italic;
}

/* ---------- Galerie ---------- */
.gallery { max-width: none; padding-inline: 0; }
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-inline: clamp(20px, 6vw, 96px);
  max-width: 1440px;
  margin: 0 auto clamp(36px, 4vw, 56px);
}
.gallery__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
}
.gallery__hint {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  margin-right: 8px;
  user-select: none;
  -webkit-user-select: none;
}
.gal-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--green-700);
  transition: background .35s, color .35s, transform .35s var(--ease-out), box-shadow .35s, opacity .3s;
}
.gal-btn svg { width: 22px; height: 22px; }
.gal-btn:hover:not(:disabled) {
  background: var(--green-700);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}
.gal-btn:disabled { opacity: .3; cursor: default; }

.gallery__scroller {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  padding: 20px clamp(20px, 6vw, 96px) 30px;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.gallery__scroller::-webkit-scrollbar { display: none; }
.gallery__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.gallery__scroller figure {
  flex: none;
  width: clamp(240px, 26vw, 350px);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}
.gallery__scroller img { -webkit-user-drag: none; }
.gallery__scroller figure:nth-child(even) { margin-top: 44px; }
.gallery__scroller figure img {
  width: 100%;
  height: clamp(320px, 34vw, 460px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: scale .6s var(--ease-out), box-shadow .6s;
}
.gallery__scroller figure:hover img { scale: 1.025; box-shadow: var(--shadow-deep); }
.gallery__scroller figcaption {
  font-size: .84rem;
  color: var(--ink-soft);
  margin-top: 12px;
  font-style: italic;
}

.gallery__bar {
  width: min(320px, 50vw);
  height: 2px;
  background: var(--line);
  border-radius: 99px;
  margin: 10px auto 0;
  overflow: hidden;
}
.gallery__bar span {
  display: block;
  width: 100%; height: 100%;
  background: var(--green-600);
  border-radius: 99px;
  transform: translateX(-92%);
  transition: transform .15s linear;
}

/* ---------- Vidéos ---------- */
.videos { text-align: center; }
.videos h2 { margin-inline: auto; }
.videos__lead { color: var(--ink-soft); max-width: 46ch; margin: 18px auto 0; }

.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  max-width: 1000px;
  margin: clamp(44px, 5vw, 64px) auto 0;
}

.video-card {
  position: relative;
  aspect-ratio: 9 / 13;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .5s, translate .5s var(--ease-out);
  background: var(--sage-light);
}
.video-card:hover { box-shadow: var(--shadow-deep); translate: 0 -6px; }
.video-card img, .video-card video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-card img { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.14) translate(-2%, 2%); }
}
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 35, 24, .68));
}
.video-card figcaption {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 2;
  color: var(--cream);
  font-size: .95rem;
  text-align: left;
}
.video-card .vc-play {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  z-index: 2;
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: rgba(247, 248, 243, .88);
  border-radius: 50%;
  box-shadow: var(--shadow-deep);
  transition: scale .4s var(--ease-out), background .4s;
}
.video-card:hover .vc-play { scale: 1.12; background: #fff; }
.vc-play svg { width: 22px; height: 22px; color: var(--green-700); translate: 2px 0; }
.video-card .vc-soon {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: rgba(247, 248, 243, .9);
  color: var(--green-700);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
}
.video-card.has-video { cursor: pointer; }
.video-card.has-video img { animation: none; }

/* ---------- Réservation ---------- */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(44px, 6vw, 100px);
  align-items: center;
}
.booking__info > p { color: var(--ink-soft); max-width: 50ch; }

.booking__points { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.booking__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: .96rem;
}
.booking__points li::before {
  content: "✓";
  flex: none;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  color: var(--green-700);
  background: var(--sage-light);
  border-radius: 50%;
}

.booking__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-700);
}
.field label span { text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-weight: 300; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 16px;
  transition: border-color .3s, box-shadow .3s;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(42, 98, 72, .12);
}

.booking__copy {
  align-self: center;
  font-size: .84rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .3s;
}
.booking__copy:hover { color: var(--green-700); }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-950);
  color: var(--cream);
  padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 96px) 40px;
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  width: 55vw; height: 55vw;
  top: -25%; left: 50%;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(62, 122, 92, .3), transparent 62%);
  pointer-events: none;
}

.footer__cta { position: relative; text-align: center; margin-bottom: clamp(60px, 8vw, 100px); }
.footer__cta h2 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-style: italic;
  color: #fff;
  margin-inline: auto;
}
.footer__cta p { color: rgba(241, 239, 228, .65); margin-top: 18px; }

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 80px);
  max-width: 1100px;
  margin-inline: auto;
}
.footer__block h3 {
  font-size: 1.15rem;
  color: var(--sage);
  margin-bottom: 20px;
}
.footer__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 7px;
  color: rgba(241, 239, 228, .85);
  font-size: .96rem;
  transition: color .3s, translate .35s var(--ease-out);
}
a.footer__row:hover { color: #fff; translate: 4px 0; }
.footer__row--muted { color: rgba(241, 239, 228, .55); }
.footer__ico {
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 239, 228, .22);
  border-radius: 50%;
  font-size: .82rem;
  font-style: normal;
}

.footer__insta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.ig-thumb {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}
.ig-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale .6s var(--ease-out), opacity .4s;
  opacity: .85;
}
.ig-thumb:hover img { scale: 1.08; opacity: 1; }

.footer__legal {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: clamp(56px, 7vw, 90px) auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(241, 239, 228, .14);
  font-size: .8rem;
  color: rgba(241, 239, 228, .5);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 5vmin;
  background: rgba(11, 35, 24, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s, visibility .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
  scale: .94;
  transition: scale .45s var(--ease-out);
}
.lightbox.is-open img { scale: 1; }
.lightbox__close {
  position: absolute;
  top: 24px; right: 28px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 1.2rem;
  border: 1px solid rgba(241, 239, 228, .3);
  border-radius: 50%;
  transition: background .3s, rotate .4s var(--ease-out);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .12); rotate: 90deg; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  translate: 0 30px;
  filter: blur(5px);
  transition:
    opacity .9s var(--ease-out) var(--d, 0s),
    translate .9s var(--ease-out) var(--d, 0s),
    filter .9s var(--ease-out) var(--d, 0s);
}
.reveal.is-in { opacity: 1; translate: 0 0; filter: blur(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 90px; }
  .about__media { max-width: 480px; margin-inline: auto; }
  .cert__body { grid-template-columns: 1fr; }
  .cert__doc { max-width: 560px; margin-inline: auto; }
  .cert__facts dd { text-align: right; }
  .online__inner { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; }
  .booking__form { max-width: 620px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px; height: 44px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    z-index: 1002;
    position: relative;
  }
  .burger span {
    display: block;
    width: 18px; height: 1.6px;
    background: var(--ink);
    transition: transform .4s var(--ease-out), opacity .3s;
  }
  .burger.is-open span:nth-child(1) { transform: translateY(4.3px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { transform: translateY(-4.3px) rotate(-45deg); }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(247, 248, 243, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }
  .mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .mobile-menu__links a {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    color: var(--green-900);
    padding: 6px 18px;
    opacity: 0;
    translate: 0 22px;
    transition: opacity .55s var(--ease-out), translate .55s var(--ease-out), color .3s;
  }
  .mobile-menu.is-open .mobile-menu__links a { opacity: 1; translate: 0 0; }
  .mobile-menu__links a:nth-child(1) { transition-delay: .08s; }
  .mobile-menu__links a:nth-child(2) { transition-delay: .14s; }
  .mobile-menu__links a:nth-child(3) { transition-delay: .2s; }
  .mobile-menu__links a:nth-child(4) { transition-delay: .26s; }
  .mobile-menu__links a:nth-child(5) { transition-delay: .32s; }
  .mobile-menu__links a:nth-child(6) { transition-delay: .38s; }
  .mobile-menu__links a:nth-child(7) { transition-delay: .44s; }
  .mobile-menu__links a:hover { color: var(--green-600); }
  .mobile-menu__foot {
    position: absolute;
    bottom: 34px;
    width: 100%;
    text-align: center;
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .hero { padding-top: 104px; }
  /* Le centrage est fait par les marges plus bas : un translate ici
     entrerait en conflit avec l’animation .reveal de la pastille. */
  .breath { bottom: 26px; }
  .hero__scroll { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .about__teaching { right: -2%; }
  .about__badge { left: -2%; width: 92px; height: 92px; }

  .gallery__hint { display: none; }
  .gal-btn { width: 46px; height: 46px; }

  .videos__grid { grid-template-columns: 1fr; max-width: 340px; }
  .field-row { flex-direction: column; gap: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats { gap: 14px; }
}

/* ---------- Mode capture (?shot=1) : états finaux figés ---------- */
.is-shot .hero { min-height: 860px; }
.is-shot *, .is-shot *::before, .is-shot *::after {
  animation-play-state: paused !important;
  transition: none !important;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .hero__title .wi { opacity: 1; translate: 0 0; transform: none; filter: none; }
  .marquee__track { animation: none; }
}

/* ============================================================
   MOBILE — correctifs (26 aout 2026)
   Rien ici ne s'applique au-dela de 760px : le rendu ordinateur
   est strictement inchange.
   ============================================================ */

/* Le repere de respiration doit etre centre. Il porte aussi .reveal,
   dont `.reveal.is-in { translate: 0 0 }` ecrasait un centrage par
   translate — on centre donc par les marges. */
@media (max-width: 760px) {
  .breath {
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
  }
}

/* Confort tactile : les commandes atteignent 44px de zone cliquable
   (cible minimale au doigt) via un pseudo-element hors flux.
   Aucun pixel visible ne bouge. */
@media (max-width: 760px) {
  .nav__logo, .lang-toggle, .card__link, .booking__copy { position: relative; }
  .nav__logo::after, .lang-toggle::after,
  .card__link::after, .booking__copy::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: 100%;
    min-width: 44px;
    height: 100%;
    min-height: 44px;
  }
}
