:root {
  --ink: #050b10;
  --navy: #07131d;
  --navy-2: #0b1c28;
  --line: rgba(167, 190, 203, 0.18);
  --line-strong: rgba(209, 224, 232, 0.34);
  --paper: #eee9de;
  --paper-ink: #161616;
  --muted: #9ca9b0;
  --text: #f5f4ef;
  --orange: #ff4b1f;
  --orange-2: #d63716;
  --container: min(1180px, calc(100vw - 44px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::selection {
  background: var(--orange);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 120px 120px, 120px 120px, auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  isolation: isolate;
  width: auto;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 58px);
  color: #fff;
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
  background:
    linear-gradient(90deg, rgba(245, 244, 239, 0.035) 1px, transparent 1px),
    rgba(3, 9, 14, 0.9);
  background-size: 120px 120px, auto;
  border-bottom: 1px solid rgba(245, 244, 239, 0.12);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.site-header::before {
  content: "";
  position: absolute;
  left: clamp(240px, 48vw, 740px);
  right: clamp(22px, 6vw, 86px);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0 22px, var(--orange) 22px calc(100% - 8px), var(--orange) calc(100% - 8px));
  opacity: 0.9;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 75, 31, 0.25);
  pointer-events: none;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(3, 9, 14, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: clamp(172px, 18vw, 246px);
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.brand .wp-block-image.brand-logo {
  display: block;
  width: clamp(172px, 18vw, 246px);
  height: 44px;
  line-height: 0;
  margin: 0;
}

.brand .wp-block-image.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand.mini .brand-logo {
  width: 176px;
  height: 34px;
}

.brand.mini .wp-block-image.brand-logo {
  width: 176px;
  height: 34px;
}

.footer-brand .brand-logo {
  width: clamp(220px, 22vw, 300px);
  height: 54px;
}

.footer-brand .wp-block-image.brand-logo {
  width: clamp(220px, 22vw, 300px);
  height: 54px;
}

.brand-edit-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  font-size: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255, 75, 31, 0.85);
  color: var(--orange);
  font-weight: 900;
  font-size: 27px;
  line-height: 1;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 8px 17px auto auto;
  width: 11px;
  height: 2px;
  background: var(--orange);
}

.brand strong {
  display: block;
  font-size: 13px;
  line-height: 1.05;
  letter-spacing: 0.14em;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.34em;
}

.main-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.2vw, 58px);
  font-size: 12px;
  color: rgba(245, 244, 239, 0.8);
}

.main-nav a {
  position: relative;
  padding: 12px 0 10px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  transition: transform 160ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle,
.nav-submenu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.nav-toggle {
  position: relative;
  z-index: 10030;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(245, 244, 239, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-service-item {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10020;
  display: grid;
  gap: 0;
  min-width: 278px;
  padding: 9px;
  background:
    linear-gradient(90deg, rgba(245, 244, 239, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(245, 244, 239, 0.045) 1px, transparent 1px),
    rgba(3, 9, 14, 0.985);
  background-size: 48px 48px, 48px 48px, auto;
  border: 1px solid rgba(245, 244, 239, 0.22);
  border-top-color: var(--orange);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.66);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -1px;
  height: 1px;
  background: var(--orange);
}

.nav-service-item:hover .nav-submenu,
.nav-service-item:focus-within .nav-submenu,
.nav-service-item.is-submenu-open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  padding: 13px 14px;
  color: rgba(245, 244, 239, 0.9);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: #fff;
  background: rgba(255, 75, 31, 0.12);
  outline: none;
}

.nav-submenu a::after {
  display: none;
}

.hero {
  min-height: 810px;
  display: grid;
  align-items: end;
  padding: 142px 0 98px;
}

.hero-media,
.hero-scrim,
.technical-lines,
.values-media {
  position: absolute;
  inset: 0;
}

.hero-media {
  left: 30%;
  top: 74px;
  bottom: 0;
  overflow: hidden;
}

.hero-media img,
.values-media img,
.project-image img,
.story-image img,
.media-strip img,
.footer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  object-position: 68% 48%;
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.28);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 9, 13, 1) 0%, rgba(4, 9, 13, 0.98) 43%, rgba(4, 9, 13, 0.58) 67%, rgba(4, 9, 13, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 9, 13, 0.96) 0%, rgba(4, 9, 13, 0.34) 20%, transparent 42%),
    linear-gradient(0deg, rgba(4, 9, 13, 0.96) 0%, transparent 38%, rgba(4, 9, 13, 0.08) 100%);
}

