/* ============================================================
   Peau « bureau de renseignement » ,  himeji-lions.org ,  préfixe hcj-
   Registre municipal, sceau rubrique débordant, ficelle en filet,
   cartes arrondies 12-20px, ombres colorées douces, deux familles locales.
   ============================================================ */

@font-face {
  font-family: 'CrimsonTexte';
  src: url('/crimson-text-v11-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CrimsonTexte';
  src: url('/crimson-text-v11-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ArchivoTitre';
  src: url('/archivo-v8-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --hcj-papier: #F2EADB;
  --hcj-papier-creux: #E7DCC8;
  --hcj-papier-appui: #FBF5E7;
  --hcj-encre: #262524;
  --hcj-encre-douce: #4E4A42;
  --hcj-ficelle: #AFA189;
  --hcj-laiton: #7A5210;
  --hcj-sceau: #A6301F;
  --hcj-sceau-fonce: #72200F;
  --hcj-aqua: #0F4A45;
  --hcj-encre-sombre: #17181A;
  --hcj-ombre-carte: 0 12px 28px -18px rgba(60, 40, 12, .55);
  --hcj-ombre-carte-hover: 0 22px 40px -20px rgba(124, 33, 20, .55);
  --hcj-ombre-sceau: 0 6px 16px -8px rgba(166, 48, 31, .55);
  --hcj-ombre-vedette: 0 26px 50px -28px rgba(124, 33, 20, .55);
  --hcj-titre-police: 'ArchivoTitre', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif;
  --hcj-texte-police: 'CrimsonTexte', 'Hiragino Mincho ProN', 'Yu Mincho', Georgia, serif;
  --hcj-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --hcj-travee: 1280px;
  --hcj-mesure: 68ch;
  --hcj-arrondi: 14px;
  --hcj-arrondi-lg: 20px;
  --hcj-arrondi-sm: 12px;
  --hcj-gouttiere: 1.25rem;
  --hcj-respiration: 2.4rem;
  --hcj-ratio-tuile: 4 / 3;
  --hcj-ratio-scene: 16 / 9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --hcj-papier: #1B1D1F;
    --hcj-papier-creux: #23262A;
    --hcj-papier-appui: #2B2E33;
    --hcj-encre: #ECE6D8;
    --hcj-encre-douce: #C6BDA9;
    --hcj-ficelle: #55504A;
    --hcj-laiton: #EBC06A;
    --hcj-sceau: #E68A72;
    --hcj-sceau-fonce: #F0A48E;
    --hcj-aqua: #8FD3C9;
    --hcj-encre-sombre: #0F1113;
    --hcj-ombre-carte: 0 14px 30px -18px rgba(0, 0, 0, .7);
    --hcj-ombre-carte-hover: 0 24px 44px -20px rgba(0, 0, 0, .8);
    --hcj-ombre-sceau: 0 8px 18px -10px rgba(0, 0, 0, .8);
    --hcj-ombre-vedette: 0 28px 52px -26px rgba(0, 0, 0, .85);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hcj-papier);
  color: var(--hcj-encre);
  font-family: var(--hcj-texte-police);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.12rem);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hcj-sceau-fonce); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hcj-sceau); }
:focus-visible { outline: 3px solid var(--hcj-aqua); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 {
  font-family: var(--hcj-titre-police);
  font-weight: 700;
  line-height: 1.15;
  color: var(--hcj-encre);
  margin: 0 0 .6rem;
  letter-spacing: -0.005em;
}
h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  text-shadow: 0 2px 0 rgba(255, 255, 255, .38), 0 14px 30px rgba(60, 40, 12, .2);
}
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
p { margin: 0 0 1rem; max-width: var(--hcj-mesure); }
ul, ol { padding-left: 1.2rem; }
.hcj-mention, .hcj-cote, .hcj-devise, .hcj-datation, .hcj-rayon__decompte, .hcj-carte__datation {
  font-family: var(--hcj-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hcj-encre-douce);
}

/* -------- conteneur -------- */
.hcj-travee {
  width: 100%;
  max-width: var(--hcj-travee);
  margin: 0 auto;
  padding-block: var(--hcj-respiration);
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.hcj-travee > * { min-width: 0; }

/* -------- accès direct -------- */
.hcj-acces-direct {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--hcj-encre);
  color: var(--hcj-papier);
  padding: .6rem 1rem;
  border-radius: var(--hcj-arrondi-sm);
  z-index: 100;
}
.hcj-acces-direct:focus { left: 1rem; top: 1rem; }

