/* ==========================================================================
   Audaria v3 — Pure tech editorial (sans-serif, pure white, sharp)
   ========================================================================== */

:root {
  /* Couleurs */
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-dark: #09090b;
  --ink: #09090b;
  --ink-soft: #27272a;
  --ink-mute: #52525b;
  --ink-subtle: #71717a;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --paper: #ffffff;

  /* Typographies — full sans-serif */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  margin-top: 0;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.035em;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

/* em : plus d'italique, juste accent visuel */
em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

h1 em, h2 em, .hero-editorial em {
  color: var(--accent);
  font-weight: inherit;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: 760px;
}

section {
  padding: 96px 0;
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }
  body { font-size: 16px; }
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.logo em {
  font-weight: 400;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

@media (max-width: 700px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.8rem; }
  .logo { font-size: 1.2rem; }
}

/* Boutons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  text-align: center;
  font-family: var(--font-sans);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  text-decoration: none;
}

/* Mono labels — la signature tech */
.eyebrow,
.card-tag,
.featured-tag,
.article-eyebrow,
.cluster-card .label,
.card-meta,
.featured-meta,
.byline,
.breadcrumb,
.section-title .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* Hero éditorial */
.hero-editorial {
  padding: 80px 0 56px;
}

.hero-editorial .eyebrow {
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  font-size: 0.7rem;
}

.hero-editorial .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero-editorial h1 {
  max-width: 980px;
  margin-bottom: 28px;
}

.hero-editorial .lede {
  font-size: 1.25rem;
  max-width: 720px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.55;
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-editorial { padding: 48px 0 28px; }
  .hero-editorial .lede { font-size: 1.05rem; }
}

/* Featured article */
.featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-tag {
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.featured h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.featured h2 a {
  text-decoration: none;
  color: var(--ink);
}

.featured h2 a:hover {
  color: var(--accent);
}

.featured p {
  color: var(--ink-mute);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.featured-meta {
  color: var(--ink-subtle);
  margin-top: 20px;
}

@media (max-width: 800px) {
  .featured {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Grilles & Cartes */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.card {
  background: var(--paper);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(9, 9, 11, 0.08);
}

.card-tag {
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.card h3 a:hover {
  color: var(--accent);
}

.card p {
  color: var(--ink-mute);
  flex-grow: 1;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.card-meta {
  margin-top: auto;
  color: var(--ink-subtle);
}

/* Cluster card */
.cluster-card {
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.cluster-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(9, 9, 11, 0.08);
}

.cluster-card .label {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
}

.cluster-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.cluster-card h3 a {
  text-decoration: none;
}

.cluster-card p {
  color: var(--ink-mute);
  margin-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.cluster-card .count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

/* Section title */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.section-title h2 {
  margin: 0;
  letter-spacing: -0.035em;
}

/* Article body */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}

@media (max-width: 768px) {
  .article-wrap { padding: 32px 20px 56px; }
}

.breadcrumb {
  color: var(--ink-subtle);
  margin-bottom: 32px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--ink-subtle);
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

.article-eyebrow {
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.article-wrap h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
}

.article-lede {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: normal;
  color: var(--ink-mute);
  margin-bottom: 40px;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.byline {
  display: flex;
  color: var(--ink-subtle);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
}

.byline span {
  display: inline-flex;
  align-items: center;
}

.byline span + span::before {
  content: '/';
  margin: 0 10px;
  color: var(--border-strong);
  font-weight: 400;
}

.article-wrap h2 {
  margin-top: 56px;
  margin-bottom: 18px;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.article-wrap h3 {
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 600;
}

.article-wrap p,
.article-wrap li {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.article-wrap ul, .article-wrap ol {
  padding-left: 24px;
  margin-bottom: 1.2em;
}

.article-wrap li {
  margin-bottom: 8px;
}

.article-wrap strong {
  color: var(--ink);
  font-weight: 600;
}

/* Newsletter CTA */
.newsletter-cta {
  background: var(--bg-dark);
  color: white;
  padding: 56px 40px;
  margin: 64px 0 0;
  text-align: center;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.newsletter-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,0.35) 0%, transparent 65%);
  pointer-events: none;
}

.newsletter-cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.newsletter-cta > * {
  position: relative;
  z-index: 1;
}

.newsletter-cta h3 {
  color: white;
  font-size: 1.9rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.newsletter-cta p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  line-height: 1.55;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 8px;
  transition: border-color 0.15s, background 0.15s;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}

.newsletter-form button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.newsletter-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
}

.newsletter-note a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration-color: rgba(255, 255, 255, 0.2);
}

.newsletter-note a:hover {
  color: white;
}

#newsletter-success {
  display: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.05rem;
  color: white;
  margin-top: 8px;
}

/* Articles liés */
.related {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 20px;
  font-weight: 500;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.related-list a {
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.025rem;
  display: block;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.related-list a:hover {
  border-color: var(--ink);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Form diagnostic */
.diagnostic-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row > div { flex: 1; }

@media (max-width: 600px) {
  .form-row { flex-direction: column; }
}

.form-message {
  display: none;
  padding: 20px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-subtle);
  background: var(--bg);
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

footer a {
  text-decoration: none;
  color: var(--ink-subtle);
  font-size: 0.85rem;
}

footer a:hover {
  color: var(--accent);
}

footer .legal-note {
  max-width: 680px;
  margin: 16px auto 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-subtle);
}

/* Animation Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Selection */
::selection {
  background: var(--accent);
  color: white;
}

/* Focus visible (accessibilité) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Sommaire (TOC article long) */
.toc-wrap {
  margin: 0 auto 3rem;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--accent);
  background: #fafafa;
  border-radius: 0 6px 6px 0;
}

.toc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.toc {
  margin: 0;
  padding-left: 1.5rem;
  list-style: decimal;
  color: var(--ink);
}

.toc li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.toc a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.toc a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Scroll smooth + offset pour ancres */
html {
  scroll-behavior: smooth;
}

h2[id],
h3[id],
[id] {
  scroll-margin-top: 2rem;
}

/* Frise chronologique AI Act */
.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.timeline-item {
  position: relative;
  padding-top: 38px;
  text-align: center;
  z-index: 1;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--ink);
  z-index: 2;
}

.timeline-item--highlight::before {
  width: 20px;
  height: 20px;
  top: 5px;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  animation: pulse-highlight 2.4s ease-in-out infinite;
}

@keyframes pulse-highlight {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item--highlight::before {
    animation: none;
  }
}

.timeline-date {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.timeline-item--highlight .timeline-date {
  color: var(--accent);
}

.timeline-label {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #4a4a4a;
  padding: 0 8px;
}

@media (max-width: 720px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline::before {
    top: 0;
    bottom: 0;
    left: 8px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .timeline-item {
    padding-top: 0;
    padding-left: 32px;
    text-align: left;
    padding-bottom: 1.5rem;
  }
  .timeline-item::before {
    top: 4px;
    left: 8px;
  }
  .timeline-item--highlight::before {
    top: 1px;
  }
}

/* Big stat blocks */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-block {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  text-align: left;
}

.stat-block--accent {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, transparent 100%);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum';
}

.stat-block--accent .stat-number {
  color: var(--accent);
}

.stat-label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a4a4a;
  margin: 0;
}

@media (max-width: 720px) {
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-number {
    font-size: 2.75rem;
  }
}

/* Cluster card icons */
.cluster-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

/* Encadrés thématiques dans les articles */
.callout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--border);
  background: #fafafa;
  border-radius: 0 6px 6px 0;
}

.callout-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4a4a4a;
  margin: 0 0 0.5rem;
  display: block;
}

.callout p {
  margin: 0;
  line-height: 1.6;
}

.callout p + p {
  margin-top: 0.6rem;
}

.callout--key {
  border-left-color: var(--accent);
  background: rgba(37, 99, 235, 0.04);
}

.callout--key .callout-label {
  color: var(--accent);
}

.callout--source {
  border-left-color: var(--ink);
  background: #f4f4f5;
  font-family: 'Inter', sans-serif;
  font-style: italic;
}

.callout--source .callout-label {
  color: var(--ink);
  font-style: normal;
}

.callout--warning {
  border-left-color: #b45309;
  background: #fef3c7;
}

.callout--warning .callout-label {
  color: #92400e;
}

/* Pyramide de classification des risques AI Act */
.risk-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 2rem 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.risk-level {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: center;
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.risk-level:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.risk-level:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.risk-pyramid-hint {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b6b6b;
  margin: 0.75rem 0 1.5rem;
}

.risk-level--banned {
  background: #991b1b;
  --cut-left: 0%;
  --cut-right: 0%;
  max-width: 35%;
  border-radius: 6px 6px 0 0;
  clip-path: none;
}

.risk-level--high {
  background: #c2410c;
  max-width: 55%;
}

.risk-level--limited {
  background: #b45309;
  max-width: 75%;
}

.risk-level--minimal {
  background: #15803d;
  max-width: 100%;
  border-radius: 0 0 6px 6px;
}

.risk-level-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.risk-level-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.92;
}

@media (max-width: 720px) {
  .risk-level--banned { max-width: 60%; }
  .risk-level--high { max-width: 75%; }
  .risk-level--limited { max-width: 90%; }
  .risk-level--minimal { max-width: 100%; }
}

/* Schéma Fournisseur ↔ Déployeur */
.actor-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin: 2rem 0;
}

.actor-card {
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.actor-card--deployer {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, transparent 100%);
}

.actor-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b6b6b;
  margin-bottom: 0.75rem;
}

.actor-card--deployer .actor-tag {
  color: var(--accent);
}

.actor-card h3 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.actor-def {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1rem;
}

.actor-examples {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a4a4a;
  padding: 0.75rem 0.9rem;
  background: #fafafa;
  border-radius: 4px;
  margin: 0 0 1.25rem;
}

.actor-oblig-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.actor-oblig {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #2a2a2a;
}

.actor-oblig li {
  margin-bottom: 0.3rem;
}

.actor-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.25rem;
}

.actor-divider-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  min-height: 24px;
}

.actor-divider-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: #6b6b6b;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  line-height: 1;
}

@media (max-width: 720px) {
  .actor-split {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .actor-divider {
    flex-direction: row;
    padding: 0.5rem 0;
  }
  .actor-divider-line {
    width: auto;
    height: 1px;
    min-height: 0;
    min-width: 24px;
    flex: 1;
  }
}
