/* =========================================================
   ARMÉE DE LA RÉSISTANCE — Opération Shadow
   Identité reprise du site d'origine : noir monochrome,
   faisceaux lumineux, grille fine, titres chromés, cartes verre.
   ========================================================= */

:root {
  color-scheme: dark;

  /* Couleurs */
  --bg: #000;
  --bg-2: #0a0a0b;
  --surface: #16171a;
  --surface-2: #1d1e22;
  --glass: rgba(230, 235, 255, 0.06);
  --glass-hover: rgba(230, 235, 255, 0.1);
  --line: rgba(230, 235, 255, 0.1);
  --line-strong: rgba(230, 235, 255, 0.2);

  --text: #fff;
  --text-2: rgba(230, 236, 255, 0.8);
  --text-3: rgba(230, 236, 255, 0.58);
  --text-4: rgba(230, 236, 255, 0.5);

  --live: #3ddc84;

  /* Typo */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", var(--font);

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 92px;

  --card-bg:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, #0c0c0e 100%);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -30px rgba(0, 0, 0, 0.9);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { color: var(--text); font-weight: 600; }
h1, h2, h3 { margin: 0; color: var(--text); line-height: 1.15; }
p { margin: 0; }
svg { flex-shrink: 0; }

::selection { background: rgba(255, 255, 255, 0.85); color: #000; }

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 800px; }

.emblem { display: block; }

.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: var(--text); }

/* ---------- Texte chromé (signature du site d'origine) ---------- */
.chrome {
  background-image: linear-gradient(
    0deg,
    rgba(79, 79, 79, 0.75) 4%,
    rgba(97, 97, 97, 0.8) 11%,
    rgba(119, 119, 119, 0.85) 22%,
    rgba(255, 255, 255, 0.75) 28%,
    rgba(118, 118, 118, 0.85) 36%,
    rgba(140, 140, 140, 0.9) 48%,
    #fff 82%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chrome--dim {
  background-image: linear-gradient(
    0deg,
    rgba(60, 60, 60, 0.7) 5%,
    rgba(110, 110, 110, 0.8) 25%,
    rgba(200, 200, 200, 0.75) 32%,
    rgba(100, 100, 100, 0.8) 45%,
    rgba(210, 210, 210, 0.95) 85%
  );
}

/* ---------- Faisceaux lumineux ---------- */
.beam {
  position: absolute;
  top: -20%;
  width: 18vw;
  min-width: 140px;
  height: 140%;
  /* Douceur obtenue par le dégradé lui-même (pas de flou ni de mode de fusion, recalculés à chaque image). */
  background: radial-gradient(50% 78% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.06) 48%, transparent 100%);
  transform-origin: top center;
  animation: sway 12s var(--ease) infinite alternate;
  pointer-events: none;
}
.beam--1 { left: 4%;  transform: rotate(-28deg); opacity: 0.55; animation-duration: 14s; }
.beam--2 { left: 22%; transform: rotate(-16deg); opacity: 0.7;  width: 10vw; animation-duration: 11s; }
.beam--3 { left: 44%; transform: rotate(-4deg);  opacity: 0.9;  width: 14vw; animation-duration: 16s; }
.beam--4 { left: 62%; transform: rotate(12deg);  opacity: 0.6;  width: 9vw;  animation-duration: 13s; }
.beam--5 { left: 78%; transform: rotate(24deg);  opacity: 0.45; animation-duration: 15s; }

@keyframes sway {
  from { translate: -2vw 0; }
  to   { translate: 2vw 0; }
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  position: relative;
  background: var(--live);
  flex-shrink: 0;
}
.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(61, 220, 132, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(3.3); opacity: 0; }
}

/* ---------- Effet projecteur ---------- */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
  transition: padding 0.35s var(--ease);
}
.nav.is-scrolled { padding-top: 8px; }

.nav__bar {
  position: relative;
  max-width: 1240px;
  height: 64px;
  margin-inline: auto;
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(14, 14, 16, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 18px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  transition: background 0.35s;
}
.nav.is-scrolled .nav__bar,
.nav.menu-open .nav__bar {
  background: rgba(10, 10, 12, 0.93);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  white-space: nowrap;
}
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav__brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.nav__brand-txt strong { font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }
.nav__brand-txt small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-4);
}

.nav__menu { flex: 1; display: flex; justify-content: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav__link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav__link:hover,
.has-mega.is-open .nav__trigger { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.has-mega.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__link.is-active {
  color: var(--text);
  background: linear-gradient(180deg, #2d2e31, #1f2023);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  background: linear-gradient(180deg, #fff 0%, #cfcfcf 100%);
  border-radius: 11px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 8px 24px -10px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.nav__cta svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.nav__cta:hover { transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 12px 30px -10px rgba(255, 255, 255, 0.5); }
.nav__cta:hover svg { transform: translateX(3px); }
.nav__cta--mobile { display: none; }

/* ---------- Menu déroulant ---------- */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.99);
  transform-origin: top center;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }

.mega__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, #121215 0%, #0a0a0c 100%);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -20px rgba(0, 0, 0, 0.95);
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  align-content: start;
}
.mega__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.mega__card:hover,
.mega__card:focus-visible { background: rgba(255, 255, 255, 0.05); border-color: var(--line); }
.mega__emblem { transition: transform 0.4s var(--ease); }
.mega__card:hover .mega__emblem { transform: rotate(-8deg) scale(1.05); }
.mega__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mega__name { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }
.mega__kind {
  margin-left: 4px;
  padding: 1px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  vertical-align: 1px;
}
.mega__desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega__go {
  width: 16px;
  height: 16px;
  color: var(--text-3);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.mega__card:hover .mega__go { opacity: 1; transform: none; }

.mega__aside {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0b0b0c;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.mega__aside-img {
  height: 140px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.3) brightness(0.75);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.mega__aside-body { display: flex; flex-direction: column; gap: 6px; padding: 4px 18px 18px; flex: 1; }
.mega__aside-body .eyebrow { margin: 0; }
.mega__aside-body strong { font-size: 18px; letter-spacing: -0.02em; }
.mega__aside-body p { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.mega__all svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.mega__all:hover svg { transform: translateX(3px); }

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.nav__burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 40px) 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 32% at 50% 6%, #5e5e5e 0%, rgba(0, 0, 0, 0) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(70% 55% at 50% 20%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000 0%, transparent 100%);
}
.hero::after,
.uhero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero__clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 6px 16px 6px 6px;
  font-size: 14px;
  color: var(--text-2);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.pill__avatars { display: inline-flex; flex-shrink: 0; }
.pill__avatars img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #000; object-fit: cover; }
.pill__avatars img + img { margin-left: -8px; }
.counter { font-variant-numeric: tabular-nums; }

.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero__title .chrome--dim { letter-spacing: 0.04em; }
.hero__lead { max-width: 560px; font-size: clamp(15px, 1.6vw, 17px); color: var(--text-3); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero__scroll {
  margin-top: 24px;
  width: 26px;
  height: 42px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
}
.hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--text-2);
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, #3b3838 0%, #262626 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px -12px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 32px -12px rgba(255, 255, 255, 0.18);
}
.btn:active { transform: translateY(0); }
.btn--primary {
  color: #000;
  background: linear-gradient(180deg, #fff 0%, #cfcfcf 100%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 10px 30px -10px rgba(255, 255, 255, 0.35);
}
.btn--primary:hover { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 16px 40px -10px rgba(255, 255, 255, 0.45); }

/* =========================================================
   SECTIONS — éléments communs
   ========================================================= */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }

.section--beams { overflow: hidden; isolation: isolate; }
.section__beams {
  position: absolute;
  inset: 0 0 auto 0;
  height: 560px;
  z-index: -1;
  background: radial-gradient(60% 50% at 50% 0%, rgba(120, 120, 120, 0.32) 0%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 45%, transparent 100%);
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__title {
  max-width: 760px;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.section__sub { max-width: 580px; color: var(--text-3); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.badge__live { display: inline-flex; align-items: center; gap: 6px; color: var(--live); }

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-4);
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.chip--muted { color: var(--text-3); background: transparent; border-color: var(--line); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.checklist svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  margin-top: 1px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.checklist--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }

.prose { display: flex; flex-direction: column; gap: 16px; font-size: 16px; }

/* =========================================================
   HISTOIRE — dossier + chronologie
   ========================================================= */
.dossier {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.dossier__file { position: sticky; top: calc(var(--nav-h) + 16px); }

.file {
  position: relative;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.file__stamp {
  position: absolute;
  top: 26px;
  right: -44px;
  z-index: 2;
  padding: 5px 52px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(180deg, #fff, #c9c9c9);
  transform: rotate(35deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}
.file__media { margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.file__media img { width: 100%; }

.file__data,
.ufile__data { margin: 16px 0 0; display: grid; }
.file__data > div,
.ufile__data > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.file__data dt,
.ufile__data dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
  white-space: nowrap;
}
.file__data dd,
.ufile__data dd { margin: 0; font-size: 14px; font-weight: 500; color: var(--text); text-align: right; }

.file__command { margin-top: 18px; }
.officer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.officer > img:first-child { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.officer strong { display: block; font-size: 14px; }
.officer span { font-size: 13px; color: var(--text-3); }
.officer__badge { margin-left: auto; }

.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 40px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), var(--line) 80%, transparent);
}
.timeline__item { position: relative; padding-bottom: 40px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #000;
  border: 1.5px solid var(--text-3);
  box-shadow: 0 0 0 5px #000;
}
.timeline__phase {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-4);
}
.timeline__item h3 { margin: 6px 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.timeline__item p { max-width: 640px; color: var(--text-3); }

.timeline__item--key {
  margin-bottom: 40px;
  padding: 24px 26px;
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.timeline__item--key::before {
  left: -34px;
  top: 30px;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 5px #000, 0 0 18px 4px rgba(255, 255, 255, 0.45);
}
.timeline__item--key h3 { font-size: 26px; }
.timeline__item--key p { color: var(--text-2); }

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin: clamp(48px, 7vw, 80px) 0 0;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
}
.manifesto img { width: 100%; height: 100%; object-fit: cover; }
.manifesto figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 56px);
}
.manifesto blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-2);
}

/* =========================================================
   VALEURS
   ========================================================= */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 32px 30px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.value:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.value__num {
  position: absolute;
  top: 22px;
  left: 28px;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.9;
}
.value h3 { margin-bottom: 10px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.value p { color: var(--text-3); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 500; line-height: 1.1; }
.stat span { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4); }

/* =========================================================
   CARTES D'UNITÉS (régiments / spécialités)
   ========================================================= */
.units { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.unit {
  flex: 1 1 260px;
  max-width: calc((100% - 48px) / 4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 22px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.units--compact .unit { max-width: calc((100% - 64px) / 5); flex-basis: 200px; padding: 22px 18px 18px; }
.unit:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.unit__emblem {
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7));
  transition: transform 0.5s var(--ease);
}
.unit:hover .unit__emblem { transform: rotate(-8deg) scale(1.05); }
.unit__kind { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); }
.unit__name { margin: 6px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.units--compact .unit__name { font-size: 16.5px; }
.unit__short { flex: 1; font-size: 14.5px; line-height: 1.55; color: var(--text-3); }
.units--compact .unit__short { font-size: 13.5px; }
.unit__foot {
  width: 100%;
  margin-top: 20px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
}
.unit__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.unit__go svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.unit:hover .unit__go svg { transform: translateX(3px); }
.units--compact .unit__go { display: none; }

/* =========================================================
   RECRUTEMENT
   ========================================================= */
.track {
  position: relative;
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.track::before,
.track::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--line);
}
.track::after {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.35));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s var(--ease) 0.3s;
}
.track.is-visible::after { transform: scaleX(1); }