/* -------- fronton -------- */
.hcj-fronton {
  background: var(--hcj-papier-creux);
  position: relative;
}
.hcj-fronton__interieur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.4rem;
  padding-block: .8rem;
}
.hcj-enseigne {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--hcj-encre);
  text-decoration: none;
  font-family: var(--hcj-titre-police);
}
.hcj-enseigne__sceau { color: var(--hcj-sceau); flex: none; }
.hcj-enseigne__nom { font-size: 1.05rem; letter-spacing: .01em; }
.hcj-devise {
  margin: 0;
  font-family: var(--hcj-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hcj-encre-douce);
  flex: 1 1 14rem;
  min-width: 0;
}
.hcj-parcours { flex: 1 1 100%; }
.hcj-parcours ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .2rem;
}
.hcj-parcours__lien {
  display: inline-block;
  padding: .4rem .85rem;
  border-radius: 999px;
  color: var(--hcj-encre);
  text-decoration: none;
  font-family: var(--hcj-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.hcj-parcours__lien:hover { background: var(--hcj-papier-appui); border-color: var(--hcj-ficelle); }
.hcj-parcours__lien[aria-current="page"] { background: var(--hcj-sceau); color: #FBF5E7; border-color: var(--hcj-sceau-fonce); }

/* ficelle dessinée */
.hcj-ficelle {
  height: 3px;
  background: repeating-linear-gradient(to right, var(--hcj-ficelle) 0 8px, transparent 8px 14px);
  opacity: .85;
}

/* -------- sceau rubrique débordant -------- */
.hcj-sceau {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 .5rem;
  background: var(--hcj-sceau);
  color: #FBF5E7;
  font-family: var(--hcj-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  border-radius: var(--hcj-arrondi-sm);
  box-shadow: var(--hcj-ombre-sceau);
  border: 2px solid var(--hcj-papier-appui);
  transform: translate(6px, -6px) rotate(-2deg);
}

/* -------- préambule accueil ,  compact, vedette visible avant le pli 1920 -------- */
.hcj-preambule { padding-block: clamp(1.4rem, 3vw, 2.4rem); position: relative; }
.hcj-preambule__texte { max-width: 72ch; }
.hcj-preambule__amorce { font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem); color: var(--hcj-encre-douce); max-width: 68ch; }
.hcj-preambule--accueil { padding-block: clamp(1rem, 2vw, 1.6rem) clamp(.9rem, 1.8vw, 1.4rem); }
.hcj-preambule--accueil h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: .35rem; }
.hcj-preambule--accueil .hcj-preambule__amorce { font-size: clamp(1rem, .96rem + .2vw, 1.1rem); margin-bottom: 0; }
.hcj-preambule--rubrique { position: relative; padding-top: 2.6rem; }
.hcj-preambule--rubrique .hcj-sceau { position: absolute; top: 1.8rem; right: 2.4rem; }
.hcj-preambule--404 .hcj-sceau { position: absolute; top: 2rem; right: 2.4rem; }

/* bilan repères */
.hcj-bilan {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
}
.hcj-bilan__poste { display: flex; flex-direction: column; gap: .15rem; }
.hcj-bilan__chiffre {
  font-family: var(--hcj-titre-police);
  font-size: 1.45rem;
  color: var(--hcj-sceau-fonce);
  line-height: 1.1;
}
.hcj-bilan__libelle {
  font-family: var(--hcj-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hcj-encre-douce);
}
.hcj-rayon--bilan { padding-block: .6rem 1rem; border: 0 !important; }
.hcj-rayon--bilan .hcj-bilan { border-top: 3px dotted var(--hcj-ficelle); padding-top: .8rem; }

/* -------- rayons (sections) -------- */
.hcj-rayon { position: relative; }
.hcj-rayon + .hcj-rayon { border-top: 3px dotted var(--hcj-ficelle); }
.hcj-rayon__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.4rem;
  margin-bottom: 1.1rem;
  padding-bottom: .5rem;
}
.hcj-rayon__tete h2 { position: relative; padding-bottom: .35rem; margin-bottom: 0; }
.hcj-rayon__tete h2::after {
  content: "";
  position: absolute;
  left: 0; right: -1rem; bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(to right, var(--hcj-laiton) 0 6px, transparent 6px 11px);
}
.hcj-rayon__tete h2 a { color: inherit; text-decoration: none; }
.hcj-rayon__phrase { max-width: 60ch; color: var(--hcj-encre-douce); margin: 0; }
.hcj-rayon--vedette { padding-top: clamp(1rem, 2vw, 1.6rem); border: 0 !important; }

/* -------- carte d'article -------- */
.hcj-carte {
  background: var(--hcj-papier-appui);
  border-radius: var(--hcj-arrondi);
  overflow: hidden;
  box-shadow: var(--hcj-ombre-carte);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow .25s ease, transform .25s ease;
  border: 1px solid rgba(175, 161, 137, .55);
}
.hcj-carte:hover { box-shadow: var(--hcj-ombre-carte-hover); transform: translateY(-2px); }
.hcj-carte__vignette { margin: 0; overflow: hidden; background: var(--hcj-papier-creux); }
.hcj-carte__vignette img {
  width: 100%;
  aspect-ratio: var(--hcj-ratio-tuile);
  object-fit: cover;
  display: block;
}
.hcj-carte__texte { padding: .9rem 1.1rem 1.05rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.hcj-carte__cote { display: flex; align-items: center; gap: .55rem; margin: 0; }
.hcj-cote {
  padding: .1rem .5rem;
  background: var(--hcj-papier-creux);
  border-radius: 6px;
  color: var(--hcj-sceau-fonce);
}
.hcj-mention--rubrique { color: var(--hcj-aqua); text-decoration: none; }
.hcj-mention--rubrique:hover { text-decoration: underline; }
.hcj-carte__intitule { margin: 0; }
.hcj-carte__intitule a { color: var(--hcj-encre); text-decoration: none; }
.hcj-carte__intitule a:hover { color: var(--hcj-sceau-fonce); }
.hcj-carte__abrege { margin: 0; color: var(--hcj-encre-douce); font-size: .98rem; }
.hcj-carte__legende {
  margin: 0;
  font-size: .78rem;
  font-style: italic;
  color: var(--hcj-encre-douce);
  border-left: 3px solid var(--hcj-ficelle);
  padding-left: .6rem;
}
.hcj-carte__datation { margin: 0; }

/* vedette (grande photo) ,  compacte pour apparaître avant le pli 1920 */
.hcj-carte--vedette {
  border-radius: var(--hcj-arrondi-lg);
  box-shadow: var(--hcj-ombre-vedette), var(--hcj-ombre-carte);
}
.hcj-carte--vedette .hcj-carte__vignette img { aspect-ratio: var(--hcj-ratio-scene); }
.hcj-carte--vedette .hcj-carte__texte { padding: 1.1rem 1.4rem 1.2rem; gap: .45rem; }
.hcj-carte--vedette .hcj-carte__intitule { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); }
.hcj-carte--vedette .hcj-carte__intitule a { text-shadow: 0 1px 0 rgba(255, 255, 255, .45), 0 14px 28px rgba(60, 40, 12, .2); }
.hcj-carte--vedette .hcj-carte__abrege { font-size: 1.02rem; max-width: 62ch; }

@media (min-width: 57rem) {
  .hcj-carte--vedette {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(19rem, .85fr);
    align-items: stretch;
  }
  .hcj-carte--vedette .hcj-carte__vignette img {
    height: min(46vh, 440px);
    aspect-ratio: auto;
  }
  .hcj-carte--vedette .hcj-carte__texte { justify-content: center; }
}

/* petite carte en grille */
.hcj-casier {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: var(--hcj-gouttiere);
}
.hcj-casier > * { min-width: 0; }

/* carte ligne (rubrique) */
.hcj-registre { display: flex; flex-direction: column; gap: 1.1rem; }
.hcj-carte--ligne { flex-direction: row; align-items: stretch; }
.hcj-carte--ligne .hcj-carte__vignette { flex: 0 0 34%; max-width: 240px; }
.hcj-carte--ligne .hcj-carte__vignette img { aspect-ratio: var(--hcj-ratio-tuile); height: 100%; }
.hcj-carte--ligne .hcj-carte__texte { padding: 1rem 1.2rem; }

/* -------- liste compacte avec vignettes -------- */
.hcj-compact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.hcj-compact__item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .7rem;
  background: var(--hcj-papier-appui);
  border-radius: var(--hcj-arrondi-sm);
  box-shadow: 0 8px 22px -20px rgba(60, 40, 12, .6);
  border: 1px solid rgba(175, 161, 137, .5);
  min-width: 0;
}
.hcj-compact__vignette { flex: 0 0 112px; display: block; border-radius: 12px; overflow: hidden; }
.hcj-compact__vignette img { aspect-ratio: 1 / 1; object-fit: cover; width: 112px; height: 112px; }
.hcj-compact__texte { min-width: 0; }
.hcj-compact__intitule { margin: 0 0 .25rem; font-size: 1.05rem; }
.hcj-compact__intitule a { color: var(--hcj-encre); text-decoration: none; }
.hcj-compact__intitule a:hover { color: var(--hcj-sceau-fonce); }
.hcj-compact__meta { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 0; }

