/* Joseph, voyant médium — feuille de style
   Tokens : voir design-system/joseph/MASTER.md */

/* Polices hébergées sur le site (aucun appel à Google) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --void: #000;
  --bone: #fff;
  --mist: #bdbdbd;
  --ash: #9a9a9a;
  --iris: #8052ff;
  --iris-hover: #9170ff;
  --saffron: #ffb829;
  --verdant: #15846e;
  --hair: rgba(255, 255, 255, .14);

  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 13vw, 176px);
  --ease: cubic-bezier(.2, .7, .15, 1);

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  background: var(--void);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--mist);
  font: 300 18px/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--iris); color: #fff; }

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--bone);
  color: #000;
  font: 600 15px/1 var(--font-text);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Ciel ---------- */

#sky, #links {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
}
#sky { z-index: 0; }
#links { z-index: 1; }

.site-header, main, .site-footer { position: relative; z-index: 2; }

/* ---------- Typographie ---------- */

h1, h2, h3 { margin: 0; font-weight: inherit; }

.hero-title, h2, .tarot-title, .phone, .brand, .menu-link, .step-n, .arcane-num, .cities li, .faq-list summary,
.page-title, .side-title, .side-phone, .svc-num, .svc-name, .post-title, .situations a, .footer-phone {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}

h2 {
  color: var(--bone);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 100px);
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 13ch;
  text-wrap: balance;
}

/* Lettres qui respirent sous le curseur (ui.js) */
[data-breathe] .w { display: inline-block; white-space: nowrap; }
[data-breathe] .l {
  --w: 300;
  --soft: 100;
  --wonk: 0;
  --e: 0;
  display: inline-block;
  text-align: center;
  font-variation-settings: "wght" var(--w), "SOFT" var(--soft), "WONK" var(--wonk);
  color: color-mix(in srgb, var(--saffron) calc(var(--e) * 100%), var(--bone));
  transition: font-variation-settings .45s var(--ease), color .45s var(--ease);
}

/* ---------- Boutons et liens ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1 var(--font-text);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .4s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-iris { background: var(--iris); color: #fff; }
.btn-iris:hover { background: var(--iris-hover); }
.btn-line { color: var(--bone); background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--bone); }
.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

.link {
  display: inline-block;
  padding: 6px 0;
  color: var(--bone);
  font: 500 15px/1.2 var(--font-text);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color .25s ease, background-size .45s var(--ease), transform .4s var(--ease);
}
.link:hover { color: var(--saffron); background-size: 40% 1px; }

.magnetic { will-change: transform; }

/* ---------- En-tête ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -48px;
  background: linear-gradient(#000 35%, rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }

.bar {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bone);
  text-decoration: none;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
}
.brand-star {
  width: 22px;
  height: 22px;
  fill: var(--saffron);
  transition: transform 1s var(--ease);
}
.brand:hover .brand-star { transform: rotate(90deg) scale(1.1); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 30px; list-style: none; }
.site-nav a {
  color: var(--ash);
  text-decoration: none;
  font: 500 14px/1 var(--font-text);
  transition: color .2s ease;
}
.site-nav a:hover, .site-nav a.is-current { color: var(--bone); }

.header-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* Langue du site : un globe et le code de la langue, la liste s'ouvre dessous */
.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--ash);
  font: 600 13px/1 var(--font-text);
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .2s ease;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--bone); }
.lang-globe {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--saffron);
  stroke-width: 1.3;
  transition: transform .8s var(--ease);
}
.lang-btn:hover .lang-globe, .lang-btn[aria-expanded="true"] .lang-globe { transform: rotate(180deg); }
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: -8px;
  min-width: 188px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(0, 0, 0, .96);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--hair), 0 24px 60px -20px rgba(128, 82, 255, .5);
  animation: lang-open .35s var(--ease);
}
.lang-list[hidden] { display: none; }
@keyframes lang-open { from { opacity: 0; transform: translateY(-6px); } }
.lang-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--mist);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.lang-list a:hover { color: var(--bone); background: rgba(255, 255, 255, .06); }
.lang-list a[aria-current]::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.lang-list a[aria-current] { color: var(--bone); }

.menu .menu-langs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.menu-lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hair);
  color: var(--mist);
  font-size: 15px;
  text-decoration: none;
}
.menu-lang[aria-current] { color: var(--saffron); box-shadow: inset 0 0 0 1px rgba(255, 184, 41, .55); }

/* À la première visite : la fenêtre « Langue du site » glisse sous l'en-tête */
.langpop {
  position: fixed;
  top: 84px;
  left: 50%;
  z-index: 55;
  width: min(440px, calc(100% - 24px));
  padding: 20px 22px 18px;
  background: rgba(0, 0, 0, .95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px var(--hair), 0 26px 70px -24px rgba(128, 82, 255, .5);
  transform: translate(-50%, -16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease, transform .7s var(--ease);
}
.langpop.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.langpop-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ash);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.langpop-x:hover { color: var(--bone); background: rgba(255, 255, 255, .07); }
.langpop-t { margin: 0 40px 6px 0; font: 400 21px/1.2 var(--font-display); color: var(--bone); }
.langpop-d { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--mist); }
.langpop-l { display: flex; flex-wrap: wrap; gap: 8px; }
.langpop-c {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hair);
  color: var(--bone);
  font-size: 14.5px;
  text-decoration: none;
  transition: box-shadow .2s ease, color .2s ease;
}
.langpop-c:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.langpop-c.is-on { color: var(--saffron); box-shadow: inset 0 0 0 1px rgba(255, 184, 41, .6); }