.track__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.track__node {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: var(--text-3);
  background: radial-gradient(circle at 50% 20%, #2c2c30, #0d0d0f);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 8px #000, inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.track__node svg { width: 22px; height: 22px; }
.track.is-visible .track__node {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 8px #000, 0 0 28px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.track__step:nth-child(2) .track__node { transition-delay: 0.6s; }
.track__step:nth-child(3) .track__node { transition-delay: 1s; }
.track__step:nth-child(4) .track__node { transition-delay: 1.4s; }
.track__step:nth-child(5) .track__node { transition-delay: 1.8s; }
.track__num { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4); }
.track__step h3 { margin: 6px 0 8px; font-size: 17px; font-weight: 600; }
.track__step p { font-size: 14px; line-height: 1.55; color: var(--text-3); }

.recruit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.recruit__office,
.recruit__grades {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
}
.recruit__office {
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(100% 70% at 0% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(180deg, var(--surface), #0b0b0c);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(61, 220, 132, 0.08);
  border: 1px solid rgba(61, 220, 132, 0.35);
  border-radius: 999px;
}
.recruit__office h3 { margin: 18px 0 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.recruit__office > p { color: var(--text-3); }
.recruit__office .checklist { margin-top: 22px; }
.recruit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.recruit__grades { padding: 24px; }
.recruit__grades-head h3 { font-size: 20px; font-weight: 600; }
.recruit__grades-head p { margin-top: 4px; font-size: 14px; color: var(--text-3); }
.grades { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.grades__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.grades__row:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); }
.grades__name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.grades__name strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grades__name small { font-size: 12px; color: var(--text-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grades__icons { display: flex; width: 34px; }
.grades__row--group { margin-top: 6px; border-color: var(--line); }

/* =========================================================
   FAQ / CTA
   ========================================================= */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.chev {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] .chev { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__body { padding: 0 20px 20px; color: var(--text-3); }

.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(40px, 7vw, 80px) var(--gutter);
  text-align: center;
  background: radial-gradient(96% 96% at 50% 7.5%, #212121 0%, #000 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
}
.cta__glow {
  position: absolute;
  inset: -40% 10% auto;
  height: 80%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.18), transparent 70%);
  filter: blur(20px);
}
.cta__logo { width: 72px; height: 72px; border-radius: 50%; }
.cta__title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); font-weight: 500; }
.cta p { max-width: 480px; color: var(--text-3); }
.cta .hero__actions { margin-top: 8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  padding: 64px 0 36px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer__brand p { max-width: 300px; margin-top: 16px; font-size: 14px; color: var(--text-3); }
.footer__brand .footer__devise { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); }

.emblem--logo { object-fit: contain; }
.grades__icons .emblem + .emblem { margin-left: -16px; }
.footer h3 {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-4);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { font-size: 14px; color: var(--text-3); transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-4);
}
.footer__bottom strong { color: var(--text-3); font-weight: 600; }
.footer__glow {
  position: absolute;
  inset: auto 0 -60% 0;
  height: 100%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 100%, rgba(255, 255, 255, 0.1), transparent 70%);
}

/* =========================================================
   PAGE D'UNITÉ
   ========================================================= */
.uhero {
  position: relative;
  padding: calc(var(--nav-h) + 40px) 0 56px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.uhero--empty { min-height: 80svh; display: grid; place-items: center; }
.uhero__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-4); }
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-2); }
.uhero__emblem { margin: 8px 0; }
.uhero__emblem .emblem {
  width: clamp(120px, 18vw, 168px);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
}
.uhero__emblem { animation: float 6s ease-in-out infinite; }
@keyframes float {
  50% { translate: 0 -8px; }
}
.uhero__title { font-family: var(--font-display); font-size: clamp(34px, 6vw, 68px); font-weight: 500; line-height: 1.05; }
.uhero__devise { font-size: 18px; font-style: italic; color: var(--text-2); }
.uhero__short { max-width: 560px; color: var(--text-3); }

.ubody { padding-top: 24px; }
.ulayout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; align-items: start; }
.umain { display: flex; flex-direction: column; gap: 16px; }
.ublock {
  padding: clamp(22px, 3vw, 34px);
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
}
.ublock__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-4);
}
.ublock__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.subunits,
.umissions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.subunit,
.umission {
  padding: 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.3s;
}
.subunit { display: flex; gap: 14px; }
.subunit:hover,
.umission:hover { border-color: var(--line-strong); }
.subunit__icon,
.umission__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  flex-shrink: 0;
}
.umission__icon { margin-bottom: 12px; }
.subunit__icon svg,
.umission__icon svg { width: 20px; height: 20px; }
.subunit h3,
.umission h3 { margin-bottom: 4px; font-size: 16px; font-weight: 600; }
.subunit p,
.umission p { font-size: 14px; line-height: 1.55; color: var(--text-3); }

.uformation { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.uformation li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.uformation__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 12px;
  font-weight: 700;
  color: #000;
  background: linear-gradient(180deg, #fff, #bdbdbd);
  border-radius: 50%;
  flex-shrink: 0;
}
.uformation h3 { font-size: 16px; font-weight: 600; }
.uformation p { font-size: 14px; color: var(--text-3); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery__item {
  position: relative;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 0.8s var(--ease), filter 0.5s; }
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1); }

