/* DeadLock-IT — feuille de style unique du site. */

/* ---------- Polices (auto-hébergées, licence SIL OFL) ---------- */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/space-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/space-mono-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ---------- */

:root {
  --orange: #ff5a1f;
  --black: #0a0a0a;
  --white: #ffffff;
  --grey-100: #e2e2e2;
  --grey-200: #c8c8c8;
  --grey-400: #9a9a9a;
  --ink-soft: #4d4d4d;
  --line-dark: #2a2a2a;
  --surface: #141414;

  --font-display: "Bricolage Grotesque", "Arial Black", Impact, system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 10px;
  --header-h: 72px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.theme-orange :focus-visible,
.theme-light :focus-visible {
  outline-color: var(--black);
}

::selection {
  background: var(--orange);
  color: var(--black);
}

.theme-orange ::selection {
  background: var(--black);
  color: var(--orange);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ---------- Utilitaires ---------- */

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-mono);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(48px, 6vw, 88px);
}

.theme-orange {
  background: var(--orange);
  color: var(--black);
}

.theme-black {
  background: var(--black);
  color: var(--white);
}

.theme-light {
  background: var(--white);
  color: var(--black);
}

.text-orange {
  color: var(--orange);
}

/* Quadrillage discret et halo orange derrière les héros. */
.grid-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.grid-bg::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-position: center top;
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 75% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 75% 0%, #000 25%, transparent 75%);
  content: "";
}

.grid-bg::after {
  position: absolute;
  top: -35%;
  right: -12%;
  z-index: -1;
  width: min(75vw, 920px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.2), transparent 70%);
  pointer-events: none;
  content: "";
}

/* ---------- Typographie ---------- */

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.display-xl {
  font-size: clamp(2.25rem, 10vw, 7.5rem);
}

.display-l {
  font-size: clamp(2.1rem, 6.5vw, 5rem);
}

.display-m {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 0.95;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.theme-black .eyebrow,
.grid-bg .eyebrow {
  color: var(--orange);
}

.theme-light .eyebrow {
  color: var(--black);
}

.lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.5;
}

.theme-black .lead,
.grid-bg .lead {
  color: var(--grey-100);
}

.theme-light .lead {
  color: var(--ink-soft);
}

.num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange);
}

/* Le petit texte orange ne contraste pas assez sur blanc : pastille à la place. */
.theme-light .num {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--orange);
  color: var(--black);
}

/* ---------- Boutons et liens ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 48px;
  padding: 0.95em 1.5em;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover {
  color: var(--orange);
}

.btn-orange {
  background: var(--orange);
  color: var(--black);
}

.btn-orange:hover {
  background: var(--white);
}

.btn-outline {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.theme-orange .btn-outline:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--orange);
}

.theme-black .btn-outline:hover,
.grid-bg .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-sm {
  min-height: 40px;
  padding: 0.7em 1.1em;
  font-size: 0.75rem;
}

/* L'adresse e-mail garde sa casse. */
.btn-email {
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  letter-spacing: 0.02em;
  text-transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--orange);
  color: var(--black);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  padding-block: 8px;
  border-bottom: 2px solid transparent;
  color: var(--grey-200);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  border-bottom-color: var(--orange);
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--grey-400);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.lang a {
  padding: 6px 4px;
  color: var(--grey-400);
  text-decoration: none;
}

.lang a:hover {
  color: var(--orange);
}

.lang [aria-current] {
  padding: 6px 4px;
  color: var(--white);
}

.nav-toggle {
  display: none;
}

/* Sans JavaScript, la navigation passe sous le logo. */
@media (max-width: 959.98px) {
  .site-nav {
    flex-wrap: wrap;
    width: 100%;
    gap: 12px 24px;
    padding-bottom: 16px;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 4px 20px;
  }

  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: none;
    color: var(--white);
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s, background-color 0.2s;
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .nav-toggle-bars::before {
    top: -6px;
  }

  .nav-toggle-bars::after {
    top: 6px;
  }

  .nav-open .nav-toggle-bars {
    background: transparent;
  }

  .nav-open .nav-toggle-bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle-bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: auto;
    padding: 32px var(--gutter) 48px;
    overflow-y: auto;
    background: var(--black);
  }

  .js.nav-open .site-nav {
    display: flex;
  }

  .js.nav-open body {
    overflow: hidden;
  }

  .js .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .js .nav-list a {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .js .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .js .lang {
    font-size: 0.875rem;
  }

  .js .lang a,
  .js .lang [aria-current] {
    padding: 12px 8px;
  }

  .js .nav-actions .btn-sm {
    min-height: 48px;
    padding: 0.95em 1.5em;
    font-size: 0.8125rem;
  }
}