.menu-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--bone);
  font: 500 15px/1 var(--font-text);
  cursor: pointer;
}
.menu-toggle-lines {
  position: relative;
  width: 22px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transition: transform .4s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { transform: rotate(90deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 96px var(--gutter) calc(48px + env(safe-area-inset-bottom));
  background: #000;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu-link {
  color: var(--bone);
  text-decoration: none;
  font-size: clamp(40px, 11vw, 56px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.menu-actions { display: grid; gap: 12px; }

/* ---------- Mise en page ---------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section) 0; }

/* Accueil */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 128px 0 80px;
}
.hero .wrap { width: 100%; }
.hero-copy { max-width: 660px; }

.hero-title { display: flex; flex-direction: column; color: var(--bone); }
.name {
  display: block;
  font-size: clamp(92px, 15.5vw, 236px);
  font-weight: 300;
  line-height: .8;
  letter-spacing: -.05em;
  margin-left: -.05em;
}
.title-line {
  display: block;
  margin-top: .62em;
  max-width: 23ch;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.lead { margin-top: 30px; max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
  margin-top: 38px;
}

.facts, .promises { list-style: none; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 44px;
  color: var(--ash);
  font-size: 14px;
  line-height: 1.4;
}
.facts li, .promises li { display: flex; align-items: baseline; gap: 10px; }
.facts li::before, .promises li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transform: translateY(1px);
}

/* Apparition du titre (unique moment automatique) */
.js .hero-reveal > * {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
}
.js .hero-reveal .name .l {
  opacity: 0;
  transform: translateY(.35em);
}
.is-ready .hero-reveal > * {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.is-ready .hero-reveal > :nth-child(2) { transition-delay: .55s; }
.is-ready .hero-reveal > :nth-child(3) { transition-delay: .7s; }
.is-ready .hero-reveal > :nth-child(4) { transition-delay: .85s; }
.is-ready .hero-reveal .name .l {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), font-variation-settings .45s var(--ease), color .45s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 100ms), calc(var(--i, 0) * 70ms + 100ms), 0s, 0s;
}

/* Consultations */
.section-head {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
}
.section-head p { margin-top: 30px; max-width: 33em; }

.deck {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
  margin-top: 56px;
}
.tarot { perspective: 1200px; }
/* la carte entière est un lien vers sa consultation ; elle s'incline vers le curseur (ui.js) */
.tarot-tilt {
  position: relative;
  display: block;
  aspect-ratio: 7 / 10.6;
  color: inherit;
  text-decoration: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.tarot-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 26px;
  border-radius: 20px;
  background: #000;
  text-align: center;
  overflow: hidden;
}
.tarot-face::before, .tarot-face::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 184, 41, .55);
  border-radius: 20px;
  inset: 0;
  transition: border-color .4s ease;
}
.tarot-face::after { inset: 9px; border-radius: 13px; border-color: rgba(255, 184, 41, .2); }
.tarot:hover .tarot-front::before, .tarot-tilt:focus-visible .tarot-front::before { border-color: var(--saffron); }

.arcane-num { color: var(--saffron); font-size: 24px; line-height: 1; letter-spacing: .04em; }
.arcane-sym {
  width: 44%;
  margin: auto 0;
  fill: none;
  stroke: var(--saffron);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 1.2s var(--ease);
}
.tarot:hover .arcane-sym { transform: translateY(-8px) scale(1.08) rotate(-6deg); }
.arcane-name { margin-bottom: 10px; color: var(--ash); font-size: 13px; line-height: 1.3; letter-spacing: .06em; }
.tarot-title {
  display: block;
  color: var(--bone);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}