.technical-lines {
  opacity: 0.72;
  background:
    radial-gradient(circle at 17% 82%, rgba(255, 75, 31, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 24%, rgba(255, 75, 31, 0.28) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 0 14%, rgba(255, 75, 31, 0.22) 14.1%, transparent 14.3%),
    linear-gradient(0deg, transparent 0 73%, rgba(255, 75, 31, 0.2) 73.1%, transparent 73.22%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 690px;
  color: #fff;
  font-size: clamp(58px, 8.3vw, 116px);
  line-height: 0.84;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span,
.project-copy h2 span,
.dot {
  color: var(--orange);
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(245, 244, 239, 0.76);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn::after {
  content: "→";
  margin-left: 12px;
  color: currentColor;
}

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

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: #ff5f38;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(2, 8, 12, 0.2);
}

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

.trust {
  padding: 96px 0 0;
  border-top: 1px solid rgba(255, 75, 31, 0.24);
}

.vertical-rail {
  position: absolute;
  left: clamp(17px, 3.2vw, 48px);
  top: 56px;
  bottom: 38px;
  width: 1px;
  background: var(--line-strong);
}

.vertical-rail span {
  position: absolute;
  top: 34px;
  left: -8px;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left top;
  color: rgba(245, 244, 239, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}

.pillar {
  min-height: 365px;
  padding: 22px clamp(26px, 4vw, 64px) 56px;
  border-right: 1px solid var(--line);
}

.pillar-number {
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.line-icon {
  width: 54px;
  height: 54px;
  margin: 72px 0 28px;
  border: 2px solid rgba(196, 213, 223, 0.56);
  position: relative;
}

.line-icon.lock {
  width: 43px;
  height: 40px;
  border-radius: 6px;
}

.line-icon.lock::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -21px;
  width: 21px;
  height: 24px;
  border: 2px solid rgba(196, 213, 223, 0.56);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.line-icon.lock::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 13px;
  width: 5px;
  height: 13px;
  background: rgba(196, 213, 223, 0.56);
}

.line-icon.gear {
  border-radius: 50%;
}

.line-icon.gear::before,
.line-icon.pin::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(196, 213, 223, 0.56);
  border-radius: 50%;
}

.line-icon.pin {
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
}

.line-icon.pin::before {
  inset: 14px;
}

.pillar h3 {
  max-width: 280px;
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.02;
}

.pillar p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.media-strip {
  height: 174px;
  margin-top: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.media-strip img {
  object-position: center bottom;
  opacity: 0.82;
  transform: scale(1.04);
}

.services {
  padding: 104px 0 118px;
}

.services-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.64fr) minmax(0, 1.36fr);
  grid-template-rows: minmax(500px, auto) auto;
  gap: 0 clamp(10px, 2vw, 28px);
  align-items: stretch;
  overflow: hidden;
}

.section-intro {
  position: relative;
  z-index: 2;
}

.section-intro h2 {
  max-width: 535px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 3.9vw, 64px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.section-intro p:not(.eyebrow) {
  max-width: 440px;
  margin: 28px 0 0;
  color: rgba(245, 244, 239, 0.72);
  font-size: 17px;
  line-height: 1.5;
}

.section-intro .eyebrow::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 18px;
  background: var(--orange);
}

.services-collage {
  position: relative;
  z-index: 1;
  min-height: 500px;
  margin-left: 0;
  margin-right: calc((100vw - var(--container)) / -2);
  overflow: hidden;
  background-image: url("assets/client/camions-logistique-atelier.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 100%);
}

.services-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 16, 1) 0%, rgba(5, 11, 16, 1) 22%, rgba(5, 11, 16, 0.72) 34%, rgba(5, 11, 16, 0.1) 48%, transparent 68%, rgba(5, 11, 16, 0.48) 100%),
    linear-gradient(180deg, rgba(5, 11, 16, 0.04) 0%, transparent 36%, transparent 70%, rgba(5, 11, 16, 0.9) 100%);
  pointer-events: none;
}

.service-slice {
  display: none;
}

.service-timeline {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: 0;
}

.service-timeline::before {
  content: "";
  position: absolute;
  left: -22px;
  right: 2%;
  top: 2px;
  height: 76px;
  background: linear-gradient(180deg, transparent 0 49%, var(--orange) 49.6% 52%, transparent 52.4%);
  opacity: 1;
  pointer-events: none;
}

.service-timeline li,
.service-timeline .service-timeline-item {
  position: relative;
  min-height: 330px;
  padding: 82px clamp(10px, 1.7vw, 24px) 0 0;
  border-right: 1px solid rgba(209, 224, 232, 0.15);
}

.service-link {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-link:hover h3,
.service-link:focus-visible h3,
.service-link:hover strong,
.service-link:focus-visible strong {
  color: var(--orange);
}

.service-link:focus-visible {
  outline: 1px solid var(--orange);
  outline-offset: 8px;
}

.service-timeline li::before,
.service-timeline .service-timeline-item::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 2px var(--orange);
}