/* ---------- Héros de l'accueil ---------- */

.hero {
  padding-block: clamp(36px, 4.5vw, 64px) clamp(44px, 5.5vw, 80px);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 5vw, 64px);
}

.hero-title {
  margin: 28px 0 24px;
  font-size: clamp(2rem, 9vw, 4.75rem);
}

.hero .actions {
  margin-top: 36px;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .hero-title {
    font-size: clamp(3rem, 5vw, 4.75rem);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--grey-200);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
  .badge-dot {
    animation: pulse 2.4s ease-in-out infinite;
  }

  @keyframes pulse {
    50% {
      box-shadow: 0 0 0 7px rgba(255, 90, 31, 0);
    }
  }
}

/* Terminal de reconnaissance (simulation). */
.terminal {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: #0f0f0f;
  box-shadow: 0 40px 90px -40px rgba(255, 90, 31, 0.45);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-dark);
  background: #161616;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #333333;
}

.terminal-dot:first-child {
  background: var(--orange);
}

.terminal-title {
  margin: 0 0 0 10px;
  color: var(--grey-400);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}

.terminal-body {
  padding: 20px 22px 24px;
  color: var(--grey-200);
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.05vw, 0.8125rem);
  line-height: 1.85;
}

.t-line {
  margin: 0;
  padding-left: 2.5ch;
  text-indent: -2.5ch;
  white-space: pre-wrap;
}

.t-prompt {
  color: var(--orange);
}

.t-cmd {
  color: var(--white);
}

.t-dim {
  color: var(--grey-400);
}

.t-warn {
  color: var(--orange);
  font-weight: 700;
}

.t-sum {
  color: var(--orange);
  font-weight: 700;
}

.t-redact {
  border-radius: 2px;
  background: var(--grey-400);
  color: transparent;
}

.t-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  margin-left: 4px;
  background: var(--orange);
  vertical-align: -0.2em;
}

.terminal figcaption {
  padding: 12px 22px 14px;
  border-top: 1px solid var(--line-dark);
  color: var(--grey-400);
  font-size: 0.8125rem;
}

@media (prefers-reduced-motion: no-preference) {
  .t-line {
    animation: t-in 0.01s linear both;
  }

  .t-line:nth-child(2) { animation-delay: 0.9s; }
  .t-line:nth-child(3) { animation-delay: 1.6s; }
  .t-line:nth-child(4) { animation-delay: 2.1s; }
  .t-line:nth-child(5) { animation-delay: 2.6s; }
  .t-line:nth-child(6) { animation-delay: 3.1s; }
  .t-line:nth-child(7) { animation-delay: 3.6s; }
  .t-line:nth-child(8) { animation-delay: 4.3s; }
  .t-line:nth-child(9) { animation-delay: 5s; }

  .t-cursor {
    animation: blink 1s steps(1) infinite;
  }

  @keyframes t-in {
    from {
      visibility: hidden;
    }
  }

  @keyframes blink {
    50% {
      opacity: 0;
    }
  }
}

/* ---------- Chiffres clés ---------- */

