/* ==========================================================================
   Présidence du Faso — feuille de style
   Minimalisme institutionnel · vert, rouge et or du Burkina Faso
   ========================================================================== */

/* ---------- 1. Réglages ------------------------------------------------- */
:root {
  --green-950: #052117;
  --green-900: #072c1d;
  --green-800: #0a4029;
  --green: #0b5c36;
  --green-600: #147a49;
  --red: #b3162b;
  --red-soft: #d4555f;
  --gold: #c9a24b;
  --gold-soft: #e3c98d;
  --gold-ink: #7d5f1c;

  --paper: #fbfaf6;
  --paper-2: #f4f1e8;
  --paper-3: #eeeadf;
  --white: #ffffff;

  --ink: #16211b;
  --ink-soft: #33423a;
  --muted: #5f6c64;
  --muted-2: #66726b;

  --line: rgba(22, 33, 27, 0.1);
  --line-2: rgba(22, 33, 27, 0.18);
  --line-light: rgba(255, 255, 255, 0.16);

  /* Rôles sémantiques : redéfinis seuls en thème sombre. */
  --heading: var(--green-900);
  --accent: var(--green);
  --danger: var(--red);
  --gold-text: var(--gold-ink);
  --header-bg: rgba(251, 250, 246, 0.94);
  --panel-bg: rgba(251, 250, 246, 0.96);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    "URW Palladio L", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 120px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  color-scheme: light;
}

/* ---------- 1bis. Thème sombre ----------------------------------------- */
[data-theme="dark"] {
  color-scheme: dark;

  --green: #147a49;
  --green-900: #0b1f17;
  --green-950: #06120d;

  --paper: #0a1411;
  --paper-2: #0d1a15;
  --paper-3: #11221b;
  --white: #0f1e18;

  --ink: #eef2ec;
  --ink-soft: #cfd9d1;
  --muted: #a3b0a7;
  --muted-2: #95a49b;

  --line: rgba(238, 242, 236, 0.13);
  --line-2: rgba(238, 242, 236, 0.26);

  --heading: #eef2ec;
  --accent: #7fd0a2;
  --danger: #ef9299;
  --gold-text: #e2c689;
  --header-bg: rgba(9, 20, 16, 0.92);
  --panel-bg: rgba(13, 26, 21, 0.96);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.1em;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--heading);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

h4 {
  font-size: 1.05rem;
}

::selection {
  background: var(--gold-soft);
  color: var(--green-950);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 2. Outils de mise en page ---------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 860px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(44px, 6vw, 76px);
}

.section--paper {
  background: var(--paper-2);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head__aside {
  padding-bottom: 6px;
}

.section-head p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

.section-head--center {
  display: block;
  text-align: center;
}

.section-head--center p {
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.eyebrow--light {
  color: var(--gold-soft);
}

.eyebrow--plain::before {
  display: none;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.86rem;
}

.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--green-900);
  color: #fff;
  padding: 12px 20px;
  font-size: 0.85rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 3. Boutons et liens ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover {
  background: var(--green-900);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--heading);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: rgba(11, 92, 54, 0.05);
}

.btn--light {
  background: #fff;
  color: #072c1d;
}

.btn--light:hover {
  background: var(--gold-soft);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  border-color: var(--gold);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-arrow--light {
  color: #fff;
}

/* ---------- 4. Bandeau identitaire + en-tête ---------------------------- */
.topbar {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar__motto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.topbar__star {
  color: var(--gold);
  width: 11px;
  height: 11px;
  flex: none;
}

.topbar__right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.topbar a:hover {
  color: #fff;
}

.topbar__socials {
  display: inline-flex;
  gap: 12px;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.topbar__socials a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.7);
}

.topbar__socials svg {
  width: 14px;
  height: 14px;
}

.topbar__socials a:hover {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px -22px rgba(5, 33, 23, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--gold);
}

.brand__mark svg {
  width: 21px;
  height: 21px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: 0.005em;
  color: var(--heading);
}

.brand__sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  font-size: 0.81rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav__link:hover {
  color: var(--heading);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--heading);
  font-weight: 600;
}