.uside { position: sticky; top: calc(var(--nav-h) + 16px); }
.ufile {
  padding: 22px;
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
}
.ufile__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ufile__head strong { display: block; font-size: 16px; line-height: 1.3; }
.ufile__head span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); }
.ufile__status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ufile__status.is-open { background: rgba(61, 220, 132, 0.07); border-color: rgba(61, 220, 132, 0.35); }
.ufile__status:not(.is-open) .dot { background: #888; }
.ufile__status:not(.is-open) .dot::after { display: none; }
.ufile__status .dot { margin-top: 8px; }
.ufile__status strong { display: block; font-size: 14px; }
.ufile__status span { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.ufile__status span svg { width: 14px; height: 14px; }
.ufile__cond { margin-top: 20px; }
.ufile__cond .checklist { margin-top: 12px; }
.ufile__cond .checklist li { font-size: 14px; }
.ufile__actions { display: grid; gap: 8px; margin-top: 22px; }
.ufile__actions .btn { justify-content: center; }

.uothers__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.uothers__head .section__title { font-size: clamp(24px, 3vw, 32px); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.link-more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-more:hover svg { transform: translateX(3px); }

.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.mini:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.mini strong { display: block; font-size: 14px; line-height: 1.3; }
.mini small { font-size: 12px; color: var(--text-4); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.pager__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.3s, background 0.3s;
}
.pager__link:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.pager__link svg { width: 20px; height: 20px; color: var(--text-3); }
.pager__link:first-child svg { transform: rotate(180deg); }
.pager__link--next { justify-content: flex-end; text-align: right; }
.pager__link small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); }

/* =========================================================
   LIGHTBOX / APPARITION
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
  animation: fadeIn 0.3s;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
@keyframes fadeIn { from { opacity: 0; } }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.unit.reveal.is-visible:hover,
.value.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .unit { max-width: calc((100% - 32px) / 3); }
  .units--compact .unit { max-width: calc((100% - 32px) / 3); }
  .nav__link { padding: 0 11px; }
}

@media (max-width: 1020px) {
  /* Navbar mobile */
  .nav__burger { display: block; }
  .nav__bar > .nav__cta { margin-left: auto; }
  .nav__menu {
    position: fixed;
    top: 86px;
    left: var(--gutter);
    right: var(--gutter);
    max-height: calc(100svh - 102px);
    padding: 10px;
    display: block;
    overflow-y: auto;
    background: rgba(10, 10, 12, 0.97);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 0; background: none; border: 0; }
  .nav__link { width: 100%; height: 50px; justify-content: space-between; padding: 0 14px; font-size: 16px; }
  .nav__link svg { width: 18px; height: 18px; }
  .nav__link.is-active { background: rgba(255, 255, 255, 0.06); box-shadow: none; }

  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .mega::before { display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega__panel { display: block; padding: 4px 0 8px; background: none; border: 0; box-shadow: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__aside { display: none; }
  .mega__go { opacity: 1; transform: none; }

  .nav__cta--mobile { display: flex; justify-content: center; width: 100%; margin-top: 10px; height: 50px; font-size: 15px; }

  /* Mises en page */
  .dossier { grid-template-columns: minmax(0, 1fr); }
  .dossier__file { position: static; max-width: 520px; }
  .manifesto { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; padding-top: 120px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .recruit { grid-template-columns: minmax(0, 1fr); }
  .ulayout { grid-template-columns: minmax(0, 1fr); }
  .uside { position: static; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .track { grid-template-columns: 1fr; gap: 0; }
  .track::before,
  .track::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .track::after { transform: scaleY(0); transform-origin: top; }
  .track.is-visible::after { transform: scaleY(1); }
  .track__step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
    padding-bottom: 28px;
    text-align: left;
  }
  .track__node { grid-row: 1 / span 3; margin: 0; }
  .track__num { padding-top: 4px; }
}

@media (max-width: 700px) {
  :root { --nav-h: 84px; }
  .nav { padding-top: 10px; }
  .nav__bar { height: 60px; gap: 10px; }
  .nav__bar > .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .nav__brand-txt strong { font-size: 14px; }
  .nav__menu { top: 78px; }

  .pill { font-size: 13px; padding-right: 12px; text-align: left; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn,
  .recruit__actions .btn { justify-content: center; width: 100%; }

  .unit,
  .units--compact .unit { max-width: calc((100% - 16px) / 2); flex-basis: 150px; }
  .units--compact .unit__foot { flex-direction: column; align-items: flex-start; }

  .subunits,
  .umissions,
  .checklist--grid,
  .gallery,
  .pager { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .uothers__head { flex-direction: column; align-items: flex-start; }
  .file__data dd,
  .ufile__data dd { font-size: 13.5px; }
}

@media (max-width: 480px) {
  .unit { max-width: 100%; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Horaire de recrutement */
.recruit__schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}
.recruit__schedule svg { width: 16px; height: 16px; }

/* =========================================================
   HERO — réticule central
   ========================================================= */
.hero__content,
.uhero__inner { position: relative; z-index: 1; }

.hud {
  position: absolute;
  inset: calc(var(--nav-h) + 16px) 28px 24px;
  z-index: 0;
  pointer-events: none;
  animation: hudIn 1.2s var(--ease) both;
}
@keyframes hudIn { from { opacity: 0; } }

.hud__reticle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78vw, 640px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: spin 120s linear infinite;
}
.hud__reticle::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.hud__reticle::after {
  content: "";
  position: absolute;
  inset: -4%;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(255, 255, 255, 0.07) 46% 54%, transparent 54%) center / 100% 1px no-repeat,
    linear-gradient(0deg, transparent 0 46%, rgba(255, 255, 255, 0.07) 46% 54%, transparent 54%) center / 1px 100% no-repeat;
}
@keyframes spin { to { rotate: 360deg; } }

.uhero .hud { inset: calc(var(--nav-h) + 12px) 28px 12px; }
.uhero .hud__reticle { width: min(60vw, 420px); top: 46%; }

@media (prefers-reduced-motion: reduce) {
  .hud__reticle { animation: none; }
}

/* =========================================================
   PORTAIL SOLDAT — connexion, espace, formations
   ========================================================= */

/* ---------- Bouton « Espace soldat » de la navbar ---------- */
.nav__account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  max-width: 220px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav__account:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.07); }
.nav__account svg { width: 17px; height: 17px; }
.nav__account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__account em {
  margin-right: 6px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-4);
}
.nav__account.is-auth { padding-left: 6px; }
.nav__account img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }

/* ---------- Hero du portail ---------- */
.phero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 32px) 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.phero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
}
.phero .hud { inset: calc(var(--nav-h) + 12px) 28px 12px; }
.pwrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; }

/* ---------- Carte (connexion, enrôlement, verrou) ---------- */
.pcard {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(26px, 4vw, 38px);
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  box-shadow: var(--card-shadow), 0 0 80px -30px rgba(255, 255, 255, 0.12);
}
.pcard--wide { max-width: 520px; }
.pcard__logo { width: 64px; height: 64px; border-radius: 50%; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.9)); }
.pcard__title { font-family: var(--font-display); font-size: clamp(30px, 5vw, 40px); font-weight: 500; line-height: 1.1; }
.pcard__lead { color: var(--text-3); font-size: 15px; }
.pcard__list { width: 100%; padding: 18px 0 2px; border-top: 1px solid var(--line); text-align: left; }
.pcard__list li { font-size: 14px; }
.pcard__foot { font-size: 14px; color: var(--text-3); }
.pcard__id { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pcard__data { width: 100%; margin: 0; text-align: left; }
.pcard__lockicon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}
.pcard__lockicon svg { width: 24px; height: 24px; }
.pcard--dev { max-width: 520px; gap: 14px; text-align: left; align-items: stretch; border-style: dashed; }

.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.btn[hidden] { display: none; }

/* ---------- Formulaires ---------- */
.pfield { display: grid; gap: 6px; width: 100%; text-align: left; }
.pfield > span { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); }
.pfield small { font-size: 13px; color: var(--text-4); }
.pfield input,
.pfield select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background-color: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pfield select {
  appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.pfield select option { background: var(--surface); }
.pfield input:focus,
.pfield select:focus { outline: none; border-color: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }

.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pfieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.pfieldset legend { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); }

.pcheck { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); text-align: left; cursor: pointer; }
.pcheck input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #fff; flex-shrink: 0; }
.pfieldset .pcheck { padding: 7px 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 999px; }
.pcheck--oath { width: 100%; padding: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; }

/* ---------- Messages ---------- */
.palert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-2);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.palert[hidden] { display: none; }
.palert svg { width: 18px; height: 18px; margin-top: 2px; color: var(--text); }
.palert--error { color: #ffc9c9; background: rgba(255, 90, 90, 0.08); border-color: rgba(255, 90, 90, 0.35); }
.palert--wide { padding: 16px 18px; font-size: 15px; border-radius: 16px; }
.pempty { color: var(--text-3); font-size: 15px; }

/* ---------- Espace soldat ---------- */
.phero--profile .uhero__title { font-size: clamp(32px, 5.4vw, 60px); }
.pavatar-wrap { position: relative; margin: 6px 0; }
.pavatar { display: block; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-strong); }
.pavatar--lg {
  width: clamp(96px, 14vw, 120px);
  height: clamp(96px, 14vw, 120px);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04), 0 30px 60px -20px rgba(0, 0, 0, 0.95), 0 0 60px rgba(255, 255, 255, 0.08);
}
.pavatar--empty { display: grid; place-items: center; color: var(--text-3); background: var(--surface); }
.pavatar--empty svg { width: 44px; height: 44px; }
.pavatar__grade {
  position: absolute;
  left: 50%;
  bottom: -8px;
  translate: -50% 0;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000;
  background: linear-gradient(180deg, #fff, #c4c4c4);
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.9);
}

