﻿
/* ============================================================
   UNIVRS RP - Global Stylesheet
   Design: Violet profond #260886 -> #3A14C0
   ============================================================ */

/* ── Police locale ── */
@font-face {
  font-family: 'Gobold';
  src: url('../assets/fonts/Gobold Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ── */
:root {
  --violet-deep:    #1A0B5A;
  --violet-mid:     #260886;
  --violet-light:   #3A14C0;
  --violet-pale:    #F3F0FF;
  --violet-glow:    rgba(38, 8, 134, 0.3);
  --watermark-clr:  #E9E9E9;
  --bg-white:       #ffffff;
  --bg-offwhite:    #FBFBFB;
  --bg-dark:        #1A0B5A;
  --text-dark:      #0d0620;
  --text-dark-sec:  #3d2e6b;
  --text-dark-muted:#9689bc;
  --text-light:     #ffffff;
  --text-light-sec: rgba(255,255,255,.8);
  --text-light-muted: rgba(255,255,255,.55);
  --font-head:  'Gobold', sans-serif;
  --font-body:  'Ebrima', 'Inter', system-ui, sans-serif;
  --container:  1200px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-pill:9999px;
  --shadow-pill: 0 10px 30px rgba(0,0,0,.2), 0 0 0 1.5px rgba(0,0,0,.15), 0 6px 24px rgba(0,0,0,.35);
  --blur:        blur(12px);
  --shadow-hover:0 6px 20px rgba(38,8,134,.3);
  --shadow-card-w: 0 2px 16px rgba(0,0,0,.06);
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --gradient:    linear-gradient(135deg, var(--violet-mid) 0%, var(--violet-light) 100%);
  --border-w:    rgba(0,0,0,.08);
  --border-v:    rgba(255,255,255,.12);
  --surface-w2:  #F3F0FF;
  --red:   #e53e3e;
  --green: #00b894;
}

/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }

/* ══════════════════════════════════════
   UTILITAIRES
══════════════════════════════════════ */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--violet-mid); color: #fff;
  padding: 10px 20px; border-radius: var(--radius);
  z-index: 9999; font-weight: 700; font-size: .9rem;
  letter-spacing: .05em; text-transform: uppercase;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════
   HEADER - Pill Nav
══════════════════════════════════════ */
#site-header {
  position: fixed; top: 30px; left: 0;
  width: 100%; z-index: 1000;
  pointer-events: none;
  display: flex; justify-content: center;
  transition: top .3s ease;
}
#site-header.scrolled { top: 12px; }

.header-inner {
  display: flex; align-items: center;
  pointer-events: auto;
  height: 60px; padding: 0 8px 0 20px;
  background: rgba(255,255,255,.88);
  backdrop-filter: var(--blur);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  gap: 0;
}

/* Homepage: no logo */
.header-inner.nav-only {
  padding: 0 32px;
  width: min(1000px, calc(100% - 40px));
}
.header-inner.nav-only .header-nav {
  flex: 1;
  padding: 0;
  justify-content: space-between;
}
.header-inner.nav-only .nav-discord {
  margin-left: 0;
  background: none !important;
  color: var(--text-dark) !important;
  padding: 6px 10px !important;
  border-radius: var(--radius-pill) !important;
}
.header-inner.nav-only .nav-discord:hover {
  color: var(--violet-mid) !important;
  background: none !important;
  transform: none;
}

.header-logo {
  display: flex; align-items: center;
  padding-right: 20px; margin-right: 4px;
  border-right: 1px solid var(--border-w);
}
.header-logo img { height: 32px; width: auto; }

.header-nav {
  display: flex; align-items: center;
  gap: 4px; height: 100%;
  padding: 0 4px 0 12px;
}
.header-nav a {
  font-family: var(--font-head);
  font-size: .85rem; font-weight: 700;
  color: var(--text-dark);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
}
.header-nav a:hover,
.header-nav a.active { color: var(--violet-mid); }

.nav-discord {
  margin-left: 6px;
  padding: 10px 22px !important;
  background: #5865F2 !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
}
.nav-discord:hover {
  background: #4752c4 !important;
  transform: translateY(-2px);
}

