*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.06);
  --border: rgba(212,175,55,0.18);
  --border-strong: rgba(212,175,55,0.4);
  --gold: #D4AF37;
  --gold-bright: #F1C64C;
  --gold-dim: #8A6E23;
  --text: #F4F1E8;
  --muted: #9A9488;
  --radius: 16px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.75; }

/* HERO */
.hero {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,0.14) 0%, transparent 70%), var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.12);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFF5D6 0%, var(--gold-bright) 55%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.hero p { color: var(--muted); font-size: 15px; max-width: 560px; margin: 0 auto; }

/* LAYOUT */
.page-wrap { display: flex; max-width: 1100px; margin: 0 auto; padding: 56px 24px 80px; gap: 40px; align-items: flex-start; }

/* SIDEBAR NAV */
.sidebar { width: 220px; flex-shrink: 0; position: sticky; top: 32px; }
.sidebar-title { font-family: var(--font-heading); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding-left: 12px; }
.sidebar nav a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  margin-bottom: 2px;
}
.sidebar nav a:hover { color: var(--text); background: var(--surface); border-left-color: var(--gold); }

/* CONTENT */
.content { flex: 1; min-width: 0; }

/* INTRO */
.intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 48px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.intro-card strong { color: var(--text); }

/* SECTION */
.section { margin-bottom: 56px; scroll-margin-top: 32px; }
.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.section-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: rgba(212,175,55,0.12);
  border: 1px solid var(--border);
}
.section h2 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--text); }
.section p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.section p:last-child { margin-bottom: 0; }

/* DEFINITION GRID */
.def-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 16px; }
.def-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.def-card:hover { border-color: var(--border-strong); }
.def-card h4 { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--gold-bright); margin-bottom: 6px; }
.def-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.65; }

/* RIGHTS GRID */
.rights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 16px; }
.right-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.right-item:hover { border-color: var(--border-strong); }
.right-dot { width: 8px; height: 8px; background: var(--gold-bright); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.right-item h4 { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.right-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* BULLET LIST */
.styled-list { list-style: none; padding: 0; margin-top: 12px; }
.styled-list li {
  font-size: 15px;
  color: var(--muted);
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}
.styled-list li:last-child { border-bottom: none; }
.styled-list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-size: 13px; top: 9px; }

/* WARNING BANNER — kept red, it's a semantic safety signal, not a theme accent */
.warning-banner {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: #fca5a5;
  line-height: 1.65;
}

/* INFO BOX */
.info-box {
  background: rgba(212,175,55,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.info-box a { color: var(--gold-bright); text-decoration: none; font-weight: 500; }
.info-box a:hover { text-decoration: underline; }

/* CONTACT */
.contact-card {
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.03));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin-bottom: 48px;
}
.contact-card h2 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.contact-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.contact-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 12px 22px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim)); color: #000; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-secondary { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--border-strong); transform: translateY(-1px); }

/* BACK */
.back-home { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; padding: 10px 18px; border: 1px solid var(--border); border-radius: 10px; transition: all 0.2s; }
.back-home:hover { color: var(--gold-bright); border-color: var(--border-strong); }

/* FOOTER */
/* FOOTER (uniformisé - identique à earn.html) */
footer {
  border-top: 1px solid #1C1C20;
  background: #050507;
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer .logo img { height: 32px; opacity: 0.6; filter: brightness(2); }
footer p { font-size: 0.8rem; color: #71717A; }
footer nav a { color: #71717A; text-decoration: none; font-size: 0.8rem; margin-left: 20px; transition: color 0.2s; }
footer nav a:hover { color: #F59E0B; }
footer > a { color: #71717A; text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
footer > a:hover { color: #F59E0B; }

@media (max-width: 768px) {
  footer { flex-direction: column; text-align: center; }
  footer nav a { margin: 0 10px; }
}

@media (max-width: 768px) {
  .page-wrap { flex-direction: column; }
  .sidebar { width: 100%; position: static; }
}