/* ============================================================
   THE SPIRITUAL EXPLORERS — page satellite (octobre 2026)
   Palette nocturne céleste · or lunaire — reprise du site complet
   ============================================================ */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0b1426;
  --night-deep: #060912;
  --night-veil: #0e1a33;
  --amethyst: #2a1e4a;
  --amethyst-soft: #3d2d6b;
  --gold: #c9996b;
  --gold-bright: #e4b88a;
  --aurore: #f2b74f;
  --ivory: #f5f0e6;
  --ivory-muted: #d8cfbc;
  --stardust: #9aa3bf;
  --line: rgba(201, 153, 107, 0.28);
  --card: rgba(14, 26, 51, 0.62);

  --serif: "Cormorant Garamond", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --glyph: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", var(--serif);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night-deep);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(61, 45, 107, 0.55) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 68%, rgba(201, 153, 107, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(14, 26, 51, 0.9) 0%, transparent 70%),
    linear-gradient(180deg, var(--night-deep) 0%, var(--night) 55%, var(--night-veil) 100%);
}

.sky::before,
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 20%, rgba(245, 240, 230, 0.9), transparent 50%),
    radial-gradient(1px 1px at 75% 15%, rgba(245, 240, 230, 0.7), transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(242, 183, 79, 0.85), transparent 50%),
    radial-gradient(1px 1px at 85% 65%, rgba(245, 240, 230, 0.6), transparent 50%),
    radial-gradient(1px 1px at 15% 55%, rgba(245, 240, 230, 0.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 60% 35%, rgba(201, 153, 107, 0.9), transparent 50%),
    radial-gradient(1px 1px at 30% 90%, rgba(245, 240, 230, 0.7), transparent 50%),
    radial-gradient(1px 1px at 90% 40%, rgba(245, 240, 230, 0.4), transparent 50%),
    radial-gradient(1px 1px at 5% 75%, rgba(245, 240, 230, 0.8), transparent 50%),
    radial-gradient(1.2px 1.2px at 65% 10%, rgba(242, 183, 79, 0.7), transparent 50%);
  animation: twinkle 8s ease-in-out infinite;
}

.sky::after {
  background-image:
    radial-gradient(1px 1px at 10% 35%, rgba(245, 240, 230, 0.6), transparent 50%),
    radial-gradient(1px 1px at 52% 58%, rgba(245, 240, 230, 0.5), transparent 50%),
    radial-gradient(1.2px 1.2px at 92% 88%, rgba(228, 184, 138, 0.7), transparent 50%),
    radial-gradient(1px 1px at 35% 8%, rgba(245, 240, 230, 0.6), transparent 50%),
    radial-gradient(1px 1px at 70% 45%, rgba(245, 240, 230, 0.4), transparent 50%),
    radial-gradient(1px 1px at 48% 95%, rgba(245, 240, 230, 0.5), transparent 50%);
  animation-delay: -4s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.5; }
}

/* ----------  Accessibilité  ---------- */

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--ivory);
  color: var(--night-deep);
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

a { color: inherit; }

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

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

.wrap {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ivory);
}
.brand .glyph { color: var(--gold); }

.lang {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stardust);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
}
.lang:hover { color: var(--ivory); }

.glyph { font-family: var(--glyph); font-style: normal; }

/* ----------  Héros  ---------- */

.hero {
  min-height: min(calc(92vh - 5rem), 50rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.kicker {
  margin: 0 0 1.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, 9vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 1.25rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  color: var(--gold-bright);
}

.lead {
  max-width: 38rem;
  margin: 2rem auto 0;
  color: var(--ivory-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--night-deep);
  box-shadow: 0 0 40px rgba(201, 153, 107, 0.25);
}
.btn-gold:hover { background: var(--gold-bright); }
.btn-line {
  border: 1px solid var(--line);
  color: var(--ivory);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ----------  Règle céleste  ---------- */

.rule {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 28rem;
  color: var(--gold);
}
.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 153, 107, 0.6));
}
.rule::after { transform: scaleX(-1); }

/* ----------  Sections  ---------- */

section { padding: 5.5rem 0; }

