/* =========================================================
   SCRYPTOURA - Design System
   Couleurs : Noir profond + accents jaune (#FFF318) et rouge (#B40124)
   ========================================================= */

:root {
  --bg: #0A0A0B;
  --bg-elev: #141416;
  --bg-card: #1A1A1D;
  --border: #2A2A2E;
  --border-strong: #3A3A40;
  --text: #FFFFFF;
  --text-muted: #B5B5BA;
  --text-dim: #7A7A80;
  --yellow: #FFF318;
  --yellow-soft: rgba(255, 243, 24, 0.10);
  --red: #B40124;
  --red-soft: rgba(180, 1, 36, 0.12);
  --green: #10B981;
  --orange: #F59E0B;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;
  --radius-xl: 10px;

  --max-width: 1200px;
  --shadow: 0 1px 3px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.25);
  --shadow-glow: 0 0 0 1px rgba(255,243,24,.25), 0 8px 30px rgba(255,243,24,.10);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(10,10,11,.96), rgba(10,10,11,.88) 44%, rgba(10,10,11,.97)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.site-ambient {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  z-index: 0;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,243,24,.055), transparent 30%),
    radial-gradient(circle at 86% 72%, rgba(180,1,36,.075), transparent 34%);
}
.site-ambient::before,
.site-ambient::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}
.site-ambient::before {
  background:
    linear-gradient(110deg, transparent 0 46%, rgba(255,243,24,.045) 49%, transparent 52% 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.026) 0 1px, transparent 1px 118px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 118px);
  opacity: .42;
  transform: translate3d(-2%, -1%, 0);
  animation: ambientPanelShift 42s linear infinite;
}
.site-ambient::after {
  background:
    radial-gradient(circle at var(--mouse-x, 58%) var(--mouse-y, 34%), rgba(255,243,24,.08), transparent 18%),
    linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
  opacity: .38;
  mix-blend-mode: screen;
  transition: opacity .25s ease;
}
html:not(.has-pointer) .site-ambient::after {
  opacity: .18;
}
html[data-ambient="threat"] .site-ambient {
  background:
    radial-gradient(circle at 20% 18%, rgba(255,88,112,.085), transparent 32%),
    radial-gradient(circle at 76% 36%, rgba(255,243,24,.052), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(180,1,36,.09), transparent 36%);
}
html[data-ambient="infra"] .site-ambient {
  background:
    radial-gradient(circle at 18% 78%, rgba(16,185,129,.07), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(255,243,24,.045), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.018), rgba(180,1,36,.035));
}
html[data-ambient="network"] .site-ambient {
  background:
    radial-gradient(circle at 22% 24%, rgba(255,243,24,.07), transparent 32%),
    radial-gradient(circle at 72% 74%, rgba(16,185,129,.065), transparent 34%),
    radial-gradient(circle at 90% 24%, rgba(180,1,36,.06), transparent 36%);
}
html[data-ambient="code"] .site-ambient {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,243,24,.055), transparent 32%),
    radial-gradient(circle at 86% 72%, rgba(16,185,129,.055), transparent 35%),
    linear-gradient(160deg, rgba(255,255,255,.018), rgba(180,1,36,.04));
}
html[data-ambient="compliance"] .site-ambient {
  background:
    radial-gradient(circle at 20% 22%, rgba(255,243,24,.06), transparent 34%),
    radial-gradient(circle at 76% 62%, rgba(255,255,255,.04), transparent 32%),
    radial-gradient(circle at 90% 18%, rgba(180,1,36,.06), transparent 34%);
}
html[data-ambient="secure"] .site-ambient {
  background:
    radial-gradient(circle at 50% 22%, rgba(255,243,24,.065), transparent 30%),
    radial-gradient(circle at 30% 80%, rgba(180,1,36,.07), transparent 34%),
    radial-gradient(circle at 78% 76%, rgba(16,185,129,.052), transparent 34%);
}
.cyber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .92;
}
.ambient-grid {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255,243,24,.05) 50%, transparent 58%),
    linear-gradient(245deg, transparent 0 44%, rgba(180,1,36,.07) 50%, transparent 57%);
  opacity: .52;
  filter: blur(.4px);
  animation: driftField 34s linear infinite;
}
.ambient-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255,243,24,.08), transparent);
  height: 24vh;
  transform: translateY(-35vh);
  animation: scanField 16s ease-in-out infinite;
  opacity: .28;
}
@media (max-width: 760px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cyber-canvas {
    display: none;
  }
  .ambient-grid,
  .ambient-scan {
    animation: none;
  }
  .ambient-grid {
    filter: none;
    opacity: .34;
  }
  .ambient-scan {
    display: none;
  }
}
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255,243,24,.12);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,243,24,.09), rgba(255,243,24,.035) 34%, transparent 68%),
    conic-gradient(from 90deg, transparent, rgba(255,243,24,.16), transparent 34%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .2s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}
html.has-pointer .cursor-glow {
  opacity: .48;
}

body > header,
body > section,
body > article,
body > footer {
  position: relative;
  z-index: 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--yellow); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(255,243,24,.82);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul { list-style: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--red));
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(255,243,24,.28);
  pointer-events: none;
}

/* ====== Container ====== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Typography ====== */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: 3.6rem; }
h2 { font-size: 2.6rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
  text-wrap: pretty;
}
strong { color: var(--text); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 70ch;
  margin-inline: auto;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all .2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x, 50%) 50%, rgba(255,255,255,.25), transparent 32%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.btn:hover::before {
  opacity: .32;
}
.btn-primary {
  background: var(--yellow);
  color: #111;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 35%, rgba(255,255,255,.45) 45%, transparent 55% 100%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.btn-primary:hover {
  background: #fff;
  color: #111;
  transform: translate3d(var(--mag-x, 0), calc(var(--mag-y, 0) - 1px), 0);
  box-shadow: 0 10px 30px rgba(255,243,24,.25);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--yellow);
  color: var(--text);
}
.btn-danger {
  background: var(--red);
  color: #fff;
}
.btn-danger:hover {
  background: #d40428;
  color: #fff;
  transform: translate3d(var(--mag-x, 0), calc(var(--mag-y, 0) - 1px), 0);
}

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 7, 10, 0.94);
  border-bottom-color: rgba(255,243,24,.16);
  box-shadow: 0 14px 45px rgba(0,0,0,.28);
}
.site-header .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--text);
  justify-self: start;
  position: relative;
}
.brand::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,243,24,.14);
  border-radius: 50%;
  opacity: .7;
  transform: translateY(-50%) scale(.82);
  transition: transform .25s ease, opacity .25s ease;
}
.brand:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(255,243,24,.16));
}
.brand .name { background: linear-gradient(135deg, #fff 60%, var(--yellow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
}
.menu-toggle svg { width: 20px; height: 20px; stroke: var(--text); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 240px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index: 20;
  pointer-events: none;
}
@media (min-width: 981px) {
  .has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -28px;
    right: -28px;
    height: 24px;
  }
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-hovered .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.dropdown a:hover { background: var(--bg-card); color: var(--text); }
.dropdown::after { display: none; }
.has-dropdown > a::after {
  content: " ▾";
  font-size: 0.7em;
  opacity: 0.6;
}

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 92px 0 82px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at 15% 20%, rgba(255,243,24,.07), transparent 60%),
    radial-gradient(circle 500px at 85% 80%, rgba(180,1,36,.10), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1040px, calc(100% - 40px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,243,24,.36), rgba(180,1,36,.20), transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 28px rgba(255,243,24,.14);
  pointer-events: none;
}
.hero .inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 1120px;
  text-align: center;
}
.hero .inner::before,
.hero .inner::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  border-color: rgba(255,243,24,.22);
  pointer-events: none;
  opacity: .85;
}
.hero .inner::before {
  top: 28px;
  left: 24px;
  border-top: 1px solid;
  border-left: 1px solid;
}
.hero .inner::after {
  top: 28px;
  right: 24px;
  border-top: 1px solid;
  border-right: 1px solid;
}
.hero h1 {
  margin: 0 auto 24px;
  max-width: 900px;
}
.hero h1 .accent { color: var(--yellow); }
.hero h1 .accent-red { color: var(--red); }
.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.58;
}
.hero .ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.hero .meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.hero .meta::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
}

.hero-lab {
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: stretch;
  max-width: 980px;
  min-width: 0;
}
.hero-lab-visual,
.hero-lab-panel {
  position: relative;
  min-width: 0;
  min-height: 230px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(20,20,22,.72);
  box-shadow: 0 24px 70px rgba(0,0,0,.26);
  overflow: hidden;
}
.hero-lab-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 36px);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.sentinel-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116px;
  height: 116px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.sentinel-core img {
  width: 62px;
  height: 62px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(255,243,24,.22));
}
.sentinel-core .ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,243,24,.34);
  border-radius: 50%;
  animation: pulseRing 4.4s ease-in-out infinite;
}
.sentinel-core .ring-2 { inset: -28px; border-color: rgba(180,1,36,.32); animation-delay: .6s; }
.sentinel-core .ring-3 { inset: -56px; border-color: rgba(255,255,255,.12); animation-delay: 1.2s; }
.signal-line {
  position: absolute;
  height: 1px;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255,243,24,.75), transparent);
  animation: signalSweep 5.5s linear infinite;
}
.signal-line.line-a { top: 32%; left: 8%; }
.signal-line.line-b { top: 58%; right: 6%; animation-delay: 1.1s; }
.signal-line.line-c { bottom: 22%; left: 22%; animation-delay: 2.2s; }
.hero-lab-panel {
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 14px;
}
.panel-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: var(--text-dim);
  font-size: .8rem;
}
.panel-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.panel-top span:nth-child(2) { background: var(--orange); }
.panel-top span:nth-child(3) { background: var(--green); }
.panel-top strong {
  margin-left: auto;
  color: var(--text);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: .92rem;
}
.telemetry-row strong {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.status-ok { color: var(--green); }
.status-warning { color: var(--orange); }
.status-danger { color: #ff5870; }
.telemetry-bar {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}
.telemetry-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  border-radius: inherit;
  animation: barBreath 2.8s ease-in-out infinite;
}

.hero-lab.hero-ops {
  grid-template-columns: minmax(460px, 1fr) minmax(260px, 340px);
  max-width: 1080px;
}
.ops-screen,
.ops-side {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)),
    rgba(13,13,16,.82);
  box-shadow: 0 26px 70px rgba(0,0,0,.34);
  overflow: hidden;
}
.ops-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: .7;
}
.ops-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,243,24,.08) 45%, transparent 58% 100%);
  transform: translateX(-70%);
  animation: opsLightSweep 6.8s ease-in-out infinite;
}
.ops-screen > *,
.ops-side > * { position: relative; z-index: 1; }
.ops-topbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: var(--text-dim);
  font-size: .78rem;
}
.ops-topbar strong {
  margin-left: 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ops-topbar em {
  margin-left: auto;
  color: var(--yellow);
  font-style: normal;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ops-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.ops-dot:nth-child(2) { background: var(--orange); }
.ops-dot:nth-child(3) { background: var(--green); }
.ops-body {
  display: grid;
  grid-template-columns: minmax(270px, .95fr) minmax(220px, .75fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
}
.ops-radar {
  position: relative;
  min-height: 284px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,243,24,.12) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,243,24,.06), transparent 64%);
  overflow: hidden;
}
.ops-radar::before,
.ops-radar::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.10);
  transform-origin: left center;
}
.ops-radar::after { transform: rotate(90deg); }
.radar-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.radar-ring.ring-b { inset: 28%; border-color: rgba(255,243,24,.24); }
.radar-ring.ring-c { inset: 43%; border-color: rgba(180,1,36,.20); }
.radar-sweep {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,243,24,.28), rgba(255,243,24,.05) 12%, transparent 26%);
  animation: radarSpin 4.8s linear infinite;
}
.radar-path {
  position: absolute;
  height: 1px;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(255,243,24,.72), transparent);
  transform-origin: left center;
  animation: packetPulse 2.8s ease-in-out infinite;
}
.path-a { left: 22%; top: 43%; transform: rotate(-18deg); }
.path-b { left: 43%; top: 61%; transform: rotate(24deg); animation-delay: 1.1s; }
.radar-core {
  position: absolute;
  inset: 37%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10,10,11,.88);
  border: 1px solid rgba(255,243,24,.28);
  box-shadow: 0 0 34px rgba(255,243,24,.14);
}
.radar-core img {
  width: 56%;
  filter: drop-shadow(0 0 16px rgba(255,243,24,.28));
}
.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255,243,24,.72);
  animation: blipPulse 2.4s ease-in-out infinite;
}
.blip-a { left: 21%; top: 31%; }
.blip-b { right: 20%; top: 44%; animation-delay: .5s; }
.blip-c { left: 44%; bottom: 18%; animation-delay: 1s; }
.blip-alert {
  right: 27%;
  bottom: 27%;
  background: #ff5870;
  box-shadow: 0 0 20px rgba(255,88,112,.76);
  animation-delay: 1.3s;
}
.ops-feed {
  display: grid;
  gap: 12px;
}
.feed-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 10px 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .88rem;
}
.feed-line strong {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ops-side {
  padding: 20px;
  display: grid;
  align-content: stretch;
  gap: 14px;
}
.ops-card,
.ops-score {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}
.ops-card small,
.ops-score span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-dim);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ops-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}
.ops-card span {
  color: var(--text-muted);
  font-size: .88rem;
}
.ops-score i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.ops-score b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green));
  animation: barBreath 2.8s ease-in-out infinite;
}