/* ── Hamburger ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border: none; background: none;
  pointer-events: auto;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all .3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
#mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--gradient);
  z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.6rem; text-transform: uppercase;
  letter-spacing: .1em; color: #fff;
  transition: opacity .2s;
}
#mobile-menu a:hover { opacity: .7; }
#mobile-menu .nav-discord {
  background: rgba(255,255,255,.15) !important;
  padding: 12px 32px !important;
  border-radius: var(--radius-pill) !important;
}

/* ══════════════════════════════════════
   HERO - Homepage
══════════════════════════════════════ */
.hero {
  position: relative; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #000;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .7;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle, transparent 20%, rgba(0,0,0,.8) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(5rem, 15vw, 150px);
  color: #fff;
  text-shadow: 0 0 40px rgba(0,0,0,1), 0 0 100px rgba(0,0,0,.8), 0 0 200px rgba(0,0,0,.5);
  margin-bottom: 24px;
  letter-spacing: .05em;
}
.hero-cta { margin-top: 24px; }
.hero-cta-img-link {
  display: inline-block;
  transition: transform var(--transition), filter var(--transition);
}
.hero-cta-img-link:hover { transform: translateY(-3px); filter: brightness(1.1); }
.hero-cta-img { height: clamp(60px, 10vw, 88px); width: auto; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; color: rgba(255,255,255,.5);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════
   HOMEPAGE SECTIONS
══════════════════════════════════════ */

/* Section Qui sommes-nous */
.who-section { background: #fff; padding: 80px 0 100px; }
.who-inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 28px;
}
.who-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase; color: var(--violet-deep);
}
.who-text {
  max-width: 960px; color: var(--violet-mid);
  font-size: 1.05rem; line-height: 1.9;
}
.who-img-wrap { width: min(820px, 92%); }
.who-img-wrap img { width: 100%; border-radius: var(--radius-lg); display: block; transition: filter .35s ease, transform .35s ease; }
.who-img-wrap:hover img { filter: drop-shadow(0 16px 28px rgba(38,8,134,.6)); transform: translateY(-6px); }

/* Section Comment ca marche */
.how-section {
  background: var(--violet-mid);
  padding: 60px 0 100px; overflow: hidden;
}
.how-banner {
  display: flex; justify-content: center;
  margin-bottom: 52px;
}
.how-img-wrap { width: 52%; }
.how-img-wrap img { width: 100%; transition: filter .35s ease, transform .35s ease; }
.how-img-wrap:hover img { filter: drop-shadow(0 14px 22px rgba(0,0,0,.4)); transform: translateY(-6px); }
.how-text {
  max-width: 820px; margin: 0 auto;
  color: rgba(255,255,255,.85);
  font-size: .95rem; line-height: 1.85; text-align: center;
}

/* Section Pour qui */
.pourqui-section { background: #fff; padding: 80px 0; }
.pourqui-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px; align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.pourqui-img-wrap img { width: 100%; transition: filter .35s ease, transform .35s ease; }
.pourqui-img-wrap:hover img { filter: drop-shadow(0 14px 22px rgba(38,8,134,.35)); transform: translateY(-6px); }
.pourqui-text-wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pourqui-text-wrap p { color: var(--violet-mid); line-height: 1.8; }

/* Section Discord */
.discord-img-section { background: var(--violet-mid); padding: 80px 0 90px; }
.discord-img-inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 20px;
}
.discord-img-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase; color: #fff;
}
.discord-img-text {
  max-width: 720px; color: rgba(255,255,255,.85);
  font-size: .95rem; line-height: 1.8;
}
.discord-img-wrap { width: min(1000px, 94%); margin: 16px 0; }
.discord-img-wrap img { width: 100%; border-radius: var(--radius-lg); display: block; transition: filter .35s ease, transform .35s ease; }
.discord-img-wrap:hover img { filter: drop-shadow(0 16px 28px rgba(110,50,255,.65)); transform: translateY(-6px); }
.discord-widget-row {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; margin-top: 48px;
}
.discord-widget-wrap iframe { border-radius: var(--radius-lg); }
.discord-mascot-wrap img { height: 380px; width: auto; transition: transform .35s ease; }
.discord-mascot-wrap:hover img { transform: translateY(-8px); }
.discord-widget-cta { text-align: center; margin-top: 40px; }