.header__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--green);
  border-color: var(--accent);
  color: #fff;
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

/* Sélecteur de langue — dans le menu */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}

.lang-switch__link {
  display: inline-block;
  padding: 6px 7px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-switch__link:hover {
  color: var(--heading);
}

.lang-switch__link[aria-current="true"] {
  color: var(--heading);
  background: var(--paper-3);
}

/* Bascule clair / sombre */
.theme-toggle__sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

.header__cta {
  padding: 12px 20px;
  font-size: 0.73rem;
}

.nav-toggle {
  display: none;
}

/* ---------- 5. Héros ---------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero__flagline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 5px;
  position: relative;
}

.hero__flagline span:first-child {
  background: var(--red);
}

.hero__flagline span:last-child {
  background: var(--green);
}

.hero__star {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  color: var(--gold);
  z-index: 2;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 84px);
}

.hero__kicker {
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  margin-bottom: 14px;
}

.hero__portrait {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 410px;
}

.hero__portrait::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  z-index: 0;
}

.hero__portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: #fff;
  border-radius: 2px;
}

.hero__caption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__caption strong {
  font-weight: 600;
  color: var(--ink-soft);
}

.hero__starfield {
  position: absolute;
  right: -60px;
  top: 8%;
  width: 380px;
  height: 380px;
  color: var(--accent);
  opacity: 0.05;
  pointer-events: none;
}

.hero__starfield svg {
  width: 100%;
  height: 100%;
}

/* Héros en affiche : titre, chapeau et visuel pleine largeur */
.hero__poster {
  padding-top: clamp(24px, 3.4vw, 44px);
}

.hero__actions {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(28px, 3.6vw, 46px);
}

.hero__actions .btn-row {
  margin-top: 0;
}

.hero__poster {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(28px, 3.6vw, 46px);
}

.hero__poster picture {
  display: block;
}

.hero__poster img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 2px;
  outline: 1px solid var(--line-2);
  outline-offset: -1px;
}

.hero__poster .hero__caption {
  margin-top: 14px;
  padding-top: 12px;
}

.split__media--portrait picture {
  display: block;
}

.split__media--portrait img {
  display: block;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
}

/* ---------- 6. Bande de repères ---------------------------------------- */
.facts {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facts__item {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.facts__item:last-child {
  border-right: 0;
}

.facts__item + .facts__item {
  padding-left: 26px;
}

.facts__label {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.facts__value {
  font-family: var(--serif);
  font-size: 1.04rem;
  color: var(--heading);
  line-height: 1.35;
}

/* ---------- 7. Bloc éditorial (texte + image) --------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: 2px;
}

.split__media--framed::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--gold);
  z-index: 0;
}

.split__media--framed img {
  position: relative;
  z-index: 1;
}

.media-caption {
  margin-top: 14px;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.media-caption strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.prose p {
  color: var(--ink-soft);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--columns {
  columns: 2;
  column-gap: 40px;
}

.prose--columns p {
  break-inside: avoid;
}

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.signature strong {
  color: var(--heading);
  font-weight: 600;
}

/* ---------- 8. Gouvernement : chiffres -------------------------------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-2);
  border-radius: 2px;
  margin-top: 30px;
}

.metrics__item {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.metrics__item:last-child {
  border-right: 0;
}

.metrics__num {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 6px;
}

.metrics__label {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 9. Cartes actualités -------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
}

.news-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}

.news-card__media {
  display: block;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--paper-3);
}

.news-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.025);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.news-card__meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.news-card h3 {
  font-size: 1.32rem;
  line-height: 1.24;
  margin-bottom: 12px;
}

.news-card h3 a {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease);
}

.news-card:hover h3 a {
  background-size: 100% 1px;
}

.news-card p {
  font-size: 0.91rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.news-card .link-arrow {
  margin-top: auto;
}

/* ---------- 10. Liste d'actualités ------------------------------------ */
.news-list {
  border-top: 1px solid var(--line-2);
}

.news-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 120px;
  gap: 24px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), padding-inline 0.2s var(--ease);
}

.news-row:hover {
  background: var(--paper-2);
  padding-inline: 16px 12px;
}

.news-row__date {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--accent);
}

