/* =========================
   Archivist-ish (Quarto)
   ========================= */

/* ---- Font faces (depuis le zip WP) ---- */
@font-face{
  font-family:"Jackwrite";
  src:url("../fonts/jackwrite/jackwrite-400-normal.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Jackwrite";
  src:url("../fonts/jackwrite/jackwrite-700-normal.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Overused Grotesk";
  src:url("../fonts/overused-grotesk/overused-grotesk_normal_400.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Overused Grotesk";
  src:url("../fonts/overused-grotesk/overused-grotesk_normal_500.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Overused Grotesk";
  src:url("../fonts/overused-grotesk/overused-grotesk_normal_600.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Overused Grotesk";
  src:url("../fonts/overused-grotesk/overused-grotesk_italic_400.woff2") format("woff2");
  font-weight:400;
  font-style:italic;
  font-display:swap;
}
@font-face{
  font-family:"Overused Grotesk";
  src:url("../fonts/overused-grotesk/overused-grotesk_italic_500.woff2") format("woff2");
  font-weight:500;
  font-style:italic;
  font-display:swap;
}
@font-face{
  font-family:"Overused Grotesk";
  src:url("../fonts/overused-grotesk/overused-grotesk_italic_600.woff2") format("woff2");
  font-weight:600;
  font-style:italic;
  font-display:swap;
}

/* ---- Palette Archivist (depuis theme.json WP) ---- */
:root{
  --archivist-base: #9fd4df;
  --archivist-contrast: #19191ad9;
  --archivist-primary: #19191ae6;
  --archivist-secondary: #fafafa60;

  /* Override variables Bootstrap utilisées par Quarto */
  --bs-body-bg: var(--archivist-base);
  --bs-body-color: var(--archivist-primary);
  --bs-body-font-family: "Jackwrite", ui-serif, Georgia, "Times New Roman", serif;

  --bs-link-color: var(--archivist-contrast);
  --bs-link-hover-color: var(--archivist-primary);
}

/* Largeur de lecture = 760px (comme Archivist) */
.content, .page-columns .content{
  max-width: 760px;
}

/* Titres en sans (Overused Grotesk), comme Archivist */
h1,h2,h3,h4,h5,h6,
.quarto-title-block .title{
  font-family: "Overused Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.125;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Paragraphes un peu plus “literary” */
p{ text-wrap: pretty; }

/* Liens : underline discret + pas de soulignement au hover (Archivist) */
a{
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover{
  text-decoration: none;
}

/* Navbar sobre, sans bandeau blanc */
.navbar{
  background: transparent !important;
  border-bottom: none !important;
}
.navbar .navbar-brand,
.navbar .nav-link{
  font-family: "Overused Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  color: var(--archivist-primary) !important;
}
.navbar .nav-link:hover{
  opacity: 0.85;
}

/* Footer plus discret */
.page-footer{
  border-top: none;
  opacity: 0.9;
}