/* ══════════════════════════════════════
   BOUTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 14px 32px; border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 8px 24px rgba(38,8,134,.25);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(38,8,134,.35); }
.btn-outline {
  background: #fff; color: var(--violet-mid);
  border: 2px solid var(--violet-mid);
  box-shadow: 0 4px 16px rgba(38,8,134,.1);
}
.btn-outline:hover {
  background: var(--gradient); color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(38,8,134,.25);
}
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-violet {
  background: var(--gradient); color: #fff;
  box-shadow: 0 8px 24px rgba(38,8,134,.25);
}
.btn-discord-hero {
  background: #fff; color: var(--violet-mid);
  border: 2px solid transparent;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
  font-size: 1rem; padding: 16px 40px;
}
.btn-discord-hero:hover {
  background: var(--gradient); color: #fff;
  border-color: rgba(255,255,255,.75);
  box-shadow: 0 12px 36px rgba(0,0,0,.3);
}

/* ══════════════════════════════════════
   MENU TOGGLE MOBILE HEADER
══════════════════════════════════════ */
/* (already defined above) */

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.UNIVRS-footer {
  background: linear-gradient(135deg, #260886 0%, #3a14c0 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  font-family: var(--font-body);
}
.UNIVRS-footer-container {
  max-width: 1000px; margin: 0 auto; text-align: center;
}
.UNIVRS-footer-nav {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}
.UNIVRS-footer-nav a {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .08em;
  font-size: .95rem; color: #fff;
  position: relative; transition: opacity .3s ease;
}
.UNIVRS-footer-nav a:hover { opacity: .75; }
.UNIVRS-footer-nav a::after {
  content: ''; position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px; background: #fff;
  transition: width .3s ease;
}
.UNIVRS-footer-nav a:hover::after { width: 100%; }
.UNIVRS-footer-line {
  width: 80px; height: 2px;
  background: rgba(255,255,255,.6);
  margin: 2rem auto;
}
.UNIVRS-footer-legal {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 1.5rem;
  margin-bottom: 1.8rem;
}
.UNIVRS-footer-legal a {
  font-size: .85rem; color: rgba(255,255,255,.75);
  transition: color .3s ease;
}
.UNIVRS-footer-legal a:hover { color: #fff; }
.UNIVRS-footer-copy {
  font-size: .8rem; letter-spacing: .05em; color: rgba(255,255,255,.7);
}
@media (max-width: 600px) {
  .UNIVRS-footer-nav { gap: 1rem; }
}

/* ══════════════════════════════════════
   PAGE HERO (regles, candidature, arcs...)
══════════════════════════════════════ */
.page-content { padding-top: 80px; }
.page-hero {
  background: var(--gradient); color: #fff;
  padding: 80px 0 64px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 16px;
}
.page-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 16px; border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.fade-up {
  opacity: 0; transform: translateY(40px);
  animation: fadeUp .8s cubic-bezier(.2,.6,.2,1) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════
   REGLEMENT
══════════════════════════════════════ */
.UNIVRS-rules {
  background: #fff;
  padding: clamp(4rem, 10vw, 8rem) 0 80px;
}
.UNIVRS-rules-container {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
}
.UNIVRS-rules-header {
  text-align: center; margin-bottom: 56px;
}
.UNIVRS-rules-main-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--violet-deep);
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 12px;
}
.UNIVRS-rules-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.4rem); color: rgba(38,8,134,.7);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 40px;
}
.UNIVRS-rules-divider {
  width: 100%; height: 1px; background: var(--border-w);
}
.UNIVRS-rules-intro {
  background: linear-gradient(135deg, var(--violet-mid) 0%, var(--violet-light) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 40px; margin-bottom: 64px; text-align: center;
}
.UNIVRS-rules-intro p {
  color: rgba(255,255,255,.9); font-size: 1rem; line-height: 1.8;
}
.UNIVRS-rules-intro strong { color: #fff; font-weight: 700; }

.UNIVRS-rules-article {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 32px; margin-bottom: 56px; padding-bottom: 56px;
  border-bottom: 1px solid var(--border-w);
}
.UNIVRS-rules-article:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.UNIVRS-rules-number {
  font-family: var(--font-head);
  font-size: 5rem; line-height: 1;
  color: rgba(38,8,134,.08);
  text-align: right; padding-top: 4px; user-select: none;
}
.UNIVRS-rules-title {
  font-family: var(--font-head);
  font-size: 1.5rem; color: var(--violet-mid);
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 28px;
}
.UNIVRS-rules-subsection { margin-bottom: 24px; padding-bottom: 24px; }
.UNIVRS-rules-subsection:last-child { margin-bottom: 0; padding-bottom: 0; }
.UNIVRS-rules-subsection h3 {
  font-family: var(--font-head); font-size: .95rem;
  color: var(--violet-deep); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.UNIVRS-rules-subsection p {
  color: var(--violet-mid); font-size: .95rem; line-height: 1.75;
}
.UNIVRS-rules-badge {
  display: inline-block;
  background: rgba(229,62,62,.15); color: #e53e3e;
  border: 1px solid rgba(229,62,62,.3);
  border-radius: var(--radius-pill);
  font-size: .65rem; letter-spacing: .1em; padding: 3px 10px;
  font-family: var(--font-body); text-transform: uppercase; vertical-align: middle;
}
.UNIVRS-rules-list { list-style: none; padding: 0; margin: 16px 0; }
.UNIVRS-rules-list li {
  color: var(--violet-mid); font-size: .95rem;
  padding: 6px 0 6px 20px; position: relative;
}
.UNIVRS-rules-list li::before {
  content: '-'; position: absolute; left: 0; color: var(--violet-light);
}
.UNIVRS-rules-warning {
  background: rgba(38,8,134,.07);
  border-left: 4px solid var(--violet-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 20px;
  color: var(--violet-deep) !important;
  font-weight: 700; font-size: .95rem;
  margin-top: 20px; margin-bottom: 20px;
}
.UNIVRS-rules-sanctions {
  background: var(--surface-w2);
  border: 1px solid rgba(38,8,134,.12);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  margin-bottom: 0; border-bottom: none;
  grid-template-columns: 1fr;
}
.UNIVRS-rules-sanctions .UNIVRS-rules-number { display: none; }
.UNIVRS-rules-sanctions .UNIVRS-rules-title { color: var(--violet-deep); }
.UNIVRS-rules-sanctions .UNIVRS-rules-subsection p { color: var(--violet-mid); }
.UNIVRS-rules-sanctions .UNIVRS-rules-list li { color: var(--text-dark-sec); }
.UNIVRS-rules-sanctions .UNIVRS-rules-list li::before {
  content: '\25B6'; color: var(--violet-light);
  font-size: .6rem; top: 9px;
}

@media (max-width: 640px) {
  .UNIVRS-rules-article { grid-template-columns: 1fr; gap: 0; }
  .UNIVRS-rules-number {
    font-size: 3rem; text-align: left;
    color: rgba(38,8,134,.06); margin-bottom: -16px;
  }
  .UNIVRS-rules-sanctions { padding: 24px 20px; }
}

/* ══════════════════════════════════════
   CANDIDATURE
══════════════════════════════════════ */
.UNIVRS-candidature {
  background: #fff;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 6rem);
  font-family: var(--font-body); color: var(--violet-mid);
}
.UNIVRS-candidature-container { max-width: 1100px; margin: 0 auto; }

.UNIVRS-candidature-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 2px solid var(--violet-mid);
}
.UNIVRS-candidature-main-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  text-transform: uppercase; letter-spacing: .12em;
  margin: 0 0 .8rem; color: var(--violet-deep);
}
.UNIVRS-candidature-subtitle {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(38,8,134,.7); margin: 0;
  font-size: clamp(1rem, 3vw, 1.5rem);
}
.UNIVRS-candidature-intro {
  background: linear-gradient(135deg, var(--violet-mid) 0%, var(--violet-light) 100%);
  color: #fff; padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 12px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  box-shadow: 0 8px 24px rgba(38,8,134,.15); text-align: center;
}
.UNIVRS-candidature-intro strong { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

/* Notice Discord */
.UNIVRS-discord-notice {
  display: flex; align-items: flex-start; gap: 20px;
  background: #fff7ed; border: 1.5px solid #f59e0b;
  border-radius: var(--radius-lg); padding: 24px 28px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.UNIVRS-discord-notice-icon { flex: 0 0 28px; margin-top: 2px; }
.UNIVRS-discord-notice-icon svg { width: 28px; height: 28px; stroke: #d97706; }
.UNIVRS-discord-notice-body { flex: 1; }
.UNIVRS-discord-notice-body strong {
  display: block; font-size: 1rem; font-weight: 800;
  color: #92400e; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .04em;
}
.UNIVRS-discord-notice-body p { color: #78350f; font-size: .92rem; line-height: 1.65; margin-bottom: 14px; }
.UNIVRS-discord-notice-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #5865F2; color: #fff;
  font-weight: 700; font-size: .9rem;
  padding: 10px 20px; border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
}
.UNIVRS-discord-notice-btn:hover { background: #4752c4; transform: translateY(-2px); }
.UNIVRS-discord-notice-btn img { filter: brightness(0) invert(1); }

.UNIVRS-candidature-section {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(38,8,134,.15);
}
.UNIVRS-candidature-section:last-child { border-bottom: none; margin-bottom: 0; }

.UNIVRS-candidature-number {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900;
  color: rgba(38,8,134,.14); line-height: 1;
  min-width: clamp(60px, 12vw, 100px);
}
.UNIVRS-candidature-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 clamp(1.4rem, 4vw, 2.2rem);
  color: var(--violet-deep);
}
.UNIVRS-form-group { margin-bottom: 1.8rem; }
.UNIVRS-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.UNIVRS-candidature label:not(.UNIVRS-checkbox-label) {
  display: block; font-weight: 800; margin-bottom: .6rem; color: var(--violet-mid);
}
.UNIVRS-candidature input[type="text"],
.UNIVRS-candidature input[type="email"],
.UNIVRS-candidature input[type="number"],
.UNIVRS-candidature input[type="url"],
.UNIVRS-candidature input[type="file"],
.UNIVRS-candidature textarea {
  width: 100%; padding: 1.1rem 1.2rem;
  border: 2px solid rgba(38,8,134,.18); border-radius: 12px;
  font-size: 1.05rem; font-family: inherit;
  background: #fff; color: var(--text-dark);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}
.UNIVRS-candidature textarea { resize: vertical; line-height: 1.6; }
.UNIVRS-candidature input:focus,
.UNIVRS-candidature textarea:focus {
  outline: none; border-color: var(--violet-mid);
  box-shadow: 0 0 0 4px rgba(38,8,134,.10);
  transform: translateY(-2px);
}

/* Choice cards */
.UNIVRS-choice-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem; margin-top: .7rem;
}
.UNIVRS-choice-card {
  border: 2px solid rgba(38,8,134,.18); border-radius: 14px;
  background: #fff; cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden; position: relative;
}
.UNIVRS-choice-card:hover {
  transform: translateY(-4px); border-color: var(--violet-mid);
  box-shadow: 0 14px 34px rgba(38,8,134,.14);
}
.UNIVRS-choice-card input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.UNIVRS-choice-inner {
  padding: 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-align: center; transition: background .25s ease, color .25s ease;
}
.UNIVRS-choice-icon {
  display: flex; align-items: center; justify-content: center;
}
.UNIVRS-choice-icon svg {
  width: 28px; height: 28px; stroke: var(--violet-mid);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s ease;
}
.UNIVRS-choice-card input:checked ~ .UNIVRS-choice-inner {
  background: linear-gradient(135deg, var(--violet-mid) 0%, var(--violet-light) 100%);
  color: #fff;
}
.UNIVRS-choice-card input:checked ~ .UNIVRS-choice-inner .UNIVRS-choice-icon svg { stroke: #fff; }
.UNIVRS-choice-text { font-weight: 900; }

/* Meta row + char counter */
.UNIVRS-meta-row {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem; margin-top: .6rem;
}
.UNIVRS-char-counter { font-size: .95rem; color: rgba(38,8,134,.65); white-space: nowrap; }
.UNIVRS-spacer { display: block; }

/* Error + invalid */
.UNIVRS-error-message {
  display: none; color: #ff3b3b; font-weight: 800; font-size: .95rem;
  margin-top: .7rem; padding: .65rem .9rem;
  background: rgba(255,59,59,.08); border-left: 4px solid #ff3b3b; border-radius: 10px;
}
.UNIVRS-error-message.show { display: block; animation: UNIVRSSlide .25s ease-out; }
@keyframes UNIVRSSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.UNIVRS-invalid {
  border-color: #ff3b3b !important;
  box-shadow: 0 0 0 4px rgba(255,59,59,.12) !important;
  animation: UNIVRSShake .35s ease-in-out;
}
@keyframes UNIVRSShake {
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-4px); }
  75%     { transform: translateX(4px); }
}

/* Checkbox RGPD */
.UNIVRS-checkbox-label {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; user-select: none;
}
.UNIVRS-checkbox-label input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.UNIVRS-checkbox-box {
  flex: 0 0 24px; width: 24px; height: 24px;
  border: 2px solid rgba(38,8,134,.3); border-radius: 7px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.UNIVRS-checkbox-box svg {
  width: 13px; height: 11px; opacity: 0;
  transform: scale(.4) rotate(-10deg);
  transition: opacity .18s ease, transform .28s cubic-bezier(.34,1.56,.64,1);
}
.UNIVRS-checkbox-label input:checked ~ .UNIVRS-checkbox-box {
  background: var(--violet-mid); border-color: var(--violet-mid);
  box-shadow: 0 0 0 4px rgba(38,8,134,.12);
  animation: checkBounce .32s cubic-bezier(.34,1.56,.64,1);
}
.UNIVRS-checkbox-label input:checked ~ .UNIVRS-checkbox-box svg {
  opacity: 1; transform: scale(1) rotate(0deg);
}
.UNIVRS-checkbox-label:hover .UNIVRS-checkbox-box {
  border-color: var(--violet-mid); box-shadow: 0 0 0 3px rgba(38,8,134,.08);
}
@keyframes checkBounce {
  0%  { transform: scale(1); }
  45% { transform: scale(1.18); }
  100%{ transform: scale(1); }
}
.UNIVRS-checkbox-text { font-weight: 700; color: var(--violet-mid); font-size: .97rem; line-height: 1.5; }

/* Form helpers */
.UNIVRS-form-help { display: block; margin-top: .5rem; color: rgba(38,8,134,.65); font-style: italic; font-size: .9rem; }
.UNIVRS-form-warning { color: #e74c3c; margin-top: 4px; display: block; font-style: italic; }
.UNIVRS-form-warning a { color: #e74c3c; text-decoration: underline; }

/* Submit button */
.UNIVRS-submit-btn {
  width: 100%; border: none; border-radius: 14px;
  padding: 1.4rem 2.2rem;
  background: linear-gradient(135deg, var(--violet-mid) 0%, var(--violet-light) 100%);
  color: #fff; cursor: pointer;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .08em; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  box-shadow: 0 12px 30px rgba(38,8,134,.26);
  transition: transform .25s ease, box-shadow .25s ease;
}
.UNIVRS-submit-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(38,8,134,.34); }
.UNIVRS-arrow { width: 22px; height: 22px; }

/* Success message */
.UNIVRS-success-message {
  display: none; margin-top: 2rem; border-radius: 16px;
  padding: clamp(2rem, 6vw, 3rem); text-align: center;
  border: 2px solid rgba(16,185,129,.35);
  background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(5,150,105,.06));
}
.UNIVRS-success-message.show { display: block; }
.UNIVRS-success-icon {
  display: flex; justify-content: center; margin-bottom: 1rem;
}
.UNIVRS-success-icon svg {
  width: 56px; height: 56px; stroke: #10b981; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.UNIVRS-success-message h3 {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .08em; margin: .2rem 0 .8rem; color: var(--violet-deep);
}

@media (max-width: 768px) {
  .UNIVRS-candidature-section { grid-template-columns: 1fr; gap: 1rem; }
  .UNIVRS-form-row { grid-template-columns: 1fr; }
  .UNIVRS-meta-row { flex-direction: column; align-items: flex-start; }
  .UNIVRS-discord-notice { flex-direction: column; gap: 12px; }
}

/* ══════════════════════════════════════
   ARCS
══════════════════════════════════════ */
.UNIVRS-arcs {
  background: #fff;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 6rem);
  font-family: var(--font-body); color: var(--violet-mid);
  min-height: 100vh;
}
.UNIVRS-arcs-container { max-width: 1200px; margin: 0 auto; }

.UNIVRS-arcs-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 2px solid var(--violet-mid);
}
.UNIVRS-arcs-main-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  text-transform: uppercase; letter-spacing: clamp(.06em, 1.5vw, .12em);
  margin: 0 0 .8rem; color: var(--violet-deep); line-height: 1.1;
}
.UNIVRS-arcs-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.4rem);
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(38,8,134,.7); margin: 0;
}
.UNIVRS-arcs-intro {
  background: linear-gradient(135deg, var(--violet-mid) 0%, var(--violet-light) 100%);
  color: #fff; padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 12px;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  box-shadow: 0 8px 24px rgba(38,8,134,.15); text-align: center;
}
.UNIVRS-arcs-intro p { font-size: clamp(.95rem, 2.5vw, 1.1rem); line-height: 1.7; margin: 0; }
.UNIVRS-arcs-intro strong { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.UNIVRS-arcs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.UNIVRS-arc-card {
  display: flex; flex-direction: column;
  background: #fff; border: 2px solid rgba(38,8,134,.15);
  border-radius: 16px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  text-decoration: none; color: inherit;
  box-shadow: 0 4px 16px rgba(38,8,134,.08);
}
.UNIVRS-arc-card:hover {
  transform: translateY(-8px); box-shadow: 0 12px 32px rgba(38,8,134,.2);
  border-color: var(--violet-mid);
}
.UNIVRS-arc-active { border-color: var(--violet-mid); border-width: 3px; box-shadow: 0 8px 24px rgba(38,8,134,.15); }

.UNIVRS-arc-image-wrapper {
  position: relative; width: 100%; height: 220px;
  overflow: hidden; background: var(--surface-w2);
}
.UNIVRS-arc-image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.UNIVRS-arc-card:hover .UNIVRS-arc-image { transform: scale(1.08); }

.UNIVRS-arc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(38,8,134,.85) 0%, rgba(58,20,192,.9) 100%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.UNIVRS-arc-card:hover .UNIVRS-arc-overlay { opacity: 1; }
.UNIVRS-arc-cta {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  text-transform: uppercase; letter-spacing: .1em; color: #fff;
  transform: translateY(10px); transition: transform .3s ease;
}
.UNIVRS-arc-card:hover .UNIVRS-arc-cta { transform: translateY(0); }

.UNIVRS-arc-content {
  padding: clamp(1.5rem, 4vw, 2rem); flex: 1;
  display: flex; flex-direction: column;
}
.UNIVRS-arc-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--violet-deep); margin: 0 0 1rem; line-height: 1.2;
}
.UNIVRS-arc-description {
  font-size: clamp(.9rem, 2.5vw, 1rem); line-height: 1.7;
  color: rgba(38,8,134,.85); margin: 0 0 1.5rem; flex: 1;
}
.UNIVRS-arc-badge {
  display: inline-block; padding: .5rem 1rem;
  background: rgba(38,8,134,.1); color: var(--violet-mid);
  font-size: clamp(.75rem, 2vw, .85rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  border-radius: 8px; align-self: flex-start;
  border: 2px solid rgba(38,8,134,.2);
}
.UNIVRS-arc-badge-active {
  background: linear-gradient(135deg, var(--violet-mid) 0%, var(--violet-light) 100%);
  color: #fff; border-color: var(--violet-mid);
  animation: arcPulse 2s ease-in-out infinite;
}
@keyframes arcPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(38,8,134,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(38,8,134,0); }
}
.UNIVRS-arcs-footer {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
  background: rgba(38,8,134,.05); border-radius: 12px;
  border: 2px solid rgba(38,8,134,.1);
}
.UNIVRS-arcs-footer p {
  font-size: clamp(.95rem, 2.5vw, 1.1rem); line-height: 1.7;
  color: rgba(38,8,134,.85); margin: 0; font-style: italic;
}
@media (max-width: 768px) {
  .UNIVRS-arcs-grid { grid-template-columns: 1fr; }
  .UNIVRS-arc-image-wrapper { height: 200px; }
}

