/*
Theme Name: Moonrunners Dark v2
Description: Variante avec nouveau hero + menu, a activer separement de "Moonrunners Dark" pour comparer sans ecraser le theme en place
Version: 1.1
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --noir: #09090f;
  --blanc: #f0ede6;
  --bleu-nuit: #1a2744;
  --orange: #c17f24;
  --gris: #8a8a9a;
  --font-titre: 'Playfair Display', Georgia, serif;
  --font-corps: 'Inter', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--font-corps);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--orange); text-decoration: none; }
a:hover { opacity: 0.8; }

img { max-width: 100%; display: block; }

/* ===== NAV ===== */
.mr-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 6vw;
  background: linear-gradient(to bottom, rgba(5,5,10,.75) 0%, rgba(5,5,10,0) 100%);
}

.mr-nav-brand {
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--blanc);
}

.mr-nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.mr-nav-links a {
  font-family: var(--font-corps);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(240,237,230,.8);
  transition: color .2s;
}

.mr-nav-links a:hover { color: var(--orange); }

.mr-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.mr-nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blanc);
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 860px) {
  .mr-nav-toggle { display: flex; }

  .mr-nav-links {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(5,5,10,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .mr-nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mr-nav-links a { font-size: .95rem; }

  .mr-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mr-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .mr-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== HERO ===== */
.mr-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: left;
  position: relative;
  padding: 6rem 6vw 8rem;
  background: #05050a;
  overflow: hidden;
}

.mr-hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/img/hero-moonrunners.jpg') center 22% / cover no-repeat;
  z-index: 0;
  transform: scale(1.02);
}

.mr-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(5,5,10,0) 38%, rgba(5,5,10,.55) 58%, rgba(5,5,10,.92) 75%, #05050a 90%),
    linear-gradient(to top, #05050a 0%, rgba(5,5,10,0) 22%, rgba(5,5,10,0) 82%, rgba(5,5,10,.6) 100%);
}

.mr-snow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.mr-flake {
  position: absolute;
  top: -5%;
  border-radius: 50%;
  background: rgba(240,237,230,0.75);
  animation: mr-fall linear infinite;
}

@keyframes mr-fall {
  0%   { transform: translateY(-10vh) translateX(0); opacity: 0; }
  10%  { opacity: .8; }
  100% { transform: translateY(110vh) translateX(20px); opacity: .2; }
}

.mr-hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  width: 100%;
}

.mr-hero h1 {
  font-family: var(--font-titre);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.6rem;
  color: var(--blanc);
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.mr-hero h1 span {
  color: var(--orange);
}

.mr-tagline {
  font-family: var(--font-corps);
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 2.2rem;
}

.mr-edition {
  display: inline-block;
  border: 1px solid rgba(193,127,36,0.4);
  border-radius: 2px;
  padding: 0.8rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2.2rem;
}

.mr-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gris);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

.mr-scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gris), transparent);
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* liseré de sapins entre le hero et le contenu */
.mr-treeline {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: -1px;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .mr-hero {
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 8rem;
  }
  .mr-hero-bg { background-position: 32% center; }
  .mr-hero-scrim {
    background:
      linear-gradient(to top, #05050a 0%, rgba(5,5,10,.75) 34%, rgba(5,5,10,.25) 60%, rgba(5,5,10,.55) 100%);
  }
  .mr-hero-content { max-width: 480px; }
}

/* ===== SECTIONS ===== */
section {
  padding: 6rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

section.full-width {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  flex-shrink: 0;
}

h2 {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--blanc);
}

/* ===== SECTION ESPRIT ===== */
.mr-esprit {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mr-mots-cles {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.mr-mot {
  text-align: center;
}

.mr-mot strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.8rem;
  color: var(--blanc);
  letter-spacing: 0.05em;
}

.mr-mot span {
  font-size: 0.75rem;
  color: var(--gris);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mr-citation {
  border-left: 2px solid var(--orange);
  padding-left: 2rem;
  margin: 3rem 0;
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(240,237,230,0.85);
}

.mr-citation cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-corps);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris);
}

p {
  color: rgba(240,237,230,0.8);
  margin-bottom: 1.5rem;
}

/* ===== SECTION HISTOIRE ===== */
.mr-histoire {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mr-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  position: relative;
  padding-left: 3rem;
}

.mr-timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--orange), transparent);
}

.mr-timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.mr-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

.mr-timeline-item .annee {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
  display: block;
}

.mr-timeline-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===== SECTION FAQ ===== */
.mr-faq {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mr-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mr-faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1.8rem;
}

.mr-faq-item .question {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  color: var(--blanc);
  margin-bottom: 0.8rem;
  display: block;
}

.mr-faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gris);
}

/* ===== SECTION REJOINDRE ===== */
.mr-rejoindre {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.mr-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.mr-btn:hover {
  background: #fff;
  color: var(--orange);
  opacity: 1;
}

.mr-rejoindre p {
  max-width: 520px;
  margin: 0 auto 1rem;
}

/* ===== FOOTER ===== */
.mr-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gris);
  letter-spacing: 0.1em;
}

/* ===== RESPONSIF ===== */
@media (max-width: 600px) {
  .mr-mots-cles { gap: 1.2rem; }
  .mr-mot strong { font-size: 1.4rem; }
  section { padding: 4rem 1.2rem; }
}
/* ===== GPS HERO ===== */
.mr-gps {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.25);
  margin-bottom: 2rem;
  font-family: var(--font-corps);
}
.mr-gps-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.5;
  flex-shrink: 0;
}
.mr-gps-label {
  color: rgba(240,237,230,0.12);
  letter-spacing: 0.3em;
}

/* ===== SECTION PARCOURS ===== */
.mr-parcours {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mr-map-block {
  margin-top: 2.5rem;
}
.mr-svg-parcours {
  width: 100%;
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
}
.mr-parcours-legende {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gris);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  opacity: 0.6;
}