.proof-band {
  padding-block: clamp(32px, 4vw, 52px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-left: 20px;
  border-left: 3px solid var(--black);
}

.stat-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.stat-value sup {
  font-size: 0.45em;
  vertical-align: 0.9em;
}

.stat-text {
  margin: 0;
  max-width: 22em;
  font-weight: 500;
}

/* ---------- En-têtes de section ---------- */

.section-head {
  display: grid;
  gap: 14px;
  max-width: 56rem;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.section-head p:not(.eyebrow) {
  margin: 0;
  max-width: 40em;
  font-size: 1.125rem;
}

.theme-black .section-head p:not(.eyebrow) {
  color: var(--grey-200);
}

.theme-light .section-head p:not(.eyebrow) {
  color: var(--ink-soft);
}

.section-head--split > div {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 40px;
    max-width: none;
  }
}

/* ---------- Grille des services (accueil) ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.tile:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

@media (min-width: 640px) {
  .tile {
    min-height: 196px;
  }
}

.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tile-tag {
  color: var(--grey-400);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tile-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.tile-text {
  flex-grow: 1;
  margin: 0;
  color: var(--grey-200);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.tile-arrow {
  width: 18px;
  height: 18px;
  color: var(--orange);
  transition: transform 0.2s;
}

.tile:hover .tile-arrow {
  transform: translateX(4px);
}

/* ---------- Méthode : frise ---------- */

.timeline {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-left: 72px;
}

.timeline li::before {
  position: absolute;
  top: 52px;
  bottom: -32px;
  left: 25px;
  width: 2px;
  background: var(--grey-100);
  content: "";
}

.timeline li:last-child::before {
  display: none;
}

.timeline-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.timeline h3 {
  margin: 0 0 8px;
  padding-top: 12px;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline li {
    padding-top: 76px;
    padding-left: 0;
  }

  .timeline li::before {
    top: 25px;
    right: -32px;
    bottom: auto;
    left: 52px;
    width: auto;
    height: 2px;
  }

  .timeline h3 {
    padding-top: 0;
  }
}

/* ---------- Exemple de constat ---------- */

.report {
  display: grid;
  align-items: center;
  gap: 40px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--grey-100);
}

.report-text h3 {
  margin: 16px 0 20px;
}

.report-text p:not(.eyebrow) {
  margin: 0;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

@media (min-width: 960px) {
  .report {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.finding {
  position: relative;
  padding: 24px;
  border-radius: 14px;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 30px 70px -30px rgba(10, 10, 10, 0.5);
}

.finding-note {
  position: absolute;
  top: -13px;
  right: 20px;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--grey-100);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.finding-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.finding-id {
  color: var(--grey-400);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.severity {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.finding-title {
  margin: 20px 0 18px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

.finding dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.finding dt {
  margin-bottom: 4px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.finding dd {
  margin: 0;
  color: var(--grey-200);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.finding-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.finding-status svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

/* ---------- Appel à l'action ---------- */

.cta {
  padding-block: clamp(44px, 5.5vw, 72px);
}

.cta-inner {
  display: grid;
  align-items: end;
  gap: 24px;
}

.cta h2 {
  font-size: clamp(2rem, 5.2vw, 4.25rem);
}

.cta-side {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.cta-side p {
  margin: 0;
  max-width: 26em;
  font-weight: 500;
}

@media (min-width: 900px) {
  .cta-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
  }
}

/* ---------- Héros des pages intérieures ---------- */

.page-hero {
  padding-block: clamp(20px, 3vw, 32px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-dark);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(28px, 4vw, 48px);
  padding: 0;
  color: var(--grey-400);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  list-style: none;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  content: "/";
}

.breadcrumb a {
  color: var(--grey-200);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb [aria-current] {
  color: var(--white);
}

.page-hero-grid {
  display: grid;
  align-items: center;
  gap: 40px;
}

.page-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.1rem, 8vw, 6.5rem);
}

.page-hero h1.display-l {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
}

.page-hero .lead {
  margin-top: 24px;
}

.page-hero-icon {
  display: none;
}

@media (min-width: 960px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page-hero-icon {
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    border: 1px solid var(--line-dark);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--orange);
  }

  .page-hero-icon svg {
    width: 108px;
    height: 108px;
  }
}

.jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.jump-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.jump-list a:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--black);
}

.jump-list a:hover .num {
  color: var(--black);
}

/* ---------- Cartes des pôles ---------- */

.pole-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.pole-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--white);
  transition: transform 0.2s, border-color 0.2s;
}

.pole-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.pole-card h3 {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.num-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.num-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.pole-card .link-arrow {
  color: var(--white);
}

/* Toute la carte est cliquable. */
.pole-card .link-arrow::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.pole-card:hover .link-arrow {
  color: var(--orange);
}

.pole-card:hover .link-arrow svg {
  transform: translateX(4px);
}

.theme-light .pole-card {
  border-color: var(--grey-100);
  background: var(--white);
  color: var(--black);
}

.theme-light .pole-card:hover {
  border-color: var(--orange);
}

.theme-light .pole-card h3 {
  border-bottom-color: var(--grey-100);
  color: var(--black);
}

.theme-light .pole-card .link-arrow,
.theme-light .pole-card:hover .link-arrow {
  color: var(--black);
}

/* ---------- Pages pôles : services détaillés ---------- */

.service {
  display: grid;
  gap: 24px 56px;
  padding-block: clamp(36px, 4.5vw, 64px);
  border-top: 1px solid var(--line-dark);
}

.service:first-child {
  padding-top: 0;
  border-top: 0;
}

.service:last-child {
  padding-bottom: 0;
}

.service-num {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.85;
}

.service-intro {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  line-height: 1.5;
}

.service-cols {
  display: grid;
  gap: 32px 40px;
  margin-top: 36px;
}

.service-cols h3 {
  margin-bottom: 14px;
}

.service-cols p {
  margin: 0;
  color: var(--grey-200);
}

@media (min-width: 640px) {
  .service-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .service {
    grid-template-columns: 5fr 7fr;
  }

  .service-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--grey-200);
  list-style: none;
}

.theme-light .checklist {
  color: var(--ink-soft);
}

.checklist li {
  position: relative;
  padding-left: 22px;
}

.checklist li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  content: "";
}

.deliverable {
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}

/* Boîte noire, grise, blanche. */
.boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.box {
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface);
}