.news-row__date small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.news-row__title {
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.34;
  color: var(--heading);
  margin: 0;
}

.news-row__excerpt {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 6px 0 0;
}

.news-row__action {
  justify-self: end;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-row__action svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.news-row:hover .news-row__action svg {
  transform: translateX(4px);
}

/* ---------- 11. Initiatives ------------------------------------------- */
.initiatives {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.initiative {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper);
  transition: background 0.25s var(--ease);
}

.initiative:hover {
  background: var(--white);
}

.initiative__num {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-text);
}

.initiative h3 {
  font-size: 1.16rem;
  line-height: 1.3;
  margin: 0;
}

.initiative p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
}

.initiative__arrow {
  margin-top: auto;
  padding-top: 10px;
  color: var(--accent);
  display: inline-flex;
}

.initiative__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.initiative:hover .initiative__arrow svg {
  transform: translate(3px, -3px);
}

/* ---------- 12. Bandeau BAORE ----------------------------------------- */
.feature {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
}

.feature::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(201, 162, 75, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.feature__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.feature h2 {
  color: #fff;
}

.feature h2 em {
  font-style: italic;
  color: var(--gold-soft);
}

.feature p {
  color: rgba(255, 255, 255, 0.78);
}

.feature__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
}

.feature__badge svg {
  width: 13px;
  height: 13px;
}

.video-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: var(--green-950);
}

.video-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.92;
}

.video-frame__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(5, 33, 23, 0.4);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.video-frame__play:hover {
  transform: scale(1.06);
  background: var(--green);
}

.video-frame__play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.video-frame__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 18px 14px;
  background: linear-gradient(transparent, rgba(5, 33, 23, 0.85));
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- 13. Documentation ----------------------------------------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}

.doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s var(--ease), color 0.2s var(--ease);
}

.doc-row:hover {
  padding-left: 10px;
  color: var(--accent);
}

.doc-row__num {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--gold-text);
  margin-bottom: 4px;
  display: block;
}

.doc-row h3 {
  font-size: 1.16rem;
  margin: 0 0 4px;
}

.doc-row p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.doc-row__icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.doc-row:hover .doc-row__icon {
  background: var(--green);
  border-color: var(--accent);
  color: #fff;
}

.doc-row__icon svg {
  width: 14px;
  height: 14px;
}

/* ---------- 14. En-tête de page --------------------------------------- */
.page-hero {
  position: relative;
  background: var(--green-900);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(46px, 7vw, 90px) clamp(52px, 8vw, 96px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 84% 18%,
      rgba(201, 162, 75, 0.16),
      transparent 46%
    ),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 100% 88px;
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  max-width: 20ch;
  margin-bottom: 18px;
}

.page-hero__lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  margin: 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 26px;
}

.crumbs a:hover {
  color: var(--gold-soft);
}

.crumbs__sep {
  width: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.crumbs [aria-current] {
  color: var(--gold-soft);
}

.page-hero--photo {
  background: var(--green-950);
}

.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 33, 23, 0.94) 0%,
    rgba(5, 33, 23, 0.8) 52%,
    rgba(5, 33, 23, 0.35) 100%
  );
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

/* ---------- 15. Sous-navigation (ancres) ------------------------------ */
.subnav {
  position: sticky;
  top: 86px;
  z-index: 40;
  background: var(--panel-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.subnav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 10px;
}

.subnav__inner::-webkit-scrollbar {
  display: none;
}

.subnav a {
  flex: none;
  padding: 8px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-radius: 100px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.subnav a:hover {
  background: var(--paper-2);
  color: var(--heading);
}

.subnav a.is-active {
  background: var(--green);
  color: #fff;
}

/* ---------- 16. Prose longue ------------------------------------------ */
.article {
  padding-block: clamp(48px, 6vw, 84px);
}

.article__header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.article__meta .tag {
  color: var(--danger);
  font-weight: 600;
}

.article h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  max-width: 34ch;
}

.article__body {
  font-size: 1.03rem;
}

.article__body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.86;
  padding: 6px 10px 0 0;
  color: var(--accent);
}

