/* ============================================================
   Antifeed — feuille de style unique
   Direction : page claire quasi monochrome, typographique,
   austère. Un seul accent : l'or profond #B08F3C (liens, tag).
   Police : Spectral (Production Type, licence OFL),
   auto-hébergée — aucun appel à un CDN.
   ============================================================ */

@font-face {
  font-family: "Spectral";
  src: url("/polices/spectral-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("/polices/spectral-400-italique.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("/polices/spectral-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #FAF9F6;
  --encre: #211E1A;
  --discret: #6F6A60;
  --or: #B08F3C;
  --or-sombre: #8A6F2E;
  --nuit: #0B1226; /* bleu nuit Captain Marketing, réservé au bouton d'alerte */
  --filet: #E6E2D9;
}

html {
  color-scheme: light;
}

body {
  margin: 0 auto;
  padding: 2.5rem 1.375rem 3rem;
  max-width: 42rem;
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--encre);
  background: var(--papier);
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--or);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--or-sombre);
}

h1, h2 {
  font-weight: 600;
  line-height: 1.3;
}

/* --- En-tête ------------------------------------------------ */

.entete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3.5rem;
}
.marque {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--encre);
  text-decoration: none;
}
.entete nav a {
  font-size: 0.9375rem;
  color: var(--discret);
  text-decoration: none;
}
.entete nav a:hover {
  color: var(--or-sombre);
  text-decoration: underline;
}

/* --- Hero (accueil uniquement) ------------------------------ */

.hero {
  margin-bottom: 3rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--filet);
}
.hero h1 {
  font-size: 1.875rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.rituel {
  font-style: italic;
}

/* --- Édition ------------------------------------------------ */

.edition-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  color: var(--discret);
}
.tag {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
}
.edition-titre {
  font-size: 1.375rem;
  margin: 0 0 0.25rem;
}
.edition-source {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--discret);
}
.video {
  margin: 0 0 1.75rem;
}
.video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* --- Bloc email « Préviens-moi » ---------------------------- */

.bloc-email {
  margin: 2.75rem 0;
  padding: 1.375rem 1.5rem;
  border: 1px solid var(--filet);
}
.bloc-email form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.bloc-email input[type="email"] {
  flex: 1 1 14rem;
  padding: 0.5em 0.75em;
  font: inherit;
  color: var(--encre);
  background: #FFFFFF;
  border: 1px solid #C9C4B7;
  border-radius: 0;
}
.bloc-email input[type="email"]:focus {
  outline: 2px solid var(--or);
  outline-offset: 1px;
  border-color: var(--or);
}
.bloc-email button {
  flex: 0 0 auto;
  padding: 0.5em 1.25em;
  font: inherit;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--nuit);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.bloc-email button:hover {
  background: #1C2236;
}
.microcopy {
  margin: 0.625rem 0 0;
  font-size: 0.875rem;
  color: var(--discret);
}

/* --- Fil et clôture ----------------------------------------- */

.precedente {
  font-size: 0.9375rem;
  color: var(--discret);
}
.cloture {
  margin-top: 2.5rem;
  font-style: italic;
  color: var(--discret);
}

/* --- Pages de prose (manifeste, mentions) ------------------- */

.prose h1 {
  font-size: 1.875rem;
  margin: 0 0 1.5rem;
}
.prose ul {
  padding-left: 1.25rem;
}
.prose li {
  margin-bottom: 0.375rem;
}

/* --- Pied de page ------------------------------------------- */

.pied {
  margin-top: 4.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--filet);
  font-size: 0.875rem;
  color: var(--discret);
}
.pied p {
  margin: 0.25rem 0;
}
.pied a {
  color: var(--discret);
}
.pied a:hover {
  color: var(--or-sombre);
}

/* --- Accessibilité ------------------------------------------ */

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

/* Le site n'anime rien ; ce garde-fou neutralise toute
   animation résiduelle pour qui préfère un écran immobile. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