.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
a.fcard:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.fcard__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  flex-shrink: 0;
}
.fcard__icon svg { width: 20px; height: 20px; }
.fcard h3 { font-size: 17px; font-weight: 600; }
.fcard p { font-size: 14px; line-height: 1.55; color: var(--text-3); }
.fcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; padding-top: 8px; }
.fcard__foot .chip { gap: 6px; }
.fcard__foot .chip svg { width: 13px; height: 13px; }
.fcard__go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.fcard__go svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
a.fcard:hover .fcard__go svg { transform: translateX(3px); }
.fcard__lock { font-size: 12.5px; font-weight: 600; color: var(--text-4); }
.fcard.is-locked { border-style: dashed; }
.fcard.is-locked h3,
.fcard.is-locked p { opacity: 0.6; }
.fcard.is-locked .fcard__icon { color: var(--text-4); background: transparent; }

.pmini { display: grid; gap: 10px; margin-top: 18px; }
.pmini[hidden],
.ufile__actions[hidden] { display: none; }
.pmini__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pmini__actions .btn { justify-content: center; height: 44px; }
.pmini__done { margin-top: 16px; }

.pconf { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--text-4); }
.pconf svg { width: 16px; height: 16px; margin-top: 2px; }

@media (max-width: 1140px) {
  .nav__account { max-width: 160px; }
}
@media (max-width: 1020px) {
  .nav__bar > .nav__account { margin-left: auto; }
  .nav__bar > .nav__account ~ .nav__cta { margin-left: 0; }
}
@media (max-width: 700px) {
  .nav__account { width: 42px; padding: 0; justify-content: center; }
  .nav__account span { display: none; }
  .nav__account.is-auth { padding: 0; }
  .nav__account img { width: 32px; height: 32px; }
  .nav__bar > .nav__account ~ .nav__burger { margin-left: 0; }
  .fgrid,
  .pgrid { grid-template-columns: 1fr; }
  .phero .hud { inset: calc(var(--nav-h) + 8px) 16px 14px; }
}

