/* ==========================================================
   Moon by BAATMOON — thème WordPress
   Partie 1 : styles du site vitrine d’origine (inchangés)
   Partie 2 (en bas) : intégration WordPress / Elementor, pages légales
   ========================================================== */


:root {
  --bg: #faf9fd;
  --surface: #ffffff;
  --tint: #f3f0fb;
  --ink: #120e24;
  --ink-2: #2b2640;
  --muted: #6a6580;
  --line: rgba(38, 24, 92, .09);
  --line-strong: rgba(38, 24, 92, .16);

  --violet: #6a35e8;
  --violet-deep: #4b1fc4;
  --violet-light: #a98bff;
  --violet-soft: #efe9ff;
  --grad: linear-gradient(135deg, #5b2be0 0%, #8a5cff 55%, #b79bff 100%);

  --night: #0e0b1f;
  --night-2: #1a1535;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(18, 14, 36, .04), 0 4px 14px rgba(18, 14, 36, .05);
  --shadow: 0 2px 6px rgba(18, 14, 36, .04), 0 18px 44px -12px rgba(46, 22, 120, .16);
  --shadow-lg: 0 30px 80px -20px rgba(46, 22, 120, .28);
  --ease: cubic-bezier(.22, .8, .24, 1);

  --container: 1200px;
  --gutter: 24px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
strong { color: var(--ink); font-weight: 650; }
button { font: inherit; color: inherit; }

::selection { background: var(--violet-soft); color: var(--violet-deep); }

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

.ico {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { left: 16px; }

.container { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  color: var(--violet);
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(106, 53, 232, .14);
}
.eyebrow--light { color: var(--violet-light); }
.eyebrow--light .dot { background: var(--violet-light); box-shadow: 0 0 0 4px rgba(169, 139, 255, .18); }

.h2 {
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.h2 em, .hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--violet);
}
.h2--light { color: #fff; }
.h2--light em { color: var(--violet-light); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px; font-weight: 650; line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .ico--end { transition: transform .35s var(--ease); }
.btn:hover .ico--end { transform: translateX(3px); }

.btn--primary {
  background: var(--grad);
  background-size: 140% 140%;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(91, 43, 224, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(91, 43, 224, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(169, 139, 255, .6); }

.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(250, 249, 253, .78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: calc(var(--container) + var(--gutter) * 2);
  height: var(--nav-h);
  margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 46px; height: auto; }
.brand__text {
  display: flex; flex-direction: column;
  color: var(--ink);
  font-size: 24px; font-weight: 800; line-height: .9; letter-spacing: -.04em;
}
.brand__text small { margin-top: 5px; color: var(--muted); font-size: 8.5px; font-weight: 700; letter-spacing: .28em; }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__text small { color: rgba(255, 255, 255, .5); }

.nav__links { display: flex; gap: 6px; margin: 0 auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); font-size: 14.5px; font-weight: 550;
  transition: background-color .2s, color .2s;
}
.nav__links a:hover { background: rgba(106, 53, 232, .07); color: var(--violet); }

.nav__actions { display: flex; align-items: center; gap: 18px; }
.link-quiet { font-size: 14.5px; font-weight: 600; color: var(--ink); transition: color .2s; }
.link-quiet:hover { color: var(--violet); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px; margin-left: auto;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.8px;
  background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 24px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: 8px var(--gutter) 24px;
  background: rgba(250, 249, 253, .97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav { display: flex; flex-direction: column; margin-bottom: 18px; }
.mobile-menu nav a {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 17px; font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 90px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 460px at 82% 18%, rgba(138, 92, 255, .20), transparent 70%),
    radial-gradient(520px 420px at 8% 90%, rgba(106, 53, 232, .10), transparent 70%),
    linear-gradient(180deg, #f6f3ff 0%, var(--bg) 100%);
}
.hero__glow::after {
  /* grille fine en fond */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%);
  opacity: .55;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  color: var(--ink);
  font-size: clamp(40px, 4.7vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.hero__title em { font-size: 1.08em; }

.hero__lead {
  max-width: 520px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.stats {
  display: flex; gap: 40px;
  margin: 52px 0 0; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column; }
.stats dt {
  color: var(--ink);
  font-size: 30px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1;
}
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 13px; font-weight: 500; }

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 11, 31, .45));
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.hero__frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}
.hero__visual:hover .hero__frame img { transform: scale(1.08); }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.float-card__icon .ico { width: 20px; height: 20px; }
.float-card strong { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.3; }
.float-card span { color: var(--muted); font-size: 12.5px; }
.float-card--top { top: 36px; left: -40px; }
.float-card--bottom { right: -28px; bottom: 40px; gap: 22px; animation-delay: -3.5s; }
.float-card__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--violet-soft); color: var(--violet) !important;
  font-size: 20px;
}
.float-card__label {
  display: block; margin-bottom: 2px;
  color: var(--violet) !important; font-size: 11px !important; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.float-card__price {
  padding: 8px 12px; border-radius: 999px;
  background: var(--ink); color: #fff !important;
  font-size: 13px !important; font-weight: 700; white-space: nowrap;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: 48px;
  padding-right: 48px;
  color: var(--ink);
  font-family: var(--font-serif); font-size: 28px; font-style: italic; white-space: nowrap;
}
.marquee span::after { content: "✦"; color: var(--violet-light); font-family: var(--font-sans); font-size: 14px; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 40px 0 0; }
.section--tint { background: var(--tint); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 56px;
}
.section-head .h2 { max-width: 640px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Pourquoi ---------- */
.why__head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px;
  align-items: end;
  margin-bottom: 72px;
}
.why__text { display: grid; gap: 18px; color: var(--muted); font-size: 16.5px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative;
  padding: 36px 32px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(106, 53, 232, .22); }
.pillar__art {
  display: grid; place-items: center;
  width: 124px; height: 124px; margin-bottom: 28px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, #f1ebff, #e6dcff);
}
.pillar__art img { width: 104px; height: 104px; object-fit: contain; }
.pillar__num {
  position: absolute; top: 30px; right: 32px;
  color: var(--violet-light);
  font-family: var(--font-serif); font-size: 26px; font-style: italic;
}
.pillar h3 { margin-bottom: 12px; color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.pillar p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- Univers ---------- */
.filters {
  display: inline-flex; gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.filter {
  padding: 10px 18px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--muted); font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; }

.universes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; align-items: start; }
.uni { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.uni.is-hidden { display: none; }
.uni__media {
  position: relative;
  aspect-ratio: 4 / 3.3;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e6e1f3;
  box-shadow: var(--shadow-sm);
}
.uni__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .5s;
}
.uni:hover .uni__media img { transform: scale(1.06); }
.uni--soon .uni__media img { filter: saturate(.75); }
.chip {
  position: absolute; left: 12px; top: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink); font-size: 12.5px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.chip--soon { background: rgba(18, 14, 36, .78); color: #fff; }
.uni h3 { color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.uni p { margin-top: 3px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Engagements ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #fcfbff);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 26px;
  border-radius: 16px;
  background: var(--violet-soft); color: var(--violet);
  font-size: 26px;
}
.value__icon--flag { display: flex; gap: 0; padding: 17px 13px; }
.value__icon--flag i { flex: 1; height: 100%; }
.value__icon--flag i:nth-child(1) { background: #002395; border-radius: 3px 0 0 3px; }
.value__icon--flag i:nth-child(2) { background: #fff; }
.value__icon--flag i:nth-child(3) { background: #ed2939; border-radius: 0 3px 3px 0; }
.value h3 { margin-bottom: 10px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.value p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- Rejoindre ---------- */
.join {
  position: relative;
  display: grid; grid-template-columns: .9fr 1.4fr; gap: 56px;
  align-items: center;
  padding: 64px;
  border-radius: var(--radius-lg);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}
.join::before {
  content: ""; position: absolute; z-index: -1;
  width: 620px; height: 620px; left: -200px; top: -260px;
  background: radial-gradient(circle, rgba(138, 92, 255, .45), transparent 65%);
}
.join::after {
  content: ""; position: absolute; z-index: -1;
  width: 500px; height: 500px; right: -160px; bottom: -280px;
  background: radial-gradient(circle, rgba(91, 43, 224, .35), transparent 65%);
}
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.join-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
.join-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(169, 139, 255, .45); }
.join-card__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 13px;
  background: rgba(169, 139, 255, .14); color: var(--violet-light);
  font-size: 21px;
}
.join-card__label { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.join-card__desc { margin-top: 4px; color: rgba(255, 255, 255, .58); font-size: 14px; line-height: 1.5; padding-right: 28px; }
.join-card__arrow {
  position: absolute; right: 22px; bottom: 24px;
  color: rgba(255, 255, 255, .5); font-size: 18px;
  transition: transform .35s var(--ease), color .3s;
}
.join-card:hover .join-card__arrow { transform: translateX(4px); color: #fff; }
.join-card--featured { background: var(--grad); border-color: transparent; }
.join-card--featured:hover { background: var(--grad); border-color: transparent; box-shadow: 0 20px 40px -14px rgba(138, 92, 255, .7); }
.join-card--featured .join-card__icon { background: rgba(255, 255, 255, .2); color: #fff; }
.join-card--featured .join-card__desc,
.join-card--featured .join-card__arrow { color: rgba(255, 255, 255, .85); }

/* ---------- Application ---------- */
.app {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 80% 50%, #2a1a5e 0%, var(--night) 60%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.app__content { position: relative; z-index: 2; padding: 64px 0 64px 64px; }
.app__lead { margin-top: 14px; color: rgba(255, 255, 255, .7); font-size: 17px; }
.app__list { display: grid; gap: 14px; margin: 30px 0 34px; padding: 0; list-style: none; }
.app__list li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .88); font-size: 15px; }
.app__list li > span {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(169, 139, 255, .45);
  background: rgba(169, 139, 255, .12);
  color: var(--violet-light); font-size: 16px;
}
.app__soon { margin: 34px 0 12px; color: rgba(255, 255, 255, .45); font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  color: #fff; font-size: 15px; font-weight: 600; line-height: 1.1;
}
.store i { font-size: 22px; }
.store small { display: block; color: rgba(255, 255, 255, .55); font-size: 10px; font-weight: 500; }

.app__visual { position: relative; }
.app__visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 12%, #000 46%);
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.4fr; gap: 72px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__aside > p:not(.eyebrow) { margin: 18px 0 28px; color: var(--muted); }

.faq__list { display: grid; gap: 12px; }
.faq__list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: box-shadow .35s var(--ease), border-color .3s;
}
.faq__list details:hover { border-color: var(--line-strong); }
.faq__list details[open] { box-shadow: var(--shadow); border-color: rgba(106, 53, 232, .2); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px 22px 28px;
  color: var(--ink); font-size: 16.5px; font-weight: 650;
  cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--tint); color: var(--violet);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.faq__list details[open] .faq__icon { transform: rotate(45deg); background: var(--violet); color: #fff; }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 72px 26px 28px; color: var(--muted); line-height: 1.75; }

/* ---------- Pied de page ---------- */
.footer {
  margin-top: 0;
  padding: 88px 0 32px;
  background: var(--night);
  color: rgba(255, 255, 255, .62);
  overflow: hidden;
}
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer__brand p { max-width: 340px; margin: 22px 0 26px; font-size: 14.5px; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-size: 15px;
  transition: background-color .25s, border-color .25s, transform .3s var(--ease);
}
.socials a:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-2px); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { margin-bottom: 6px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer__col a { font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: #fff; }

.footer__word {
  margin: 56px 0 -0.18em;
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 800; line-height: .8; letter-spacing: -.06em;
  text-align: center;
  background: linear-gradient(180deg, rgba(169, 139, 255, .28), rgba(169, 139, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
}
.footer__bottom p { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Apparition au scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================
   V2 — icônes, fiches des gammes, étapes, finitions premium
   ========================================================== */

/* Icônes dans les boutons, liens et titres */
.btn .ico { width: 18px; height: 18px; }
.nav__links a { display: inline-flex; align-items: center; gap: 8px; }
.nav__links a .ico { width: 16px; height: 16px; color: var(--violet); opacity: .75; transition: opacity .2s, transform .3s var(--ease); }
.nav__links a:hover .ico { opacity: 1; transform: translateY(-1px); }

/* Nav : 3 actions (S'inscrire, Connexion entreprise, Réserver) — on compacte */
.nav__inner { gap: 20px; }
.nav__links { gap: 2px; }
.nav__links a { padding: 8px 10px; font-size: 14px; white-space: nowrap; }
.nav__actions { gap: 14px; }
.nav__actions .btn, .nav__actions .link-quiet { white-space: nowrap; }
.nav__actions .btn--ghost { padding: 10px 16px; }
@media (max-width: 1280px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
}
.link-quiet { display: inline-flex; align-items: center; gap: 7px; }
.link-quiet .ico { width: 17px; height: 17px; color: var(--violet); }
.btn--lg { padding: 17px 28px; font-size: 15.5px; }

.eyebrow .ico {
  width: 26px; height: 26px; padding: 6px;
  border-radius: 8px;
  background: var(--violet-soft); color: var(--violet);
  stroke-width: 2;
}
.eyebrow--light .ico { background: rgba(169, 139, 255, .16); color: var(--violet-light); }

.section-lead { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* Menu mobile avec icônes */
.mobile-menu nav a { display: flex; align-items: center; gap: 14px; }
.mm-ico {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--violet-soft); color: var(--violet);
}
.mm-ico .ico { width: 18px; height: 18px; }

/* Chiffres clés */
.stats { gap: 32px; }
.stats dd { white-space: nowrap; }

.float-card--bottom { gap: 14px; }
.float-card--bottom .float-card__price { margin-left: 8px; }

/* Bandeau */
.marquee span .ico { width: 22px; height: 22px; color: var(--violet); stroke-width: 1.5; margin-right: -34px; }
.marquee span { gap: 46px; }

/* Halo au survol des cartes */
.card-glow, .step-card { position: relative; isolation: isolate; }
.card-glow::before, .step-card::before, .join-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 92, 255, .12), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.join-card::before { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(169, 139, 255, .22), transparent 60%); z-index: 0; }
.card-glow:hover::before, .step-card:hover::before, .join-card:hover::before { opacity: 1; }
.join-card > * { position: relative; z-index: 1; }
.join-card > .join-card__arrow { position: absolute; }

/* Piliers */

/* Filtres */
.filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.filter .ico { width: 15px; height: 15px; }

/* Cartes des univers (cliquables) */
.uni {
  display: block; width: 100%;
  padding: 0; border: 0;
  background: none; text-align: left;
  cursor: pointer;
  font: inherit; color: inherit;
}
.uni__media { display: block; }
.uni__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 11, 31, .35));
  opacity: 0; transition: opacity .5s;
}
.uni:hover .uni__media::after, .uni:focus-visible .uni__media::after { opacity: 1; }
.chip { display: inline-flex; align-items: center; gap: 6px; z-index: 1; }
.chip .ico { width: 14px; height: 14px; }
.uni__more {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--violet);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  opacity: 0; transform: translateY(8px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.uni:hover .uni__more, .uni:focus-visible .uni__more { opacity: 1; transform: none; }
.uni__body { display: flex; align-items: flex-start; gap: 12px; }
.uni__text { display: flex; flex-direction: column; min-width: 0; }
.uni__name { color: var(--ink); font-size: 17.5px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; transition: color .25s; }
.uni__tag { margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.uni:hover .uni__name { color: var(--violet); }

.gamme-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); color: var(--violet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.gamme-icon .ico { width: 19px; height: 19px; }
.uni:hover .gamme-icon { background: var(--violet); color: #fff; border-color: var(--violet); transform: rotate(-6deg); }
.gamme-icon--lg { width: 56px; height: 56px; border-radius: 16px; background: var(--violet-soft); border: 0; box-shadow: none; }
.gamme-icon--lg .ico { width: 26px; height: 26px; }

/* Réserver en 3 étapes */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 0; padding: 0; list-style: none;
  position: relative; isolation: isolate;
}
.steps::before {
  content: ""; position: absolute; top: 68px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--violet-light) 0 6px, transparent 6px 14px);
  opacity: .6; z-index: -1;
}
.step-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-card__num {
  position: absolute; top: 18px; left: 22px;
  color: var(--violet-light);
  font-family: var(--font-serif); font-size: 30px; font-style: italic; line-height: 1;
}
.step-card__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 22px;
  border-radius: 20px;
  background: var(--grad); color: #fff;
  box-shadow: 0 14px 28px -10px rgba(91, 43, 224, .6);
}
.step-card__icon .ico { width: 28px; height: 28px; }
.step-card h3 { margin-bottom: 8px; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.step-card p { color: var(--muted); font-size: 15px; }
.steps__cta { display: flex; justify-content: center; margin-top: 44px; }

/* Rejoindre */
.section--join { padding: 120px 0 0; }
.join__lead { margin-top: 18px; color: rgba(255, 255, 255, .6); font-size: 15.5px; }

/* Application */

/* FAQ */
.faq__list summary { justify-content: flex-start; gap: 16px; padding-left: 20px; }
.faq__q { flex: 1; }
.faq__body p { padding-left: 20px; }

/* Fiche d'une gamme */
html.modal-open { overflow: hidden; }
.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .3s var(--ease);
}
.icon-btn:hover { border-color: var(--violet); color: var(--violet); }
.icon-btn .ico { width: 18px; height: 18px; }

.gamme-modal {
  width: min(960px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 48px);
  padding: 0; border: 0;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 40px 120px -20px rgba(14, 11, 31, .5);
  overflow: hidden;
}
.gamme-modal[open] { display: grid; grid-template-columns: 1fr 1.05fr; animation: modal-in .5s var(--ease); }
.gamme-modal::backdrop { background: rgba(14, 11, 31, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .4s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }

.gamme-modal__media { position: relative; min-height: 100%; background: #e6e1f3; }
.gamme-modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gamme-modal__media .chip { left: 18px; top: 18px; }
.gamme-modal__body { position: relative; display: flex; flex-direction: column; padding: 40px 40px 28px; overflow-y: auto; }
.gamme-modal__close { position: absolute; top: 18px; right: 18px; }
.gamme-modal__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-right: 48px; }
.gamme-modal__kicker { color: var(--violet); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gamme-modal__head h3 { color: var(--ink); font-size: 30px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.gamme-modal__tagline { color: var(--ink); font-family: var(--font-serif); font-size: 24px; font-style: italic; line-height: 1.25; }
.gamme-modal__desc { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.gamme-modal__points { display: grid; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.gamme-modal__points li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 15px; font-weight: 550; }
.gamme-modal__points li span {
  display: grid; place-items: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--violet-soft); color: var(--violet);
}
.gamme-modal__points .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.gamme-modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: auto; padding: 20px 0;
  border-top: 1px solid var(--line);
}
.gamme-modal__price small { display: block; color: var(--muted); font-size: 12.5px; }
.gamme-modal__price strong { color: var(--ink); font-size: 28px; font-weight: 750; letter-spacing: -.03em; }
.btn.is-disabled { background: var(--tint); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn.is-disabled:hover { transform: none; }
.gamme-modal__nav { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* Pied de page */
.footer__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-bottom: 72px; padding: 44px 48px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(106, 53, 232, .35), rgba(106, 53, 232, .06) 60%);
}
.footer__cta p { margin-top: 10px; color: rgba(255, 255, 255, .65); }

@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .section--join { padding-top: 88px; }
  .gamme-modal[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .gamme-modal__media { min-height: 0; aspect-ratio: 16 / 10; }
  .gamme-modal__body { overflow: visible; }
  .footer__cta { flex-direction: column; align-items: flex-start; padding: 36px 32px; }
}
@media (max-width: 560px) {
  .stats { flex-direction: column; gap: 18px; }
  .section--join { padding-top: 72px; }
  .gamme-modal { width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; }
  .gamme-modal__body { padding: 28px 20px 20px; }
  .gamme-modal__head h3 { font-size: 26px; }
  .gamme-modal__foot { flex-direction: column; align-items: stretch; }
  .gamme-modal__foot .btn { width: 100%; }
  .footer__cta { padding: 30px 22px; margin-bottom: 56px; }
  .footer__cta .btn { width: 100%; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .hero__grid { gap: 48px; }
  .float-card--top { left: -16px; }
  .float-card--bottom { right: -12px; }
  .universes { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .join { grid-template-columns: 1fr; padding: 52px; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .section { padding: 88px 0; }
  .nav__actions { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open { background: rgba(250, 249, 253, .97); }
  .nav.is-open .mobile-menu { display: block; }

  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 72px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .hero__frame { aspect-ratio: 4 / 3.4; }

  .why__head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .pillars { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
  .universes { grid-template-columns: repeat(2, 1fr); }

  .app { grid-template-columns: 1fr; }
  .app__content { padding: 48px 40px 8px; }
  .app__visual {
    order: -1; height: 340px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .app__visual img {
    inset: 50% -4% auto auto;
    width: 190%; max-width: none; height: auto;
    transform: translateY(-46%);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .app__content { padding-bottom: 48px; }

  .faq { grid-template-columns: 1fr; gap: 36px; }
  .faq__aside { position: static; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .section { padding: 72px 0; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 16.5px; }
  .hero__ctas .btn { width: 100%; }
  .stats { gap: 22px; justify-content: space-between; }
  .stats dt { font-size: 24px; }
  .stats dd { font-size: 12px; }
  .float-card { padding: 11px 14px; }
  .float-card--top { top: 16px; left: 12px; }
  .float-card--bottom { right: 12px; bottom: 16px; left: 12px; justify-content: space-between; }
  .float-card--bottom strong { font-size: 13.5px; }
  .hero__frame { aspect-ratio: 4 / 4.4; }

  .marquee span { font-size: 22px; gap: 32px; padding-right: 32px; }

  .pillar { padding: 30px 24px; }
  .filters { width: 100%; }
  .filter { flex: 1; padding: 10px 8px; font-size: 13px; }
  .universes { grid-template-columns: 1fr; gap: 28px; }
  .values { grid-template-columns: 1fr; }

  .join { padding: 36px 22px 22px; gap: 32px; border-radius: 26px; }
  .join__grid { grid-template-columns: 1fr; }
  .section--tight { padding-top: 24px; }

  .app { border-radius: 26px; }
  .app__visual { height: 300px; }
  .app__content { padding: 36px 24px 40px; }

  .faq__list summary { padding: 18px 16px 18px 20px; font-size: 15.5px; }
  .faq__body p { padding: 0 20px 22px; }

  .footer { padding-top: 64px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__bottom { flex-direction: column; }
}

/* ==========================================================
   Partie 2 — Intégration WordPress / Elementor
   ========================================================== */

body { font-size: var(--font-size, 16px); }
.brand img { width: var(--logo-w, 46px); }

/* Barre d'administration WordPress (utilisateur connecté) */
.admin-bar .nav, .admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .nav, .admin-bar .scroll-progress { top: 46px; }
}

/* En-tête : fond toujours visible, alignement des liens */
.nav.nav--solid {
  background: rgba(250, 249, 253, .78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav--align-left .nav__links { margin: 0 auto 0 8px; }
.nav--align-right .nav__links { margin: 0 0 0 auto; }

/* Pied de page */
.footer { color: var(--footer-text, rgba(255, 255, 255, .62)); }
.footer__cta--center { flex-direction: column; align-items: center; text-align: center; }

/* Conteneurs Elementor : les widgets Moon occupent toute la largeur, sans marge parasite */
.moon-main { display: block; }
.elementor-widget[class*="elementor-widget-moon-"] { width: 100%; max-width: 100%; margin: 0; }
.e-con.moon-flush {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px; --widgets-spacing: 0px;
  --content-width: 100%;
}

/* Elementor impose .elementor img { height:auto } : on rétablit les images « couvrantes » */
.elementor .hero__frame img,
.elementor .uni__media img,
.elementor .gamme-modal__media img,
.elementor .app__visual img { height: 100%; max-width: none; }
.elementor .hero__frame img, .elementor .uni__media img { width: 100%; }
.elementor .pillar__art img { width: 104px; height: 104px; object-fit: contain; }
@media (max-width: 860px) {
  .elementor .app__visual img { height: auto; }
}

/* Fonds de section */
.section--white { background: var(--surface); }
.section--none { background: transparent; }
.section--night { background: var(--night); color: rgba(255, 255, 255, .72); }
.section--night .h2 { color: #fff; }
.section--night .h2 em { color: var(--violet-light); }
.section--night .eyebrow { color: var(--violet-light); }
.section--night .section-lead, .section--night .why__text { color: rgba(255, 255, 255, .7); }
.section--night strong { color: #fff; }

/* Blocs libres (widgets Titre de section et Boutons) */
.moon-block { padding: 40px 0; }
.section-head--flush { margin-bottom: 0; }
.moon-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.moon-btns--center { justify-content: center; }

/* Hero : répartition réglable, image à gauche, flottement désactivable */
.hero__grid { grid-template-columns: var(--hero-cols, 1.05fr 1fr); }
@media (min-width: 861px) {
  .moon-hero-reverse-yes .hero__visual { order: -1; }
  .moon-hero-reverse-yes .float-card--top { left: auto; right: -40px; }
  .moon-hero-reverse-yes .float-card--bottom { right: auto; left: -28px; }
}
.elementor-widget-moon-hero:not(.moon-float-yes) .float-card { animation: none; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* Pourquoi : en-tête empilé, textes riches */
.why__head--stack { grid-template-columns: 1fr; gap: 24px; }
.pillar__text { color: var(--muted); font-size: 15px; line-height: 1.7; }
.pillar__text p + p { margin-top: 10px; }

/* Univers : cartes en lien direct (sans fiche) */
a.uni { display: block; }
a.uni[aria-disabled="true"] { cursor: default; }

/* Étapes sans pointillé */
.steps--no-line::before { display: none; }

/* Engagements : image à la place de l'icône, cartes cliquables */
a.value { display: block; color: inherit; }
.value__icon--img { overflow: hidden; background: var(--violet-soft); }
.value__icon--img img { width: 100%; height: 100%; object-fit: cover; }

/* Rejoindre : empilé, halos désactivables */
.join--stack { grid-template-columns: 1fr; }
.elementor-widget-moon-join:not(.moon-glow-yes) .join::before,
.elementor-widget-moon-join:not(.moon-glow-yes) .join::after { display: none; }

/* Application : image à gauche, fondu désactivable, sans visuel */
.app--no-visual { grid-template-columns: 1fr; min-height: 0; }
.app--no-visual .app__content { padding-right: 64px; }
@media (min-width: 861px) {
  .moon-app-reverse-yes .app__visual { order: -1; }
  .moon-app-reverse-yes .app__content { padding: 64px 64px 64px 0; }
  .moon-app-reverse-yes .app__visual img {
    object-position: 0% 50%;
    -webkit-mask-image: linear-gradient(270deg, transparent 12%, #000 46%);
    mask-image: linear-gradient(270deg, transparent 12%, #000 46%);
  }
}
.elementor-widget-moon-app:not(.moon-fade-yes) .app__visual img { -webkit-mask-image: none; mask-image: none; }
a.store { transition: border-color .25s, background-color .25s; }
a.store:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }

/* FAQ : empilée, réponses riches */
.faq--stack { grid-template-columns: 1fr; gap: 36px; }
.faq--stack .faq__aside { position: static; }
.faq__body ul, .faq__body ol { margin: -10px 0 0; padding: 0 72px 22px 40px; color: var(--muted); }
.faq__body a { color: var(--violet); font-weight: 600; }

/* ---------- Grilles : colonnes réglables par appareil (--cols / --cols-t / --cols-m) ---------- */
.pillars { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.universes { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.values { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.join__grid { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .universes { grid-template-columns: repeat(var(--cols-t, 3), minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(var(--cols-t, 1), minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(var(--cols-t, 2), minmax(0, 1fr)); }
  .join__grid { grid-template-columns: repeat(var(--cols-t, 2), minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: repeat(var(--cols-t, 1), minmax(0, 1fr)); }
  .universes { grid-template-columns: repeat(var(--cols-t, 2), minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pillars, .universes, .steps, .values, .join__grid { grid-template-columns: repeat(var(--cols-m, 1), minmax(0, 1fr)); }
}

/* ==========================================================
   Pages légales (widget « Moon · Document légal » et pages classiques)
   ========================================================== */
.legal-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.legal-hero__title {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.legal-hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--violet);
  font-size: 1.06em;
}
.legal-hero__lead { max-width: 640px; margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.legal-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.legal-hero--center .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.legal-hero--center .legal-hero__ctas { justify-content: center; }
.legal-meta {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 26px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2); font-size: 13.5px; font-weight: 600;
}
.legal-meta .ico { width: 16px; height: 16px; color: var(--violet); }

.legal-body { padding: 16px 0 120px; }
.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.legal-layout--aside-right { grid-template-columns: minmax(0, 1fr) 280px; }
.legal-layout--aside-right .legal-aside { order: 2; }
.legal-layout--no-toc { grid-template-columns: minmax(0, 900px); justify-content: center; }

.legal-aside { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 16px; }
.admin-bar .legal-aside { top: calc(var(--nav-h) + 60px); }
.legal-toc {
  max-height: calc(100vh - var(--nav-h) - 260px);
  overflow-y: auto;
  padding: 22px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.legal-toc__title {
  margin: 0 8px 12px;
  color: var(--violet);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.legal-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.legal-toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted); font-size: 14px; font-weight: 550; line-height: 1.4;
  transition: background-color .2s, color .2s;
}
.legal-toc a:hover { color: var(--violet); background: rgba(106, 53, 232, .06); }
.legal-toc a.is-active { color: var(--violet); background: var(--violet-soft); }

.legal-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--night);
  color: rgba(255, 255, 255, .7);
  overflow: hidden;
  isolation: isolate;
}
.legal-card::before {
  content: ""; position: absolute; z-index: -1;
  width: 260px; height: 260px; right: -110px; top: -120px;
  background: radial-gradient(circle, rgba(138, 92, 255, .5), transparent 65%);
}
.legal-card__title { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.legal-card__text { margin: 6px 0 18px; font-size: 14px; line-height: 1.6; }
.legal-card .btn { width: 100%; }

.legal-content {
  min-width: 0;
  padding: 56px 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}
.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }
.legal-content h2 {
  margin: 48px 0 16px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 27px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal-content > h2:first-child { padding-top: 0; border-top: 0; }
.legal-content h3 { margin: 30px 0 10px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.legal-content h4 { margin: 22px 0 8px; color: var(--ink); font-size: 15px; font-weight: 700; }
.legal-content p { margin: 0 0 14px; }
.legal-content strong { color: var(--ink); }
.legal-content a {
  color: var(--violet); font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(106, 53, 232, .3); text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
  overflow-wrap: anywhere;
}
.legal-content a:hover { color: var(--violet-deep); text-decoration-color: currentColor; }
.legal-content ul { margin: 0 0 18px; padding: 0; list-style: none; }
.legal-content ul li { position: relative; margin-bottom: 8px; padding-left: 26px; }
.legal-content ul li::before {
  content: ""; position: absolute; left: 6px; top: .7em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-soft);
}
.legal-content ol { margin: 0 0 18px; padding-left: 22px; }
.legal-content ol li { margin-bottom: 8px; padding-left: 4px; }
.legal-content ol li::marker { color: var(--violet); font-weight: 700; }
.legal-box {
  margin: 16px 0 22px;
  padding: 20px 24px;
  border-left: 4px solid var(--violet);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--tint);
}
.legal-box p { margin: 5px 0; }
.legal-content table {
  width: 100%;
  margin: 12px 0 26px;
  border: 1px solid var(--line);
  border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14.5px; line-height: 1.55;
}
.legal-content th { padding: 12px 16px; background: var(--tint); color: var(--ink); font-weight: 700; text-align: left; }
.legal-content td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .legal-layout--aside-right { grid-template-columns: minmax(0, 1fr) 240px; }
  .legal-content { padding: 44px 40px; }
}
@media (max-width: 860px) {
  .legal-hero { padding: calc(var(--nav-h) + 40px) 0 44px; }
  .legal-layout, .legal-layout--aside-right { grid-template-columns: minmax(0, 1fr); }
  .legal-layout--aside-right .legal-aside { order: 0; }
  .legal-aside { position: static; }
  .legal-toc { max-height: none; }
  .legal-body { padding-bottom: 88px; }
}
@media (max-width: 560px) {
  .legal-hero__title { font-size: 36px; }
  .legal-content { padding: 30px 20px; border-radius: 22px; font-size: 15.5px; }
  .legal-content table { display: block; overflow-x: auto; }
  .legal-body { padding-bottom: 72px; }
}

/* Contenu WordPress générique (pages sans Elementor) */
.legal-content .alignleft { float: left; margin: 0 24px 16px 0; }
.legal-content .alignright { float: right; margin: 0 0 16px 24px; }
.legal-content .aligncenter { margin: 0 auto 16px; }
.legal-content img { height: auto; border-radius: var(--radius-sm); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Aperçu de l'éditeur Elementor : tout visible, pas d'animation d'apparition */
.elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; }
.legal-hero__inner { display: flex; flex-direction: column; align-items: flex-start; }
.hero__lead, .legal-hero__lead, .section-lead, .h2, .hero__title, .legal-hero__title { margin-left: var(--moon-ml, 0); margin-right: var(--moon-mr, 0); }
.section-head--center .section-lead, .section-head--center .h2 { margin-left: var(--moon-ml, auto); margin-right: var(--moon-mr, auto); }
.brand { flex-shrink: 0; } .brand__text small { white-space: nowrap; }

/* Chiffres clés du hero : toujours sur une ligne, y compris sur mobile */
@media (max-width: 560px) {
  .stats { flex-direction: row; justify-content: space-between; gap: 12px; }
  .stats div { min-width: 0; }
  .stats dt { font-size: 24px; }
  .stats dd { font-size: 11.5px; white-space: normal; line-height: 1.35; }
}

/* ==========================================================
   Thème sombre (html[data-theme="dark"], couleurs : Customizer › Thème Moon › Thème sombre)
   ========================================================== */

/* Bouton soleil / lune */
.theme-toggle {
  display: grid; place-items: center; flex-shrink: 0;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--surface); color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .35s var(--ease), background-color .3s;
}
.theme-toggle:hover { border-color: var(--violet); color: var(--violet); transform: rotate(-12deg); }
.theme-toggle .ico { width: 19px; height: 19px; }
.theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: block; }
html[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (max-width: 860px) {
  .theme-toggle { margin-left: auto; }
  .theme-toggle + .nav__toggle { margin-left: 10px; }
}

/* Logo : version claire / version sombre */
.brand__logo--dark { display: none; }
html[data-theme="dark"] .brand__logo--dark { display: block; }
html[data-theme="dark"] .brand__logo--light:has(+ .brand__logo--dark) { display: none; }

/* Transition douce lors de la bascule */
body { transition: background-color .35s ease, color .35s ease; }

/* Couleurs claires codées en dur dans les styles d'origine */
html[data-theme="dark"] .nav.is-scrolled,
html[data-theme="dark"] .nav.nav--solid { background: rgba(11, 15, 30, .8); }
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .nav.is-open { background: rgba(11, 15, 30, .97); }
html[data-theme="dark"] .hero__glow {
  background:
    radial-gradient(640px 460px at 82% 18%, rgba(138, 92, 255, .22), transparent 70%),
    radial-gradient(520px 420px at 8% 90%, rgba(106, 53, 232, .14), transparent 70%),
    linear-gradient(180deg, #11122a 0%, var(--bg) 100%);
}
html[data-theme="dark"] .float-card { background: rgba(24, 33, 58, .88); border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .float-card__price { color: var(--bg) !important; }
html[data-theme="dark"] .pillar__art { background: radial-gradient(circle at 50% 40%, #2c2360, var(--violet-soft)); }
html[data-theme="dark"] .value { background: linear-gradient(180deg, var(--surface), var(--tint)); }
html[data-theme="dark"] .filter.is-active { color: var(--bg); }
html[data-theme="dark"] .uni__media,
html[data-theme="dark"] .gamme-modal__media { background: var(--tint); }
html[data-theme="dark"] .chip { background: rgba(24, 33, 58, .9); color: var(--ink); }
html[data-theme="dark"] .chip--soon { background: rgba(7, 10, 20, .82); color: #fff; }
html[data-theme="dark"] .uni__more { background: var(--surface); }
html[data-theme="dark"] .btn--light { color: #120e24; }
html[data-theme="dark"] .skip-link { color: var(--bg); }
html[data-theme="dark"] .app { background: radial-gradient(circle at 80% 50%, #211a4d 0%, var(--night) 60%); }
html[data-theme="dark"] .join,
html[data-theme="dark"] .app,
html[data-theme="dark"] .legal-card,
html[data-theme="dark"] .footer__cta { box-shadow: 0 0 0 1px var(--line); }
html[data-theme="dark"] .footer { border-top: 1px solid var(--line); }
html[data-theme="dark"] .gamme-modal::backdrop { background: rgba(0, 0, 0, .65); }
html[data-theme="dark"] .legal-content a { text-decoration-color: rgba(169, 139, 255, .4); }
html[data-theme="dark"] .legal-content a:hover { color: var(--violet-light); }
html[data-theme="dark"] .legal-toc a:hover { background: rgba(169, 139, 255, .08); }
html[data-theme="dark"] .nav__links a:hover { background: rgba(169, 139, 255, .1); }
html[data-theme="dark"] ::selection { background: var(--violet-soft); color: var(--violet-light); }
html[data-theme="dark"] {
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
  --shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 18px 44px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
}

/* Modèle « Formulaire Moon » (pages de réservation, inscriptions, contact) */
.moon-form-page { position: relative; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; isolation: isolate; }
.moon-form-page__glow { position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1; pointer-events: none; background: radial-gradient(640px 420px at 85% 0%, rgba(138, 92, 255, .14), transparent 70%), linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
@media (max-width: 860px) { .moon-form-page { padding: calc(var(--nav-h) + 20px) 0 56px; } }

/* Colonnes du pied de page : liens regroupés (bloc rafraîchi seul dans Personnaliser) */
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 14.5px; transition: color .2s; }
.footer__links a:hover { color: #fff; }

/* En-tête entre 1281 et 1440 px : tout doit tenir (le bouton sombre ne doit jamais sortir de l’écran) */
.nav__inner > .brand, .nav__actions, .theme-toggle, .nav__toggle { flex-shrink: 0; }
.nav__links { min-width: 0; overflow: hidden; }
@media (max-width: 1440px) {
  .nav__inner { gap: 14px; }
  .nav__links a { padding: 8px 8px; }
  .nav__actions { gap: 10px; }
  .nav__actions .btn--sm { padding: 11px 15px; }
}

/* Liens qui ne tiennent pas (mesuré par moon.js) : on les masque, les actions restent visibles.
   Le bouton menu ☰ n'existe qu'en mobile (≤ 860 px), quand les actions sont masquées. */
.nav--compact .nav__links { display: none; }
.nav--compact .nav__actions { margin-left: auto; }
@media (min-width: 861px) { .nav__toggle { margin-left: 0; } .mobile-menu { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; } }

/* L’en-tête peut être un peu plus large que le contenu (menu + 3 actions + bouton thème) */
.nav__inner { max-width: calc(var(--container) + 160px + var(--gutter) * 2); }

/* Prix TTC (plus longs) sur petits écrans */
@media (max-width: 560px) {
  .float-card__price { white-space: normal; max-width: 112px; text-align: center; line-height: 1.25; font-size: 11.5px !important; }
}
@media (max-width: 360px) {
  .stats dt { font-size: 20px; }
}

/* Jamais de défilement horizontal (photos agrandies, cartes flottantes, bandeau) */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }

/* Pied de page : logo typographique */
.footer__logo { display: inline-block; }
.footer__logo img { display: block; width: 160px; height: auto; }

/* Sans le grand mot décoratif : espace avant la ligne du copyright */
.footer__top + .footer__bottom { margin-top: 64px; }

/* Images recadrées sur tablette et mobile */
@media (max-width: 860px) {
  .hero__visual { width: 100%; margin-left: auto; margin-right: auto; }
  .app__visual { position: relative; width: 100%; max-width: 420px; height: auto; margin: 0 auto; aspect-ratio: 4 / 5; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent); mask-image: linear-gradient(180deg, #000 84%, transparent); }
  .app__visual img, .elementor .app__visual img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transform: none; object-fit: cover;
    -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 560px) {
  .float-card--top { left: auto; right: 12px; top: 12px; padding: 9px 12px; gap: 10px; }
  .float-card--top .float-card__icon { width: 32px; height: 32px; border-radius: 10px; }
  .float-card--top span:not(.float-card__icon) { display: none; }
}
@media (min-width: 561px) and (max-width: 860px) {
  .app__visual {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, #000 84%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, #000 84%, transparent);
    mask-composite: intersect;
  }
}

/* Polices de l’application : Sora (titres, montants, boutons) + Inter (texte) */
h1, h2, h3, h4, .h2, .hero__title, .legal-hero__title, .btn, .brand__text, .stats dt, .uni__name, .gamme-modal__head h3,
.gamme-modal__price strong, .float-card strong, .float-card__price, .chip, .pillar h3, .step-card h3, .value h3, .join-card__label,
.faq__list summary, .footer__col h4, .eyebrow, .filter, .legal-content h2, .legal-content h3, .legal-card__title, .legal-toc__title { font-family: var(--font-title, var(--font-sans)); }

/* Espacement imposé par un kit Elementor entre widgets : jamais entre les sections Moon */
.elementor .elementor-widget[class*="elementor-widget-moon-"] { margin-block-end: 0 !important; }

/* ==========================================================
   Titres protégés contre les styles globaux d'un kit Elementor
   (« .elementor-kit-XXX h2 { color; font-family } » passe devant les classes simples)
   ========================================================== */
body.moon :is(h1, h2, h3, h4, h5, h6) { font-family: var(--font-title, var(--font-sans)); }
body.moon :is(h1, h2, h3, h4, h5, h6).h2,
body.moon :is(h1, h2, h3, h4, h5, h6).hero__title,
body.moon :is(h1, h2, h3, h4, h5, h6).legal-hero__title,
body.moon .pillar h3, body.moon .step-card h3, body.moon .value h3,
body.moon .gamme-modal__head h3, body.moon .legal-content :is(h2, h3, h4),
body.moon .uni h3 { color: var(--ink); }
body.moon :is(h1, h2, h3, h4, h5, h6).h2--light,
body.moon .section--night :is(h1, h2, h3, h4, h5, h6).h2,
body.moon .footer__col h4, body.moon .wz-aside__title { color: #fff; }
body.moon :is(h1, h2, h3, h4, h5, h6) em { font-family: var(--font-serif); }
body.moon :is(h1, h2, h3, h4, h5, h6).h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
body.moon :is(h1, h2, h3, h4, h5, h6).hero__title { font-size: clamp(40px, 4.7vw, 64px); font-weight: 700; }
@media (max-width: 560px) { body.moon :is(h1, h2, h3, h4, h5, h6).hero__title { font-size: 40px; } }