.hero-trust {
  max-width: 1080px;
  margin: 56px auto 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(12,12,14,.58);
  box-shadow: 0 22px 60px rgba(0,0,0,.20);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,243,24,.08), transparent);
  transform: translateX(-80%);
  animation: trustSweep 9s ease-in-out infinite;
  pointer-events: none;
}
.hero-trust .item {
  position: relative;
  padding: 10px 16px;
}
.hero-trust .item + .item {
  border-left: 1px solid rgba(255,255,255,.08);
}
.hero-trust .item::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  opacity: .9;
}
.hero-trust .item small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.hero-trust .item span {
  font-weight: 700;
  color: var(--text);
}

/* ====== Sections ====== */
.section {
  padding: 90px 0;
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - var(--max-width)) / 2));
  width: min(180px, calc(100% - 48px));
  height: 1px;
  background: linear-gradient(90deg, rgba(255,243,24,.55), transparent);
  opacity: .36;
  pointer-events: none;
}
.section-alt {
  background: rgba(20,20,22,.78);
  border-block: 1px solid rgba(255,255,255,.045);
}
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  max-width: 66ch;
  margin-inline: auto;
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }
.section-head .eyebrow {
  background: var(--yellow-soft);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,243,24,.2);
}

/* ====== Cards ====== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(var(--lift, 0));
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,243,24,.075), transparent 38%, rgba(180,1,36,.055));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 20%), rgba(255,243,24,.16), transparent 28%),
    linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,.06) 50%, transparent 58% 100%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-strong);
  --lift: -3px;
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
  background: #1d1d20;
}
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card .icon {
  display: inline-flex;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--yellow-soft);
  border: 1px solid rgba(255,243,24,.25);
  align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--yellow);
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p {
  font-size: 0.95rem;
  max-width: 62ch;
}
.mini-profile {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mini-profile:last-of-type {
  border-bottom: 0;
}
.mini-profile strong {
  color: var(--text);
  font-size: 1.03rem;
}
.mini-profile span {
  color: var(--text-muted);
}
.mini-profile a {
  width: fit-content;
  color: var(--yellow);
  font-size: 0.92rem;
  font-weight: 700;
}
.mini-profile a:hover {
  color: var(--text);
}
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--yellow);
}
.card .more:hover { color: #fff; }

.boxed-880 > h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: 1.65rem;
  line-height: 1.18;
}
.boxed-880 > h2:first-child { margin-top: 0; }
.boxed-880 > h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.28;
}
.boxed-880 > p {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.78;
}
.boxed-880 > p + .feature-list,
.boxed-880 > .feature-list + p {
  margin-top: 18px;
}
.boxed-880 > .feature-list {
  margin-top: 16px;
  margin-bottom: 20px;
}
.boxed-880 > .note-box {
  margin-top: 20px;
  margin-bottom: 8px;
}
.boxed-880 code {
  padding: .12em .38em;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.045);
  color: var(--yellow);
  font-size: .88em;
}
.boxed-880 a:not(.btn):not(.card):not(.more) {
  color: var(--yellow);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(255,243,24,.26);
  text-underline-offset: 3px;
}
.boxed-880 a:not(.btn):not(.card):not(.more):hover {
  color: var(--text);
  text-decoration-color: var(--yellow);
}
.article-card {
  display: flex;
  flex-direction: column;
}
.article-card h3 a,
.boxed-880 h2,
.boxed-880 h3 {
  overflow-wrap: anywhere;
}
.article-card .more {
  margin-top: auto;
  padding-top: 18px;
}

.contact-lines {
  display: grid;
  gap: 10px;
}
.contact-lines .btn {
  width: 100%;
  justify-content: center;
}

.card-red .icon {
  background: var(--red-soft);
  color: #ff5870;
  border-color: rgba(180,1,36,.3);
}

/* ====== Grid layouts ====== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  justify-content: center;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  justify-content: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  justify-content: center;
}
.grid-2 > .card,
.grid-3 > .card,
.grid-4 > .card,
.steps > .step,
.pricing-grid > .price {
  height: 100%;
}

/* ====== Stat blocs ====== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  justify-content: center;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--yellow);
}
.stat .number {
  font-size: 2.65rem;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.stat .label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.stat .source {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}
.sources-mention {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  font-style: italic;
}

/* ====== List with check ====== */
.feature-list { display: grid; gap: 14px; }
.feature-list li {
  display: block;
  position: relative;
  padding-left: 34px;
  font-size: 0.96rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--yellow-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF318' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.feature-list.x-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5870' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-color: var(--red-soft);
}

/* ====== Sectors ====== */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  justify-content: center;
}
.sector {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .2s ease;
}
.sector:hover {
  border-color: var(--yellow);
  background: var(--bg-elev);
  color: var(--text);
}
.sector svg {
  width: 22px; height: 22px;
  color: var(--yellow);
  flex-shrink: 0;
}

/* ====== CTA Banner ====== */
.cta-banner {
  margin: 80px auto;
  background: linear-gradient(135deg, #1A1A1D 0%, #0F0F11 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,243,24,.08), transparent 60%);
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -40%; right: -10%;
  width: 50%; height: 180%;
  background: radial-gradient(ellipse, rgba(180,1,36,.10), transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  max-width: 720px;
  margin: 0 auto 14px;
}
.cta-banner p {
  max-width: 600px;
  margin: 0 auto 28px;
}
.cta-banner .ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== Process / Steps ====== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
  justify-content: center;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 18px; right: 22px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
  opacity: 0.45;
  letter-spacing: 0;
}
.step h3 { margin-bottom: 8px; padding-right: 40px; }
.step p { font-size: 0.92rem; }

/* ====== Form ====== */
.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-wrap h3 { margin-bottom: 8px; }
.form-wrap > p { margin-bottom: 24px; font-size: 0.95rem; }

.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row.cols-2 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--bg-elev);
}
.field textarea { min-height: 130px; resize: vertical; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.consent input { margin-top: 3px; flex-shrink: 0; }
.consent a { color: var(--yellow); text-decoration: underline; }

.form-status { margin-top: 14px; font-size: 0.9rem; }
.form-status.success { color: var(--green); }
.form-status.error { color: #ff5870; }

/* ====== Quote / Pull ====== */
.pull {
  border-left: 3px solid var(--yellow);
  padding: 8px 0 8px 22px;
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  font-weight: 500;
  max-width: 56ch;
}

/* ====== Disclaimer / Note ====== */
.disclaimer {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.disclaimer strong { color: var(--orange); }

.note-box {
  background: var(--yellow-soft);
  border: 1px solid rgba(255,243,24,.25);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
}
.note-box strong { color: var(--yellow); }

/* ====== Pricing table ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  justify-content: center;
}
.price {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price.featured {
  border-color: var(--yellow);
  background: linear-gradient(180deg, rgba(255,243,24,.04), var(--bg-card) 30%);
  position: relative;
}
.price.featured::before {
  content: "Recommandé";
  position: absolute;
  top: -12px; left: 24px;
  background: var(--yellow);
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price h3 { margin-bottom: 4px; }
.price .audience {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.price .amount {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 4px;
}
.price .amount small { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.price .cycle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.price ul { display: grid; gap: 10px; margin: 16px 0 24px; flex-grow: 1; }
.price ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.price ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF318' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ====== FAQ ====== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--yellow);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item .answer p + p { margin-top: 10px; }

/* ====== Footer ====== */
.site-footer {
  background: #07070A;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(auto-fit, minmax(145px, 1fr));
  gap: 28px 32px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-col { min-width: 0; }
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }
  .footer-brand .brand,
  .footer-brand p {
    margin-inline: auto;
  }
  .footer-brand .accents,
  .footer-bottom {
    justify-content: center;
  }
  .footer-col ul {
    justify-items: center;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li {
  color: var(--text-muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--yellow); }
.footer-brand p {
  font-size: 0.92rem;
  margin-top: 16px;
  color: var(--text-muted);
  max-width: 36ch;
}
.footer-brand .brand { width: fit-content; }
.footer-brand .accents {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}
.footer-brand .accents span {
  display: block;
  width: 36px; height: 3px;
  background: var(--red);
  border-radius: 6px;
}
.footer-brand .accents span:last-child { width: 18px; background: var(--yellow); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ====== Page header (interior pages) ====== */
.page-head {
  padding: 80px 0 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 400px at 20% 30%, rgba(255,243,24,.06), transparent 60%),
    radial-gradient(circle 400px at 90% 70%, rgba(180,1,36,.08), transparent 60%);
}
.page-head .inner { position: relative; z-index: 1; max-width: 800px; }
.page-head .crumbs {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.page-head .crumbs a { color: var(--text-muted); }
.page-head .inner {
  margin-inline: auto;
  text-align: center;
}
.page-head .eyebrow {
  justify-content: center;
}
.page-head .eyebrow::before {
  display: none;
}
.page-head h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  overflow-wrap: anywhere;
}
.page-head p {
  font-size: 1.1rem;
  max-width: 68ch;
  margin: 0 auto;
  overflow-wrap: anywhere;
}

/* ====== Two col content layout ====== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split > * { min-width: 0; }
.split > * > .card,
.split > * > .form-wrap,
.split > * > .note-box,
.split > * > .pull {
  margin-inline: auto;
}

.legal {
  max-width: 880px;
  overflow-wrap: anywhere;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.legal th,
.legal td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.legal th {
  color: var(--text);
  background: rgba(255,255,255,.045);
}
.legal td {
  color: var(--text-muted);
}

/* ====== Cookie banner ====== */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 18px 22px;
  z-index: 200;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  color: var(--text-muted);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--text-muted); margin-bottom: 14px; }
.cookie-banner .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 8px 16px; font-size: 0.85rem; }

/* ====== Mobile nav ====== */
@media (max-width: 980px) {
  .site-header .inner {
    grid-template-columns: 1fr auto;
  }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-actions > .btn { display: none; }
  .nav-links.is-open {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-height: calc(100vh - 72px);
    min-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.is-open a {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius);
  }
  .nav-links.is-open a:hover { background: var(--bg-card); }
  .nav-links.is-open .has-dropdown { width: 100%; }
  .nav-links.is-open .has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
  }
  .nav-links.is-open .has-dropdown > a::after {
    content: "+";
    font-size: 1rem;
    line-height: 1;
    opacity: .9;
    transition: transform .2s ease;
  }
  .nav-links.is-open .has-dropdown.is-expanded > a {
    color: var(--text);
    background: rgba(255,255,255,.045);
    border-color: rgba(255,243,24,.16);
  }
  .nav-links.is-open .has-dropdown.is-expanded > a::after {
    content: "-";
  }
  .nav-links.is-open .dropdown {
    position: static;
    display: none;
    opacity: 1; visibility: visible; transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 6px 0 8px 12px;
    min-width: 0;
  }
  .nav-links.is-open .has-dropdown.is-expanded .dropdown {
    display: grid;
    gap: 2px;
  }
  .nav-links.is-open .dropdown a {
    color: var(--text-muted);
    padding-left: 22px;
  }
}

