/* ==========================================================================
   GÉOPOLIS · Pages intérieures : La simulation, Le club, Nous rejoindre, 404
   ========================================================================== */

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) var(--gouttiere);
  background: var(--papier);
  color: var(--encre);
  --focus: var(--encre);
}
.section--papier-2 { background: var(--papier-2); }
.section--nuit {
  background: var(--nuit);
  color: var(--papier);
  --focus: var(--laiton-clair);
}
.section__cadre {
  max-width: var(--largeur-max);
  margin: 0 auto;
}
.section__tete {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section__titre {
  font-size: var(--t-section);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.section__titre em {
  font-style: italic;
  color: var(--laiton-texte);
}
.section--nuit .section__titre em {
  color: var(--laiton-clair);
}
.section__chapeau {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: var(--t-chapeau);
  line-height: 1.5;
  color: rgb(18 26 43 / 0.85);
}
.section--nuit .section__chapeau {
  color: rgb(242 238 228 / 0.9);
}
.prose {
  max-width: 40rem;
}
.prose p + p {
  margin-top: 1.1em;
}
.prose strong {
  font-weight: 600;
}
.section--nuit .surtitre {
  color: var(--laiton-clair);
}

/* Apparition douce (activée seulement quand le script tourne) */
.anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--retard, 0s);
}
.anim .reveal.est-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero de page ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--nuit);
  color: var(--papier);
  --focus: var(--laiton-clair);
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) var(--gouttiere) clamp(3rem, 6vw, 5rem);
}
.page-hero__fond {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(85% 100% at 78% 30%, var(--nuit-2) 0%, var(--nuit) 72%);
}
.page-hero__carte {
  position: absolute;
  right: -8%;
  top: 52%;
  width: min(86vw, 1150px);
  aspect-ratio: 1083 / 527;
  translate: 0 -50%;
  opacity: 0.55;
  pointer-events: none;
}
.page-hero__cadre {
  max-width: var(--largeur-max);
  margin: 0 auto;
}
.page-hero .cote {
  margin-bottom: 1.4rem;
}
.page-hero__titre {
  max-width: 15ch;
  font-size: clamp(2.7rem, 1.2rem + 6.2vw, 7rem);
  font-weight: 300;
  line-height: 0.99;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.page-hero__titre em {
  font-style: italic;
  color: var(--laiton-clair);
}
.page-hero__chapeau {
  margin-top: 1.75rem;
  max-width: 38rem;
  font-size: var(--t-chapeau);
  line-height: 1.5;
  color: rgb(242 238 228 / 0.9);
  text-wrap: pretty;
}
.page-hero__actions {
  margin-top: 2.5rem;
}
.page-hero__pied {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: 1rem;
  border-top: 3px double rgb(201 169 107 / 0.5);
}
.js .page-hero [data-entree] {
  animation: monter 0.9s var(--ease) var(--retard, 0s) backwards;
}
@keyframes monter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   DÉMONSTRATEUR
   ========================================================================== */
.demo__tete {
  max-width: 46rem;
  margin-bottom: 2rem;
}
.demo__app {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  border: 1px solid var(--encre);
  background: var(--ivoire);
  box-shadow: 0 1.2rem 3rem rgb(18 26 43 / 0.14);
}
.demo__sans-js {
  padding: 1.5rem;
  font-size: 1rem;
}
.demo--pret .demo__sans-js {
  display: none;
}
.demo__bandeau {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.75rem 1.1rem;
  background: var(--nuit);
  color: var(--papier);
}
.demo__bandeau .tampon {
  flex: none;
  font-size: 0.72rem;
  padding: 0.25em 0.7em 0.2em;
}
.demo__bandeau p {
  margin: 0;
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.demo__bandeau p span {
  color: var(--ardoise-clair);
  text-transform: none;
  letter-spacing: 0.04em;
}

.demo__pas-liste {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgb(18 26 43 / 0.25);
}
.demo__pas {
  display: flex;
  width: 100%;
  min-height: 3.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.4rem 0.2rem;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre);
  cursor: pointer;
}
.demo__pas:disabled {
  color: rgb(18 26 43 / 0.35);
  cursor: default;
}
.demo__pas-num {
  font-weight: 500;
}
.demo__pas.est-fait {
  color: var(--laiton-texte);
}
.demo__pas.est-courant {
  border-bottom-color: var(--rouge);
  font-weight: 500;
}

.demo__corps {
  display: grid;
}
.demo__carte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  background: var(--nuit);
  color: var(--papier);
}
.demo__legende {
  min-height: 3.2rem;
  padding: 0.9rem 1.1rem 1rem;
  border-top: 1px solid rgb(201 169 107 / 0.3);
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ardoise-clair);
}
.demo__panneau {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  min-height: 28rem;
}
.demo__kicker {
  margin-bottom: 0.9rem;
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-texte);
}
.demo__titre-etape {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.demo__titre-etape:focus {
  outline: none;
}
.demo__titre-etape:focus-visible {
  outline: 2px solid var(--encre);
  outline-offset: 4px;
}
.demo__texte {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgb(18 26 43 / 0.9);
}
.demo__texte--court {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.demo__texte--angle {
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--rouge);
  background: rgb(18 26 43 / 0.05);
}
.demo__note {
  margin-top: 1.25rem;
  font-family: var(--police-depeche);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: var(--ardoise);
}
.demo__lien {
  margin-left: 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--police-depeche);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  color: var(--encre);
  cursor: pointer;
}

