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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Crimson Pro", "Georgia", serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #1A2408;
  background-color: #FBF5E8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
  color: #1A2408;
}

h1 { font-size: clamp(2.25rem, 6vw, 5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 2rem); }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  max-width: 68ch;
}
p:last-child { margin-bottom: 0; }

a {
  color: #2C5A14;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}
a:hover { color: #B8880A; }

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
li { margin-bottom: 0.5rem; }

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

strong { font-weight: 700; }
em { font-style: italic; }

::selection {
  background: rgba(212, 165, 32, 0.35);
  color: #1A2408;
}

:focus-visible {
  outline: 2px solid #B8880A;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   LAYOUT — HEADER
   ============================================================ */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 300ms ease, box-shadow 300ms ease;
}

.l-header.is-scrolled {
  background: rgba(251, 245, 232, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(26, 36, 8, 0.08);
}

@media (max-width: 1024px) {
  .l-header {
    padding: 0.875rem 1.25rem;
  }
}

.l-header__logo {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A2408;
  text-decoration: none;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.l-header__logo span {
  color: #2C5A14;
  display: block;
  font-size: 0.75rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1px;
}

@media (max-width: 480px) {
  .l-header__logo {
    font-size: 1.25rem;
  }
  .l-header__logo span {
    font-size: 0.65rem;
  }
}

/* ============================================================
   LAYOUT — FOOTER
   ============================================================ */
.l-footer {
  background: #1A2408;
  color: rgba(251, 245, 232, 0.7);
  padding: 5rem 2.5rem 2.5rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .l-footer {
    padding: 3.5rem 1.25rem 2rem;
  }
}

.l-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 900px) {
  .l-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .l-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .l-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.l-footer__brand h3 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.5rem;
  color: #FBF5E8;
  margin-bottom: 1rem;
}
.l-footer__brand p { max-width: 40ch; }

.l-footer__col h4 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FBF5E8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.l-footer__col ul {
  list-style: none;
  padding: 0;
}
.l-footer__col li { margin-bottom: 0.5rem; }
.l-footer__col a {
  color: rgba(251, 245, 232, 0.65);
  text-decoration: none;
  transition: color 150ms ease;
}
.l-footer__col a:hover { color: #D4A520; }

.l-footer__bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 245, 232, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(251, 245, 232, 0.4);
}

@media (max-width: 600px) {
  .l-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ============================================================
   LAYOUT — CONTAINERS & GRIDS
   ============================================================ */
.l-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .l-container {
    padding: 0 1.25rem;
  }
}

.l-container--narrow { max-width: 900px; }
.l-container--wide   { max-width: 1600px; }

.l-section {
  padding: 10rem 2.5rem;
}

@media (max-width: 1024px) {
  .l-section {
    padding: 7rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .l-section {
    padding: 5rem 1.25rem;
  }
}

.l-grid {
  display: grid;
  gap: 2rem;
}
.l-grid--2 { grid-template-columns: repeat(2, 1fr); }
.l-grid--3 { grid-template-columns: repeat(3, 1fr); }
.l-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .l-grid--3,
  .l-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .l-grid--2,
  .l-grid--3,
  .l-grid--4 {
    grid-template-columns: 1fr;
  }
}

.l-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* FIX: direction:rtl causait problèmes d'encodage des caractères spéciaux.
   On utilise order à la place pour le reverse. */
@media (min-width: 769px) {
  .l-split--reverse > *:first-child { order: 2; }
  .l-split--reverse > *:last-child  { order: 1; }
}

@media (max-width: 768px) {
  .l-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  /* Sur mobile, toujours texte en premier */
  .l-split--reverse > *:first-child { order: 0; }
  .l-split--reverse > *:last-child  { order: 0; }
}

/* ============================================================
   NAVIGATION — Desktop
   ============================================================ */
.m-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.m-nav__item {
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .m-nav {
    display: none;
  }
}

.m-nav__link {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A2408;
  text-decoration: none;
  letter-spacing: 0.03em;
  padding: 0.5rem 0;
  position: relative;
  transition: color 150ms ease;
}

.m-nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #B8880A;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.m-nav__link:hover {
  color: #2C5A14;
}

.m-nav__link:hover::after {
  transform: scaleX(1);
}

.m-nav__link.is-active {
  color: #2C5A14;
}

.m-nav__link.is-active::after {
  transform: scaleX(1);
}

.m-nav__cta {
  background: #2C5A14;
  color: #FBF5E8 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  transition: background 150ms ease, transform 150ms ease !important;
}

.m-nav__cta::after {
  display: none !important;
}

.m-nav__cta:hover {
  background: #3D7A1E !important;
  transform: translateY(-1px);
}

/* ============================================================
   NAVIGATION — Burger button
   ============================================================ */
.m-nav-mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  /* Zone de tap généreuse */
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1024px) {
  .m-nav-mobile {
    display: flex;
  }
}

.m-nav-mobile span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1A2408;
  transition: transform 300ms ease, opacity 300ms ease;
  border-radius: 2px;
}

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