/* ---------- Connexion / inscription (comptes locaux) ---------- */
.ptabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  padding: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.ptabs__btn {
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.ptabs__btn:hover { color: var(--text); }
.ptabs__btn[aria-selected="true"] {
  color: var(--text);
  background: linear-gradient(180deg, #2d2e31, #1f2023);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.pform { display: grid; gap: 14px; width: 100%; }
.pform[hidden] { display: none; }
.pform__hint { font-size: 13px; color: var(--text-4); }

/* ---------- Panneau de commandement ---------- */
.ptoolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
  margin-bottom: 16px;
}
.slist { display: grid; gap: 12px; }
.scard {
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}
.scard[hidden] { display: none; }
.scard__set { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.scard__set:disabled { opacity: 0.55; }
.scard__head { display: flex; align-items: center; gap: 14px; }
.scard__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  flex-shrink: 0;
}
.scard__who { flex: 1; min-width: 0; }
.scard__who strong { display: block; font-size: 16px; line-height: 1.3; }
.scard__who small { display: block; font-size: 13px; color: var(--text-4); overflow-wrap: anywhere; }
.scard__me {
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.scard__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.scard .pfield select:disabled { opacity: 0.5; }
.scard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.scard__foot .btn { height: 44px; }
.scard__msg { flex: 1 1 220px; font-size: 14px; color: var(--live); }
.scard__msg.is-error { color: #ffc9c9; }
.scard__pwd {
  padding: 2px 8px;
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  user-select: all;
}

@media (max-width: 700px) {
  .ptoolbar,
  .scard__grid { grid-template-columns: 1fr; }
  .scard__foot .btn { flex: 1 1 100%; justify-content: center; }
}


/* ---------- Photo de profil et crayons ---------- */
.pavatar-btn { position: relative; display: block; padding: 0; border: 0; background: none; border-radius: 50%; color: inherit; cursor: pointer; }
.pavatar-btn:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.pavatar-btn:hover .pavatar { border-color: #fff; }
.pavatar-btn__edit {
  position: absolute; right: 0; bottom: 4px; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 50%;
  color: #000; background: #fff; border: 2px solid #000;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.9);
}
.pavatar-btn__edit svg { width: 15px; height: 15px; }
.plink { margin-top: 6px; padding: 4px 8px; font: inherit; font-size: 13px; color: var(--text-3); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.plink:hover { color: var(--text); }
.pencil {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 8px;
  vertical-align: middle; color: var(--text-2); background: var(--glass);
  border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer;
}
.pencil svg { width: 14px; height: 14px; }
.pencil:hover { color: #fff; background: var(--glass-hover); }
.pencil:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }


/* ---------- Annonces, promotions, sanctions ---------- */
.alist { display: grid; gap: 12px; }
.aitem {
  display: grid; gap: 8px; min-width: 0; padding: 16px 18px;
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--card-shadow);
}
.aitem__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.aitem__top h3 { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.aitem__ico { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; color: var(--text); background: var(--glass); border: 1px solid var(--line-strong); border-radius: 10px; }
.aitem__ico svg { width: 16px; height: 16px; }
.aitem p { margin: 0; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.aitem small { font-size: 12.5px; color: var(--text-4); }
.aitem--blame { background: rgba(255, 90, 90, 0.06); border-color: rgba(255, 90, 90, 0.4); }
.aitem--blame .aitem__ico { color: #ffb4b4; border-color: rgba(255, 90, 90, 0.4); }
.aitem--promo { border-color: rgba(61, 220, 132, 0.4); }
.aitem--promo .aitem__ico { color: var(--live); border-color: rgba(61, 220, 132, 0.4); }
.pmini--annonce { margin: 0 0 18px; }
.hlist { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.hlist li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.hlist small { color: var(--text-4); }
.hlist__empty { color: var(--text-4); }
.hlist .plink { margin: 0; flex-shrink: 0; }


/* ---------- Fenêtre de confirmation (candidature) ---------- */
.zdialog {
  width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 26px; color: var(--text-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 40px 80px -20px #000; overflow: hidden;
}
.zdialog::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.zdialog__title { font: 600 22px/1.25 var(--font-display); color: var(--text); text-wrap: balance; }
.zdialog__body { display: grid; gap: 10px; max-height: 55vh; margin-top: 14px; overflow-y: auto; font-size: 15px; line-height: 1.6; }
.zdialog__body strong { color: var(--text); }
.zdialog__note { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; }
.zdialog__note svg { width: 16px; height: 16px; }
.zdialog .palert { margin-top: 14px; }
.zdialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }


/* ---------- Choix du callsign (admission Armée de l'Air) ---------- */
.zdialog--cs { width: min(600px, calc(100% - 32px)); }
.zdialog--cs .eyebrow { display: block; margin-bottom: 8px; }
.zdialog--cs .zdialog__body { max-height: 50vh; padding-right: 4px; }
.csgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; margin-top: 4px; }
.cschip { position: relative; display: block; cursor: pointer; }
.cschip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cschip span { display: grid; place-items: center; min-height: 42px; padding: 0 10px; font: 600 13px/1 var(--font-display); letter-spacing: 0.12em; color: var(--text-3); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong); border-radius: 12px; transition: color .15s, background .15s, border-color .15s; }
.cschip:hover span { color: var(--text); border-color: rgba(255, 255, 255, 0.4); }
.cschip input:checked + span { color: #000; background: #fff; border-color: #fff; }
.cschip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.csnom { display: grid; gap: 4px; margin-top: 14px; padding: 12px 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 12px; }
.csnom strong { font: 600 17px/1.3 var(--font-display); letter-spacing: 0.02em; text-transform: none; color: var(--text); overflow-wrap: anywhere; }


/* ---------- Agenda du soldat : DEFCON, convocations, absences ---------- */
.defcon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 18px; padding: 14px 18px; font-size: 14.5px; color: var(--text-2); background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); border-left: 4px solid #a1a1aa; border-radius: 14px; }
.defcon b { font: 600 15px var(--font-display); letter-spacing: .08em; color: var(--text); }
.defcon--4 { border-left-color: #60a5fa; }
.defcon--3 { border-left-color: #facc15; }
.defcon--2 { border-left-color: #fb923c; background: rgba(251,146,60,.06); }
.defcon--1 { border-left-color: #ef4444; background: rgba(239,68,68,.08); }
.aitem--convoc { border-color: rgba(255,255,255,.28); }
.aitem__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip--warn { color: #facc15; border-color: rgba(250,204,21,.4); }
.pdetails { margin-top: 14px; }
.pdetails summary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 14px; font-weight: 600; color: var(--text-2); list-style: none; cursor: pointer; background: var(--glass); border: 1px solid var(--line-strong); border-radius: 999px; }
.pdetails summary::-webkit-details-marker { display: none; }
.pdetails summary svg { width: 16px; height: 16px; }
.pdetails[open] summary { margin-bottom: 14px; color: var(--text); }

/* ---------- Mon dossier : situation, à faire, onglets ---------- */
.btn--sm { height: 38px; padding: 0 14px; font-size: 13.5px; }
.btn--sm svg { width: 15px; height: 15px; }
.pfield textarea {
  width: 100%; min-height: 96px; padding: 12px 14px; font: inherit; font-size: 15px; line-height: 1.5; color: var(--text);
  background-color: rgba(0, 0, 0, 0.45); border: 1px solid var(--line-strong); border-radius: 12px; resize: vertical;
}
.pfield textarea:focus { outline: none; border-color: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }
.situ { display: grid; gap: 12px; }
.situ .defcon { margin: 0; }
.situ .palert { margin: 0; }
.rappel { display: grid; gap: 6px; padding: 16px 18px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-strong); border-radius: 14px; }
.rappel .eyebrow { font-size: 11.5px; }
.rappel p { margin: 0; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.fgrid--espaces { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.todo { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.todo a, .todo button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; font: inherit; font-size: 15px; text-align: left; color: var(--text-2);
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s;
}
.todo a:hover, .todo button:hover { color: var(--text); background: var(--glass); border-color: var(--line-strong); }
.todo span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.todo > li > * > svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-4); }
.ptabs {
  position: sticky; top: calc(var(--nav-h) - 8px); z-index: 5; display: flex; gap: 6px; padding: 6px; overflow-x: auto; scrollbar-width: none;
  background: rgba(10, 10, 11, 0.95); border: 1px solid var(--line); border-radius: 999px;
}
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button {
  display: inline-flex; align-items: center; gap: 8px; flex: 1 0 auto; justify-content: center; height: 40px; padding: 0 16px;
  font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--text-3); background: none; border: 0; border-radius: 999px; cursor: pointer;
}
.ptabs button:hover { color: var(--text); }
.ptabs button[aria-selected="true"] { color: #000; background: #fff; }
.ptabs__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; font-size: 11.5px; color: #000; background: #facc15; border-radius: 999px; }
.ppanel { display: flex; flex-direction: column; gap: 16px; }
.ppanel[hidden] { display: none; }
.aitem--link { color: inherit; text-decoration: none; transition: border-color .2s; }
.aitem--link:hover { border-color: var(--line-strong); }
.sdg { display: grid; gap: 8px; }
.sdg__opt {
  padding: 11px 14px; font: inherit; font-size: 15px; text-align: left; color: var(--text); background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s;
}
.sdg__opt:hover, .sdg__opt.is-mine { background: var(--glass); border-color: rgba(255, 255, 255, 0.55); }
.sdg__res { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; overflow: hidden; font-size: 14.5px; border: 1px solid var(--line); border-radius: 12px; }
.sdg__res i { position: absolute; inset: 0 auto 0 0; background: rgba(255, 255, 255, 0.07); }
.sdg__res span, .sdg__res b { position: relative; }
.sdg__res b { font-weight: 600; color: var(--text); }
.sdg__res.is-mine { border-color: rgba(255, 255, 255, 0.45); }
.sdg__res.is-mine span::after { content: " · votre vote"; color: var(--text-4); }
.opordre summary { font-size: 13.5px; font-weight: 600; color: var(--text-3); cursor: pointer; }
.opordre dl { display: grid; gap: 4px; margin: 10px 0 0; }
.opordre dt { margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-4); }
.opordre dd { margin: 0; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .ptabs { top: calc(var(--nav-h) - 24px); border-radius: 16px; }
  .ptabs button { flex: 0 0 auto; padding: 0 12px; }
  .pgrid { grid-template-columns: 1fr; }
}

/* ---------- Candidature : disponibilités du lundi au dimanche ---------- */
.pdispo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.pdispo legend { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); }
.pdispo .pfield input { height: 42px; }
.zdialog .pform { margin-top: 6px; }
@media (max-width: 480px) { .pdispo { grid-template-columns: 1fr; } }

/* =========================================================
   THÈME RÉSISTANCE — noir et rouge (insignes de l'Armée de l'Air)
   Surcharge les reflets argent du thème d'origine.
   ========================================================= */
:root {
  --red: #e3241b;
  --red-2: #b3140e;
  --red-3: #6e0a06;
  --red-glow: rgba(227, 36, 27, 0.45);
  --line: rgba(255, 220, 215, 0.1);
  --line-strong: rgba(255, 200, 195, 0.2);
  --text-2: rgba(255, 236, 233, 0.82);
  --text-3: rgba(255, 232, 228, 0.6);
  --text-4: rgba(255, 232, 228, 0.5);
  --card-bg:
    radial-gradient(120% 80% at 50% 0%, rgba(227, 36, 27, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, #18100f 0%, #0c0909 100%);
}
::selection { background: var(--red); color: #fff; }
:focus-visible { outline-color: var(--red); }

.chrome {
  background-image: linear-gradient(
    0deg,
    rgba(110, 10, 6, 0.85) 4%,
    rgba(160, 20, 14, 0.9) 14%,
    rgba(227, 36, 27, 0.95) 26%,
    rgba(255, 170, 160, 0.9) 31%,
    rgba(214, 34, 26, 0.95) 40%,
    #ff5a4c 62%,
    #fff 92%
  );
}
.chrome--dim {
  background-image: linear-gradient(
    0deg,
    rgba(90, 10, 6, 0.75) 5%,
    rgba(170, 26, 18, 0.85) 25%,
    rgba(255, 150, 140, 0.8) 32%,
    rgba(150, 22, 16, 0.85) 45%,
    rgba(255, 120, 108, 0.95) 85%
  );
}

.hero__glow { background: radial-gradient(80% 32% at 50% 6%, #7a0d08 0%, rgba(0, 0, 0, 0) 100%); }
.hero__grid {
  background-image:
    linear-gradient(rgba(255, 80, 70, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 80, 70, 0.07) 1px, transparent 1px);
}
.beam { background: radial-gradient(50% 78% at 50% 0%, rgba(255, 70, 55, 0.22) 0%, rgba(227, 36, 27, 0.06) 48%, transparent 100%); }
.section__beams { background: radial-gradient(60% 50% at 50% 0%, rgba(180, 20, 14, 0.38) 0%, transparent 100%); }
.cta__glow { background: radial-gradient(50% 50% at 50% 50%, rgba(227, 36, 27, 0.3), transparent 70%); }
.footer__glow { background: radial-gradient(50% 50% at 50% 100%, rgba(227, 36, 27, 0.16), transparent 70%); }

.hud__reticle { border-color: rgba(255, 60, 48, 0.12); }
.hud__reticle::before { border-color: rgba(255, 60, 48, 0.14); }
.hud__reticle::after {
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(255, 60, 48, 0.16) 46% 54%, transparent 54%) center / 100% 1px no-repeat,
    linear-gradient(0deg, transparent 0 46%, rgba(255, 60, 48, 0.16) 46% 54%, transparent 54%) center / 1px 100% no-repeat;
}

.btn:hover {
  border-color: rgba(255, 90, 76, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 32px -12px var(--red-glow);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #f0372c 0%, var(--red-2) 100%);
  border-color: rgba(255, 110, 96, 0.6);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 10px 30px -10px var(--red-glow);
}
.btn--primary:hover { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 16px 40px -10px rgba(227, 36, 27, 0.65); }
.badge { border-color: rgba(227, 36, 27, 0.35); }

/* ---------- Accueil Résistance : blocs propres ---------- */
.file__media--emblem {
  display: grid;
  place-items: center;
  padding: 22px 0;
  background: radial-gradient(60% 60% at 50% 45%, rgba(227, 36, 27, 0.22), transparent 70%), #080505;
}
.file__media--emblem img { width: min(200px, 60%); filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.8)); }
.file__stamp { color: #fff; background: linear-gradient(180deg, #e3241b, #9d120c); }
.file__chain { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.file__chain li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  font-size: 13px;
  border-bottom: 1px dashed var(--line);
}
.file__chain li:last-child { border-bottom: 0; }
.file__chain strong { font-weight: 600; font-size: 13px; }
.file__chain span { color: var(--text-4); font-size: 12px; }
.timeline__item--key::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px #000, 0 0 18px 4px var(--red-glow); }
.timeline__item--key { border-color: rgba(227, 36, 27, 0.35); }

.manifesto--plain { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.manifesto__emblem {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 28px 16px;
  background:
    radial-gradient(55% 55% at 50% 50%, rgba(227, 36, 27, 0.3), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 60, 48, 0.05) 0 2px, transparent 2px 14px),
    #070404;
}
.manifesto__emblem img { width: min(220px, 70%); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85)); }
.manifesto__sign { font-size: 14px; color: var(--text-4); letter-spacing: 0.04em; }

.airblock { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: stretch; }
.airblock__unit { display: flex; }
.airblock__unit .unit { max-width: none; flex: 1; }
.airblock__unit .unit__emblem .emblem { width: 120px; height: 120px; }
.airblock__grades {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--card-shadow);
}
.grades__row--rank { cursor: default; }
.grades__row--rank .chip { white-space: nowrap; }
.grades__lvl { width: 28px; text-align: center; font-family: var(--font-display); font-size: 18px; font-weight: 600; }

.values--code .value { justify-content: flex-start; min-height: 0; padding-top: 28px; }
.code__tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(227, 36, 27, 0.18);
  border: 1px solid rgba(227, 36, 27, 0.45);
  border-radius: 999px;
}
.values--code .value h3 { font-size: 22px; }
.values--code .value small { display: block; margin-top: 14px; padding-top: 12px; font-size: 13px; color: var(--text-2); border-top: 1px dashed var(--line); }
.values--code .value__num { opacity: 0.35; }

.honors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.honors__item { display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.honors__item + .honors__item { border-left: 1px solid var(--line); }
.honors__item strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--text); }
.honors__item p { font-size: 14px; color: var(--text-3); }
.reglement__more { display: flex; justify-content: center; margin-top: 28px; }
.status { background: rgba(227, 36, 27, 0.08); border-color: rgba(227, 36, 27, 0.4); }

@media (max-width: 1020px) {
  .airblock { grid-template-columns: minmax(0, 1fr); }
  .manifesto--plain { grid-template-columns: 1fr; }
  .manifesto__emblem { min-height: 200px; }
  .honors { grid-template-columns: minmax(0, 1fr); }
  .honors__item + .honors__item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .grades__row--rank { flex-wrap: wrap; }
  .grades__row--rank .chip { white-space: normal; }
}
.values--code .value__num { left: auto; right: 26px; }
.stat strong span { font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.values--code .value__num { display: none; }

.nav__cta {
  color: #fff;
  background: linear-gradient(180deg, #f0372c 0%, var(--red-2) 100%);
  border-color: rgba(255, 110, 96, 0.6);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 8px 24px -10px var(--red-glow);
}
.nav__cta:hover { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), 0 12px 30px -10px rgba(227, 36, 27, 0.7); }

.unit--air .unit__head { display: flex; align-items: center; gap: 20px; }
.unit--air .unit__emblem { margin-bottom: 0; }
.unit--air .unit__emblem .emblem { width: 96px; height: 96px; }
.air__facts { display: grid; margin: 22px 0 18px; width: 100%; }
.air__facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.air__facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-4); }
.air__facts dd { margin: 0; font-size: 14px; font-weight: 500; color: var(--text); text-align: right; }
.unit--air .unit__foot { margin-top: auto; }
@media (max-width: 560px) {
  .unit--air .unit__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.grades__row--rank .grades__name strong,
.grades__row--rank .grades__name small { white-space: normal; overflow: visible; }

/* =========================================================
   REFONTE IMPÉRIALE (23/10/2026)
   Toute la Résistance : trois armées et leurs spécialités.
   Oswald pour les titres (militaire, condensé), Cormorant pour les citations,
   rouge de l'insigne et laiton des grades sur un noir chaud.
   ========================================================= */
:root {
  --bg: #070505;
  --font-display: "Oswald", "Arial Narrow", "Inter", sans-serif;
  --font-quote: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --gold: #c9a45c;
  --gold-2: #e6cf98;
  --ivory: #f2ece3;
  --radius: 10px;
  --radius-sm: 6px;
}
body { background: var(--bg); }

/* Titres */
.section__title,
.cta__title,
.uhero__title,
.unit__name,
.army__name,
.timeline__item h3,
.value h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
}
.section__title {
  max-width: 860px;
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--ivory);
}
.section__head { align-items: flex-start; text-align: left; gap: 14px; }
.section__head .section__sub { max-width: 620px; }
.container--narrow .section__head { align-items: center; text-align: center; }

/* Étiquette de section : un trait rouge et du laiton, plus de pastille */
.section__head .badge {
  padding: 0;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gold);
  background: none;
  border: 0;
  border-radius: 0;
}
.section__head .badge::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}
.container--narrow .section__head .badge::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}

/* Boutons : plus nets, en capitales */
.btn {
  height: 50px;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

/* Navbar */
.nav__brand-txt strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: 0.08em; }
.nav__brand-txt small { color: var(--gold); letter-spacing: 0.28em; }
.nav__cta { font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius-sm); }

/* ---------- Hero ---------- */
.hero--empire {
  place-items: stretch;
  align-content: center;
  padding: calc(var(--nav-h) + 48px) 0 40px;
  min-height: 100svh;
}
.hero__map {
  position: absolute;
  inset: 0;
  background: url("../img/carte-satellite.jpg") 70% 35% / cover no-repeat;
  filter: grayscale(1) contrast(1.25) brightness(0.42);
}
.hero__map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 18%, rgba(7, 5, 5, 0.78) 48%, rgba(70, 6, 4, 0.55) 100%),
    radial-gradient(60% 70% at 78% 45%, rgba(227, 36, 27, 0.32), transparent 70%);
}
.hero--empire .hero__glow { background: radial-gradient(70% 40% at 20% 0%, rgba(227, 36, 27, 0.25), transparent 70%); }
.hero--empire .hero__grid { opacity: 0.5; }

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  text-align: left;
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow::before { content: ""; flex-shrink: 0; width: 34px; height: 2px; background: var(--red); box-shadow: 0 0 12px var(--red-glow); }
.hero--empire .hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0;
  color: var(--ivory);
}
.hero__title-l1 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 500; letter-spacing: 0.4em; color: var(--red); }
.hero__title-l2 {
  font-size: clamp(56px, 11vw, 168px);
  text-shadow: 0 0 60px rgba(227, 36, 27, 0.35), 0 6px 0 rgba(110, 10, 6, 0.9);
}
.hero__motto {
  max-width: 34ch;
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.25;
  color: rgba(242, 236, 227, 0.92);
}
.hero--empire .hero__lead { max-width: 52ch; color: var(--text-3); }
.hero--empire .hero__actions { justify-content: flex-start; }