.demo__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 3vw, 2.25rem);
  border-top: 1px solid rgb(18 26 43 / 0.25);
}
.demo__nav [data-suiv] {
  margin-left: auto;
}
.demo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--encre);
  background: transparent;
  font-family: var(--police-institution);
  font-stretch: 78%;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--encre);
  cursor: pointer;
  transition: background var(--duree-courte), color var(--duree-courte);
}
.demo__btn:hover:not(:disabled) {
  background: var(--encre);
  color: var(--papier);
}
.demo__btn--prim::after {
  content: "→";
  font-family: var(--police-depeche);
  letter-spacing: 0;
}
.demo__btn--prim {
  background: var(--encre);
  color: var(--papier);
}
.demo__btn--prim:hover:not(:disabled) {
  background: var(--nuit-3);
}
.demo__btn--rouge {
  margin-top: 1.5rem;
  border-color: var(--rouge);
  background: var(--rouge);
  color: var(--papier);
}
.demo__btn--rouge:hover:not(:disabled) {
  background: var(--rouge-fonce);
  color: var(--papier);
}
.demo__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.demo__fin {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.demo__fin .demo__btn--rouge {
  margin-top: 0;
}

/* Choix (camp, décision) */
.choix {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  padding: 0;
  border: 0;
}
.choix__carte {
  position: relative;
  display: block;
  cursor: pointer;
}
.choix__carte input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.choix__corps {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem 0.9rem 2.8rem;
  border: 1px solid rgb(18 26 43 / 0.3);
  background: var(--papier);
  transition: border-color var(--duree-courte), background var(--duree-courte);
}
.choix__corps::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 0.95rem;
  height: 0.95rem;
  border: 1.5px solid var(--encre);
  border-radius: 50%;
}
.choix__carte:hover .choix__corps {
  border-color: var(--encre);
}
.choix__carte input:checked + .choix__corps {
  border-color: var(--encre);
  background: var(--ivoire);
  box-shadow: inset 4px 0 0 var(--rouge);
}
.choix__carte input:checked + .choix__corps::before {
  background: var(--rouge);
  border-color: var(--rouge);
  box-shadow: inset 0 0 0 3px var(--ivoire);
}
.choix__carte input:focus-visible + .choix__corps {
  outline: 2px solid var(--encre);
  outline-offset: 3px;
}
.choix__type {
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-texte);
}
.choix__nom {
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.2;
}
.choix__texte {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgb(18 26 43 / 0.82);
}