/* ══════════════════════════════════════
   PARTENAIRES
══════════════════════════════════════ */
.UNIVRS-partners {
  background: #fff;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  color: var(--violet-mid);
}
.UNIVRS-partners-container { max-width: 1200px; margin: 0 auto; }

.UNIVRS-partners-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 2px solid var(--violet-mid);
}
.UNIVRS-partners-main-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 4.5rem); color: var(--violet-deep);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; line-height: 1.1;
}
.UNIVRS-partners-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.4rem); color: rgba(38,8,134,.7);
  text-transform: uppercase; letter-spacing: .1em; margin: 0;
}

.UNIVRS-partners-intro {
  background: var(--gradient); color: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 12px;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  box-shadow: 0 8px 24px rgba(38,8,134,.15); text-align: center;
}
.UNIVRS-partners-intro p { font-size: clamp(.95rem, 2.5vw, 1.1rem); line-height: 1.7; margin: 0; }
.UNIVRS-partners-intro strong { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.UNIVRS-partner-featured {
  background: linear-gradient(135deg, rgba(38,8,134,.05) 0%, rgba(58,20,192,.08) 100%);
  border: 3px solid var(--violet-mid);
  border-radius: 16px; padding: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: clamp(3rem, 7vw, 5rem); position: relative;
  box-shadow: 0 12px 32px rgba(38,8,134,.15);
}
.UNIVRS-partner-badge-main {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  padding: .6rem 1.8rem; border-radius: 999px;
  font-family: var(--font-head); font-size: clamp(.75rem, 2vw, .9rem);
  text-transform: uppercase; letter-spacing: .08em;
  box-shadow: 0 4px 12px rgba(38,8,134,.3);
}
.UNIVRS-partner-featured-content {
  display: grid; grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.UNIVRS-partner-featured-logo {
  background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 12px; border: 2px solid rgba(38,8,134,.15);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(38,8,134,.1);
}
.UNIVRS-partner-featured-logo img {
  width: 100%; height: auto; max-width: 220px; object-fit: contain;
}
.UNIVRS-partner-featured-info {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.UNIVRS-partner-featured-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--violet-mid);
  text-transform: uppercase; letter-spacing: .06em; margin: 0; line-height: 1.2;
}
.UNIVRS-partner-featured-description {
  font-size: clamp(.95rem, 2.5vw, 1.1rem); line-height: 1.7;
  color: rgba(38,8,134,.85); margin: 0;
}
.UNIVRS-partner-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: clamp(.8rem, 2vw, 1rem) clamp(1.8rem, 4vw, 2.5rem);
  background: var(--violet-mid); color: #fff;
  font-family: var(--font-head); font-size: clamp(.9rem, 2.5vw, 1.05rem);
  text-transform: uppercase; letter-spacing: .05em;
  border-radius: 999px; border: 2px solid transparent;
  transition: all .3s ease; align-self: flex-start;
  box-shadow: 0 4px 12px rgba(38,8,134,.2);
}
.UNIVRS-partner-btn:hover {
  background: #fff; color: var(--violet-mid);
  border-color: var(--violet-mid);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(38,8,134,.3);
}