.article__body h2 {
  font-size: 1.7rem;
  margin-top: 2.1em;
}

.article__body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--heading);
}

.article__body blockquote p {
  color: inherit;
}

.article__body ul {
  padding-left: 20px;
  color: var(--ink-soft);
}

.article__body li {
  margin-bottom: 0.6em;
}

.article__figure {
  margin: 34px 0;
}

.article__figure img {
  width: 100%;
}

.article__figure figcaption {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.article-source {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.share__label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.share a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.share a:hover {
  background: var(--green);
  border-color: var(--accent);
  color: #fff;
}

.share svg {
  width: 14px;
  height: 14px;
}

/* ---------- 17. Blocs de contenu -------------------------------------- */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 2px;
}

.panel--paper {
  background: var(--paper-2);
  border-color: transparent;
}

.panel h3 {
  margin-bottom: 10px;
}

.panel p:last-child {
  margin-bottom: 0;
}

.quote-block {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
}

.quote-block p {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--heading);
  margin: 0;
}

.quote-block cite {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 18. Chronologie ------------------------------------------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 111px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-2);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 40px;
  padding: 16px 0;
}

.timeline__year {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--accent);
  text-align: right;
  padding-top: 2px;
}

.timeline__dot {
  position: absolute;
  left: 107px;
  top: 25px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--green);
}

.timeline__item--key .timeline__dot {
  background: var(--gold);
  border-color: var(--gold);
}

.timeline__body h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.timeline__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- 19. Hymne / symboles -------------------------------------- */
.anthem {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.anthem__stanzas {
  counter-reset: stanza;
}

.anthem__stanza {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.anthem__stanza:last-child {
  border-bottom: 0;
}

.anthem__stanza p {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 0;
}

.anthem__refrain {
  background: var(--green-900);
  color: #fff;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 2px;
}

.anthem__refrain h3 {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.anthem__refrain p {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.9;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.symbols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.flag {
  aspect-ratio: 3 / 2;
  display: grid;
  grid-template-rows: 1fr 1fr;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -40px rgba(5, 33, 23, 0.6);
}

.flag__red {
  background: var(--red);
}

.flag__green {
  background: var(--green);
}

.flag__star {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  color: #f9d24a;
}

.emblem-card {
  display: grid;
  place-items: center;
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.emblem-card img {
  max-height: 220px;
  width: auto;
}

.kv {
  margin: 0;
}

.kv__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.kv__row:last-child {
  border-bottom: 0;
}

.kv dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.kv dd {
  margin: 0;
  color: var(--ink-soft);
}

.institution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.institution {
  background: var(--paper);
  padding: 24px;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s var(--ease);
}

.institution:hover {
  background: var(--white);
}

.institution h3 {
  font-size: 1.02rem;
  margin: 0;
}

.institution span {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* Registre des chefs d'État */
.records {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}

.record {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.record__years {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.record__name {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--heading);
}

.record__name small {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.record--current {
  background: var(--paper-2);
  padding-inline: 16px;
  border-left: 2px solid var(--gold);
}

.record--current .record__name {
  color: var(--accent);
}

/* Tableaux et notes */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.table th,
.table td {
  text-align: left;
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.table td {
  color: var(--ink-soft);
}

/* ---------- 20. Galerie ------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery__item {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: var(--paper-3);
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(5, 33, 23, 0.86));
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.4;
}

.gallery__cap small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(5, 33, 23, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1000px, 100%);
  max-height: 76vh;
  object-fit: contain;
}

.lightbox__cap {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  margin-top: 16px;
  text-align: center;
  max-width: 60ch;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- 21. Formulaire -------------------------------------------- */
.form {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 92, 54, 0.1);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form__note {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0;
}

.form__status {
  display: none;
  font-size: 0.86rem;
  color: var(--accent);
  background: rgba(11, 92, 54, 0.07);
  border-left: 2px solid var(--green);
  padding: 12px 14px;
}

.form__status.is-visible {
  display: block;
}

.inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-form input {
  flex: 1 1 200px;
}

/* ---------- 22. Contact ------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-list strong {
  font-weight: 400;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--heading);
  line-height: 1.45;
}

.map-card {
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.map-card img {
  width: 96px;
  height: auto;
  flex: none;
}

.map-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- 23. Bande CTA --------------------------------------------- */
.cta-band {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: clamp(34px, 4vw, 54px);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 6px;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- 24. Pied de page ------------------------------------------ */
.site-footer {
  position: relative;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  padding-top: clamp(48px, 6vw, 76px);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--red) 0 50%,
    var(--green) 50% 100%
  );
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer__brand svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.footer__brand span {
  font-family: var(--serif);
  font-size: 1.14rem;
  color: #fff;
}

.site-footer p {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
}

.footer__title {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 18px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.66);
}

.footer__contact span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 2px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.footer__socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-950);
}

.footer__socials svg {
  width: 14px;
  height: 14px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a:hover {
  color: #fff;
}

/* ---------- 25. Recherche --------------------------------------------- */
.search {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 12vh, 120px) 20px 40px;
  background: rgba(5, 33, 23, 0.9);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), visibility 0.22s;
}

.search.is-open {
  opacity: 1;
  visibility: visible;
}

.search__panel {
  width: min(640px, 100%);
  background: var(--paper);
  border-radius: 2px;
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform 0.25s var(--ease);
}

.search.is-open .search__panel {
  transform: none;
}

.search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.search__field svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
}

.search__field input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 4px 0;
}

.search__field input:focus {
  outline: none;
}

.search__results {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 46vh;
  overflow-y: auto;
}

.search__results li a {
  display: block;
  padding: 11px 12px;
  border-radius: 2px;
}

.search__results li a:hover,
.search__results li a:focus-visible {
  background: var(--paper-2);
}

.search__results strong {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--heading);
}

.search__results span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.search__empty {
  padding: 18px 20px;
  font-size: 0.86rem;
  color: var(--muted);
}

.search__hint {
  padding: 10px 20px 16px;
  font-size: 0.7rem;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}

/* ---------- 25 bis. Blocs d'initiatives -------------------------------- */
.init-block {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--line-2);
}

.init-block:last-child {
  border-bottom: 1px solid var(--line-2);
}

.init-block__num {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-text);
  margin-bottom: 12px;
}

