/* ═══════════════════════════════════════════════════════════
   La Traversée Alchimique des Éléments
   Palette tirée de l'illustration aquarelle du hero
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Fonds — papier aquarelle */
  --paper: #f6efe3;
  --paper-warm: #f1e7d7;
  --paper-deep: #eadfca;
  --paper-card: #fbf6ee;

  /* Encres */
  --ink: #3a342c;
  --ink-soft: #4c4538; /* corps de texte secondaire */
  --ink-mute: #74694f;

  /* Or */
  --gold: #92701f; /* or lisible : sur-titres, accents */
  --gold-light: #c2a159; /* or décoratif : filets, bordures */
  --gold-pale: #ddc89c;

  /* Éléments */
  --terre: #77803f;
  --eau: #3a6d9c;
  --feu: #c4682f;
  --air: #7fa3bd;
  --espace: #5e4f80;

  /* Typo */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Mesures */
  --wrap: 1180px;
  --wrap-nar: 780px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --sect-y: clamp(4.5rem, 11vw, 9rem);
  --radius: 2px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto; /* neutralise l'attribut height du HTML, sinon aspect-ratio est ignoré */
  display: block;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
}
p {
  margin: 0 0 1.15em;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--gold-pale);
  color: var(--ink);
}

/* L'attribut hidden doit toujours l'emporter sur un display: de mise en page */
[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ─── Mise en page ─── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: var(--wrap-nar);
}
.section {
  padding-block: var(--sect-y);
  position: relative;
}
.section--narrow {
  max-width: var(--wrap-nar);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section--tinted {
  background: var(--paper-warm);
}
.section--tinted::before,
.section--tinted::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
}
.section--tinted::before {
  top: 0;
}
.section--tinted::after {
  bottom: 0;
}
.center {
  text-align: center;
}
.br-desktop {
  display: none;
}
@media (min-width: 700px) {
  .br-desktop {
    display: inline;
  }
}

/* ─── Éléments typographiques ─── */
.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.section__title {
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.4rem);
  letter-spacing: 0.005em;
  margin: 0 0 1.5rem;
}
.section__title em {
  font-style: italic;
  color: var(--gold);
}
.section__intro {
  max-width: 60ch;
  margin: 0 auto 3.5rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}
.center .section__intro,
.section__intro.center {
  margin-inline: auto;
}
.prose p {
  color: var(--ink-soft);
}
/* Jost n'est chargé qu'en 300/400/500 : un <strong> en 700 serait un gras
   synthétique, épais et mal dessiné. Le 500 sur l'encre pleine suffit à
   détacher le mot du corps de texte, qui est en 300. */
.prose strong {
  font-weight: 500;
  color: var(--ink);
}
.prose .lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + 0.85vw, 1.75rem);
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.6rem;
}
.prose .lead.center {
  text-align: center !important;
}
.center-prose {
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}

/* Section « Un voyage au cœur de soi » : paragraphes justifiés.
   La césure évite les rivières de blanc, inévitables en français
   sur une colonne étroite sans coupure de mots. */
#invitation .prose p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.note {
  font-size: 0.875rem;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 2.5rem;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}
.rule::before,
.rule::after {
  content: "";
  height: 1px;
  width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold-light));
}
.rule::after {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}
.rule span {
  color: var(--gold);
  font-size: 0.8rem;
}

.pull-quote {
  margin: 4rem 0 0;
  padding: 2.5rem 1rem 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  line-height: 1.55;
  color: var(--ink);
  border-top: 1px solid var(--gold-pale);
}

