/* Pages guides (SEO) — mêmes couleurs que le site */
:root {
  --bg: #05070f; --card: #0d1120; --surface: #0a0d1a; --line: #1a2138;
  --txt: #e2e6f3; --txt2: #98a0bd; --muted: #5f6788;
  --blue: #4f7cff; --cyan: #22d3ee; --violet: #8b5cf6;
  --grad: linear-gradient(90deg, #7ee7ff 0%, #7c9bff 48%, #b79cff 100%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font: 16px/1.65 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background-image: radial-gradient(ellipse 70% 40% at 50% -10%, rgba(79,124,255,.16), transparent 70%);
  background-repeat: no-repeat;
}
a { color: #7c9bff; }
a:hover { color: var(--cyan); }
.sx-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
.sx-head { border-bottom: 1px solid var(--line); background: rgba(10,14,28,.85); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.sx-head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 10px; }
.sx-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--txt); min-width: 0; }
.sx-logo img { border-radius: 50%; flex: 0 0 auto; }
.sx-logo b { display: block; font-family: Cinzel, serif; font-size: 1.05rem; letter-spacing: .02em; }
.sx-logo small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.sx-open { flex: 0 0 auto; text-decoration: none; color: #fff; font-weight: 600; font-size: .88rem; padding: 9px 16px; border-radius: 999px; background: linear-gradient(135deg, #22d3ee, #4f7cff 55%, #8b5cf6); }
.sx-open:hover { color: #fff; filter: brightness(1.1); }
.sx-nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.sx-nav::-webkit-scrollbar { display: none; }
.sx-nav a { flex: 0 0 auto; text-decoration: none; color: var(--txt2); font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; }
.sx-nav a:hover, .sx-nav a.on { color: var(--txt); background: rgba(79,124,255,.12); }

/* Contenu */
.sx-main { padding-top: 22px; padding-bottom: 40px; }
.sx-crumb { font-size: .82rem; color: var(--muted); margin: 0 0 10px; }
.sx-crumb a { color: var(--txt2); text-decoration: none; }
.sx-crumb span { margin: 0 4px; }
h1 { font-family: Cinzel, serif; font-weight: 900; font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.2; margin: 0 0 14px; }
h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-family: Cinzel, serif; font-size: clamp(1.15rem, 3vw, 1.45rem); margin: 34px 0 12px; padding-left: 12px; border-left: 3px solid var(--cyan); }
h2 small { font-family: Inter, sans-serif; font-size: .8rem; color: var(--muted); font-weight: 500; }
.sx-lead { font-size: 1.06rem; color: var(--txt2); max-width: 820px; }
.sx-lead b, .sx-list b { color: var(--txt); }
.sx-small { font-size: .8rem; color: var(--muted); }

.sx-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 20px 0 6px; }
.sx-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.sx-stats b { display: block; font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-stats span { color: var(--txt2); font-size: .82rem; }

.sx-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); color: var(--txt2); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
td:nth-child(4) { color: var(--txt2); }

.sx-list { padding-left: 20px; color: var(--txt2); }
.sx-list li { margin: 6px 0; }

.sx-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.sx-card { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.sx-card img { flex: 0 0 auto; object-fit: contain; }
.sx-card h3 { margin: 0 0 2px; font-size: 1.02rem; }
.sx-card p { margin: 0 0 6px; color: var(--txt2); font-size: .88rem; line-height: 1.5; }
.sx-card .sx-meta { color: var(--cyan); font-size: .8rem; font-weight: 600; }
.sx-card a { font-size: .86rem; font-weight: 600; text-decoration: none; }

.sx-rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sx-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.sx-rows li:nth-child(even) { background: var(--surface); }
.sx-rows li:last-child { border-bottom: 0; }
.sx-rows a { text-decoration: none; color: var(--txt); }
.sx-rows a:hover b { color: var(--cyan); }
.sx-rows b { font-weight: 600; }
.sx-rows span { color: var(--txt2); font-size: .82rem; text-align: right; }

.sx-cls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; }
.sx-cls { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--txt); text-align: center; }
.sx-cls:hover { border-color: var(--blue); color: var(--txt); }
.sx-cls span { color: var(--muted); font-size: .78rem; }
.sx-cls-head { display: flex; align-items: center; gap: 16px; }
.sx-cls-head img { flex: 0 0 auto; }

.sx-cta-box { margin-top: 36px; padding: 22px; border-radius: 16px; text-align: center; background: radial-gradient(ellipse 60% 120% at 50% 0%, rgba(79,124,255,.18), transparent 70%), var(--card); border: 1px solid rgba(79,124,255,.3); }
.sx-cta-box p { margin: 0 0 14px; color: var(--txt2); }
.sx-btn { display: inline-block; text-decoration: none; color: #fff; font-weight: 700; padding: 13px 24px; border-radius: 999px; background: linear-gradient(135deg, #22d3ee, #4f7cff 55%, #8b5cf6); }
.sx-btn:hover { color: #fff; filter: brightness(1.1); }

/* Pied de page */
.sx-foot { border-top: 1px solid var(--line); background: var(--surface); padding: 30px 0; font-size: .86rem; }
.sx-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.6fr; gap: 24px; }
.sx-foot b { display: block; margin-bottom: 8px; color: var(--txt); }
.sx-foot p { color: var(--txt2); margin: 0 0 8px; }
.sx-foot a { display: block; color: var(--txt2); text-decoration: none; padding: 2px 0; }
.sx-foot p a { display: inline; }
.sx-foot a:hover { color: var(--cyan); }
.sx-foot-cls { columns: 2; }
.sx-foot-cls b { column-span: all; }

@media (max-width: 760px) {
  .sx-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sx-cards { grid-template-columns: 1fr; }
  .sx-foot-grid { grid-template-columns: 1fr; }
  .sx-rows li { flex-direction: column; gap: 2px; }
  .sx-rows span { text-align: left; }
  .sx-logo small { display: none; }
  .sx-cls-head { align-items: flex-start; }
  .sx-cls-head img { width: 56px; height: 56px; }
}