.hero__seal { position: relative; display: grid; place-items: center; width: 100%; max-width: 460px; aspect-ratio: 1; justify-self: center; }
.hero__seal .hud__reticle { width: 100%; }
.hero__seal img {
  position: relative;
  width: 64%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(227, 36, 27, 0.45)) drop-shadow(0 24px 40px rgba(0, 0, 0, 0.9));
}

.hero__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(36px, 6vh, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__strip > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.hero__strip > div + div { border-left: 1px solid var(--line); }
.hero__strip strong { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; line-height: 1; color: var(--ivory); font-variant-numeric: tabular-nums; }
.hero__strip span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-4); }

/* ---------- Les trois armées ---------- */
.armies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.army {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.army::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(227, 36, 27, 0));
}
.army:hover { border-color: rgba(227, 36, 27, 0.45); transform: translateY(-4px); }
.army__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px 18px;
  background: radial-gradient(90% 120% at 0% 0%, rgba(227, 36, 27, 0.16), transparent 60%);
}
.army__head .emblem { flex-shrink: 0; }
.army__kind { display: block; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.army__name { margin: 4px 0 0; font-size: 26px; font-weight: 600; line-height: 1.05; color: var(--ivory); }
.army__short { padding: 0 24px; color: var(--text-3); font-size: 14.5px; }
.army__cmd { margin: 14px 24px 0; padding: 10px 12px; font-size: 13px; color: var(--text-2); background: rgba(0, 0, 0, 0.35); border-left: 2px solid var(--gold); border-radius: 2px; }
.army__cmd b { display: block; margin-bottom: 2px; font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.army__regs { list-style: none; margin: 16px 0 0; padding: 0 24px; display: grid; gap: 2px; }
.army__regs li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.army__regs svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--red); }
.army__regs strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: 0.04em; color: var(--ivory); }
.army__regs span { display: block; font-size: 13px; color: var(--text-4); }
.army__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding: 18px 24px 22px; }
.army__foot .unit__go { font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; }

/* Spécialités : grille régulière */
.units--compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); justify-content: stretch; }
.units--compact .unit { max-width: none; }
.unit { border-radius: var(--radius); }
.unit__kind { color: var(--gold); letter-spacing: 0.2em; }
.unit__name { font-weight: 500; letter-spacing: 0.02em; color: var(--ivory); }