/* -------- renvoi -------- */
.hcj-renvoi { margin-top: 1.2rem; }
.hcj-renvoi a {
  display: inline-block;
  font-family: var(--hcj-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .5rem .95rem;
  border-radius: 999px;
  background: var(--hcj-encre);
  color: var(--hcj-papier);
  box-shadow: var(--hcj-ombre-carte);
}
.hcj-renvoi a:hover { background: var(--hcj-sceau-fonce); color: #fbf5e7; }

/* -------- rubrique : onglets -------- */
.hcj-onglets { display: flex; flex-wrap: wrap; gap: .5rem; }
.hcj-onglet {
  padding: .5rem 1rem;
  border-radius: 999px;
  background: var(--hcj-papier-creux);
  color: var(--hcj-encre);
  text-decoration: none;
  font-family: var(--hcj-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.hcj-onglet:hover { border-color: var(--hcj-ficelle); }
.hcj-onglet--courant { background: var(--hcj-sceau); color: #FBF5E7; box-shadow: var(--hcj-ombre-sceau); }

/* -------- remontée -------- */
.hcj-remontee ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-family: var(--hcj-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hcj-remontee li + li::before { content: "›"; margin-inline: .5rem; color: var(--hcj-ficelle); }
.hcj-remontee a { color: var(--hcj-encre-douce); text-decoration: none; }
.hcj-remontee a:hover { color: var(--hcj-sceau-fonce); }

/* -------- article -------- */
.hcj-fiche { display: block; }
.hcj-entete-fiche { padding-bottom: 1.4rem; }
.hcj-entete-fiche h1 { text-shadow: 0 1px 0 rgba(255, 255, 255, .42), 0 16px 30px rgba(60, 40, 12, .17); }
.hcj-chapeau { font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); color: var(--hcj-encre); max-width: 68ch; }
.hcj-planche-image { margin: 0 auto; max-width: var(--hcj-travee); padding-inline: clamp(1rem, 4vw, 2.5rem); }
.hcj-planche-image img {
  width: 100%;
  aspect-ratio: var(--hcj-ratio-scene);
  object-fit: cover;
  border-radius: var(--hcj-arrondi-lg);
  box-shadow: 0 24px 44px -24px rgba(60, 40, 12, .5);
}
.hcj-planche-image__legende {
  margin-top: .8rem;
  font-size: .84rem;
  font-style: italic;
  color: var(--hcj-encre-douce);
  padding-left: .7rem;
  border-left: 3px solid var(--hcj-sceau);
}
.hcj-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
.hcj-duo > * { min-width: 0; }
.hcj-corps { max-width: var(--hcj-mesure); font-size: 1.05rem; }
.hcj-corps > p:first-of-type::first-letter {
  font-family: var(--hcj-titre-police);
  font-size: 3.1em;
  float: left;
  line-height: .9;
  padding: .05em .12em 0 0;
  color: var(--hcj-sceau-fonce);
}
.hcj-corps h2 { margin-top: 2rem; padding-top: 1rem; border-top: 2px dotted var(--hcj-ficelle); }
.hcj-corps h3 { margin-top: 1.4rem; }
.hcj-corps img { border-radius: var(--hcj-arrondi); box-shadow: var(--hcj-ombre-carte); margin: 1rem 0; }
.hcj-corps blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  background: var(--hcj-papier-appui);
  border-left: 4px solid var(--hcj-laiton);
  border-radius: var(--hcj-arrondi-sm);
  box-shadow: var(--hcj-ombre-carte);
  font-style: italic;
}
.hcj-corps table { border-collapse: collapse; width: 100%; min-width: 32rem; }
.hcj-corps table th, .hcj-corps table td { border: 1px solid var(--hcj-ficelle); padding: .5rem .7rem; text-align: left; }
.hcj-corps table th { background: var(--hcj-papier-creux); color: var(--hcj-encre); }
.hcj-corps > .hcj-tableau-defile, .hcj-tableau-defile { overflow-x: auto; margin: 1.2rem 0; border-radius: var(--hcj-arrondi-sm); }
.hcj-corps pre {
  overflow-x: auto;
  background: var(--hcj-encre-sombre);
  color: var(--hcj-papier);
  padding: 1rem 1.2rem;
  border-radius: var(--hcj-arrondi-sm);
  font-family: var(--hcj-mono);
  font-size: .82rem;
}

/* rail de notes */
.hcj-releve {
  background: var(--hcj-papier-appui);
  border-radius: var(--hcj-arrondi);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--hcj-ombre-carte);
  border-top: 3px solid var(--hcj-sceau);
}
.hcj-releve__titre {
  font-family: var(--hcj-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hcj-encre-douce);
  margin: 1rem 0 .5rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--hcj-ficelle);
}
.hcj-releve__titre:first-child { margin-top: 0; }
.hcj-releve__sommaire { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.hcj-releve__entree { display: flex; gap: .6rem; align-items: baseline; font-size: .95rem; }
.hcj-releve__cote { font-family: var(--hcj-mono); font-size: .7rem; color: var(--hcj-laiton); letter-spacing: .1em; }
.hcj-releve__sources { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .35rem; font-family: var(--hcj-mono); font-size: .78rem; word-break: break-word; }

/* -------- voisinage -------- */
.hcj-voisinage { border-top: 3px dotted var(--hcj-ficelle); }

/* -------- ailleurs / réseau -------- */
.hcj-ailleurs__liste { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.hcj-ailleurs__item {
  background: var(--hcj-papier-appui);
  border-radius: var(--hcj-arrondi-sm);
  padding: .85rem 1rem;
  margin: 0;
  box-shadow: 0 6px 18px -18px rgba(60, 40, 12, .5);
  border-left: 4px solid var(--hcj-aqua);
}
.hcj-ailleurs__item p { margin: 0; font-size: .96rem; }

/* -------- pied -------- */
.hcj-pied {
  background: var(--hcj-encre-sombre);
  color: var(--hcj-papier);
  margin-top: 3rem;
  position: relative;
}
.hcj-pied::before {
  content: "";
  display: block;
  height: 4px;
  background: repeating-linear-gradient(to right, var(--hcj-laiton) 0 8px, transparent 8px 15px);
}
.hcj-pied h2 { color: var(--hcj-papier); font-size: 1rem; letter-spacing: .02em; }
.hcj-pied a { color: #F6E9C9; }
.hcj-pied a:hover { color: var(--hcj-laiton); }
.hcj-pied__colonnes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
  padding-block: 2.4rem;
}
.hcj-pied__colonne { min-width: 0; }
.hcj-pied__colonne p { color: #E4DAC6; font-size: .92rem; max-width: 44ch; }
.hcj-pied__colonne ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.hcj-pied__note {
  background: rgba(255, 255, 255, .06);
  border-radius: var(--hcj-arrondi-sm);
  padding: .8rem .95rem;
  color: #F0E7D4 !important;
  font-size: .88rem !important;
  border-left: 3px solid var(--hcj-sceau);
}
.hcj-pied__ligne {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  padding-block: 1rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hcj-pied__ligne .hcj-mention { color: #D2C7AE; }

/* -------- fiches service -------- */
.hcj-fiche--service .hcj-corps { max-width: var(--hcj-mesure); }

/* -------- responsive -------- */
@media (max-width: 56rem) {
  .hcj-duo { grid-template-columns: minmax(0, 1fr); }
  .hcj-carte--ligne { flex-direction: column; }
  .hcj-carte--ligne .hcj-carte__vignette { flex: none; max-width: none; }
}
@media (max-width: 44rem) {
  :root { --hcj-respiration: 1.8rem; }
  .hcj-carte--ligne .hcj-carte__vignette img { aspect-ratio: var(--hcj-ratio-tuile); height: auto; }
  .hcj-compact__vignette, .hcj-compact__vignette img { flex: 0 0 84px; width: 84px; height: 84px; }
  .hcj-preambule--rubrique .hcj-sceau, .hcj-preambule--404 .hcj-sceau { position: static; display: inline-grid; margin-bottom: .8rem; transform: none; }
  .hcj-sceau { transform: none; }
  .hcj-pied__ligne { justify-content: flex-start; }
}
@media (max-width: 26rem) {
  .hcj-parcours__lien { padding: .4rem .7rem; font-size: .68rem; }
  .hcj-bilan { gap: .6rem 1rem; }
  .hcj-compact__vignette, .hcj-compact__vignette img { flex: 0 0 72px; width: 72px; height: 72px; }
}
@media (min-width: 120rem) {
  :root { --hcj-travee: 1560px; }
}

/* Règle négative : pas d'aplat saturé en fond de page entière ;
   sceau et laiton vivent en pastille, en filet ou en badge, jamais en fond plein page.
   Pas d'ombre portée sur les illustrations, seulement sur les surfaces (cartes, badges, boutons). */