/* Fiche d'objectifs */
.fiche {
  display: grid;
  gap: 0;
  margin: 1.25rem 0 0;
}
.fiche > div {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgb(18 26 43 / 0.22);
}
.fiche dt {
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-texte);
}
.fiche dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}
.fiche__liste {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fiche__liste li {
  display: grid;
  grid-template-columns: 1rem 1fr;
}
.fiche__liste li::before {
  content: "—";
  color: var(--laiton-texte);
}
.fiche__etiquette {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ardoise);
}
.secret {
  background: var(--encre);
  color: transparent;
  user-select: none;
  padding: 0 0.15em;
  transition: background 0.5s, color 0.5s;
}
.secret--leve {
  background: transparent;
  color: inherit;
  user-select: auto;
}

/* Communiqué */
.demo__communique {
  margin-top: 0.5rem;
  padding: 1.1rem 1.2rem 1rem;
  background: var(--papier);
  border: 1px solid rgb(18 26 43 / 0.3);
  border-top: 3px solid var(--rouge);
  animation: communique 0.7s var(--ease) both;
}
.demo__communique header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
@keyframes communique {
  from { opacity: 0; transform: translateY(-14px) scale(1.02); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: none; clip-path: inset(0); }
}

/* Résolution */
.demo__resolution {
  position: relative;
  margin-top: 1.1rem;
  padding: 1rem 1.2rem 1.4rem;
  background: var(--papier);
  border: 1px solid rgb(18 26 43 / 0.3);
}
.demo__resolution header {
  padding-bottom: 0.6rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgb(18 26 43 / 0.25);
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-texte);
}
.demo__resolution dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-right: 4.5rem;
}
.demo__resolution dt {
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ardoise);
}
.demo__resolution dd {
  margin: 0.1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.4;
}
.demo__tampon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 1.1rem;
  animation: frappe 0.5s 0.35s var(--ease) both;
}
@keyframes frappe {
  from { opacity: 0; transform: rotate(-9deg) scale(2.6); }
  to   { opacity: 1; transform: rotate(-6deg) scale(1); }
}

/* Le temps */
.temps {
  margin-top: 1.5rem;
}
.temps__curseur {
  display: block;
  width: 100%;
  height: 2.5rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.temps__curseur::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--encre);
}
.temps__curseur::-moz-range-track {
  height: 2px;
  background: var(--encre);
}
.temps__curseur::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1rem;
  height: 1.8rem;
  margin-top: -0.85rem;
  border: 0;
  border-radius: 0;
  background: var(--rouge);
}
.temps__curseur::-moz-range-thumb {
  width: 1rem;
  height: 1.8rem;
  border: 0;
  border-radius: 0;
  background: var(--rouge);
}
.temps__curseur:focus-visible {
  outline: 2px solid var(--encre);
  outline-offset: 4px;
}
.temps__graduations {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ardoise);
}
.temps__texte {
  min-height: 9rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(18 26 43 / 0.25);
}
.temps__duree {
  font-family: var(--police-depeche);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--laiton-texte);
}

/* Bulletin */
.bulletin-demo {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.bulletin-demo li {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgb(18 26 43 / 0.22);
}
.bulletin-demo strong {
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--laiton-texte);
}
.bulletin-demo span {
  font-size: 1rem;
  line-height: 1.45;
}

