﻿/* ====== Variables principales ====== */
:root {
  --fond-principal: #05060a;
  --texte-principal: #f5f5f5;
  --accent-violet: #822b9c;
  --accent-violet-clair: #9b39b9;
  --accent-pale: #e1c8ff;
  --fond-secondaire: #10111a;
  --bulle-fond: rgba(5, 6, 10, 0.95);
  --bordure-claire: rgba(255, 255, 255, 0.08);
  --ombre-violette: rgba(130, 43, 156, 0.45);
  --police-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ====== RESET SIMPLE ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ====== TYPO & FOND GLOBAL ====== */
body {
  font-family: var(--police-base);
  line-height: 1.6;
  background: var(--fond-principal);
  color: var(--texte-principal);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ====== Header ====== */
header {
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bulle-fond);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--bordure-claire);
  backdrop-filter: blur(10px);
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

nav a {
  margin-left: 16px;
  font-size: 0.9rem;
  opacity: 0.85;
}

nav a:hover {
  opacity: 1;
  color: var(--accent-pale);
}

nav a.active {
  opacity: 1;
  color: var(--accent-pale);
  border-bottom: 1px solid var(--accent-pale);
  padding-bottom: 2px;
}

/* ====== STRUCTURE GLOBALE ====== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

section {
  margin-top: 40px;
}

/* ====== Boutons ====== */
.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-violet);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
  box-shadow: 0 8px 18px var(--ombre-violette);
}
.btn-primary:hover {
  background: var(--accent-violet-clair);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px var(--ombre-violette);
}

