:root {
  --elikya-blue: #0073ce;
  --elikya-deep: #073567;
  --elikya-yellow: #f7d618;
  --elikya-red: #ce1021;
  --red: var(--elikya-deep); /* Former accent token in shared components. */
  --gold: var(--elikya-yellow);
  --soft: #f2f7fc;
}
h1, h2, h3 { color: var(--elikya-deep); }
.hero h1, .news h2, .knowledge-bridge h2, .book-cover h1, .book-back h2, .visual-caption h2 { color: inherit; }
.prose a, .text-link, .accueil-footer a { text-underline-offset: .2em; }
.text-link, .accueil-footer a { color: var(--elikya-blue); }
.site-header .main-nav a { font-size: .875rem; letter-spacing: .02em; text-transform: none; }
.site-header .main-nav a[aria-current] { color: var(--elikya-deep); border-bottom-color: var(--elikya-yellow); }
.site-footer { align-items: center; }
.site-footer::after { content: ''; flex: none; width: 34px; height: 34px; background: url('rdc-contour.svg') center / contain no-repeat; opacity: .75; }
.accueil-shell { padding-block: clamp(1.5rem, 5vh, 3.75rem) 1.125rem; }
.accueil-identite { text-align: center; margin-block-end: clamp(1.65rem, 4vw, 2.75rem); }
.accueil-identite .accueil-logo { width: clamp(140px, 20vw, 210px); height: auto; margin: 0 auto; animation: logo-arrive .55s cubic-bezier(.18,.75,.28,1) both; }
.accueil-identite h1 { margin: .55rem auto 0; font-size: clamp(2.05rem, 5.6vw, 4.7rem); letter-spacing: -.035em; }
.accueil-identite .accueil-pays { display: flex; align-items: center; justify-content: center; gap: .45rem; font-size: clamp(.9rem, 1.4vw, 1.05rem); line-height: 1.4; color: var(--elikya-deep); }
.accueil-identite .accueil-pays img { margin: 0; flex: none; }
.accueil-identite .accueil-devise { margin-top: .65rem; color: var(--ink); font: italic clamp(1.15rem, 2.3vw, 1.7rem)/1.3 var(--serif); }
.accent-rdc { display: block; width: 3.5rem; height: .48rem; margin: .9rem auto 0; background: linear-gradient(135deg, var(--elikya-blue) 39%, var(--elikya-yellow) 39% 47%, var(--elikya-red) 47% 57%, var(--elikya-yellow) 57% 65%, var(--elikya-blue) 65%); }
.accueil-entrees { max-width: 53rem; margin-inline: auto; border-top: 1px solid #a8b9ce; }
.accueil-entrees a { padding-block: clamp(.9rem, 2.4vw, 1.3rem); }
.accueil-entrees h2 { font-size: clamp(1.35rem, 2.8vw, 2rem); }
@media (min-width: 53rem) { .accueil-entrees a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.accueil-footer { text-align: center; padding: .45rem 1rem 1.3rem; color: var(--muted); font-size: .875rem; }
.accueil-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; }
.accueil-footer p { margin: .65rem 0 0; }
.section-guides { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1.5rem 0 0; }
.section-guides a { color: var(--elikya-deep); text-underline-offset: .2em; }
.institution-section { padding: clamp(1.7rem, 5vw, 3.75rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.institution-section h2 { margin: 0 0 .75rem; font-size: clamp(1.65rem, 4vw, 2.7rem); }
.institution-section p { max-width: 72ch; line-height: 1.65; }
.terrain-gallery { max-width: 800px; margin: 1.5rem auto 0; }
.terrain-gallery figure { margin: 0 0 1.5rem; }
.terrain-gallery figure[hidden], .terrain-controls[hidden] { display: none; }
.terrain-gallery img { display: block; width: 100%; height: clamp(220px, 50vw, 440px); object-fit: contain; background: var(--soft); border: 1px solid #dce4ec; }
.terrain-gallery figcaption { padding: .85rem 0; line-height: 1.5; }
.terrain-gallery figcaption strong { display: block; color: var(--elikya-deep); }
.terrain-gallery figcaption a { display: inline-block; margin-top: .3rem; color: var(--elikya-deep); }
.terrain-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.terrain-controls button { min-height: 44px; padding: .45rem .75rem; color: var(--elikya-deep); background: #fff; border: 1px solid #a8b9ce; border-radius: .2rem; font: inherit; cursor: pointer; }
.terrain-controls button:hover, .terrain-controls button:focus-visible { background: var(--soft); }
.terrain-controls output { font-variant-numeric: tabular-nums; }
.terrain-gallery figure.terrain-entry { animation: terrain-entry .3s ease-out; }
@keyframes logo-arrive { from { opacity: .35; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes terrain-entry { from { opacity: .45; } to { opacity: 1; } }
@media (max-width: 640px) { .site-footer { align-items: flex-start; } .accueil-entrees a { gap: .35rem; } }
@media (prefers-reduced-motion: reduce) { .accueil-identite .accueil-logo, .terrain-gallery figure.terrain-entry { animation: none; } }
.projet-document { --book-gold: var(--elikya-yellow); --book-blue: var(--elikya-deep); }
.projet-document .book-page {
  min-height: 0; padding: clamp(1.4rem, 5vw, 3.25rem) 0; scroll-margin-top: 1rem;
  background: #fff; color: var(--ink); border: 0; border-bottom: 1px solid var(--line);
  box-shadow: none; overflow: visible;
}
.projet-document :is(.page-copy h2, .back-copy h2, .visual-caption h2) { color: var(--elikya-deep); font-size: clamp(1.75rem, 4.4vw, 3rem); }
.projet-document .visual-page { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); }
.projet-document .visual-page img { width: 100%; max-width: 100%; max-height: none; margin: 0; height: auto; box-shadow: none; border: 0; }
.projet-document .book-back::after, .projet-document .book-back footer { display: none; }
.projet-document .back-copy { width: min(100%, 830px); margin-inline: auto; }
.projet-document :is(.visual-caption, .back-copy) .page-kicker { color: var(--elikya-deep); }
.directory-link:hover h2, .directory-link:focus-visible h2 { color: inherit; }
@media(max-width: 740px) { .projet-document .visual-page { grid-template-columns: minmax(0, 1fr); } }