/* Carte fictive */
.fic {
  display: block;
  width: 100%;
  height: auto;
}
.fic__mer { fill: var(--nuit); }
.fic__grille path {
  fill: none;
  stroke: var(--laiton-clair);
  stroke-opacity: 0.14;
  stroke-width: 0.6;
}
.fic__terre {
  fill: var(--papier);
  fill-opacity: 0.08;
  stroke: var(--laiton-clair);
  stroke-width: 1;
  transition: fill-opacity 0.6s, stroke 0.6s;
}
.fic__isthme { stroke: none; }
.fic__nom {
  fill: var(--papier);
  font-family: var(--police-depeche);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.fic__nom--petit {
  font-size: 8.5px;
  fill: var(--laiton-clair);
}
.fic__detroit {
  fill: none;
  stroke: var(--laiton-clair);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.fic__selen { fill: var(--papier); }
.fic__alerte {
  fill: none;
  stroke: #E0454A;
  stroke-width: 1.6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.demo__app[data-lu="1"] .fic__alerte {
  opacity: 1;
  animation: alerte 2.4s ease-out infinite;
}
@keyframes alerte {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.demo__app[data-camp="valdor"] .fic__valdor,
.demo__app[data-camp="orsane"] .fic__orsane,
.demo__app[data-camp="corail"] .fic__corail {
  fill-opacity: 0.38;
  stroke: var(--papier);
}
.fic__trace {
  fill: none;
  stroke: var(--papier);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.7s;
}
.fic__trace rect { fill: var(--papier); stroke: none; }
.fic__trace[data-fic="route"] path:first-child,
.fic__trace[data-fic="corridor"] path { stroke-dasharray: 5 4; }
.demo__app[data-trace="corridor"] .fic__trace[data-fic="corridor"],
.demo__app[data-trace="convoi"] .fic__trace[data-fic="convoi"],
.demo__app[data-trace="reserve"] .fic__trace[data-fic="reserve"],
.demo__app[data-trace="route"] .fic__trace[data-fic="route"],
.demo__app[data-trace="flotte"] .fic__trace[data-fic="flotte"],
.demo__app[data-trace="rationnement"] .fic__trace[data-fic="rationnement"],
.demo__app[data-trace="droits"] .fic__trace[data-fic="droits"],
.demo__app[data-trace="fonds"] .fic__trace[data-fic="fonds"],
.demo__app[data-trace="arbitrage"] .fic__trace[data-fic="arbitrage"] {
  opacity: 1;
}
.fic__ondes { opacity: 0; transition: opacity 0.6s; }
.demo__app[data-etape="6"] .fic__ondes,
.demo__app[data-etape="7"] .fic__ondes { opacity: 1; }
.fic__onde {
  fill: none;
  stroke: var(--laiton-clair);
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease);
}
.fic__onde--3 { stroke: var(--papier); stroke-width: 1.2; }
.demo__app[data-horizon="1"] .fic__onde--1,
.demo__app[data-horizon="2"] .fic__onde--1,
.demo__app[data-horizon="2"] .fic__onde--2,
.demo__app[data-horizon="3"] .fic__onde { stroke-dashoffset: 0; }

@media (min-width: 62rem) {
  .demo__corps {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
  .demo__carte {
    border-right: 1px solid var(--encre);
  }
}
@media (max-width: 47.99rem) {
  .demo__pas-nom { display: none; }
  .demo__bandeau { flex-wrap: wrap; gap: 0.5rem 0.9rem; }
  .demo__bandeau p span { display: none; }
  .demo__panneau { min-height: 24rem; }
  .demo__nav { flex-direction: column-reverse; }
  .demo__nav [data-suiv] { margin-left: 0; width: 100%; }
  .demo__nav [data-prec] { width: 100%; }
}

/* ==========================================================================
   RÉFÉRENCE : mécanisme, registre, horizons, critères, déroulé, Rome
   ========================================================================== */
.chapitres {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chapitre {
  display: grid;
  gap: 1rem 3rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid rgb(18 26 43 / 0.35);
}
.chapitre:last-child {
  border-bottom: 1px solid rgb(18 26 43 / 0.35);
}
.chapitre__num {
  display: block;
  font-size: clamp(3.4rem, 2rem + 5vw, 6.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 0.9;
  color: var(--laiton-texte);
}
.chapitre__titre {
  margin-bottom: 1rem;
  font-size: var(--t-sous-titre);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.chapitre__citation {
  margin-top: 1.25rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--laiton);
  font-size: var(--t-chapeau);
  font-style: italic;
  line-height: 1.4;
}
.chapitre__corps p + p,
.chapitre__corps p + ul {
  margin-top: 1em;
}
.liste-tiret {
  margin: 0;
  padding: 0;
  list-style: none;
}
.liste-tiret li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  padding: 0.3rem 0;
}
.liste-tiret li::before {
  content: "—";
  color: var(--laiton-texte);
}
.section--nuit .liste-tiret li::before { color: var(--laiton-clair); }
.liste-tiret strong { font-weight: 600; }

@media (min-width: 56rem) {
  .chapitre {
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: start;
  }
  .chapitre__marge {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
  .chapitre__corps {
    max-width: 42rem;
  }
}

/* Registre des natures d'imprévu */
.registre {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--papier);
}
.registre__tete {
  display: none;
}
.registre__ligne {
  display: grid;
  gap: 0.6rem 2.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgb(242 238 228 / 0.3);
}
.registre__nature {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: baseline;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
  line-height: 1.15;
}
.registre__num {
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  color: var(--laiton-clair);
}
.registre__champ::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--police-depeche);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ardoise-clair);
}
.registre__champ {
  line-height: 1.45;
  color: rgb(242 238 228 / 0.92);
}
@media (min-width: 56rem) {
  .registre__tete,
  .registre__ligne {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr 1fr;
    align-items: baseline;
  }
  .registre__tete {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgb(242 238 228 / 0.5);
    font-family: var(--police-depeche);
    font-size: var(--t-micro);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--laiton-clair);
    gap: 0 2.5rem;
  }
  .registre__champ::before { display: none; }
}

/* Horizons du temps */
.horizons {
  position: relative;
  display: grid;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.horizon {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--encre);
}
.horizon::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.45rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--rouge);
}
.horizon__duree {
  margin-bottom: 0.7rem;
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-texte);
}
.horizon__titre {
  font-size: var(--t-sous-titre);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.horizon p {
  margin-top: 0.9rem;
  line-height: 1.55;
}
@media (min-width: 56rem) {
  .horizons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}
.deux-colonnes {
  display: grid;
  gap: 2.5rem 4rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 56rem) {
  .deux-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mini-titre {
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgb(18 26 43 / 0.4);
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-texte);
}

/* Critères d'évaluation */
.criteres {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: critere;
}
.critere {
  counter-increment: critere;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 0.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgb(242 238 228 / 0.3);
}
.critere::before {
  content: counter(critere, decimal-leading-zero);
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  padding-top: 0.5rem;
  color: var(--laiton-clair);
}
.critere__nom {
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  font-weight: 300;
  line-height: 1.1;
}
.critere__texte {
  grid-column: 2;
  margin-top: 0.5rem;
  line-height: 1.5;
  color: rgb(242 238 228 / 0.88);
}
@media (min-width: 56rem) {
  .criteres {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4rem;
  }
}

/* Déroulé type */
.deroule {
  margin: 0;
  padding: 0;
  list-style: none;
}
.deroule__phase {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.4rem 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgb(18 26 43 / 0.3);
}
.deroule__phase:last-child {
  border-bottom: 1px solid rgb(18 26 43 / 0.3);
}
.deroule__duree {
  font-family: var(--police-depeche);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
  white-space: nowrap;
}
.deroule__barre {
  display: block;
  grid-column: 2;
  height: 6px;
  width: calc(var(--m) / 20 * 100%);
  min-width: 1.5rem;
  background: var(--encre);
}
.deroule__phase--imprevu .deroule__barre {
  background: var(--rouge);
}
.deroule__nom {
  grid-column: 2;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.deroule__texte {
  grid-column: 2;
  line-height: 1.5;
  color: rgb(18 26 43 / 0.85);
}
@media (min-width: 56rem) {
  .deroule__phase {
    grid-template-columns: 5.5rem 15rem minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: baseline;
    gap: 0 1.8rem;
  }
  .deroule__barre,
  .deroule__nom,
  .deroule__texte {
    grid-column: auto;
  }
  .deroule__barre { align-self: center; }
  .deroule__phase > :nth-child(2) { order: 3; }
  .deroule__phase > :nth-child(3) { order: 2; }
  .deroule__phase > :nth-child(4) { order: 4; }
}
.deroule__total {
  margin-top: 1.5rem;
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ardoise);
}

/* Archive : le comité de Rome */
.archive {
  position: relative;
  max-width: 62rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--ivoire);
  color: var(--encre);
  border: 1px solid rgb(18 26 43 / 0.2);
  --focus: var(--encre);
}
.archive__tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgb(18 26 43 / 0.35);
}
.archive__titre {
  font-size: var(--t-sous-titre);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.archive__liste {
  display: grid;
  gap: 0;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.archive__liste li {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgb(18 26 43 / 0.25);
}
.archive__etiquette {
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rouge);
}
.archive__evenement {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.archive__suite {
  line-height: 1.5;
  color: rgb(18 26 43 / 0.85);
}
@media (min-width: 48rem) {
  .archive__liste li {
    grid-template-columns: 10rem 1fr;
  }
  .archive__liste li > :nth-child(n + 2) {
    grid-column: 2;
  }
  .archive__etiquette {
    grid-row: 1 / span 2;
  }
}

/* Appel de fin de page */
.cta-fin {
  background: var(--nuit);
  color: var(--papier);
  padding: clamp(4rem, 9vw, 8rem) var(--gouttiere);
  --focus: var(--laiton-clair);
}
.cta-fin__cadre {
  display: grid;
  gap: 3rem 5rem;
  max-width: var(--largeur-max);
  margin: 0 auto;
  align-items: end;
}
.cta-fin__titre {
  font-size: clamp(2.4rem, 1.2rem + 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.cta-fin__titre em { font-style: italic; color: var(--laiton-clair); }
.cta-fin__texte {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: var(--t-chapeau);
  line-height: 1.5;
  color: rgb(242 238 228 / 0.9);
}
@media (min-width: 56rem) {
  .cta-fin__cadre { grid-template-columns: 1.3fr 1fr; }
}

/* ==========================================================================
   LE CLUB
   ========================================================================== */
.projet {
  display: grid;
  gap: 2.5rem 5rem;
}
.citation {
  align-self: start;
  padding: 1.75rem 0 0;
  border-top: 3px double var(--encre);
}
.citation__texte {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.citation__source {
  margin-top: 1rem;
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ardoise);
}
@media (min-width: 56rem) {
  .projet { grid-template-columns: 1.1fr 1fr; }
}

.themes {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: theme;
  border-top: 2px solid var(--papier);
}
.themes li {
  counter-increment: theme;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  padding: clamp(0.9rem, 2.4vw, 1.5rem) 0;
  border-bottom: 1px solid rgb(242 238 228 / 0.3);
  font-size: clamp(1.7rem, 1rem + 3.4vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.themes li::before {
  content: counter(theme, decimal-leading-zero);
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  color: var(--laiton-clair);
}

.competences {
  display: grid;
  gap: 3rem 5rem;
}
@media (min-width: 56rem) {
  .competences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.liste-num {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: num;
}
.liste-num > li {
  counter-increment: num;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  padding: 1rem 0;
  border-top: 1px solid rgb(18 26 43 / 0.3);
  line-height: 1.5;
}
.liste-num > li::before {
  content: counter(num, decimal-leading-zero);
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  padding-top: 0.35rem;
  color: var(--laiton-texte);
}
.liste-num > li:last-child { border-bottom: 1px solid rgb(18 26 43 / 0.3); }
.liste-num strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

/* Organigramme : une pyramide de fonctions, sans nom de personne */
.organisation {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.niveau {
  position: relative;
  display: grid;
  gap: 0.8rem 2rem;
  padding: 1.6rem 0 1.6rem;
  border-top: 1px solid rgb(242 238 228 / 0.4);
}
.niveau:last-child { border-bottom: 1px solid rgb(242 238 228 / 0.4); }
.niveau__rang {
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-clair);
}
.niveau__fonctions {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.niveau__plafond {
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ardoise-clair);
}
.niveau__texte {
  max-width: 40rem;
  line-height: 1.55;
  color: rgb(242 238 228 / 0.9);
}
@media (min-width: 56rem) {
  .niveau { grid-template-columns: 11rem minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
  .niveau__rang { padding-top: 0.9rem; }
}

.regles {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: regle;
}
.regle {
  counter-increment: regle;
  display: grid;
  gap: 0.4rem 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgb(18 26 43 / 0.35);
}
.regle:last-child { border-bottom: 1px solid rgb(18 26 43 / 0.35); }
.regle__nom {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  font-weight: 300;
  line-height: 1.12;
}
.regle__nom::before {
  content: counter(regle, upper-roman) ". ";
  font-style: italic;
  color: var(--laiton-texte);
}
.regle__texte {
  line-height: 1.55;
  color: rgb(18 26 43 / 0.88);
}
@media (min-width: 56rem) {
  .regle { grid-template-columns: 0.9fr 1.3fr; align-items: baseline; }
}

.encart {
  display: grid;
  gap: 0.8rem;
  max-width: 44rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgb(18 26 43 / 0.4);
  border-left: 4px solid var(--laiton);
  background: var(--ivoire);
}
.encart p { line-height: 1.55; }
.encart .cote { margin-bottom: 0.2rem; }

/* ==========================================================================
   NOUS REJOINDRE
   ========================================================================== */
.fiche-pratique {
  display: grid;
  gap: 0;
  margin: 0;
  max-width: 46rem;
}
.fiche-pratique > div {
  display: grid;
  gap: 0.2rem 2rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgb(18 26 43 / 0.35);
}
.fiche-pratique > div:last-child { border-bottom: 1px solid rgb(18 26 43 / 0.35); }
.fiche-pratique dt {
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-texte);
  padding-top: 0.25rem;
}
.fiche-pratique dd {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}
@media (min-width: 40rem) {
  .fiche-pratique > div { grid-template-columns: 11rem 1fr; }
}
.contact {
  display: grid;
  gap: 2rem 4rem;
}
.contact__ligne {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.contact__nom {
  font-family: var(--police-depeche);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-clair);
}
.contact__valeur {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem);
  font-weight: 300;
  line-height: 1.2;
  word-break: break-word;
}
.contact__valeur a { color: inherit; }
.contact__copie {
  justify-self: start;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgb(242 238 228 / 0.4);
  background: transparent;
  font-family: var(--police-depeche);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--papier);
  cursor: pointer;
}
.contact__copie:hover { border-color: var(--papier); }
.contact__etat {
  min-height: 1.2em;
  font-family: var(--police-depeche);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--laiton-clair);
}
@media (min-width: 56rem) {
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   404
   ========================================================================== */
.erreur {
  display: grid;
  min-height: 100svh;
  align-content: center;
  padding: calc(var(--header-h) + 3rem) var(--gouttiere) 4rem;
  background: var(--nuit);
  color: var(--papier);
  --focus: var(--laiton-clair);
}
.erreur__cadre {
  position: relative;
  z-index: 2;
  max-width: var(--largeur-max);
  width: 100%;
  margin: 0 auto;
}
.erreur__code {
  font-size: clamp(6rem, 3rem + 20vw, 20rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--laiton-clair);
}