/* ─── Boutons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95em 2.1em;
  border-radius: var(--radius);
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.btn--solid {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn--solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn--ghost {
  border: 1px solid var(--gold-light);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  will-change: background;
  contain: layout paint;
  transition:
    background 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    height 0.5s var(--ease);
}
.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
  font-family: var(--serif);
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav__brand-mark {
  color: var(--gold);
  font-size: 0.75rem;
}
.nav__links {
  display: flex;
  gap: 2rem;
}
.nav__links a {
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__cta {
  padding: 0.7em 1.5em;
}

/* état scrollé */
.nav.is-stuck {
  background: rgba(246, 239, 227, 0.97);
  box-shadow:
    0 1px 0 rgba(146, 112, 31, 0.2),
    0 12px 32px -22px rgba(58, 52, 44, 0.4);
}
/* au-dessus du hero : texte clair sur image */
.nav:not(.is-stuck) .nav__brand,
.nav:not(.is-stuck) .nav__links a {
  color: var(--ink);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem 0.2rem;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s;
}
.nav.is-open .nav__burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav.is-open .nav__burger span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__mobile {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: var(--paper);
  border-bottom: 1px solid var(--gold-pale);
  padding: 1.25rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  box-shadow: 0 20px 40px -28px rgba(58, 52, 44, 0.6);
}
.nav__mobile a {
  text-decoration: none;
  padding: 0.85rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(185, 146, 79, 0.18);
}
.nav__mobile .btn {
  margin-top: 1.4rem;
  border-bottom: 0;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 5rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(246, 239, 227, 0.86) 0%, rgba(246, 239, 227, 0.5) 45%, transparent 75%),
    linear-gradient(180deg, rgba(246, 239, 227, 0.6) 0%, transparent 22%, transparent 62%, var(--paper) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  text-shadow: 0 2px 28px rgba(246, 239, 227, 0.8);
}
.hero__title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2.4vw, 1.5rem);
  font-size: clamp(2.1rem, 1rem + 6vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero__star {
  color: var(--gold);
  font-weight: 400;
  font-size: 0.42em;
  line-height: 1;
  transform: translateY(-0.08em);
}
.hero__title-sub {
  font-size: clamp(1.05rem, 0.6rem + 2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.hero__lead {
  max-width: 42ch;
  margin: 0 auto 3.75rem;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
}
.hero__meta {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin: 0 0 2.5rem;
  text-transform: uppercase;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--gold-light));
}
.hero__scroll span {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--gold);
  animation: drop 2.6s var(--ease) infinite;
}
@keyframes drop {
  0% {
    transform: translateY(-52px);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ═══════════ POUR QUI ═══════════ */
.echoes {
  max-width: 940px;
  margin-inline: auto;
  border-top: 1px solid var(--gold-pale);
}
.echo {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: baseline;
  padding: clamp(1.9rem, 3.4vw, 2.9rem) clamp(0rem, 1.5vw, 1.25rem);
  border-bottom: 1px solid var(--gold-pale);
  transition: background 0.5s var(--ease);
}
.echo:hover {
  background: rgba(251, 246, 238, 0.6);
}
.echo__question {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2rem);
  line-height: 1.25;
  color: var(--gold);
  position: relative;
}
.echo__question::before {
  content: "“";
  position: absolute;
  left: -0.55em;
  top: -0.1em;
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold-pale);
}
.echo__body h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  margin: 0 0 0.55rem;
}
.echo__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.statement {
  margin-top: 3.5rem;
  text-align: center;
  padding: 2.5rem 1rem 0;
  border-top: 1px solid var(--gold-pale);
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.85rem);
  line-height: 1.45;
  margin: 0;
}
.statement strong {
  font-weight: 500;
  color: var(--gold);
  font-style: italic;
}
.statement__sub {
  font-size: 1.05rem !important;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 0.9rem !important;
}

/* ═══════════ ÉLÉMENTS ═══════════ */
.elements {
  margin-top: 1rem;
}
.element {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter);
}
.element--rev .element__media {
  order: 2;
}
.element__media {
  position: relative;
}
.element__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  /* masque radial : fond les bords du papier dans la page, rastérisé une seule fois
     (remplace mix-blend-mode, qui obligeait le compositeur à relire le fond) */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 68%, transparent 88%);
  mask-image: radial-gradient(circle at 50% 50%, #000 68%, transparent 88%);
}
.element__media::after {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--el) 11%, transparent) 0%, transparent 68%);
  pointer-events: none;
}
.element__index {
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--el);
  margin: 0 0 0.9rem;
  font-weight: 400;
}
.element__name {
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4rem);
  line-height: 1;
  color: var(--el);
  margin: 0 0 0.3rem;
  letter-spacing: 0.01em;
}
.element__verb {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem);
  color: var(--ink);
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--el) 30%, transparent);
}
.element__body p {
  color: var(--ink-soft);
}
.element__gift {
  margin-top: 1.6rem;
  padding-left: 1.25rem;
  border-left: 2px solid color-mix(in srgb, var(--el) 55%, transparent);
  font-size: 0.95rem;
}
.element__gift span {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--el);
  margin-bottom: 0.4rem;
}

