/* SentinelleWeb — site de présentation (sentinelleweb.fr) */

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #1a1a2e;
  --muted: #5b6072;
  --border: #e3e6ef;
  --accent: #e63946;
  --header: #1a1a2e;
  --link: #2747b8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12131c;
    --surface: #1c1e2b;
    --text: #eceef5;
    --muted: #a3a8ba;
    --border: #2c2f40;
    --header: #0c0d14;
    --link: #8fa6ff;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--link); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site {
  background: var(--header);
  color: #fff;
  padding: 18px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

header.site a { color: #fff; text-decoration: none; }
header.site .brand { font-weight: 650; font-size: 19px; }
header.site nav { display: flex; gap: 18px; font-size: 15px; flex-wrap: wrap; }
header.site nav a { color: #c9cce0; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: #fff; }

.hero { padding: 48px 0 28px; }
.hero h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.2px; }
.hero p { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 620px; }

.badge-beta {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.3px;
}

main { padding-bottom: 56px; }

section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 26px;
  margin-top: 18px;
}

h2 { font-size: 21px; margin-bottom: 10px; }
h3 { font-size: 17px; margin: 16px 0 6px; }
p + p { margin-top: 10px; }
ul, ol { margin: 8px 0 0 22px; }
li + li { margin-top: 6px; }
.muted { color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
th, td { text-align: left; padding: 9px 8px; border-top: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; }

.pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 14px;
  font-size: 13px;
  border: 1px solid;
  max-width: 100%;
}
.pill.dup  { color: #7c3aed; background: #7c3aed1a; border-color: #7c3aed66; }
.pill.low  { color: #b45309; background: #f59e0b1a; border-color: #f59e0b66; }
.pill.mid  { color: #c2410c; background: #f973161a; border-color: #f9731666; }
.pill.high { color: #dc2626; background: #ef44441a; border-color: #ef444466; }

@media (prefers-color-scheme: dark) {
  .pill.dup  { color: #c4b5fd; }
  .pill.low  { color: #fcd34d; }
  .pill.mid  { color: #fdba74; }
  .pill.high { color: #fca5a5; }
}

footer.site { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); }

@media (max-width: 560px) {
  .hero h1 { font-size: 27px; }
  section { padding: 18px 16px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-top: 0; padding: 2px 0; }
  td:first-child { font-weight: 600; }
  tr { border-top: 1px solid var(--border); padding: 8px 0; }
}