/* la phrase de la consultation monte sous le titre au survol */
.tarot-line {
  display: block;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.45;
  transition: max-height .6s var(--ease), margin .6s var(--ease), opacity .4s ease;
}
.tarot:hover .tarot-line, .tarot-tilt:focus-visible .tarot-line { max-height: 6em; margin-top: 12px; opacity: 1; }
@media (hover: none) { .tarot-line { max-height: none; margin-top: 10px; opacity: .9; font-size: 13px; } }
.sheen {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 46%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.tarot:hover .sheen { opacity: 1; }

/* Ma façon de faire */
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.approach-visual { min-height: 60vh; }
.approach-copy > p { max-width: 34em; margin-top: 26px; }
.approach-copy > h2 + p { margin-top: 34px; }
.steps-title { margin-top: 56px; color: var(--bone); font: 500 15px/1.3 var(--font-text); }
.steps { list-style: none; display: grid; gap: 22px; margin-top: 22px; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.step-n { color: var(--saffron); font-size: 40px; font-weight: 300; line-height: .9; }
.promises { display: grid; gap: 12px; margin-top: 44px; color: var(--bone); font-weight: 400; font-size: 16px; }

/* Zones */
.zones-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.zones-copy { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.zones-copy > p { max-width: 33em; margin-top: 30px; }
/* Les villes écrites en ligne, une étoile devant chaque nom */
.flows { display: grid; gap: 26px; margin-top: 40px; }
.flow-label { color: var(--saffron); font: 500 14px/1 var(--font-text); }
.flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; margin-top: 12px; }
.flow li { display: inline-flex; align-items: center; }
.flow li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 11px;
  background: var(--saffron);
  opacity: .6;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transition: transform .6s var(--ease), opacity .3s ease;
}
.flow li:hover::before { transform: rotate(90deg) scale(1.6); opacity: 1; }
.flow a {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.015em;
  text-decoration: none;
  text-shadow: 0 0 16px #000, 0 0 4px #000;
}

/* La carte-constellation : chaque ville est une étoile cliquable */
.cmap { position: relative; margin-top: 36px; }
.cmap-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cm-outline { fill: rgba(255, 255, 255, .02); stroke: rgba(255, 255, 255, .3); stroke-width: 1.2; }
.cm-links { fill: none; stroke: rgba(255, 184, 41, .34); stroke-width: 1; }
.cm-path { fill: none; stroke: var(--saffron); stroke-width: 2.2; }
.cm-halo { fill: rgba(255, 184, 41, 0); transform-box: fill-box; transform-origin: center; transition: fill .4s ease; }
.cm-star { fill: var(--bone); transform-box: fill-box; transform-origin: center; animation: cm-twinkle 3.6s ease-in-out infinite; animation-delay: var(--d); transition: fill .3s ease; }
.cm-dot { fill: #fff; }
.cm-label {
  fill: var(--mist);
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -.01em;
  paint-order: stroke;
  stroke: #000;
  stroke-width: 7px;
  stroke-linejoin: round;
  transition: fill .3s ease;
}
.cm-city:hover .cm-label, .cm-city:focus-visible .cm-label { fill: var(--saffron); }
.cm-city:hover .cm-halo, .cm-city:focus-visible .cm-halo { fill: rgba(255, 184, 41, .18); }
.cm-city:hover .cm-star, .cm-city:focus-visible .cm-star { fill: var(--saffron); }
.cm-city.is-near .cm-label { fill: var(--bone); }
.cm-city.is-here .cm-star { fill: var(--saffron); }
.cm-city.is-here .cm-label { fill: var(--saffron); font-weight: 500; }
.cm-city.is-here .cm-halo { fill: rgba(255, 184, 41, .24); animation: cm-pulse 2.6s ease-out infinite; }
@keyframes cm-twinkle { 0%, 100% { opacity: .55; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes cm-pulse { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.js .cmap-svg .cm-city { opacity: 0; transition: opacity .7s ease; }
.js .cmap-svg.is-drawn .cm-city { opacity: 1; transition-delay: calc(.4s + var(--d) * .25); }

/* Les consultations en petites cartes de tarot qui défilent */
.rail {
  margin-top: 36px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.rail::-webkit-scrollbar { display: none; }
.rail-track { list-style: none; display: flex; gap: 18px; width: max-content; padding: 16px 24px 26px; }
.mini-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 168px;
  aspect-ratio: 7 / 10.6;
  padding: 18px 14px 16px;
  border-radius: 16px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 184, 41, .5);
  text-align: center;
  text-decoration: none;
  transition: transform .6s var(--ease), box-shadow .3s ease;
}
.mini-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 184, 41, .18);
  pointer-events: none;
}
.mini-num { color: var(--saffron); font: 400 18px/1 var(--font-display); letter-spacing: .04em; }
.mini-sym { width: 46%; margin: auto 0; fill: none; stroke: var(--saffron); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.mini-name { color: var(--bone); font: 300 19px/1.1 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.mini-arcana { margin-top: 6px; color: var(--ash); font-size: 11.5px; letter-spacing: .04em; }
.mini-card:hover, .mini-card:focus-visible {
  transform: translateY(-10px) rotate(-2deg);
  box-shadow: inset 0 0 0 1px var(--saffron), 0 18px 40px -18px rgba(255, 184, 41, .5);
}
.mini-card:hover .mini-sym { transform: scale(1.12) rotate(-6deg); }
.prose .rail { margin-top: 28px; }
.cities-hint { margin-top: 28px; color: var(--ash); font-size: 14px; }
.zones-more { margin-top: 30px; }

/* Situations : les mots-clés du client, chacun relié à sa page */
.situations-section .wrap > p { margin-top: 30px; max-width: 34em; }
.situations {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 26px;
  margin-top: 52px;
  max-width: 860px;   /* reste dans la colonne gauche : la forme du ciel occupe la droite */
}
.situations li { display: inline-flex; align-items: center; }
.situations li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 14px;
  background: var(--saffron);
  opacity: .7;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.situations a {
  color: var(--bone);
  font-size: clamp(26px, 2.9vw, 42px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.02em;
  text-decoration: none;
  text-shadow: 0 0 18px #000, 0 0 4px #000;
}
.home-posts .posts { margin-top: 48px; }

/* Questions */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.faq-list details { border-top: 1px solid var(--hair); }
.faq-list details:last-child { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  color: var(--bone);
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -.01em;
  list-style: none;
  cursor: pointer;
  transition: color .25s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--saffron); }
.faq-icon { position: relative; flex: none; width: 20px; height: 20px; margin-top: .3em; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--saffron);
  transition: transform .45s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 44px 26px 0; max-width: 40em; }
details::details-content {
  height: 0;
  overflow: clip;
  transition: height .5s var(--ease), content-visibility .5s allow-discrete;
}
details[open]::details-content { height: auto; }

/* Contact */
.contact { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.contact .wrap { width: 100%; }
.contact-copy { max-width: 700px; }
.contact-copy > p { max-width: 30em; margin-top: 30px; }
.phone {
  display: inline-block;
  margin-top: 34px;
  color: var(--bone);
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s ease;
}
.phone:hover { color: var(--saffron); }
.contact-note { margin-top: 34px; color: var(--ash); font-size: 14px; max-width: 34em; }

/* ---------- Pages intérieures ---------- */

.hero--page { min-height: 88vh; min-height: 88svh; padding: 136px 0 72px; }
.hero--page .hero-copy { max-width: 720px; }
.is-ready .hero-reveal > :nth-child(5) { transition-delay: 1s; }
.is-ready .hero-reveal > :nth-child(6) { transition-delay: 1.1s; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; row-gap: 4px; color: var(--ash); font: 500 13px/1.5 var(--font-text); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .28); }
.crumbs a { color: var(--mist); text-decoration: none; transition: color .2s ease; }
.crumbs a:hover { color: var(--bone); }

.page-title {
  margin-top: 28px;
  max-width: 15ch;
  color: var(--bone);
  font-size: clamp(46px, 6.4vw, 98px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.byline { margin-top: 26px; color: var(--ash); font-size: 14px; }
.phone-hero { margin-top: 36px; font-size: clamp(40px, 5.6vw, 84px); }

.page-body { padding: 8px 0 clamp(72px, 9vw, 128px); }
.stage-mark { display: block; height: 1px; }
.body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

/* Texte long : colonne de lecture */
.prose { max-width: 700px; }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  margin-top: 76px;
  max-width: 19ch;
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.04;
  letter-spacing: -.03em;
}
.prose h2 + * { margin-top: 26px; }
.prose h3 { margin-top: 44px; color: var(--bone); font: 500 19px/1.35 var(--font-text); }
.prose p, .prose li { line-height: 1.75; }
.prose strong { color: var(--bone); font-weight: 600; }
.prose a:not([class]), .faq-a a {
  color: var(--bone);
  text-decoration: underline 1px rgba(255, 184, 41, .55);
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.prose a:not([class]):hover, .faq-a a:hover { color: var(--saffron); text-decoration-color: var(--saffron); }
.prose ul:not([class]) { list-style: none; display: grid; gap: 12px; }
.prose ul:not([class]) > li { position: relative; padding-left: 26px; }
.prose ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.prose ol:not([class]) { list-style: none; counter-reset: step; display: grid; gap: 18px; }
.prose ol:not([class]) > li { position: relative; padding-left: 52px; counter-increment: step; }
.prose ol:not([class]) > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.06em;
  color: var(--saffron);
  font: 300 34px/1 var(--font-display);
  font-variation-settings: "SOFT" 100;
}
.prose-legal h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 56px; }

/* « En bref » : la réponse courte, en tête de page */
.brief {
  position: relative;
  padding: 26px 30px 26px 62px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 184, 41, .38);
  color: var(--bone);
  font-size: 17px;
  line-height: 1.7;
}
.brief::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 31px;
  width: 16px;
  height: 16px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.brief strong { color: var(--saffron); font-weight: 600; }
.post-related { padding-top: 26px; border-top: 1px solid var(--hair); color: var(--bone); }

/* Carte de contact qui suit la lecture */
.side {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
  padding: 30px 28px 28px;
  border-radius: 24px;
  background: #000;
  box-shadow: inset 0 0 0 1px var(--hair);
  font-size: 16px;
  line-height: 1.55;
}
.side-title { color: var(--bone); font-size: 32px; font-weight: 300; line-height: 1.02; letter-spacing: -.02em; }
.side-phone {
  color: var(--bone);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.side-phone:hover { color: var(--saffron); }
.side .btn { width: 100%; }
.side-note { color: var(--ash); font-size: 13px; }

.sub { padding: clamp(72px, 9vw, 128px) 0; }
.sub-title { max-width: 16ch; font-size: clamp(38px, 4.8vw, 72px); }
.sub-h { margin-top: 64px; color: var(--bone); font: 500 17px/1.3 var(--font-text); }
.sub-p { margin-top: 18px; max-width: 36em; }

/* Liste des consultations, numérotées par leur arcane */
.svc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin-top: 40px;
}
.prose .svc-list { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
.svc-list li { border-top: 1px solid var(--hair); }
.svc-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 6px;
  padding: 22px 0 24px;
  color: inherit;
  text-decoration: none;
}
.svc-num { grid-row: 1 / 3; color: var(--saffron); font-size: 22px; line-height: 1.25; letter-spacing: .03em; }
.svc-name {
  color: var(--bone);
  font-size: 25px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.015em;
  transition: color .25s ease, transform .45s var(--ease);
}
.svc-desc { color: var(--mist); font-size: 15px; line-height: 1.5; }
.svc-list a:hover .svc-name { color: var(--saffron); transform: translateX(6px); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--bone);
  background: rgba(0, 0, 0, .6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
  font: 500 15px/1 var(--font-text);
  text-decoration: none;
  transition: color .25s ease, box-shadow .25s ease, transform .4s var(--ease);
}
.chips a:hover { color: var(--saffron); box-shadow: inset 0 0 0 1px var(--saffron); transform: translateY(-2px); }
.hero .chips { margin-top: 40px; }

/* Articles : une liste éditoriale */
.posts { list-style: none; margin-top: 24px; border-top: 1px solid var(--hair); }
.posts li { border-bottom: 1px solid var(--hair); }
.post-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 48px;
  padding: 34px 0 36px;
  color: inherit;
  text-decoration: none;
}
.post-title {
  grid-column: 1;
  color: var(--bone);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
  transition: color .3s ease, transform .5s var(--ease);
}
.post-excerpt { grid-column: 1; max-width: 44em; color: var(--mist); font-size: 16px; line-height: 1.6; }
.post-topic { grid-column: 2; grid-row: 1 / 3; align-self: start; padding-top: .6em; color: var(--saffron); font-size: 14px; white-space: nowrap; }
.post-link:hover .post-title { color: var(--saffron); transform: translateX(8px); }

/* Formulaire : le message s'ouvre dans WhatsApp */
.wa-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--bone); font: 500 15px/1.3 var(--font-text); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: var(--bone);
  font: 400 16px/1.4 var(--font-text);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23bdbdbd' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, .09);
  box-shadow: inset 0 0 0 1px var(--saffron);
}
.wa-form .btn { justify-self: start; margin-top: 6px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { grid-column: 1 / -1; color: var(--ash); font-size: 14px; }

/* Pied de page */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--hair); background: #000; color: var(--ash); font-size: 14px; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.1fr .9fr; gap: 40px 48px; }
.footer-grid p { margin-top: 14px; max-width: 34em; }
.footer-grid .footer-h { margin: 0 0 14px; color: var(--bone); font: 500 14px/1.2 var(--font-text); }
.footer-grid nav ul { list-style: none; display: flex; flex-wrap: wrap; row-gap: 6px; }
.footer-grid nav li { display: inline-flex; align-items: center; }
.footer-grid nav li + li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin: 0 10px;
  background: rgba(255, 184, 41, .65);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.footer-grid nav a { color: var(--mist); text-decoration: none; transition: color .2s ease; }