/* Valeurs, histoire, citations */
.value__num { color: var(--red); background: none; -webkit-text-fill-color: currentColor; font-family: var(--font-display); }
.value h3 { font-size: 26px; font-weight: 600; letter-spacing: 0.04em; }
.timeline__phase { color: var(--gold); letter-spacing: 0.22em; }
.timeline__item h3 { font-size: 22px; font-weight: 500; letter-spacing: 0.03em; }
.manifesto blockquote { font-family: var(--font-quote); font-style: italic; font-weight: 500; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; color: rgba(242, 236, 227, 0.75); }
.manifesto blockquote strong { color: var(--ivory); font-weight: 600; }

/* CTA */
.cta__title { font-size: clamp(36px, 6vw, 68px); font-weight: 700; color: var(--ivory); background: none; -webkit-text-fill-color: currentColor; letter-spacing: 0.02em; }

/* Mobile */
@media (max-width: 1024px) {
  .armies { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}
@media (max-width: 860px) {
  .hero__layout { grid-template-columns: minmax(0, 1fr); }
  .hero__seal { order: -1; max-width: 240px; }
  .hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__strip > div:nth-child(3) { border-left: 0; }
  .hero__strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .hero__title-l1 { letter-spacing: 0.3em; }
  .hero__eyebrow { letter-spacing: 0.2em; font-size: 12px; }
  .hero--empire .hero__actions .btn { width: 100%; justify-content: center; }
  .army__head { padding: 22px 18px 14px; }
  .army__short, .army__regs { padding-inline: 18px; }
  .army__cmd { margin-inline: 18px; }
  .army__foot { padding-inline: 18px; flex-wrap: wrap; }
}

.hero__strip .counter { font: inherit; }

/* Menu « Régiments » : une colonne par armée */
.mega__panel--regs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px; border-radius: 14px; }
.mega__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.015); }
.mega__army {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 12px;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.mega__army small { display: block; font-size: 10.5px; letter-spacing: 0.26em; color: var(--gold); }
.mega__army:hover { color: #fff; }
.mega__reg { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; border-radius: 8px; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.mega__reg:hover, .mega__reg:focus-visible { background: rgba(227, 36, 27, 0.08); border-color: rgba(227, 36, 27, 0.25); }
.mega__reg-icon { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; color: var(--red); background: rgba(227, 36, 27, 0.1); border: 1px solid rgba(227, 36, 27, 0.25); }
.mega__reg-icon svg { width: 16px; height: 16px; }
.mega__reg .mega__name { font-family: var(--font-display); font-weight: 500; font-size: 15px; letter-spacing: 0.03em; }
.mega__reg .mega__desc { -webkit-line-clamp: 2; }
.subunit[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
.subunit:target { border-color: rgba(227, 36, 27, 0.6); box-shadow: 0 0 0 1px rgba(227, 36, 27, 0.4), 0 0 40px -10px var(--red-glow); }
@media (max-width: 1020px) {
  .mega__panel--regs { display: block; padding: 4px 0 8px; background: none; border: 0; box-shadow: none; }
  .mega__col { background: none; padding: 0 0 6px; }
  .mega__reg .mega__desc { display: none; }
}

/* =========================================================
   PAGE CODE PÉNAL (23/10/2026)
   ========================================================= */
.cp-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 64px) 0 56px; border-bottom: 1px solid var(--line); }
.cp-hero__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cp-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-4); }
.cp-crumb a { color: var(--text-3); }
.cp-crumb a:hover { color: var(--ivory); }
.cp-hero__title { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 0.9; font-size: clamp(48px, 9vw, 120px); color: var(--ivory); text-shadow: 0 0 60px rgba(227, 36, 27, 0.3); }
.cp-hero__title span { color: var(--red); }
.cp-hero__meta { font-size: 13px; letter-spacing: 0.06em; color: var(--text-4); }

.cp__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cp__toc { position: sticky; top: calc(var(--nav-h) + 24px); padding: 18px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: var(--radius); }
.cp__toc-label { display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.cp__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.cp__toc a { display: block; padding: 7px 10px; font-size: 14px; color: var(--text-3); border-left: 2px solid transparent; border-radius: 0 4px 4px 0; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.cp__toc a:hover, .cp__toc a.is-active { color: var(--ivory); background: rgba(227, 36, 27, 0.08); border-left-color: var(--red); }

.cp__body { display: grid; gap: 22px; min-width: 0; }
.cp__part { scroll-margin-top: calc(var(--nav-h) + 24px); padding: clamp(22px, 3vw, 34px); background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); }
.cp__part > p { max-width: 68ch; color: var(--text-2); line-height: 1.65; }
.cp__part > * + * { margin-top: 12px; }
.cp__num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.cp__num::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.cp__part h2 { margin-top: 6px; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; text-transform: uppercase; color: var(--ivory); line-height: 1.05; }
.cp__maxim { font-family: var(--font-quote); font-style: italic; font-size: clamp(20px, 2.4vw, 26px); color: var(--ivory) !important; }
.cp__warn { padding: 12px 14px; border-left: 3px solid var(--red); background: rgba(227, 36, 27, 0.08); color: var(--ivory) !important; border-radius: 2px; }

.cp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cp__list li { position: relative; padding-left: 20px; color: var(--text-2); line-height: 1.5; }
.cp__list li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.cp__list--sanction li::before { background: var(--gold); }

.cp__articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.cp__art { display: grid; gap: 10px; align-content: start; padding: 16px 18px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cp__art h3 { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ivory); }
.cp__art h3 b { font-weight: 500; font-size: 12px; letter-spacing: 0.18em; color: var(--red); }
.cp__art p { color: var(--text-2); line-height: 1.6; }

.cp__classes { display: grid; gap: 14px; margin-top: 18px; }
.cp__class { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.cp__class header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 14px 18px; background: rgba(0, 0, 0, 0.35); border-bottom: 1px solid var(--line); }
.cp__class header span { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }
.cp__class header h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; text-transform: uppercase; color: var(--ivory); }
.cp__class--1 header { box-shadow: inset 3px 0 0 #c9a45c; } .cp__class--1 header span { color: #c9a45c; }
.cp__class--2 header { box-shadow: inset 3px 0 0 #e8742a; } .cp__class--2 header span { color: #e8742a; }
.cp__class--3 header { box-shadow: inset 3px 0 0 var(--red); background: rgba(227, 36, 27, 0.1); } .cp__class--3 header span { color: var(--red); }
.cp__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; padding: 18px; }
.cp__cols h4 { margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-4); }

.cp__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: st; }
.cp__steps li { counter-increment: st; display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.cp__steps li::before { content: counter(st); display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; font-family: var(--font-display); font-size: 13px; color: var(--ivory); background: rgba(227, 36, 27, 0.18); border: 1px solid rgba(227, 36, 27, 0.4); border-radius: 50%; }

.cp__part--final { text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(227, 36, 27, 0.14), transparent 70%), var(--card-bg); }
.cp__part--final > p { margin-inline: auto; }
.cp__sign { font-size: 14px; color: var(--text-3) !important; }