.UNIVRS-partners-section-title {
  text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem);
}
.UNIVRS-partners-section-title h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--violet-mid);
  text-transform: uppercase; letter-spacing: .06em;
  margin: 0; position: relative; display: inline-block;
}
.UNIVRS-partners-section-title h2::after {
  content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--violet-mid);
}

.UNIVRS-partners-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 5vw, 3rem); margin-bottom: clamp(3rem, 7vw, 5rem);
}
.UNIVRS-partner-card {
  background: #fff; border: 2px solid rgba(38,8,134,.15);
  border-radius: 12px; padding: clamp(1.5rem, 4vw, 2.5rem);
  transition: all .3s ease; display: flex; flex-direction: column; gap: 1.5rem;
  box-shadow: 0 4px 16px rgba(38,8,134,.08);
}
.UNIVRS-partner-card:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(38,8,134,.2); border-color: var(--violet-mid); }
.UNIVRS-partner-link {
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 1.5rem; height: 100%;
}
.UNIVRS-partner-logo-wrapper {
  background: rgba(38,8,134,.03); padding: clamp(1.2rem, 3vw, 2rem); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; min-height: 140px;
}
.UNIVRS-partner-logo {
  width: 100%; height: auto; max-width: 180px; max-height: 120px; object-fit: contain;
}
.UNIVRS-partner-content { display: flex; flex-direction: column; gap: .8rem; }
.UNIVRS-partner-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.5rem); color: var(--violet-mid);
  text-transform: uppercase; letter-spacing: .05em;
  margin: 0; line-height: 1.2; text-align: center;
}