.footer-grid nav a:hover { color: var(--saffron); }
.footer-phone {
  display: inline-block;
  margin-top: 18px;
  color: var(--bone);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.footer-phone:hover { color: var(--saffron); }
.footer-mail { display: block; width: fit-content; margin-top: 6px; color: var(--mist); text-decoration: none; transition: color .2s ease; }
.footer-mail:hover { color: var(--saffron); }

/* « Ou par e-mail » : discret, sous les boutons d'appel */
.contact-mail { margin-top: 20px; color: var(--ash); font-size: 15px; }
.contact-mail a { color: var(--bone); text-underline-offset: 4px; text-decoration-color: rgba(255, 184, 41, .5); overflow-wrap: anywhere; }
.contact-mail a:hover { color: var(--saffron); }
.contact-mail-hero { margin-top: 14px; }
.footer-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); }
.footer-end p { margin: 0; }
.site-footer .brand { font-size: 24px; }

/* ---------- Bandeau cookies (seulement si une mesure Google est activée, assets/js/cookies.js) ---------- */

.linkbtn {
  padding: 10px 0;
  color: var(--mist);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 184, 41, .5);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .2s ease;
}
.linkbtn:hover { color: var(--saffron); }

.cookiebar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 55;
  width: min(600px, calc(100% - 24px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px 28px 22px;
  background: rgba(0, 0, 0, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px var(--hair), 0 0 0 1px rgba(255, 184, 41, .08), 0 30px 80px -24px rgba(128, 82, 255, .45);
  transform: translate(-50%, 28px);
  opacity: 0;
  transition: opacity .45s ease, transform .7s var(--ease);
}
.cookiebar.is-on { transform: translate(-50%, 0); opacity: 1; }
.cookiebar:focus { outline: none; }
.cookiebar-star {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 22px;
  height: 22px;
  fill: var(--saffron);
  opacity: .85;
  animation: cookiebar-twinkle 4s ease-in-out infinite;
}
@keyframes cookiebar-twinkle {
  0%, 100% { transform: rotate(0) scale(1); opacity: .85; }
  50% { transform: rotate(45deg) scale(.8); opacity: .45; }
}
.cookiebar-t { margin: 0 40px 6px 0; font: 400 24px/1.2 var(--font-display); color: var(--bone); }
.cookiebar-d { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--mist); }
.cookiebar-d a { color: var(--saffron); text-underline-offset: 3px; white-space: nowrap; }
.cookiebar-opts { display: grid; gap: 10px; margin: 0 0 18px; }
.cookiebar-opts[hidden] { display: none; }
.cookiebar-none { margin: 0; font-size: 13.5px; color: var(--ash); }
.cb-opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 15px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--hair);
  cursor: pointer;
  transition: box-shadow .25s ease;
}
.cb-opt:hover { box-shadow: inset 0 0 0 1px rgba(255, 184, 41, .45); }
.cb-opt input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--iris); }
.cb-opt b { display: block; font-weight: 600; font-size: 15px; color: var(--bone); }
.cb-opt small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--ash); }
.cookiebar-save { display: flex; justify-content: flex-end; }
.cookiebar-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookiebar-btns .btn { flex: 1 1 150px; }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 14px; }
.cookiebar-custom {
  flex: none;
  min-height: 46px;
  padding: 0 6px;
  color: var(--mist);
  font: 600 14px/1 var(--font-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}
.cookiebar-custom:hover { color: var(--saffron); }

.mobile-bar { display: none; }

/* ---------- Petites touches : dessins au trait, astrolabe, lune ---------- */

/* Les traits se dessinent quand ils arrivent à l'écran (ui.js ajoute .is-drawn) */
.js .draw .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.js .draw.is-drawn .ln { stroke-dashoffset: 0; }
.js .draw .dot { opacity: 0; transition: opacity .8s ease 1.1s; }
.js .draw.is-drawn .dot { opacity: 1; }

.fleuron { width: min(560px, calc(100% - 2 * var(--gutter))); margin: 0 auto clamp(56px, 7vw, 96px); color: var(--saffron); }
.fleuron svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1; }
.fleuron .fill { fill: currentColor; stroke: none; }
.prose .fleuron { width: min(420px, 100%); margin: 72px auto 0; }

