/* Sentinel Cyber Afrique — feuille de style autonome. Aucune ressource externe. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0d11;
  --bg-raise: #10141a;
  --band: #0c0f13;
  --plate: #141920;
  --text: #e8eef3;
  --muted: #b7c3ce;
  --steel: #d5dee7;
  --line: #313a46;
  --ink: #12161c;
  --paper: #e7eef3;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.018) 0 1px,
    transparent 1px 4px
  );
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
.brand-name,
.num,
.footer-label {
  font-family: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 6.4vw, 4.15rem);
  letter-spacing: -0.03em;
  color: #f3f7fa;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: #f3f7fa;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
  color: #f3f7fa;
}

p {
  text-wrap: pretty;
  margin: 0;
}

strong {
  font-weight: 600;
}

a {
  color: #dbe7ef;
  text-underline-offset: 0.18em;
}

a:visited {
  color: #dbe7ef;
}

a:hover {
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid #f4f7fa;
  outline-offset: 3px;
}

::selection {
  background: #d5dee7;
  color: #12161c;
}

[id] {
  scroll-margin-top: 8rem;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  clip-path: none;
  width: auto;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #0b0d11;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.bar,
.wrap {
  width: min(68rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  padding: 0.35rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mark {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  color: var(--steel);
}

.mark path,
.mark polygon,
.mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.nav ul,
.crumbs ol,
.site-footer ul,
.offer-index {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 2px;
  color: #ffffff;
}

.stage {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--line);
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.backdrop canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.stage-copy {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.15rem 1.35rem;
  border-left: 3px solid #c5d3de;
}

.stage-home {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: calc(100svh - 5.25rem);
  padding: 0.75rem 1.25rem 1.35rem;
}

.map-slot {
  height: 32vh;
  flex: none;
  width: 100%;
}

.stage-home .stage-copy {
  width: min(40rem, 100%);
}

.stage-inner {
  padding: 14.5rem 1.25rem 1.5rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--steel);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--steel);
  flex: none;
}

.lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  margin: 0 0 0.9rem;
  font-size: 0.9375rem;
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.sep {
  margin-left: 0.45rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  align-items: center;
  margin-top: 1.45rem;
}

.link-solid,
.link-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1rem;
  font-weight: 600;
}

.link-solid,
.link-solid:visited {
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid #f7fbfe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.link-solid:hover {
  background: #ffffff;
  color: var(--ink);
}

.link-quiet,
.link-quiet:visited {
  color: var(--text);
  padding-inline: 0.15rem;
}

.plate {
  background-color: var(--plate);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0) 22%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.028) 0 1px,
      rgba(255, 255, 255, 0) 1px 3px
    );
  border: 1px solid #3c4652;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.band {
  position: relative;
  z-index: 1;
  background: var(--band);
  border-top: 1px solid var(--line);
  padding: 3.25rem 0;
}

.band-raise {
  background: var(--bg-raise);
}

.measure {
  max-width: 70ch;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose ul {
  margin: 0.4rem 0 0;
  padding-left: 1.25rem;
}

.prose li {
  margin: 0.4rem 0;
}

.prose li::marker {
  color: var(--steel);
}

.link-solid {
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}

.address-line {
  margin: 1.1rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid #c5d3de;
}

.btn-quiet:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.fine {
  margin-top: 1rem;
  color: var(--muted);
}

.end-note {
  margin-top: 1.6rem;
}

.toc ol {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.offer-index li,
.offer {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.35rem 0.85rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.offer {
  padding: 1.75rem 0;
}

.num {
  font-size: 1.35rem;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.offer-index h3 {
  margin: 0;
  font-size: 1.18rem;
}

.offer-index p,
.tag {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.tag {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--steel);
  font-size: 0.9375rem;
}

.boundary {
  border-left: 2px solid var(--steel);
  padding-left: 0.9rem;
}

.principles,
.levels {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.principle,
.levels div,
.pgp-block {
  background: var(--plate);
  border: 1px solid #3c4652;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 1.15rem 1.05rem 1.2rem;
}

.levels {
  margin: 1.25rem 0 0;
}

.levels dt {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  color: #f3f7fa;
}

.levels dd {
  margin: 0;
}

.cta {
  padding: 1.5rem 1.15rem 1.45rem;
}

.pgp-block {
  margin-top: 1.15rem;
  border-style: dashed;
  background: #0e1217;
}

.pgp {
  margin: 0.75rem 0;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  background: #0b0d11;
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-label {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.site-footer p + p,
.site-footer .footer-label + p {
  margin-top: 0.45rem;
}

.site-footer ul li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.legal-line {
  width: min(68rem, calc(100% - 2.5rem));
  margin: 1.6rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.break {
  overflow-wrap: break-word;
}

@media (min-width: 720px) {
  .offer-index li,
  .offer {
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem 1.25rem;
  }

  .principles,
  .levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta {
    padding: 2.2rem 2rem 2rem;
  }

  .stage-copy {
    padding: 1.6rem 1.5rem 1.7rem;
  }
}

@media (min-width: 960px) {
  .stage-home {
    justify-content: center;
    min-height: calc(100svh - 5rem);
    padding: 2.5rem 4vw 3rem;
  }

  .stage-home .map-slot {
    display: none;
  }

  .stage-home .stage-copy {
    width: min(34rem, 44vw);
  }

  .stage-inner {
    display: grid;
    grid-template-columns: minmax(0, 40rem) minmax(12rem, 1fr);
    column-gap: 2rem;
    align-items: center;
    min-height: 26rem;
    padding: 2.6rem 4vw 2rem;
  }

  .band {
    padding: 4.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: more) {
  .plate,
  .principle,
  .levels div,
  .pgp-block,
  .link-solid {
    border-color: var(--steel);
  }
}

@media (forced-colors: active) {
  .backdrop,
  .map-slot {
    display: none;
  }

  body,
  .site-header,
  .band,
  .plate,
  .site-footer,
  .principle,
  .levels div,
  .pgp-block {
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }

  a,
  .kicker,
  .num,
  .brand-sub {
    color: LinkText;
  }

  .link-solid,
  .link-solid:visited {
    background: ButtonFace;
    color: ButtonText;
    border-color: ButtonText;
  }
}

@media print {
  .backdrop,
  .map-slot,
  .skip,
  .nav {
    display: none;
  }

  body,
  .site-header,
  .band,
  .plate,
  .site-footer,
  .principle,
  .levels div {
    background: #ffffff;
    color: #111111;
    box-shadow: none;
  }

  a {
    color: #111111;
  }

  .stage-home,
  .stage-inner {
    min-height: 0;
    padding: 0;
  }
}