/* ============================================================
   NAVIGATION — Drawer mobile (REFONTE COMPLÈTE)
   ============================================================ */
.m-nav-drawer {
  position: fixed;
  inset: 0;
  background: #FBF5E8;
  z-index: 99; /* Sous le header (z:100) pour que le bouton reste visible */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2rem 3rem;
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.65, 0, 0.35, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.m-nav-drawer.is-open {
  transform: translateX(0);
}

/* Liens principaux du drawer */
.m-nav-drawer a {
  font-family: "Playfair Display", Georgia, serif;
  /* FIX: 2.75rem était trop grand sur petits écrans */
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  color: #1A2408;
  text-decoration: none;
  padding: 0.875rem 0;
  border-bottom: 1px solid #EEE4CC;
  /* Zone de tap accessible */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 150ms ease, padding-left 150ms ease;
  -webkit-tap-highlight-color: transparent;
}

.m-nav-drawer a::before {
  content: "—";
  font-size: 0.875rem;
  color: #B8880A;
  opacity: 0;
  transition: opacity 150ms ease;
  flex-shrink: 0;
}

.m-nav-drawer a:hover,
.m-nav-drawer a:focus-visible {
  color: #2C5A14;
  padding-left: 0.5rem;
}

.m-nav-drawer a:hover::before,
.m-nav-drawer a:focus-visible::before {
  opacity: 1;
}

/* Dernier lien = CTA */
.m-nav-drawer a:last-child {
  border-bottom: none;
  margin-top: 1.5rem;
  padding: 0.875rem 1.5rem;
  background: #2C5A14;
  color: #FBF5E8;
  border-radius: 9999px;
  justify-content: center;
  font-size: clamp(1rem, 4vw, 1.25rem);
}

.m-nav-drawer a:last-child::before {
  display: none;
}

.m-nav-drawer a:last-child:hover {
  background: #3D7A1E;
  color: #FBF5E8;
  padding-left: 1.5rem;
}

/* Overlay derrière le drawer */
.m-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 36, 8, 0.4);
  z-index: 98;
  opacity: 0;
  transition: opacity 420ms ease;
}

.m-nav-overlay.is-open {
  display: block;
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.m-hero {
  min-height: 100svh; /* svh = plus fiable sur mobile (évite la barre d'URL) */
  min-height: 100vh; /* fallback */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 9rem 2.5rem 5rem;
  background-color: #FBF5E8;
}

@media (max-width: 768px) {
  .m-hero {
    padding: 7rem 1.25rem 4rem;
    align-items: flex-start;
    padding-top: 6rem;
  }
}

.m-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.m-hero__bg::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(61, 122, 30, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.m-hero__bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(238, 228, 204, 0.4), transparent);
}

.m-hero__deco {
  position: absolute;
  /* FIX: trop grand sur mobile → masqué */
  font-size: clamp(5rem, 18vw, 18rem);
  opacity: 0.035;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cinzel", "Times New Roman", serif;
  color: #2C5A14;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  line-height: 1;
}

@media (max-width: 480px) {
  .m-hero__deco {
    opacity: 0.02;
    right: -5%;
  }
}

.m-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.m-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2C5A14;
  margin-bottom: 1.5rem;
}

.m-hero__eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: #B8880A;
  flex-shrink: 0;
}

