/*
 * V · Yoga — Feuille de style
 * Palette  : drapeaux tibétains (safran, rouge-brique, sauge, ciel)
 * Typo     : Eczar (display) + Josefin Sans (corps)
 */

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

html {
  font-size: 16px;
}

img, picture {
  display: block;
  max-width: 100%;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ─── Variables ─────────────────────────────────── */
:root {
  /* Couleurs — inspirées des 5 couleurs des drapeaux tibétains */
  --c-bg:       oklch(96% 0.025 88);   /* blanc sablé */
  --c-text:     oklch(18% 0.02  75);   /* charbon chaud */
  --c-accent:   oklch(70% 0.16  85);   /* safran / curcuma */
  --c-cta:      oklch(50% 0.13  35);   /* rouge-brique */
  --c-sage:     oklch(58% 0.09 165);   /* vert sauge */
  --c-sky:      oklch(80% 0.07 240);   /* ciel tibétain */
  --c-surface:  oklch(92% 0.02  88);   /* fond sections alternées */
  --c-dark:     oklch(14% 0.02  75);   /* sections inversées */
  --c-dark-sub: oklch(68% 0.015 88);   /* texte secondaire sur fond sombre */

  /* Typographie */
  --f-display: 'Eczar', Georgia, serif;
  --f-body:    'Josefin Sans', system-ui, sans-serif;

  /* Espacements (échelle 4pt) */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  3.5rem;
  --sp-xl:  6rem;
  --sp-2xl: 9rem;

  /* Layout */
  --max-w:  1280px;
  --nav-h:  4.5rem;
}

/* ─── Base ──────────────────────────────────────── */
body {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
}

/* ─── Typographie ───────────────────────────────── */
h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem,   3.5vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); font-weight: 500; }

.overline {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cta);
}

/* ─── Stripe drapeaux tibétains ─────────────────── */
.flags-stripe {
  height: 5px;
  background: linear-gradient(
    to right,
    var(--c-sky)               0% 20%,
    oklch(95% 0.01 88)        20% 40%,
    var(--c-cta)              40% 60%,
    var(--c-sage)             60% 80%,
    var(--c-accent)           80% 100%
  );
  opacity: 0.65;
}

/* ─── Utilitaires ───────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* ─── Bouton CTA ────────────────────────────────── */
.cta-btn {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--c-accent);
  color: var(--c-text);
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.cta-btn:hover  { background: var(--c-cta); color: oklch(96% 0.01 88); }
.cta-btn:active { transform: scale(0.97); }

.cta-btn--dark {
  background: var(--c-text);
  color: var(--c-bg);
}
.cta-btn--dark:hover { background: var(--c-cta); color: oklch(96% 0.01 88); }

.cta-btn--light {
  background: var(--c-bg);
  color: var(--c-text);
}
.cta-btn--light:hover { background: var(--c-accent); color: var(--c-text); }

/* ─── Navigation ────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  background: var(--c-bg);
  box-shadow: 0 1px 0 oklch(84% 0.02 88);
}

.nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.nav__logo {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--c-text);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-inline-start: auto;
}

.nav__links a {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-text);
  opacity: 0.65;
  transition: opacity 0.15s;
}
.nav__links a:hover { opacity: 1; }

.nav__cta { margin-inline-start: var(--sp-sm); }
.nav__cta-mobile { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-inline-start: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Hero ──────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100dvh;
}

.hero__visual {
  overflow: hidden;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 5rem);
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 5rem));
  background: var(--c-bg);
}

.hero__content .overline { margin-bottom: var(--sp-sm); }
.hero__content h1        { margin-bottom: var(--sp-md); }

.hero__lead {
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  opacity: 0.7;
  max-width: 42ch;
  margin-bottom: var(--sp-md);
}

.hero__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: var(--sp-lg);
  font-size: 0.85rem;
  opacity: 0.75;
}
.hero__benefits li::before {
  content: '— ';
  color: var(--c-accent);
  font-weight: 600;
}

/* ─── Section base ──────────────────────────────── */
.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.section--surface { background: var(--c-surface); }
.section--dark    { background: var(--c-dark); color: oklch(90% 0.015 88); }
.section--dark .overline { color: var(--c-accent); }
.section--dark h2        { color: oklch(94% 0.015 88); }
.section--dark h3        { color: var(--c-accent); }
.section--accent  { background: var(--c-accent); }
.section--accent .overline { color: var(--c-cta); }

