
:root {
  --ink:#241D49; --muted:#6F6A8F; --bg:#F2F1FA;
  --card:#FFFFFF; --line:#E8E5F4; --surface:#F7F6FC;
  --display:'Nunito','Trebuchet MS',sans-serif;
  --body:'DM Sans','Segoe UI',system-ui,-apple-system,sans-serif;
  --r-sm:10px; --r-md:14px; --r-lg:18px; --r-xl:24px;
  /* accent par defaut (violet) — surcharge par site via ACCENT_CSS */
  --a1:#8A6BFF; --a2:#5026C9; --asoft:#EDE9FF; --tint:123,97,255;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(680px 440px at 4% -6%, rgba(var(--tint),.14), transparent 60%),
    radial-gradient(560px 440px at 100% 2%, rgba(var(--tint),.07), transparent 62%),
    var(--bg);
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; margin-top: 0; line-height: 1.14; text-wrap: balance; }
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 30;
  padding: 10px 16px; background: var(--ink); color: #fff;
  border-radius: 10px; font-family: var(--display); font-weight: 800;
}
.skip-link:focus { top: 12px; }
.shell { width: min(1120px, calc(100% - 44px)); margin: 0 auto; }

/* ---- HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 13px; color: #fff; font-family: var(--display); font-weight: 900; font-size: 20px;
  background: linear-gradient(150deg, var(--a1), var(--a2));
  box-shadow: 0 10px 20px -9px rgba(var(--tint),.75), inset 0 2px 3px rgba(255,255,255,.4), inset 0 -4px 7px rgba(0,0,0,.16);
}
.network { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 7px 13px; border-radius: 11px; }

/* ---- HERO ---- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 94px 0 86px;
  background:
    radial-gradient(115% 130% at 8% -8%, rgba(0,0,0,.30), transparent 52%),
    radial-gradient(120% 120% at 92% 112%, rgba(255,255,255,.20), transparent 50%),
    linear-gradient(152deg, var(--a1), var(--a2));
}
.hero::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; top: -140px; right: -70px; background: rgba(255,255,255,.12); }
.hero::after { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%; bottom: -96px; right: 22%; background: rgba(255,255,255,.08); }
.hero-copy { position: relative; z-index: 2; max-width: 920px; }
.eyebrow {
  margin: 0 0 16px; font-family: var(--display); font-weight: 900; font-size: 13px;
  letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.94);
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32);
  padding: 7px 14px; border-radius: 20px;
}
h1 { margin-bottom: 22px; font-size: clamp(36px, 5.5vw, 62px); color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.18); max-width: 900px; }
.lead { max-width: 720px; margin: 0; font-size: clamp(18px, 2.3vw, 23px); line-height: 1.55; color: rgba(255,255,255,.95); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { font-family: var(--display); font-weight: 800; font-size: 13.5px; color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.34); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(3px); }

/* ---- SECTIONS ---- */
.section { padding: 74px 0; }
.section-soft { background: linear-gradient(180deg, #fff, var(--surface)); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 16px; }
h3 { font-size: 19px; margin-bottom: 9px; }
.section-intro { max-width: 760px; margin-bottom: 34px; color: var(--muted); font-size: 18px; line-height: 1.6; }

/* ---- CARTES ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 28px 24px; box-shadow: 0 18px 34px -26px rgba(var(--tint),.55);
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 42px -24px rgba(var(--tint),.62); }
.card-index {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 13px; color: #fff; font-family: var(--display); font-weight: 900; font-size: 18px;
  background: linear-gradient(150deg, var(--a1), var(--a2));
  box-shadow: 0 9px 18px -9px rgba(var(--tint),.8), inset 0 2px 3px rgba(255,255,255,.4), inset 0 -4px 7px rgba(0,0,0,.15);
}
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---- A PROPOS + SUJETS ---- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(266px, .8fr); gap: 56px; align-items: start; }
.prose p { margin: 0 0 20px; color: #4a4470; font-size: 18px; line-height: 1.7; }
.topics { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--a2); box-shadow: 0 16px 30px -26px rgba(var(--tint),.5); }
.topics h3 { font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--a2); }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.topic-list li { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--a2); background: var(--asoft); border: 1px solid rgba(var(--tint),.22); padding: 7px 11px; border-radius: 9px; }

/* ---- FAQ ---- */
.faq-list { max-width: 900px; display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: 0 10px 22px -22px rgba(var(--tint),.5); overflow: hidden; }
summary { padding: 19px 60px 19px 22px; cursor: pointer; position: relative; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px;
  background: var(--asoft); color: var(--a2); font-size: 20px; font-weight: 900; line-height: 1;
}
details[open] summary { color: var(--a2); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---- NOTE EDITORIALE ---- */
.editorial-note {
  margin-top: 30px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--asoft); border: 1px solid rgba(var(--tint),.2); border-left: 4px solid var(--a2);
  color: #4a4470; font-size: 15px; line-height: 1.6;
}
.editorial-note strong { font-family: var(--display); color: var(--a2); }

/* ---- FOOTER ---- */
.site-footer { padding: 38px 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, var(--surface)); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-family: var(--display); font-weight: 700; }
.footer-inner strong { color: var(--ink); font-weight: 900; }

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 1120px); }
  .network { display: none; }
  .hero { padding: 64px 0 54px; }
  .section { padding: 52px 0; }
  .card-grid, .content-grid { grid-template-columns: 1fr; }
  .content-grid { gap: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
:root{--a1:#3D9BFF;--a2:#1C6FD0;--asoft:#EAF5FF;--tint:77,168,255;}