@media (max-width: 900px) {
  .cp__layout { grid-template-columns: minmax(0, 1fr); }
  .cp__toc { position: static; }
  .cp__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cp__cols { grid-template-columns: minmax(0, 1fr); }
  .cp__toc ol { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   PAGES ARMÉE / SPÉCIALITÉ : hero impérial (23/10/2026)
   ========================================================= */
.uhero--empire { text-align: left; padding: calc(var(--nav-h) + 36px) 0 40px; border-bottom: 1px solid var(--line); }
.uhero--empire .uhero__inner { align-items: stretch; gap: 24px; }
.uhero--empire .crumbs { justify-content: flex-start; }
.uhero__layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.uhero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.uhero--empire .hero__eyebrow { flex-wrap: wrap; }
.uhero--empire .badge__live { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 3px 10px; font-size: 11px; letter-spacing: 0.18em; color: #7ee2a0; background: rgba(46, 160, 90, 0.12); border: 1px solid rgba(46, 160, 90, 0.35); border-radius: 999px; }
.uhero--empire .uhero__title {
  margin: 0;
  font-size: clamp(40px, 6.6vw, 92px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  color: var(--ivory);
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 0 60px rgba(227, 36, 27, 0.3), 0 5px 0 rgba(110, 10, 6, 0.9);
  text-wrap: balance;
}
.uhero--empire .hero__motto { max-width: 40ch; font-size: clamp(19px, 2vw, 24px); }
.uhero--empire .uhero__short { max-width: 58ch; color: var(--text-3); }
.uhero__seal { max-width: 340px; }
.uhero__seal .emblem {
  position: relative;
  width: 62%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(227, 36, 27, 0.4)) drop-shadow(0 24px 40px rgba(0, 0, 0, 0.9));
}
.uhero__strip { margin-top: 8px; }
.uhero__strip strong { text-transform: uppercase; }

@media (max-width: 860px) {
  .uhero__layout { grid-template-columns: minmax(0, 1fr); }
  .uhero__seal { order: -1; max-width: 200px; justify-self: start; }
}
@media (max-width: 860px) {
  .uhero__strip { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
  .uhero__strip > div { padding: 14px 12px; }
  .uhero__strip > div:nth-child(n) { border-top: 0; }
  .uhero__strip > div + div { border-left: 1px solid var(--line); }
}

/* =========================================================
   ACCUEIL : SECTIONS SANS CARTES (23/10/2026)
   Armées en onglets, spécialités en registre, valeurs et code en colonnes.
   ========================================================= */

/* ---------- Bandeau devise ---------- */
.ticker { position: relative; overflow: hidden; padding: 18px 0; background: linear-gradient(90deg, #5c0905, var(--red) 50%, #5c0905); border-block: 1px solid rgba(255, 255, 255, 0.08); transform: rotate(-1.2deg) scale(1.02); box-shadow: 0 20px 60px -20px rgba(227, 36, 27, 0.5); }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 9px; height: 9px; background: var(--ivory); transform: rotate(45deg); opacity: 0.7; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- Valeurs : trois colonnes ouvertes ---------- */
.values--open { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values--open .value { padding: 34px clamp(18px, 3vw, 36px) 38px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.values--open .value + .value { border-left: 1px solid var(--line); }
.values--open .value::before, .values--open .value::after { display: none; }
.values--open .value__num { font-size: clamp(64px, 8vw, 104px); line-height: 0.9; color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px rgba(227, 36, 27, 0.75); }
.values--open .value h3 { margin-top: 18px; font-size: 30px; }
.values--open .value:hover .value__num { -webkit-text-fill-color: var(--red); }

/* ---------- Armées : sélecteur ---------- */
.theatre { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(0, 0, 0, 0.35); }
.theatre__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.theatre__tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 22px; text-align: left; color: var(--text-3); background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background 0.25s, color 0.25s; font: inherit; }
.theatre__tab:last-child { border-bottom: 0; }
.theatre__tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform 0.3s var(--ease); }
.theatre__tab:hover { background: rgba(255, 255, 255, 0.02); color: var(--text); }
.theatre__tab[aria-selected="true"] { color: var(--ivory); background: linear-gradient(90deg, rgba(227, 36, 27, 0.14), transparent); }
.theatre__tab[aria-selected="true"]::before { transform: scaleY(1); }
.theatre__tab:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.theatre__idx { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; color: var(--gold); }
.theatre__tab .emblem { flex-shrink: 0; width: 52px; height: 52px; opacity: 0.6; transition: opacity 0.25s; }
.theatre__tab[aria-selected="true"] .emblem { opacity: 1; }
.theatre__tabtxt { display: grid; gap: 3px; min-width: 0; }
.theatre__tabtxt strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.theatre__tabtxt small { font-size: 12.5px; color: var(--text-4); }

.theatre__panels { position: relative; min-width: 0; }
.theatre__panel { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 4vw, 44px); min-height: 100%; animation: theatreIn 0.45s var(--ease); }
@keyframes theatreIn { from { opacity: 0; transform: translateY(8px); } }
.theatre__mark { position: absolute; right: -90px; top: 50%; width: 420px; transform: translateY(-50%); opacity: 0.05; pointer-events: none; }
.theatre__mark .emblem { width: 100%; height: auto; }
.theatre__panel > :not(.theatre__mark) { position: relative; }
.theatre__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.theatre .badge__live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 11px; letter-spacing: 0.18em; color: #7ee2a0; background: rgba(46, 160, 90, 0.12); border: 1px solid rgba(46, 160, 90, 0.35); border-radius: 999px; }
.theatre__name { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; line-height: 0.95; text-transform: uppercase; color: var(--ivory); text-wrap: balance; }
.theatre__short { max-width: 56ch; color: var(--text-2); font-size: 16px; }
.theatre__devise { max-width: 48ch; font-family: var(--font-quote); font-style: italic; font-size: 21px; line-height: 1.3; color: rgba(242, 236, 227, 0.85); }
.theatre__cmd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(0, 0, 0, 0.35); }
.theatre__cmd > span { font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.theatre__cmd ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--text-2); }
.theatre__regs { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; max-width: 640px; border-top: 1px solid var(--line); }
.theatre__regs a { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: background 0.2s, padding 0.25s; }
.theatre__regs a:hover { background: rgba(227, 36, 27, 0.06); padding-left: 10px; }
.theatre__regicon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--red); border: 1px solid rgba(227, 36, 27, 0.3); border-radius: 50%; }
.theatre__regicon svg { width: 18px; height: 18px; }
.theatre__regs strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: 0.04em; color: var(--ivory); }
.theatre__regs small { display: block; font-size: 13.5px; color: var(--text-4); }
.theatre__regs a > svg { width: 18px; height: 18px; color: var(--text-4); transition: color 0.2s, transform 0.2s; }
.theatre__regs a:hover > svg { color: var(--red); transform: translateX(3px); }
.theatre__go { margin-top: 10px; }
.theatre__go svg { width: 16px; height: 16px; }

/* ---------- Spécialités : registre ---------- */
.reg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
.reg__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: end; padding-bottom: 16px; border-bottom: 2px solid var(--red); }
.reg__count { grid-row: span 2; font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.reg__head h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; text-transform: uppercase; color: var(--ivory); }
.reg__head p { font-size: 14px; color: var(--text-4); }
.reg__list { list-style: none; margin: 0; padding: 0; }
.reg__row a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 18px; align-items: center; gap: 16px; padding: 16px 6px; border-bottom: 1px solid var(--line); transition: background 0.2s, padding 0.25s; }
.reg__row a:hover { background: linear-gradient(90deg, rgba(227, 36, 27, 0.08), transparent); padding-left: 12px; }
.reg__row .emblem { width: 48px; height: 48px; }
.reg__main { display: grid; gap: 2px; min-width: 0; }
.reg__main strong { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ivory); }
.reg__main small { font-size: 13.5px; color: var(--text-4); }
.reg__grade { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); white-space: nowrap; }
.reg__go { width: 18px; height: 18px; color: var(--text-4); transition: color 0.2s, transform 0.2s; }
.reg__row a:hover .reg__go { color: var(--red); transform: translateX(3px); }

/* ---------- Code : échelle de gravité ---------- */
.values--scale { position: relative; gap: 0; padding-top: 26px; }
.values--scale::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #c9a45c, #e8742a 50%, var(--red)); box-shadow: 0 0 24px rgba(227, 36, 27, 0.35); }
.values--scale .value { padding: 22px clamp(18px, 3vw, 32px) 26px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.values--scale .value + .value { border-left: 1px solid var(--line); }
.values--scale .value::before, .values--scale .value::after { display: none; }
.values--scale .value__num { display: none; }
.values--scale .code__tag { background: none; border: 0; padding: 0; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.3em; }
.values--scale .value:nth-child(1) .code__tag { color: #c9a45c; }
.values--scale .value:nth-child(2) .code__tag { color: #e8742a; }
.values--scale .value:nth-child(3) .code__tag { color: var(--red); }
.values--scale .value h3 { font-size: 24px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .theatre { grid-template-columns: minmax(0, 1fr); }
  .theatre__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .theatre__tab { flex: 1 0 auto; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; border-bottom: 0; border-right: 1px solid var(--line); }
  .theatre__tab:last-child { border-right: 0; }
  .theatre__tab::before { top: auto; right: 0; height: 3px; width: auto; transform: scaleX(0); }
  .theatre__tab[aria-selected="true"]::before { transform: scaleX(1); }
  .theatre__idx, .theatre__tabtxt small { display: none; }
  .theatre__tab .emblem { width: 40px; height: 40px; }
  .theatre__tabtxt strong { font-size: 15px; }
  .theatre__mark { width: 300px; right: -120px; }
  .reg { grid-template-columns: minmax(0, 1fr); }
  .values--open, .values--scale { grid-template-columns: minmax(0, 1fr); }
  .values--open .value + .value, .values--scale .value + .value { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .reg__row a { grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 12px; }
  .reg__row .emblem { width: 40px; height: 40px; }
  .reg__grade { grid-column: 2; grid-row: 2; }
  .reg__go { grid-column: 3; grid-row: 1 / span 2; }
}
.theatre__panel[hidden] { display: none; }
.values--open .value__num { -webkit-text-fill-color: var(--red); -webkit-text-stroke: 0; text-shadow: 0 0 30px rgba(227, 36, 27, 0.35); }
.values--scale + .honors { margin-top: 8px; background: none; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.values--scale + .honors .honors__item { background: none; }
main { overflow-x: clip; }
@media (max-width: 900px) {
  .theatre__tabs { overflow: visible; }
  .theatre__tab { flex: 1 1 0; min-width: 0; padding: 12px 10px; }
  .theatre__tabtxt strong { font-size: 13.5px; line-height: 1.15; }
}