.UNIVRS-partners-cta {
  background: linear-gradient(135deg, rgba(38,8,134,.05) 0%, rgba(58,20,192,.08) 100%);
  border: 2px solid rgba(38,8,134,.2); border-radius: 12px;
  padding: clamp(2rem, 5vw, 3rem); text-align: center;
}
.UNIVRS-partners-cta h3 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4vw, 1.8rem); color: var(--violet-mid);
  text-transform: uppercase; letter-spacing: .05em; margin: 0 0 1rem;
}
.UNIVRS-partners-cta p { font-size: clamp(.95rem, 2.5vw, 1.1rem); line-height: 1.7; color: rgba(38,8,134,.85); margin: 0; }
.UNIVRS-email-link { color: var(--violet-mid); font-weight: 700; text-decoration: underline; transition: color .2s; }
.UNIVRS-email-link:hover { color: var(--violet-light); text-decoration: none; }

@media (max-width: 900px) {
  .UNIVRS-partner-featured-content { grid-template-columns: 1fr; gap: 2rem; }
  .UNIVRS-partner-featured-logo { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .UNIVRS-partners-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   PAGES LÉGALES
══════════════════════════════════════ */
.legal-page { background: #fff; padding: 120px 0 80px; }
.legal-container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.legal-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--violet-deep); text-transform: uppercase;
  margin-bottom: 8px;
}
.legal-subtitle { color: var(--text-dark-muted); font-size: .9rem; margin-bottom: 48px; }
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.2rem; color: var(--violet-mid);
  text-transform: uppercase; letter-spacing: .06em;
  margin: 32px 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border-w);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-dark-sec); font-size: .9rem; margin-bottom: 10px; line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 10px; }
