@font-face { font-family: "Cinzel Decorative"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/cinzel-decorative-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); }

:root {
  --night: #120a09;
  --gold: #c6a72a;
  --bone: #fbf5ea;
  --parchment: #efe3ce;
  --ash: #bfae98;
  --line: rgba(239, 227, 206, 0.18);
  --font-display: "Cinzel Decorative", Georgia, serif;
  --font-text: "Libre Caslon Text", Georgia, serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--night);
  color: var(--parchment);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--parchment); text-underline-offset: 3px; }
a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.wrap { max-width: 52rem; margin: 0 auto; padding-inline: clamp(16px, 5vw, 64px); padding-block: clamp(28px, 6vh, 64px); }
.back { font-size: 0.95rem; color: var(--ash); text-decoration: none; }
.back:hover { text-decoration: underline; }

/* Hiérarchie h1, h2, h3 corrigée */
h1 {
  margin: 28px 0 16px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); line-height: 1.05; color: var(--bone);
}
h2 { margin: 32px 0 12px; font-size: 1.35rem; font-weight: 400; color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
h3 { margin: 20px 0 6px; font-size: 1.1rem; font-weight: 700; color: var(--bone); }

p, ul { margin: 0 0 14px; max-width: 65ch; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }

/* Sélecteur de langue sur-mesure (identique à index.html) */
.lang { 
  position: relative; 
  display: inline-flex; 
  align-items: center; 
}

.lang-current {
  display: inline-flex; 
  align-items: center; 
  gap: 9px;
  padding: 6px 2px; 
  border-bottom: 1px solid transparent;
  color: var(--ash); 
  font-size: 0.95rem; 
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.lang-current::after {
  content: ""; 
  width: 10px; 
  height: 6px; 
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23bfae98' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center;
}

.lang select {
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%;
  opacity: 0; 
  cursor: pointer; 
  font-size: 16px;
  border: 0; 
  margin: 0; 
  appearance: none; 
  -webkit-appearance: none;
}

.lang select option { 
  background: var(--night); 
  color: var(--parchment); 
}

.lang:hover .lang-current { 
  color: var(--parchment); 
  border-bottom-color: var(--line); 
}

.lang:focus-within .lang-current { 
  color: var(--parchment); 
  outline: 2px solid var(--gold); 
  outline-offset: 4px; 
  border-radius: 2px; 
}