@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Orbitron:wght@500;700;900&display=swap');

@font-face {
  font-family: 'Suprapower SE Heavy';
  src: local('Suprapower SE Heavy'), local('SuprapowerSEHeavy');
  /* Remplacement si la police n'est pas installée localement */
}

:root {
  --bg-color: #ffffff;
  --bg-secondary: #f9f9fb;
  --text-primary: #000049;
  --text-secondary: #000049;
  --border-color: #e5e5e5;
  --accent-color: #000000;
  /* Utilisation de Suprapower en priorité, avec des polices de secours "heavy" et futuristes */
  --font-main: 'Suprapower SE Heavy', 'Orbitron', 'Montserrat', -apple-system, sans-serif;
  --font-text: 'Montserrat', -apple-system, sans-serif;
  /* Pour garder le texte long lisible */
  --nav-height: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #000000;
    --bg-secondary: #111111;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --border-color: #333333;
    --accent-color: #ffffff;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-text);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.nav-brand {
  font-family: var(--font-main);
  text-transform: uppercase;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(var(--bg-color), 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background-color 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.nav-brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-main);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 25vh;
  /* Bannière plus fine */
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin-top: var(--nav-height);
  background-color: var(--bg-color);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000022 0%, #000049 50%, #000010 100%);
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0, 0, 150, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 73, 0.4) 0%, transparent 50%);
  z-index: 2;
  filter: blur(40px);
  animation: pulseBg 10s ease-in-out infinite alternate;
}

/* Subtle gradient overlay for better readability */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(var(--bg-color), 0.3), var(--bg-color));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  animation: slideUp 0.8s ease-out;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Pour mieux ressortir sur la bannière */
}

.hero p {
  font-size: 1.25rem;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 600;
}

/* Main Content */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 4rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-primary);
}

.section-title:first-child {
  margin-top: 0;
}

.article {
  margin-bottom: 3rem;
}

.article h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.article p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.article ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.article ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.article ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-primary);
  font-weight: bold;
}

.article strong {
  color: var(--text-primary);
  font-weight: 600;
}

a.link {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-color);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

a.link:hover {
  text-decoration-color: var(--text-primary);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  background-color: var(--bg-secondary);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBg {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}