.legal-content ul li { color: var(--text-dark-sec); font-size: .9rem; margin-bottom: 5px; }
.legal-content a { color: var(--violet-mid); }

/* ══════════════════════════════════════
   REVEAL & ANIMATIONS
══════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  #site-header { top: 0; }
  .header-inner {
    width: 100%; height: 66px; padding: 0 20px;
    border-radius: 0;
    background: rgba(10,5,40,.55);
    backdrop-filter: blur(14px); box-shadow: none;
    justify-content: space-between;
  }
  .header-logo { border-right: none; padding-right: 0; }
  .header-logo img { filter: brightness(0) invert(1); height: 28px; }
  .header-nav { display: none; }
  .menu-toggle {
    display: flex;
    width: 40px; height: 40px;
    padding: 0;
    align-items: center; justify-content: center;
    background: rgba(10,5,40,.65);
    border-radius: 8px;
    flex-shrink: 0;
  }
  .menu-toggle span { background: #fff; }
  .header-inner.nav-only {
    justify-content: flex-end;
    background: transparent;
    backdrop-filter: none;
  }

  .who-img-wrap { width: 90%; }
  .how-img-wrap { width: 85%; }
  .pourqui-inner { grid-template-columns: 1fr; }
  .pourqui-img-wrap { max-width: 300px; margin: 0 auto; }
  .discord-widget-row { flex-direction: column; gap: 32px; }
  .discord-mascot-wrap img { height: 240px; }
  .UNIVRS-partner-featured-content { grid-template-columns: 1fr; }
  .UNIVRS-footer-bottom { flex-direction: column; align-items: center; gap: 12px; }
  .UNIVRS-footer-spacer { display: none; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: clamp(4rem, 22vw, 8rem); }
  .UNIVRS-arcs-grid { grid-template-columns: 1fr; }
  .UNIVRS-arc-image-wrapper { height: 180px; }
}

/* ══════════════════════════════════════
   PAGES ARC DÉTAIL (school-rp, prison-rp, apocalypse-rp)
══════════════════════════════════════ */