.box-swatch {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border: 1px solid var(--grey-400);
  border-radius: 6px;
}

.box-swatch--black {
  background: var(--black);
}

.box-swatch--grey {
  background: var(--grey-400);
}

.box-swatch--white {
  background: var(--white);
}

.box h4 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 600;
}

.box p {
  margin: 0;
  color: var(--grey-200);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.service-extra {
  margin-top: 36px;
}

/* ---------- Contact ---------- */

.email-block {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 36px);
}

.email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-xl {
  min-height: 64px;
  padding: 1.1em 1.6em;
  font-size: clamp(0.9375rem, 2.4vw, 1.25rem);
}

.grid-bg .btn-black {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.grid-bg .btn-black:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--black);
}

@media (max-width: 520px) {
  .email-row,
  .email-row .btn {
    width: 100%;
  }
}

.copy-status {
  min-height: 1.6em;
  margin: 0;
  color: var(--grey-200);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
}

.split {
  display: grid;
  gap: 40px 56px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split .eyebrow {
  margin-bottom: 16px;
}

.split h2 {
  margin-bottom: 28px;
}

.split .checklist {
  font-size: 1.125rem;
}

.mini-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.mini-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--grey-200);
}

.mini-steps .num {
  justify-self: start;
  align-self: start;
  margin-top: 0.2em;
}

.mini-steps strong {
  display: block;
  color: var(--white);
  font-weight: 600;
}

.theme-light .mini-steps,
.theme-light .mini-steps li {
  border-color: var(--grey-100);
}

.theme-light .mini-steps li {
  color: var(--ink-soft);
}

.theme-light .mini-steps strong {
  color: var(--black);
}

/* ---------- Mentions légales ---------- */

.prose {
  max-width: 46rem;
  color: var(--grey-200);
}

.prose h2 {
  margin: 40px 0 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin: 0 0 16px;
}

.prose ul {
  padding-left: 1.2em;
}

.prose a {
  color: var(--orange);
}

.prose strong {
  color: var(--white);
  font-weight: 600;
}

/* Informations que DeadLock-IT doit encore fournir. */
.todo {
  padding: 0.05em 0.35em;
  border: 1px dashed var(--orange);
  border-radius: 4px;
  background: rgba(255, 90, 31, 0.12);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.875em;
}

/* ---------- Pied de page ---------- */

.site-footer {
  padding-block: 48px 28px;
  border-top: 1px solid var(--line-dark);
  background: var(--black);
  color: var(--grey-200);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-tagline {
  margin: 20px 0 0;
  max-width: 18em;
  color: var(--grey-200);
}

.footer-title {
  margin-bottom: 14px;
}

.footer-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: var(--white);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--grey-400);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 404 ---------- */

.error-page {
  display: grid;
  align-content: center;
  min-height: calc(100vh - var(--header-h));
  padding-block: 64px;
}

.error-page .display {
  margin: 24px 0;
}

.error-page .lead + .lead {
  margin-top: 8px;
}

.error-page .actions {
  margin-top: 36px;
}
