/* ============================================================
   LIL'ALCHIMIE v2 · Design éditorial moderne
   Vidéo hero plein cadre (visage visible), grille à filets,
   rangées indexées, bandeau CTA. Direction "Feu de camp" : voir la section finale.
   Contraste ≥ .9 · italiques Cormorant +14% · mobile-first.
   ============================================================ */

:root {
  color-scheme: dark;
  /* Direction "Feu de camp" (27 septembre 2026) : nuit chaude brun-vert, ambre, cuivre, vanille, mousse */
  --night:      #141410;
  --night-soft: #1B1A14;
  --panel:      #23211A;
  --moss:       #2F3A2A;
  --moss-light: #7E9A72;
  --ember:      #D89A4A;
  --ember-light:#F3CF96;
  --copper:     #B5653A;
  --purple-deep:#2F3A2A;
  --purple:     #7E9A72;
  --gold:       var(--ember);
  --gold-light: var(--ember-light);
  --gold-deep:  var(--copper);
  --text:       #F5E9D0;
  --text-soft:  rgba(245,233,208,.9);
  --text-muted: rgba(245,233,208,.64);
  --line:       rgba(216,154,74,.2);
  --line-strong:rgba(216,154,74,.48);
  --calli:      'Ephesis', 'Cormorant Garamond', cursive;
  --ease:       cubic-bezier(.2,.8,.2,1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
/* Pas de scroll-behavior:smooth ici : il se bat avec Lenis et rend le défilement pénible. */
html { font-size: 106.25%; scroll-padding-top: 5.5rem; } /* 17px de base : texte global légèrement plus grand */
html.no-js { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--night);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
::selection { background: rgba(212,175,119,.4); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(212,175,119,.22); border-radius: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: 1400px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem); }

/* ---------- Typographie ---------- */
.serif { font-family: 'Fraunces', serif; font-optical-sizing: auto; }
.gradient-gold {
  background: linear-gradient(135deg, #FFF3D6 0%, #F5E8C7 25%, #D4AF77 60%, #8B6F3F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.label {
  font-size: .64rem; font-weight: 500;
  letter-spacing: .36em; text-transform: uppercase;
  color: var(--gold);
}
/* Italiques inline : Cormorant rend visuellement plus petit → bump +18% et graisse 500.
   À n'utiliser que pour de courts accents, jamais des phrases entières. */
p em, li em, dd em, .stmt em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 500;
  font-size: 1.18em; letter-spacing: .004em;
  color: var(--gold-light);
}
h1 em, h2 em, h3 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 400;
  font-size: inherit; color: inherit;
}

/* ---------- Grain (desktop uniquement : coûteux au scroll sur mobile) ---------- */
@media (min-width: 1024px) {
  body::before {
    content: ''; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.91 0 0 0 0 0.78 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .045; mix-blend-mode: overlay;
  }
}

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--night);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .8s ease, visibility .8s ease;
}
#loader.done { opacity: 0; visibility: hidden; }
html.no-js #loader { display: none; } /* sans JS, jamais de voile */
.loader-logo {
  font-family: 'Fraunces', serif; font-size: 2.1rem; letter-spacing: .04em;
  margin-bottom: 1.6rem;
  opacity: 0; transform: translateY(14px);
  animation: lin .8s var(--ease) .1s forwards;
}
.loader-bar { width: 190px; height: 1px; background: rgba(212,175,119,.15); position: relative; overflow: hidden; }
.loader-bar::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: lfill 1.1s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes lin { to { opacity: 1; transform: none; } }
@keyframes lfill { 0%{width:0;left:0} 55%{width:100%;left:0} 100%{width:0;left:100%} }

/* ---------- Curseur (desktop) ---------- */
.cursor-dot, .cursor-ring { display: none; opacity: 0; transition: opacity .3s; }
body.cursor-live .cursor-dot, body.cursor-live .cursor-ring { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  body.js-cursor, body.js-cursor a, body.js-cursor button { cursor: none; }
  .cursor-dot, .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; border-radius: 50%;
    pointer-events: none; z-index: 9999; mix-blend-mode: difference; will-change: transform;
  }
  .cursor-dot  { width: 6px; height: 6px; background: #F5E8C7; transition: opacity .25s; }
  .cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(245,232,199,.6);
    transition: width .35s var(--ease), height .35s var(--ease), border-color .3s, opacity .3s; }
  .cursor-ring.hover { width: 58px; height: 58px; border-color: rgba(245,232,199,.9); }
  body.cursor-live .cursor-dot.hover { opacity: 0; }
}

#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold)); z-index: 9997; }

/* ---------- Nav ---------- */
#nav { position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .5s, border-color .5s; border-bottom: 1px solid transparent; }
#nav.scrolled {
  background: rgba(7,6,13,.86);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1400px; margin-inline: auto;
  padding: 1.05rem clamp(1.25rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); background: rgba(20,17,29,.6); }
.brand-mark svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.brand-name { font-family: 'Fraunces', serif; font-size: 1.15rem; line-height: 1; }
.brand-sub { font-size: .5rem; letter-spacing: .42em; text-transform: uppercase; color: rgba(212,175,119,.8); }
.nav-links { display: none; gap: 2.1rem; font-size: .82rem; }
.nav-links a { color: var(--text-soft); transition: color .3s; }
.nav-links a:hover { color: var(--gold-light); }
@media (min-width: 1024px) { .nav-links { display: flex; } }

.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.menu-btn span { height: 1px; background: var(--gold-light); transition: transform .4s var(--ease); }
.menu-btn.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn.open span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

#menu { position: fixed; inset: 0; z-index: 80;
  background: rgba(7,6,13,.96);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: flex; flex-direction: column; justify-content: flex-start;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 6rem 2rem 3rem;
  opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
/* Centrage vertical quand la place existe, défilement quand le menu dépasse (paysage) */
#menu > a:first-of-type { margin-top: auto; }
#menu > .menu-foot { margin-bottom: auto; }
#menu.open { opacity: 1; visibility: visible; }
/* Défilement verrouillé derrière le menu (Lenis ou natif) */
html.menu-open, html.menu-open body { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
#menu a { font-family: 'Fraunces', serif; font-size: clamp(1.9rem, 8vw, 2.9rem);
  padding-block: .5rem; opacity: 0; transform: translateY(18px);
  transition: opacity .5s, transform .5s var(--ease), color .3s; }
#menu.open a { opacity: 1; transform: none; }
#menu.open a:nth-child(1){transition-delay:.06s} #menu.open a:nth-child(2){transition-delay:.12s}
#menu.open a:nth-child(3){transition-delay:.18s} #menu.open a:nth-child(4){transition-delay:.24s}
#menu.open a:nth-child(5){transition-delay:.30s} #menu.open a:nth-child(6){transition-delay:.36s}
#menu a:hover { color: var(--gold-light); }
#menu .menu-foot { margin-top: 2.6rem; font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--text-muted); }

/* ---------- Boutons ---------- */
.btn-gold {
  position: relative;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.1rem 2.3rem; border-radius: 9999px;
  background: linear-gradient(135deg, #F5E8C7 0%, #D4AF77 50%, #A8814A 100%);
  color: #1a0f1f; font-size: .66rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  box-shadow: 0 12px 34px rgba(212,175,119,.24),
    inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(139,111,63,.4);
  transition: box-shadow .5s; will-change: transform;
}
.btn-gold:hover { box-shadow: 0 20px 54px rgba(212,175,119,.44), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold--sm { padding: .68rem 1.35rem; font-size: .58rem; letter-spacing: .2em; white-space: nowrap; }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
@media (max-width: 420px) { /* nav compacte : bouton sur une ligne sans pousser le menu contre le bord */
  .nav-inner { gap: .5rem; } .nav-cta { gap: .5rem; }
  .btn-gold--sm { padding: .62rem .85rem; font-size: .54rem; letter-spacing: .16em; }
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 1.9rem; border: 1px solid var(--line-strong); border-radius: 9999px;
  color: var(--gold-light); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  transition: background .4s, border-color .4s, color .4s;
}
.btn-ghost:hover { background: rgba(212,175,119,.1); border-color: var(--gold); color: var(--gold); }

/* ---------- HERO (vidéo plein cadre, visage visible) ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--night); }
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 66% 20%;
  /* Pas de flou : le visage doit se voir. Étalonnage chaud léger. */
  filter: contrast(1.06) brightness(.95) sepia(.3) saturate(1.15) hue-rotate(-8deg);
}
.hero-tint { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 30%, rgba(212,175,119,.16), transparent 55%);
  mix-blend-mode: soft-light; }
/* Voile latéral : sombre côté texte, transparent côté visage */
.hero-scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,6,13,.94) 0%, rgba(7,6,13,.74) 32%, rgba(7,6,13,.2) 58%, rgba(7,6,13,0) 76%),
    linear-gradient(180deg, rgba(7,6,13,.5) 0%, transparent 22%, transparent 64%, rgba(7,6,13,.9) 100%);
}
@media (max-width: 900px) {
  .hero video { object-position: center 16%;
    /* Filtre allégé sur mobile : fluidité du scroll */
    filter: contrast(1.05) brightness(.95) saturate(1.1); }
  /* Mobile : visage en haut, texte en bas → voile vertical */
  .hero-scrim { background:
    linear-gradient(180deg, rgba(7,6,13,.55) 0%, transparent 22% 40%, rgba(7,6,13,.55) 62%, rgba(7,6,13,.96) 86%); }
}
.hero-frame {
  position: relative; z-index: 5;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: 6.2rem; padding-bottom: clamp(2.2rem, 6vh, 4.5rem);
}
/* Bandeau méta : pastilles en surbrillance, lisibles sur la vidéo */
.hero-meta { display: flex; justify-content: space-between; gap: .7rem; flex-wrap: wrap; }
.hero-meta span {
  display: inline-block;
  padding: .55rem 1rem;
  border: 1px solid rgba(212,175,119,.35);
  border-radius: 10px;
  background: rgba(7,6,13,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .68rem; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-light);
}
.hero-title {
  margin: 0 0 -.1em; padding-bottom: .1em; text-wrap: balance;
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(3rem, 11.5vw, 10.4rem);
  line-height: .96; letter-spacing: -0.03em;
}
.hero-sub {
  margin: 1.2rem 0 0;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.35rem, 3.6vw, 2.2rem);
  color: var(--gold-light);
  text-wrap: balance;
}
.hero-pitch { margin: 1.6rem 0 0; max-width: 31rem; color: var(--text-soft); font-size: 1.06rem; }
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.scroll-cue { position: absolute; right: clamp(1.25rem,5vw,4rem); bottom: 2rem; z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .55rem; letter-spacing: .38em; text-transform: uppercase; color: rgba(212,175,119,.75); }
.scroll-cue::after { content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(212,175,119,.7), transparent); }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* Split text */
.split-word { display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0 .06em .16em; margin: 0 -.06em -.16em; } /* marge interne : descendantes et débords italiques jamais rognés */
.split-char { display: inline-block; opacity: 0; transform: translateY(58%) rotate(5deg); will-change: transform, opacity; }
html.no-js .split-char, html.reduced .split-char { opacity: 1; transform: none; }

  100%{transform:translateY(-100vh) translateX(var(--drift,30px));opacity:0} }

/* ---------- Sections & en-têtes ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8.5rem); background: var(--night); }
.section--soft { background: var(--night-soft); }

.shead {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-top: 1.3rem; border-top: 1px solid var(--line);
  margin-bottom: clamp(2.2rem, 6vw, 4rem);
}
.shead .idx { display: flex; align-items: baseline; gap: 1rem; }
.shead .idx .n { font-family: 'Fraunces', serif; font-size: .95rem; color: var(--gold-light); }
.shead .meta { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 640px) { .shead .meta { display: none; } }

.h2 {
  margin: 0 0 -.1em; padding-bottom: .1em; text-wrap: balance;
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(2.3rem, 6.6vw, 5.4rem);
  line-height: 1.02; letter-spacing: -0.02em;
}
.h2 + .intro { margin-top: 1.8rem; }
.intro { max-width: 42rem; color: var(--text-soft); font-size: 1.1rem; }

/* Reveal */
html.js .reveal { opacity: 0; transform: translateY(40px);
  transition: opacity .95s ease, transform .95s var(--ease); }
html.js .reveal.visible { opacity: 1; transform: none; }

/* Chips piliers */
.chips { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.2rem; }
.chip { padding: .58rem 1.1rem; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(20,17,29,.55); font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-light); }

/* ---------- Rangées indexées (accompagnements / bénéfices) ---------- */
.rows { border-bottom: 1px solid var(--line); }
.rowi {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(1.7rem, 4vw, 2.7rem) 0;
  display: grid; gap: .8rem 2.4rem;
  transition: padding-left .5s var(--ease);
}
@media (min-width: 900px) {
  .rowi { grid-template-columns: 4.2rem minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}
.rowi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--gold-light), var(--gold-deep));
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .rowi:hover { padding-left: 1.3rem; }
  .rowi:hover::before { transform: scaleY(1); }
  .rowi:hover h3 { color: var(--gold-light); }
}
.rowi .num { font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: var(--gold); line-height: 1.3; }
.rowi h3 { margin: 0; font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(1.65rem, 3.8vw, 2.6rem); line-height: 1.06; transition: color .4s; }
.rowi .tag { margin-top: .55rem; font-size: .56rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold); }
.rowi .desc { color: var(--text-soft); font-size: 1.02rem; }
.rowi .goal { display: block; margin-top: .75rem;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.22rem; color: var(--gold-light); }

/* ---------- Grande citation (fond solide) ---------- */
.bigquote { text-align: center; padding-block: clamp(5.5rem, 13vh, 9rem); }
.bigquote blockquote { margin: 0; text-wrap: balance;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.9rem, 6vw, 4.4rem); line-height: 1.22; }
.bigquote .hl { font-style: normal; color: var(--gold-light); }
.bigquote figcaption { margin-top: 2rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-size: .58rem; letter-spacing: .44em; text-transform: uppercase; color: rgba(212,175,119,.9); }
.bigquote figcaption::before, .bigquote figcaption::after {
  content: ''; width: 2.4rem; height: 1px; background: rgba(212,175,119,.5); }

