
/* Fonds plein écran sur toutes les pages multipage */
html, body.multipage {
  min-height: 100%;
  background: #09090b;
}
body.multipage #app,
body.multipage #siteShell,
body.multipage .site-shell,
body.multipage .site-shell__body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #09090b;
}
body.multipage .site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #09090b;
}
body.multipage .page--reglement,
body.multipage .page--boutique,
body.multipage .page--aide,
body.multipage .page--static,
body.multipage .page--v2 {
  flex: 1;
  min-height: 100dvh !important;
  width: 100%;
}
body.multipage .home-hero__secondary {
  display: none !important;
}

/* Multipage SEO overlays — keep original Dream City cards/backgrounds */
body.multipage #siteShell,
#siteShell.is-visible {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.multipage .page.is-visible {
  display: block;
  flex: 1;
  min-height: 100dvh;
}

a.site-nav__btn,
a.site-nav__btn.site-nav__link {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

/* Desktop: même dégradé que la home */
@media (min-width: 1101px) {
  a.site-nav__btn,
  a.site-nav__btn.site-nav__link {
    background-image: linear-gradient(135deg, #fafafa 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* Mobile sidebar: texte bien visible */
@media (max-width: 1100px) {
  body.nav-open .site-nav a.site-nav__btn,
  body.nav-open .site-nav a.site-nav__btn.site-nav__link,
  .site-nav a.site-nav__btn,
  .site-nav a.site-nav__btn.site-nav__link {
    background-image: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    color: rgba(244, 244, 245, 0.88) !important;
    -webkit-text-fill-color: rgba(244, 244, 245, 0.88) !important;
    opacity: 1 !important;
  }
  .site-nav a.site-nav__btn.is-active,
  .site-nav a.site-nav__btn.site-nav__link.is-active {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: rgba(192, 132, 252, 0.16) !important;
  }
}

a.rule-card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
body.multipage .rule-card {
  opacity: 1;
  transform: none;
}

.home-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  margin-left: 0.65rem;
  padding: 0.72rem 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: #f5f5f7;
  text-decoration: none;
  font-weight: 600;
}
.home-hero__secondary:hover { border-color: rgba(192,132,252,0.55); }

.static-wrap {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}
.static-wrap--narrow { width: min(720px, calc(100% - 2rem)); }
.static-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.65;
  margin: 0 0 0.75rem;
}
.static-eyebrow a { color: inherit; }
.static-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.88;
  margin: 0.75rem auto 0;
  max-width: 36rem;
}
.static-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}
.static-steps { margin: 0; padding-left: 1.2rem; line-height: 1.7; text-align: left; }
.static-steps li { margin: 0.65rem 0; }
.static-note { opacity: 0.7; font-size: 0.92rem; margin-top: 1.5rem; position: relative; z-index: 2; text-align: center; }

body.multipage .page--static,
body.multipage .page--v2 {
  position: relative;
  isolation: isolate;
  padding: calc(env(safe-area-inset-top, 0px) + 3.35rem) clamp(1rem, 4vw, 2rem) 3rem;
  background: linear-gradient(180deg, #121212 0%, #161616 40%, #121212 100%);
  min-height: 100dvh;
}
body.multipage .page--static::before,
body.multipage .page--v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #09090b;
}
body.multipage .page--static::after,
body.multipage .page--v2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 65% at 20% 8%, rgba(210, 210, 220, 0.08) 0%, transparent 58%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.36) 100%);
}
body.multipage .page--static > :not(.illegal-bg-blips),
body.multipage .page--v2 > :not(.illegal-bg-blips) {
  position: relative;
  z-index: 1;
}

.reglement-page {
  width: min(980px, calc(100% - 2rem));
  margin: 4.5rem auto 4rem;
  position: relative;
  z-index: 2;
  background: rgba(10,10,18,0.82);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 1.5rem 1.35rem 2rem;
  backdrop-filter: blur(10px);
}
.reglement-page__header h1 { margin: 0.35rem 0 1rem; }
.reglement-page__content {
  line-height: 1.6;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
}
.reglement-page__content h2,
.reglement-page__content h3,
.reglement-page__content h4 { margin-top: 1.35rem; }

.faq-list { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}
.faq-item summary { cursor: pointer; font-weight: 650; }
.faq-item p { margin: 0.65rem 0 0.15rem; opacity: 0.88; }

.v2-updated { opacity: 0.7; margin: 0.5rem 0 0; }
.v2-gallery { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1.5rem 0; position: relative; z-index: 2; }
.v2-gallery figure {
  margin: 0;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
}
.v2-gallery img { max-width: 180px; height: auto; }
.v2-gallery figcaption { margin-top: 0.5rem; opacity: 0.7; font-size: 0.85rem; }

body.multipage .illegal-bg-blips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
body.multipage .page { position: relative; min-height: 100dvh; }
