:root {
  --axe-nav-h: 80px;
}

/* ===== NAVBAR AXE — 3 colonnes ===== */
.navbar-axe {
  justify-content: space-between;
}

.nav-back {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--bg);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-back:hover {
  opacity: 1;
}

.nav-breadcrumb {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--bg);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-axe-num {
  font-weight: 700;
}

.nav-axe-num--vert {
  color: var(--vert);
}

.nav-axe-num--rouge {
  color: var(--rouge);
}

.nav-axe-num--bleu {
  color: var(--bleu);
}

/* Mobile : on cache le breadcrumb, trop étroit */
@media (max-width: 1199px) {
  .nav-breadcrumb {
    display: none;
  }
}

/* ===== LAYOUT AXE — scroll autorisé ===== */
.corp--axe {
  min-height: calc(100vh - var(--navbar-h) - var(--axe-nav-h));
  overflow: visible;
  height: auto;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  main.corp--axe {
    height: auto;
    min-height: calc(100vh - var(--navbar-h) - var(--axe-nav-h));
    overflow: visible;
  }

  .corp--axe .conteneur {
    overflow: visible;
    gap: 0;
    align-self: flex-start;
    min-width: 0;
    flex: 1;
  }

  .corp--axe aside {
    position: static;
    height: auto;
    align-self: stretch;
  }
}

/* ===== AXE CONTENT ===== */
.axe-content {
  padding: 0;
}

/* ===== SECTIONS ===== */
.axe-section {
  padding: 3rem 1.25rem;
}

/* Section label — badge numéroté + titre avec underline accent */
.axe-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--axe-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.axe-section-num {
  background-color: var(--axe-color);
  color: var(--bg);
  font-size: 0.85rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Texte paragraphe */
.axe-text {
  font-size: 1rem;
  line-height: 1.75;
  text-indent: 1.5em;
}

/* Section 2 col — texte à gauche, image à droite */
.axe-section--2col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.axe-section-body {
  display: flex;
  flex-direction: column;
}

.axe-section-img {
  border: 2px solid var(--axe-color);
  overflow: hidden;
  width: 100%;
}

.axe-section-img img {
  width: 100%;
  height: auto;
  display: block;
}

.axe-section-img iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}

/* Section centrée */
.axe-section--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.axe-section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  text-align: center;
}

.axe-text--wide {
  max-width: 70ch;
  text-align: left;
}

/* 3 portraits Emissaries */
.axe-emissaries {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  border-bottom: 2px solid var(--axe-color);
  padding-bottom: 0;
}

.axe-emissary {
  flex: 1;
  overflow: hidden;
  align-items: center;
}

.axe-emissary img {
  height: 400px;
  margin: 0 auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

/* Bloc conclusion vert */
.axe-conclusion {
  background-color: var(--axe-color);
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 800px;
  margin: auto;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.axe-conclusion .axe-text {
  color: var(--bg);
}

/* ===== DESKTOP ===== */
@media (min-width: 1200px) {
  .axe-section {
    padding: 4rem 3rem 4rem 2rem;
  }

  .axe-section--2col {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .axe-section-body {
    flex: 0 0 44%;
    min-width: 0;
  }

  .axe-section-img {
    flex: 0 0 48%;
  }

  .axe-text {
    font-size: 1rem;
  }

  .axe-emissaries {
    flex-direction: row;
    gap: 1rem;
  }

  .axe-emissary img {
    height: 380px;
  }

  .axe-conclusion {
    padding: 2.5rem 2rem;
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
    max-width: 800px;
  }
}

/* ===== BOTTOM NAV ===== */

.axe-nav {
  height: var(--axe-nav-h);
  background-color: var(--black);
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

.axe-nav a {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--bg);
  border-right: 1px solid rgba(232, 223, 208, 0.15);
  transition: opacity 0.2s;
}

.axe-nav a:last-child {
  border-right: none;
  border-left: 1px solid rgba(232, 223, 208, 0.15);
  margin-left: auto;
}

.axe-nav a:hover {
  opacity: 0.7;
}

.axe-nav .nav-center {
  border-left: 1px solid rgba(232, 223, 208, 0.15);
  border-right: 1px solid rgba(232, 223, 208, 0.15);
  margin: 0 auto;
  opacity: 0.5;
}

.nav-center:hover {
  opacity: 0.8;
}


/* Mobile : on réduit le padding */
@media (max-width: 1199px) {
  .axe-nav a {
    padding: 0 0.875rem;
  }
}

/* ===== BLOC CITATION ===== */
.axe-quote {
  align-self: flex-start;
  background-color: var(--black);
  padding: 1.25rem 1.5rem 1.5rem;
  margin: 0 1.25rem 1.5rem;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.axe-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 5vw, 3rem);
  color: var(--bg);
  line-height: 1.15;
}

.axe-quote cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--bg);
  opacity: 0.6;
  margin-top: 1rem;
}

/* ===== HEADER AXE — titre + image bg + citation ===== */
.axe-header--dark {
  background-color: var(--black);
}

.axe-header--dark h1,
.axe-header--dark .axe-sep {
  color: var(--bg);
}

.axe-header-char {
  display: block;
  height: clamp(200px, 65vw, 450px);
  width: auto;
  align-self: center;
  object-fit: contain;
  pointer-events: none;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .axe-header-char {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 90%;
    align-self: auto;
  }
}

.axe-header {
  height: 60vh;
  min-height: fit-content;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1200px) {
  .axe-header {
    height: calc(100vh - var(--navbar-h));
  }
}

.axe-header-top {
  padding: 1.5rem 1.25rem 0;
}

.axe-header h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
}

.axe-num {
  color: var(--axe-color);
}

.axe-sep {
  width: 32px;
  height: 2px;
  background-color: var(--black);
  margin: 0.75rem 0 0;
}

@media (min-width: 1200px) {
  .axe-header-top {
    padding: 2rem 3rem 0 2rem;
  }
}