/* === Palette & thèmes === */
:root{
--bg:#0e0f10; /* fond sombre */
--panel:#17191b; /* cartes */
--panel-2:#1e2124; /* hover */
--text:#e5e7eb; /* texte principal */
--muted:#c7cad1; /* texte secondaire */
--gold:#d4af37; /* accent impérial */
--red:#7a0a0a; /* accent de guerre */
--ring: rgba(212, 175, 55, .2);
}


*{box-sizing:border-box}
html,body{height:100%}
body{
margin:0;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
background:
radial-gradient(1200px 800px at 10% 0%, rgba(212,175,55,.06), transparent 60%),
radial-gradient(1000px 600px at 100% 100%, rgba(122,10,10,.06), transparent 60%),
var(--bg);
color:var(--text);
line-height:1.6;
}


/* Layout utilitaires */
.container{width:min(1100px, 92%); margin-inline:auto}
.card{
	background:linear-gradient(180deg, rgba(255,255,255,.02), transparent 40%), var(--panel);
	border:1px solid rgba(255,255,255,.06);
	border-radius:18px;
	margin: 10px;
	padding:1.25rem 1.25rem;
	box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.card:hover{border-color:rgba(255,255,255,.12)}


/* Header */
.site-header{display:flex; gap:1rem; align-items:center; justify-content:space-between; padding:1.25rem 0}
.brand h1{margin:0; letter-spacing:.25rem; font-weight:800}
.brand .subtitle{margin:.2rem 0 0; color:var(--muted)}
.brand .aquila{color:var(--gold); font-size:2rem}


.top-nav a{color:var(--text); text-decoration:none; margin-left:.75rem; padding:.5rem .75rem; border-radius:10px; border:1px solid transparent}
.top-nav a:hover{border-color:var(--ring); background:var(--panel-2)}


.sub-header{padding:1.25rem 0}
.sub-header .back{color:var(--muted); text-decoration:none}
.sub-header h1{margin:.5rem 0}
.sub-header .subtitle{margin:0; color:var(--muted)}


/* Hero */
.hero h2{margin-top:0; color:var(--gold)}


/* Grille d’accueil */
.grid-links{display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:1rem; margin:1rem 0 2rem}
.tile h3{margin:.25rem 0 .25rem; text-align: center}
.tile p{margin:.25rem 0 0; color:var(--muted)}


/* Typo longue lecture */
.prose h2, .prose h3{color:var(--gold)}
.prose ul{padding-left:1.1rem}
.prose li{margin:.25rem 0}
.note{border-left:4px solid var(--gold)}


/* Footer */
.site-footer{padding:2rem 0; color:var(--muted)}
.bottom-nav{display:flex; gap:1rem; justify-content:center}
.bottom-nav a{color:var(--text); text-decoration:none; padding:.35rem .65rem; border-radius:8px; border:1px solid transparent}
.bottom-nav a:hover{border-color:var(--ring); background:var(--panel-2)}


/* Accessibilité focus */
:focus{outline:2px solid var(--gold); outline-offset:2px}

.hero-image {
  display: block;
  width: 30%;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(255,255,255,0.1);
}

/* === Carte du Secteur Calixis === */
.map-figure {
  margin: 2rem 0;
  text-align: center;
}

.map-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-figure img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(212,175,55,0.25);
}


/* === HERO BANNER === */
.hero-banner {
  position: relative;
  height: 80vh;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

.hero-bg {
  position: absolute;
  object-position: center 30%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(100%) contrast(1.15);
  will-change: transform;
  transform: translateY(0);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85));
  text-align: center;
  color: #e5e7eb;
  padding: 0 1rem;
}

.hero-text {
  max-width: 700px;
  align-content: center;
}

.hero-text h2 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(212,175,55,0.6);
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  background-color: var(--gold);
  color: #111;
  transition: all 0.25s ease;
}
.cta:hover {
  background-color: #b9962e;
  transform: translateY(-2px);
}

/* Ajustement grille de liens */
.main-links {
  margin-top: 2rem;
}


/* === Image de tête Black Templars === */
.bt-figure {
  margin: 0 0 1.5rem 0;
}

.bt-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.bt-figure figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

/* === Image de tête Biographie === */
.bio-figure {
  margin: 0 0 1.5rem 0;
}

.bio-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.bio-figure figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

/* === Citation bannière dorée sur la bio === */
.bio-banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.bio-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  filter: brightness(80%) contrast(1.05);
}

.bio-quote {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  color: var(--gold);
  text-align: center;
  font-family: 'Trajan Pro', 'Cinzel', serif;
  text-shadow: 0 0 10px rgba(212,175,55,0.6);
}

.bio-quote q {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.bio-quote span {
  display: block;
  font-size: 0.9rem;
  color: #e5e7eb;
  opacity: 0.8;
}

/* === Emblème Inquisition (fixe en coin) === */
.inq-emblem {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  display: inline-block;
  z-index: 50;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.inq-emblem svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.inq-emblem:hover {
  border-color: var(--ring);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
  transform: translateY(-2px) rotate(-2deg);
}

/* Accessibilité : respecte la préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .inq-emblem,
  .inq-emblem:hover {
    transition: none;
    transform: none;
  }
}

/* === Liens des sections sur la page d’accueil === */
.grid-links a {
  display: block;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  transition: all 0.25s ease;
}

/* Supprime la couleur violette des liens visités */
.grid-links a:visited {
  color: var(--text);
}

/* Effet au survol */
.grid-links a:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.25);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(212,175,55,0.05), rgba(0,0,0,0.2));
}

/* Petit effet d’appui */
.grid-links a:active {
  transform: translateY(-1px);
}

/* === Bannière du Régiment === */
.regiment-banner {
  margin: 0 0 2rem 0;
  text-align: center;
}

.regiment-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.regiment-banner img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.25);
}

.regiment-banner figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* === Armes & Reliques === */
.arm-figure {
  margin: 0 0 1rem 0;
  text-align: center;
}

.arm-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arm-figure img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 55px rgba(212,175,55,0.25);
}

.arm-figure figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.spec {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.spec li::marker {
  color: var(--gold);
}

/* === Encarts Munitorum === */
.munitorum-card {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(30,30,30,0.95), rgba(10,10,10,0.95));
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
}

.munitorum-card h4 {
  margin-top: 0;
  color: var(--gold);
  font-size: 1.1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.munitorum-card ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  color: #dcdcdc;
  font-size: 0.95rem;
  line-height: 1.4;
}

.munitorum-card li::marker {
  color: var(--gold);
}

.munitorum-seal {
  text-align: center;
  margin-top: 0.75rem;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  letter-spacing: 1px;
  font-weight: 700;
}

/* === En-tête des Archives Inquisitoriales === */
.archives-header {
  position: relative;
  margin: 2rem auto 2.5rem auto;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.08), transparent 70%);
  overflow: hidden;
}

.archives-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10rem;
  color: rgba(212,175,55,0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.archives-text {
  position: relative;
  z-index: 1;
}

.archives-text h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
}

.archives-text p {
  font-size: 0.95rem;
  color: #ccc;
}

.sigil {
  height: 1.1em;
  vertical-align: middle;
  margin-right: 0.35rem;
  filter: drop-shadow(0 0 3px rgba(212,175,55,0.4));
}