/* ═══════════ TIMELINE ═══════════ */
.timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding-left: clamp(1.5rem, 4vw, 3rem);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-light) 12%, var(--gold-light) 88%, transparent);
}
.timeline__item {
  position: relative;
  padding-bottom: 2.4rem;
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: calc(-1 * clamp(1.5rem, 4vw, 3rem) - 3.5px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper-warm);
  border: 1px solid var(--gold);
  transition: background 0.4s;
}
.timeline__item:hover::before {
  background: var(--gold);
}
.timeline__time {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.timeline__item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}
.timeline__item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ═══════════ SOINS ═══════════ */
.care {
  display: grid;
  gap: 2rem 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.care__item {
  margin: 0;
}
.care__item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  transition: transform 0.6s var(--ease);
}
.care__item:hover img {
  transform: scale(1.02);
}
.care__item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}
.care__item p {
  font-size: 0.925rem;
  text-align: justify;
  color: var(--ink-soft);
  margin: 0;
}

/* ═══════════ SPLIT (lieu / portrait) ═══════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__text .section__title {
  margin-bottom: 1.75rem;
}
.split__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.split__img--tall {
  grid-column: 1 / -1;
  aspect-ratio: 16/10;
}
/* Photos cliquables de la section « le lieu » : le bouton porte le cadrage,
   l'image le remplit. Même comportement au survol que la galerie. */
.split__shot {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.split__shot--tall {
  grid-column: 1 / -1;
  aspect-ratio: 16/10;
}
.split__media .split__shot:not(.split__shot--tall) {
  aspect-ratio: 1/1;
}
.split__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.split__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 52, 44, 0.12);
  opacity: 0;
  transition: opacity 0.4s;
}
.split__shot:hover img {
  transform: scale(1.05);
}
.split__shot:hover::after {
  opacity: 1;
}
.split__media .split__img:not(.split__img--tall) {
  aspect-ratio: 1/1;
}
.split--portrait .split__media {
  grid-template-columns: 1fr;
}
.split__img--portrait {
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -40px rgba(58, 52, 44, 0.7);
}

.ticks,
.crosses {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}
.ticks li,
.crosses li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.ticks li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: var(--gold);
  font-size: 0.7rem;
}
.crosses li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-mute);
}

/* ═══════════ GALERIE ═══════════ */
.gallery {
  display: grid;
  gap: 0.75rem;
  grid-auto-rows: 170px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1500px;
  margin: 3rem auto 0;
  padding-inline: var(--gutter);
}
.gallery__item {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s var(--ease),
    filter 0.5s;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 52, 44, 0.12);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item:hover::after {
  opacity: 1;
}
/* Pavage explicite : 4 colonnes × 5 rangées, sans trou.
   Les vignettes 11 à 17 portent l'attribut hidden : elles sortent de la
   grille mais restent dans le DOM, donc accessibles au carrousel. */
.gallery__item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.gallery__item:nth-child(2) {
  grid-column: 3;
  grid-row: 1 / 3;
}
.gallery__item:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}
.gallery__item:nth-child(4) {
  grid-column: 4;
  grid-row: 2;
}
.gallery__item:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
}
.gallery__item:nth-child(6) {
  grid-column: 2;
  grid-row: 3 / 5;
}
.gallery__item:nth-child(7) {
  grid-column: 3 / 5;
  grid-row: 3 / 5;
}
.gallery__item:nth-child(8) {
  grid-column: 1;
  grid-row: 4;
}
.gallery__item:nth-child(9) {
  grid-column: 1 / 3;
  grid-row: 5;
}
.gallery__item:nth-child(10) {
  grid-column: 3 / 5;
  grid-row: 5;
}