/* ---------- Honoraires ---------- */
.price-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1.1rem;
  padding-block: 1.5rem; border-top: 1px solid var(--line); }
.price-name { font-family: 'Fraunces', serif; font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 400; }
.price-note { flex-basis: 100%; font-family: 'Inter', sans-serif; font-size: .8rem;
  color: var(--text-muted); margin-top: -.6rem; letter-spacing: .02em; }
.price-leader { flex: 1; border-bottom: 1px solid rgba(212,175,119,.22); transform: translateY(-5px); }
.price-meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap; }
.price-amt { font-family: 'Fraunces', serif; font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--gold-light); white-space: nowrap; }
@media (max-width: 540px) {
  .price-leader { display: none; }
  .price-row { flex-wrap: wrap; row-gap: .15rem; }
  .price-note { margin-top: .3rem; }
  .price-name { flex: 1 1 100%; }
  .price-amt { margin-left: auto; }
}
.price-mentions { margin-top: 1.9rem; font-size: .8rem; line-height: 1.85; color: var(--text-muted); }

/* Billboard : l'offre Biotypes */
.billboard {
  position: relative; display: block; overflow: hidden;
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3.4rem);
  border: 1px solid var(--line-strong); border-radius: 18px;
  background: linear-gradient(120deg, #1F1535 0%, #12101B 55%, #0B0912 100%);
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.billboard:hover { border-color: var(--gold); transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.billboard .label { display: block; margin-bottom: 1rem; }
.billboard h3 { margin: 0 0 -.12em; padding-bottom: .12em; text-wrap: balance; font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(1.9rem, 5.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.015em; }
.billboard .bb-meta { margin-top: 1.2rem; display: flex; flex-wrap: wrap;
  align-items: baseline; gap: .9rem 2rem; }
.billboard .bb-dur { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text-muted); }
.billboard .bb-amt { font-family: 'Fraunces', serif; font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--gold-light); }
.billboard .bb-arrow { position: absolute; right: clamp(1.6rem, 4vw, 3rem); top: 50%;
  transform: translateY(-50%);
  font-family: 'Fraunces', serif; font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--gold); transition: transform .5s var(--ease); }
.billboard:hover .bb-arrow { transform: translateY(-50%) translateX(10px); }
@media (max-width: 640px) { .billboard .bb-arrow { display: none; } }

/* ---------- Praticienne ---------- */
.pract { display: grid; gap: 2.6rem; align-items: start; }
@media (min-width: 960px) { .pract { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 5rem); } }
.portrait { position: relative; margin: 0; overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(212,175,119,.3);
  aspect-ratio: 4 / 5; background: linear-gradient(150deg, #1F1535, #0E0C16 60%, #07060D); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%;
  filter: sepia(.3) contrast(1.05) brightness(.97) saturate(1.15); }
.portrait::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(212,175,119,.15), transparent 45%, rgba(7,6,13,.3));
  mix-blend-mode: soft-light; }
.portrait figcaption { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 2;
  font-size: .55rem; letter-spacing: .38em; text-transform: uppercase;
  color: rgba(244,236,218,.9); text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.portrait.portrait--empty img { display: none; }
.portrait.portrait--empty::before { content: ''; position: absolute; inset: 0; margin: auto; width: 3.6rem; height: 3.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(212,175,119,.5)' stroke-width='1.2'%3E%3Cpath d='M12 3.5 L17.5 12.5 H6.5 Z'/%3E%3Cline x1='12' y1='12.5' x2='12' y2='20.5'/%3E%3Cline x1='8' y1='17' x2='16' y2='17'/%3E%3C/svg%3E") center / contain no-repeat; }

.pract-title { margin-top: .7rem; font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); }
.pract-accroche { margin: 1.5rem 0 1rem;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem); color: var(--gold-light); }
.pract-bio { max-width: 37rem; color: var(--text-soft); font-size: 1.06rem; }

.pract-quote { margin: 1.7rem 0 0; padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.4; color: var(--gold-light); }

.fmt { list-style: none; margin: 2.6rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.fmt li { display: grid; gap: .2rem 1.6rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .fmt li { grid-template-columns: 9.5rem 1fr; } }
.fmt .y { font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); padding-top: .3rem; }
.fmt .t { font-family: 'Fraunces', serif; font-size: 1rem; }
.fmt .o { display: block; font-size: .78rem; font-style: italic; color: var(--text-muted); margin-top: .1rem; }

/* ---------- Statements (cadre & transparence) ---------- */
.stmts { max-width: 46rem; border-bottom: 1px solid var(--line); }
.stmt { margin: 0; padding-block: 1.55rem; border-top: 1px solid var(--line);
  font-size: 1.1rem; line-height: 1.7; color: var(--text); }

/* ---------- Réponses polyvagales (page Biotypes) ---------- */
.pv-rows { border-bottom: 1px solid var(--line); }
.pv { position: relative; border-top: 1px solid var(--line);
  padding: clamp(1.9rem, 4.6vw, 3rem) 0;
  display: grid; gap: 1.3rem 2.4rem; }
@media (min-width: 980px) {
  .pv { grid-template-columns: 92px minmax(0, 5fr) minmax(0, 4fr); align-items: start; }
}
.glyph-tile { width: 80px; height: 80px; border-radius: 16px;
  border: 1px solid rgba(212,175,119,.28);
  display: grid; place-items: center; }
@media (min-width: 980px) { .glyph-tile { width: 96px; height: 96px; } }
.glyph { width: 64%; height: 64%; overflow: visible; }
.glyph path { fill: none; stroke: var(--gold-light); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  transform-box: fill-box; transform-origin: center; }
/* Tracé progressif à l'entrée de la rangée */
html.js .glyph path { stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease); }
html.js .pv.visible .glyph path { stroke-dashoffset: 0; }
.pv.visible .glyph path:nth-child(1) { transition-delay: .15s; }
.pv.visible .glyph path:nth-child(2) { transition-delay: .32s; }
.pv.visible .glyph path:nth-child(3) { transition-delay: .5s; }
.pv.visible .glyph path:nth-child(4) { transition-delay: .66s; }
.pv.visible .glyph path:nth-child(5) { transition-delay: .82s; }
/* Micro-vie de chaque symbole, après le tracé */
.pv.visible .glyph-combat path:nth-child(-n+2) { animation: g-thrust 2.6s ease-in-out 1.8s infinite; }
@keyframes g-thrust { 0%,100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.pv.visible .glyph-fuite path:nth-child(-n+3) { animation: g-flee 2.8s ease-in-out 1.8s infinite; }
.pv.visible .glyph-fuite path:nth-child(2) { animation-delay: 2.1s; }
.pv.visible .glyph-fuite path:nth-child(3) { animation-delay: 2.4s; }
@keyframes g-flee { 0%,100% { transform: translateX(0); opacity: 1; }
  55% { transform: translateX(-7px); opacity: .25; } }
.pv.visible .glyph-figement path:nth-child(1) { animation: g-breathe 4.5s ease-in-out 1.8s infinite; }
@keyframes g-breathe { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .55; } }
.pv.visible .glyph-lien path:nth-child(1) { animation: g-link-a 3.6s ease-in-out 1.8s infinite; }
.pv.visible .glyph-lien path:nth-child(2) { animation: g-link-b 3.6s ease-in-out 1.8s infinite; }
@keyframes g-link-a { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-2.5px); } }
@keyframes g-link-b { 0%,100% { transform: translateX(0); } 50% { transform: translateX(2.5px); } }
.pv .sys { font-size: .55rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .4rem; }
.pv h3 { margin: 0; font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.02; }
.pv .motto { margin: .45rem 0 .9rem;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.25rem; color: var(--gold-light); }
.pv .pv-desc { margin: 0; color: var(--text-soft); font-size: 1.02rem; max-width: 30rem; }
.pv .traits { display: grid; gap: 1.1rem; align-content: start; }
.pv .tk { font-size: .55rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .3rem; }
.pv .tv { margin: 0; font-size: .96rem; color: var(--text-soft); }

/* Teintes élémentaires, en retrait derrière le symbole tracé */
.sw-combat   { background: radial-gradient(circle at 32% 30%, rgba(166,61,42,.5), transparent 72%), var(--panel); }
.sw-fuite    { background: radial-gradient(circle at 32% 30%, rgba(91,124,186,.45), transparent 72%), var(--panel); }
.sw-figement { background: radial-gradient(circle at 32% 30%, rgba(107,78,158,.5), transparent 72%), var(--panel); }
.sw-lien     { background: radial-gradient(circle at 32% 30%, rgba(212,175,119,.45), transparent 72%), var(--panel); }

/* Onde vagale (hero Biotypes) : signal du système nerveux, discret et vivant */
.pulse { position: absolute; left: 0; right: 0; top: 40%; height: 140px; width: 100%;
  z-index: 2; opacity: .28; pointer-events: none; }
.pulse path { fill: none; stroke: var(--gold); stroke-width: 1.5;
  stroke-linecap: round; stroke-dasharray: 6 14;
  animation: pulse-flow 9s linear infinite; }
@keyframes pulse-flow { to { stroke-dashoffset: -200; } }
@media (max-width: 900px) { .pulse { top: 32%; opacity: .2; } }

/* ---------- CTA final + prix ---------- */
.cta-final { text-align: center; }
.cta-lead { margin: 1.7rem auto 0; max-width: 34rem;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem); line-height: 1.45; color: var(--text-soft); }
.cta-price { display: inline-flex; align-items: center; gap: 1.3rem; margin-block: 2.2rem; }
.cta-price::before, .cta-price::after { content: ''; width: 2.7rem; height: 1px;
  background: rgba(212,175,119,.55); }
.cta-price span { font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--gold-light); }
.cta-meta { margin-top: 1.9rem; font-size: .62rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--text-muted); text-wrap: balance; }