.init-block__aside h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.25;
}

.init-block__sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.init-block__body {
  max-width: 72ch;
}

.init-block__body h3 {
  font-size: 1.28rem;
  margin-top: 1.9em;
}

.init-block__body ul {
  padding-left: 20px;
  color: var(--ink-soft);
}

.init-block__body li {
  margin-bottom: 0.55em;
}

.init-block__body .panel {
  margin-top: 26px;
}

/* ---------- 25 ter. Tourisme et listes --------------------------------- */
.tour-zones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tour-zone {
  background: var(--paper);
  padding: clamp(22px, 3vw, 34px);
}

.tour-zone__label {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}

.tour-zone h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.tour-zone p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.region-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}

.region-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.region-list span {
  font-size: 0.74rem;
  color: var(--muted);
}

.tick-list {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}

.tick-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- 25 quater. Filtres, vidéos, articles ----------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter {
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter.is-active {
  background: var(--green);
  border-color: var(--accent);
  color: #fff;
}

.news-row[hidden] {
  display: none;
}

.news-empty {
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.video-list {
  border-top: 1px solid var(--line-2);
}

.video-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  gap: 18px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), padding 0.2s var(--ease);
}

.video-row:hover {
  background: var(--paper-2);
  padding-inline: 14px 8px;
}

.video-row__num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-text);
}

.video-row__body strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.07rem;
  line-height: 1.35;
  color: var(--heading);
}

.video-row__body span {
  font-size: 0.82rem;
  color: var(--muted);
}

.video-row__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--accent);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.video-row:hover .video-row__icon {
  background: var(--green);
  border-color: var(--accent);
  color: #fff;
}