/* ═══════════ TÉMOIGNAGES ═══════════ */
.tcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
  max-width: 1000px;
  margin-inline: auto;
  /* la section n'a pas de chapeau sous son titre : on rend l'air que les
     autres sections obtiennent via leur paragraphe d'introduction */
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.tcard {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid rgba(146, 112, 31, 0.22);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s;
}
.tcard__quote {
  position: relative;
  margin: 0 0 1.6rem;
  flex: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink);
}
.tcard__quote p {
  margin: 0 0 0.85em;
}
.tcard__quote p:last-child {
  margin-bottom: 0;
}
/* le guillemet ouvrant appartient au premier paragraphe, sinon il se
   retrouve seul sur sa ligne au-dessus du texte */
.tcard__quote > p:first-child::before {
  content: "“";
  color: var(--gold);
}
.tcard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-pale);
}
.tcard__who {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.tcard__who img {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.tcard__who > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tcard__who strong {
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.tcard__who em {
  font-size: 0.75rem;
  color: var(--ink-mute);
  font-style: normal;
  letter-spacing: 0.09em;
}

/* Le bouton et le fondu n'apparaissent que si le texte déborde vraiment :
   un témoignage court ne doit pas faire croire qu'il y a une suite. */
.tcard__more {
  flex: none;
  display: none; /* devient visible seulement si l'aperçu est replié */
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.tcard__arrow {
  display: inline-block;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}
.tcard.is-clipped {
  cursor: pointer;
}
.tcard.is-clipped .tcard__more {
  display: inline-flex;
}
.tcard.is-clipped .tcard__quote {
  max-height: calc(1.6em * 5);
  overflow: hidden;
}
/* le texte se dissout dans le papier : signal de troncature */
.tcard.is-clipped .tcard__quote::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.2em;
  background: linear-gradient(180deg, rgba(251, 246, 238, 0) 0%, var(--paper-card) 86%);
  pointer-events: none;
}
.tcard.is-clipped:hover,
.tcard.is-clipped:focus-within {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: 0 26px 46px -34px rgba(58, 52, 44, 0.6);
}
/* au survol, la flèche avance ; le libellé se fonce légèrement */
.tcard.is-clipped:hover .tcard__more,
.tcard.is-clipped:focus-within .tcard__more {
  color: var(--ink);
}
.tcard.is-clipped:hover .tcard__arrow,
.tcard.is-clipped:focus-within .tcard__arrow {
  transform: translateX(5px);
}

/* ─── Pastilles de pagination ─── */
.tpages {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
}
/* Le bouton EST la zone tactile ; la pastille n'est qu'un point dessiné
   en son centre. Les boutons sont côte à côte, donc leurs zones ne se
   chevauchent jamais — et l'agrandissement de la pastille active ne
   déborde pas sur ses voisines. */
.tpages button {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border-radius: 50%;
}
.tpages button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--gold-pale);
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.tpages button:hover::before {
  background: var(--gold-light);
}
.tpages button[aria-current="true"]::before {
  background: var(--gold);
  transform: scale(1.4);
}

/* ─── « Lire le parcours complet » ─── */
.guide__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.35s var(--ease);
}
.guide__more:hover {
  color: var(--ink);
}
.guide__more:hover .tcard__arrow,
.guide__more:focus-visible .tcard__arrow {
  transform: translateX(5px);
}

/* ─── Fenêtre du parcours ─── */
/* Sélecteur composé : .tmodal__panel est déclaré plus bas avec la même
   spécificité et son text-align:center écrasait celui-ci. */
.tmodal__panel.gmodal__panel {
  width: min(720px, 100%);
  text-align: left;
}
.gmodal__panel .eyebrow,
.gmodal__title {
  text-align: center;
}
.gmodal__panel .eyebrow {
  margin-bottom: 0.6rem;
}
.gmodal__title {
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  margin: 0;
}
.gmodal__panel .rule {
  margin: 1.5rem 0 2.25rem;
}
.gmodal__text h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.6rem);
  text-align: left;
  color: var(--gold);
  margin: 2.5rem 0 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-pale);
}
.gmodal__text h3:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.gmodal__text p {
  color: var(--ink-soft);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.gmodal__text p:last-child {
  margin-bottom: 0;
}

/* ─── Fenêtre de lecture ─── */
.tmodal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(32, 28, 23, 0.72);
  animation: fadein 0.3s var(--ease);
}
.tmodal__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(86svh, 800px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem) clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  box-shadow: 0 40px 80px -40px rgba(32, 28, 23, 0.8);
}
.tmodal__panel .rule {
  margin-top: 0;
}
.tmodal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink-mute);
  font-size: 0.95rem;
  transition:
    background 0.3s,
    color 0.3s;
}
.tmodal__close:hover {
  background: var(--paper-deep);
  color: var(--ink);
}
.tmodal__quote {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  line-height: 1.65;
  color: var(--ink);
  text-align: left;
}
.tmodal__quote p {
  margin: 0 0 1.15em;
}
.tmodal__quote p:last-child {
  margin-bottom: 0;
}
.tmodal__quote > p:first-child::before {
  content: "“";
  color: var(--gold);
}
.tmodal__quote > p:last-child::after {
  content: "”";
  color: var(--gold);
}
.tmodal__who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-pale);
}
.tmodal__who img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.tmodal__who > span {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.tmodal__who strong {
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.tmodal__who em {
  font-size: 0.75rem;
  color: var(--ink-mute);
  font-style: normal;
  letter-spacing: 0.09em;
}
.tmodal__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.tnav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-pale);
  border-radius: 50%;
  color: var(--ink-soft);
  transition:
    background 0.35s,
    color 0.35s,
    border-color 0.35s;
}
.tnav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ═══════════ INFOS PRATIQUES ═══════════ */
.facts {
  display: grid;
  gap: 1px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 3.5rem;
}
.fact {
  background: var(--paper-warm);
  padding: 1.9rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fact__label {
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.fact__value {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
}

.includes {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1fr;
}
.includes h3 {
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--gold-pale);
}
.includes h3.mt {
  margin-top: 2.5rem;
}

/* ─── Prochaines sessions ─── */
/* Les dates ont leur propre bloc : une liste qui s'allonge n'a pas sa place
   dans la grille des faits, où chaque case doit tenir en une valeur courte. */
.sessions__title {
  margin-bottom: 1.25rem;
}
.sessions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
  max-width: 760px;
  margin: 0 auto 3.5rem;
}
.session {
  background: var(--paper-card);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.9rem) 1.25rem;
  text-align: center;
}
.session__month {
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 0.7rem;
}
.session__dates {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.65rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.session__to {
  color: var(--gold-light);
  font-size: 0.55em;
  vertical-align: 0.18em;
  margin-inline: 0.3em;
}

/* ═══════════ FAQ ═══════════ */
.faq {
  border-top: 1px solid var(--gold-pale);
}
.faq__item {
  border-bottom: 1px solid var(--gold-pale);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 2.5rem 1.5rem 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:hover {
  color: var(--gold);
}
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.4rem;
  font-family: var(--sans);
  font-weight: 300;
  transition: transform 0.35s var(--ease);
}
.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__body {
  padding: 0 2.5rem 1.6rem 0;
}
.faq__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.975rem;
}
.faq__item[open] .faq__body {
  animation: fadein 0.45s var(--ease);
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════ CTA FINAL ═══════════ */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: calc(var(--sect-y) * 1.15);
  text-align: center;
  background: var(--paper-deep);
  border-top: 1px solid var(--gold-pale);
}
/* l'illustration du crapaud */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/cta-crapaud.webp") center / cover no-repeat;
}
/* voile crème : sans lui le texte devient illisible sur le désert et la nuit.
   Opaque au centre, où se trouve le texte ; plus transparent sur les bords,
   où l'illustration peut respirer. Les deux extrémités se fondent dans la
   section précédente et dans le pied de page sombre. */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 58% 66% at 50% 48%,
      rgba(246, 239, 227, 0.95) 0%,
      rgba(246, 239, 227, 0.88) 42%,
      rgba(246, 239, 227, 0.68) 72%,
      rgba(246, 239, 227, 0.42) 100%
    ),
    linear-gradient(180deg, var(--paper) 0%, rgba(246, 239, 227, 0) 16%, rgba(58, 52, 44, 0) 78%, rgba(58, 52, 44, 0.55) 100%);
}
.cta__title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  margin-bottom: 1.5rem;
}
.cta__text {
  max-width: 52ch;
  margin: 0 auto 2.75rem;
  color: var(--ink-soft);
}
.phone {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  padding: 1.6rem 3rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(251, 246, 238, 0.92);
  transition:
    background 0.45s var(--ease),
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.phone:hover {
  background: var(--paper-card);
  transform: translateY(-3px);
  box-shadow: 0 26px 46px -34px rgba(58, 52, 44, 0.7);
}
.phone__label {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.phone__number {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem);
  letter-spacing: 0.02em;
}
.cta__note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--ink-mute);
}
.cta__note a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold);
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--ink);
  color: var(--paper-warm);
  padding-block: 3rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.5rem;
  justify-content: space-between;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0;
  letter-spacing: 0.03em;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__links a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(241, 231, 215, 0.65);
  transition: color 0.3s;
}
.footer__links a:hover {
  color: var(--gold-light);
}
.footer__copy {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(241, 231, 215, 0.45);
}