/* Astrolabe en filigrane : il tourne et s'incline en 3D sous le curseur */
.has-astrolabe { position: relative; }
.has-astrolabe > .wrap { position: relative; z-index: 1; }
.astrolabe {
  position: absolute;
  top: 50%;
  left: -250px;
  width: 760px;
  height: 760px;
  margin-top: -380px;
  opacity: .2;
  pointer-events: none;
  transform: perspective(1400px) rotateX(var(--ax, 24deg)) rotateY(var(--ay, -18deg));
  transition: transform 1.4s var(--ease);
}
.astrolabe svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--saffron); stroke-width: .9; animation: astrolabe 240s linear infinite; }
.astrolabe .fill { fill: var(--saffron); stroke: none; }
.contact .astrolabe { left: -300px; opacity: .15; }
@keyframes astrolabe { to { transform: rotate(360deg); } }

/* La Petite Ourse et l'étoile Polaire */
.ursa { display: block; fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: .8; overflow: visible; }
.ursa .fill { fill: var(--bone); stroke: none; }
.ursa .polaris { fill: var(--saffron); }
.ursa .halo { fill: rgba(255, 184, 41, .14); stroke: none; }
.ursa-footer { width: 120px; height: 80px; margin-bottom: 22px; }
.ursa-menu { position: absolute; top: 96px; right: var(--gutter); width: 132px; height: 88px; }
.ursa-side { position: absolute; top: -34px; right: 20px; width: 92px; height: 62px; }