.m-hero__title {
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.m-hero__title em {
  font-style: normal;
  color: #2C5A14;
  display: block;
}

.m-hero__subtitle {
  /* FIX: minimum 1.5rem était trop grand sur mobile */
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  font-family: "Crimson Pro", "Georgia", serif;
  color: rgba(26, 36, 8, 0.65);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.55;
  font-weight: 400;
}

@media (max-width: 768px) {
  .m-hero__subtitle {
    margin-bottom: 2rem;
  }
}

.m-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 480px) {
  .m-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .m-hero__actions .m-btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}

.m-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 36, 8, 0.4);
  animation: bounce 2s infinite;
  text-decoration: none;
}

.m-hero__scroll::after {
  content: "↓";
  font-size: 1.125rem;
}

/* Masqué sur très petits écrans pour éviter overlap avec le contenu */
@media (max-width: 480px) {
  .m-hero__scroll {
    display: none;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: all 300ms ease;
  border: 2px solid transparent;
  /* Tap highlight supprimé */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.m-btn--primary {
  background: #2C5A14;
  color: #FBF5E8;
  border-color: #2C5A14;
}
.m-btn--primary:hover {
  background: #3D7A1E;
  border-color: #3D7A1E;
  color: #FBF5E8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 90, 20, 0.3);
}

.m-btn--ghost {
  background: transparent;
  color: #1A2408;
  border-color: rgba(26, 36, 8, 0.2);
}
.m-btn--ghost:hover {
  border-color: #1A2408;
  background: rgba(26, 36, 8, 0.04);
  color: #1A2408;
}

.m-btn--gold {
  background: #B8880A;
  color: #FBF5E8;
  border-color: #B8880A;
}
.m-btn--gold:hover {
  background: #D4A520;
  color: #1A2408;
  transform: translateY(-2px);
}

.m-btn--white {
  background: #FBF5E8;
  color: #1A2408;
  border-color: #FBF5E8;
}
.m-btn--white:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 36, 8, 0.12);
}

.m-btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

.m-btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* Sur mobile les lg-btn ne sont plus surdimensionnés */
@media (max-width: 480px) {
  .m-btn--lg {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
  }
}

/* ============================================================
   BADGES
   ============================================================ */