.service-timeline span,
.service-timeline .service-timeline-item > p:first-child {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1;
}

.service-timeline .active span,
.service-timeline .active > p:first-child,
.service-timeline .active h3,
.service-timeline .active strong {
  color: var(--orange);
}

.service-timeline h3 {
  min-height: 62px;
  margin: 0 0 16px;
  font-size: clamp(20px, 2vw, 31px);
  line-height: 1.03;
  font-weight: 930;
}

.service-timeline p {
  margin: 0;
  color: rgba(245, 244, 239, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

.service-timeline strong {
  display: block;
  margin-top: 24px;
  color: rgba(245, 244, 239, 0.82);
  font-size: 14px;
  font-weight: 500;
}

.service-timeline strong::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  margin-bottom: 12px;
  background: var(--orange);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 760px;
  background: var(--paper);
  color: var(--paper-ink);
}

.story-copy {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(610px, calc(100vw - 44px));
  padding: 96px 82px 96px 0;
}

.story-copy h2,
.faq h2 {
  margin: 0;
  font-size: clamp(42px, 4.4vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.story-lead {
  max-width: 470px;
  margin: 28px 0 0;
  color: rgba(22, 22, 22, 0.92);
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.25;
  font-weight: 850;
}

.story-copy p:not(.eyebrow) {
  margin: 26px 0 0;
  color: rgba(22, 22, 22, 0.72);
  font-size: 16px;
  line-height: 1.72;
}

.story-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 520px;
  margin: 38px 0 32px;
  border-top: 1px solid rgba(20, 20, 20, 0.22);
  border-bottom: 1px solid rgba(20, 20, 20, 0.22);
}

.story-proof span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 0;
  color: rgba(22, 22, 22, 0.78);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  border-right: 1px solid rgba(20, 20, 20, 0.18);
}

.story-proof span + span {
  padding-left: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 850;
}

.text-link::after {
  content: "→";
  margin-left: 10px;
}

.story-image {
  position: relative;
  min-height: clamp(760px, 62vw, 960px);
  overflow: hidden;
  background: #d4d0ca;
}

.story-image img {
  object-fit: cover;
  object-position: center center;
  padding: 0;
  box-sizing: border-box;
  transform: none;
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 16, 0.2), transparent 28%),
    linear-gradient(0deg, rgba(5, 11, 16, 0.62), transparent 48%);
}

.story-stats {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-transform: uppercase;
}

.story-stats strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.values {
  padding: 120px 0 132px;
  text-align: center;
}

.values::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 16, 0.86), rgba(5, 11, 16, 0.78) 46%, rgba(5, 11, 16, 0.97)),
    radial-gradient(circle at center, transparent 0, rgba(5, 11, 16, 0.5) 72%);
}

.values-media {
  opacity: 0.58;
}

.values-media img {
  object-position: center bottom;
  transform: scale(1.22);
  filter: contrast(1.06) saturate(0.9);
}

.values .container {
  position: relative;
  z-index: 2;
}

.values h2 {
  margin: 0 0 52px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 500;
}

.word-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 52px;
}

.word-wall > span,
.word-wall .word-wall-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: clamp(36px, 6.4vw, 86px);
  line-height: 0.88;
  font-weight: 950;
  text-transform: uppercase;
  margin: 0;
}

.word-wall em,
.word-wall .word-wall-item em {
  color: var(--orange);
  font-style: normal;
  font-size: 12px;
  line-height: 1;
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  align-items: stretch;
  min-height: 760px;
  border-top: 1px solid var(--line);
}

.project-image {
  min-height: 760px;
  overflow: hidden;
  background: #03090d;
}

.project-image img {
  object-fit: cover;
  object-position: 50% 50%;
  filter: contrast(1.08) saturate(1.04);
  transform: none;
}

.project-copy {
  align-self: center;
  max-width: 660px;
  padding: 92px clamp(30px, 6vw, 96px);
}

.project-copy h2 {
  margin: 0;
  max-width: 610px;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 0.98;
}