/* ═══════════ LIGHTBOX ═══════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 28, 23, 0.94);
  padding: clamp(1rem, 5vw, 4rem);
  animation: fadein 0.3s var(--ease);
}
.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  text-align: center;
}
.lightbox__figure img {
  max-height: 80svh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
}
.lightbox__figure figcaption {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--paper-warm);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}
.lightbox__count {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  color: var(--gold-light);
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: var(--paper-warm);
  font-size: 1.4rem;
  padding: 0.5rem;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--paper-warm);
  font-size: 1.5rem;
  padding: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.lightbox__nav:hover {
  opacity: 1;
}
.lightbox__nav--prev {
  left: 0.5rem;
}
.lightbox__nav--next {
  right: 0.5rem;
}

/* ═══════════ PERFORMANCE DU SCROLL ═══════════ */
/* les blocs lourds et hauts ne sont peints qu'à l'approche du viewport ;
   contain-intrinsic-size réserve leur hauteur pour que la barre ne saute pas */
.element {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}
.gallery {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}
#soins,
#temoignages,
#faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* les images lourdes forment leur propre calque, isolé du reste */
.element__media,
.split__media,
.split__shot,
.care__item img,
.gallery__item {
  contain: paint;
}

/* ═══════════ RÉVÉLATION AU SCROLL ═══════════ */
.reveal,
.element {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in,
.element.is-in {
  opacity: 1;
  transform: none;
}
/* calque libéré une fois l'apparition terminée : pas de mémoire GPU retenue */
.reveal.is-done,
.element.is-done {
  will-change: auto;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1000px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
  }
  /* on repasse en placement automatique, avec quelques accents */
  .gallery__item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .gallery__item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: span 2;
  }
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(6) {
    grid-row: span 2;
  }
  .gallery__item:nth-child(7) {
    grid-column: 1 / 3;
    grid-row: span 2;
  }
}
@media (max-width: 860px) {
  .echo {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: start;
  }
  .echo__question::before {
    display: none;
  }
  .element,
  .split,
  .includes {
    grid-template-columns: 1fr;
  }
  .element--rev .element__media {
    order: 0;
  }
  .split--portrait .split__media {
    max-width: 420px;
    margin-inline: auto;
  }
  .split__img--portrait {
    aspect-ratio: 4/5;
  }
  .care {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  :root {
    --nav-h: 64px;
  }
  #invitation .prose p,
  .gmodal__text p {
    text-align: left;
  }
  .hero__title-line {
    white-space: normal;
  }
  .hero {
    min-height: 94svh;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .care {
    grid-template-columns: 1fr;
  }
  .tcards {
    grid-template-columns: 1fr;
  }
  .phone {
    padding: 1.4rem 1.75rem;
    width: 100%;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer__links {
    justify-content: center;
  }
  .lightbox__nav {
    font-size: 1.2rem;
    padding: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .element {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
  .element,
  .gallery,
  #soins,
  #temoignages,
  #faq {
    content-visibility: visible;
  }
}

@media print {
  .nav,
  .hero__scroll,
  .lightbox,
  .tmodal,
  .tcard__more {
    display: none !important;
  }
  /* à l'impression, les témoignages sont donnés en entier */
  .tcard.is-clipped .tcard__quote {
    max-height: none !important;
    overflow: visible !important;
  }
  .tcard.is-clipped .tcard__quote::after {
    display: none !important;
  }
  .reveal,
  .element {
    opacity: 1 !important;
    transform: none !important;
  }
  body {
    background: #fff;
  }
}