/* ====== Tags ====== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.tag.tag-yellow { background: var(--yellow-soft); border-color: rgba(255,243,24,.2); color: var(--yellow); }
.tag.tag-red { background: var(--red-soft); border-color: rgba(180,1,36,.3); color: #ff5870; }

/* ====== Utility ====== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.gap-sm { gap: 8px; }
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
}

/* ====== Animation ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-reveal] { opacity: 1; transform: none; }
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .1s ease both; }
.fade-up-3 { animation: fadeUp .6s .2s ease both; }

@keyframes ambientPanelShift {
  from { transform: translate3d(-2%, -1%, 0); }
  to { transform: translate3d(2%, 1%, 0); }
}
@keyframes driftField {
  from { transform: translate3d(-3%, -2%, 0); }
  to { transform: translate3d(3%, 2%, 0); }
}
@keyframes scanField {
  0%, 18% { transform: translateY(-35vh); opacity: 0; }
  35% { opacity: .38; }
  72%, 100% { transform: translateY(110vh); opacity: 0; }
}
@keyframes pulseRing {
  0%, 100% { transform: scale(.94); opacity: .36; }
  50% { transform: scale(1.04); opacity: .88; }
}
@keyframes signalSweep {
  0% { transform: translateX(-35%); opacity: 0; }
  18%, 74% { opacity: .75; }
  100% { transform: translateX(35%); opacity: 0; }
}
@keyframes barBreath {
  0%, 100% { filter: saturate(1); opacity: .82; }
  50% { filter: saturate(1.35); opacity: 1; }
}
@keyframes opsLightSweep {
  0%, 18% { transform: translateX(-85%); opacity: 0; }
  42% { opacity: 1; }
  74%, 100% { transform: translateX(92%); opacity: 0; }
}
@keyframes radarSpin {
  to { transform: rotate(360deg); }
}
@keyframes packetPulse {
  0%, 100% { opacity: .28; filter: saturate(1); }
  50% { opacity: 1; filter: saturate(1.35); }
}
@keyframes blipPulse {
  0%, 100% { transform: scale(.86); opacity: .62; }
  50% { transform: scale(1.28); opacity: 1; }
}
@keyframes trustSweep {
  0%, 22% { transform: translateX(-88%); opacity: 0; }
  45% { opacity: .7; }
  76%, 100% { transform: translateX(88%); opacity: 0; }
}

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.15rem; }
  .lead,
  .hero .subtitle { font-size: 1.05rem; }
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
  .hero-lab { grid-template-columns: 1fr; }
  .hero-lab.hero-ops { grid-template-columns: 1fr; max-width: 100%; }
  .ops-body { grid-template-columns: 1fr; }
  .ops-side { grid-template-columns: 1fr 1fr; }
  .ops-score { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.8rem; }
  .container { padding: 0 18px; }
  .page-head { padding: 58px 0 40px; }
  .page-head h1 {
    font-size: 1.82rem;
    line-height: 1.14;
    max-width: min(100%, 19rem);
    text-wrap: initial;
    white-space: normal;
  }
  .page-head p {
    font-size: 1rem;
    line-height: 1.55;
    max-width: min(100%, 21rem);
    text-wrap: initial;
    white-space: normal;
  }
  .page-head .crumbs {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .boxed-880 > h2 {
    font-size: 1.38rem;
    margin-top: 34px;
  }
  .boxed-880 > h3 {
    font-size: 1.04rem;
  }
  .boxed-880 > p,
  .feature-list li {
    font-size: .95rem;
    line-height: 1.68;
  }
  .hero { padding: 64px 0 56px; }
  .site-header .inner { height: 64px; }
  .nav-links.is-open {
    top: 64px;
    max-height: calc(100vh - 64px);
    min-height: calc(100vh - 64px);
  }
  .brand .name { font-size: .92rem; }
  .brand img { width: 34px; height: 34px; }
  .hero-lab-visual,
  .hero-lab-panel { min-height: 210px; }
  .hero-lab-panel { padding: 18px; }
  .ops-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .ops-topbar em {
    width: 100%;
    margin-left: 0;
  }
  .ops-body { padding: 16px; gap: 16px; }
  .ops-radar { min-height: 244px; }
  .ops-side { grid-template-columns: 1fr; padding: 16px; }
  .form-wrap,
  .cta-banner,
  .card { padding: 24px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-trust .item + .item { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .btn { width: 100%; white-space: normal; }
  .stat .number { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* =========================================================
   Honeypot (anti-bot) : champ invisible aux humains, visible aux bots.
   ========================================================= */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================
   Classes utilitaires (refactor CSP stricte sans unsafe-inline)
   Ajoutées le 2026-05-06 pour remplacer les 67 inline styles.
   Ne pas supprimer sans re-refactorer les HTML.
   ========================================================= */

.lead-spaced       { margin: 16px auto 0; }
.dim-italic        { font-size: .82rem; font-style: italic; }
.text-strong       { color: var(--text); }
.fs-sm             { font-size: .88rem; }
.fs-xs             { font-size: .85rem; }
.fs-tiny-italic    { font-size: .82rem; }
.col-span-full     { grid-column: 1 / -1; }
.boxed-880         { max-width: 880px; margin: 0 auto; }
.boxed-780         { max-width: 780px; }
.boxed-880-mt32    { max-width: 880px; margin: 32px auto 0; }
.link-plain        { text-decoration: none; color: inherit; }
.btn-block         { width: 100%; margin-top: 18px; }
.justify-center    { justify-content: center; }
.mt-32             { margin-top: 32px; }
.mt-48             { margin-top: 48px; }
.mb-18             { margin-bottom: 18px; }
.cursor-default    { cursor: default; }
.cursor-default-soft { cursor: default; opacity: .85; }
.flex-gap-12-mb18  { display: flex; gap: 12px; margin-bottom: 18px; }
.text-yellow       { color: var(--yellow); }
.hero-pad-tight    { padding-top: 80px; padding-bottom: 60px; }
.mx-auto           { margin-left: auto; margin-right: auto; }
.counter-reset-n   { counter-reset: n; }
.w-72              { width: 72%; }

