/* Feuille de style partagée par toutes les pages de la rubrique Guides.
   Volontairement autonome (pas de Tailwind) : ces pages sont du HTML statique
   servi directement par Vercel, sans passer par le build de l'application.
   Les couleurs et les polices reprennent exactement la charte du site. */

:root {
  --bg: #faf8f5;
  --ink: #1f2124;
  --ink-soft: #2a2d32;
  --ink-muted: #6b655b;
  --ink-faint: #787167;
  --accent: #8c5e3c;
  --accent-soft: #faf3ea;
  --border: #e8dfc9;
  --gold: #e6c280;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* En-tête */
header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}
.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.logo em {
  color: var(--accent);
  font-style: normal;
}
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 10px;
  padding: 11px 20px;
  text-decoration: none;
  background: var(--ink-soft);
  color: #fff;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #1a1c1f;
}

/* Contenu éditorial */
main {
  padding: 56px 0 72px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  margin: 44px 0 14px;
}
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin: 30px 0 10px;
}
p {
  margin-bottom: 18px;
  color: var(--ink-soft);
}
.lede {
  font-size: 19px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.meta {
  font-size: 13.5px;
  color: var(--ink-faint);
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--border);
}
ul,
ol {
  margin: 0 0 20px 22px;
  color: var(--ink-soft);
}
li {
  margin-bottom: 9px;
}
a {
  color: var(--accent);
}
strong {
  font-weight: 600;
  color: var(--ink);
}
blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 26px 0;
  color: var(--ink-muted);
  font-style: italic;
}
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  font-weight: 600;
}

/* Encart d'appel à l'action en fin d'article */
.cta {
  margin: 48px 0 0;
  background: var(--ink-soft);
  border-radius: 20px;
  padding: 38px 32px;
  text-align: center;
}
.cta h2 {
  color: var(--gold);
  margin: 0 0 10px;
  font-size: 23px;
}
.cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 22px;
}
.cta .btn {
  background: var(--accent);
}
.cta .btn:hover {
  background: #784f31;
}

/* Liste des guides */
.guide-list {
  list-style: none;
  margin: 0;
}
.guide-list li {
  margin-bottom: 14px;
}
.guide-list a {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.guide-list a:hover {
  box-shadow: 0 10px 26px -14px rgba(31, 33, 36, 0.2);
  transform: translateY(-2px);
}
.guide-list .t {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 5px;
}
.guide-list .d {
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* Maillage interne entre articles : posé juste avant l'appel à l'action
   final, pour transformer la visite d'un article en visite de plusieurs. */
.see-also {
  margin: 40px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.see-also h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin: 0 0 12px;
  font-family: var(--sans);
  font-weight: 600;
}
.see-also ul {
  margin: 0;
  list-style: none;
}
.see-also li {
  margin-bottom: 8px;
}
.see-also a {
  font-weight: 600;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}
footer.site a {
  color: inherit;
  text-decoration: none;
  margin: 0 10px;
}
footer.site a:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  main {
    padding: 36px 0 52px;
  }
}