.project-copy p {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.project-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-proof div,
.project-proof .project-proof-item {
  min-height: 86px;
  padding: 18px 16px 16px 0;
  border-right: 1px solid var(--line);
}

.project-proof dt,
.project-proof .project-proof-term {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.project-proof dd,
.project-proof .project-proof-description {
  margin: 0;
  color: rgba(245, 244, 239, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.service-note {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(245, 244, 239, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.hero-note {
  margin-top: 18px;
  color: rgba(245, 244, 239, 0.7);
}

.hub-legal-note {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(245, 244, 239, 0.68);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 26px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-details div {
  min-width: 0;
  padding: 18px;
  background: rgba(2, 12, 16, 0.88);
}

.contact-details dt {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: rgba(245, 244, 239, 0.82);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

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

.project-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.project-tabs span,
.project-tabs p {
  position: relative;
  padding: 18px 16px 0 18px;
  color: rgba(245, 244, 239, 0.68);
  font-size: 12px;
  border-right: 1px solid var(--line);
  margin: 0;
}

.project-tabs span::before,
.project-tabs p::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.faq {
  background: var(--paper);
  color: var(--paper-ink);
  padding: 108px 0 96px;
}

.faq-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(420px, 1.3fr);
  gap: clamp(42px, 7vw, 110px);
}

.faq-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.accordion {
  border-top: 1px solid rgba(20, 20, 20, 0.72);
}

.rank-math-block.pit-route-rank-math-faq,
.pit-route-rank-math-faq .rank-math-list {
  margin: 0;
}

.pit-route-rank-math-faq .rank-math-list {
  padding: 0;
  border-top: 1px solid rgba(20, 20, 20, 0.72);
}

.faq-item {
  border-bottom: 1px solid rgba(20, 20, 20, 0.72);
}

.pit-route-rank-math-faq .rank-math-list-item {
  border-bottom: 1px solid rgba(20, 20, 20, 0.72);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.pit-route-rank-math-faq .rank-math-question {
  position: relative;
  display: block;
  margin: 0;
  padding: 25px 42px 25px 0;
  color: inherit;
  font: inherit;
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
}

.pit-route-rank-math-faq .rank-math-question::before,
.pit-route-rank-math-faq .rank-math-question::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--orange-2);
  transform: translateY(-50%);
}

.pit-route-rank-math-faq .rank-math-question::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 160ms ease;
}

.faq-item i {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.faq-item i::before,
.faq-item i::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 8px;
  height: 2px;
  background: var(--orange-2);
}

.faq-item i::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-item.is-open i::after {
  transform: rotate(0);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-panel > p {
  overflow: hidden;
  margin: 0;
  color: rgba(22, 22, 22, 0.72);
  line-height: 1.75;
}

.pit-route-rank-math-faq .rank-math-answer {
  display: grid;
  grid-template-rows: 0fr;
  max-width: 720px;
  padding: 0 64px 0 0;
  overflow: hidden;
  color: rgba(22, 22, 22, 0.72);
  line-height: 1.75;
  transition: grid-template-rows 180ms ease, padding-bottom 180ms ease;
}

.pit-route-rank-math-faq .rank-math-answer p {
  overflow: hidden;
  margin: 0;
}

.pit-route-rank-math-faq .rank-math-list-item.is-open .rank-math-question::after {
  transform: translateY(-50%) rotate(0);
}

.pit-route-rank-math-faq .rank-math-list-item.is-open .rank-math-answer {
  grid-template-rows: 1fr;
  padding-bottom: 28px;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-panel > p {
  padding-bottom: 28px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 244, 239, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(245, 244, 239, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 82% 22%, rgba(255, 75, 31, 0.14), transparent 30%),
    var(--ink);
  background-size: 120px 120px, 120px 120px, auto, auto;
  color: #fff;
}

.footer-photo {
  position: relative;
  height: clamp(390px, 32vw, 600px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 75, 31, 0.1), transparent 34%),
    linear-gradient(180deg, #02070a 0%, #061017 54%, #02070a 100%);
  border-top: 1px solid rgba(245, 244, 239, 0.1);
  border-bottom: 1px solid rgba(255, 75, 31, 0.34);
}

.footer-photo-home::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: url("assets/client/camion-profil.webp") center / cover no-repeat;
  filter: blur(18px) saturate(1.08) brightness(0.52);
  opacity: 0.72;
  transform: scale(1.04);
}

.footer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(0deg, rgba(5, 11, 16, 0.86), transparent 44%),
    linear-gradient(90deg, rgba(5, 11, 16, 0.24), transparent 42%, rgba(5, 11, 16, 0.18));
}

.footer-photo img {
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center 48%;
  filter: contrast(1.1) saturate(1.05);
  transform: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(130px, 0.55fr) minmax(210px, 0.9fr) minmax(250px, 0.9fr);
  gap: 0;
  padding: 64px 0 58px;
}

.footer-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 75, 31, 0.2), transparent 78%);
}

.footer-grid > div {
  min-width: 0;
  padding: 0 clamp(20px, 3vw, 42px);
  border-left: 1px solid rgba(245, 244, 239, 0.12);
}

.footer-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-grid > div:last-child {
  padding-right: 0;
}

.footer-brand p {
  max-width: 360px;
  margin: 26px 0 0;
  color: rgba(245, 244, 239, 0.62);
  line-height: 1.7;
}

.footer-grid h3 {
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.footer-grid a:not(.brand) {
  display: block;
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-top: 13px;
  color: rgba(245, 244, 239, 0.68);
  font-size: 14px;
  line-height: 1.35;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-grid a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-grid .footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: auto;
  margin-top: 30px;
  padding-bottom: 10px;
  color: var(--orange);
  font-weight: 850;
  border-bottom: 1px solid rgba(255, 75, 31, 0.74);
}

.footer-grid .footer-cta::after {
  content: "→";
  font-size: 22px;
  line-height: 1;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  column-gap: clamp(18px, 3vw, 42px);
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(245, 244, 239, 0.12);
  color: rgba(245, 244, 239, 0.46);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-bottom span {
  min-width: 0;
  white-space: nowrap;
}

.footer-bottom a {
  min-width: 0;
  color: inherit;
  white-space: nowrap;
}

.footer-bottom span:first-child,
.footer-bottom a:hover {
  color: rgba(245, 244, 239, 0.58);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom::after {
  content: "///";
  justify-self: end;
  color: var(--orange);
  font-weight: 950;
  letter-spacing: 0.2em;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  position: relative;
  padding: 180px 0 92px;
  background:
    linear-gradient(90deg, rgba(245, 244, 239, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(245, 244, 239, 0.04) 1px, transparent 1px),
    var(--ink);
  background-size: 120px 120px, 120px 120px, auto;
}

.legal-inner h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.94;
}

.legal-inner h1 span {
  color: var(--orange);
}

.legal-inner p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(245, 244, 239, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.legal-content {
  padding: 96px 0;
  color: #111922;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.legal-grid article {
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid rgba(17, 25, 34, 0.16);
  background: rgba(255, 255, 255, 0.54);
}

.legal-grid .legal-wide {
  grid-column: 1 / -1;
}

.legal-grid h2 {
  margin: 0 0 22px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.legal-grid p,
.legal-grid dd {
  margin: 0;
  color: rgba(17, 25, 34, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.legal-grid p + p {
  margin-top: 14px;
}

.legal-grid dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.legal-grid dt {
  margin-bottom: 4px;
  color: rgba(17, 25, 34, 0.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-grid a {
  color: inherit;
}

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
  }

  .pillar-grid,
  .services-layout,
  .story,
  .project,
  .faq-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-layout {
    grid-template-rows: auto 360px auto;
    gap: 36px;
  }

  .vertical-rail {
    display: none;
  }

  .pillar-grid {
    border-top: 1px solid var(--line);
  }

  .pillar {
    min-height: auto;
    padding: 38px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .line-icon {
    margin-top: 42px;
  }

  .services-collage {
    min-height: 360px;
    margin-left: 0;
    margin-right: 0;
    background-size: cover;
    background-position: center;
  }

  .service-slice {
    top: 0;
    bottom: 0;
    width: 30%;
    background-size: auto 470px;
  }

  .service-timeline {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 12px;
  }

  .service-timeline::before {
    display: none;
  }

  .service-timeline li,
  .service-timeline .service-timeline-item {
    padding-top: 42px;
  }

  .story-copy {
    justify-self: center;
    width: min(100%, 610px);
    padding: 82px 0;
  }

  .story-copy::before {
    display: none;
  }

  .story-image,
  .project-image {
    min-height: 520px;
  }

  .project-copy {
    max-width: none;
  }

  .project-proof {
    max-width: 680px;
  }

  .footer-grid {
    gap: 38px;
  }

  .footer-grid > div {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    gap: 14px;
    padding: 12px 14px;
    justify-content: space-between;
    overflow: visible;
    z-index: 10000;
  }

  .site-header::before,
  .site-header::after {
    display: none;
  }

  .brand {
    flex: 1 1 auto;
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 58px);
    order: 1;
  }

  .brand-logo {
    width: clamp(126px, 38vw, 168px);
    max-width: 100%;
    height: 34px;
  }

  .footer-brand .brand-logo {
    width: min(230px, 72vw);
    height: 44px;
  }

  .brand-mark {
    width: 34px;
    height: 32px;
    font-size: 22px;
  }

  .brand strong {
    font-size: 10px;
  }

  .brand small {
    font-size: 8px;
  }

  .nav-toggle {
    display: grid;
    flex: 0 0 44px;
    margin-left: auto;
    order: 2;
  }

  .main-nav {
    position: fixed;
    top: 59px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: calc(100vw - 28px);
    z-index: 10020;
    display: grid;
    gap: 0;
    max-height: calc(100dvh - 78px);
    padding: 10px;
    overflow-y: auto;
    color: rgba(245, 244, 239, 0.92);
    font-size: 13px;
    background:
      linear-gradient(90deg, rgba(245, 244, 239, 0.045) 1px, transparent 1px),
      linear-gradient(rgba(245, 244, 239, 0.04) 1px, transparent 1px),
      rgba(3, 9, 14, 0.985);
    background-size: 54px 54px, 54px 54px, auto;
    border: 1px solid rgba(245, 244, 239, 0.18);
    border-top-color: var(--orange);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.68);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 170ms ease, transform 170ms ease;
    white-space: normal;
  }

  .service-header .main-nav {
    position: fixed;
    top: 59px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: calc(100vw - 28px);
    display: grid;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 13px;
    white-space: normal;
  }

  .site-header.is-menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a,
  .nav-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(245, 244, 239, 0.12);
    color: rgba(245, 244, 239, 0.94);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: left;
    text-transform: uppercase;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav > a:last-child {
    border-bottom: 0;
  }

  .nav-service-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    min-width: 0;
    max-width: 100%;
    align-items: stretch;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(245, 244, 239, 0.12);
  }

  .service-header .nav-service-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-service-item > a {
    border-bottom: 0;
  }

  .nav-submenu-toggle {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 0;
    border-left: 1px solid rgba(245, 244, 239, 0.12);
    border-bottom: 0;
    color: transparent;
    font-size: 0;
    cursor: pointer;
  }

  .nav-submenu-toggle::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 170ms ease;
  }

  .nav-service-item.is-submenu-open .nav-submenu-toggle::before {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .nav-submenu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.035);
    border: 0;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: none;
    transform: none;
    transition: max-height 180ms ease;
  }

  .service-header .nav-submenu {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: none;
    transform: none;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-service-item:hover .nav-submenu,
  .nav-service-item:focus-within .nav-submenu,
  .nav-service-item.is-submenu-open .nav-submenu {
    transform: none;
  }

  .nav-service-item.is-submenu-open .nav-submenu {
    max-height: 420px;
    pointer-events: auto;
  }

  .service-header .nav-service-item.is-submenu-open .nav-submenu {
    max-height: 420px;
    pointer-events: auto;
  }

  .nav-submenu a {
    min-height: 44px;
    padding: 12px 14px 12px 26px;
    color: rgba(245, 244, 239, 0.82);
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  body.nav-open {
    overflow: hidden;
  }

  html,
  body {
    overflow-x: clip;
  }

  .hero {
    min-height: 690px;
    padding: 122px 0 70px;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 72px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .btn {
    width: 100%;
  }

  .trust,
  .services,
  .values,
  .faq {
    padding-block: 72px;
  }

  .media-strip {
    height: 120px;
  }

  .service-timeline {
    grid-template-columns: 1fr;
  }

  .service-timeline li,
  .service-timeline .service-timeline-item {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-timeline li::before,
  .service-timeline .service-timeline-item::before {
    top: 35px;
    left: auto;
    right: 0;
  }

  .story-image,
  .project-image {
    min-height: 420px;
  }

  .services-collage {
    margin-right: 0;
    mask-image: none;
  }

  .story-stats,
  .story-proof,
  .project-proof,
  .project-tabs,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .story-proof span,
  .story-proof span + span,
  .project-proof div {
    min-height: 58px;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(20, 20, 20, 0.18);
  }

  .project-proof div {
    border-bottom-color: var(--line);
  }

  .project-copy {
    padding: 70px 18px;
  }

  .word-wall {
    justify-content: flex-start;
    gap: 18px;
    text-align: left;
  }

  .word-wall > span {
    width: 100%;
    font-size: clamp(34px, 13vw, 56px);
  }

  .faq-heading {
    gap: 18px;
  }

  .faq-item button {
    padding: 22px 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom span,
  .footer-bottom::after {
    justify-self: center;
    white-space: normal;
  }

  .footer-photo {
    height: clamp(260px, 58vw, 420px);
  }

  .footer-grid {
    padding: 46px 0 42px;
  }

  .legal-hero {
    padding: 132px 0 72px;
  }

  .legal-content {
    padding: 64px 0;
  }

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

  .legal-grid article {
    padding: 24px;
  }

  .legal-grid dl,
  .legal-grid dd,
  .legal-grid a {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 720px) {
  h1,
  h2,
  h3,
  p,
  a,
  button,
  span,
  strong,
  small,
  dd,
  dt {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .pillar,
  .service-timeline li,
  .service-timeline .service-timeline-item,
  .story-proof span,
  .project-proof div,
  .faq-item,
  .footer-grid > div,
  .legal-grid article {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .hero h1,
  .services-copy h2,
  .story-copy h2,
  .values h2,
  .project-copy h2,
  .faq h2 {
    line-height: 1.04;
  }

  .services-layout {
    grid-template-rows: auto minmax(260px, 360px) auto;
  }

  .project-proof,
  .story-proof {
    gap: 0;
  }
}

@media (max-width: 980px) {
  .story-image {
    min-height: min(900px, 122vw);
  }

  .story-image img {
    padding: 0;
  }
}

@media (max-width: 720px) {
  .story-image {
    min-height: min(780px, 148vw);
  }

  .story-image img {
    padding: 0;
  }
}

/* Spacing safety pass: keep editorial borders and technical rules from touching text. */
.story-proof span {
  padding: 18px 20px;
}

.story-proof span + span {
  padding-left: 20px;
}

.project-proof div,
.project-proof .project-proof-item {
  padding: 22px 22px;
}

.project-proof div:first-child,
.project-proof .project-proof-item:first-child {
  padding-left: 22px;
}

.project-tabs span,
.project-tabs p {
  padding: 22px 20px 0 24px;
}

.project-tabs span::before,
.project-tabs p::before {
  left: 12px;
}

.contact-details div {
  padding: 22px 24px;
}

.word-wall {
  gap: clamp(18px, 2vw, 34px);
}

.word-wall > span,
.word-wall .word-wall-item {
  padding-inline: 8px;
}

.faq-item button {
  gap: 24px;
  padding-inline: 0 18px;
}

.footer-bottom {
  row-gap: 14px;
}

.footer-bottom span,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.legal-grid article {
  padding: clamp(26px, 2.6vw, 42px);
}

.legal-grid dl {
  gap: 12px 22px;
}

@media (max-width: 900px) {
  .story-proof span,
  .project-proof div,
  .project-proof .project-proof-item,
  .project-tabs span,
  .project-tabs p,
  .contact-details div {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 720px) {
  .project-tabs span::before,
  .project-tabs p::before {
    left: 20px;
  }

  .faq-item button {
    padding: 22px 14px 22px 0;
  }
}

/* Photos client — préserver la livrée, les proportions et la palette du site. */
:root body img[src*="assets/client/"] {
  filter: saturate(.86) contrast(1.04) brightness(.88);
}
:root body .hero-media img[src*="assets/client/"] {
  transform: none;
  object-position: 54% 56%;
}
:root body .hub-hero-media img[src*="assets/client/"],
:root body .transport-hero-media img[src*="camions-logistique-atelier"] {
  object-position: 62% 55%;
  transform: none;
}
:root body .transport-hero-media:has(img[src*="assets/client/"]:not([src*="camions-logistique-atelier"])) {
  background: #c9cbcd;
}
:root body .transport-hero-media img[src*="assets/client/"]:not([src*="camions-logistique-atelier"]) {
  object-fit: cover;
  object-position: right center;
  transform: none;
}
:root body :is(.transport-image-panel, .transport-protocol-media, .transport-large-visual, .transport-difference-media, .about-genesis-media) img[src*="assets/client/"]:not([src*="camions-logistique-atelier"]) {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #d4d4d4;
}
:root body .hub-service-card > img[src*="assets/client/"] {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #d4d4d4;
}
:root body .transport-process-media img[src*="assets/client/"] {
  object-fit: cover;
  object-position: center 56%;
}
:root body .transport-summary-media img[src*="assets/client/"] {
  object-position: center 58%;
}
:root body .footer-photo img[src*="assets/client/"] {
  object-fit: cover;
  object-position: center;
}
:root body .combined-service-visual {
  background-position: center;
}
:root body .services-collage {
  background-position: center 60%;
  filter: saturate(.78);
}
@media (max-width: 700px) {
  :root body :is(.hero, .hub-hero, .transport-hero):has(img[src*="assets/client/"]) {
    padding-top: 345px;
    min-height: auto;
  }
  :root body :is(.hero-media, .hub-hero-media, .transport-hero-media):has(img[src*="assets/client/"]) {
    inset: 66px 0 auto;
    height: 300px;
    background: #c9cbcd;
  }
  :root body :is(.hero-media, .hub-hero-media, .transport-hero-media) img[src*="assets/client/"] {
    object-fit: cover;
    object-position: center;
    transform: none;
  }
  :root body .transport-hero-media img[src*="assets/client/"]:not([src*="camions-logistique-atelier"]) {
    object-fit: cover;
  }
  :root body .hero:has(img[src*="assets/client/"]) .hero-scrim {
    background: linear-gradient(180deg, transparent 66px, rgba(4,9,13,.05) 190px, #04090d 362px);
  }
  :root body :is(.hub-hero-media, .transport-hero-media):has(img[src*="assets/client/"])::after {
    background: linear-gradient(180deg, rgba(5,11,16,.08) 35%, #050b10 100%);
  }
  :root body .footer-photo:has(img[src*="assets/client/"]) {
    height: auto;
    aspect-ratio: 1671 / 941;
  }
  :root body .footer-photo img[src*="assets/client/"] { display: block; }
}

/* Finition responsive : photos bord à bord et gouttières régulières. */
.container { width: min(1180px, calc(100% - 48px)); }
:root body :is(.hero-media, .story-image, .project-image, .footer-photo,
  .transport-image-panel, .transport-protocol-media, .transport-large-visual,
  .transport-difference-media, .transport-portrait, .transport-cta-image,
  .hub-commitments-photo, .hub-cta-image, .about-origin-image,
  .about-career-media, .about-genesis-media, .about-founder-media,
  .about-qualification-media, .about-cta-image) {
  position: relative;
  overflow: hidden;
  border: 0;
}
/* Le hero conserve son positionnement derrière le texte. */
:root body .hero-media { position: absolute; }
:root body :is(.story-image, .project-image, .footer-photo,
  .transport-image-panel, .transport-protocol-media, .transport-large-visual,
  .transport-difference-media, .transport-portrait, .transport-cta-image,
  .hub-commitments-photo, .hub-cta-image, .about-origin-image,
  .about-career-media, .about-genesis-media, .about-founder-media,
  .about-qualification-media, .about-cta-image) > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  border: 0;
  margin: 0;
}
:root body .footer-photo { height: clamp(360px, 39vw, 620px); }
:root body .footer-photo::before { content: none; }
:root body .footer-photo img { object-position: center 58%; }
:root body .project-image img { object-position: center; }
:root body .story-image img { object-position: center 30%; }
:root body .transport-large-visual img[src*="camion-avant-gauche"] { object-position: 25% center; }
:root body .transport-difference-media img[src*="remorque-technique"] { object-position: 34% center; }
:root body .about-genesis-media img { object-position: 30% center; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:where(a, button):focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
section[id], [id="contact"] { scroll-margin-top: 88px; }
@media (max-width: 1060px) {
  :root body .project-image { min-height: 0; height: clamp(420px, 75vw, 680px); }
}
@media (max-width: 720px) {
  :root body .container { width: calc(100% - 40px); }
  :root body :is(.project-copy, .hub-cta-copy, .transport-cta-copy, .about-cta-copy) {
    padding: 56px 20px;
  }
  :root body :is(.transport-image-panel, .transport-protocol-media, .transport-large-visual,
    .transport-difference-media, .about-genesis-media) {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  :root body :is(.transport-image-panel, .transport-difference-media):has(img[src*="hayon-double-niveau"]) {
    aspect-ratio: 4 / 5;
  }
  :root body .footer-photo { height: auto; aspect-ratio: 16 / 9; }
  :root body .story-image { min-height: 0; height: auto; aspect-ratio: 2 / 3; }
  :root body .story-stats { left: 20px; right: 20px; bottom: 24px; gap: 12px; }
  :root body .story-stats strong { font-size: 12px; }
  :root body .story-stats { font-size: 9px; line-height: 1.5; }
  :root body .about-genesis-media img { object-position: center; }
  :root body .transport-large-visual img[src*="camion-avant-gauche"] { object-position: center; }
  :root body .transport-difference-media img[src*="remorque-technique"] { object-position: center; }
}

/* Éviter les colonnes trop étroites à la largeur tablette. */
:root body .story-copy { max-width: 100%; }
:root body .contact-details dd { overflow-wrap: anywhere; }
@media (min-width: 721px) and (max-width: 1100px) {
  .story, .project { grid-template-columns: 1fr; }
  .story-copy { justify-self: center; width: min(680px, calc(100% - 48px)); padding: 64px 0; }
  :root body .story-image { min-height: 0; height: 720px; }
  :root body .project-copy { max-width: none; padding: 64px 48px; }
  :root body .project-image { min-height: 0; height: 620px; }
}
@media (max-width: 720px) {
  :root body :is(.project-image, .transport-cta-image, .hub-cta-image, .about-cta-image) {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }
  :root body .transport-portrait { min-height: 0; height: auto; aspect-ratio: 2 / 3; }
}
.word-wall .dot { display: inline; width: auto; padding: 0; color: var(--orange); }
@media (max-width: 720px) {
  :root body .story-copy { width: calc(100% - 40px); padding: 56px 0; justify-self: center; }
  :root body .word-wall { display: grid; grid-template-columns: 1fr; gap: 22px; text-align: left; }
  :root body .word-wall > span, :root body .word-wall .word-wall-item {
    display: flex;
    width: auto;
    gap: 10px;
    padding: 0;
    font-size: clamp(26px, 8.5vw, 40px);
    line-height: 1.1;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  :root body .word-wall .dot { margin-left: -10px; }
}

/* Pictogrammes : conserver le dessin entier et son ratio, sans recadrage photo. */
img[src*="/icons/"] { object-fit: contain; flex-shrink: 0; }
.pillar-icon { width: 46px; height: 46px; display: block; margin-bottom: 24px; }
