@import url('https://fonts.googleapis.com/css2?family=Fontdiner+Swanky&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* ===== Style global ===== */
body {
    margin: 0;
    background: #000000;
    color: #ffffff;
    font-family: Inter, "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.4375rem; /* 23px */
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* ===== Variables axe Présence ===== */
:root {
  --axe-presence-bg: #0e0e0e;
  --axe-presence-text: #ece7df;
  --axe-presence-accent: #8a8378;
  --axe-presence-font-body: Georgia, serif;
  --axe-presence-font-ui: system-ui, -apple-system, sans-serif;
}

/* ===== Conteneur principal ===== */
.centered {
  text-align: center;
}

/* ===== Axe Présence ===== */
.axe-presence {
  margin: 0;
  background: var(--axe-presence-bg);
  color: var(--axe-presence-text);
  font-family: var(--axe-presence-font-body);
  line-height: 1.65;
}

/* ===== Bloc de contenu ===== */
.axe-presence__main {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

/* ===== Figures ===== */
.axe-presence__main figure {
  margin: 0 0 2rem;
}

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

.axe-presence__main figure figcaption {
  font-family: var(--axe-presence-font-ui);
  font-size: 0.7rem;
  color: var(--axe-presence-accent);
  margin-top: 0.5rem;
}

/* ===== Titre ===== */
.axe-presence__main h1 {
  font-family: var(--axe-presence-font-ui);
  color: hsl(128, 74%, 67%);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 2.9rem;
  margin-bottom: 1.8rem;
}

/* ===== Paragraphes ===== */
.axe-presence__main p {
  margin: 0 0 1.2rem;
  font-size: 1.4375rem; /* 23px */
}

/* ===== Pagination ===== */
.axe-presence__pagination {
  margin: 3rem auto 0;
  max-width: 680px;
  padding: 1.5rem;
  border-top: 1px solid var(--axe-presence-accent);
  font-family: var(--axe-presence-font-ui);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.axe-presence__pagination-list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.axe-presence__pagination a,
.axe-presence__pagination span {
  color: var(--axe-presence-text);
  text-decoration: none;
  white-space: nowrap;
}

.axe-presence__pagination-list a {
  opacity: 0.55;
}

.axe-presence__pagination-list a:hover {
  opacity: 1;
  color: var(--axe-presence-accent);
}

.axe-presence__pagination-list a[aria-current="page"] {
  opacity: 1;
  color: var(--axe-presence-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.axe-presence__pagination-prev:hover,
.axe-presence__pagination-next:hover {
  color: var(--axe-presence-accent);
}

.axe-presence__pagination [aria-disabled="true"] {
  opacity: 0.3;
  pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .axe-presence__main {
    padding: 2rem 1.5rem;
  }

  .axe-presence__main h1 {
    font-size: 1.4rem;
  }

  .axe-presence__pagination {
    padding: 1rem;
    gap: 0.8rem;
    font-size: 1.3rem; /* doublé */
  }

  .axe-presence__pagination-list {
    gap: 0.7rem;
  }
}





/* ===== Correction granite pour <p class="centered"> ===== */
p.centered {
  font-size: 1rem !important; /* 16px */
  text-align: center !important;
}


/* =========================================================
   THE SEED — NAVIGATION VIVANTE
   ========================================================= */

.axe-presence__pagination {
  width: min(1200px, 94%);
  margin: 5rem auto 2.5rem;
  padding: 1.4rem 0;

  display: flex;
  align-items: center;
  gap: 2rem;

  font-family:
    "Cormorant Garamond",
    "Palatino Linotype",
    Georgia,
    serif;
}


/* =========================================================
   PRÉCÉDENT / SUIVANT
   ========================================================= */

.axe-presence__pagination-prev,
.axe-presence__pagination-next {
  flex-shrink: 0;

  color: rgba(225, 240, 225, 0.88);
  text-decoration: none;

  font-size: 1.18rem;
  letter-spacing: 0.06em;

  transition:
    color 0.5s ease,
    transform 0.5s ease,
    text-shadow 0.5s ease;
}

.axe-presence__pagination-prev span,
.axe-presence__pagination-next span {
  display: inline-block;
  transition: transform 0.5s ease;
}

.axe-presence__pagination-prev:hover {
  color: #f4fff4;
  transform: translateX(-5px);
  text-shadow: 0 0 18px rgba(210, 245, 215, 0.35);
}

.axe-presence__pagination-next:hover {
  color: #f4fff4;
  transform: translateX(5px);
  text-shadow: 0 0 18px rgba(210, 245, 215, 0.35);
}


/* =========================================================
   LISTE
   ========================================================= */

.axe-presence__pagination-list {
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 0.25rem 1.15rem;

  margin: 0;
  padding: 0;

  list-style: none;
}


/* =========================================================
   LETTRES
   ========================================================= */

.axe-presence__pagination-list a {
  position: relative;

  display: inline-block;

  padding: 0.35rem 0.1rem;

  color: rgba(225, 240, 225, 0.90);

  text-decoration: none;

  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.035em;

  transition:
    color 0.45s ease,
    text-shadow 0.45s ease,
    transform 0.45s ease;
}


/* =========================================================
   SOULIGNEMENT VIVANT
   ========================================================= */

.axe-presence__pagination-list a::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;

  height: 1px;

  background: rgba(235, 250, 235, 0.9);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.55s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.axe-presence__pagination-list a:hover {
  color: #ffffff;

  transform: translateY(-3px);

  text-shadow:
    0 0 8px rgba(210, 245, 215, 0.28),
    0 0 20px rgba(210, 245, 215, 0.16);
}

.axe-presence__pagination-list a:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   PRÉSENCE — LIEN ACTIF
   ========================================================= */

.axe-presence__pagination-list a[aria-current="page"] {
  color: #ffffff;

  text-shadow:
    0 0 8px rgba(220, 250, 220, 0.32),
    0 0 24px rgba(180, 235, 190, 0.18);

  animation: seed-breath 4.5s ease-in-out infinite;
}

.axe-presence__pagination-list a[aria-current="page"]::after {
  transform: scaleX(1);
}


/* =========================================================
   RESPIRATION
   ========================================================= */

@keyframes seed-breath {

  0%,
  100% {
    transform: translateY(0);
    text-shadow:
      0 0 8px rgba(220, 250, 220, 0.25),
      0 0 20px rgba(180, 235, 190, 0.12);
  }

  50% {
    transform: translateY(-2px);
    text-shadow:
      0 0 12px rgba(230, 255, 230, 0.38),
      0 0 30px rgba(180, 235, 190, 0.20);
  }
}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .axe-presence__pagination-list a,
  .axe-presence__pagination-list a[aria-current="page"] {
    animation: none;
    transition: none;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .axe-presence__pagination {
    flex-direction: column;
    gap: 1.5rem;
  }

  .axe-presence__pagination-list {
    gap: 0.4rem 1rem;
  }

  .axe-presence__pagination-list a {
    font-size: 1.25rem;
  }

  .axe-presence__pagination-prev,
  .axe-presence__pagination-next {
    font-size: 1.15rem;
  }

}