/* La carte de la consultation, en haut de la carte de contact */
.side-arcana { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.side-arcana svg { width: 54px; height: 54px; flex: none; fill: none; stroke: var(--saffron); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.side-arcana p { color: var(--ash); font-size: 13px; line-height: 1.4; }
.side-arcana span { display: block; color: var(--saffron); font: 400 22px/1.1 var(--font-display); font-variation-settings: "SOFT" 100; }

/* Cartes de tarot : étoiles aux coins, soleil violet au dos */
.tarot-corners {
  --s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l1.1 3.9L10 5 6.1 6.1 5 10 3.9 6.1 0 5l3.9-1.1z' fill='%23ffb829'/%3E%3C/svg%3E");
  position: absolute;
  inset: 16px;
  pointer-events: none;
  background: var(--s) left top / 9px no-repeat, var(--s) right top / 9px no-repeat, var(--s) left bottom / 9px no-repeat, var(--s) right bottom / 9px no-repeat;
  opacity: .7;
  transition: opacity .4s ease, transform .6s var(--ease);
}
.tarot:hover .tarot-corners { opacity: 1; transform: scale(1.03); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Lettrine des articles */
.prose-article h2:first-of-type + p::first-letter {
  float: left;
  margin: .1em .14em 0 -.02em;
  color: var(--saffron);
  font: 300 4.2em/.8 var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* Survols : l'arcane brille, une étoile apparaît */
.svc-num { transition: text-shadow .3s ease; }
.svc-link:hover .svc-num { text-shadow: 0 0 14px rgba(255, 184, 41, .9); }
.chip::before {
  content: "";
  flex: none;
  width: 0;
  height: 9px;
  margin-right: 0;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transition: width .35s var(--ease), margin .35s var(--ease);
}
.chip:hover::before { width: 9px; margin-right: 8px; }
.post-link { position: relative; }
.post-link::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 46px;
  width: 12px;
  height: 12px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  transform: scale(.3) rotate(-90deg);
  transition: opacity .3s ease, transform .6s var(--ease);
}
.post-link:hover::before { opacity: 1; transform: none; }

/* La lune du jour, dans le pied de page */
.footer-grid .moon { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--mist); }
.moon[hidden] { display: none !important; }
.moon-svg { width: 34px; height: 34px; flex: none; overflow: visible; filter: drop-shadow(0 0 6px rgba(255, 221, 150, .45)); }
.moon-disc { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .28); stroke-width: .8; }
.moon-lit { fill: #f7e8c0; }
.moon strong { color: var(--bone); font-weight: 500; }

/* Fond étoilé du pied de page et du menu */
.site-footer, .menu {
  background-color: #000;
  background-image:
    radial-gradient(1px 1px at 7% 18%, rgba(255, 255, 255, .75), transparent),
    radial-gradient(1px 1px at 19% 64%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(1.5px 1.5px at 33% 30%, rgba(255, 184, 41, .8), transparent),
    radial-gradient(1px 1px at 47% 82%, rgba(255, 255, 255, .45), transparent),
    radial-gradient(1.2px 1.2px at 58% 12%, rgba(160, 130, 255, .85), transparent),
    radial-gradient(1.2px 1.2px at 71% 56%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1px 1px at 84% 24%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(1.5px 1.5px at 93% 72%, rgba(255, 184, 41, .7), transparent),
    radial-gradient(1px 1px at 12% 92%, rgba(255, 255, 255, .35), transparent),
    radial-gradient(1px 1px at 66% 94%, rgba(255, 255, 255, .35), transparent),
    radial-gradient(1px 1px at 39% 6%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.2px 1.2px at 88% 46%, rgba(31, 184, 148, .7), transparent);
}

/* ---------- Photos : elles s'allument comme une bougie en arrivant à l'écran ---------- */

@property --lit { syntax: "<percentage>"; inherits: false; initial-value: 130%; }
.photo { position: relative; margin: 64px auto; }
.photo picture {
  display: block;
  -webkit-mask-image: radial-gradient(ellipse farthest-corner at 50% 46%, #000 calc(var(--lit) - 34%), transparent var(--lit));
  mask-image: radial-gradient(ellipse farthest-corner at 50% 46%, #000 calc(var(--lit) - 34%), transparent var(--lit));
  transition: --lit 2.4s var(--ease), transform 2.6s var(--ease), filter 2s ease;
}
.photo img { display: block; width: 100%; height: auto; }
.js .photo:not(.is-drawn) picture { --lit: 0%; transform: scale(1.07); filter: blur(12px) brightness(.5); }
/* puis l'image respire, très lentement */
.photo--fade img, .photo--duo img { transform-origin: 50% 45%; animation: photo-drift 26s ease-in-out infinite alternate; }
@keyframes photo-drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.06) translate3d(-1.2%, -1%, 0); } }

/* objet détouré : il flotte devant un halo doré */
.photo--cutout { float: right; width: min(36%, 260px); margin: 6px 0 28px 40px; }
.photo--cutout::before {
  content: "";
  position: absolute;
  inset: 6% -20%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 184, 41, .26), rgba(128, 82, 255, .1) 58%, transparent);
  animation: photo-halo 6s ease-in-out infinite;
}
.photo--cutout img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .9)); animation: photo-float 7s ease-in-out infinite; }
@keyframes photo-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes photo-halo { 0%, 100% { opacity: .7; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }

/* vue de ville en hauteur : à côté du texte */
.photo--portrait { float: right; width: min(44%, 320px); margin: 6px 0 24px 40px; }
.photo figcaption { margin-top: 2px; color: var(--ash); font-size: 13px; line-height: 1.4; text-align: center; }
.photo figcaption::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.prose::after { content: ""; display: table; clear: both; }
.approach-copy .photo { margin: 40px 0 0; }

/* la boule de cristal de l'accueil flotte à droite des situations */
.situations-section .wrap { position: relative; }
.photo--situ { position: absolute; top: 30px; right: var(--gutter); width: 290px; margin: 0; float: none; pointer-events: none; }
@media (min-width: 900px) { .situations { max-width: min(860px, 64%); } }

/* vignettes des articles */
.post-link { grid-template-columns: 160px minmax(0, 1fr) auto; column-gap: 36px; }
.post-thumb { grid-column: 1; grid-row: 1 / 3; align-self: center; overflow: hidden; border-radius: 14px; }
.post-thumb img { display: block; width: 160px; height: 108px; object-fit: cover; filter: brightness(.85); transition: transform .9s var(--ease), filter .6s ease; }
.post-link:hover .post-thumb img { transform: scale(1.08); filter: brightness(1.08); }
.post-link .post-title, .post-link .post-excerpt { grid-column: 2; }
.post-link .post-topic { grid-column: 3; }

/* ---------- Curseur ---------- */

.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary { cursor: none; }
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  border-radius: 50%;
  pointer-events: none;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--saffron); }