.eyebrow {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

h2 {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
}

.intro {
  max-width: 40rem;
  margin: 1.4rem auto 0;
  text-align: center;
  color: var(--ivory-muted);
}

/* La prochaine saison — sommaire éditorial */

.season {
  list-style: none;
  max-width: 54rem;
  margin: 3.5rem auto 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.season li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 0.9rem;
  padding: 1.6rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.season .glyph {
  grid-row: span 2;
  padding-top: 0.2rem;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--aurore);
  text-align: center;
}

.season h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.25;
}

.season p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ivory-muted);
}

@media (min-width: 46rem) {
  .season li {
    grid-template-columns: 3rem 15rem 1fr;
    align-items: baseline;
    padding: 1.9rem 0.5rem;
  }
  .season .glyph { grid-row: auto; }
  .season h3 { margin: 0; }
}

/* Le corps d'abord — constellation de portes */

.doors {
  position: relative;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.doors-lines { display: none; }

.medallion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin: 0 auto 0.5rem;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle, rgba(61, 45, 107, 0.65), rgba(6, 9, 18, 0.9) 70%);
  box-shadow: 0 0 60px rgba(201, 153, 107, 0.18);
  text-align: center;
  text-decoration: none;
}
.medallion .glyph { font-size: 1.6rem; color: var(--gold); line-height: 1; }
.medallion .name {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--ivory);
}
.medallion .amp {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1;
  color: var(--gold-bright);
}

.door {
  position: relative;
  display: block;
  padding: 1.8rem 1.7rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(6, 9, 18, 0.78);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.door:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(201, 153, 107, 0.12);
}
.door small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stardust);
}
.door strong {
  display: block;
  margin: 0.55rem 0 0.45rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--ivory);
}
.door span {
  display: block;
  font-size: 0.96rem;
  color: var(--ivory-muted);
}
.door em {
  display: inline-block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gold-bright);
}

@media (min-width: 52rem) {
  .doors {
    grid-template-columns: 1fr 1fr;
    column-gap: 11.5rem;
    row-gap: 4.5rem;
  }
  .doors-lines {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  .doors-lines line {
    stroke: rgba(201, 153, 107, 0.4);
    stroke-width: 1;
    stroke-dasharray: 2 6;
  }
  .medallion {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    margin: 0;
    transform: translate(-50%, -50%);
  }
  .door { z-index: 1; }
}

/* Être prévenu */

.notify { text-align: center; }
.notify .actions { margin-top: 2.2rem; }

/* ----------  Pied de page  ---------- */

footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid rgba(201, 153, 107, 0.15);
  background: linear-gradient(180deg, transparent, rgba(6, 9, 18, 0.85));
  font-size: 0.9rem;
  color: var(--stardust);
}

.triad-title {
  margin: 0 0 1.4rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.triad {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.triad li { flex: 1 1 14rem; max-width: 17.5rem; }

.triad a,
.triad .here {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  height: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(201, 153, 107, 0.18);
  border-radius: 0.9rem;
  text-decoration: none;
  color: var(--ivory);
  transition: border-color 0.3s ease;
}
.triad a:hover { border-color: var(--gold); }
.triad .glyph { font-size: 1.3rem; color: var(--gold); }
.triad b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.2;
}
.triad i {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--stardust);
}
.triad .here {
  border-color: rgba(242, 183, 79, 0.55);
  box-shadow: 0 0 28px rgba(242, 183, 79, 0.16);
}

.colophon {
  margin-top: 2.8rem;
  text-align: center;
}
.colophon p { margin: 0.35rem 0; }
.colophon a { color: var(--ivory-muted); }

details.legal {
  max-width: 38rem;
  margin: 1.6rem auto 0;
  text-align: left;
}
details.legal summary {
  cursor: pointer;
  text-align: center;
  color: var(--ivory-muted);
  list-style-position: inside;
}
details.legal div {
  margin-top: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(201, 153, 107, 0.15);
  border-radius: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.6;
}
details.legal h3 {
  margin: 0.8rem 0 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}
details.legal h3:first-child { margin-top: 0; }
details.legal p { margin: 0; }

/* ----------  404  ---------- */

.lost {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky::before, .sky::after { animation: none; }
  .door, .btn { transition: none; }
  .door:hover { transform: none; }
}
