/* Guides AFRO-ENERGY — mise en page de lecture, même charte que l'accueil */
:root {
  --sand: #FBF5E7; --cream: #FFFDF6; --ink: #3D2E14; --ink-soft: #7A6844;
  --orange: #E8641F; --orange-deep: #C74E10;
  --amber: #F5A623; --sun: #FFC94A; --green: #14563C; --green-soft: #E3EEE5; --line: #EADFC6;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--sand); color: var(--ink);
  font-family: "Avenir Next", "Seravek", "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.62; -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
.wrap { max-width: 780px; margin: 0 auto; padding: 28px 24px 80px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
header.top .logo { display: inline-flex; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 9px 16px; }
header.top .logo img { display: block; height: 24px; width: auto; }
header.top .back { font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
header.top .back:hover { color: var(--green); }
.crumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.doc { background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: clamp(28px, 5vw, 52px); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
h1 { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(32px, 5vw, 44px); line-height: 1.08; color: var(--green); margin-bottom: 10px; }
.updated { font-size: 14px; color: var(--ink-soft); }
.tldr { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 4px; padding: 18px 22px; margin-top: 26px; font-size: 16px; }
.tldr strong { color: var(--green); }
section { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 30px; }
h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 26px; color: var(--green); margin-bottom: 12px; }
h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
p { font-size: 16.5px; margin-bottom: 13px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 6px 0 14px; }
ul { list-style: none; }
ul li { font-size: 16px; padding-left: 22px; position: relative; margin-bottom: 9px; }
ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
ol { padding-left: 24px; }
ol li { font-size: 16px; margin-bottom: 9px; padding-left: 4px; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 8px; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--ink-soft); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }
td.lab { font-weight: 700; color: var(--green); white-space: nowrap; }
.note { background: var(--sand); border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; font-size: 15px; margin: 14px 0; }
.faq dt { font-weight: 700; font-size: 16.5px; margin-top: 16px; }
.faq dd { margin: 6px 0 0; font-size: 16px; }
/* Appel à l'inscription */
.cta { margin-top: 34px; background: linear-gradient(180deg, #FFE9BE, #FFD98F); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 36px); text-align: center; }
.cta h2 { margin-bottom: 8px; }
.cta p { font-size: 15.5px; max-width: 520px; margin: 0 auto; }
.cta form { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.cta input[type="email"] { flex: 1 1 240px; max-width: 340px; padding: 13px 16px; border: 1px solid #E0C48A; border-radius: 8px; font-size: 15.5px; font-family: inherit; background: var(--cream); color: var(--ink); }
.cta button { padding: 13px 22px; border: none; border-radius: 8px; background: var(--orange); color: #FFF8E8; font-weight: 700; font-size: 15.5px; font-family: inherit; cursor: pointer; }
.cta button:hover { background: var(--orange-deep); }
.cta .fine { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }
.cta .fine a { color: var(--ink-soft); }
/* Autres guides */
.related { margin-top: 30px; }
.related h2 { font-size: 22px; }
.related ul { margin-top: 10px; }
.related li a { font-weight: 600; text-decoration: none; }
.related li a:hover { text-decoration: underline; }
.related li span { display: block; font-size: 14.5px; color: var(--ink-soft); }
/* Index des guides */
.cards { display: grid; gap: 16px; margin-top: 26px; }
.card { display: block; background: var(--sand); border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; text-decoration: none; color: inherit; }
.card:hover { border-color: var(--amber); }
.card h2 { font-size: 23px; margin-bottom: 6px; }
.card p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }
footer { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--green); }
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  td { border: none; padding: 2px 0; }
  td.lab { padding-top: 4px; white-space: normal; }
  td[data-l]::before { content: attr(data-l) " : "; font-weight: 700; color: var(--ink-soft); }
}