.cursor-ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid rgba(255, 255, 255, .5);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s ease, border-color .35s ease, opacity .3s ease;
}
.cursor-ring.is-hover {
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-color: rgba(128, 82, 255, .9);
  background: rgba(128, 82, 255, .14);
}
.cursor.is-hidden .cursor-ring, .cursor.is-hidden .cursor-dot { opacity: 0; }

/* ---------- Écrans moyens et petits ---------- */

@media (min-width: 1180px) {
  .deck { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tarot-face { padding: 24px 20px 22px; }
}

@media (max-width: 1100px) {
  .site-nav ul { gap: 22px; }
  .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); font-size: 17px; }
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 0; }
  .lang { margin-left: auto; }
  .bar { gap: 18px; }
  .langpop { top: 74px; }

  .hero { align-items: flex-end; padding: 34svh 0 56px; }
  .hero--page { min-height: 0; padding: 38svh 0 48px; }
  main p, main h1, main h2, main h3, main li, .faq-list summary, .svc-name, .svc-desc, .post-excerpt {
    text-shadow: 0 0 14px rgba(0, 0, 0, .95), 0 0 3px rgba(0, 0, 0, .9);
  }
  .body-grid { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  .post-link { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .post-topic { grid-column: 1; grid-row: auto; padding-top: 0; }
  .wa-form { grid-template-columns: minmax(0, 1fr); }
  .situations { column-gap: 18px; }
  .situations li::before { margin-right: 10px; }
  .astrolabe { top: auto; bottom: -40px; left: -230px; width: 520px; height: 520px; margin-top: 0; opacity: .14; }
  /* sur téléphone, la carte des villes se fait glisser du doigt */
  .cmap { overflow-x: auto; margin: 28px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); scrollbar-width: none; }
  .cmap::-webkit-scrollbar { display: none; }
  .cmap-svg { width: 680px; max-width: none; }
  .mini-card { width: 148px; }
  .post-link::before { display: none; }
  .prose h2 { margin-top: 60px; }
  .lead { margin-top: 24px; }
  .facts { margin-top: 34px; }

  .section-head, .zones-copy { min-height: 0; }
  .stage { padding-top: 40svh; }
  .approach-grid, .zones-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .approach-visual { display: none; }
  .faq-grid { gap: 32px; }
  .faq-grid.stage { padding-top: 0; }
  .contact { min-height: 0; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 25;
    transition: transform .6s var(--ease), opacity .4s ease;
  }
  /* la barre arrive quand les boutons de l'accueil sortent de l'écran (ui.js) */
  .js .mobile-bar:not(.is-visible) { transform: translateY(140%); opacity: 0; pointer-events: none; }
  /* bandeau cookies compact, posé au-dessus de la barre Appeler / WhatsApp, qui reste visible */
  .cookiebar { bottom: calc(76px + env(safe-area-inset-bottom)); max-height: calc(100svh - 100px); padding: 20px 20px 16px; }
  .cookiebar-t { font-size: 21px; }
  .cookiebar-d { font-size: 14px; margin-bottom: 14px; }
  .cities-hint { display: none; }
}

