:root {
  color-scheme: dark;

  --background: #111111;
  --background-soft: #1a1a1a;
  --text: #f2efe6;
  --muted: #aaa79f;
  --line: rgba(242, 239, 230, 0.16);
  --line-strong: rgba(242, 239, 230, 0.3);
  --accent: #ff2028;
  --accent-line: rgba(255, 32, 40, 0.42);

  --mono:
    "JetBrains Mono",
    "SFMono-Regular",
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;

  --sans:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.017;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 3px,
      rgba(255, 255, 255, 0.5) 4px
    );
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-200%);
  border: 1px solid var(--text);
  background: var(--background);
  color: var(--text);
  font-family: var(--mono);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding:
    max(2rem, env(safe-area-inset-top))
    1.25rem
    max(2rem, env(safe-area-inset-bottom));
}

.hero__content {
  display: flex;
  width: min(100%, 1100px);
  min-height: calc(100svh - 4rem);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  margin: 0;
  gap: 0.18em;
  font-family: var(--mono);
  font-size: clamp(2.35rem, 9vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
  white-space: nowrap;
}

.brand__prompt {
  margin-right: 0.02em;
}

.brand__cursor {
  display: inline-block;
  width: 0.5em;
  height: 0.93em;
  flex: 0 0 auto;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 32, 40, 0.22);
  animation: cursor-blink 1.8s steps(1, end) infinite;
}

