/* Guides — page d'accueil /guides et articles /guides/<slug>.
   Mêmes tokens que metiers.html / evenements.html (palette "Signal"). */
:root {
  --void: #0b0b0c;
  --s1: #181113;
  --s2: #221619;
  --pink: #ff2fa0;
  --pink-soft: rgba(255, 47, 160, 0.14);
  --green: #10b981;
  --t1: #f6f5f2;
  --t2: rgba(246, 245, 242, 0.68);
  --t3: rgba(246, 245, 242, 0.45);
  --b1: rgba(255, 255, 255, 0.1);
  --b2: rgba(255, 255, 255, 0.16);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  min-height: 100%;
  overflow-x: hidden;
}
body {
  background: var(--void);
  color: var(--t1);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}
.wrap.narrow {
  max-width: 760px;
}
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}
h1 {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.12;
  text-wrap: balance;
}
.lede {
  color: var(--t2);
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
  margin-top: 14px;
}
.crumbs {
  font-size: 13px;
  color: var(--t3);
  margin-bottom: 18px;
}
.crumbs a {
  text-decoration: none;
  color: var(--t2);
}
.crumbs a:hover {
  color: var(--pink);
}

/* ── Hub : audiences ── */
.intro {
  color: var(--t2);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 68ch;
  margin-top: 18px;
}
.audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.aud {
  background: var(--s1);
  border: 1px solid var(--b1);
  border-radius: 20px;
  padding: 22px 20px;
}
.aud h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.aud ul {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.aud li {
  display: flex;
  gap: 9px;
  color: var(--t2);
  font-size: 14px;
  line-height: 1.45;
}
.aud li svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--pink);
}

/* ── Hub : filtres + grille d'articles ── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--b2);
  background: transparent;
  color: var(--t1);
  font: 600 13.5px "Manrope", sans-serif;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.articles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.articles li[hidden] {
  display: none;
}
.art {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--s1);
  border: 1px solid var(--b1);
  border-radius: 20px;
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.art:hover {
  border-color: rgba(255, 47, 160, 0.55);
  transform: translateY(-2px);
}
.tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 11.5px;
  font-weight: 700;
}
.art h3 {
  margin-top: 12px;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.art p {
  margin-top: 10px;
  color: var(--t2);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.art .more {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
}
.empty {
  margin-top: 20px;
  color: var(--t2);
  font-size: 15px;
}

/* ── CTA ── */
.cta {
  margin-top: 48px;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 47, 160, 0.4);
  background: var(--s1);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.cta h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.cta p {
  margin-top: 6px;
  color: var(--t2);
  font-size: 14.5px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--b2);
  background: transparent;
  color: var(--t1);
  font: 700 14px "Manrope", sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.btn.p {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ── Article ── */
.meta {
  margin-top: 14px;
  color: var(--t3);
  font-size: 13px;
}
.prose {
  margin-top: 28px;
}
.prose h2 {
  margin: 38px 0 12px;
  font-family: "Unbounded", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  scroll-margin-top: 90px;
}
.prose p,
.prose li {
  color: var(--t2);
  font-size: 16px;
  line-height: 1.75;
}
.prose p {
  margin-top: 12px;
}
.prose ul,
.prose ol {
  margin: 12px 0 0 22px;
  display: grid;
  gap: 8px;
}
.prose a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--t1);
}
.toc {
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--s1);
  border: 1px solid var(--b1);
}
.toc b {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
}
.toc ol {
  margin: 10px 0 0 20px;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
}
.toc a {
  color: var(--t1);
  text-decoration: none;
}
.toc a:hover {
  color: var(--pink);
}
.callout {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--pink-soft);
  border: 1px solid rgba(255, 47, 160, 0.35);
  color: var(--t1);
  font-size: 15px;
  line-height: 1.65;
}
.faq {
  margin-top: 8px;
}
.faq details {
  border-top: 1px solid var(--b1);
  padding: 14px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--b1);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--pink);
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin-top: 10px;
}

/* Blocs alimentés en direct par l'API (agenda, talents) */
.live {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.live-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--s1);
  border: 1px solid var(--b1);
  text-decoration: none;
  color: var(--t1);
}
.live-row:hover {
  border-color: rgba(255, 47, 160, 0.5);
}
.live-thumb {
  flex: none;
  width: 52px;
  height: 66px;
  border-radius: 10px;
  background: var(--s2) center / cover;
}
.live-thumb.round {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.live-row strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.live-row small {
  display: block;
  margin-top: 3px;
  color: var(--t2);
  font-size: 13px;
}
.live-empty {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--s1);
  border: 1px dashed var(--b2);
  color: var(--t2);
  font-size: 15px;
}

footer.mini {
  border-top: 1px solid var(--b1);
  padding: 24px 20px calc(24px + 72px);
  text-align: center;
  font-size: 13px;
  color: var(--t3);
}
footer.mini a {
  color: var(--t2);
  text-decoration: none;
  margin: 0 8px;
}

@media (max-width: 900px) {
  .audiences,
  .articles {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .art {
    transition: none;
  }
  .art:hover {
    transform: none;
  }
}
