body {
  background: url("fond-alpes.webp") center / cover fixed no-repeat;
  margin: 0;
  padding: 40px 20px;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.75;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(18, 42, 68, 0.22);
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 48px;
  background: rgba(9, 14, 20, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

a,
a:visited,
.footnote-ref,
.footnote-back {
  color: #7dd3fc;
  text-decoration: none;
  border-bottom: 1px dotted rgba(125, 211, 252, 0.7);
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover,
.footnote-ref:hover,
.footnote-back:hover {
  color: #bae6fd;
  border-bottom: 1px solid rgba(186, 230, 253, 0.95);
}

h1,
h2,
h3 {
  color: #f8fafc;
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

p,
li {
  color: #d6e0ea;
  margin-bottom: 1.2em;
}

strong {
  color: #ffffff;
}

em {
  color: #c7d7e6;
}

ul,
ol {
  padding-left: 1.4em;
}

blockquote {
  margin: 2em 0;
  padding: 1.2em 1.4em;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid rgba(125, 211, 252, 0.55);
  color: #dbe7f3;
}

section.footnotes {
  margin-top: 4em;
  padding-top: 2em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95em;
  color: #aebfd0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  border-radius: 12px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #dbe7f3;
}

th {
  color: #f8fafc;
  background: rgba(255,255,255,0.05);
}

/* --- EN-TÊTE CENTRÉ --- */
.site-header {
  width: 100%;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.header-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.site-title-link {
  text-decoration: none;
  border-bottom: none !important;
}

.site-title-link:hover {
  border-bottom: none !important;
}

.forced-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-bottom: none !important;
}

.logo-link:hover {
  border-bottom: none !important;
}

.hexa-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

.hexa-logo:hover {
  transform: scale(1.08) rotate(5deg);
  filter: drop-shadow(0 5px 8px rgba(125, 211, 252, 0.4));
}

@media (max-width: 820px) {
  body {
    padding: 20px 12px;
    background-position: center center;
  }

  .container {
    padding: 32px 22px;
    max-width: 100%;
    border-radius: 14px;
  }

  h1,
  h2,
  h3 {
    margin-top: 1.6em;
  }

  .forced-title {
    font-size: 1.05rem;
  }
}