/* ---------- Footer ---------- */
footer { background: var(--night); padding: 4.8rem 0 2.6rem; }
.foot-grid { display: grid; gap: 2.6rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.foot-h { margin: 0 0 1.1rem; font-family: 'Inter', sans-serif; font-weight: 400;
  font-size: .58rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.foot-list { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; }
.foot-list a { color: var(--text-soft); transition: color .3s; }
.foot-list a:hover { color: var(--gold-light); }
.foot-muted { color: var(--text-muted); }
.foot-tagline { margin-top: 1rem; max-width: 21rem; font-size: .92rem; color: var(--text-soft); }
.foot-legal { margin-top: 3.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; font-size: .7rem; color: var(--text-muted); }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.foot-legal nav a:hover { color: var(--gold-light); }
.foot-motto { font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: rgba(212,175,119,.8); }

/* ---------- 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; }
  #loader { display: none; }
  html.js .glyph path { stroke-dashoffset: 0 !important; transition: none; animation: none !important; }
  .pulse path { animation: none; }

  html.js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   DIRECTION "FEU DE CAMP" (27 septembre 2026)
   Nuit chaude brun-vert, jamais noire, éclairée par en bas comme un feu de
   camp ; l'or froid devient ambre et cuivre, le texte est vanille, la mousse
   des sous-bois affleure dans les panneaux. Mot-marque calligraphique.
   ============================================================ */
::selection { background: rgba(216,154,74,.45); color: #FFF8EA; }
::-webkit-scrollbar-thumb { background: rgba(216,154,74,.26); }

/* Dégradé des titres : vanille, ambre clair, ambre, cuivre */
.gradient-gold {
  background: linear-gradient(135deg, #FBEDD3 0%, #F3CF96 26%, #D89A4A 62%, #B5653A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Grain de film réchauffé (vanille ambrée) */
@media (min-width: 1024px) {
  body::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.84 0 0 0 0 0.62 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .05;
  }
}

/* Mot-marque et devise en calligraphie (Ephesis), réservés à ces trois emplois */
.brand-name { font-family: var(--calli); font-weight: 400; font-size: 1.75rem; line-height: .95; letter-spacing: .01em; }
.loader-logo { font-family: var(--calli); font-weight: 400; font-size: 3.4rem; letter-spacing: .01em; }
.foot-motto { font-family: var(--calli); font-style: normal; font-size: 1.45rem; color: rgba(216,154,74,.88); }

/* Loader, curseur, nav */
#loader { background: radial-gradient(ellipse at 50% 100%, rgba(216,154,74,.14), transparent 60%), var(--night); }
.loader-bar { background: rgba(216,154,74,.18); }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot  { background: #F3CF96; }
  .cursor-ring { border-color: rgba(243,207,150,.6); }
  .cursor-ring.hover { border-color: rgba(243,207,150,.9); }
}
#nav.scrolled { background: rgba(20,20,16,.86); }
.brand-mark { border-color: rgba(126,154,114,.45); background: rgba(47,58,42,.6); }
.brand-sub { color: rgba(216,154,74,.85); }
#menu { background: rgba(20,20,16,.96); }

/* Boutons */
.btn-gold {
  background: linear-gradient(135deg, #F7DDAE 0%, #D89A4A 52%, #C9773F 100%);
  color: #1F1508;
  box-shadow: 0 12px 34px rgba(216,154,74,.26),
    inset 0 1px 0 rgba(255,244,222,.6), inset 0 -1px 0 rgba(181,101,58,.45);
}
.btn-gold:hover { box-shadow: 0 20px 54px rgba(216,154,74,.46), inset 0 1px 0 rgba(255,244,222,.65); }
.btn-ghost:hover { background: rgba(216,154,74,.1); }

/* Hero : lueur de feu par en bas */
.hero {
  background:
    radial-gradient(ellipse at 50% 112%, rgba(216,154,74,.2), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(126,154,114,.12), transparent 50%),
    var(--night);
}
.hero video { filter: contrast(1.05) brightness(.94) sepia(.34) saturate(1.18) hue-rotate(-6deg); }
.hero-tint {
  background:
    radial-gradient(ellipse at 22% 92%, rgba(216,154,74,.34), transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(216,154,74,.14), transparent 55%);
}
.hero-scrim {
  background:
    radial-gradient(ellipse at 14% 100%, rgba(216,154,74,.16), transparent 48%),
    linear-gradient(90deg, rgba(20,20,16,.94) 0%, rgba(20,20,16,.74) 32%, rgba(20,20,16,.2) 58%, rgba(20,20,16,0) 76%),
    linear-gradient(180deg, rgba(20,20,16,.5) 0%, transparent 22%, transparent 64%, rgba(20,20,16,.92) 100%);
}
@media (max-width: 900px) {
  .hero video { filter: contrast(1.05) brightness(.95) sepia(.2) saturate(1.12); }
  .hero-scrim {
    background:
      radial-gradient(ellipse at 50% 100%, rgba(216,154,74,.12), transparent 50%),
      linear-gradient(180deg, rgba(20,20,16,.55) 0%, transparent 22% 40%, rgba(20,20,16,.55) 62%, rgba(20,20,16,.96) 86%);
  }
}
.hero-meta span { border-color: rgba(216,154,74,.4); background: rgba(20,20,16,.64); }
.scroll-cue { color: rgba(216,154,74,.8); }
.scroll-cue::after { background: linear-gradient(to bottom, rgba(216,154,74,.75), transparent); }

/* Sections : alternance nuit / mousse, transitions en dégradé (jamais de ligne droite) */
.section {
  background: radial-gradient(ellipse at 0% 100%, rgba(216,154,74,.07), transparent 50%), var(--night);
}
.section--soft {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(126,154,114,.14), transparent 55%),
    linear-gradient(180deg, var(--night) 0%, var(--night-soft) 14%, var(--night-soft) 86%, var(--night) 100%);
}
.section[aria-label^="Citation"] {
  background: radial-gradient(ellipse at 50% 55%, rgba(216,154,74,.12), transparent 58%), var(--night);
}
.bigquote figcaption { color: rgba(216,154,74,.9); }
.bigquote figcaption::before, .bigquote figcaption::after { background: rgba(216,154,74,.55); }
.chip { background: rgba(47,58,42,.6); border-color: rgba(126,154,114,.35); }

/* Honoraires : tout se découvre en un clic */
.disc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.disc-sum { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; font-family: 'Fraunces', serif; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--gold-light);
  transition: color .3s; }
.disc-sum::-webkit-details-marker { display: none; }
.disc-sum:hover { color: #FFF3DC; }
.disc-icon { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; flex: none;
  transition: background .4s, transform .5s var(--ease); }
.disc-icon::before, .disc-icon::after { content: ''; position: absolute; inset: 0; margin: auto; background: var(--gold); }
.disc-icon::before { width: 1rem; height: 1px; }
.disc-icon::after { width: 1px; height: 1rem; transition: transform .4s var(--ease); }
.disc[open] .disc-icon { background: rgba(216,154,74,.12); }
.disc[open] .disc-icon::after { transform: scaleY(0); }
.disc-body { padding: .6rem 0 2.2rem; animation: disc-in .8s var(--ease) both; }
@keyframes disc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.disc--center { max-width: 32rem; margin: 1.8rem auto 0; }
.disc--center .disc-sum { justify-content: center; }
.disc--center .disc-body { padding-bottom: .6rem; }
.disc--center .cta-price { margin-block: 1.2rem .6rem; }
.disc--center .price-mentions { margin-top: .2rem; }
.price-leader { border-bottom-color: rgba(216,154,74,.26); }
.billboard {
  background:
    radial-gradient(ellipse at 88% 50%, rgba(216,154,74,.14), transparent 50%),
    linear-gradient(120deg, #2F3A2A 0%, #1F2219 55%, #17170F 100%);
  border-color: rgba(216,154,74,.42);
}
.billboard:hover { border-color: var(--ember); box-shadow: 0 30px 70px rgba(10,10,6,.55); }

/* Praticienne */
.portrait { border-color: rgba(216,154,74,.35); background: linear-gradient(150deg, #2F3A2A, #1B1A14 60%, #141410); }
.portrait img { filter: sepia(.32) contrast(1.05) brightness(.97) saturate(1.18); }
.portrait::after { background: linear-gradient(160deg, rgba(216,154,74,.2), transparent 45%, rgba(20,20,16,.35)); }
.portrait figcaption { color: rgba(245,233,208,.92); text-shadow: 0 2px 12px rgba(10,10,6,.75); }

/* Biotypes : tuiles élémentaires */
.glyph-tile { border-color: rgba(216,154,74,.32); }
.sw-combat   { background: radial-gradient(circle at 32% 30%, rgba(178,66,38,.55), transparent 72%), var(--panel); }
.sw-fuite    { background: radial-gradient(circle at 32% 30%, rgba(86,112,132,.45), transparent 72%), var(--panel); }
.sw-figement { background: radial-gradient(circle at 32% 30%, rgba(126,154,114,.42), transparent 72%), var(--panel); }
.sw-lien     { background: radial-gradient(circle at 32% 30%, rgba(216,154,74,.5), transparent 72%), var(--panel); }

/* CTA final : le feu de camp */
.section.cta-final {
  background:
    radial-gradient(ellipse at 50% 108%, rgba(216,154,74,.2), transparent 52%),
    radial-gradient(ellipse at 50% 100%, rgba(181,101,58,.1), transparent 70%),
    var(--night);
}
.cta-price::before, .cta-price::after { background: rgba(216,154,74,.6); }

/* Pied de page */
footer { background: radial-gradient(ellipse at 50% 0%, rgba(216,154,74,.07), transparent 55%), var(--night); }

@media (prefers-reduced-motion: reduce) {
  .disc-body { animation: none; }
}


/* ============================================================
   VARIANTE "NERF" : carte du systeme nerveux (biotypes.html, section 02)
   Une ligne verticale doree en pointilles traverse la section, animee en
   flux lent (comme l'onde .pulse du hero). Quatre noeuds de verre liquide
   (le glyphe trace dans un cercle translucide) s'y accrochent en alternance
   gauche / droite. Au clic ou au toucher, une carte de verre se deploie de
   l'autre cote de la ligne avec la description, les forces et les fragilites.
   Imagerie de fond : degrades et textures procedurales (feTurbulence) aux
   couleurs des quatre matieres. Gravure discrete : fleur de vie en filets,
   anneaux, symboles alchimiques des elements (feu, eau, terre, air).
   Natif, sans dependance. Repli complet en prefers-reduced-motion.
   Se charge apres styles.css et theme-braise.css.
   Mobile : la ligne passe a gauche, les cartes s'empilent sous chaque noeud.
   ============================================================ */

.nerf {
  --n-ember: var(--ember, #D89A4A);
  --n-ember-light: var(--ember-light, #F3CF96);
  --n-copper: var(--copper, #B5653A);
  --n-night: var(--night-soft, #1B1A14);
  --n-text: var(--text, #F5E9D0);
  --n-text-soft: var(--text-soft, rgba(245,233,208,.9));
  --n-ease: var(--ease, cubic-bezier(.2,.8,.2,1));
  --n-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .84 0 0 0 0 .62 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --orb: 128px;          /* diametre du noeud de verre */
  --gap-x: 30px;         /* filament entre l'axe et le noeud */
  --head-pad: .6rem;     /* marge verticale du bouton */
  --card-gap: 3.2rem;    /* filament entre l'axe et la carte */
  --knot-y: calc(var(--head-pad) + var(--orb) / 2); /* ordonnee de la synapse */
  --axis-x: 50%;
  position: relative;
  padding-block: 3rem 3.2rem;
  margin-top: -.6rem;
}

/* ---------- Matieres : degrades et textures procedurales ---------- */
.nerf-node--combat {
  --m-a: rgba(216,154,74,.72); --m-b: rgba(140,52,28,.8); --m-c: rgba(62,34,20,.96); --m-aura: rgba(216,154,74,.34);
  --m-bg: radial-gradient(ellipse at 16% 100%, rgba(216,154,74,.6), rgba(216,154,74,0) 56%),
          radial-gradient(ellipse at 86% 0%, rgba(122,46,28,.7), rgba(122,46,28,0) 58%),
          linear-gradient(160deg, #3B2418 0%, #24190F 46%, #1B1A14 100%);
  --m-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014' numOctaves='4' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9 0 0 0 0 .58 0 0 0 0 .26 0 0 0 1.2 -.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
.nerf-node--fuite {
  --m-a: rgba(74,118,110,.62); --m-b: rgba(181,101,58,.55); --m-c: rgba(22,42,40,.96); --m-aura: rgba(88,130,122,.3);
  --m-bg: radial-gradient(ellipse at 74% 100%, rgba(181,101,58,.38), rgba(181,101,58,0) 52%),
          radial-gradient(ellipse at 18% 8%, rgba(74,118,110,.6), rgba(74,118,110,0) 58%),
          linear-gradient(160deg, #1E3230 0%, #1B2622 50%, #1B1A14 100%);
  --m-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='.018 .06' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .8 0 0 0 0 .72 0 0 0 1.5 -.22'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
.nerf-node--figement {
  --m-a: rgba(178,190,198,.38); --m-b: rgba(245,233,208,.32); --m-c: rgba(44,50,56,.96); --m-aura: rgba(200,208,214,.2);
  --m-bg: radial-gradient(ellipse at 50% 0%, rgba(245,233,208,.24), rgba(245,233,208,0) 56%),
          radial-gradient(ellipse at 92% 92%, rgba(126,140,150,.38), rgba(126,140,150,0) 55%),
          linear-gradient(160deg, #2C3238 0%, #232628 50%, #1B1A14 100%);
  --m-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .92 0 0 0 0 .84 0 0 0 2 -.78'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
.nerf-node--lien {
  --m-a: rgba(126,154,114,.62); --m-b: rgba(216,154,74,.58); --m-c: rgba(38,48,34,.96); --m-aura: rgba(150,170,110,.3);
  --m-bg: repeating-linear-gradient(112deg, rgba(243,207,150,0) 0 38px, rgba(243,207,150,.045) 38px 52px, rgba(243,207,150,0) 52px 74px),
          radial-gradient(ellipse at 84% 6%, rgba(216,154,74,.55), rgba(216,154,74,0) 52%),
          radial-gradient(ellipse at 12% 94%, rgba(126,154,114,.55), rgba(126,154,114,0) 56%),
          linear-gradient(160deg, #2F3A2A 0%, #232A1F 50%, #1B1A14 100%);
  --m-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.022' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .8 0 0 0 0 .5 0 0 0 1.6 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ---------- Axe : ligne doree en pointilles, flux lent ---------- */
.nerf-axis {
  position: absolute; top: 0; bottom: 0; left: var(--axis-x); width: 4px; margin-left: -2px;
  pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(216,154,74,.92) 0 1.3px, rgba(216,154,74,0) 2px),
    linear-gradient(to bottom, rgba(216,154,74,.14), rgba(216,154,74,.14));
  background-size: 4px 12px, 1px 100%;
  background-position: 0 0, 50% 0;
  background-repeat: repeat-y, no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  animation: nerf-flow 7s linear infinite;
}
@keyframes nerf-flow { to { background-position: 0 120px, 50% 0; } }

/* Influx : une perle de lumiere descend le long de l'axe */
.nerf-bead {
  position: absolute; left: var(--axis-x); top: 4%; width: 12px; height: 12px; margin-left: -6px; margin-top: -6px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(circle, #FBEDD3 0 2px, rgba(243,207,150,.55) 40%, rgba(216,154,74,0) 70%);
  box-shadow: 0 0 16px 3px rgba(216,154,74,.42);
  animation: nerf-travel 18s cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes nerf-travel { 0% { top: 4%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { top: 96%; opacity: 0; } }

/* Hors ecran : les animations decoratives se mettent en pause */
.nerf.nerf-idle .nerf-axis, .nerf.nerf-idle .nerf-bead, .nerf.nerf-idle .nerf-node::after,
.nerf.nerf-idle .nerf-ring, .nerf.nerf-idle .nerf-orb::after, .nerf.nerf-idle .nerf-sheen { animation-play-state: paused; }

/* ---------- Noeuds ---------- */
.nerf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); position: relative; z-index: 1; }
.nerf-node { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }

/* Synapse : anneau de verre sur l'axe */
.nerf-node::before {
  content: ''; position: absolute; left: 50%; top: var(--knot-y); width: 12px; height: 12px;
  transform: translate(-50%, -50%); border-radius: 50%; z-index: 3;
  border: 1px solid var(--n-ember); background: var(--n-night);
  box-shadow: 0 0 0 5px rgba(216,154,74,.1), 0 0 18px rgba(216,154,74,.45);
  transition: box-shadow .6s var(--n-ease), background .6s;
}
.nerf-node.is-open::before { background: var(--n-ember-light); box-shadow: 0 0 0 6px rgba(216,154,74,.18), 0 0 28px rgba(243,207,150,.65); }

/* Aura de la matiere, derriere le verre (ce que le verre floute) */
.nerf-node::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: calc(var(--knot-y) - 220px); height: 440px; width: 640px; left: calc(50% - 320px);
  background: radial-gradient(ellipse at center, var(--m-aura) 0%, rgba(0,0,0,0) 62%);
  animation: nerf-aura 9s ease-in-out infinite;
}
@keyframes nerf-aura { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .85; transform: scale(1.07); } }

/* En-tete du noeud : un titre qui contient le bouton (motif accordeon accessible) */
.nerf-head { margin: 0; grid-row: 1; grid-column: 1; justify-self: end; z-index: 2; font-size: 1rem; font-weight: 300; line-height: 1.65; max-width: 100%; }
.nerf-node--r .nerf-head { grid-column: 2; justify-self: start; }
.nerf-trigger {
  position: relative; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.9rem);
  flex-direction: row-reverse; text-align: right; max-width: 100%;
  padding: var(--head-pad) var(--gap-x) var(--head-pad) 0; margin: 0; cursor: pointer;
  color: inherit; background: none; border: 0; font: inherit; -webkit-tap-highlight-color: transparent;
}
.nerf-node--r .nerf-trigger { flex-direction: row; text-align: left; padding: var(--head-pad) 0 var(--head-pad) var(--gap-x); }
/* Filament axe -> noeud */
.nerf-trigger::after {
  content: ''; position: absolute; top: var(--knot-y); right: 0; width: var(--gap-x); height: 1px;
  background: linear-gradient(to right, rgba(243,207,150,.3), var(--n-ember));
}
.nerf-node--r .nerf-trigger::after { right: auto; left: 0; background: linear-gradient(to left, rgba(243,207,150,.3), var(--n-ember)); }

.nerf-titles { display: grid; gap: .3rem; min-width: 0; justify-items: end; }
.nerf-node--r .nerf-titles { justify-items: start; }
.nerf-titles .sys { margin: 0; font-size: .55rem; letter-spacing: .32em; text-transform: uppercase; color: var(--n-ember); font-weight: 500; }
.nerf-name { display: block; font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.02; letter-spacing: -.01em; color: var(--n-text); transition: color .4s; }
.nerf-titles .motto { margin: .2rem 0 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.25rem; color: var(--n-ember-light); }
.nerf-trigger:hover .nerf-name { color: var(--n-ember-light); }

/* Indice ouvrir / fermer : une croix fine qui pivote */
.nerf-cue { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-top: .55rem; border-radius: 50%; border: 1px solid rgba(216,154,74,.5); position: relative; transition: transform .55s var(--n-ease), border-color .3s; }
.nerf-cue::before, .nerf-cue::after { content: ''; position: absolute; background: var(--n-ember-light); }
.nerf-cue::before { width: 9px; height: 1px; } .nerf-cue::after { width: 1px; height: 9px; }
.nerf-node.is-open .nerf-cue { transform: rotate(45deg); border-color: var(--n-ember-light); }
.nerf-trigger:hover .nerf-cue { border-color: var(--n-ember); }

/* ---------- Noeud de verre liquide ---------- */
.nerf-orbit { position: relative; width: var(--orb); height: var(--orb); flex: none; }
.nerf-ring { position: absolute; inset: -11px; width: calc(100% + 22px); height: calc(100% + 22px); overflow: visible; pointer-events: none; transform-origin: 50% 50%; animation: nerf-spin 80s linear infinite; }
.nerf-ring circle, .nerf-ring path { fill: none; stroke: rgba(216,154,74,.55); stroke-width: .6; vector-effect: non-scaling-stroke; }
.nerf-ring .r1 { stroke-dasharray: 1 5; stroke-linecap: round; }
.nerf-ring .r2 { stroke: rgba(216,154,74,.22); }
.nerf-ring path { stroke: rgba(243,207,150,.6); stroke-width: 1; }
@keyframes nerf-spin { to { transform: rotate(360deg); } }

.nerf-orb {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,246,228,.28), rgba(255,246,228,0) 40%),
    radial-gradient(circle at 72% 80%, var(--m-b), rgba(0,0,0,0) 58%),
    radial-gradient(circle at 50% 55%, var(--m-a), var(--m-c) 88%);
  border: 1px solid rgba(243,207,150,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,244,222,.55), inset 0 -16px 28px rgba(10,10,6,.42), inset 0 0 0 1px rgba(255,255,255,.04),
    0 20px 44px rgba(8,8,4,.5), 0 0 0 7px rgba(216,154,74,.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  transition: transform .7s var(--n-ease), box-shadow .7s var(--n-ease), border-color .4s;
}
.nerf-orb::before { /* matiere : texture procedurale + grain */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--m-tex) center / 220px 220px, var(--n-grain) center / 160px 160px;
  opacity: .6; mix-blend-mode: screen;
}
.nerf-orb::after { /* reflet qui glisse lentement */
  content: ''; position: absolute; inset: -40%; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,246,228,0) 40%, rgba(255,246,228,.26) 47%, rgba(255,246,228,.06) 52%, rgba(255,246,228,0) 60%);
  animation: nerf-sheen 9s ease-in-out infinite;
}
@keyframes nerf-sheen { 0% { transform: translateX(-42%); } 50% { transform: translateX(42%); } 100% { transform: translateX(-42%); } }
.nerf-trigger:hover .nerf-orb, .nerf-node.is-open .nerf-orb {
  transform: scale(1.035); border-color: rgba(243,207,150,.72);
  box-shadow: inset 0 1px 0 rgba(255,244,222,.65), inset 0 -16px 28px rgba(10,10,6,.42), inset 0 0 0 1px rgba(255,255,255,.05),
    0 26px 54px rgba(8,8,4,.55), 0 0 0 7px rgba(216,154,74,.1), 0 0 44px rgba(216,154,74,.26);
}
.nerf-orb .glyph { position: relative; z-index: 2; width: 52%; height: 52%; overflow: visible; }
.nerf-orb .glyph path { stroke: var(--n-ember-light); stroke-width: 2.7; filter: drop-shadow(0 0 6px rgba(243,207,150,.4)); }

/* Trace progressif du glyphe et micro-vie : memes regles que .pv, portees sur .nerf-node */
html.js .nerf-node.visible .glyph path { stroke-dashoffset: 0; }
.nerf-node.visible .glyph path:nth-child(1) { transition-delay: .15s; }
.nerf-node.visible .glyph path:nth-child(2) { transition-delay: .32s; }
.nerf-node.visible .glyph path:nth-child(3) { transition-delay: .5s; }
.nerf-node.visible .glyph path:nth-child(4) { transition-delay: .66s; }
.nerf-node.visible .glyph path:nth-child(5) { transition-delay: .82s; }
.nerf-node.visible .glyph-combat path:nth-child(-n+2) { animation: g-thrust 2.6s ease-in-out 1.8s infinite; }
.nerf-node.visible .glyph-fuite path:nth-child(-n+3) { animation: g-flee 2.8s ease-in-out 1.8s infinite; }
.nerf-node.visible .glyph-fuite path:nth-child(2) { animation-delay: 2.1s; }
.nerf-node.visible .glyph-fuite path:nth-child(3) { animation-delay: 2.4s; }
.nerf-node.visible .glyph-figement path:nth-child(1) { animation: g-breathe 4.5s ease-in-out 1.8s infinite; }
.nerf-node.visible .glyph-lien path:nth-child(1) { animation: g-link-a 3.6s ease-in-out 1.8s infinite; }
.nerf-node.visible .glyph-lien path:nth-child(2) { animation: g-link-b 3.6s ease-in-out 1.8s infinite; }

/* Focus clavier : anneau net sur le noeud, soulignement du nom */
.nerf-trigger:focus-visible { outline: none; }
.nerf-trigger:focus-visible .nerf-orb { box-shadow: 0 0 0 3px var(--n-night), 0 0 0 5px var(--n-ember-light), 0 20px 44px rgba(8,8,4,.5); }
.nerf-trigger:focus-visible .nerf-name { text-decoration: underline; text-decoration-color: var(--n-ember); text-decoration-thickness: 1px; text-underline-offset: .14em; }

/* ---------- Carte de verre liquide ---------- */
.nerf-card { grid-row: 1; grid-column: 2; align-self: start; z-index: 2; min-width: 0; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--n-ease); }
.nerf-node--r .nerf-card { grid-column: 1; }
.nerf-card-in { position: relative; overflow: hidden; min-height: 0; padding-left: var(--card-gap); visibility: hidden; transition: visibility 0s linear .7s; }
.nerf-node--r .nerf-card-in { padding-left: 0; padding-right: var(--card-gap); }
.nerf-node.is-open .nerf-card { grid-template-rows: 1fr; }
.nerf-node.is-open .nerf-card-in { visibility: visible; transition-delay: 0s; }
/* Filament axe -> carte, en pointilles */
.nerf-card-in::before {
  content: ''; position: absolute; top: var(--knot-y); left: 0; width: var(--card-gap); height: 1px;
  background: repeating-linear-gradient(to right, var(--n-ember) 0 3px, rgba(0,0,0,0) 3px 7px);
  opacity: 0; transition: opacity .5s ease .25s;
}
.nerf-node--r .nerf-card-in::before { left: auto; right: 0; }
.nerf-node.is-open .nerf-card-in::before { opacity: .9; }

.nerf-glass {
  position: relative; overflow: hidden; border-radius: 22px; isolation: isolate; margin-bottom: 2.6rem;
  background: linear-gradient(160deg, rgba(255,246,228,.09), rgba(255,246,228,.025) 42%, rgba(20,20,16,.28));
  box-shadow: inset 0 1px 0 rgba(255,244,222,.38), 0 30px 60px rgba(8,8,4,.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25);
  transform: translateX(-18px); opacity: 0;
  transition: transform .85s var(--n-ease) .06s, opacity .6s ease .06s;
}
.nerf-node--r .nerf-glass { transform: translateX(18px); }
.nerf-node.is-open .nerf-glass { transform: none; opacity: 1; }
/* Bord lumineux fin : degrade masque sur 1px */
.nerf-glass::before {
  content: ''; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(243,207,150,.8), rgba(243,207,150,.1) 38%, rgba(181,101,58,.25) 70%, rgba(243,207,150,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.nerf-matter { position: absolute; inset: 0; z-index: 0; background: var(--m-bg); }
.nerf-matter::before { content: ''; position: absolute; inset: 0; background: var(--m-tex) center / 420px 420px; opacity: .5; mix-blend-mode: screen; }
.nerf-matter::after { content: ''; position: absolute; inset: 0; background: var(--n-grain) center / 160px 160px; opacity: .35; mix-blend-mode: overlay; }
.nerf-sheen {
  position: absolute; inset: -45% -25%; z-index: 1; pointer-events: none;
  background: linear-gradient(108deg, rgba(255,246,228,0) 42%, rgba(255,246,228,.14) 48%, rgba(255,246,228,.035) 53%, rgba(255,246,228,0) 61%);
  animation: nerf-sheen 13s ease-in-out infinite;
}
/* Gravure : fleur de vie en filets, et sigil de l'element */
.nerf-engrave { position: absolute; z-index: 1; right: -72px; top: -66px; width: 250px; height: 250px; opacity: .16; color: var(--n-ember); pointer-events: none; }
.nerf-sigil { position: absolute; z-index: 3; right: 1.2rem; bottom: 1.05rem; width: 18px; height: 18px; opacity: .6; color: var(--n-ember-light); pointer-events: none; }

.nerf-card-body::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(160deg, rgba(20,20,16,.2), rgba(20,20,16,.42)); }
.nerf-card-body { position: relative; z-index: 2; padding: clamp(1.4rem, 2.6vw, 1.9rem) clamp(1.4rem, 2.8vw, 2.1rem) clamp(1.5rem, 2.6vw, 2rem); display: grid; gap: 1.25rem; }
.nerf-card-body .pv-desc { margin: 0; color: var(--n-text); font-size: 1.04rem; line-height: 1.6; max-width: 34rem; }
.nerf-card-body .traits { display: grid; gap: 1rem 1.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(243,207,150,.16); }
@media (min-width: 640px) { .nerf-card-body .traits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nerf-card-body .tk { margin: 0 0 .3rem; font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; color: var(--n-ember); font-weight: 500; }
.nerf-card-body .tv { margin: 0; font-size: .96rem; color: var(--n-text-soft); }

/* ---------- Sans script : tout est deploye, l'indice disparait ---------- */
.nerf:not(.nerf-js) .nerf-card { grid-template-rows: 1fr; }
.nerf:not(.nerf-js) .nerf-card-in { visibility: visible; }
.nerf:not(.nerf-js) .nerf-card-in::before { opacity: .9; }
.nerf:not(.nerf-js) .nerf-glass { opacity: 1; transform: none; }
.nerf:not(.nerf-js) .nerf-cue { display: none; }

/* ---------- Mobile et tablette : l'axe passe a gauche, les cartes s'empilent ---------- */
@media (max-width: 979px) {
  .nerf { --orb: 76px; --axis-x: 38px; --head-pad: .4rem; --card-gap: 1rem; padding-block: 2rem 2.2rem; margin-top: 0; }
  .nerf-node { grid-template-columns: minmax(0, 1fr); }
  .nerf-node::before { display: none; }
  .nerf-node::after { width: 260px; height: 260px; left: 0; top: calc(var(--knot-y) - 130px); }
  .nerf-head, .nerf-node--r .nerf-head { grid-column: 1; justify-self: stretch; }
  .nerf-trigger, .nerf-node--r .nerf-trigger { flex-direction: row; text-align: left; padding: var(--head-pad) 0; gap: 1.1rem; width: 100%; }
  .nerf-trigger::after { display: none; }
  .nerf-titles, .nerf-node--r .nerf-titles { justify-items: start; }
  .nerf-ring { inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); }
  .nerf-orb .glyph { width: 54%; height: 54%; }
  .nerf-orb .glyph path { stroke-width: 2.9; }
  .nerf-cue { margin-top: .35rem; }
  .nerf-card, .nerf-node--r .nerf-card { grid-column: 1; grid-row: 2; }
  .nerf-card-in, .nerf-node--r .nerf-card-in { padding: 0 0 0 calc(var(--axis-x) + var(--card-gap)); }
  .nerf-card-in::before, .nerf-node--r .nerf-card-in::before { top: 1.6rem; left: var(--axis-x); right: auto; width: var(--card-gap); }
  .nerf-glass, .nerf-node--r .nerf-glass { transform: translateY(-10px); border-radius: 18px; margin: .4rem 0 1.4rem; }
  .nerf-node.is-open .nerf-glass, .nerf:not(.nerf-js) .nerf-glass { transform: none; }
  .nerf-engrave { right: -96px; top: -84px; width: 220px; height: 220px; }
}

/* ---------- Reduced motion : aucune animation, etats instantanes ---------- */
@media (prefers-reduced-motion: reduce) {
  .nerf-axis, .nerf-bead, .nerf-node::after, .nerf-ring, .nerf-orb::after, .nerf-sheen { animation: none !important; }
  .nerf-bead { display: none; }
  .nerf-orb::after, .nerf-sheen { transform: none; }
  .nerf-node::after { opacity: .6; }
  .nerf-card, .nerf-card-in, .nerf-card-in::before, .nerf-glass, .nerf-orb, .nerf-cue, .nerf-name, .nerf-node::before { transition: none !important; }
  .nerf-glass, .nerf-node--r .nerf-glass { transform: none; }
  .nerf-trigger:hover .nerf-orb, .nerf-node.is-open .nerf-orb { transform: none; }
}
html.reduced .nerf-axis, html.reduced .nerf-bead, html.reduced .nerf-node::after, html.reduced .nerf-ring, html.reduced .nerf-orb::after, html.reduced .nerf-sheen { animation: none !important; }
html.reduced .nerf-bead { display: none; }
html.reduced .nerf-card, html.reduced .nerf-card-in, html.reduced .nerf-glass, html.reduced .nerf-orb, html.reduced .nerf-cue { transition: none !important; }
html.reduced .nerf-glass, html.reduced .nerf-node--r .nerf-glass { transform: none; }


/* ============================================================
   RETOURS DU 27 SEPTEMBRE 2026 (soir) : images générées, hero dégagé,
   composant nerf partagé, marqueurs ésotériques, contact en verre, portrait fondu
   ============================================================ */
/* Hero : image de forêt (la vidéo unique de Lila prendra cette place) */
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-title { font-size: clamp(2.4rem, 8.4vw, 7.2rem); }
.hero-sub { max-width: 34rem; }
@media (max-width: 900px) { .hero-meta { display: none; } .hero-frame { padding-top: 5rem; } }
@media (max-width: 640px) {
  .nav-inner { padding: .8rem clamp(1.1rem, 4vw, 2rem); }
  .brand { gap: .55rem; }
  .brand-mark { width: 32px; height: 32px; } .brand-mark svg { width: 15px; height: 15px; }
  .brand-name { font-size: 1.3rem; } .brand-sub { font-size: .42rem; letter-spacing: .32em; }
  .btn-gold--sm { padding: .5rem .8rem; font-size: .5rem; letter-spacing: .14em; }
  .menu-btn { width: 38px; height: 38px; padding: 9px; gap: 5px; }
}

/* Fonds de section en images, fondus en haut et en bas */
.section { position: relative; overflow: hidden; } /* les fonds .sec-bg se calent sur leur section */
.section > .container { position: relative; z-index: 1; }
.sec-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--bg) center / cover no-repeat; opacity: var(--bg-o, .26);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%); }
.section--soft {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(126,154,114,.12), transparent 55%),
    linear-gradient(180deg, var(--night) 0%, var(--night-soft) 24%, var(--night-soft) 76%, var(--night) 100%);
}
/* Plus de ligne pleine largeur en tête de section : un court filet ambré devant l'index */
.shead { border-top: 0; padding-top: 0; }
.shead .idx::before { content: ''; width: 2.2rem; height: 1px; background: var(--ember); opacity: .75; align-self: center; }

/* Révélations : du flou vers le net */
html.js .reveal { filter: blur(6px); transition: opacity 1.1s ease, transform 1.1s var(--ease), filter 1.1s ease; }
html.js .reveal.visible { filter: none; }
/* Les titres en dégradé (background-clip: text) ne supportent ni filtre ni transform sur Safari iOS : apparition en fondu simple. */
html.js .reveal.gradient-gold { filter: none; transform: none; transition: opacity 1.1s ease; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .gradient-gold { background: none !important; color: var(--gold-light) !important; } }

/* Piliers de la méthode : quatre tuiles de verre */
.pillars { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.pillar { position: relative; display: grid; gap: .55rem; padding: 1.25rem 1.1rem 1.15rem; border-radius: 14px;
  border: 1px solid rgba(216,154,74,.22);
  background: linear-gradient(160deg, rgba(47,58,42,.42), rgba(35,33,26,.55));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,244,222,.07); }
.pillar::before { content: ''; position: absolute; left: 1.1rem; right: 1.1rem; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--ember), transparent); opacity: .7; }
.pillar-n { font-family: 'Fraunces', serif; font-size: 1.15rem; line-height: 1; color: var(--ember); }
.pillar-t { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }

/* Marqueur de dépliage : chevron fin dans un cercle, anneau pointillé qui tourne */
.disc-icon { border-color: rgba(216,154,74,.55); }
.disc-icon::before { width: .5rem; height: .5rem; background: none; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: translateY(-2px) rotate(45deg); transition: transform .5s var(--ease); }
.disc-icon::after { inset: -6px; width: auto; height: auto; margin: 0; background: none;
  border: 1px dashed rgba(216,154,74,.35); border-radius: 50%; transition: transform 1.4s var(--ease); }
.disc[open] .disc-icon::before { transform: translateY(2px) rotate(225deg); }
.disc[open] .disc-icon::after { transform: rotate(180deg); }
.disc-body { animation: disc-in 1.1s var(--ease) both; }
.disc-body > * { animation: disc-in .9s var(--ease) both; }
.disc-body > :nth-child(2) { animation-delay: .14s; }
.disc-body > :nth-child(3) { animation-delay: .28s; }
@keyframes disc-in { from { opacity: 0; transform: translateY(16px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Flèche fine à losange (billboard) */
.bb-arrow { display: flex; align-items: center; font-size: 0; }
.bb-arrow svg { width: clamp(3rem, 6vw, 4.4rem); height: auto; stroke: var(--ember); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }

/* Portrait fondu dans le fond, sans cadre ni légende */
.portrait { border: 0; border-radius: 0; background: none; overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 44%, #000 42%, transparent 98%);
  mask-image: radial-gradient(ellipse 72% 66% at 50% 44%, #000 42%, transparent 98%); }
.portrait::after { display: none; }
.portrait img { object-position: center 18%; filter: sepia(.08) contrast(1.04) saturate(1.05); }

/* Composant nerf : matières en images générées, publics de l'accueil */
.nerf-node[style*="--m-img"] .nerf-matter { background: var(--m-img) center / cover no-repeat; }
.nerf-node[style*="--m-img"] .nerf-matter::before { opacity: .18; }
.nerf--publics .nerf-node { --m-a: rgba(216,154,74,.62); --m-b: rgba(47,58,42,.85); --m-c: rgba(20,20,16,.96); --m-aura: rgba(216,154,74,.3);
  --m-bg: linear-gradient(160deg, #2F3A2A, #1B1A14 60%, #141410); --m-tex: none; }
.nerf--publics .nerf-name { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }

/* Contact en verre liquide */
footer { padding-top: 3.4rem; background: linear-gradient(180deg, var(--night) 0%, #100F0B 100%); }
.foot-grid { border-top: 0; padding-top: .6rem; }
.foot-list--ico { gap: .7rem; }
.foot-list--ico li, .foot-list--ico a { display: flex; align-items: center; gap: .8rem; }
.ico { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(216,154,74,.3); background: linear-gradient(160deg, rgba(47,58,42,.5), rgba(35,33,26,.6));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,244,222,.08);
  transition: border-color .3s, transform .4s var(--ease); }
.ico svg { width: 1.1rem; height: 1.1rem; stroke: var(--gold-light); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.foot-list--ico a:hover .ico { border-color: var(--ember); transform: translateY(-2px); }
.foot-legal { border-top-color: rgba(216,154,74,.12); }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { filter: none; }
  .disc-body, .disc-body > * { animation: none; }
}

/* ---------- Ambiance sonore : bouton en verre, jamais en lecture automatique ---------- */
.amb { display: inline-flex; align-items: center; gap: .55rem; height: 2.4rem; padding: 0 .95rem; border-radius: 9999px; cursor: pointer;
  border: 1px solid rgba(216,154,74,.32); background: rgba(35,33,26,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--gold-light); font-size: .52rem; letter-spacing: .22em; text-transform: uppercase; transition: border-color .3s, background .3s; }
.amb:hover { border-color: var(--ember); background: rgba(216,154,74,.1); }
.amb-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: .8rem; }
.amb-bars i { display: block; width: 2px; height: 3px; border-radius: 1px; background: var(--ember); transform-origin: bottom; }
.amb.on .amb-bars i { animation: amb-wave 1.6s ease-in-out infinite; }
.amb.on .amb-bars i:nth-child(2) { animation-delay: .25s; } .amb.on .amb-bars i:nth-child(3) { animation-delay: .5s; } .amb.on .amb-bars i:nth-child(4) { animation-delay: .75s; }
@keyframes amb-wave { 0%, 100% { height: 3px; } 50% { height: .8rem; } }
@media (max-width: 640px) { .amb { padding: 0 .7rem; height: 2.2rem; } .amb-txt { display: none; } }
@media (prefers-reduced-motion: reduce) { .amb.on .amb-bars i { animation: none; height: .55rem; } }

/* Sélecteur de langue */
.lang { font-size: .56rem; letter-spacing: .22em; color: var(--gold-light); opacity: .8; padding: .4rem .3rem; transition: opacity .3s, color .3s; }
.lang:hover { opacity: 1; color: var(--ember); }

/* ============================================================
   MODE JOUR (bascule soleil et lune). Variante retenue par Lila le 7 novembre 2026 : aube
   (nuit eclaircie, photos visibles). Autres variantes disponibles : creme, sable, sauge, aquarelle, aube-claire. Le hero, les cartes de verre et le billboard
   gardent leurs tons de nuit car leurs images sont sombres.
   ============================================================ */
html[data-theme="jour"] {
  --j-bg: #E9DFC8; --j-bg2: #DFD3B8; --j-panel: #D4C6A6; --j-accent: #A9662A; --j-accent2: #6E4620;
  --night: var(--j-bg); --night-soft: var(--j-bg2); --panel: var(--j-panel);
  --moss: #D5DCC8; --moss-light: #5A7850;
  --ember: var(--j-accent); --ember-light: var(--j-accent2); --copper: #8A4820;
  --gold: var(--ember); --gold-light: var(--ember-light); --gold-deep: var(--copper);
  --text: #24201A; --text-soft: rgba(36,32,26,.86); --text-muted: rgba(36,32,26,.62);
  --line: rgba(110,70,32,.24); --line-strong: rgba(110,70,32,.5);
}
html[data-theme="jour"][data-jour="sable"] { --j-bg: #E4D7BA; --j-bg2: #D9CAA9; --j-panel: #CDBC97; --j-accent: #9E5E27; --j-accent2: #66401C; }
html[data-theme="jour"][data-jour="sauge"] { --j-bg: #E3E6D3; --j-bg2: #D7DCC5; --j-panel: #C9D0B4; --j-accent: #66774A; --j-accent2: #465535; --copper: #5C6B3F; }
/* --- Variantes de jour qui gardent les photos visibles (demande de Lila, 7 novembre 2026) --- */
/* Aquarelle : base crème, photos éclaircies en filigrane, texte sombre */
html[data-theme="jour"][data-jour="aquarelle"] { --j-bg: #EDE4D0; --j-bg2: #E4D9C2; --j-panel: #D8CBAE; --j-accent: #A9662A; --j-accent2: #6E4620; }
html[data-theme="jour"][data-jour="aquarelle"] .sec-bg { opacity: .42; mix-blend-mode: normal; filter: brightness(1.9) contrast(.75) saturate(.8); }
/* Aube : nuit éclaircie, fonds brun chaud, texte crème, photos bien présentes */
html[data-theme="jour"][data-jour="aube"] {
  --j-bg: #4B4034; --j-bg2: #574A3C; --j-panel: #5E5041; --j-accent: #D89A4A; --j-accent2: #F3CF96; --copper: #E0A868;
  --text: #F5E9D0; --text-soft: rgba(245,233,208,.9); --text-muted: rgba(245,233,208,.66);
  --line: rgba(216,154,74,.28); --line-strong: rgba(216,154,74,.55); --moss: #3E4A36; --moss-light: #B9C9A8; }
html[data-theme="jour"][data-jour="aube"] .sec-bg { opacity: calc(var(--bg-o, .26) * 2.3); mix-blend-mode: normal; filter: brightness(1.2); }
html[data-theme="jour"][data-jour="aube"] .gradient-gold { background-image: linear-gradient(135deg, #FBEDD3 0%, #F3CF96 26%, #D89A4A 62%, #B5653A 100%); }
html[data-theme="jour"][data-jour="aube"] body::before { mix-blend-mode: normal; opacity: .05; }
html[data-theme="jour"][data-jour="aube"] .pillar, html[data-theme="jour"][data-jour="aube"] .ico, html[data-theme="jour"][data-jour="aube"] .amb, html[data-theme="jour"][data-jour="aube"] .mode, html[data-theme="jour"][data-jour="aube"] .chip, html[data-theme="jour"][data-jour="aube"] .orient, html[data-theme="jour"][data-jour="aube"] .orient-opt, html[data-theme="jour"][data-jour="aube"] .temoin, html[data-theme="jour"][data-jour="aube"] .seal, html[data-theme="jour"][data-jour="aube"] .stmt, html[data-theme="jour"][data-jour="aube"] .disc, html[data-theme="jour"][data-jour="aube"] .orient-res, html[data-theme="jour"][data-jour="aube"] .player { background: rgba(22,17,12,.42); border-color: rgba(216,154,74,.3); box-shadow: none; }
html[data-theme="jour"][data-jour="aube"] #nav.scrolled { background: rgba(60,50,40,.92); border-bottom-color: rgba(216,154,74,.25); }
html[data-theme="jour"][data-jour="aube"] #menu { background: rgba(60,50,40,.97); }
html[data-theme="jour"][data-jour="aube"] .btn-ghost { color: #F3CF96; border-color: rgba(216,154,74,.5); }
html[data-theme="jour"][data-jour="aube"] .brand-mark { color: #D89A4A; }
html[data-theme="jour"][data-jour="aube"] .pl-btn { color: #F3CF96; border-color: rgba(216,154,74,.5); background: radial-gradient(circle at 40% 35%, rgba(216,154,74,.3), rgba(22,17,12,.4) 70%); }
html[data-theme="jour"][data-jour="aube"] .pl-ico { border-left-color: #F3CF96; } html[data-theme="jour"][data-jour="aube"] .player.playing .pl-ico { border-left-color: #F3CF96; border-right-color: #F3CF96; }
html[data-theme="jour"][data-jour="aube"] #audio .sign span { color: #F3CF96; text-shadow: 0 0 24px rgba(243,207,150,.25); }
html[data-theme="jour"][data-jour="aube"] .disc-icon { border-color: rgba(216,154,74,.5); }
html[data-theme="jour"][data-jour="aube"] .foot-legal { border-top-color: rgba(216,154,74,.2); }
html[data-theme="jour"][data-jour="aube"] footer { background: linear-gradient(180deg, var(--j-bg) 0%, #3E342A 100%); }
/* Aube claire : ton moyen brun doré, texte crème, photos présentes */
html[data-theme="jour"][data-jour="aube-claire"] {
  --j-bg: #6B5B49; --j-bg2: #766653; --j-panel: #7D6C59; --j-accent: #D89A4A; --j-accent2: #F3CF96; --copper: #E0A868;
  --text: #FBF2E0; --text-soft: rgba(251,242,224,.92); --text-muted: rgba(251,242,224,.7);
  --line: rgba(216,154,74,.28); --line-strong: rgba(216,154,74,.55); --moss: #3E4A36; --moss-light: #B9C9A8; }
html[data-theme="jour"][data-jour="aube-claire"] .sec-bg { opacity: calc(var(--bg-o, .26) * 2.1); mix-blend-mode: normal; filter: brightness(1.35); }
html[data-theme="jour"][data-jour="aube-claire"] .gradient-gold { background-image: linear-gradient(135deg, #FBEDD3 0%, #F3CF96 26%, #D89A4A 62%, #B5653A 100%); }
html[data-theme="jour"][data-jour="aube-claire"] body::before { mix-blend-mode: normal; opacity: .05; }
html[data-theme="jour"][data-jour="aube-claire"] .pillar, html[data-theme="jour"][data-jour="aube-claire"] .ico, html[data-theme="jour"][data-jour="aube-claire"] .amb, html[data-theme="jour"][data-jour="aube-claire"] .mode, html[data-theme="jour"][data-jour="aube-claire"] .chip, html[data-theme="jour"][data-jour="aube-claire"] .orient, html[data-theme="jour"][data-jour="aube-claire"] .orient-opt, html[data-theme="jour"][data-jour="aube-claire"] .temoin, html[data-theme="jour"][data-jour="aube-claire"] .seal, html[data-theme="jour"][data-jour="aube-claire"] .stmt, html[data-theme="jour"][data-jour="aube-claire"] .disc, html[data-theme="jour"][data-jour="aube-claire"] .orient-res, html[data-theme="jour"][data-jour="aube-claire"] .player { background: rgba(30,24,18,.4); border-color: rgba(243,207,150,.35); box-shadow: none; }
html[data-theme="jour"][data-jour="aube-claire"] #nav.scrolled { background: rgba(60,50,40,.92); border-bottom-color: rgba(216,154,74,.25); }
html[data-theme="jour"][data-jour="aube-claire"] #menu { background: rgba(60,50,40,.97); }
html[data-theme="jour"][data-jour="aube-claire"] .btn-ghost { color: #F3CF96; border-color: rgba(216,154,74,.5); }
html[data-theme="jour"][data-jour="aube-claire"] .brand-mark { color: #D89A4A; }
html[data-theme="jour"][data-jour="aube-claire"] .pl-btn { color: #F3CF96; border-color: rgba(216,154,74,.5); background: radial-gradient(circle at 40% 35%, rgba(216,154,74,.3), rgba(22,17,12,.4) 70%); }
html[data-theme="jour"][data-jour="aube-claire"] .pl-ico { border-left-color: #F3CF96; } html[data-theme="jour"][data-jour="aube-claire"] .player.playing .pl-ico { border-left-color: #F3CF96; border-right-color: #F3CF96; }
html[data-theme="jour"][data-jour="aube-claire"] #audio .sign span { color: #F3CF96; text-shadow: 0 0 24px rgba(243,207,150,.25); }
html[data-theme="jour"][data-jour="aube-claire"] .disc-icon { border-color: rgba(216,154,74,.5); }
html[data-theme="jour"][data-jour="aube-claire"] .foot-legal { border-top-color: rgba(216,154,74,.2); }
html[data-theme="jour"][data-jour="aube-claire"] footer { background: linear-gradient(180deg, var(--j-bg) 0%, #574A3C 100%); }
html[data-theme="jour"] ::selection { background: rgba(178,111,44,.3); color: #1F1B14; }
html[data-theme="jour"] .gradient-gold { background: linear-gradient(135deg, #4F3113 0%, #8A4820 42%, var(--j-accent) 100%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="jour"] body::before { opacity: .035; mix-blend-mode: multiply; }
html[data-theme="jour"] #loader { background: var(--night); }
/* Hero et nav au-dessus de l'image sombre : tons de nuit conserves */
html[data-theme="jour"] .hero, html[data-theme="jour"] #nav:not(.scrolled) {
  --text: #F5E9D0; --text-soft: rgba(245,233,208,.9); --text-muted: rgba(245,233,208,.64);
  --gold: #D89A4A; --gold-light: #F3CF96; --ember: #D89A4A; --ember-light: #F3CF96; --line: rgba(216,154,74,.2); --line-strong: rgba(216,154,74,.48); }
html[data-theme="jour"] .hero .gradient-gold, html[data-theme="jour"] #nav:not(.scrolled) .gradient-gold { background-image: linear-gradient(135deg, #FBEDD3 0%, #F3CF96 26%, #D89A4A 62%, #B5653A 100%); }
html[data-theme="jour"] .hero { background: #141410; }
html[data-theme="jour"] #nav:not(.scrolled) .brand-mark, html[data-theme="jour"] #nav:not(.scrolled) .amb, html[data-theme="jour"] #nav:not(.scrolled) .mode { background: rgba(20,20,16,.45); }
html[data-theme="jour"] #nav.scrolled { background: rgba(233,223,200,.9); border-bottom-color: var(--line); }
html[data-theme="jour"] #menu { background: rgba(233,223,200,.97); }
html[data-theme="jour"] .menu-btn span { background: currentColor; }
/* Verre, tuiles et cartes sur fond clair */
html[data-theme="jour"] .pillar, html[data-theme="jour"] .ico, html[data-theme="jour"] .amb, html[data-theme="jour"] .mode {
  background: rgba(255,250,240,.55); border-color: rgba(138,88,40,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
html[data-theme="jour"] .chip { background: rgba(255,250,240,.5); border-color: rgba(138,88,40,.25); }
html[data-theme="jour"] .sec-bg { opacity: calc(var(--bg-o, .26) * .6); mix-blend-mode: multiply; }
html[data-theme="jour"] .section--soft { background: linear-gradient(180deg, var(--night) 0%, var(--night-soft) 24%, var(--night-soft) 76%, var(--night) 100%); }
html[data-theme="jour"] .section { background: var(--night); }
html[data-theme="jour"] .section.cta-final { background: radial-gradient(ellipse at 50% 108%, rgba(178,111,44,.22), transparent 52%), var(--night); }
html[data-theme="jour"] footer { background: linear-gradient(180deg, var(--night) 0%, var(--j-panel) 100%); }
html[data-theme="jour"] .billboard, html[data-theme="jour"] .nerf-glass, html[data-theme="jour"] .nerf-orb {
  --text: #F5E9D0; --text-soft: rgba(245,233,208,.9); --text-muted: rgba(245,233,208,.64);
  --gold: #D89A4A; --gold-light: #F3CF96; --ember: #D89A4A; --ember-light: #F3CF96; --copper: #B5653A;
  --n-text: #F5E9D0; --n-text-soft: rgba(245,233,208,.9); --n-ember: #D89A4A; --n-ember-light: #F3CF96; }
html[data-theme="jour"] .billboard .gradient-gold { background-image: linear-gradient(135deg, #FBEDD3 0%, #F3CF96 26%, #D89A4A 62%, #B5653A 100%); }
html[data-theme="jour"] .nerf-orb .glyph path { stroke: #F3CF96; }
html[data-theme="jour"] .btn-ghost { color: var(--ember-light); border-color: var(--line-strong); }
html[data-theme="jour"] .hero .btn-ghost { color: #F3CF96; border-color: rgba(243,207,150,.55); background: rgba(20,20,16,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* Mode jour : le bas du hero fond vers le clair, surtout sur téléphone ; les commandes claires reçoivent une pastille sombre, comme les boutons de la nav. */
html[data-theme="jour"] .hero .hero-link { background: rgba(20,20,16,.45); padding: .5rem .95rem .5rem .55rem; border-radius: 999px; margin-left: 0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html[data-theme="jour"] .disc-icon { border-color: rgba(138,88,40,.5); }
html[data-theme="jour"] .foot-legal { border-top-color: rgba(138,88,40,.18); }
html[data-theme="jour"] .portrait img { filter: sepia(.05) contrast(1.02); }
/* Bouton soleil et lune */
.mode { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(216,154,74,.32); background: rgba(35,33,26,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--gold-light); transition: border-color .3s, background .3s, transform .5s var(--ease); }
.mode:hover { border-color: var(--ember); }
.mode svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.mode .ic-soleil { display: block; } .mode .ic-lune { display: none; }
html[data-theme="jour"] .mode .ic-soleil { display: none; } html[data-theme="jour"] .mode .ic-lune { display: block; }
@media (max-width: 640px) { .mode { width: 2.2rem; height: 2.2rem; } }

/* Navigation mobile allégée : la langue et le rendez-vous passent dans le menu plein écran */
@media (max-width: 640px) {
  .nav-cta { gap: .45rem; }
  .nav-cta .lang { display: none; }
  .mode, .amb { width: 2.1rem; height: 2.1rem; padding: 0; justify-content: center; }
  .amb { border-radius: 50%; }
}
@media (max-width: 480px) { .nav-cta .btn-gold--sm { display: none; } }
#menu .menu-extra { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
#menu .menu-extra .lang { font-size: .6rem; opacity: 1; padding: .55rem .9rem; border: 1px solid var(--line-strong); border-radius: 9999px; }
/* Lisibilité du hero sur la clairière lumineuse */
.hero-title { filter: drop-shadow(0 2px 14px rgba(20,20,16,.75)); }
.hero-sub { text-shadow: 0 2px 18px rgba(20,20,16,.85), 0 0 2px rgba(20,20,16,.6); }
@media (max-width: 900px) {
  .hero-scrim { background:
    radial-gradient(ellipse at 50% 100%, rgba(216,154,74,.1), transparent 50%),
    linear-gradient(180deg, rgba(20,20,16,.6) 0%, rgba(20,20,16,.42) 18%, rgba(20,20,16,.58) 42%, rgba(20,20,16,.8) 62%, rgba(20,20,16,.97) 88%); }
}

/* ============================================================
   ORIENTATION : trois questions, une recommandation (moteur dans main.js)
   ============================================================ */
.orient { position: relative; margin-top: 2.2rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 18px;
  border: 1px solid rgba(216,154,74,.28); background: linear-gradient(160deg, rgba(47,58,42,.32), rgba(35,33,26,.55));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,244,222,.07); }
.orient-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.orient-step { font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ember); white-space: nowrap; }
.orient-bar { flex: 1; height: 1px; background: rgba(216,154,74,.2); position: relative; }
.orient-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--ember-light), var(--ember)); transition: width .8s var(--ease); }
.orient-restart, .orient-back { font: inherit; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); cursor: pointer; padding: .4rem 0; transition: color .3s; }
.orient-restart:hover, .orient-back:hover { color: var(--gold-light); }
.orient-scene { min-height: 12rem; position: relative; }
.orient-pane { transition: opacity .55s ease, transform .55s var(--ease), filter .55s ease; opacity: 0; transform: translateY(12px); filter: blur(6px); }
.orient-pane.on { opacity: 1; transform: none; filter: none; }
.orient-pane.sort { opacity: 0; transform: translateY(-8px); filter: blur(4px); }
.orient-q { margin: 0 0 1.2rem; font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.1; color: var(--text); }
.orient-opts { display: grid; gap: .6rem; }
@media (min-width: 720px) { .orient-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.orient-opt { font: inherit; text-align: left; cursor: pointer; padding: 1rem 1.2rem; border-radius: 12px; color: var(--text);
  border: 1px solid rgba(216,154,74,.25); background: rgba(20,20,16,.35); font-size: .98rem; line-height: 1.4;
  transition: border-color .3s, background .3s, transform .4s var(--ease); }
.orient-opt:hover, .orient-opt:focus-visible { border-color: var(--ember); background: rgba(216,154,74,.1); transform: translateY(-1px); }
.orient-opt--flou { color: var(--text-muted); }
.orient-wait { display: grid; place-items: center; min-height: 12rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-light); }
.orient-res .kicker { display: block; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ember); margin-bottom: .6rem; }
.orient-res h3 { margin: 0 0 .9rem; font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.05; }
.orient-res p { margin: 0 0 .7rem; color: var(--text-soft); }
.orient-res .dsc { font-size: .78rem; color: var(--text-muted); }
.orient-res .acts { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 1.2rem; }
.orient-res .second { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(216,154,74,.2); font-size: .95rem; }
.orient-res .second a { color: var(--gold-light); border-bottom: 1px solid rgba(216,154,74,.4); }
.orient-res .exit { font-size: .85rem; color: var(--text-muted); }
.orient-res .exit a { color: var(--gold-light); }
.orient-nojs { margin-top: 2rem; }
html[data-theme="jour"] .orient { background: rgba(255,250,240,.5); border-color: rgba(138,88,40,.3); }
html[data-theme="jour"] .orient-opt { background: rgba(255,250,240,.55); border-color: rgba(138,88,40,.25); }
@media (prefers-reduced-motion: reduce) { .orient-pane { transition: none; } .orient-bar i { transition: none; } }

/* ---------- FAQ et témoignages ---------- */
.faq .disc { border-bottom: 0; }
.faq .disc:last-child { border-bottom: 1px solid var(--line); }
.faq .disc-sum { font-size: clamp(1.05rem, 1.9vw, 1.3rem); padding: 1.15rem 0; }
.faq .disc-body { padding: 0 0 1.5rem; max-width: 46rem; color: var(--text-soft); }
.faq .disc-body p { margin: 0; }
.temoins { display: grid; gap: 1rem; }
@media (min-width: 900px) { .temoins { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; } }
.temoin { margin: 0; position: relative; padding: 1.8rem 1.6rem 1.5rem; border-radius: 16px; border: 1px solid rgba(216,154,74,.25);
  background: linear-gradient(160deg, rgba(47,58,42,.36), rgba(35,33,26,.55)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,244,222,.07); display: flex; flex-direction: column; gap: 1rem; }
.temoin::before { content: '\201C'; position: absolute; top: .4rem; left: 1.2rem; font-family: 'Fraunces', serif; font-size: 3.2rem; line-height: 1; color: rgba(216,154,74,.45); }
.temoin blockquote { margin: 0; padding-top: 1.2rem; }
.temoin blockquote p { margin: 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.35; color: var(--gold-light); }
.temoin figcaption { margin-top: auto; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }
html[data-theme="jour"] .temoin { background: rgba(255,250,240,.5); border-color: rgba(138,88,40,.28); }

#menu .menu-extra a { font-size: .58rem; letter-spacing: .2em; padding: .68rem 1.35rem; transform: none; opacity: 1; line-height: 1; }
#menu .menu-extra .lang { font-size: .6rem; }


/* ============================================================
   RETOURS DU 27 SEPTEMBRE 2026 (nuit) : marque mandala, pastilles du hero,
   langue visible, transitions sans couture, en-tetes uniformes, mode jour en douceur
   ============================================================ */
/* Marque : mandala vectoriel (variante "Mandala epure"), sans cercle autour */
.brand-mark { width: 52px; height: 52px; border: 0; background: none; color: var(--ember); }
/* Logo de Lila : mandala au cerveau (img/logo-mandala-serre-256.png, traits renforcés pour les petites tailles ; version fidèle dans img/logo-mandala-serre-512.png). Le masque prend la couleur courante, donc braise la nuit et cuivre le jour. */
.brand-mark::before { content: ""; display: block; width: 100%; height: 100%; background-color: currentColor; -webkit-mask: url(img/logo-mandala-serre-256.png) center / contain no-repeat; mask: url(img/logo-mandala-serre-256.png) center / contain no-repeat; }
html[data-theme="jour"] .brand-mark { color: var(--copper); }
@media (max-width: 640px) { .brand-mark { width: 44px; height: 44px; } }
/* Dans la barre de navigation, le logo prend la hauteur du bloc « Lil'Alchimie » + « Lila Reali » (57 px sur ordinateur, 56 px sur téléphone). */
#nav .brand-mark { width: 58px; height: 58px; }
@media (max-width: 640px) { #nav .brand-mark { width: 56px; height: 56px; } }
/* Pastilles du hero : plus de boites, un filet et le mot hypnose en avant */
.hero-meta { align-items: baseline; }
.hero-meta span { padding: 0 0 .55rem; border: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(216,154,74,.4); font-size: .62rem; letter-spacing: .3em; text-shadow: 0 2px 12px rgba(20,20,16,.8); }
.hero-meta span em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; font-size: 2.1em; letter-spacing: .02em; text-transform: none; color: #F3CF96; vertical-align: -.08em; margin-right: .1em; }
/* Selecteur de langue visible */
.lang { display: inline-flex; align-items: center; height: 2.4rem; padding: 0 .9rem; border-radius: 9999px; opacity: 1;
  border: 1px solid rgba(216,154,74,.32); background: rgba(35,33,26,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .56rem; letter-spacing: .22em; color: var(--gold-light); transition: border-color .3s, background .3s; }
.lang:hover { border-color: var(--ember); background: rgba(216,154,74,.1); opacity: 1; }
/* Transitions sans couture : le hero se fond dans la section suivante, les fonds s'estompent plus longuement */
.hero-scrim { background:
    radial-gradient(ellipse at 14% 100%, rgba(216,154,74,.14), transparent 48%),
    linear-gradient(90deg, rgba(20,20,16,.94) 0%, rgba(20,20,16,.74) 32%, rgba(20,20,16,.2) 58%, rgba(20,20,16,0) 76%),
    linear-gradient(180deg, rgba(20,20,16,.5) 0%, transparent 22%, transparent 56%, rgba(20,20,16,.9) 88%, rgba(20,20,16,1) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 22vh; z-index: 4; pointer-events: none; background: linear-gradient(180deg, transparent, var(--night)); }
.sec-bg { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 66%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 66%, transparent 100%); }
.section--soft { background: radial-gradient(ellipse at 100% 0%, rgba(126,154,114,.1), transparent 55%), linear-gradient(180deg, var(--night) 0%, var(--night-soft) 30%, var(--night-soft) 70%, var(--night) 100%); }
/* En-tetes de section uniformes : filet, index, libelle, puis la mention en italique dessous */
.shead { display: grid; grid-template-columns: 1fr; gap: .45rem; justify-items: start; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.shead .idx { display: flex; align-items: baseline; gap: .8rem; }
.shead .idx::before { content: ''; width: 2.2rem; height: 1px; background: var(--ember); opacity: .75; align-self: center; }
.shead .idx .n { font-size: 1.05rem; }
.shead .label { font-size: .72rem; letter-spacing: .34em; }
.shead .meta { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem; letter-spacing: 0; text-transform: none; color: var(--gold-light); padding-left: 3rem; }
@media (max-width: 640px) { .shead .meta { display: block; padding-left: 0; font-size: 1.1rem; } }
/* Composant nerf : titres centres sur le noeud, indice de clic en chevron dans un anneau pointille */
.nerf-trigger { align-items: center; }
.nerf-titles { align-self: center; }
.nerf-cue { width: 26px; height: 26px; margin-top: .4rem; border-color: rgba(216,154,74,.5); }
.nerf-cue::before { width: 7px; height: 7px; background: none; border-right: 1px solid var(--n-ember-light); border-bottom: 1px solid var(--n-ember-light); transform: translateY(-2px) rotate(45deg); transition: transform .5s var(--ease); }
.nerf-cue::after { width: auto; height: auto; inset: -5px; background: none; border: 1px dashed rgba(216,154,74,.35); border-radius: 50%; transition: transform 1.4s var(--ease); }
.nerf-node.is-open .nerf-cue { transform: none; }
.nerf-node.is-open .nerf-cue::before { transform: translateY(2px) rotate(225deg); }
.nerf-node.is-open .nerf-cue::after { transform: rotate(180deg); }
/* Formations en escalier au defilement */
.fmt li.reveal:nth-child(2) { transition-delay: .12s; } .fmt li.reveal:nth-child(3) { transition-delay: .24s; } .fmt li.reveal:nth-child(4) { transition-delay: .36s; }
/* Pied de page : icones alignees sur la premiere ligne, bloc de marque regulier */
.foot-list--ico li, .foot-list--ico a { align-items: flex-start; }
.ico { width: 2.2rem; height: 2.2rem; margin-top: -.3rem; }
.foot-tagline { max-width: 26rem; text-wrap: pretty; }
/* Bouton de la page Biotypes decolle du filet */
.disc--center { border-bottom: 0; margin-bottom: .6rem; }
.disc--center .disc-body { padding-bottom: 1.2rem; }
/* Passage jour et nuit en douceur */
body, .section, #nav, #menu, footer, .pillar, .orient, .orient-opt, .temoin, .ico, .amb, .mode, .lang, .disc-sum, .price-row, .stmt { transition-property: background-color, color, border-color; transition-duration: .9s; transition-timing-function: ease; }

/* ============================================================
   COMPOSANTS : sceaux des piliers, cartes de verre (cadre, FAQ, honoraires), offre, questionnaire
   ============================================================ */
.glass, .seal, .stmt, .disc, .orient-opt { border: 1px solid rgba(216,154,74,.24); border-radius: 16px;
  background: linear-gradient(160deg, rgba(47,58,42,.34), rgba(35,33,26,.56)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,244,222,.07); }
/* Sceaux des piliers : quatre medaillons depliables */
.seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 2.4rem; }
@media (min-width: 900px) { .seals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.seal { padding: 1.3rem 1.2rem 1.2rem; transition: border-color .4s, transform .5s var(--ease); }
.seal:hover, .seal[open] { border-color: rgba(216,154,74,.5); }
.seal-sum { list-style: none; cursor: pointer; display: grid; gap: .9rem; justify-items: start; }
.seal-sum::-webkit-details-marker { display: none; }
.seal-medal { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.seal-medal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ember); stroke-width: 1; }
.seal-n { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--ember-light); }
.seal-t { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.15; color: var(--text); }
.seal-cue { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(216,154,74,.5); position: relative; }
.seal-cue::before { content: ''; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-2px) rotate(45deg); transition: transform .5s var(--ease); }
.seal-cue::after { content: ''; position: absolute; inset: -5px; border: 1px dashed rgba(216,154,74,.35); border-radius: 50%; transition: transform 1.4s var(--ease); }
.seal[open] .seal-cue::before { transform: translateY(2px) rotate(225deg); } .seal[open] .seal-cue::after { transform: rotate(180deg); }
.seal[open] .seal-medal svg { animation: seal-spin 60s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
.seal-body { padding-top: 1rem; animation: disc-in .9s var(--ease) both; }
.seal-body p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--text-soft); }
/* Cadre : les enonces deviennent des cartes, plus aucune ligne coupee */
.stmts { max-width: none; border: 0; display: grid; gap: .9rem; }
@media (min-width: 820px) { .stmts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
.stmt { border-top: 1px solid rgba(216,154,74,.24); padding: 1.5rem 1.5rem 1.5rem 3.1rem; position: relative; font-size: 1.04rem; line-height: 1.6; }
.stmt::before { content: ''; position: absolute; left: 1.45rem; top: 1.95rem; width: .5rem; height: .5rem; border: 1px solid var(--ember); transform: rotate(45deg); }
/* FAQ et honoraires : cartes depliables, sans filet */
.disc, .faq .disc, .faq .disc:last-child { border: 1px solid rgba(216,154,74,.24); padding: 0 1.4rem; margin-bottom: .8rem; }
.faq { display: grid; gap: 0; }
.disc-sum { padding: 1.2rem 0; }
.disc-body { padding: 0 0 1.5rem; }
.disc[open] { border-color: rgba(216,154,74,.5); }
.disc--center { padding: 0 1.4rem; }
/* Offre Biotypes : matiere en fond, sceau du soufre a la place de la fleche */
.billboard { background: linear-gradient(120deg, rgba(47,58,42,.92) 0%, rgba(31,34,25,.86) 55%, rgba(23,23,15,.9) 100%), url(img/matiere-lumiere-800.webp) center / cover no-repeat; }
.bb-seal { position: absolute; right: clamp(1.4rem, 4vw, 3rem); top: 50%; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); transform: translateY(-50%); }
.bb-seal svg { width: 100%; height: 100%; fill: none; stroke: var(--ember); stroke-width: 1; transition: transform 1.6s var(--ease); }
.billboard:hover .bb-seal svg { transform: rotate(90deg); }
@media (max-width: 640px) { .bb-seal { display: none; } }
/* Questionnaire plus immersif : gravure, axe pointille, options numerotees en verre */
.orient { overflow: hidden; }
.orient-engrave { position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; color: rgba(216,154,74,.14); pointer-events: none; }
.orient-head, .orient-scene, .orient-foot { position: relative; z-index: 1; }
.orient-bar { height: 2px; background: repeating-linear-gradient(90deg, rgba(216,154,74,.45) 0 2px, transparent 2px 9px); }
.orient-bar i { height: 2px; box-shadow: 0 0 12px rgba(243,207,150,.7); }
.orient-opts { counter-reset: opt; gap: .8rem; }
.orient-opt { padding: 1.15rem 1.3rem 1.15rem 3.4rem; border-radius: 14px; position: relative; font-size: 1.02rem; }
.orient-opt::before { counter-increment: opt; content: counter(opt, upper-roman); position: absolute; left: 1.2rem; top: 1.1rem; font-family: 'Fraunces', serif; font-size: 1rem; color: var(--ember); }
.orient-opt:hover, .orient-opt:focus-visible { border-color: var(--ember); background: rgba(216,154,74,.12); }
.orient-q { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin-bottom: 1.5rem; }
.orient-wait { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.orient-res { padding: 1.6rem; border-radius: 16px; background: rgba(20,20,16,.35); border: 1px solid rgba(216,154,74,.28); }
html[data-theme="jour"] .seal, html[data-theme="jour"] .stmt, html[data-theme="jour"] .disc, html[data-theme="jour"] .orient-opt { background: rgba(255,250,240,.5); border-color: rgba(110,70,32,.26); }
html[data-theme="jour"] .orient-res { background: rgba(255,250,240,.45); }
@media (prefers-reduced-motion: reduce) { .seal[open] .seal-medal svg { animation: none; } .seal-body { animation: none; } .bb-seal svg { transition: none; } }

/* ---------- Pages légales ---------- */
.legal { padding-top: clamp(7rem, 14vw, 10rem); }
.legal h1.h2 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
.prose { margin-top: 2.4rem; }
.prose h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.15; margin: 2.4rem 0 .8rem; color: var(--gold-light); }
.prose p { margin: 0 0 1rem; color: var(--text-soft); max-width: 46rem; }
.prose a { color: var(--gold-light); border-bottom: 1px solid rgba(216,154,74,.4); }
mark.todo { background: rgba(216,154,74,.22); color: var(--gold-light); padding: 0 .35em; border-radius: 4px; }
/* Portrait : fondu plus large, bords invisibles */
.portrait { -webkit-mask-image: radial-gradient(ellipse 66% 60% at 50% 44%, #000 30%, transparent 92%); mask-image: radial-gradient(ellipse 66% 60% at 50% 44%, #000 30%, transparent 92%); }

/* Marque finale : mandala vectoriel avec le cerveau au centre (img/logo-lila.svg pour l'impression) */
.brand-mark { -webkit-mask: none; mask: none; background: none; color: var(--ember); }
.brand-mark svg { display: block; width: 100%; height: 100%; stroke: currentColor; }
footer .brand-mark { width: 56px; height: 56px; }

/* ============================================================
   TROISIEME TOUR : hero, en-tetes, questionnaire, respiration des sections
   ============================================================ */
.hero-meta { flex-direction: column; align-items: flex-start; gap: .35rem; }
.hero-meta span { border: 0; padding: 0; text-shadow: 0 2px 14px rgba(20,20,16,.85); }
.hero-meta .hm-main { font-family: 'Fraunces', serif; font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: .02em; text-transform: none; color: var(--text); font-weight: 400; }
.hero-meta .hm-main em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; font-size: 1.7em; color: #F3CF96; letter-spacing: 0; vertical-align: -.06em; margin-right: .05em; text-shadow: 0 0 24px rgba(216,154,74,.55), 0 2px 14px rgba(20,20,16,.9); }
.hero-meta .hm-main i { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; color: var(--gold-light); }
.hero-meta .hm-sub { font-size: .6rem; letter-spacing: .32em; color: var(--gold-light); opacity: .85; }
@media (max-width: 900px) { .hero-meta { display: flex; margin-bottom: 1.2rem; } .hero-meta .hm-main { font-size: 1.05rem; } }
/* En-tetes de section : grand numero en filigrane et libelle, sans mention */
.shead { display: flex; align-items: baseline; gap: 1rem; margin-bottom: clamp(1.4rem, 3.5vw, 2.2rem); }
.shead .idx { display: flex; align-items: baseline; gap: 1rem; }
.shead .idx::before { display: none; }
.shead .idx .n { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: .9; color: var(--ember); opacity: .55; }
.shead .label { font-size: .66rem; letter-spacing: .36em; color: var(--gold-light); }
.shead .meta { display: none; }
/* Questionnaire : verre liquide reactif et attente qui respire */
.orient-opt { background: linear-gradient(160deg, rgba(255,244,222,.06), rgba(35,33,26,.55)); border-color: rgba(216,154,74,.3); box-shadow: inset 0 1px 0 rgba(255,244,222,.12), 0 10px 30px rgba(10,10,6,.25); transition: border-color .35s, background .35s, transform .45s var(--ease), box-shadow .45s; }
.orient-opt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255,244,222,.14) 50%, transparent 70%); transform: translateX(-120%); transition: transform 1.1s var(--ease); pointer-events: none; }
.orient-opt:hover::after, .orient-opt:focus-visible::after { transform: translateX(120%); }
.orient-opt:hover, .orient-opt:focus-visible { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,244,222,.16), 0 18px 40px rgba(10,10,6,.35), 0 0 0 1px rgba(216,154,74,.35); }
.orient-opt:active { transform: translateY(0) scale(.99); }
.orient-wait { flex-direction: column; gap: 1.1rem; }
.orient-breath { display: block; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, #F3CF96, rgba(216,154,74,.2) 70%); box-shadow: 0 0 24px rgba(216,154,74,.6); animation: breath 2.1s ease-in-out infinite; }
@keyframes breath { 0%, 100% { transform: scale(.7); opacity: .6; } 50% { transform: scale(1.25); opacity: 1; } }
/* Sections qui respirent : plus d'air et un fondu long en haut et en bas de chaque section */
.section { padding-block: clamp(6rem, 13vw, 11rem); }
.section::before, .section::after { content: ''; position: absolute; left: 0; right: 0; height: 18vh; z-index: 0; pointer-events: none; }
.section::before { top: 0; background: linear-gradient(180deg, var(--night), transparent); }
.section::after { bottom: 0; background: linear-gradient(0deg, var(--night), transparent); }
.hero::after { height: 30vh; }
@media (prefers-reduced-motion: reduce) { .orient-breath { animation: none; } .orient-opt::after { display: none; } }

/* ============================================================
   PILIERS : quatre matieres (dalles en image, panneau de verre unique sous la rangee)
   ============================================================ */
.matieres { margin-top: 2.6rem; }
.mat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
@media (min-width: 900px) { .mat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; } }
.mat { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 18px; padding: 1.2rem 1.15rem; cursor: pointer; text-align: left;
  display: grid; align-content: end; gap: .6rem; color: var(--text); font: inherit; border: 1px solid rgba(216,154,74,.3);
  background: var(--m-img) center / cover no-repeat; box-shadow: inset 0 1px 0 rgba(255,244,222,.1), 0 14px 34px rgba(10,10,6,.35);
  transition: border-color .4s, transform .6s var(--ease), box-shadow .6s; -webkit-tap-highlight-color: transparent; }
@media (max-width: 899px) { .mat { aspect-ratio: 1 / 1.05; } }
.mat::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,16,.1) 0%, rgba(20,20,16,.35) 45%, rgba(20,20,16,.82) 100%); transition: opacity .5s; }
.mat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,244,222,.12) 50%, transparent 65%); transform: translateX(-130%); transition: transform 1.2s var(--ease); pointer-events: none; }
.mat:hover, .mat:focus-visible { border-color: var(--ember); transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,244,222,.14), 0 22px 44px rgba(10,10,6,.45); }
.mat:hover::after, .mat:focus-visible::after { transform: translateX(130%); }
.mat.is-open { border-color: var(--ember-light); box-shadow: 0 0 0 1px rgba(243,207,150,.35), 0 22px 44px rgba(10,10,6,.45); }
.mat > * { position: relative; z-index: 1; }
.mat-medal { position: absolute; top: 1rem; left: 1rem; width: 56px; height: 56px; display: grid; place-items: center; }
.mat-medal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #F3CF96; stroke-width: 1; opacity: .9; transition: transform 2s var(--ease); }
.mat.is-open .mat-medal svg { transform: rotate(90deg); }
.mat-n { font-family: 'Fraunces', serif; font-size: 1.1rem; color: #F3CF96; }
.mat-t { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.12; color: #F5E9D0; text-shadow: 0 2px 14px rgba(20,20,16,.8); }
.mat-cue { position: absolute; right: 1.1rem; top: calc(1rem + 15px); width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(243,207,150,.6); } /* en haut à droite, à la hauteur du médaillon : ne touche jamais le nom de la matière (retour de Lila, 7 novembre 2026) */
.mat-cue::before { content: ''; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-right: 1px solid #F3CF96; border-bottom: 1px solid #F3CF96; transform: translateY(-2px) rotate(45deg); transition: transform .5s var(--ease); }
.mat-cue::after { content: ''; position: absolute; inset: -5px; border: 1px dashed rgba(243,207,150,.4); border-radius: 50%; transition: transform 1.4s var(--ease); }
.mat.is-open .mat-cue::before { transform: translateY(2px) rotate(225deg); } .mat.is-open .mat-cue::after { transform: rotate(180deg); }
.mat-panel { position: relative; margin-top: 1.2rem; --mat-x: 12.5%; }
.mat-panel::before { content: ''; position: absolute; top: -7px; left: var(--mat-x); width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg); background: var(--ember-light); box-shadow: 0 0 14px rgba(243,207,150,.7); transition: left .6s var(--ease); }
.mat-glass { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(216,154,74,.36); padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 3.4vw, 2.8rem);
  background: rgba(20,20,16,.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,244,222,.1), 0 20px 50px rgba(10,10,6,.4); }
.mat-panel.on .mat-glass { animation: disc-in .8s var(--ease) both; }
.mat-matter { position: absolute; inset: 0; background: var(--m-img) center / cover no-repeat; opacity: .32; filter: blur(8px) saturate(1.1); transform: scale(1.06); }
.mat-glass .nerf-engrave { position: absolute; right: -50px; top: -50px; width: 260px; height: 260px; color: rgba(243,207,150,.16); pointer-events: none; }
.mat-body { position: relative; z-index: 1; max-width: 46rem; }
.mat-kicker { margin: 0 0 .5rem; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ember); }
.mat-title { margin: 0 0 .8rem; font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.05; color: #F5E9D0; }
.mat-lead { margin: 0 0 .7rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.35; color: #F3CF96; }
.mat-text { margin: 0; color: rgba(245,233,208,.88); }
html[data-theme="jour"] .mat-glass { background: rgba(40,34,26,.72); }
@media (prefers-reduced-motion: reduce) { .mat::after { display: none; } .mat-panel.on .mat-glass { animation: none; } .mat, .mat-medal svg, .mat-panel::before { transition: none; } }

/* ============================================================
   AUDIO OFFERT : lecteur dans le style du site
   ============================================================ */
.hero-link { display: inline-flex; align-items: center; gap: .6rem; margin-left: .2rem; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); text-shadow: 0 2px 12px rgba(20,20,16,.8); transition: color .3s; }
.hero-link:hover { color: #FFF3DC; }
.hero-link-ico { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid rgba(216,154,74,.6); position: relative; flex: none; }
.hero-link-ico::before { content: ''; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); border-left: 7px solid var(--gold-light); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.player { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem; margin-top: 2.2rem; padding: 1.4rem 1.6rem; border-radius: 20px;
  border: 1px solid rgba(216,154,74,.3); background: linear-gradient(160deg, rgba(47,58,42,.36), rgba(35,33,26,.6)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,244,222,.08), 0 20px 50px rgba(10,10,6,.35); }
@media (max-width: 640px) { .player { grid-template-columns: auto 1fr; } .player .pl-dl { grid-column: 1 / -1; justify-self: start; } }
.pl-btn { position: relative; width: 76px; height: 76px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--gold-light);
  background: radial-gradient(circle at 40% 35%, rgba(216,154,74,.3), rgba(20,20,16,.5) 70%); border: 1px solid rgba(216,154,74,.6); transition: transform .5s var(--ease), box-shadow .5s; }
.pl-btn:hover { transform: scale(1.04); box-shadow: 0 0 30px rgba(216,154,74,.35); }
.pl-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(216,154,74,.45); }
.player.playing .pl-ring { animation: seal-spin 24s linear infinite; }
.pl-ico { width: 0; height: 0; margin-left: 5px; border-left: 18px solid var(--gold-light); border-top: 11px solid transparent; border-bottom: 11px solid transparent; transition: all .2s; }
.player.playing .pl-ico { width: 18px; height: 20px; margin-left: 0; border: 0; border-left: 6px solid var(--gold-light); border-right: 6px solid var(--gold-light); }
.pl-title { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--text); margin-bottom: .7rem; }
.pl-title span { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold-light); font-size: 1.1em; }
.pl-bar { position: relative; height: 18px; cursor: pointer; display: flex; align-items: center; outline: none; }
.pl-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, rgba(216,154,74,.45) 0 2px, transparent 2px 9px); }
.pl-bar i { position: absolute; left: 0; top: 50%; height: 2px; width: 0; transform: translateY(-50%); background: linear-gradient(90deg, var(--ember-light), var(--ember)); box-shadow: 0 0 12px rgba(243,207,150,.6); }
.pl-bar b { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%); background: #F3CF96; box-shadow: 0 0 16px rgba(243,207,150,.8); }
.pl-bar:focus-visible b { outline: 2px solid var(--ember); outline-offset: 3px; }
/* Glisser au doigt : la barre capte le geste horizontal sans faire défiler la page, zone de prise élargie, curseur grossi pendant le geste */
.pl-bar { touch-action: none; }
[data-player] { -webkit-user-select: none; user-select: none; } /* pas de sélection de texte accidentelle pendant le glisser */
.pl-bar::after { content: ''; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -14px; }
.pl-bar b { transition: transform .25s var(--ease); }
.pl-bar.dragging b { transform: translate(-50%, -50%) scale(1.5); }
@media (pointer: coarse) { .pl-bar { height: 28px; } .pl-bar b { width: 16px; height: 16px; } }
.pl-meta { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .62rem; letter-spacing: .2em; color: var(--text-muted); }
.pl-dl { white-space: nowrap; }
html[data-theme="jour"] .player { background: rgba(255,250,240,.5); border-color: rgba(110,70,32,.3); }
html[data-theme="jour"] .pl-btn { color: var(--ember-light); border-color: rgba(110,70,32,.5); background: radial-gradient(circle at 40% 35%, rgba(169,102,42,.25), rgba(255,250,240,.4) 70%); }
html[data-theme="jour"] .pl-ico { border-left-color: var(--ember-light); } html[data-theme="jour"] .player.playing .pl-ico { border-left-color: var(--ember-light); border-right-color: var(--ember-light); }
@media (prefers-reduced-motion: reduce) { .player.playing .pl-ring { animation: none; } }

/* signature manuscrite de Lila sous la presentation de l'audio offert */
#audio .sign { margin: .3rem 0 0 .4rem; line-height: 1; }
#audio .sign span { display: inline-block; font-family: var(--calli), cursive; font-size: 2.6rem; color: var(--ember-light); transform: rotate(-4deg); transform-origin: left center; text-shadow: 0 0 24px rgba(243,207,150,.25); }
html[data-theme="jour"] #audio .sign span { color: var(--copper); text-shadow: none; }

/* Bouton « Haut de page » (créé par main.js) : même verre que les boutons soleil et Ambiance */
.haut { position: fixed; right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom)); z-index: 70;
  display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(216,154,74,.32); background: rgba(35,33,26,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--gold-light); opacity: 0; visibility: hidden; transform: translateY(.6rem);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, border-color .3s, background .3s; }
.haut.show { opacity: 1; visibility: visible; transform: none; }
.haut:hover { border-color: var(--ember); background: rgba(216,154,74,.14); }
.haut:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.haut svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.haut:hover svg { transform: translateY(-2px); }
html.menu-open .haut { opacity: 0; visibility: hidden; }
html[data-theme="jour"] .haut { background: rgba(255,250,240,.6); border-color: rgba(138,88,40,.3); }
html[data-theme="jour"][data-jour="aube"] .haut { background: rgba(22,17,12,.5); border-color: rgba(216,154,74,.3); }
html[data-theme="jour"][data-jour="aube-claire"] .haut { background: rgba(30,24,18,.45); border-color: rgba(243,207,150,.35); }
@media (max-width: 640px) { .haut { width: 2.5rem; height: 2.5rem; } }
@media (prefers-reduced-motion: reduce) { .haut, .haut svg { transition: none; } }