/* Bouton retour dans le page-hero */
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 20px;
  transition: color .2s ease, gap .2s ease;
}
.btn-back svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-back:hover { color: #fff; gap: 12px; }

/* Section chapitres */
.chapters-section {
  background: #fff;
  padding: 80px 0 100px;
}

.chapter-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-w);
}
.chapter-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.chapter-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.chapter-num {
  font-family: var(--font-head);
  font-size: 4rem; line-height: 1;
  color: rgba(38,8,134,.1);
  user-select: none;
  flex-shrink: 0;
}

.chapter-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--violet-mid);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0;
}

.chapter-body p {
  color: var(--text-dark-sec);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.chapter-body p:last-child { margin-bottom: 0; }
.chapter-body a:not(.btn) { color: var(--violet-mid); font-weight: 600; }
.chapter-body a:not(.btn):hover { text-decoration: underline; }

/* Bouton retour en haut */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--gradient); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(38,8,134,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 500;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); }

@media (max-width: 640px) {
  .chapter-num { font-size: 2.8rem; }
  .chapter-title { font-size: 1.2rem; }
  #back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* ══════════════════════════════════════
   COOKIE CONSENT BANNER
══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(26, 11, 90, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -8px 32px rgba(0,0,0,.4);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: .03em;
}
.cookie-banner-text {
  flex: 1;
  min-width: 260px;
}
.cookie-banner-text p {
  color: var(--text-light-sec);
  font-size: .875rem;
  line-height: 1.6;
  margin: 0;
}
.cookie-banner-text a {
  color: var(--violet-pale);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-banner-text a:hover { color: #fff; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn-accept {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38,8,134,.4);
}
.cookie-btn-refuse {
  background: transparent;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.2);
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.cookie-btn-refuse:hover {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
@media (max-width: 640px) {
  .cookie-banner { padding: 16px; }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-refuse { flex: 1; text-align: center; padding: 11px 16px; }
}