.video-row__icon svg {
  width: 14px;
  height: 14px;
}

.article .crumbs {
  margin-bottom: 28px;
}

.crumbs--dark {
  color: var(--muted);
}

.crumbs--dark a:hover {
  color: var(--accent);
}

.crumbs--dark .crumbs__sep {
  background: var(--line-2);
}

.crumbs--dark [aria-current] {
  color: var(--accent);
}

.article__figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__body > p:last-child {
  margin-bottom: 0;
}

.article__body a:not(.link-arrow):not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-form .form__note {
  flex: 1 0 100%;
  margin: 2px 0 0;
}

.footer__contact a:hover {
  color: #fff;
}

/* ---------- 26. Animations -------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 27. Adaptation -------------------------------------------- */
@media (max-width: 1240px) {
  .header__cta {
    display: none;
  }

  .nav__link {
    padding-inline: 7px;
    font-size: 0.78rem;
  }

  .lang-switch {
    margin-left: 5px;
    padding-left: 8px;
  }

  .lang-switch__link {
    padding: 6px 5px;
  }
}

@media (max-width: 1080px) {
  .header__inner {
    gap: 12px;
  }

  .nav {
    gap: 2px;
  }

  .nav__link {
    padding-inline: 6px;
    font-size: 0.76rem;
  }

  .lang-switch__link {
    padding: 6px 4px;
  }

  .brand {
    gap: 10px;
  }

  .brand__name {
    font-size: 1.12rem;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__col--newsletter {
    grid-column: 1 / -1;
    padding-top: 8px;
  }
}

@media (max-width: 940px) {
  .header__inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(5, 33, 23, 0.5);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    padding: 13px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--line);
  }

  .lang-switch {
    justify-content: flex-start;
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .lang-switch__link {
    padding: 8px 14px;
    border: 1px solid var(--line-2);
    font-size: 0.72rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link[aria-current="page"] {
    color: var(--accent);
  }

  .subnav {
    top: 74px;
  }

  .hero__grid,
  .hero__intro,
  .split,
  .feature__grid,
  .anthem,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__portrait {
    justify-self: start;
    max-width: 360px;
    margin-top: 8px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .news-grid,
  .initiatives,
  .institution-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts__item:nth-child(2) {
    border-right: 0;
  }

  .facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .init-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline::before {
    left: 75px;
  }

  .timeline__item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 30px;
  }

  .timeline__dot {
    left: 71px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 88px;
  }

  .topbar__right {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
    font-size: 0.66rem;
  }

  .hero__portrait::before {
    inset: 10px -10px -10px 10px;
  }

  .hero__actions .btn-row {
    margin-top: 4px;
  }

  .init-block,
  .tour-zones,
  .region-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .record {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .hero__caption {
    flex-direction: column;
    gap: 4px;
  }

  .news-grid,
  .initiatives,
  .institution-grid,
  .gallery,
  .symbols,
  .metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .metrics__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics__item:last-child {
    border-bottom: 0;
  }

  .facts__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts__item,
  .facts__item + .facts__item {
    padding: 18px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .facts__item:first-child {
    border-top: 0;
  }

  .news-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .news-row__action {
    display: none;
  }

  .news-row__date {
    font-size: 1.2rem;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__col--newsletter {
    grid-column: auto;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band__inner .btn {
    width: 100%;
  }

  .prose--columns {
    columns: 1;
  }

  .kv__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .page-hero h1 {
    max-width: none;
  }

  .timeline__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-left: 26px;
  }

  .timeline::before {
    left: 3px;
  }

  .timeline__dot {
    left: -1px;
    top: 10px;
  }

  .timeline__year {
    text-align: left;
  }

  .map-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 28. Impression -------------------------------------------- */
@media print {
  .topbar,
  .site-header,
  .site-footer,
  .subnav,
  .search,
  .lightbox,
  .btn-row,
  .share {
    display: none !important;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }

  .page-hero {
    background: #fff !important;
    color: #000;
    padding: 0 0 18pt;
  }

  .page-hero h1,
  .page-hero__lead,
  .crumbs {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