.hero__tagline {
  margin: clamp(2.2rem, 5vw, 3.8rem) 0 0;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero__description {
  max-width: 700px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}

.scroll {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(3.5rem, 8vh, 6rem);
  gap: 0.65rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: lowercase;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.scroll svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
}

.scroll:hover,
.scroll:focus-visible {
  color: var(--text);
  transform: translateY(3px);
}

.section {
  padding: clamp(6rem, 12vw, 10rem) 1.35rem;
}

.section--soft {
  background: var(--background-soft);
}

.section__inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.section-heading {
  display: grid;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  gap: 1.4rem;
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.terminal-title {
  display: inline-flex;
  align-items: center;
  margin: 0;
  gap: 0.38em;
  font-family: var(--mono);
  font-size: clamp(1.65rem, 4vw, 2.8rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
}

.terminal-block {
  width: 0.48em;
  height: 0.9em;
  background: var(--accent);
}

.services {
  border-top: 1px solid var(--accent-line);
}

.service {
  display: grid;
  min-height: 260px;
  align-items: center;
  padding: clamp(2.7rem, 6vw, 4.8rem) 0;
  border-bottom: 1px solid var(--accent-line);
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 90px minmax(0, 1fr) auto;
}

.service__visual {
  width: 76px;
  color: var(--text);
}

.service__visual svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.2;
}

.service__visual .pager__light {
  fill: var(--accent);
  stroke: var(--accent);
}

.service__content {
  max-width: 700px;
}

.service-title {
  display: inline-flex;
  align-items: center;
  margin: 0;
  gap: 0.26em;
  font-family: var(--mono);
  font-size: clamp(1.55rem, 3.3vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.service-title__cursor {
  display: inline-block;
  width: 0.44em;
  height: 0.84em;
  background: var(--text);
}

.service__meta {
  min-height: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.55rem;
}

.service__status {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service__status::before {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: var(--text);
  content: "";
  opacity: 0.75;
}

.service__status--beta::before {
  background: var(--accent);
  opacity: 1;
}

.service__claim {
  margin: 0.8rem 0 0;
  color: var(--text);
  font-size: clamp(1.03rem, 1.8vw, 1.24rem);
  font-weight: 600;
}

.service__description {
  max-width: 590px;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.service__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(242, 239, 230, 0.22);
  font-family: var(--mono);
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    gap 180ms ease;
}

a.service__link:hover,
a.service__link:focus-visible {
  gap: 1.1rem;
  border-color: var(--accent);
  color: var(--text);
}

.service__link--disabled {
  border-bottom-color: transparent;
  color: var(--muted);
  cursor: default;
}

.manifesto {
  background: var(--background);
}

.manifesto__inner {
  display: grid;
  column-gap: clamp(3rem, 9vw, 8rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.manifesto .section-heading {
  grid-column: 1 / -1;
}

.manifesto__statement {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(2rem, 5.8vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.manifesto__statement strong {
  color: var(--accent);
  font-weight: inherit;
}

.manifesto__text {
  align-self: end;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.manifesto__text p {
  margin: 0;
}

.manifesto__text p + p {
  margin-top: 1.25rem;
}

.footer {
  padding:
    clamp(3rem, 6vw, 4rem)
    1.35rem
    max(2rem, env(safe-area-inset-bottom));
}

.footer--soft {
  background: var(--background-soft);
}

.footer__inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.footer__inner--minimal {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem clamp(1rem, 3vw, 2rem);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.footer__legal a {
  color: var(--muted);
  text-decoration-color: transparent;
  text-underline-offset: 0.35em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.footer__copyright {
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--accent-line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.subpage {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}

.subpage-header {
  width: min(
    calc(100% - 2.5rem),
    var(--content-width)
  );
  margin-inline: auto;
  padding:
    max(1.6rem, env(safe-area-inset-top))
    0
    1.6rem;
  border-bottom: 1px solid var(--line);
}

.subpage-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.subpage-cursor {
  display: inline-block;
  width: 0.46em;
  height: 0.88em;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 32, 40, 0.2);
  animation: cursor-blink 1.8s steps(1, end) infinite;
}

.subpage-main {
  width: min(
    calc(100% - 2.5rem),
    900px
  );
  margin-inline: auto;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  flex: 1;
}

.subpage-title {
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.subpage-kicker {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.subpage-title h1 {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 0.3em;
  font-family: var(--mono);
  font-size: clamp(1.65rem, 6vw, 3.7rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.subpage-title .terminal-block {
  width: 0.46em;
  min-width: 0.46em;
  height: 0.88em;
}

.contact-panel {
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  background: var(--background-soft);
}

.contact-panel > p:first-child {
  margin-top: 0;
  color: var(--muted);
}

.contact-address {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  margin: clamp(1.3rem, 4vw, 2.2rem) 0;
  gap: 0.75rem;
  border-bottom: 1px solid var(--accent);
  font-family: var(--mono);
  font-size: clamp(1.05rem, 4vw, 1.75rem);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-note {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content {
  border-top: 1px solid var(--line);
}

.legal-section {
  padding: clamp(2.2rem, 6vw, 3.6rem) 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 1.4rem;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.legal-section p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.legal-section p + p {
  margin-top: 1rem;
}

.legal-section strong {
  color: var(--text);
}

.legal-section address {
  color: var(--muted);
  font-style: normal;
}

.legal-section a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25em;
}

.legal-intro p {
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(1.25rem, 4vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.45;
}

.legal-update {
  margin: 2rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.subpage-footer {
  display: flex;
  width: min(
    calc(100% - 2.5rem),
    var(--content-width)
  );
  margin-inline: auto;
  padding:
    2rem
    0
    max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.subpage-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.5rem;
}

.subpage-footer a {
  color: var(--muted);
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
}

.subpage-footer a:hover,
.subpage-footer a:focus-visible {
  color: var(--text);
  text-decoration-color: var(--accent);
}

@keyframes cursor-blink {
  0%,
  58% {
    opacity: 1;
  }

  59%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 800px) {
  .desktop-break {
    display: none;
  }

  .service {
    min-height: 0;
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .service__visual {
    width: 56px;
    align-self: start;
    margin-top: 0.4rem;
  }

  .service__link {
    width: fit-content;
    margin-left: calc(62px + clamp(2rem, 5vw, 4.5rem));
    margin-top: 1.8rem;
    grid-column: 1 / -1;
  }

  .manifesto__inner {
    grid-template-columns: 1fr;
  }

  .manifesto__text {
    max-width: 650px;
    margin-top: 3.5rem;
  }
}

@media (max-width: 620px) {
  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .subpage-header,
  .subpage-main,
  .subpage-footer {
    width: min(calc(100% - 2.2rem), 900px);
  }

  .subpage-title h1 {
    gap: 0.22em;
  }

  .subpage-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .subpage-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero__content {
    min-height: calc(100svh - 3rem);
  }

  .brand {
    gap: 0.14em;
    font-size: clamp(2.05rem, 12vw, 3.5rem);
    letter-spacing: -0.075em;
  }

  .hero__tagline {
    margin-top: 2.5rem;
  }

  .scroll {
    margin-top: 4rem;
  }

  .section {
    padding-inline: 1.15rem;
  }

  .section-heading {
    margin-bottom: 3.5rem;
  }

  .service {
    display: block;
    padding: 3rem 0;
  }

  .service__visual {
    width: 50px;
    margin: 0 0 1.8rem;
  }

  .service__link {
    margin: 2rem 0 0;
  }

  .manifesto__statement {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }
}

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

  .brand__cursor,
  .subpage-cursor {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* SERVICE_REWORK_V2_START */

:root {
  --background-soft: #1c1c1c;
  --accent-line: rgba(255, 32, 40, 0.52);
}

.services-section {
  background: var(--background-soft);
}

.services-heading {
  margin-bottom: clamp(2.8rem, 7vw, 5rem);
}

.services {
  border-top: 1px solid var(--accent-line);
}

.service {
  display: grid;
  min-height: 0;
  padding: clamp(3.3rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--accent-line);
  align-items: center;
  column-gap: clamp(2.5rem, 7vw, 6rem);
  row-gap: 1.7rem;
  grid-template-areas:
    "identity link"
    "copy     link";
  grid-template-columns: minmax(0, 1fr) auto;
}

.service__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2rem);
  grid-area: identity;
}

.service__identity-copy {
  min-width: 0;
}

.service__visual {
  width: 68px;
  margin: 0;
  flex: 0 0 68px;
  color: var(--text);
}

.service__visual svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.2;
}

.service__visual .pager__light {
  fill: var(--accent);
  stroke: var(--accent);
}

.service .service-title {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  margin: 0;
  gap: 0.25em;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.service-title__prompt {
  color: var(--accent);
}

.service-title__cursor {
  display: inline-block;
  width: 0.43em;
  height: 0.84em;
  flex: 0 0 auto;
  background: var(--text);
  box-shadow: none;
  animation: none;
}

.service__meta {
  min-height: 0;
  margin: 1rem 0 0;
}

.service__status {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service__status::before {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: var(--text);
  content: "";
  opacity: 0.75;
}

.service__status--beta::before {
  background: var(--accent);
  opacity: 1;
}

.service__copy {
  max-width: 680px;
  padding-left: calc(68px + clamp(1.4rem, 3vw, 2rem));
  grid-area: copy;
}

.service__claim {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 650;
}

.service__description {
  max-width: 610px;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.75;
}

.service__link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  justify-self: end;
  margin: 0;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(242, 239, 230, 0.28);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  grid-area: link;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    gap 180ms ease;
}

a.service__link:hover,
a.service__link:focus-visible {
  gap: 1.1rem;
  border-color: var(--accent);
}

.service__link--disabled {
  border-bottom-color: transparent;
  color: var(--muted);
  cursor: default;
}

.manifesto {
  background: var(--background);
}

.footer--soft {
  background: var(--background-soft);
}

@media (max-width: 760px) {
  .services-heading {
    margin-bottom: 2.6rem;
  }

  .service {
    display: grid;
    padding: 3.2rem 0;
    column-gap: 0;
    row-gap: 1.8rem;
    grid-template-areas:
      "identity"
      "copy"
      "link";
    grid-template-columns: minmax(0, 1fr);
  }

  .service__identity {
    align-items: center;
    gap: 1.15rem;
  }

  .service__visual {
    width: 52px;
    margin: 0;
    flex-basis: 52px;
  }

  .service .service-title {
    font-size: clamp(1.65rem, 7.5vw, 2.25rem);
  }

  .service__meta {
    margin-top: 0.8rem;
  }

  .service__copy {
    max-width: none;
    padding-left: 0;
  }

  .service__link {
    align-self: auto;
    justify-self: start;
    margin: 0;
  }
}

@media (max-width: 390px) {
  .service__identity {
    align-items: flex-start;
    gap: 0.9rem;
  }

  .service__visual {
    width: 45px;
    flex-basis: 45px;
  }

  .service .service-title {
    font-size: clamp(1.45rem, 7.3vw, 1.9rem);
  }

  .service-title__cursor {
    width: 0.4em;
  }
}

/* SERVICE_REWORK_V2_END */

/* SERVICES_DESKTOP_FIX_START */

/*
 * Séparations neutres :
 * le rouge est réservé aux actions et aux prompts.
 */

.services {
  border-top-color: var(--line) !important;
}

.service {
  border-bottom-color: var(--line) !important;
}

.service-title__prompt {
  color: var(--accent) !important;
}

/*
 * Actions rouges.
 */

.service__link {
  color: var(--accent) !important;
  border-bottom-color: rgba(255, 32, 40, 0.55) !important;
  font-weight: 650;
}

a.service__link:hover,
a.service__link:focus-visible {
  color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
}

.service__link--disabled {
  color: var(--accent) !important;
  border-bottom-color: transparent !important;
}

/*
 * Le titre de section reste clairement séparé,
 * sans espace excessif avant le premier service.
 */

.services-heading {
  margin-bottom: clamp(1.8rem, 4vw, 3rem) !important;
}

.services .service:first-child {
  padding-top: clamp(2.8rem, 5vw, 4rem);
}

/*
 * Véritable disposition ordinateur.
 */

@media (min-width: 981px) {
  .service {
    display: grid !important;
    width: 100%;
    min-width: 0;

    grid-template-areas:
      "identity action"
      "copy     action" !important;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(130px, 170px) !important;

    column-gap: clamp(3rem, 7vw, 7rem) !important;
    row-gap: 1.5rem !important;
    align-items: center;
  }

  .service__identity {
    display: grid !important;
    width: 100%;
    min-width: 0;

    grid-template-columns:
      68px
      minmax(0, 1fr);

    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.2rem) !important;
    grid-area: identity;
  }

  .service__identity-copy {
    width: 100%;
    min-width: 0;
  }

  .service .service-title {
    display: flex !important;
    width: max-content;
    max-width: none !important;
    min-width: max-content;

    align-items: center;
    flex-wrap: nowrap !important;

    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .service-title > span {
    flex: 0 0 auto;
  }

  .service__copy {
    width: 100%;
    max-width: 720px;
    min-width: 0;

    padding-left:
      calc(68px + clamp(1.5rem, 3vw, 2.2rem)) !important;

    grid-area: copy;
  }

  .service__link {
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
    grid-area: action;
  }
}

/*
 * Sur tablette, fenêtre étroite ou navigateur fortement zoomé,
 * on reprend la disposition verticale qui fonctionne sur mobile.
 */

@media (min-width: 761px) and (max-width: 980px) {
  .service {
    display: grid !important;

    grid-template-areas:
      "identity"
      "copy"
      "action" !important;

    grid-template-columns: minmax(0, 1fr) !important;

    row-gap: 1.8rem !important;
    column-gap: 0 !important;
  }

  .service__identity {
    display: flex !important;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 1.3rem !important;
    grid-area: identity;
  }

  .service__identity-copy {
    min-width: 0;
  }

  .service .service-title {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  .service__copy {
    width: 100%;
    max-width: 700px;
    padding-left: 0 !important;
    grid-area: copy;
  }

  .service__link {
    justify-self: start !important;
    margin: 0 !important;
    grid-area: action;
  }
}

/*
 * Sécurité mobile :
 * les noms restent sur une seule ligne.
 */

@media (max-width: 760px) {
  .service .service-title {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .service-title > span {
    flex: 0 0 auto;
  }

  .service__link {
    color: var(--accent) !important;
  }
}

@media (max-width: 360px) {
  .service .service-title {
    font-size: 1.38rem !important;
  }

  .service__visual {
    width: 42px !important;
    flex-basis: 42px !important;
  }
}

/* SERVICES_DESKTOP_FIX_END */

/* LASORTIE_FONT_UPGRADE_START */

@font-face {
  font-family: "JetBrains Mono LaSortie";
  src:
    url("/assets/fonts/JetBrainsMono-Regular.woff2?v=2.304")
    format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono LaSortie";
  src:
    url("/assets/fonts/JetBrainsMono-SemiBold.woff2?v=2.304")
    format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono LaSortie";
  src:
    url("/assets/fonts/JetBrainsMono-Bold.woff2?v=2.304")
    format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --mono:
    "JetBrains Mono LaSortie",
    "JetBrains Mono",
    ui-monospace,
    monospace;
}

/*
 * Aucun faux gras ni ligature imprévisible.
 */

.brand,
.terminal-title,
.service-title,
.service__status,
.service__link,
.manifesto__statement,
.footer,
.subpage-brand,
.subpage-title,
.contact-address,
.legal-intro,
.legal-update {
  font-synthesis: none;
  font-variant-ligatures: none;
  font-feature-settings:
    "liga" 0,
    "calt" 0;
}

.brand {
  font-weight: 700 !important;
}

.terminal-title,
.service-title,
.manifesto__statement,
.subpage-brand {
  font-weight: 600 !important;
}

/*
 * Statuts légèrement plus lisibles.
 */

.service__status {
  font-size: 0.76rem !important;
  line-height: 1.35;
}

/*
 * Harmonisation optique des pictogrammes.
 */

.service__visual {
  display: grid !important;
  width: 64px !important;
  height: 64px;
  flex: 0 0 64px !important;
  place-items: center;
}

.service__visual svg {
  width: auto !important;
  height: auto;
}

.service:nth-child(1) .service__visual svg {
  width: 56px !important;
}

.service:nth-child(2) .service__visual svg {
  width: 53px !important;
}

.service:nth-child(3) .service__visual svg {
  width: 49px !important;
}

/*
 * La séparation du footer redevient neutre.
 */

.footer__copyright {
  border-top-color: var(--line) !important;
}

/*
 * Rapproche les actions du contenu sur grand écran.
 */

@media (min-width: 981px) {
  .service {
    grid-template-columns:
      minmax(0, 680px)
      max-content !important;

    justify-content: start !important;

    column-gap: clamp(
      3.5rem,
      6vw,
      5.5rem
    ) !important;
  }

  .service__identity {
    grid-template-columns:
      64px
      minmax(0, 1fr) !important;
  }

  .service__copy {
    padding-left:
      calc(
        64px +
        clamp(1.5rem, 3vw, 2.2rem)
      ) !important;
  }
}

/*
 * Taille mieux équilibrée du manifeste sur mobile.
 */

@media (max-width: 560px) {
  .manifesto__statement {
    font-size:
      clamp(
        2rem,
        9.4vw,
        3rem
      ) !important;

    letter-spacing: -0.065em !important;
    line-height: 1.1 !important;
  }

  .service__visual {
    width: 54px !important;
    height: 54px;
    flex-basis: 54px !important;
  }

  .service:nth-child(1) .service__visual svg {
    width: 50px !important;
  }

  .service:nth-child(2) .service__visual svg {
    width: 47px !important;
  }

  .service:nth-child(3) .service__visual svg {
    width: 44px !important;
  }
}

/* LASORTIE_FONT_UPGRADE_END */

/* LASORTIE_BOLD_CLEAN_START */

/*
 * Manifeste principal plus affirmé.
 * Le blanc et le rouge utilisent la vraie graisse Bold 700.
 */

.manifesto__statement,
.manifesto__statement strong {
  font-weight: 700 !important;
}

/*
 * Titres des trois services en Bold.
 */

.service .service-title,
.service .service-title > span {
  font-weight: 700 !important;
}

/*
 * Sécurité : aucun ancien statut ne doit rester affiché,
 * même si un navigateur conserve temporairement un ancien HTML.
 */

.service__meta,
.service__status {
  display: none !important;
}

/*
 * L'espace libéré par les statuts rapproche légèrement
 * le titre et le slogan.
 */

@media (min-width: 761px) {
  .service {
    row-gap: 1.25rem !important;
  }
}

@media (max-width: 760px) {
  .service {
    row-gap: 1.55rem !important;
  }
}

/* LASORTIE_BOLD_CLEAN_END */

/* PATCH_BOLD_FINAL_START */

/* Déclaration politique principale */
.manifesto__statement,
.manifesto__statement strong {
  font-family: var(--mono);
  font-weight: 700 !important;
}

/* Noms des services */
.service .service-title,
.service .service-title > span {
  font-family: var(--mono);
  font-weight: 700 !important;
}

/* Masquage de sécurité d’un ancien HTML en cache */
.service__meta,
.service__status {
  display: none !important;
}

/* Rééquilibrage après suppression des statuts */
.service__identity-copy {
  display: flex;
  align-items: center;
}

.service__copy {
  margin-top: 0.15rem;
}

@media (max-width: 760px) {
  .service {
    row-gap: 1.5rem !important;
  }

  .service__identity-copy {
    min-height: 54px;
  }
}

/* PATCH_BOLD_FINAL_END */

/* LASORTIE_FINITIONS_START */

/*
 * Les titres arrivent plus rapidement après
 * le changement de couleur de chaque bloc.
 */

.services-section,
.manifesto {
  padding-top: clamp(4rem, 7vw, 6rem) !important;
}

.services-heading,
.manifesto .section-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem) !important;
}

/*
 * Dans le hero, seul le symbole de la flèche
 * devient rouge. Le mot "découvrir" reste discret.
 */

.scroll svg,
.scroll svg path {
  color: var(--accent) !important;
  stroke: var(--accent) !important;
}

/*
 * Signature finale en rouge.
 */

.footer__copyright {
  color: var(--accent) !important;
  border-top-color: var(--line) !important;
}

/*
 * Le footer reste compact après la suppression
 * de l'adresse électronique.
 */

.footer__legal {
  gap: 0.8rem clamp(1rem, 3vw, 2rem);
}

@media (max-width: 560px) {
  .services-section,
  .manifesto {
    padding-top: 4.25rem !important;
  }

  .services-heading,
  .manifesto .section-heading {
    margin-bottom: 3rem !important;
  }
}

/* LASORTIE_FINITIONS_END */

/* LAST_SERVICE_SPACING_START */

/*
 * Le dernier service ne possède pas de séparation inférieure.
 * Le changement de fond suffit à marquer le passage vers Pourquoi.
 */

.services .service:last-child {
  border-bottom: 0 !important;
  padding-bottom: 2.5rem !important;
}

/*
 * Suppression du grand vide inférieur hérité
 * du padding général des sections.
 */

.services-section {
  padding-bottom: 0 !important;
}

/*
 * Le bloc Pourquoi démarre plus rapidement,
 * tout en conservant une respiration claire.
 */

.manifesto {
  padding-top: clamp(3.5rem, 6vw, 4.75rem) !important;
}

@media (max-width: 560px) {
  .services .service:last-child {
    padding-bottom: 2.25rem !important;
  }

  .manifesto {
    padding-top: 3.25rem !important;
  }
}

/* LAST_SERVICE_SPACING_END */

/* LASORTIE_DESKTOP_LAST_SERVICE_GAP_START */

/*
 * Un peu plus de respiration sous LeBipeur sur ordinateur.
 * Aucun changement sur mobile et tablette.
 */

@media (min-width: 981px) {
  .services .service:last-child {
    padding-bottom: clamp(3.75rem, 5vw, 4.75rem) !important;
  }
}

/* LASORTIE_DESKTOP_LAST_SERVICE_GAP_END */

/* LASORTIE_SOCIAL_START */

.footer__links-row {
  display: grid;
  align-items: start;
  gap: 2rem 3rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer__social,
.footer__links-row .footer__legal {
  display: flex;
  margin: 0;
  padding: 0;
  border: 0;
  flex-wrap: wrap;
  gap: 0.8rem clamp(1.2rem, 3vw, 2.2rem);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.footer__social a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.footer__social a span {
  color: var(--accent);
}

.footer__links-row .footer__legal {
  justify-content: flex-end;
}

.footer__links-row .footer__legal a {
  color: var(--muted);
}

.footer__social a,
.footer__links-row .footer__legal a {
  text-decoration-color: transparent;
  text-underline-offset: 0.35em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.footer__social a:hover,
.footer__social a:focus-visible,
.footer__links-row .footer__legal a:hover,
.footer__links-row .footer__legal a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.contact-social {
  margin-top: clamp(4rem, 9vw, 7rem);
}

.contact-social__title {
  display: inline-flex;
  align-items: center;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  gap: 0.3em;
  font-family: var(--mono);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.contact-social__title .terminal-block {
  width: 0.46em;
  height: 0.88em;
}

.contact-social__links {
  border-top: 1px solid var(--line);
}

.contact-social__links a {
  display: grid;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 0.35rem 1.5rem;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto;
  color: var(--text);
  text-decoration: none;
}

.contact-social__links strong {
  font-family: var(--mono);
  font-size: 1rem;
}

.contact-social__links span {
  color: var(--muted);
}

.contact-social__links b {
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 600;
}

.contact-social__links a:hover strong,
.contact-social__links a:focus-visible strong {
  color: var(--accent);
}

.error-page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  background: var(--background);
}

.error-header {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin-inline: auto;
  padding:
    max(1.6rem, env(safe-area-inset-top))
    0
    1.6rem;
  border-bottom: 1px solid var(--line);
}

.error-main {
  display: flex;
  width: min(calc(100% - 2.5rem), 900px);
  margin: auto;
  padding: clamp(4rem, 10vw, 8rem) 0;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.error-code {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.error-title {
  display: inline-flex;
  align-items: center;
  margin: 0;
  gap: 0.28em;
  font-family: var(--mono);
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.error-title .terminal-block {
  width: 0.47em;
  height: 0.9em;
}

.error-message {
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.error-return {
  display: inline-flex;
  align-items: center;
  margin-top: 3rem;
  gap: 0.7rem;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 760px) {
  .footer__links-row {
    grid-template-columns: 1fr;
  }

  .footer__social,
  .footer__links-row .footer__legal {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .contact-social__links a {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contact-social__links span {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .contact-social__links b {
    grid-column: 2;
    grid-row: 1;
  }
}

/* LASORTIE_SOCIAL_END */

/* MOBILE_FOOTER_V2_START */

/*
 * Desktop inchangé.
 * Sur mobile, le footer devient une signature compacte
 * avec deux lignes horizontales centrées.
 */

@media (max-width: 760px) {
  .footer {
    padding:
      2.6rem
      1.15rem
      max(2rem, env(safe-area-inset-bottom))
      !important;
  }

  .footer__inner--minimal {
    display: flex !important;
    align-items: center !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .footer__links-row {
    display: flex !important;
    width: 100%;
    align-items: center !important;
    flex-direction: column !important;
    gap: 1.05rem !important;
  }

  .footer__social,
  .footer__links-row .footer__legal {
    display: flex !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    line-height: 1.4;
  }

  .footer__social {
    gap: 0.65rem 1.15rem !important;
    font-size: 0.72rem !important;
  }

  .footer__links-row .footer__legal {
    gap: 0.55rem 1rem !important;
    font-size: 0.67rem !important;
  }

  .footer__social a,
  .footer__links-row .footer__legal a {
    display: inline-flex;
    min-height: 1.4rem;
    align-items: center;
    white-space: nowrap;
  }

  .footer__social a {
    gap: 0.3rem;
  }

  .footer__copyright {
    width: 100%;
    margin: 0 !important;
    padding-top: 1.2rem !important;
    border-top: 1px solid var(--line) !important;
    font-size: 0.69rem !important;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .footer__social {
    gap: 0.55rem 0.85rem !important;
    font-size: 0.68rem !important;
  }

  .footer__links-row .footer__legal {
    gap: 0.5rem 0.75rem !important;
    font-size: 0.63rem !important;
  }
}

/* MOBILE_FOOTER_V2_END */

/* LASORTIE_GALLERY_START */

.gallery-main {
  width: min(calc(100% - 2.7rem), var(--content-width));
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  flex: 1;
}

.gallery-heading {
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.gallery-heading h1 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  gap: 0.28em;
  font-family: var(--mono);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1;
}

.gallery-heading h1 .terminal-block {
  width: 0.47em;
  height: 0.9em;
}

.gallery-heading p {
  max-width: 650px;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.gallery-grid {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  min-width: 0;
  margin: 0;
}

.gallery-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--background-soft);
  text-decoration: none;
}

.gallery-card__image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242, 239, 230, 0.1);
  pointer-events: none;
  content: "";
  transition: border-color 180ms ease;
}

.gallery-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 220ms ease,
    transform 260ms ease;
}

.gallery-card__image:hover::after,
.gallery-card__image:focus-visible::after {
  border-color: var(--accent);
}

.gallery-card__image:hover img,
.gallery-card__image:focus-visible img {
  filter: brightness(1.06);
  transform: scale(1.015);
}

.gallery-card figcaption {
  padding-top: 1rem;
}

.gallery-card figcaption p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.gallery-card figcaption time {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
}

.gallery-empty {
  padding: clamp(3rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-column: 1 / -1;
}

.gallery-empty p {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
}

.gallery-empty span {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .gallery-main {
    width: min(calc(100% - 2.2rem), var(--content-width));
    padding-top: 4rem;
  }

  .gallery-heading {
    margin-bottom: 3.5rem;
  }

  .gallery-grid {
    gap: 1.2rem 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card figcaption {
    padding-top: 0.75rem;
  }

  .gallery-card figcaption p {
    font-size: 0.76rem;
  }

  .gallery-card figcaption time {
    font-size: 0.6rem;
  }
}

@media (max-width: 360px) {
  .gallery-grid {
    gap: 1rem 0.65rem;
  }
}

/* LASORTIE_GALLERY_END */
