/* ============================================
   HERVANA — Page règlement
============================================ */

/* ============================================
   HERO
============================================ */
.reg-hero {
  padding: 160px 40px 60px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.reg-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.reg-hero__title {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 20px 0 28px;
}
.reg-hero__title em {
  font-style: normal;
  color: var(--primary);
}

.reg-hero__sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.6;
}
.reg-hero__sub strong { color: var(--text); font-weight: 500; }
.reg-hero__sub em {
  font-style: italic;
  color: var(--text-mute);
  display: inline-block;
  margin-top: 8px;
  font-family: var(--heading);
}

.reg-hero__meta {
  margin-top: 48px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.reg-hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-hero__metaLabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-mute);
}
.reg-hero__metaValue {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
}

/* ============================================
   LAYOUT 2 COLONNES
============================================ */
.reg-wrap {
  padding: 80px 40px 120px;
  position: relative;
  z-index: 2;
}
.reg-wrap__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

/* ============================================
   SOMMAIRE (sticky)
============================================ */
.toc {
  position: sticky;
  top: 120px;
  align-self: start;
}
.toc__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.toc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}
.toc__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-dim);
  border-left: 2px solid transparent;
  padding-left: 16px;
  margin-left: -18px;
  transition: all .25s;
}
.toc__link:hover {
  color: var(--text);
  border-left-color: var(--line-strong);
}
.toc__link.active {
  color: var(--text);
  border-left-color: var(--primary);
}
.toc__link.active .toc__num { color: var(--primary); }
.toc__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  transition: color .25s;
}

.toc__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text);
  text-transform: uppercase;
  transition: all .3s;
}
.toc__cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(115, 101, 240, 0.35);
}

/* ============================================
   CONTENU
============================================ */
.reg-content {
  max-width: 720px;
}

.reg-section {
  margin-bottom: 80px;
  scroll-margin-top: 120px;
}
.reg-section:last-of-type {
  margin-bottom: 40px;
}

.reg-section__head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.reg-section__num {
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  color: var(--primary);
  letter-spacing: 0;
}
.reg-section__title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.reg-section__intro {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 24px;
  font-style: italic;
}

/* ============================================
   RULE CARDS
============================================ */
.rule-card {
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  margin-bottom: 16px;
  transition: all .3s;
}
.rule-card:hover {
  border-left-color: var(--primary);
  background: var(--bg-3);
  transform: translateX(2px);
}
.rule-card h3 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rule-card__sub {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-mute);
  letter-spacing: 0;
  text-transform: none;
}
.rule-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}
.rule-card p strong {
  color: var(--text);
  font-weight: 500;
}
.rule-card p em {
  color: var(--text-mute);
  font-style: italic;
}

/* Badge "INTERDIT" */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  border-radius: 100px;
  border: 1px solid;
  text-transform: uppercase;
}
.badge--ban {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.08);
}

/* ============================================
   BAN LIST (interdictions absolues)
============================================ */
.ban-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(248, 113, 113, 0.2);
  background: rgba(248, 113, 113, 0.03);
  border-radius: 6px;
  overflow: hidden;
}
.ban-list li {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(248, 113, 113, 0.1);
}
.ban-list li:last-child { border-bottom: none; }
.ban-list__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f87171;
  color: #1a0a0a;
  font-family: var(--display);
  font-size: 22px;
  display: grid;
  place-items: center;
  line-height: 1;
  margin-top: 2px;
}
.ban-list li strong {
  display: block;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}
.ban-list li p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.ban-list li em {
  color: #f87171;
  font-style: italic;
  font-weight: 500;
}

/* ============================================
   FOOTNOTE
============================================ */
.reg-footnote {
  margin-top: 80px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.reg-footnote__line {
  width: 40px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 12px;
}
.reg-footnote p {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.reg-footnote strong {
  color: var(--text);
  font-weight: 500;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 980px) {
  .reg-hero { padding: 130px 24px 40px; }
  .reg-hero__meta { gap: 24px 32px; margin-top: 32px; padding-top: 24px; }

  .reg-wrap { padding: 40px 24px 80px; }
  .reg-wrap__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .toc {
    position: static;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 24px;
  }
  .toc__title {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  .toc__list { margin-bottom: 24px; }

  .reg-section { margin-bottom: 60px; }
  .reg-section__head { gap: 16px; }
  .reg-section__num { font-size: 44px; }

  .rule-card { padding: 20px 22px; }
  .ban-list li { padding: 18px 20px; }
}