@media (max-width: 560px) {
  .deck {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 18px 0;
    scrollbar-width: none;
  }
  .deck::-webkit-scrollbar { display: none; }
  .tarot { scroll-snap-align: start; }
  .phone { font-size: 13vw; }
  .faq-a { padding-right: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .page-title { font-size: clamp(40px, 11vw, 56px); }
  .situations a { font-size: 19px; }
  .situations { column-gap: 14px; }
  .flow a { font-size: 21px; }
}

@media (hover: none) {
  .cities-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
  }
  .js .hero-reveal > *, .js .hero-reveal .name .l { opacity: 1; transform: none; filter: none; }
  .astrolabe svg, .cm-star, .cm-city.is-here .cm-halo { animation: none; }
  .js .cmap-svg .cm-city { opacity: 1; }
  .js .draw .ln { stroke-dashoffset: 0; }
  .js .draw .dot { opacity: 1; }
}

/* ---------- Photos sur téléphone ---------- */
@media (max-width: 899px) {
  .photo--cutout, .photo--portrait { float: none; width: min(72%, 300px); margin: 44px auto; }
  .photo--situ { position: static; width: 56%; margin: 28px auto 0; }
  .post-link { grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; }
  .post-thumb { grid-row: 1 / 4; }
  .post-thumb img { width: 92px; height: 92px; }
  .post-link .post-title, .post-link .post-excerpt, .post-link .post-topic { grid-column: 2; }
  .post-link .post-topic { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .photo img, .photo--cutout::before { animation: none; }
  .js .photo:not(.is-drawn) picture { --lit: 130%; transform: none; filter: none; }
}

/* ---------- Encadré d'appel au milieu du texte ---------- */
.incta {
  position: relative;
  margin: 56px 0;
  padding: 30px 32px;
  border-radius: 22px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 184, 41, .45), 0 0 60px -20px rgba(255, 184, 41, .35);
  overflow: hidden;
}
.incta::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 26px;
  width: 26px;
  height: 26px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: incta-star 14s linear infinite;
}
@keyframes incta-star { to { transform: rotate(360deg); } }
.incta-title {
  padding-right: 40px;
  color: var(--bone);
  font: 300 clamp(26px, 2.6vw, 34px)/1.1 var(--font-display);
  letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100;
}
.incta p + p { margin-top: 12px; }
.incta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 22px; }
@media (max-width: 560px) { .incta { padding: 26px 22px; } }
@media (prefers-reduced-motion: reduce) { .incta::after { animation: none; } }
.prose .rail, .prose h2 + .rail { clear: both; }

/* Le bloc « En bref » de l'accueil : sous le titre de la démarche */
.brief-home { margin: 30px 0 34px; max-width: 36em; }