.m-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.m-badge--green  { background: #EDF5EF; color: #3A7A44; }
.m-badge--blue   { background: #EAF1F8; color: #1D5C8A; }
.m-badge--purple { background: #F3EDF8; color: #6A3E8C; }
.m-badge--red    { background: #FAF0EE; color: #C0462E; }
.m-badge--orange { background: #FEF4E8; color: #D4720A; }
.m-badge--gold   { background: rgba(184, 136, 10, 0.12); color: #8B6707; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.m-section-header {
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .m-section-header {
    margin-bottom: 2.5rem;
  }
}

.m-section-header__label {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.m-section-header__title {
  margin-bottom: 1rem;
}

.m-section-header__lead {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: rgba(26, 36, 8, 0.65);
  max-width: 60ch;
  line-height: 1.6;
}

.m-section-header--centered {
  text-align: center;
}
.m-section-header--centered .m-section-header__lead {
  margin: 0 auto;
}

/* ============================================================
   CARDS
   ============================================================ */
.m-card {
  background: #FFFDF7;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(26, 36, 8, 0.08);
  border: 1px solid rgba(26, 36, 8, 0.06);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

/* Pas de hover lift sur tactile */
@media (hover: hover) {
  .m-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(26, 36, 8, 0.12);
  }
}

@media (max-width: 640px) {
  .m-card {
    padding: 1.5rem;
  }
}

.m-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.m-card__tag   { margin-bottom: 1rem; }
.m-card__title { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 1rem; }
.m-card__body  { color: rgba(26, 36, 8, 0.7); font-size: 1rem; }

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.m-feature-strip {
  display: flex;
  gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(26, 36, 8, 0.08);
  border-bottom: 1px solid rgba(26, 36, 8, 0.08);
  overflow-x: auto;
  /* Scrollbar stylée sur Webkit */
  scrollbar-width: thin;
  scrollbar-color: rgba(26,36,8,0.2) transparent;
  -webkit-overflow-scrolling: touch;
  /* Masque les bords sur scroll */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.m-feature-strip::-webkit-scrollbar {
  height: 4px;
}
.m-feature-strip::-webkit-scrollbar-track {
  background: transparent;
}
.m-feature-strip::-webkit-scrollbar-thumb {
  background: rgba(26,36,8,0.2);
  border-radius: 4px;
}

.m-feature-strip__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(26, 36, 8, 0.65);
}

.m-feature-strip__item::before {
  content: attr(data-icon);
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  .m-feature-strip {
    gap: 2rem;
    margin: 0 -1.25rem;
    padding: 2rem 1.25rem;
    /* Masque aussi sur mobile */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  }
}

/* ============================================================
   JDR SECTIONS (thématiques)
   ============================================================ */
.m-jdr-section {
  position: relative;
  overflow: hidden;
}

.m-jdr-section__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2.5rem;
}

@media (max-width: 1024px) {
  .m-jdr-section__inner {
    padding: 6rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .m-jdr-section__inner {
    padding: 4rem 1.25rem;
  }
}

.m-jdr-section--green {
  background: linear-gradient(135deg, #EDF5EF 0%, rgba(58, 122, 68, 0.04) 100%);
  border-left: 5px solid #3A7A44;
}
.m-jdr-section--blue {
  background: linear-gradient(135deg, #EAF1F8 0%, rgba(29, 92, 138, 0.04) 100%);
  border-left: 5px solid #1D5C8A;
}
.m-jdr-section--purple {
  background: linear-gradient(135deg, #F3EDF8 0%, rgba(106, 62, 140, 0.04) 100%);
  border-left: 5px solid #6A3E8C;
}
.m-jdr-section--red {
  background: linear-gradient(135deg, #FAF0EE 0%, rgba(192, 70, 46, 0.04) 100%);
  border-left: 5px solid #C0462E;
}
.m-jdr-section--dark {
  background: #1A2408;
  color: #FBF5E8;
  border-left: none;
}
.m-jdr-section--dark h2,
.m-jdr-section--dark h3,
.m-jdr-section--dark h4 { color: #FBF5E8; }
.m-jdr-section--dark p  { color: rgba(251, 245, 232, 0.75); }

/* Sur mobile, la bordure gauche passe en bordure haute */
@media (max-width: 640px) {
  .m-jdr-section--green,
  .m-jdr-section--blue,
  .m-jdr-section--purple,
  .m-jdr-section--red {
    border-left: none;
    border-top: 5px solid;
  }
  .m-jdr-section--green  { border-top-color: #3A7A44; }
  .m-jdr-section--blue   { border-top-color: #1D5C8A; }
  .m-jdr-section--purple { border-top-color: #6A3E8C; }
  .m-jdr-section--red    { border-top-color: #C0462E; }
}

/* ============================================================
   RULE STEPS
   ============================================================ */
.m-rule-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(26, 36, 8, 0.08);
}

.m-rule-step:last-child { border-bottom: none; }

.m-rule-step__number {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #1D5C8A;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.m-rule-step__content h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 0.5rem;
}

.m-rule-step__content p {
  color: rgba(26, 36, 8, 0.7);
  margin-bottom: 0;
}

/* ============================================================
   DICE DISPLAY
   ============================================================ */
.m-dice-display {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.m-dice-display__die {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #1A2408;
  color: #FBF5E8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(26, 36, 8, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(-5deg);
  transition: transform 300ms ease;
  cursor: pointer;
  /* Zone de tap suffisante */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.m-dice-display__die:nth-child(even) {
  transform: rotate(3deg);
}

@media (hover: hover) {
  .m-dice-display__die:hover {
    transform: rotate(0deg) scale(1.1);
  }
}

/* Active state pour mobile */
.m-dice-display__die:active {
  transform: rotate(0deg) scale(0.95);
}

/* ============================================================
   STAT PILLS
   ============================================================ */
.m-stat-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.m-stat-pills__pill {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.m-stat-pills__pill--force   { background: #FEE2E2; color: #991B1B; }
.m-stat-pills__pill--agilite { background: #D1FAE5; color: #065F46; }
.m-stat-pills__pill--magie   { background: #EDE9FE; color: #5B21B6; }

/* ============================================================
   MATERIAL LIST
   ============================================================ */
.m-material-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.875rem;
}

@media (max-width: 480px) {
  .m-material-list {
    grid-template-columns: 1fr;
  }
}

.m-material-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(26, 36, 8, 0.08);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
}

.m-material-list li::before {
  content: attr(data-icon);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ============================================================
   BROCHURE PREVIEW
   ============================================================ */
.m-brochure-preview {
  background: #1A2408;
  border-radius: 24px;
  padding: 4rem;
  color: #FBF5E8;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .m-brochure-preview {
    /* FIX: padding: 6rem était disproportionné sur mobile */
    padding: 2.5rem 1.75rem;
    border-radius: 16px;
  }
}

.m-brochure-preview::before {
  content: "📖";
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 6rem;
  opacity: 0.06;
  pointer-events: none;
}

@media (max-width: 480px) {
  .m-brochure-preview::before {
    font-size: 4rem;
    opacity: 0.04;
  }
}

.m-brochure-preview__title {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  color: #FBF5E8;
  margin-bottom: 1rem;
}

.m-brochure-preview__lead {
  color: rgba(251, 245, 232, 0.7);
  margin-bottom: 2rem;
  max-width: 48ch;
}

.m-brochure-preview__pages {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.m-brochure-preview__page {
  background: rgba(251, 245, 232, 0.08);
  border: 1px solid rgba(251, 245, 232, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  color: rgba(251, 245, 232, 0.7);
}

/* ============================================================
   EVENT CARDS
   ============================================================ */
.m-event-card {
  background: #FFFDF7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 36, 8, 0.08);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

@media (hover: hover) {
  .m-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(26, 36, 8, 0.18);
  }
}

.m-event-card__header {
  background: #D4720A;
  padding: 1.25rem 1.75rem;
  color: white;
}

.m-event-card__header time {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.m-event-card__header h3 {
  color: white;
  margin-top: 0.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
}

.m-event-card__body {
  padding: 1.75rem;
}

.m-event-card__body p {
  color: rgba(26, 36, 8, 0.7);
  font-size: 0.925rem;
}

.m-event-card__footer {
  padding: 0 1.75rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  color: rgba(26, 36, 8, 0.5);
}

/* ============================================================
   QUOTE
   ============================================================ */
.m-quote {
  border-left: 4px solid #B8880A;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: rgba(184, 136, 10, 0.06);
  border-radius: 0 8px 8px 0;
}

.m-quote blockquote {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-style: italic;
  margin-bottom: 0.5rem;
  max-width: none;
}

.m-quote cite {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: rgba(26, 36, 8, 0.55);
}

/* ============================================================
   ACCORDION
   ============================================================ */
.m-accordion {
  border: 1px solid rgba(26, 36, 8, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.m-accordion__item {
  border-bottom: 1px solid rgba(26, 36, 8, 0.08);
}

.m-accordion__item:last-child { border-bottom: none; }

.m-accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* FIX: padding ajusté pour mobile */
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Crimson Pro", "Georgia", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: #1A2408;
  transition: background 150ms ease;
  gap: 1rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  /* Zone min de tap accessible */
  min-height: 48px;
}

@media (min-width: 768px) {
  .m-accordion__trigger {
    padding: 1.5rem 2.5rem;
  }
}

.m-accordion__trigger:hover {
  background: rgba(26, 36, 8, 0.03);
}

.m-accordion__trigger__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 300ms ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-accordion__content {
  max-height: 0;
  overflow: hidden;
  /* FIX: on utilise max-height en px élevé, mais géré dynamiquement par JS */
  transition: max-height 500ms ease;
}

.m-accordion__content p {
  /* FIX: padding mobile */
  padding: 0 1.5rem 1.25rem;
  color: rgba(26, 36, 8, 0.7);
  margin: 0;
  max-width: none;
}

@media (min-width: 768px) {
  .m-accordion__content p {
    padding: 0 2.5rem 1.5rem;
  }
}

.m-accordion__item.is-open .m-accordion__trigger__icon {
  transform: rotate(45deg);
}

/* FIX: max-height: 500px insuffisant pour du contenu long → 1000px */
.m-accordion__item.is-open .m-accordion__content {
  max-height: 1000px;
}

/* ============================================================
   ILLUSTRATION PLACEHOLDER
   ============================================================ */
.m-illus {
  border-radius: 24px;
  background: linear-gradient(135deg, #EEE4CC, rgba(44, 90, 20, 0.06));
  border: 2px dashed rgba(26, 36, 8, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1rem;
  min-height: 260px;
}

@media (max-width: 768px) {
  .m-illus {
    min-height: 200px;
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
}

.m-illus__emoji {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
}

.m-illus__caption {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8rem;
  color: rgba(26, 36, 8, 0.5);
  font-style: italic;
  max-width: 30ch;
}

/* ============================================================
   FORMULAIRE CONTACT — Sections inline styles améliorées
   ============================================================ */
/* Ces classes remplacement les styles inline du formulaire contact */
.m-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.m-form__input,
.m-form__textarea {
  padding: 0.875rem 1.25rem;
  border: 2px solid rgba(26, 36, 8, 0.15);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  background: white;
  color: #1A2408;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
  /* Empêche le zoom iOS sur focus */
  font-size: max(16px, 1rem);
}

.m-form__input {
  border-radius: 100px;
}

.m-form__textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 120px;
}

.m-form__input:focus,
.m-form__textarea:focus {
  border-color: #2C5A14;
  box-shadow: 0 0 0 3px rgba(44, 90, 20, 0.12);
}

/* ============================================================
   SECTION — Brochure & Contact (remplacement des styles inline)
   ============================================================ */
.m-section-brochure {
  padding: 5rem 2rem;
  background: #FBF5E8;
}

@media (max-width: 768px) {
  .m-section-brochure {
    padding: 4rem 1.25rem;
  }
}

.m-section-contact {
  padding: 5rem 2rem;
  background: #FBF5E8;
}

@media (max-width: 768px) {
  .m-section-contact {
    padding: 4rem 1.25rem;
  }
}

.m-section-dnc {
  background: #FFFDF7;
  padding: 5rem 2rem;
}

@media (max-width: 768px) {
  .m-section-dnc {
    padding: 4rem 1.25rem;
  }
}

/* ============================================================
   ÉTATS JS
   ============================================================ */
.is-hidden    { display: none !important; }
.is-visible   { visibility: visible !important; }
.is-revealed  { opacity: 1 !important; transform: translateY(0) !important; }

.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.js-reveal:nth-child(1) { transition-delay: 0ms; }
.js-reveal:nth-child(2) { transition-delay: 80ms; }
.js-reveal:nth-child(3) { transition-delay: 160ms; }
.js-reveal:nth-child(4) { transition-delay: 240ms; }
.js-reveal:nth-child(5) { transition-delay: 320ms; }
.js-reveal:nth-child(6) { transition-delay: 400ms; }
.js-reveal:nth-child(7) { transition-delay: 480ms; }
.js-reveal:nth-child(8) { transition-delay: 560ms; }

/* Respecte prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.u-mt-sm { margin-top: 1rem; }
.u-mt-md { margin-top: 1.5rem; }
.u-mt-lg { margin-top: 2.5rem; }
.u-mt-xl { margin-top: 4rem; }

.u-mb-sm { margin-bottom: 1rem; }
.u-mb-md { margin-bottom: 1.5rem; }
.u-mb-lg { margin-bottom: 2.5rem; }
.u-mb-xl { margin-bottom: 4rem; }

@media (max-width: 768px) {
  .u-mt-xl { margin-top: 2.5rem; }
  .u-mb-xl { margin-bottom: 2.5rem; }
}

.u-text-center { text-align: center; }
.u-text-muted  { color: rgba(26, 36, 8, 0.55); }
.u-font-ui     { font-family: "DM Sans", system-ui, sans-serif; }
.u-font-heading { font-family: "Cinzel", "Times New Roman", serif; }

@media (max-width: 768px) {
  .u-hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
  .u-hide-desktop { display: none !important; }
}

.u-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.u-divider::before,
.u-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(26, 36, 8, 0.1);
}

.u-divider span {
  font-size: 1.25rem;
  color: #B8880A;
  flex-shrink: 0;
}

/* ============================================================
   MOBILE — touch scroll hints
   ============================================================ */
/* Indicateur de scroll horizontal sur mobile */
@media (max-width: 640px) {
  .m-feature-strip-wrap {
    position: relative;
  }
  .m-feature-strip-wrap::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: rgba(26,36,8,0.3);
    pointer-events: none;
    animation: fadeHint 3s ease-in-out forwards;
  }
  @keyframes fadeHint {
    0%   { opacity: 1; }
    70%  { opacity: 1; }
    100% { opacity: 0; }
  }
}

/* ============================================================
   #JDR color override (gardé du fichier original)
   ============================================================ */
#jdr { color: #3A7A44; }