/* Tags couleur (utilisés dans diagnostic-decouverte pour rouge/orange/vert) */
.tag-rouge { background: rgba(180,1,36,.15); border-color: rgba(180,1,36,.3); color: #ff5870; }
.tag-orange-c { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.3); color: #F59E0B; }
.tag-vert  { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.3); color: #10B981; }

/* =========================================================
   Pages légales (mentions, politique, cgv) — externalisé
   pour CSP stricte sans unsafe-inline sur <style>.
   ========================================================= */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { margin-top: 40px; font-size: 1.4rem; }
.legal h3 { margin-top: 28px; font-size: 1.1rem; }
.legal p, .legal ul { margin-top: 10px; color: var(--text-muted); font-size: .96rem; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal ul li { margin-bottom: 6px; }
.legal strong { color: var(--text); }

/* =========================================================
   Auto-évaluation express (auto-evaluation.html + auto-eval.js)
   ========================================================= */
.ae-progress {
  position: sticky; top: 84px; z-index: 5;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.ae-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.ae-progress-track::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--ae-progress, 0%);
  background: linear-gradient(90deg, var(--yellow), #FFC700);
  border-radius: 999px;
  transition: width .3s ease;
}
.ae-progress span { font-size: .88rem; color: var(--text-muted); white-space: nowrap; }
@media (max-width: 560px) {
  .ae-progress {
    top: 76px;
    align-items: stretch;
    flex-direction: column;
  }
  .ae-progress span { white-space: normal; }
}

.ae-question { padding: 24px; }
.ae-options { display: grid; gap: 10px; }
.ae-opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s ease;
  background: rgba(255,255,255,.015);
}
.ae-opt:hover { border-color: rgba(255,243,24,.35); background: rgba(255,243,24,.02); }
.ae-opt input[type=radio] { margin-top: 2px; flex: 0 0 auto; accent-color: var(--yellow); }
.ae-opt:has(input:checked) { border-color: var(--yellow); background: rgba(255,243,24,.05); }
.ae-question-missing {
  border-color: rgba(255,243,24,.68);
  box-shadow: 0 0 0 1px rgba(255,243,24,.22), 0 18px 40px rgba(0,0,0,.22);
}
.ae-question-missing .eyebrow {
  color: var(--yellow);
}
.ae-missing-alert {
  border-color: rgba(255,243,24,.5);
  background:
    linear-gradient(135deg, rgba(255,243,24,.08), transparent 42%),
    rgba(255,255,255,.035);
}
.ae-missing-alert h3 {
  color: var(--text);
}
.ae-incomplete-note {
  padding: 12px 14px;
  border: 1px solid rgba(245,158,11,.32);
  border-left: 4px solid #F59E0B;
  border-radius: 8px;
  background: rgba(245,158,11,.075);
  color: var(--text);
  font-size: .94rem;
  line-height: 1.45;
}

.ae-bar {
  width: 100%;
  height: 14px;
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.ae-bar-fill {
  position: absolute; inset: 0 auto 0 0;
  width: var(--ae-fill, 0%);
  border-radius: 999px;
  transition: width .8s cubic-bezier(.2,.8,.2,1);
}
.ae-bar-vert   { background: linear-gradient(90deg, #10B981, #34D399); }
.ae-bar-orange { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.ae-bar-rouge  { background: linear-gradient(90deg, #B40124, #ff5870); }

.ae-result { padding: 32px; }

@media print {
  .site-ambient, .site-header, .site-footer, .ae-progress, .cookie-banner,
  .scroll-progress, .ae-options, button, .btn { display: none !important; }
  .ae-result { padding: 0; border: none; }
  body { background: #fff !important; color: #000 !important; }
  .ae-result, .ae-result * { color: #000 !important; }
}


/* =========================================================
   Pagination articles (articles.html)
   ========================================================= */
.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
  padding: 18px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-wrap: wrap;
}
.pagination-nav[hidden] { display: none; }
.pagination-nav button {
  padding: 10px 20px;
  font-size: .92rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s ease;
}
.pagination-nav button:hover:not([disabled]) {
  border-color: var(--yellow);
  background: rgba(255,243,24,.05);
}
.pagination-nav button[disabled] {
  opacity: .35;
  cursor: not-allowed;
}
.pagination-nav .pagination-counter {
  font-size: .92rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 110px;
  text-align: center;
}
.featured-tag { background: linear-gradient(90deg, var(--red), #ff5870) !important; color: #fff !important; border-color: transparent !important; }


/* =========================================================
   Auto-évaluation — Rapport PDF print-only
   Affiché uniquement à window.print(), masqué à l'écran.
   Couleurs forcées en print pour préserver l'identité Scryptoura.
   ========================================================= */
.print-report { display: none; }

@media screen {
  .print-report { display: none !important; }
}

@media print {
  /* Cache toute la page sauf le rapport */
  body > *:not(.print-report) { display: none !important; }
  .print-report { display: block !important; }

  /* Couleurs forcées (Chrome / Safari / Firefox) */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  /* Marges page A4 */
  @page {
    size: A4;
    margin: 0;
  }

  body {
    background: #fff !important;
    color: #0A0A0B !important;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11pt;
    line-height: 1.55;
  }
  body::before,
  body::after,
  .site-ambient,
  .site-ambient::before,
  .site-ambient::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  /* Page break entre sections */
  .pr-page {
    page-break-after: always;
    break-after: always;
    page-break-inside: avoid;
    width: 210mm;
    min-height: 297mm;
    box-sizing: border-box;
  }
  .pr-page:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  /* ===== Couverture ===== */
  .pr-cover {
    background: #0A0A0B;
    color: #fff;
    padding: 22mm 18mm;
    min-height: 297mm;
    border-radius: 0;
    position: relative;
  }
  .pr-cover-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
  }
  .pr-logo {
    width: 56px;
    height: auto;
    display: block;
  }
  .pr-brand-name {
    font-size: 22pt;
    font-weight: 900;
    letter-spacing: 1px;
    color: #FFF318;
  }
  .pr-cover-tag {
    font-size: 10pt;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #FFF318;
    border-left: 3px solid #B40124;
    padding-left: 12px;
    margin-bottom: 24px;
  }
  .pr-cover-title {
    font-size: 32pt;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 12px 0;
  }
  .pr-cover-meta {
    font-size: 10pt;
    color: #B5B5BA;
    margin-bottom: 60px;
  }
  .pr-cover-score {
    border: 2px solid #2A2A2E;
    border-radius: 8px;
    padding: 28px 24px;
    margin: 24px 0;
    background: rgba(255,255,255,0.02);
  }
  .pr-cover-score.pr-level-vert   { border-color: #10B981; }
  .pr-cover-score.pr-level-orange { border-color: #F59E0B; }
  .pr-cover-score.pr-level-rouge  { border-color: #B40124; }
  .pr-score-num {
    font-size: 52pt;
    font-weight: 900;
    color: #FFF318;
    line-height: 1;
    margin-bottom: 8px;
  }
  .pr-cover-score.pr-level-vert .pr-score-num   { color: #10B981; }
  .pr-cover-score.pr-level-orange .pr-score-num { color: #F59E0B; }
  .pr-cover-score.pr-level-rouge .pr-score-num  { color: #B40124; }
  .pr-score-label {
    font-size: 14pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 14px;
  }
  .pr-score-text {
    font-size: 11pt;
    color: #B5B5BA;
    line-height: 1.6;
  }
  .pr-cover-footer {
    position: absolute;
    bottom: 30px;
    left: 36px;
    right: 36px;
    border-top: 1px solid #2A2A2E;
    padding-top: 14px;
    font-size: 9pt;
    color: #7A7A80;
    line-height: 1.6;
  }

  /* ===== Pages contenu ===== */
  .pr-page:not(.pr-cover) {
    padding: 15mm 14mm 16mm;
    color: #0A0A0B;
  }
  .pr-h2 {
    font-size: 20pt;
    font-weight: 800;
    color: #0A0A0B;
    border-bottom: 3px solid #FFF318;
    padding-bottom: 6px;
    margin: 0 0 18px 0;
  }
  .pr-h3 {
    font-size: 13pt;
    font-weight: 700;
    margin: 24px 0 10px 0;
    color: #0A0A0B;
  }
  .pr-paragraph {
    font-size: 11pt;
    line-height: 1.65;
    color: #2A2A2E;
    margin-bottom: 14px;
  }

  /* Tableau synthèse */
  .pr-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px 0;
    font-size: 11pt;
  }
  .pr-table thead th {
    background: #0A0A0B;
    color: #FFF318;
    text-align: left;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 10pt;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  .pr-table tbody tr {
    border-bottom: 1px solid #E5E5E8;
  }
  .pr-table tbody td {
    padding: 12px 14px;
    vertical-align: middle;
  }
  .pr-cat-name { font-weight: 600; }
  .pr-cat-score { font-weight: 700; font-variant-numeric: tabular-nums; }
  .pr-cat-level {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 9pt;
    letter-spacing: 0.5px;
  }
  .pr-row.pr-level-vert .pr-cat-level   { color: #10B981; }
  .pr-row.pr-level-orange .pr-cat-level { color: #F59E0B; }
  .pr-row.pr-level-rouge .pr-cat-level  { color: #B40124; }
  .pr-row.pr-level-vert   { background: rgba(16,185,129,0.04); }
  .pr-row.pr-level-orange { background: rgba(245,158,11,0.04); }
  .pr-row.pr-level-rouge  { background: rgba(180,1,36,0.04); }

  /* Légende */
  .pr-legend {
    margin-top: 14px;
  }
  .pr-legend-item {
    display: block;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-left: 4px solid;
    font-size: 10pt;
    background: #FAFAFB;
  }
  .pr-legend-item.pr-level-vert   { border-color: #10B981; }
  .pr-legend-item.pr-level-orange { border-color: #F59E0B; }
  .pr-legend-item.pr-level-rouge  { border-color: #B40124; }
  .pr-legend-item strong { color: #0A0A0B; margin-right: 4px; }

  /* Liste priorités */
  .pr-priorities {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: pri;
  }
  .pr-priority {
    counter-increment: pri;
    border-left: 4px solid #B40124;
    background: #FAFAFB;
    padding: 12px 14px 12px 50px;
    margin-bottom: 10px;
    position: relative;
    page-break-inside: avoid;
  }
  .pr-priority::before {
    content: counter(pri);
    position: absolute;
    left: 12px;
    top: 12px;
    width: 28px;
    height: 28px;
    background: #B40124;
    color: #fff;
    font-weight: 800;
    font-size: 12pt;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pr-priority-tag {
    font-size: 8pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #B40124;
    margin-bottom: 4px;
  }
  .pr-priority-q {
    font-weight: 700;
    color: #0A0A0B;
    font-size: 10.5pt;
    margin-bottom: 4px;
  }
  .pr-priority-a {
    font-size: 9.5pt;
    color: #5A5A60;
    font-style: italic;
  }

  /* Recommandations */
  .pr-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    counter-reset: step;
  }
  .pr-step {
    counter-increment: step;
    padding: 10px 14px 10px 12px;
    margin-bottom: 10px;
    border-left: 4px solid #FFF318;
    background: #FAFAFB;
    page-break-inside: avoid;
  }
  .pr-step-title { display: block; font-weight: 700; color: #0A0A0B; font-size: 11pt; margin-bottom: 4px; }
  .pr-step-text { display: block; font-size: 10pt; color: #2A2A2E; line-height: 1.55; }

  /* CTA Rappel conseiller */
  .pr-cta {
    background: #0A0A0B;
    color: #fff;
    padding: 22px 24px;
    border-radius: 6px;
    margin: 22px 0 18px 0;
    page-break-inside: avoid;
  }
  .pr-cta-title {
    color: #FFF318;
    font-size: 14pt;
    font-weight: 800;
    margin: 0 0 8px 0;
  }
  .pr-cta-text {
    font-size: 10pt;
    color: #E5E5E8;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .pr-cta-cols {
    display: flex;
    gap: 24px;
  }
  .pr-cta-col {
    flex: 1;
  }
  .pr-cta-label {
    font-size: 8pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #FFF318;
    margin-bottom: 4px;
  }
  .pr-cta-mt { margin-top: 12px; }
  .pr-cta-value {
    font-size: 10.5pt;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 600;
  }
  .pr-cta-note {
    font-size: 8.5pt;
    color: #B5B5BA;
    margin-top: 6px;
    font-style: italic;
  }

  /* Disclaimer & mentions légales */
  .pr-disclaimer {
    font-size: 8pt;
    color: #5A5A60;
    line-height: 1.55;
    border-top: 1px solid #E5E5E8;
    padding-top: 12px;
    margin-top: 16px;
    page-break-inside: avoid;
  }
  .pr-disclaimer h4 {
    font-size: 9pt;
    color: #0A0A0B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
  }
  .pr-disclaimer p { margin-bottom: 6px; }
}

/* Champs texte de personnalisation (écran uniquement) */
.ae-opt input[type="text"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,.02);
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
}
.ae-opt input[type="text"]:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255,243,24,.03);
}

/* Auto-évaluation : aperçu écran du questionnaire et du rapport PDF */
.ae-overview {
  padding: 30px;
  border-color: rgba(255,243,24,.22);
  background:
    linear-gradient(135deg, rgba(255,243,24,.055), transparent 44%),
    var(--bg-card);
}
.ae-overview-head {
  max-width: 720px;
}
.ae-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ae-category-card {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.ae-category-card strong {
  display: block;
  font-size: .98rem;
  margin-bottom: 6px;
}
.ae-category-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,243,24,.24);
  background: rgba(255,243,24,.08);
  color: var(--yellow);
  font-size: .76rem;
  font-weight: 750;
}
.ae-category-card p {
  font-size: .85rem;
  color: var(--text-muted);
}
.ae-contact .ae-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ae-contact .ae-opt {
  align-items: center;
  flex-wrap: wrap;
}
.ae-contact .ae-opt > span {
  flex: 0 0 100%;
  font-weight: 700;
  color: var(--text);
}
.ae-contact .ae-consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
}
.ae-contact .ae-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--yellow);
}
.ae-contact .ae-consent > span {
  flex: initial;
  line-height: 1.45;
}
.ae-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.ae-send-status {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.ae-send-status strong {
  display: block;
  color: var(--text);
  font-weight: 850;
  margin-bottom: 4px;
}
.ae-send-status p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.45;
}
.ae-send-status.is-pending {
  border-left-color: #F59E0B;
  background: rgba(245,158,11,.06);
}
.ae-send-status.is-sent {
  border-left-color: #10B981;
  background: rgba(16,185,129,.06);
}
.ae-send-status.is-error {
  border-left-color: var(--red);
  background: rgba(180,1,36,.08);
}
.ae-pdf-preview {
  padding: 24px;
  border: 1px solid rgba(255,243,24,.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,243,24,.07), transparent 38%),
    linear-gradient(135deg, rgba(180,1,36,.08), transparent 42%),
    rgba(10,10,11,.48);
}
.ae-pdf-pages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ae-pdf-page {
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.ae-pdf-page strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0A0A0B;
  font-size: .82rem;
  font-weight: 900;
}
.ae-pdf-page span {
  display: block;
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 7px;
}
.ae-pdf-page p {
  color: var(--text-muted);
  font-size: .84rem;
}
@media (max-width: 900px) {
  .ae-category-grid,
  .ae-pdf-pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .ae-category-grid,
  .ae-contact .ae-options,
  .ae-pdf-pages {
    grid-template-columns: 1fr;
  }
  .ae-overview,
  .ae-pdf-preview {
    padding: 22px;
  }
}

/* Auto-évaluation : surcouche print premium du rapport PDF */
@media print {
  .print-report {
    font-family: var(--font-sans), Arial, sans-serif !important;
    background: #fff !important;
    margin: 0 !important;
  }
  .pr-page {
    position: relative;
    box-sizing: border-box;
    page-break-inside: auto;
    break-inside: auto;
  }
  body.ae-print-mobile-source {
    width: 210mm !important;
    min-width: 210mm !important;
    overflow: visible !important;
  }
  .print-report.pr-mobile-source {
    width: 182mm !important;
    max-width: none !important;
  }
  .print-report.pr-mobile-source .pr-page {
    width: 182mm !important;
    max-width: 182mm !important;
    min-width: 182mm !important;
  }
  .print-report.pr-mobile-source .pr-cover {
    width: 182mm !important;
  }
  .print-report.pr-mobile-source .pr-cover-kpis {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .print-report.pr-mobile-source .pr-exec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .print-report.pr-mobile-source .pr-cat-row {
    grid-template-columns: 48mm 1fr 27mm !important;
  }
  .print-report.pr-mobile-source .pr-focus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .print-report.pr-mobile-source .pr-cta-cols {
    display: flex !important;
  }
  .pr-page::after {
    content: "Scryptoura - Rapport d'audit cyber non-intrusif";
    position: absolute;
    right: 14mm;
    bottom: 7mm;
    font-size: 7pt;
    color: #8A8A91;
    letter-spacing: .2px;
  }
  .pr-cover {
    height: 297mm;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: #0A0A0B !important;
  }
  .pr-cover::before {
    content: "";
    position: absolute;
    inset: 18mm 12mm auto auto;
    width: 42mm;
    height: 3mm;
    background: #B40124;
    transform: skewX(-18deg);
  }
  .pr-cover::after {
    content: "";
    position: absolute;
    inset: auto -18mm 34mm auto;
    width: 105mm;
    height: 1.8mm;
    background: #FFF318;
    transform: rotate(-8deg);
  }
  .pr-cover-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 46px;
  }
  .pr-brand-name {
    letter-spacing: 0;
  }
  .pr-cover-tag {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-left: 14px;
    border-left: 5px solid #B40124;
  }
  .pr-cover-title {
    position: relative;
    z-index: 1;
    max-width: 150mm;
    font-size: 34pt;
  }
  .pr-cover-meta {
    position: relative;
    z-index: 1;
    margin-bottom: 34px;
  }
  .pr-cover-score {
    position: relative;
    z-index: 1;
    max-width: 132mm;
    border-radius: 10px;
    background: #111114 !important;
    box-shadow: none;
    margin: 18px 0;
    padding: 24px 22px;
  }
  .pr-score-num {
    letter-spacing: 0;
  }
  .pr-score-text {
    max-width: 110mm;
  }
  .pr-cover-footer {
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.16);
    padding-top: 10px;
  }
  .pr-cover-kpis {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 132mm;
    margin: 12px 0 18px 0;
  }
  .pr-cover-kpi {
    padding: 10px 9px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 8px;
    background: #111114;
  }
  .pr-cover-kpi strong {
    display: block;
    color: #FFF318;
    font-size: 15pt;
    line-height: 1;
    text-transform: uppercase;
  }
  .pr-cover-kpi span {
    display: block;
    margin-top: 4px;
    color: #B5B5BA;
    font-size: 7.5pt;
    text-transform: uppercase;
    letter-spacing: .4px;
  }
  .pr-cover-gauge {
    position: relative;
    z-index: 1;
    max-width: 132mm;
    padding-top: 2px;
  }
  .pr-gauge-labels {
    display: flex;
    justify-content: space-between;
    color: #B5B5BA;
    font-size: 7.2pt;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 5px;
  }
  .pr-gauge-track {
    position: relative;
    display: flex;
    height: 7px;
    border-radius: 999px;
    overflow: visible;
    background: #2A2A2E;
  }
  .pr-gauge-seg {
    display: block;
    height: 7px;
  }
  .pr-gauge-red { width: 60%; background: #B40124; border-radius: 999px 0 0 999px; }
  .pr-gauge-orange { width: 20%; background: #F59E0B; }
  .pr-gauge-green { width: 20%; background: #10B981; border-radius: 0 999px 999px 0; }
  .pr-gauge-marker {
    position: absolute;
    top: -5px;
    width: 4px;
    height: 17px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid #0A0A0B;
  }
  .pr-cover-gauge p {
    margin-top: 8px;
    color: #B5B5BA;
    font-size: 8.2pt;
    line-height: 1.35;
  }
  .pr-page:not(.pr-cover) {
    padding: 15mm 14mm 16mm;
  }
  .pr-h2 {
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 4px solid #FFF318;
    letter-spacing: 0;
  }
  .pr-table {
    border: 1px solid #D8D8DD;
    border-radius: 8px;
    overflow: hidden;
  }
  .pr-table thead th {
    border: none;
  }
  .pr-table tbody td {
    border-top: 1px solid #ECECEF;
  }
  .pr-w-0 { width: 0%; }
  .pr-w-5 { width: 5%; }
  .pr-w-10 { width: 10%; }
  .pr-w-15 { width: 15%; }
  .pr-w-20 { width: 20%; }
  .pr-w-25 { width: 25%; }
  .pr-w-30 { width: 30%; }
  .pr-w-35 { width: 35%; }
  .pr-w-40 { width: 40%; }
  .pr-w-45 { width: 45%; }
  .pr-w-50 { width: 50%; }
  .pr-w-55 { width: 55%; }
  .pr-w-60 { width: 60%; }
  .pr-w-65 { width: 65%; }
  .pr-w-70 { width: 70%; }
  .pr-w-75 { width: 75%; }
  .pr-w-80 { width: 80%; }
  .pr-w-85 { width: 85%; }
  .pr-w-90 { width: 90%; }
  .pr-w-95 { width: 95%; }
  .pr-w-100 { width: 100%; }
  .pr-pos-0 { left: 0%; }
  .pr-pos-5 { left: 5%; }
  .pr-pos-10 { left: 10%; }
  .pr-pos-15 { left: 15%; }
  .pr-pos-20 { left: 20%; }
  .pr-pos-25 { left: 25%; }
  .pr-pos-30 { left: 30%; }
  .pr-pos-35 { left: 35%; }
  .pr-pos-40 { left: 40%; }
  .pr-pos-45 { left: 45%; }
  .pr-pos-50 { left: 50%; }
  .pr-pos-55 { left: 55%; }
  .pr-pos-60 { left: 60%; }
  .pr-pos-65 { left: 65%; }
  .pr-pos-70 { left: 70%; }
  .pr-pos-75 { left: 75%; }
  .pr-pos-80 { left: 80%; }
  .pr-pos-85 { left: 85%; }
  .pr-pos-90 { left: 90%; }
  .pr-pos-95 { left: 95%; }
  .pr-pos-100 { left: 100%; }
  .pr-scorebar {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: #E5E5E8;
    overflow: hidden;
  }
  .pr-scorebar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #B40124;
  }
  .pr-scorebar-fill.pr-level-orange { background: #F59E0B; }
  .pr-scorebar-fill.pr-level-vert { background: #10B981; }
  .pr-row.pr-level-vert { background: #ECFDF5 !important; }
  .pr-row.pr-level-orange { background: #FFFBEB !important; }
  .pr-row.pr-level-rouge { background: #FEF2F2 !important; }
  .pr-dashboard-page .pr-h2 {
    font-size: 19pt;
    margin-bottom: 10px;
  }
  .pr-dashboard-page .pr-paragraph {
    font-size: 9.6pt;
    line-height: 1.42;
    margin-bottom: 10px;
  }
  .pr-exec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 10px 0;
  }
  .pr-exec-card {
    min-height: 26mm;
    padding: 9px 10px;
    border: 1px solid #E5E5E8;
    border-left: 4px solid #B40124;
    border-radius: 8px;
    background: #FAFAFB;
  }
  .pr-exec-card.pr-level-orange { border-left-color: #F59E0B; }
  .pr-exec-card.pr-level-vert { border-left-color: #10B981; }
  .pr-exec-card span {
    display: block;
    color: #5A5A60;
    font-size: 7.4pt;
    text-transform: uppercase;
    letter-spacing: .6px;
    font-weight: 800;
  }
  .pr-exec-card strong {
    display: block;
    margin: 3px 0;
    color: #0A0A0B;
    font-size: 14pt;
    line-height: 1.05;
  }
  .pr-exec-card small {
    display: block;
    color: #4A4A50;
    font-size: 8pt;
    line-height: 1.25;
  }
  .pr-exec-main .pr-scorebar {
    margin-top: 7px;
  }
  .pr-tight-title {
    font-size: 12pt;
    margin: 8px 0 6px 0;
  }
  .pr-cat-chart {
    border: 1px solid #D8D8DD;
    border-radius: 8px;
    overflow: hidden;
  }
  .pr-cat-row {
    display: grid;
    grid-template-columns: 48mm 1fr 27mm;
    gap: 8px;
    align-items: center;
    padding: 5px 8px;
    min-height: 11mm;
    border-bottom: 1px solid #ECECEF;
    background: #FFFFFF;
  }
  .pr-cat-row:last-child {
    border-bottom: 0;
  }
  .pr-cat-row.pr-level-rouge { background: #FEF2F2; }
  .pr-cat-row.pr-level-orange { background: #FFFBEB; }
  .pr-cat-row.pr-level-vert { background: #ECFDF5; }
  .pr-cat-main strong {
    display: block;
    font-size: 9.2pt;
    color: #0A0A0B;
    line-height: 1.15;
  }
  .pr-cat-main span {
    display: block;
    margin-top: 2px;
    font-size: 7.3pt;
    line-height: 1.18;
    color: #5A5A60;
  }
  .pr-cat-scorebox {
    text-align: right;
  }
  .pr-cat-scorebox strong {
    display: block;
    color: #0A0A0B;
    font-size: 10pt;
    line-height: 1;
  }
  .pr-cat-scorebox span {
    display: block;
    margin-top: 2px;
    color: #B40124;
    font-size: 7pt;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
  }
  .pr-level-orange .pr-cat-scorebox span { color: #B45309; }
  .pr-level-vert .pr-cat-scorebox span { color: #047857; }
  .pr-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .pr-focus-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 6px;
    padding: 8px;
    border: 1px solid #E5E5E8;
    border-radius: 8px;
    background: #FAFAFB;
  }
  .pr-focus-item b {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: #B40124;
    color: #FFFFFF;
    font-size: 9pt;
  }
  .pr-focus-item.pr-level-orange b { background: #F59E0B; color: #0A0A0B; }
  .pr-focus-item.pr-level-vert b { background: #10B981; color: #FFFFFF; }
  .pr-focus-item strong {
    font-size: 8.8pt;
    line-height: 1.1;
    color: #0A0A0B;
  }
  .pr-focus-item span {
    font-size: 7.2pt;
    color: #5A5A60;
    line-height: 1.2;
  }
  .pr-priority {
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #ECECEF;
  }
  .pr-priority-soft {
    border-left-color: #10B981;
  }
  .pr-priority-soft::before {
    background: #10B981;
  }
  .pr-step {
    border-radius: 8px;
    background: #FAFAFB;
    box-shadow: inset 0 0 0 1px #ECECEF;
  }
  .pr-cta {
    border-radius: 10px;
    background: #0A0A0B !important;
    border: 2px solid #FFF318;
  }
  .pr-disclaimer {
    background: #FAFAFB;
    border: 1px solid #E5E5E8;
    border-radius: 8px;
    padding: 10px 12px;
  }
  .pr-priority-page .pr-h2,
  .pr-reco-page .pr-h2 {
    font-size: 18pt;
    margin-bottom: 12px;
  }
  .pr-priority-page .pr-h2 {
    font-size: 17pt;
    margin-bottom: 8px;
  }
  .pr-priority-page .pr-paragraph,
  .pr-reco-page .pr-paragraph {
    font-size: 9.4pt;
    line-height: 1.42;
    margin-bottom: 10px;
  }
  .pr-priority-page .pr-paragraph {
    font-size: 8.8pt;
    line-height: 1.28;
    margin-bottom: 7px;
  }
  .pr-priority-page .pr-priority {
    padding: 5px 8px 5px 35px;
    margin-bottom: 3px;
    border-left-width: 3px;
  }
  .pr-priority-page .pr-priority::before {
    left: 7px;
    top: 6px;
    width: 22px;
    height: 22px;
    font-size: 9.6pt;
  }
  .pr-priority-page .pr-priority-tag {
    font-size: 6.4pt;
    letter-spacing: .7px;
    margin-bottom: 1px;
  }
  .pr-priority-page .pr-priority-q {
    font-size: 8.1pt;
    line-height: 1.12;
    margin-bottom: 2px;
  }
  .pr-priority-page .pr-priority-a {
    font-size: 7.2pt;
    line-height: 1.12;
  }
  .pr-priority-page .pr-priority-impact {
    margin-top: 2px;
    color: #0A0A0B;
    font-size: 6.8pt;
    line-height: 1.1;
    font-weight: 700;
  }
  .pr-reco-page .pr-steps {
    margin-bottom: 10px;
  }
  .pr-reco-page .pr-step {
    position: relative;
    padding: 7px 10px 7px 48px;
    margin-bottom: 6px;
    border-left-width: 3px;
  }
  .pr-step-phase {
    position: absolute;
    left: 10px;
    top: 9px;
    min-width: 29px;
    padding: 3px 0;
    border-radius: 5px;
    background: #0A0A0B;
    color: #FFF318;
    font-size: 7pt;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    letter-spacing: .3px;
  }
  .pr-reco-page .pr-step-title {
    font-size: 9.6pt;
    margin-bottom: 2px;
  }
  .pr-reco-page .pr-step-text {
    font-size: 8.6pt;
    line-height: 1.35;
  }
  .pr-reco-page .pr-cta {
    padding: 13px 16px;
    margin: 10px 0 8px 0;
  }
  .pr-reco-page .pr-cta-title {
    font-size: 12pt;
    margin-bottom: 5px;
  }
  .pr-reco-page .pr-cta-text {
    font-size: 8.6pt;
    line-height: 1.35;
    margin-bottom: 9px;
  }
  .pr-reco-page .pr-cta-cols {
    display: flex;
    gap: 16px;
  }
  .pr-reco-page .pr-cta-label {
    font-size: 6.8pt;
    margin-bottom: 2px;
  }
  .pr-reco-page .pr-cta-value {
    font-size: 8.8pt;
    margin-bottom: 2px;
  }
  .pr-reco-page .pr-cta-note {
    font-size: 7pt;
    margin-top: 3px;
  }
  .pr-reco-page .pr-cta-mt {
    margin-top: 6px;
  }
  .pr-reco-page .pr-disclaimer {
    font-size: 7pt;
    line-height: 1.32;
    margin-top: 7px;
    padding: 7px 9px;
    page-break-inside: auto;
    break-inside: auto;
  }
  .pr-reco-page .pr-disclaimer h4 {
    font-size: 7.6pt;
    margin-bottom: 4px;
  }
  .pr-reco-page .pr-disclaimer p {
    margin-bottom: 3px;
  }
}


/* =========================================================
   Audit Pro â€” Outil interne d'audit cybersÃ©curitÃ©
   Page : audit-pro.html
   ========================================================= */

.ap-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.ap-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.ap-sidebar-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.ap-progress-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
}
.ap-progress-mini > span {
  min-width: 42px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ap-progress-mini .ap-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  overflow: hidden;
}
.ap-progress-mini .ap-progress-bar {
  display: block;
  height: 100%;
  width: var(--ae-progress, 0%);
  background: linear-gradient(90deg, var(--yellow), #FFC700);
  border-radius: 999px;
  transition: width .3s ease;
}
.ap-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.ap-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text-muted);
  transition: all .15s ease;
}
.ap-nav-item:hover { background: rgba(255,243,24,.04); color: var(--text); }
.ap-nav-item.is-active {
  background: rgba(255,243,24,.08);
  border-color: rgba(255,243,24,.3);
  color: var(--text);
  font-weight: 700;
}
.ap-nav-item.is-complete .ap-nav-icon {
  background: rgba(16,185,129,.14);
  color: #34D399;
}
.ap-nav-item.is-started:not(.is-active) {
  color: var(--text);
}
.ap-nav-icon { font-size: 1.1rem; width: 22px; text-align: center; }
.ap-nav-label {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}
.ap-nav-label strong {
  display: block;
  color: inherit;
  font-size: .9rem;
  overflow-wrap: anywhere;
}
.ap-nav-label small {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: .72rem;
  overflow-wrap: anywhere;
}
.ap-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: var(--yellow);
  font-size: .74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ap-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.ap-sidebar-actions .btn { width: 100%; font-size: .85rem; padding: 8px 12px; }

.ap-main { min-width: 0; }

.ap-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ap-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,243,24,.32);
  border-radius: 8px;
  background: rgba(255,243,24,.08);
  color: var(--yellow);
  font-size: .98rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ap-step-title-wrap {
  flex: 1;
  min-width: 0;
}
.ap-step-title { font-size: 1.6rem; margin: 0; flex: 1; }
.ap-step-subtitle {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.ap-step-head .eyebrow { white-space: nowrap; }

.ap-dashboard {
  overflow: hidden;
  margin-bottom: 18px;
  padding: 20px;
  border-color: rgba(255,243,24,.18);
  background:
    linear-gradient(135deg, rgba(255,243,24,.055), transparent 42%),
    rgba(255,255,255,.025);
}
.ap-dashboard-head {
  display: grid;
  gap: 5px;
  max-width: 920px;
}
.ap-dashboard-head strong {
  color: var(--text);
  font-size: 1.12rem;
}
.ap-dashboard-head p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.ap-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.ap-kpi {
  min-width: 0;
  min-height: 88px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(10,10,11,.38);
}
.ap-kpi span {
  display: block;
  color: var(--text-muted);
  font-size: .74rem;
  text-transform: uppercase;
  font-weight: 800;
}
.ap-kpi strong {
  display: block;
  margin: 5px 0 2px;
  color: var(--yellow);
  font-size: 1.35rem;
  line-height: 1;
}
.ap-kpi small {
  color: var(--text-muted);
  font-size: .78rem;
  overflow-wrap: anywhere;
}
.ap-risk-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.ap-risk-pill {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(245,158,11,.28);
  border-left: 4px solid #F59E0B;
  border-radius: 8px;
  background: rgba(245,158,11,.06);
}
.ap-risk-pill.ap-risk-critical,
.ap-risk-pill.ap-risk-missing {
  border-color: rgba(180,1,36,.32);
  border-left-color: var(--red);
  background: rgba(180,1,36,.08);
}
.ap-risk-pill strong {
  display: block;
  color: var(--text);
  font-size: .78rem;
  margin-bottom: 3px;
}
.ap-risk-pill span {
  display: block;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ap-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  padding: 22px;
  border-radius: 8px;
  overflow: hidden;
}
.ap-section-title {
  grid-column: 1 / -1;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yellow);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.ap-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ap-field:has(textarea),
.ap-field:has(.ap-radio-group),
.ap-field:has(.ap-info-box) {
  grid-column: 1 / -1;
}
.ap-label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}
.ap-required { color: var(--red); }
.ap-field input[type="text"],
.ap-field input[type="email"],
.ap-field input[type="tel"],
.ap-field input[type="number"],
.ap-field input[type="date"],
.ap-field textarea,
.ap-field select {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,.02);
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
  width: 100%;
}
.ap-field select {
  color-scheme: dark;
}
.ap-field select option {
  background: #0A0A0B;
  color: #F6F6F7;
}
.ap-field input:focus,
.ap-field textarea:focus,
.ap-field select:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255,243,24,.03);
}
.ap-field textarea { resize: vertical; min-height: 70px; }

.ap-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.ap-radio-opt,
.ap-checkbox-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  background: rgba(255,255,255,.012);
  transition: all .15s ease;
}
.ap-radio-opt:hover,
.ap-checkbox-opt:hover { border-color: rgba(255,243,24,.3); }
.ap-radio-opt input[type="radio"],
.ap-checkbox-opt input[type="checkbox"] {
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--yellow);
}
.ap-radio-opt span,
.ap-checkbox-opt span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.ap-radio-opt:has(input:checked),
.ap-checkbox-opt:has(input:checked) {
  border-color: var(--yellow);
  background: rgba(255,243,24,.05);
  color: var(--text);
}

.ap-info-box {
  background: rgba(255,243,24,.06);
  border-left: 4px solid var(--yellow);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: .9rem;
  line-height: 1.55;
}
.ap-info-box strong { color: var(--text); display: block; margin-bottom: 6px; }

.ap-dynamic-wrap { margin-top: 12px; }
.ap-dynamic-block {
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 22px;
  background: rgba(255,255,255,.012);
  overflow: hidden;
}
.ap-dynamic-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--yellow);
}
.ap-dynamic-index {
  background: var(--yellow);
  color: #0A0A0B;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .82rem;
}
.ap-dynamic-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.ap-empty {
  background: rgba(255,255,255,.02);
  border-style: dashed;
}

.ap-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-wrap: wrap;
}
.ap-footer-nav button[disabled] {
  opacity: .35;
  cursor: not-allowed;
}
.ap-footer-nav[hidden],
.ap-final[hidden] {
  display: none;
}
.ap-step-counter {
  font-size: .9rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.ap-final {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-elev);
  border: 2px solid var(--yellow);
  border-radius: 8px;
}
.ap-report-status {
  grid-column: 1 / -1;
  padding: 15px 16px;
  border: 1px solid rgba(16,185,129,.32);
  border-left: 4px solid #10B981;
  border-radius: 8px;
  background: rgba(16,185,129,.06);
}
.ap-report-status strong {
  display: block;
  color: var(--text);
  margin-top: 4px;
}
.ap-report-status p,
.ap-report-status small {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.45;
}
.ap-final .btn { width: 100%; }

.tag-rouge {
  background: rgba(180,1,36,.15);
  color: #ff5870;
  border-color: rgba(180,1,36,.4);
}

/* =========================================================
   Page : audit-pro-agent.html
   ========================================================= */

.agent-head h1 { max-width: 920px; }
.agent-head .inner { max-width: 1120px; }
.agent-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.agent-hero-grid div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255,243,24,.22);
  border-radius: 8px;
  background: rgba(10,10,11,.72);
}
.agent-hero-grid strong {
  display: block;
  color: var(--yellow);
  font-size: 1.45rem;
  line-height: 1;
}
.agent-hero-grid span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .84rem;
}
.agent-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.agent-side {
  position: sticky;
  top: 96px;
  border-color: rgba(255,243,24,.28);
  background: linear-gradient(180deg, rgba(255,243,24,.055), rgba(255,255,255,.018));
}
.agent-side-top {
  display: grid;
  gap: 8px;
}
.agent-side-top h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
}
.agent-side-top p {
  margin: 0;
  color: var(--text-muted);
  font-size: .94rem;
}
.agent-side-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 6px 9px;
  border: 1px solid rgba(180,1,36,.45);
  border-radius: 8px;
  color: #ffb4c1;
  background: rgba(180,1,36,.11);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.agent-steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: agent-step;
  display: grid;
  gap: 10px;
}
.agent-steps li {
  counter-increment: agent-step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.agent-steps li::before {
  content: counter(agent-step, decimal-leading-zero);
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--yellow);
  color: #0A0A0B;
  font-weight: 900;
  font-size: .82rem;
}
.agent-steps strong { display: block; color: var(--text); }
.agent-steps span {
  grid-column: 2;
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.45;
}
.agent-side-foot {
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(255,243,24,.2);
  border-radius: 8px;
  background: rgba(255,243,24,.055);
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.agent-side-foot strong {
  display: block;
  margin-bottom: 5px;
  color: var(--yellow);
}
.agent-main {
  display: grid;
  gap: 28px;
  min-width: 0;
}
.agent-panel {
  min-width: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.agent-panel:first-child {
  padding-top: 0;
  border-top: 0;
}
.agent-panel-accent {
  padding: 18px;
  border: 1px solid rgba(255,243,24,.2);
  border-radius: 8px;
  background: rgba(255,243,24,.035);
}
.agent-panel-head {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  max-width: 820px;
}
.agent-panel-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1.18;
}
.agent-panel-head p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}
.agent-download-grid,
.agent-command-grid,
.agent-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.agent-download-card,
.agent-command,
.agent-fill-item {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.028);
}
.agent-download-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 17px;
  min-height: 100%;
}
.agent-card-top,
.agent-command-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.agent-os,
.agent-filetype {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.agent-os {
  background: rgba(255,243,24,.12);
  color: var(--yellow);
  border: 1px solid rgba(255,243,24,.24);
}
.agent-filetype {
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.agent-download-card h3,
.agent-scope-grid h3 {
  margin: 0;
  color: var(--text);
}
.agent-download-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.52;
}
.agent-card-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: .88rem;
}
.agent-card-list li {
  position: relative;
  padding-left: 16px;
}
.agent-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--yellow);
}
.agent-download-card .btn {
  justify-self: start;
  margin-top: 4px;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(255,243,24,.06);
  color: var(--text);
  border: 1px solid rgba(255,243,24,.18);
  font-size: .9rem;
}
.agent-status strong {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: .75rem;
}
.agent-status span { color: var(--text-muted); }
.agent-fill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.agent-fill-item {
  padding: 14px;
}
.agent-fill-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 5px;
}
.agent-fill-item span {
  display: block;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.agent-command {
  display: grid;
  gap: 9px;
  padding: 16px;
}
.agent-command strong { color: var(--yellow); }
.agent-command-title span {
  color: var(--text-muted);
  font-size: .82rem;
}
.agent-command code {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 11px;
  border-radius: 8px;
  background: #050506;
  color: #F7F7F7;
  border: 1px solid rgba(255,255,255,.08);
  font-size: .85rem;
  line-height: 1.55;
}
.agent-command small {
  color: var(--text-muted);
  line-height: 1.45;
}
.agent-command small code {
  display: inline;
  padding: 2px 5px;
}
.agent-command-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
}
.agent-upload {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px;
  border: 1px dashed rgba(255,243,24,.4);
  border-radius: 8px;
  background: rgba(255,243,24,.045);
  cursor: pointer;
}
.agent-upload:hover,
.agent-upload:focus-within {
  border-color: rgba(255,243,24,.74);
  background: rgba(255,243,24,.07);
}
.agent-upload input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.agent-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  color: #0A0A0B;
  background: var(--yellow);
  font-weight: 900;
  font-size: .78rem;
}
.agent-upload-copy {
  display: grid;
  gap: 4px;
}
.agent-upload-copy strong {
  color: var(--yellow);
  font-size: 1.02rem;
}
.agent-upload-copy small {
  color: var(--text-muted);
  line-height: 1.45;
}
.agent-json-preview { margin-top: 14px; }
.agent-empty-state {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.agent-empty-state strong {
  display: block;
  color: var(--text);
}
.agent-empty-state span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: .9rem;
}
.agent-preview-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.agent-preview-kpi {
  padding: 11px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.028);
}
.agent-preview-kpi span {
  display: block;
  color: var(--text-muted);
  font-size: .76rem;
  text-transform: uppercase;
}
.agent-preview-kpi strong {
  display: block;
  margin-top: 4px;
  color: var(--yellow);
  font-size: 1.45rem;
}
.agent-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
}
.agent-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: .9rem;
}
.agent-table th,
.agent-table td {
  padding: 10px 11px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: left;
  vertical-align: top;
}
.agent-table th {
  color: var(--yellow);
  background: rgba(255,255,255,.04);
  font-size: .78rem;
  text-transform: uppercase;
}
.agent-table tbody tr:last-child td { border-bottom: 0; }
.agent-table .dim { color: var(--text-muted); }
.agent-row-error td { color: #ffb4c1; }
.agent-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: .92rem;
}
.agent-note-ok {
  border: 1px solid rgba(30,200,120,.22);
  background: rgba(30,200,120,.07);
  color: #bff4d8;
}
.agent-note-warn {
  border: 1px solid rgba(255,243,24,.22);
  background: rgba(255,243,24,.07);
  color: var(--text);
}
.agent-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.agent-scope-grid > div {
  min-width: 0;
  padding: 2px;
}
.agent-scope-grid .feature-list { margin-top: 10px; }

/* ========== Mobile ========== */
@media (max-width: 980px) {
  .ap-shell {
    grid-template-columns: 1fr;
  }
  .agent-shell {
    grid-template-columns: 1fr;
  }
  .agent-side {
    position: static;
  }
  .agent-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agent-download-grid,
  .agent-command-grid,
  .agent-scope-grid,
  .agent-fill-grid,
  .agent-preview-summary {
    grid-template-columns: 1fr;
  }
  .ap-sidebar {
    position: static;
    max-height: none;
  }
  .ap-nav {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .ap-nav-item {
    flex-shrink: 0;
    width: auto;
    min-width: 168px;
    max-width: 220px;
  }
  .ap-kpi-grid,
  .ap-risk-strip,
  .ap-final {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ap-section {
    grid-template-columns: 1fr;
  }
  .ap-radio-group {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .ap-step-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .ap-step-head .eyebrow {
    grid-column: 1 / -1;
  }
  .ap-step-title { font-size: 1.28rem; }
  .ap-step-subtitle { font-size: .84rem; }
  .ap-dashboard,
  .ap-section,
  .ap-dynamic-block,
  .ap-footer-nav,
  .ap-final {
    padding: 16px;
  }
  .ap-kpi-grid,
  .ap-risk-strip,
  .ap-final {
    grid-template-columns: 1fr;
  }
  .ap-footer-nav {
    display: grid;
    grid-template-columns: 1fr;
  }
  .agent-hero-grid {
    grid-template-columns: 1fr;
  }
  .agent-upload {
    grid-template-columns: 1fr;
  }
  .agent-upload-icon {
    width: 56px;
    height: 56px;
  }
  .agent-status,
  .agent-card-top,
  .agent-command-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .agent-actions {
    justify-content: stretch;
  }
  .agent-actions .btn,
  .agent-download-card .btn {
    width: 100%;
  }
  .ap-footer-nav .btn {
    width: 100%;
  }
  .ap-step-counter {
    text-align: center;
    order: -1;
  }
}

/* ========== Print : tableau inventaire mini ========== */
@media print {
  .pr-mini-table { font-size: 9pt; }
  .pr-mini-table th, .pr-mini-table td { padding: 6px 8px; }

  .pr-pair {
    display: flex;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px dotted #E5E5E8;
  }
  .pr-pair-label {
    flex: 0 0 34%;
    font-weight: 700;
    color: #0A0A0B;
    font-size: 8.5pt;
  }
  .pr-pair-value {
    flex: 1;
    font-size: 8.8pt;
    color: #2A2A2E;
    overflow-wrap: anywhere;
  }

  .pr-ident-hero {
    margin: 10px 0 14px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #0A0A0B;
    color: #fff;
    border-left: 6px solid #FFF318;
  }
  .pr-ident-hero .eyebrow {
    color: #FFF318;
  }
  .pr-ident-hero > strong {
    display: block;
    margin: 5px 0 4px;
    font-size: 18pt;
    line-height: 1.12;
    color: #fff;
  }
  .pr-ident-hero > p {
    margin: 0 0 12px;
    color: #D8D8DE;
    font-size: 9.5pt;
  }
  .pr-ident-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .pr-ident-kpi {
    padding: 8px 9px;
    border-radius: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
  }
  .pr-ident-kpi span {
    display: block;
    color: #BDBDC4;
    font-size: 7.4pt;
    text-transform: uppercase;
    letter-spacing: .3px;
  }
  .pr-ident-kpi strong {
    display: block;
    margin-top: 3px;
    color: #FFF318;
    font-size: 10pt;
    line-height: 1.15;
  }
  .pr-ident-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pr-ident-card {
    border: 1px solid #E2E2E8;
    border-radius: 8px;
    padding: 11px 12px;
    background: #FAFAFB;
    break-inside: avoid;
  }
  .pr-ident-card .pr-h3 {
    margin-top: 0;
    padding-bottom: 6px;
  }

  .pr-h-forces      { border-bottom-color: #10B981 !important; }
  .pr-h-faiblesses  { border-bottom-color: #F59E0B !important; }
  .pr-h-risques     { border-bottom-color: #B40124 !important; }

  /* Page interne Scryptoura */
  .pr-internal-page {
    background: rgba(180,1,36,0.03);
  }
  .pr-internal-banner {
    background: #B40124;
    color: #fff;
    padding: 10px 14px;
    font-weight: 800;
    font-size: 10pt;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 16px;
  }
  .ap-risk-register-page .pr-priority {
    margin-bottom: 5px;
  }
  .ap-domain-page .pr-mini-table td:nth-child(2) {
    font-weight: 700;
    color: #0A0A0B;
  }
  .ap-row-scoreable td:last-child {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }
}

@media print {
  .pr-lead {
    font-size: 11pt;
    line-height: 1.55;
    color: #242428;
    margin: 0 0 14px;
    padding: 12px 14px;
    border-left: 4px solid #FFF318;
    background: #F7F7F1;
  }
  .pr-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
  }
  .pr-panel,
  .pr-exec-card,
  .pr-quick-card,
  .pr-scenario-card,
  .pr-glossary-card,
  .pr-maturity-card,
  .pr-risk-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .pr-panel {
    border: 1px solid #E4E4E8;
    border-radius: 6px;
    padding: 12px;
    background: #FAFAFB;
  }
  .pr-decision-box {
    border-left: 5px solid #B40124;
    background: #FFF7F8;
  }
  .pr-exec-grid,
  .pr-quick-grid,
  .pr-scenario-grid,
  .pr-glossary-grid,
  .pr-maturity-grid,
  .pr-method-score-grid,
  .pr-quality-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 14px;
  }
  .pr-method-score-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .pr-method-score,
  .pr-quality-card {
    border: 1px solid #E2E2E8;
    border-radius: 7px;
    padding: 10px 11px;
    background: #FAFAFB;
    border-left: 5px solid #D7D7DE;
    break-inside: avoid;
  }
  .pr-method-score span,
  .pr-quality-card span {
    display: block;
    color: #66666D;
    font-size: 7.4pt;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .45px;
  }
  .pr-method-score strong,
  .pr-quality-card strong {
    display: block;
    margin: 3px 0 4px;
    color: #0A0A0B;
    font-size: 13pt;
    line-height: 1.08;
    font-variant-numeric: tabular-nums;
  }
  .pr-method-score small,
  .pr-quality-card small,
  .pr-quality-card p {
    display: block;
    margin: 0;
    color: #55555C;
    font-size: 7.9pt;
    line-height: 1.28;
  }
  .pr-quality-card p {
    margin-bottom: 5px;
  }
  .pr-score-good,
  .pr-quality-good {
    border-left-color: #10B981;
    background: #F3FBF7;
  }
  .pr-score-warn,
  .pr-quality-warn {
    border-left-color: #F59E0B;
    background: #FFFBEB;
  }
  .pr-score-bad,
  .pr-quality-bad {
    border-left-color: #B40124;
    background: #FFF7F8;
  }
  .pr-ref-table td:nth-child(1) {
    width: 22%;
    font-weight: 800;
    color: #0A0A0B;
  }
  .pr-ref-table td:nth-child(2) {
    width: 38%;
  }
  .pr-ref-table td:nth-child(3) {
    width: 40%;
    font-size: 8pt;
  }
  .pr-governance-hero {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 12px;
    margin: 12px 0 14px;
    padding: 14px;
    border-radius: 8px;
    background: #0A0A0B !important;
    color: #fff;
    border-left: 6px solid #FFF318;
    break-inside: avoid;
  }
  .pr-governance-score span,
  .pr-governance-meaning strong {
    display: block;
    color: #FFF318;
    font-size: 7.5pt;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
  }
  .pr-governance-score strong {
    display: block;
    margin: 4px 0;
    color: #fff;
    font-size: 25pt;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .pr-governance-score small,
  .pr-governance-meaning p {
    display: block;
    margin: 0;
    color: #D7D7DD;
    font-size: 9pt;
    line-height: 1.38;
  }
  .pr-governance-control-grid,
  .pr-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
  }
  .pr-governance-control,
  .pr-policy-item {
    border: 1px solid #E2E2E8;
    border-radius: 7px;
    padding: 9px 10px;
    background: #FAFAFB;
    border-left: 5px solid #D7D7DE;
    break-inside: avoid;
  }
  .pr-governance-control span,
  .pr-policy-item span {
    display: block;
    color: #B40124;
    font-size: 7.2pt;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .45px;
  }
  .pr-governance-control strong {
    display: block;
    margin: 3px 0;
    color: #0A0A0B;
    font-size: 9pt;
    line-height: 1.18;
  }
  .pr-governance-control small,
  .pr-governance-control p,
  .pr-policy-item p {
    margin: 0;
    color: #4A4A52;
    font-size: 7.8pt;
    line-height: 1.28;
  }
  .pr-policy-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 7px;
    align-items: start;
    border-left-color: #FFF318;
  }
  .pr-policy-item span {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A0A0B;
    color: #FFF318;
    font-size: 7pt;
  }
  .pr-gov-register-table,
  .pr-raci-table,
  .pr-calendar-table,
  .pr-accept-table,
  .pr-gov-doc-table {
    table-layout: fixed;
    font-size: 8pt;
  }
  .pr-gov-register-table td,
  .pr-raci-table td,
  .pr-calendar-table td,
  .pr-accept-table td,
  .pr-gov-doc-table td {
    vertical-align: top;
    overflow-wrap: anywhere;
  }
  .pr-gov-register-table td:first-child,
  .pr-raci-table td:not(:first-child),
  .pr-accept-table td:nth-child(2),
  .pr-gov-doc-table td:nth-child(4) {
    font-weight: 800;
    text-align: center;
    color: #0A0A0B;
  }
  .pr-raci-table td:first-child,
  .pr-calendar-table td:first-child,
  .pr-gov-doc-table td:first-child {
    font-weight: 800;
    color: #0A0A0B;
  }
  .pr-exec-card {
    border: 1px solid #E0E0E5;
    border-radius: 6px;
    padding: 12px;
    background: #0A0A0B;
    color: #fff;
  }
  .pr-exec-card span,
  .pr-exec-card small {
    display: block;
    color: #D6D6D9;
    font-size: 8.5pt;
    text-transform: uppercase;
    letter-spacing: .4px;
  }
  .pr-exec-card strong {
    display: block;
    color: #FFF318;
    font-size: 18pt;
    line-height: 1.1;
    margin: 4px 0;
  }
  .pr-compact-list {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 9.5pt;
    line-height: 1.45;
  }
  .pr-note-box {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid #E5E5E8;
    border-left: 4px solid #FFF318;
    background: #FFFDEB;
    color: #202025;
    font-size: 9.5pt;
    line-height: 1.45;
  }
  .pr-agent-hero {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    gap: 12px;
    margin: 12px 0 14px;
    padding: 14px;
    border-radius: 8px;
    background: #0A0A0B !important;
    color: #fff;
    border-left: 6px solid #FFF318;
    break-inside: avoid;
  }
  .pr-agent-hero-main span,
  .pr-agent-hero-side span,
  .pr-agent-score-card span,
  .pr-agent-metric span {
    display: block;
    font-size: 7.4pt;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
  }
  .pr-agent-hero-main span,
  .pr-agent-hero-side span {
    color: #FFF318;
  }
  .pr-agent-hero-main strong,
  .pr-agent-hero-side strong {
    display: block;
    margin: 4px 0 5px;
    font-size: 25pt;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
  }
  .pr-agent-hero-main p,
  .pr-agent-hero-side p {
    margin: 0;
    color: #D7D7DD;
    font-size: 9.4pt;
    line-height: 1.38;
  }
  .pr-agent-hero-side {
    padding: 10px 12px;
    border-radius: 7px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
  }
  .pr-agent-metric-grid,
  .pr-agent-score-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
  }
  .pr-agent-metric,
  .pr-agent-score-card {
    border: 1px solid #E2E2E8;
    border-radius: 7px;
    padding: 9px 10px;
    background: #FAFAFB;
    break-inside: avoid;
  }
  .pr-agent-metric {
    border-left: 4px solid #0A0A0B;
  }
  .pr-agent-metric span,
  .pr-agent-score-card span {
    color: #66666D;
  }
  .pr-agent-metric strong,
  .pr-agent-score-card strong {
    display: block;
    margin: 3px 0 2px;
    color: #0A0A0B;
    font-size: 14pt;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
  }
  .pr-agent-metric small,
  .pr-agent-score-card small {
    display: block;
    color: #5B5B62;
    font-size: 7.8pt;
    line-height: 1.25;
  }
  .pr-agent-score-card {
    border-left-width: 5px;
  }
  .pr-agent-score-good {
    border-left-color: #10B981 !important;
  }
  .pr-agent-score-warn {
    border-left-color: #F59E0B !important;
  }
  .pr-agent-score-bad {
    border-left-color: #B40124 !important;
  }
  .pr-agent-meaning {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 7px;
    background: #FFF7F8;
    border: 1px solid #F1C9D1;
    border-left: 5px solid #B40124;
    break-inside: avoid;
  }
  .pr-agent-meaning .pr-h3 {
    margin-top: 0;
  }
  .pr-agent-meaning p {
    margin: 0 0 8px;
    color: #222227;
    font-size: 9.4pt;
    line-height: 1.42;
  }
  .pr-agent-meaning .pr-agent-limit-text {
    padding: 8px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #f0d63b;
    color: #181818;
    font-weight: 650;
  }
  .pr-agent-risk-list {
    margin: 0;
    padding-left: 17px;
    font-size: 9pt;
    line-height: 1.38;
  }
  .pr-agent-risk-list li {
    margin: 3px 0;
  }
  .pr-agent-table {
    table-layout: fixed;
    font-size: 8.5pt;
  }
  .pr-agent-table th:nth-child(1) { width: 23%; }
  .pr-agent-table th:nth-child(2) { width: 25%; }
  .pr-agent-table th:nth-child(3) { width: 32%; }
  .pr-agent-table th:nth-child(4) { width: 20%; }
  .pr-agent-table td {
    vertical-align: top;
    overflow-wrap: anywhere;
  }
  .pr-agent-table td:first-child {
    font-weight: 800;
    color: #0A0A0B;
  }
  .pr-agent-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 12px 0 14px;
  }
  .pr-agent-proof-card {
    padding: 10px 11px;
    border-radius: 7px;
    border: 1px solid #E2E2E8;
    background: #FAFAFB;
    break-inside: avoid;
  }
  .pr-agent-proof-card strong,
  .pr-agent-proof-card span {
    display: block;
  }
  .pr-agent-proof-card strong {
    color: #0A0A0B;
    font-size: 9.4pt;
  }
  .pr-agent-proof-card span {
    margin: 3px 0;
    color: #B40124;
    font-size: 12pt;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
  }
  .pr-agent-proof-card p {
    margin: 0;
    color: #55555C;
    font-size: 8.2pt;
    line-height: 1.32;
  }
  .pr-agent-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 12px;
  }
  .pr-agent-chip {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid #E4CBD0;
    background: #FFF7F8;
    color: #3A1A20;
    font-size: 7.8pt;
    font-weight: 700;
  }
  .pr-maturity-card {
    border: 1px solid #E5E5E8;
    border-radius: 6px;
    padding: 10px 12px;
    background: #FBFBFC;
  }
  .pr-maturity-card.is-current {
    border-color: #B40124;
    box-shadow: inset 4px 0 0 #B40124;
    background: #FFF7F8;
  }
  .pr-maturity-card strong,
  .pr-glossary-card strong,
  .pr-quick-card strong {
    display: block;
    color: #0A0A0B;
    font-size: 10pt;
    margin-bottom: 4px;
  }
  .pr-maturity-card span,
  .pr-glossary-card span,
  .pr-quick-card span,
  .pr-quick-card small {
    display: block;
    color: #34343A;
    font-size: 9pt;
    line-height: 1.4;
  }
  .pr-glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .pr-glossary-card {
    padding: 9px 10px;
  }
  .pr-glossary-card strong {
    font-size: 9.4pt;
  }
  .pr-glossary-card span {
    font-size: 8.1pt;
    line-height: 1.28;
  }
  .pr-topology-map {
    margin: 16px 0 12px;
    padding: 16px;
    border: 1px solid #E1E1E7;
    border-radius: 8px;
    background: #FAFAFB;
  }
  .pr-si-map {
    background: linear-gradient(180deg, #FAFAFB 0%, #F2F2F5 100%);
  }
  .pr-si-flow {
    display: grid;
    grid-template-columns: 1fr 26px 1fr 26px 1fr;
    gap: 7px;
    align-items: stretch;
    margin-bottom: 14px;
  }
  .pr-si-flow-node {
    min-height: 56px;
    padding: 10px 11px;
    border-radius: 8px;
    border: 1px solid #D9D9E0;
    background: #fff;
    box-shadow: 0 3px 10px rgba(10,10,11,.05);
  }
  .pr-si-flow-1 {
    background: #0A0A0B;
    border-color: #0A0A0B;
  }
  .pr-si-flow-node strong {
    display: block;
    color: #0A0A0B;
    font-size: 9.6pt;
    margin-bottom: 4px;
  }
  .pr-si-flow-1 strong {
    color: #FFF318;
  }
  .pr-si-flow-node span {
    display: block;
    color: #4A4A52;
    font-size: 8pt;
    line-height: 1.3;
  }
  .pr-si-flow-1 span {
    color: #D8D8DE;
  }
  .pr-si-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B40124;
    font-size: 18pt;
    font-weight: 900;
  }
  .pr-si-zones {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }
  .pr-si-zone {
    min-height: 96px;
    padding: 9px;
    border-radius: 8px;
    border: 1px solid #DADAE1;
    background: #fff;
    border-top: 4px solid #B40124;
  }
  .pr-si-zone-0 { border-top-color: #F59E0B; }
  .pr-si-zone-2 { border-top-color: #B40124; background: #FFF7F8; }
  .pr-si-zone-3 { border-top-color: #10B981; }
  .pr-si-zone strong,
  .pr-topology-reading strong {
    display: block;
    color: #0A0A0B;
    font-size: 8.9pt;
    margin-bottom: 4px;
  }
  .pr-si-zone span {
    display: block;
    color: #2F2F36;
    font-size: 7.8pt;
    line-height: 1.25;
    margin-bottom: 5px;
  }
  .pr-si-zone small {
    display: block;
    color: #62626A;
    font-size: 7.2pt;
    line-height: 1.25;
  }
  .pr-topology-reading {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #FFFDEB;
    border: 1px solid #EFE29A;
  }
  .pr-topology-reading span {
    display: block;
    color: #24242A;
    font-size: 9pt;
    line-height: 1.4;
  }
  .pr-topology-entry {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr;
    gap: 8px;
    align-items: center;
  }
  .pr-topology-node {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #D7D7DE;
    background: #0A0A0B;
    color: #FFF318;
    font-weight: 800;
    font-size: 9pt;
  }
  .pr-topology-main {
    min-height: 50px;
  }
  .pr-topology-arrow {
    color: #B40124;
    font-weight: 900;
    text-align: center;
  }
  .pr-topology-zones {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px solid #FFF318;
  }
  .pr-topology-zone {
    padding: 9px;
    border: 1px solid #DADAE0;
    border-radius: 6px;
    background: #fff;
  }
  .pr-topology-zone strong {
    display: block;
    color: #0A0A0B;
    font-size: 8.8pt;
    margin-bottom: 4px;
  }
  .pr-topology-zone span {
    display: block;
    color: #44444A;
    font-size: 8pt;
    line-height: 1.3;
  }
  .pr-risk-matrix {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 10pt;
  }
  .pr-risk-matrix th,
  .pr-risk-matrix td {
    border: 1px solid #D8D8DE;
    text-align: center;
    padding: 9px;
    font-weight: 800;
  }
  .pr-risk-matrix td {
    font-size: 8.2pt;
    line-height: 1.15;
  }
  .pr-risk-matrix th {
    background: #0A0A0B;
    color: #FFF318;
  }
  .pr-matrix-cell {
    color: #0A0A0B;
    white-space: pre-line;
  }
  .pr-risk-faible { background: #EAF8F1 !important; border-color: #BFE8D3 !important; }
  .pr-risk-moderee { background: #FFF6D6 !important; border-color: #F2D77A !important; }
  .pr-risk-elevee { background: #FFE8D6 !important; border-color: #F2B67A !important; }
  .pr-risk-critique { background: #FFE0E5 !important; border-color: #E08A9A !important; }
  .pr-matrix-legend {
    margin-top: 8px;
    font-size: 8.8pt;
    color: #55555D;
  }
  .pr-risk-table td:nth-child(2),
  .pr-risk-table td:nth-child(6) {
    text-align: left;
  }
  .pr-risk-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pr-risk-card {
    padding: 9px 11px;
    border: 1px solid #E4E4E8;
    border-left: 5px solid #B40124;
    border-radius: 6px;
    background: #fff;
  }
  .pr-risk-card.pr-risk-elevee { border-left-color: #F59E0B; }
  .pr-risk-card.pr-risk-moderee { border-left-color: #D6A900; }
  .pr-risk-card.pr-risk-faible { border-left-color: #10B981; }
  .pr-risk-card-head {
    color: #B40124;
    font-weight: 900;
    font-size: 8.5pt;
    text-transform: uppercase;
    margin-bottom: 3px;
  }
  .pr-risk-card strong {
    display: block;
    color: #0A0A0B;
    font-size: 10pt;
    margin-bottom: 4px;
  }
  .pr-risk-card p {
    margin: 2px 0;
    color: #2E2E34;
    font-size: 8.8pt;
    line-height: 1.35;
  }
  .pr-risk-card small {
    display: block;
    margin-top: 4px;
    color: #62626A;
    font-size: 8.2pt;
  }
  .pr-scenario-card,
  .pr-quick-card,
  .pr-glossary-card {
    border: 1px solid #E3E3E7;
    border-radius: 6px;
    padding: 11px 12px;
    background: #FAFAFB;
  }
  .pr-scenario-card {
    border-top: 4px solid #B40124;
  }
  .pr-scenario-num {
    display: inline-flex;
    min-width: 26px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #FFF318;
    color: #0A0A0B;
    font-weight: 900;
    font-size: 8pt;
    margin-bottom: 5px;
  }
  .pr-scenario-card h3 {
    margin: 0 0 5px;
    font-size: 10.5pt;
    color: #0A0A0B;
  }
  .pr-scenario-card p {
    margin: 3px 0;
    font-size: 8.7pt;
    line-height: 1.35;
    color: #303037;
  }
  .pr-scenario-card small {
    display: block;
    margin-top: 5px;
    color: #62626A;
    font-size: 8.2pt;
    line-height: 1.35;
  }
  .pr-action-page .pr-table td:nth-child(3),
  .pr-effort-page .pr-table td:nth-child(1),
  .pr-before-after-page .pr-table td {
    text-align: left;
  }
  .pr-action-table {
    table-layout: fixed;
    font-size: 8.2pt;
  }
  .pr-action-table th,
  .pr-action-table td {
    padding: 6px 6px;
    line-height: 1.22;
    vertical-align: top;
  }
  .pr-action-table th:nth-child(1),
  .pr-action-table td:nth-child(1) { width: 18mm; }
  .pr-action-table th:nth-child(2),
  .pr-action-table td:nth-child(2) { width: 58mm; }
  .pr-action-table th:nth-child(3),
  .pr-action-table td:nth-child(3) { width: 26mm; }
  .pr-action-table th:nth-child(4),
  .pr-action-table td:nth-child(4) { width: 43mm; }
  .pr-action-table th:nth-child(5),
  .pr-action-table td:nth-child(5) { width: 16mm; text-align: center; }
  .pr-action-table th:nth-child(6),
  .pr-action-table td:nth-child(6) { width: 18mm; text-align: center; }
  .pr-action-main {
    font-weight: 700;
    color: #111116;
  }
  .pr-action-delay,
  .pr-action-priority,
  .pr-action-gain {
    font-weight: 800;
  }
  .pr-action-delay {
    color: #B40124;
  }
  .pr-action-count {
    font-variant-numeric: tabular-nums;
    font-weight: 900;
  }
  .pr-action-owner,
  .pr-action-proof {
    color: #33333A;
    overflow-wrap: anywhere;
  }
}
