:root {
  color-scheme: light only;
  --bg: #eef0f2;
  --bg-card: #ffffff;
  --ink: #0f1720;
  --ink-soft: #1f2937;
  --muted: #5a6573;
  --muted-soft: #8b95a3;
  --line: rgba(15, 23, 32, 0.08);
  --line-strong: rgba(15, 23, 32, 0.14);
  --accent: #1e3a5f;
  --accent-light: #2a4d7a;
  --accent-soft: rgba(30, 58, 95, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  background-color: #eef0f2 !important;
  color: #0f1720 !important;
  color-scheme: light only !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 240, 242, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.logo { display: flex; align-items: center; text-decoration: none; }

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.nav-cta .cta-full { display: inline; }
.nav-cta .cta-short { display: none; }

@media (max-width: 720px) {
  .nav-cta { padding: 10px 18px; font-size: 13px; }
  .nav-cta .cta-full { display: none; }
  .nav-cta .cta-short { display: inline; }
  .logo-img { height: 36px; }
  .nav { gap: 12px; }
}

/* Breadcrumb */
.breadcrumb {
  padding: 32px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }
.breadcrumb .sep { margin: 0 12px; color: var(--muted-soft); }

/* Hero page */
.page-header {
  padding: 50px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  background: var(--bg-card);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--ink);
}

h1 .accent { color: var(--accent); }

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.update-date {
  display: inline-block;
  font-size: 13px;
  color: var(--muted-soft);
  font-weight: 500;
  margin-top: 8px;
}

/* Contenu */
.content-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px 56px 64px;
  margin-bottom: 80px;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 32, 0.04);
}

@media (max-width: 720px) {
  .content-wrap { padding: 36px 28px 40px; }
}

.content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content h2 .num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  flex-shrink: 0;
}

.content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 10px;
}

.content p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.content p strong {
  color: var(--ink);
  font-weight: 700;
}

.content a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}

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

.content ul, .content ol {
  margin: 14px 0 18px 24px;
  padding-left: 0;
}

.content li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 8px;
  padding-left: 6px;
}

.content li::marker {
  color: var(--accent);
}

/* Bloc info entreprise */
.info-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 24px 0;
}

.info-block dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 24px;
}

.info-block dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 2px;
}

.info-block dd {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .info-block dl { grid-template-columns: 1fr; gap: 4px 0; }
  .info-block dt { padding-top: 12px; }
  .info-block dt:first-child { padding-top: 0; }
}

/* Encadré attention */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}

.callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.callout p strong {
  color: var(--accent);
}

/* Footer */
footer {
  padding: 60px 0 36px;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}

.footer-content {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-content a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.3s;
}

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

.footer-copyright {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-soft);
}