/* ─── À propos ──────────────────────────────────── */
.apropos__grid {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.apropos__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.apropos__content h2 { margin-block: var(--sp-sm) var(--sp-md); }
.apropos__content p + p { margin-top: var(--sp-sm); }

.pillars {
  display: flex;
  gap: var(--sp-md);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--sp-md);
  border-top: 1px solid oklch(78% 0.02 88);
}

.pillars li {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 400;
  color: var(--c-cta);
  letter-spacing: 0.04em;
}

/* ─── Formation — timeline ──────────────────────── */
.formation__header { margin-bottom: clamp(3rem, 6vw, 5rem); }
.formation__header h2 { margin-top: var(--sp-sm); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 4rem);
}

.timeline__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.timeline__year {
  font-family: var(--f-body);
  font-weight: 100;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  color: var(--c-accent);
  line-height: 1;
  padding-top: 0.25rem;
}

.timeline__content h3 { margin-bottom: var(--sp-xs); }
.timeline__content p  { opacity: 0.6; font-size: 0.88rem; line-height: 1.5; }

/* ─── Pratique ──────────────────────────────────── */
.pratique__grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.pratique__photo {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.pratique__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.pratique__content h2 { margin-block: var(--sp-sm) clamp(2rem, 4vw, 3.5rem); }

.pratique__list {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.pratique__item p { opacity: 0.75; margin-top: var(--sp-xs); }

.pratique__subtitle {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  margin-top: 0.2rem;
  margin-bottom: var(--sp-xs);
  color: oklch(68% 0.015 88);
}

/* ─── Tarifs ────────────────────────────────────── */
.tarifs__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.tarifs__intro .overline { margin-bottom: var(--sp-sm); }
.tarifs__intro h2        { margin-bottom: var(--sp-md); }
.tarifs__intro p         { max-width: 46ch; opacity: 0.75; }

.tarifs-list {
  border-top: 1px solid oklch(80% 0.02 88);
}

.tarifs-list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
  padding-block: 1.35rem;
  border-bottom: 1px solid oklch(80% 0.02 88);
}

.tarif-label {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
}

.tarif-detail {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 300;
  opacity: 0.55;
}

.tarif-price {
  margin-inline-start: auto;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-cta);
  white-space: nowrap;
}

.tarifs-note {
  margin-top: var(--sp-md);
  font-size: 0.85rem;
  opacity: 0.6;
  max-width: 52ch;
  line-height: 1.6;
}

.tarifs-cta {
  margin-top: var(--sp-lg);
}

/* ─── Réserver ──────────────────────────────────── */
.reserver__inner {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  padding-block: clamp(4rem, 7vw, 7rem);
}

.reserver__inner .overline { margin-bottom: var(--sp-sm); }
.reserver__inner h2        { margin-bottom: var(--sp-md); }
.reserver__inner > p {
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--sp-lg);
  opacity: 0.8;
}

.calendly-inline-widget {
  min-width: 320px;
  height: 1050px;
}

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: var(--c-dark);
  color: oklch(88% 0.015 88);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.footer__logo {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: var(--sp-sm);
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  opacity: 0.5;
}

.footer__heading {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.875rem;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.footer__links a:hover { opacity: 1; }

.footer__legal {
  padding-top: var(--sp-md);
  border-top: 1px solid oklch(28% 0.015 75);
  font-size: 0.73rem;
  opacity: 0.35;
  text-align: center;
}
.footer__legal a { opacity: 0.7; }
.footer__legal a:hover { opacity: 1; }

/* ─── Scroll reveal ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────── */

/* Tablette & mobile */
@media (max-width: 900px) {
  .tarifs__layout {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--c-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sp-lg);
  }
  .nav__links.open       { display: flex; }
  .nav__links a          { font-size: 1rem; opacity: 0.8; }
  .nav__cta              { display: none; }
  .nav__cta-mobile       { display: block; }
  .nav__burger           { display: flex; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 50dvh 1fr;
    min-height: auto;
  }
  .hero__content {
    padding: var(--sp-lg) var(--sp-md) var(--sp-xl);
  }

  /* À propos */
  .apropos__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .apropos__photo img { aspect-ratio: 16 / 10; }

  /* Pratique */
  .pratique__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .pratique__photo { position: static; }
  .pratique__photo img { aspect-ratio: 16 / 10; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
}

@media (max-width: 560px) {
  /* Timeline */
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .timeline__year { font-size: 1.4rem; }

  /* Pillars */
  .pillars { gap: var(--sp-sm); flex-wrap: wrap; }
}
