:root {
  --ink: #11151b;
  --ink-soft: #3f4752;
  --muted: #737d8a;
  --line: #d9dee6;
  --line-soft: #eceff3;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mineral: #f4f2ee;
  --steel: #e7ebef;
  --steel-dark: #9aa5b1;
  --blue: #145cff;
  --accent: #145cff;
  --cyan: #13b8d3;
  --signal: #0f766e;
  --maritime: #123a5a;
  --harbor: #0e7490;
  --safety: #d66a2d;
  --container-red: #9f3428;
  --steel-blue: #dae5ee;
  --sand: #d6c4a3;
  --shadow: 0 24px 70px rgba(17, 21, 27, .08);
  --shadow-soft: 0 14px 45px rgba(17, 21, 27, .055);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: 1240px;
  --header: 78px;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 5%, rgba(20, 92, 255, .07), transparent 28rem),
    radial-gradient(circle at 12% 32%, rgba(214, 106, 45, .045), transparent 22rem),
    radial-gradient(circle at 78% 78%, rgba(15, 118, 110, .045), transparent 24rem),
    linear-gradient(180deg, #fff 0%, var(--paper) 42%, #f7f6f2 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.is-locked { overflow: hidden; }

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button { cursor: pointer; }

::selection {
  background: rgba(20, 92, 255, .14);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
}

h1 {
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.055em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.05em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.028em;
  margin-bottom: 10px;
}

p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.lead,
.page-lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.75;
}

.section {
  padding: clamp(90px, 12vw, 160px) 0;
  position: relative;
}

.section-dense {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-airy {
  padding: clamp(120px, 18vw, 220px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}

.btn-dark::after,
.btn-light::after {
  content: "→";
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: transform .45s var(--ease);
}

.btn-dark:hover::after,
.btn-light:hover::after { transform: translateX(4px); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(17,21,27,.22);
}

.btn-light {
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.btn-light:hover {
  background: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
}

.text-link .tl-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  font-size: 14px;
  transition: transform .45s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.text-link:hover .tl-arrow {
  transform: translateX(5px);
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(20px, 3vw, 42px);
  border-bottom: 1px solid rgba(217, 222, 230, .65);
  background: rgba(251, 250, 247, .75);
  backdrop-filter: blur(22px) saturate(1.15);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 40px rgba(17, 21, 27, .06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  flex-shrink: 0;
}

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

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .1em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .36em;
}

.brand-x {
  color: var(--blue);
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 5px;
}

.main-nav a {
  position: relative;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color .35s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.main-nav a:hover,
body[data-page="societe"] [data-nav="societe"],
body[data-page="activites"] [data-nav="activites"],
body[data-page="solutions"] [data-nav="solutions"],
body[data-page="reseau"] [data-nav="reseau"],
body[data-page="contact"] [data-nav="contact"] {
  color: var(--ink);
}

body[data-page="societe"] [data-nav="societe"]::after,
body[data-page="activites"] [data-nav="activites"]::after,
body[data-page="solutions"] [data-nav="solutions"]::after,
body[data-page="reseau"] [data-nav="reseau"]::after,
body[data-page="contact"] [data-nav="contact"]::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 13px 17px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  transition: background .35s var(--ease), color .35s var(--ease);
}

.header-cta:hover {
  background: var(--ink);
  color: white;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17,21,27,.14);
  border-radius: 8px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .32s var(--ease), opacity .2s var(--ease), background .25s var(--ease);
}

.mobile-panel {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 90;
  background: rgba(251,250,247,.96);
  backdrop-filter: blur(22px);
  padding: 36px 24px;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.mobile-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-panel nav {
  display: grid;
  gap: 18px;
}

.mobile-panel a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.04em;
}

/* Shared visuals */
.ambient-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.75) 38%, transparent 100%);
  opacity: .75;
}

.flow-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.flow-field span {
  position: absolute;
  left: -10%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 92, 255, .35), transparent);
  animation: fieldFlow 12s linear infinite;
}

.flow-field span:nth-child(1) { top: 26%; }
.flow-field span:nth-child(2) { top: 42%; animation-delay: -4s; }
.flow-field span:nth-child(3) { top: 58%; animation-delay: -7s; }
.flow-field span:nth-child(4) { top: 74%; animation-delay: -10s; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

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

/* Home */
.hero,
.page-hero,
.contact-hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
  padding: 95px 0 70px;
}

.hero-copy { max-width: 760px; }
.hero-copy h1 { max-width: 890px; }
.hero-copy .lead { max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-instrument {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.instrument-shell {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1.15;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.instrument-shell::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid var(--line-soft);
}

.route-map {
  position: absolute;
  inset: 28px;
}

.route-line,
.map-route {
  fill: none;
  stroke: url(#routeA);
  stroke-width: 1.6;
  stroke-dasharray: 7 12;
  animation: dash 18s linear infinite;
}

.route-line-soft { opacity: .45; stroke-width: 1; }

.hubs circle,
.map-hubs circle {
  fill: var(--white);
  stroke: var(--blue);
  stroke-width: 1.5;
}

.module {
  position: absolute;
  padding: 11px 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(17,21,27,.08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.module-a { top: 15%; left: 9%; animation: inertialFloat 8s var(--ease) infinite; }
.module-b { top: 48%; right: 9%; animation: inertialFloat 9s var(--ease) infinite reverse; }
.module-c { bottom: 14%; left: 22%; animation: inertialFloat 10s var(--ease) infinite; }

.module-stack {
  position: absolute;
  right: 15%;
  bottom: 18%;
  display: grid;
  grid-template-columns: repeat(2, 54px);
  gap: 8px;
}

.module-stack i {
  height: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #eef2f7);
}

.intro-panel {
  background: var(--white);
  border-block: 1px solid var(--line-soft);
}

.split-intro,
.editorial-grid {
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: clamp(40px, 7vw, 110px);
}

.intro-copy,
.editorial-copy { max-width: 900px; }

.vertical-preview {
  background: linear-gradient(180deg, var(--paper), #fff);
}

.vertical-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
  box-shadow: var(--shadow-soft);
}

.vertical-tile {
  min-height: 300px;
  padding: 32px 26px 26px;
  background: rgba(255,255,255,.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform .55s var(--ease), background .55s var(--ease), box-shadow .55s var(--ease);
}

.vertical-tile::before {
  content: attr(data-index);
  position: absolute;
  top: -12px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 7.5rem;
  font-weight: 800;
  letter-spacing: -.09em;
  color: var(--ink);
  opacity: .04;
  line-height: 1;
  pointer-events: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.vertical-tile::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
}

.vertical-tile:hover {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(17,21,27,.1);
}

.vertical-tile:hover::before {
  opacity: .065;
  transform: translateY(-4px);
}

.vertical-tile:hover::after { transform: scaleY(1); }

.vertical-tile span,
.solution-card span,
.mission-card span,
.flow-step span {
  color: var(--steel-dark);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.04em;
}

.vertical-tile strong {
  margin: 24px 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.vertical-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.operating-model {
  background: var(--mineral);
}

.model-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.process-board {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.process-board article {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  gap: 0 28px;
  align-items: start;
  padding: 32px 30px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease), padding-left .35s var(--ease);
}

.process-board article:last-child { border-bottom: 0; }

.process-board article:hover {
  background: rgba(20,92,255,.018);
  padding-left: 38px;
}

.process-board span {
  grid-row: 1 / 3;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  padding-top: 3px;
}

.process-board h3 { margin: 0 0 6px; font-size: 1.1rem; }
.process-board p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.expertise-band {
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.expertise-band::before,
.transition-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .22;
}

.band-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}

.band-layout-left { max-width: 100%; }

.band-layout h2 {
  color: white;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  max-width: none;
  margin-bottom: 0;
}

.expertise-band .eyebrow {
  color: rgba(255,255,255,.42);
}

.expertise-band .eyebrow::before {
  background: rgba(255,255,255,.42);
}

.expertise-band .text-link {
  color: white;
  flex-shrink: 0;
}

.expertise-band .text-link .tl-arrow {
  border-color: rgba(255,255,255,.3);
  color: white;
}

.expertise-band .text-link:hover .tl-arrow {
  background: white;
  border-color: white;
  color: var(--ink);
}

.why-layout {
  display: grid;
  gap: 56px;
}

.proof-grid {
  counter-reset: proof;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.proof-card {
  counter-increment: proof;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  gap: 0 32px;
  align-items: start;
  background: transparent;
  box-shadow: none;
  transition: background .35s var(--ease), padding-left .4s var(--ease);
}

.proof-card::before {
  content: counter(proof, decimal-leading-zero);
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .1em;
  padding-top: 4px;
}

.proof-card:hover {
  padding-left: 14px;
  background: rgba(20,92,255,.018);
}

.proof-card h3 { margin: 0 0 8px; }
.proof-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  padding: 30px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.value-card p { margin-bottom: 0; color: var(--muted); }

.principles-grid {
  counter-reset: principle;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle-card {
  counter-increment: principle;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  gap: 0 28px;
  align-items: start;
  background: transparent;
  box-shadow: none;
  transition: background .3s var(--ease), padding-left .4s var(--ease);
}

.principle-card::before {
  content: counter(principle, decimal-leading-zero);
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .1em;
  padding-top: 4px;
}

.principle-card:hover {
  padding-left: 14px;
  background: rgba(20,92,255,.018);
}

.principle-card h3 { margin: 0 0 8px; }
.principle-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.transition-cinema {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 120px) 0;
  color: white;
  background: linear-gradient(120deg, #11151b, #1a2230);
}

.transition-cinema .container {
  position: relative;
  z-index: 1;
}

.transition-cinema p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 4.8rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 700;
}

.transition-cinema p em {
  font-style: normal;
  color: rgba(255,255,255,.28);
}

.cinema-track {
  position: absolute;
  inset: 0;
}

.cinema-track span {
  position: absolute;
  width: 180px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  animation: moduleDrift 16s linear infinite;
}

.cinema-track span:nth-child(1) { top: 16%; left: -12%; }
.cinema-track span:nth-child(2) { top: 34%; left: 14%; animation-delay: -4s; }
.cinema-track span:nth-child(3) { top: 58%; left: -8%; animation-delay: -8s; }
.cinema-track span:nth-child(4) { top: 76%; left: 22%; animation-delay: -12s; }
.cinema-track span:nth-child(5) { top: 45%; left: 60%; animation-delay: -6s; }

.prefooter {
  padding: clamp(100px, 15vw, 180px) 0;
  background: var(--mineral);
  border-top: 1px solid var(--line);
}

.prefooter-box {
  max-width: var(--container);
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.prefooter-box .eyebrow { margin-bottom: 30px; }

.prefooter-box h2 {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  max-width: 900px;
  margin-bottom: 0;
}

.prefooter-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 44px 0;
}

.prefooter-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.prefooter-note {
  color: var(--muted);
  font-size: 14px;
  max-width: 500px;
  margin: 0;
}

.summary-box {
  padding: clamp(40px, 7vw, 76px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(244,242,238,.75)), #fff;
  box-shadow: var(--shadow);
  max-width: 1050px;
}

.summary-box p { max-width: 680px; }

/* Page hero */
.page-hero {
  min-height: 76svh;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero-grid,
.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .48fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: end;
  padding: 130px 0 78px;
}

.page-hero-grid > *,
.contact-hero-grid > * {
  min-width: 0;
}

.page-hero-grid .page-lead {
  max-width: 640px;
  justify-self: end;
  padding: 18px 20px;
  border-left: 3px solid rgba(20,92,255,.42);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(17,21,27,.045);
}

.page-hero h1,
.contact-hero h1 { font-size: clamp(3rem, 5.6vw, 5.85rem); }

.editorial-section { background: white; }

.mission-panel {
  background: var(--mineral);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mission-card {
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.mission-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mission-card:hover::after { transform: scaleX(1); }

.mission-card h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  hyphens: auto;
  overflow-wrap: break-word;
}

.mission-card span { margin-bottom: auto; }

.method-list {
  border-top: 1px solid var(--line);
}

.method-row,
.service-line {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.method-row span,
.service-line span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -.05em;
}

.method-row p,
.service-line p { margin: 0; max-width: 760px; }

.values-layout { display: grid; gap: 56px; }

/* Activities */
.activity-story {
  padding: clamp(90px, 11vw, 150px) 0;
  background: white;
  border-bottom: 1px solid var(--line-soft);
}

.activity-story-alt,
.activity-story-fragrance {
  background: var(--mineral);
}

.activity-layout {
  display: grid;
  grid-template-columns: 120px 1fr .62fr;
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.activity-layout-reverse {
  grid-template-columns: 120px .62fr 1fr;
}

.activity-layout-reverse .activity-copy { grid-column: 3; }
.activity-layout-reverse .activity-visual { grid-column: 2; grid-row: 1; }

.activity-number {
  color: var(--steel-dark);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 800;
  letter-spacing: -.08em;
}

.activity-copy p { max-width: 760px; }

.activity-visual {
  min-height: 410px;
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(231,235,239,.7));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.activity-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(154,165,177,.3);
}

.activity-visual span {
  position: absolute;
  width: 46%;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  animation: moduleFloat 9s var(--ease) infinite;
}

.activity-visual span:nth-child(1) { top: 26%; left: 12%; }
.activity-visual span:nth-child(2) { top: 44%; right: 13%; animation-delay: -3s; }
.activity-visual span:nth-child(3) { bottom: 22%; left: 22%; animation-delay: -6s; }
.activity-visual-grid span {
  width: 34%;
  height: 70px;
}
.activity-visual-grid span:nth-child(4) { bottom: 12%; right: 18%; animation-delay: -7s; }
.fragrance-visual { border-radius: 0 80px 0 0; }
.fragrance-visual span { border-radius: 999px; height: 74px; }
.btp-visual span { height: 64px; }
.btp-visual span:nth-child(4) { top: 64%; right: 18%; animation-delay: -8s; }

.activity-summary { background: white; }

/* Solutions */
.solution-matrix { background: white; }
.matrix-head { max-width: 900px; margin-bottom: 50px; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.solution-card {
  min-height: 300px;
  padding: 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: background .4s var(--ease);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.solution-card:hover { background: #fafbfc; }
.solution-card:hover::before { transform: scaleX(1); }

.solution-card-large { grid-column: span 2; }
.solution-card-wide { grid-column: span 2; }
.solution-card span { margin-bottom: auto; }
.solution-card p { margin-bottom: 0; color: var(--muted); }

.operating-detail {
  background: var(--mineral);
  overflow: hidden;
}

.detail-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.detail-rail {
  height: 430px;
  position: relative;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.detail-rail span {
  position: absolute;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: railFlow 7s linear infinite;
}

.detail-rail span:nth-child(1) { top: 22%; }
.detail-rail span:nth-child(2) { top: 42%; animation-delay: -2s; }
.detail-rail span:nth-child(3) { top: 62%; animation-delay: -4s; }
.detail-rail span:nth-child(4) { top: 78%; animation-delay: -6s; }

.service-lines { background: white; }

/* Hero column marker */
.hero-column-marker {
  position: absolute;
  left: clamp(14px, 2.5vw, 36px);
  top: calc(var(--header) + 60px);
  bottom: 70px;
  width: 1px;
  background: var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.hero-column-marker span {
  writing-mode: vertical-lr;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--muted);
  padding: 10px 4px;
  text-transform: uppercase;
}

.hero-column-marker i {
  flex: 1;
  display: block;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(20,92,255,.4), transparent);
  margin: 6px 0;
}

/* Network */
.network-hero {
  min-height: 100svh;
  padding-top: var(--header);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f3f5f7 100%);
}

.network-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.network-lines span {
  position: absolute;
  left: -20%;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20,92,255,.34), transparent);
  animation: fieldFlow 13s linear infinite;
}

.network-lines span:nth-child(1) { top: 22%; }
.network-lines span:nth-child(2) { top: 38%; animation-delay: -4s; }
.network-lines span:nth-child(3) { top: 58%; animation-delay: -8s; }
.network-lines span:nth-child(4) { top: 76%; animation-delay: -10s; }

.cargo-modules i {
  position: absolute;
  width: 190px;
  height: 58px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  animation: moduleDrift 20s linear infinite;
}

.cargo-modules i:nth-child(1) { top: 18%; left: -10%; }
.cargo-modules i:nth-child(2) { top: 32%; left: 20%; animation-delay: -4s; }
.cargo-modules i:nth-child(3) { top: 49%; left: -15%; animation-delay: -8s; }
.cargo-modules i:nth-child(4) { top: 66%; left: 42%; animation-delay: -12s; }
.cargo-modules i:nth-child(5) { top: 78%; left: 8%; animation-delay: -16s; }
.cargo-modules i:nth-child(6) { top: 26%; left: 70%; animation-delay: -6s; }

.network-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 100px 0 250px;
}

.network-hero-content h1 {
  max-width: 850px;
}

.network-hero-content .lead {
  max-width: 720px;
  padding: 16px 18px;
  border-left: 3px solid rgba(20,92,255,.52);
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(17,21,27,.055);
}

.network-map-section { background: white; }

.network-map {
  position: relative;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #f3f5f7);
  box-shadow: var(--shadow);
}

.map-continent {
  fill: none;
  stroke: rgba(154,165,177,.55);
  stroke-width: 1;
}

.map-continent-soft { opacity: .45; }
.map-route {
  stroke: url(#networkGrad);
  stroke-width: 1.7;
}
.map-route-2,
.map-route-3 { opacity: .62; stroke-width: 1.2; }

.map-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.flow-system {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.flow-system-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.flow-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.flow-step {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  gap: 0 28px;
  align-items: start;
  background: transparent;
  transition: background .3s var(--ease), padding-left .4s var(--ease);
}

.flow-step:hover {
  background: rgba(20,92,255,.015);
  padding-left: 12px;
}

.flow-step span {
  grid-row: 1 / 3;
  padding-top: 3px;
}

.flow-step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.flow-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.immersive-corridor {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  background: linear-gradient(135deg, #0e1118, #151d28);
  color: white;
}

.corridor-layer {
  position: absolute;
  inset: 0;
  perspective: 1000px;
}

.corridor-layer span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  height: 74px;
  border: 1px solid rgba(255,255,255,.09);
  transform: translate(-50%, -50%) rotateX(62deg) translateY(var(--y));
  animation: corridorMove 8s linear infinite;
}

.corridor-layer span:nth-child(1) { --y: -260px; }
.corridor-layer span:nth-child(2) { --y: -160px; animation-delay: -1s; }
.corridor-layer span:nth-child(3) { --y: -60px; animation-delay: -2s; }
.corridor-layer span:nth-child(4) { --y: 40px; animation-delay: -3s; }
.corridor-layer span:nth-child(5) { --y: 140px; animation-delay: -4s; }
.corridor-layer span:nth-child(6) { --y: 240px; animation-delay: -5s; }

.corridor-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.corridor-copy .eyebrow {
  color: rgba(255,255,255,.38);
}

.corridor-copy .eyebrow::before {
  background: rgba(255,255,255,.38);
}

.corridor-copy h2 {
  color: white;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
}

.corridor-copy p { color: rgba(255,255,255,.6); max-width: 580px; }

.network-principles {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

/* Contact */
.contact-hero {
  min-height: 72svh;
  border-bottom: 1px solid var(--line-soft);
}

.contact-note {
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}

.contact-note span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

.contact-note p { margin: 0; }
.contact-section { background: white; }

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}

.contact-details h2 { font-size: clamp(2rem, 3.7vw, 3.75rem); }

.detail-stack {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.detail-stack article {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.detail-stack span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.form-panel {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #f7f8fa);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background-color: rgba(255,255,255,.82);
  color: var(--ink);
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  min-height: 52px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23737d8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

.contact-form select:hover:not(:focus):not(:disabled) {
  border-color: var(--steel-dark);
  background-color: #fff;
}

.contact-form select:has(option:checked:disabled) {
  color: var(--muted);
}

.contact-form select option {
  color: var(--ink);
  background: #fff;
  font-weight: 500;
}

.contact-form select option:disabled {
  color: var(--muted);
}

.contact-form textarea { resize: vertical; min-height: 150px; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(20,92,255,.6);
  box-shadow: 0 0 0 4px rgba(20,92,255,.08);
  background-color: #fff;
}

.contact-form select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23145cff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.contact-form .is-invalid {
  border-color: #b42318;
}

.contact-form select.is-invalid:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23b42318' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.contact-form small {
  min-height: 16px;
  color: #b42318;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}

.form-success,
.form-error {
  padding: 36px 40px;
  border: 1px solid transparent;
}

.form-success {
  border-color: rgba(15,118,110,.22);
  background: rgba(15,118,110,.05);
  border-left: 4px solid #0f766e;
}

.form-error {
  border-color: rgba(180,35,24,.2);
  background: rgba(180,35,24,.04);
  border-left: 4px solid #b42318;
}

.form-success span,
.form-error span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.form-success span { color: #0f766e; }
.form-error span   { color: #b42318; }

.form-success p,
.form-error p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.form-error a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(20,92,255,.3);
}

.form-error a:hover { border-color: var(--blue); }

/* Loading state on submit button */
.btn-loading { display: none; }
.btn[data-sending] .btn-label  { display: none; }
.btn[data-sending] .btn-loading { display: inline; }

/* Stat bar — signature moment */
.stat-bar {
  padding: 0;
  background: var(--ink);
  border-block: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

.stat-bar-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.08);
}

.stat-item {
  padding: 38px 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
  transition: background .4s var(--ease);
}

.stat-item:hover {
  background: rgba(255,255,255,.04);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -.055em;
  color: white;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   Footer — Premium Dark Corporate
   ══════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.58);
}

.footer-inner {
  padding: clamp(64px, 9vw, 104px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px 32px;
  align-items: start;
}

.footer-col { display: grid; gap: 0; }

/* Brand column */
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  text-decoration: none;
}

.footer-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-mark svg { width: 40px; height: 40px; }

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: white;
  line-height: 1;
}

.footer-wordmark .brand-x { color: var(--blue); }

.footer-tagline {
  color: rgba(255,255,255,.38);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 260px;
}

.footer-address {
  font-style: normal;
  color: rgba(255,255,255,.36);
  font-size: 12.5px;
  line-height: 1.78;
  margin-bottom: 14px;
}

.footer-email-link {
  display: inline-block;
  color: rgba(255,255,255,.48);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.14);
  padding-bottom: 2px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}

.footer-email-link:hover {
  color: white;
  border-color: var(--blue);
}

/* Nav columns label */
.footer-col-label {
  display: block;
  color: rgba(255,255,255,.2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-col-nav a,
.footer-col-legal a {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: 13.5px;
  font-weight: 500;
  padding: 5px 0;
  text-decoration: none;
  transition: color .3s var(--ease);
}

.footer-col-nav a:hover,
.footer-col-legal a:hover { color: white; }

.footer-contact-email {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color .3s var(--ease);
}

.footer-contact-email:hover { color: white; }

.footer-contact-address {
  font-style: normal;
  color: rgba(255,255,255,.34);
  font-size: 12.5px;
  line-height: 1.82;
}

/* Bottom bar */
.footer-bar {
  padding: 18px 0;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  color: rgba(255,255,255,.22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.footer-bar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-bar-links a {
  color: rgba(255,255,255,.22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .3s var(--ease);
}

.footer-bar-links a:hover { color: rgba(255,255,255,.6); }

/* Back to top */
.back-top {
  border: 1px solid rgba(255,255,255,.14);
  background: transparent;
  color: rgba(255,255,255,.35);
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.back-top:hover {
  background: rgba(255,255,255,.07);
  color: white;
  border-color: rgba(255,255,255,.28);
}

/* ══════════════════════════════════════
   Map embed — Contact page
   ══════════════════════════════════════ */
.map-section {
  background: #f2f4f6;
  padding-bottom: 0;
}

.map-section-head {
  margin-bottom: 40px;
}

.map-address-block {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 16px 22px;
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

.map-address-block strong {
  font-weight: 700;
}

.map-embed-wrap {
  width: 100%;
  height: clamp(360px, 46vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 8px 40px rgba(0,0,0,.07);
}

.map-embed-wrap.map-fullwidth {
  margin-top: 48px;
  border-left: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
}

.map-embed-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ══════════════════════════════════════
   Legal pages
   ══════════════════════════════════════ */
.legal-hero {
  padding: clamp(100px, 14vw, 160px) 0 clamp(52px, 6vw, 80px);
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20,92,255,.08), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(14,116,144,.14), transparent 60%);
  pointer-events: none;
}

.legal-hero .eyebrow { color: rgba(255,255,255,.38); position: relative; }

.legal-hero h1 {
  color: white;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  letter-spacing: -.04em;
  max-width: 700px;
  position: relative;
}

.legal-hero .lead {
  color: rgba(255,255,255,.5);
  max-width: 560px;
  position: relative;
}

.legal-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.28);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 32px;
  position: relative;
}

.legal-date-tag::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: rgba(255,255,255,.28);
}

.legal-body {
  padding: clamp(64px, 8vw, 96px) 0;
}

.legal-wrap {
  max-width: 860px;
}

.legal-section {
  padding-bottom: 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 20px;
}

.legal-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  margin-bottom: 14px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-block {
  background: #f4f6f9;
  border-left: 3px solid var(--blue);
  padding: 22px 26px;
  margin: 22px 0;
}

.legal-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--blue);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.legal-block p {
  font-size: 14px;
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.legal-block p + p { margin-top: 6px; }

.legal-update {
  margin-top: clamp(48px, 6vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Creative logistics layer */
.instrument-shell-logistics {
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(218,229,238,.78)),
    radial-gradient(circle at 78% 28%, rgba(19,184,211,.2), transparent 18rem);
}

.instrument-shell-logistics::after,
.network-map::after,
.terminal-card::after,
.activity-visual::after,
.detail-rail-logistics::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.42) 42%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(17,21,27,.035) 0 1px, transparent 1px 11px);
  mix-blend-mode: multiply;
  opacity: .44;
}

.logistics-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.scene-skyline,
.panorama-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background:
    linear-gradient(180deg, rgba(18,58,90,.05), rgba(18,58,90,.12)),
    repeating-linear-gradient(0deg, rgba(18,58,90,.16) 0 1px, transparent 1px 13px);
}

.scene-crane,
.panorama-cranes i {
  position: absolute;
  width: 1px;
  height: 210px;
  bottom: 29%;
  background: rgba(17,21,27,.32);
}

.scene-crane::before,
.scene-crane::after,
.panorama-cranes i::before,
.panorama-cranes i::after {
  content: "";
  position: absolute;
  background: rgba(17,21,27,.34);
}

.scene-crane::before,
.panorama-cranes i::before {
  width: 138px;
  height: 1px;
  top: 18px;
  left: -8px;
  transform: rotate(-8deg);
}

.scene-crane::after,
.panorama-cranes i::after {
  width: 1px;
  height: 72px;
  top: 20px;
  right: -124px;
}

.scene-crane-a { left: 58%; }
.scene-crane-b { left: 75%; height: 170px; opacity: .64; }

.cargo-ship,
.panorama-ship {
  position: absolute;
  left: 8%;
  right: 13%;
  bottom: 21%;
  height: 106px;
  animation: vesselGlide 18s var(--ease) infinite;
}

.ship-hull {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  background: linear-gradient(90deg, var(--maritime), #182637);
  clip-path: polygon(0 0, 88% 0, 100% 42%, 95% 100%, 6% 100%);
  box-shadow: 0 16px 38px rgba(18,58,90,.18);
}

.ship-bridge {
  position: absolute;
  right: 12%;
  bottom: 72px;
  width: 64px;
  height: 34px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(154,165,177,.65);
}

.container-row {
  position: absolute;
  left: 6%;
  height: 19px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, var(--container-red), var(--safety), var(--harbor), var(--maritime));
  border: 1px solid rgba(17,21,27,.12);
}

.row-a { width: 62%; bottom: 37px; }
.row-b { width: 48%; bottom: 58px; left: 12%; opacity: .88; }
.row-c { width: 30%; bottom: 79px; left: 18%; opacity: .72; }

.terminal-truck,
.panorama-truck,
.rail-truck,
.yard-truck {
  position: absolute;
  height: 34px;
  background: transparent;
}

.terminal-truck {
  right: 8%;
  bottom: 12%;
  width: 174px;
  animation: truckInertia 12s var(--ease) infinite;
}

.truck-cab,
.terminal-truck::before,
.panorama-truck::before,
.rail-truck::before,
.yard-truck::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 30px;
  background: var(--ink);
  clip-path: polygon(0 20%, 70% 20%, 100% 56%, 100% 100%, 0 100%);
}

.truck-trailer,
.panorama-truck span,
.rail-truck b:first-child,
.yard-truck span {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 126px;
  height: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 16px),
    linear-gradient(90deg, var(--container-red), var(--safety));
  border: 1px solid rgba(17,21,27,.18);
}

.terminal-truck::after,
.panorama-truck::after,
.rail-truck::after,
.yard-truck::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 12px;
  bottom: -4px;
  height: 8px;
  background:
    radial-gradient(circle at 10% 50%, var(--ink) 0 4px, transparent 4px),
    radial-gradient(circle at 82% 50%, var(--ink) 0 4px, transparent 4px);
}

.operator-silhouette,
.worker {
  position: absolute;
  width: 18px;
  height: 42px;
  background: var(--ink);
  border-radius: 10px 10px 2px 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}

.operator-silhouette::before,
.worker::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--safety);
}

.operator-silhouette { left: 16%; bottom: 15%; opacity: .75; }
.scan-line {
  position: absolute;
  inset: 16% 12%;
  border-top: 1px solid rgba(19,184,211,.44);
  animation: scannerSweep 7s linear infinite;
}

.documentary-window {
  grid-column: 2;
  margin: 24px 0 0;
  min-height: 330px;
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(17,21,27,.96), rgba(18,58,90,.86)),
    var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-label,
.visual-tag,
.terminal-card-label {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.warehouse-scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(214,106,45,.18), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 60%);
}

.warehouse-roof {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 30%;
  height: 1px;
  background: rgba(255,255,255,.42);
}

.warehouse-door {
  position: absolute;
  right: 10%;
  bottom: 0;
  width: 28%;
  height: 54%;
  border: 1px solid rgba(255,255,255,.2);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px);
}

.pallet-stack,
.sealed-cartons,
.packaging-stack,
.crate-grid,
.steel-bundles,
.container-blocks,
.container-yard,
.rail-terminal {
  position: absolute;
  display: grid;
  gap: 8px;
}

.pallet-stack { grid-template-columns: repeat(3, 52px); bottom: 16%; left: 10%; }
.pallet-b { left: 34%; bottom: 24%; opacity: .72; }
.pallet-stack::before,
.pallet-stack::after,
.pallet-stack span,
.pallet-stack i,
.pallet-stack b {
  content: "";
}

.pallet-stack::before,
.pallet-stack::after {
  display: block;
  width: 52px;
  height: 32px;
  background: linear-gradient(135deg, var(--sand), #f1e2c8);
}

.forklift-mark {
  position: absolute;
  left: 58%;
  bottom: 15%;
  width: 86px;
  height: 42px;
  border-bottom: 8px solid var(--safety);
  border-left: 18px solid var(--safety);
}

.worker-a { left: 51%; bottom: 18%; }
.worker-b { left: 72%; bottom: 15%; opacity: .62; }

.vertical-tile {
  position: relative;
  overflow: hidden;
}

.vertical-tile::before {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(17,21,27,.08);
  opacity: .7;
  transition: transform .55s var(--ease), opacity .55s var(--ease);
}

.vertical-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, var(--tile-accent, rgba(20,92,255,.08)));
  opacity: .42;
  pointer-events: none;
}

.vertical-tile:hover::before { transform: translate(-8px, -8px) rotate(6deg); opacity: 1; }
.vertical-tile-hygiene { --tile-accent: rgba(19,184,211,.14); }
.vertical-tile-packaging { --tile-accent: rgba(214,106,45,.13); }
.vertical-tile-supply { --tile-accent: rgba(18,58,90,.13); }
.vertical-tile-fragrance { --tile-accent: rgba(15,118,110,.11); }
.vertical-tile-btp { --tile-accent: rgba(159,52,40,.12); }

.activity-visual {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(20,92,255,.12), transparent 14rem),
    radial-gradient(circle at 12% 80%, rgba(214,106,45,.08), transparent 12rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(218,229,238,.84));
}

.activity-visual .visual-tag {
  color: var(--ink);
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  padding: 8px 10px;
  width: auto;
  height: auto;
  animation: none;
  right: auto;
  bottom: auto;
}

.activity-visual > span:not(.visual-tag) { display: none; }

.shelf-system {
  position: absolute;
  inset: 28% 12% 22%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.shelf-system i,
.packaging-stack i,
.crate-grid i,
.container-yard i,
.rail-terminal i {
  min-height: 58px;
  border: 1px solid rgba(17,21,27,.1);
  background:
    repeating-linear-gradient(90deg, rgba(17,21,27,.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(218,229,238,.72));
  box-shadow: 0 10px 24px rgba(17,21,27,.055);
}

.sealed-cartons { right: 11%; bottom: 13%; grid-template-columns: repeat(3, 58px); }
.sealed-cartons b,
.container-blocks b,
.panorama-yard b {
  height: 42px;
  background: linear-gradient(135deg, #fff, var(--steel-blue));
  border: 1px solid rgba(17,21,27,.11);
}

.quality-beam,
.route-slice,
.yard-route {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: railFlow 6s linear infinite;
}

.quality-beam { top: 62%; }
.packaging-stack {
  left: 10%;
  right: 14%;
  top: 23%;
  grid-template-columns: repeat(3, 1fr);
}

.packaging-stack i:nth-child(2n) { background: linear-gradient(135deg, rgba(214,106,45,.18), #fff); }
.conveyor-line {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18%;
  height: 44px;
  border-block: 1px solid rgba(17,21,27,.14);
  background: repeating-linear-gradient(90deg, rgba(17,21,27,.12) 0 1px, transparent 1px 38px);
}

.conveyor-line b {
  position: absolute;
  top: 7px;
  width: 56px;
  height: 28px;
  background: var(--safety);
  opacity: .85;
  animation: containerPulse 8s var(--ease) infinite;
}
.conveyor-line b:nth-child(1) { left: 16%; }
.conveyor-line b:nth-child(2) { left: 48%; animation-delay: -2s; }
.conveyor-line b:nth-child(3) { left: 73%; animation-delay: -4s; background: var(--container-red); }

.dock-marker {
  position: absolute;
  right: 10%;
  top: 20%;
  width: 1px;
  height: 58%;
  background: linear-gradient(var(--safety), transparent);
}

.crate-grid {
  inset: 24% 12% 24%;
  grid-template-columns: repeat(3, 1fr);
}

.crate-grid i:nth-child(3n) { background: linear-gradient(135deg, rgba(15,118,110,.16), #fff); }
.route-slice { bottom: 18%; }
.operator-compact { right: 13%; bottom: 20%; opacity: .7; }

.fragrance-vials {
  position: absolute;
  left: 18%;
  bottom: 18%;
  display: flex;
  align-items: end;
  gap: 18px;
}

.fragrance-vials i {
  width: 48px;
  height: 124px;
  border: 1px solid rgba(17,21,27,.13);
  border-radius: 22px 22px 8px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(15,118,110,.1));
}

.fragrance-vials i:nth-child(2) { height: 158px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(214,106,45,.12)); }
.premium-case {
  position: absolute;
  right: 12%;
  bottom: 18%;
  width: 140px;
  height: 96px;
  border: 1px solid rgba(17,21,27,.12);
  background: rgba(17,21,27,.92);
}

.soft-orbit {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(15,118,110,.18);
  border-radius: 50%;
  animation: slowOrbit 18s linear infinite;
}

.steel-bundles { left: 11%; right: 14%; top: 22%; }
.steel-bundles i {
  height: 22px;
  border: 1px solid rgba(17,21,27,.1);
  background: linear-gradient(90deg, #c8d3dc, #fff, #aebbc8);
}

.container-blocks { right: 13%; bottom: 15%; grid-template-columns: repeat(3, 58px); }
.container-blocks b:nth-child(2) { background: var(--container-red); }
.site-loader {
  position: absolute;
  left: 13%;
  bottom: 14%;
  width: 100px;
  height: 48px;
  border-bottom: 10px solid var(--safety);
  border-left: 22px solid var(--safety);
  transform: skewX(-12deg);
}

.solution-card {
  position: relative;
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), background .55s var(--ease);
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maritime), var(--cyan), var(--safety));
  transform: scaleX(.16);
  transform-origin: left;
  opacity: .72;
  transition: transform .55s var(--ease);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.solution-card:hover::after { transform: scaleX(1); }

.ops-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}

.ops-node {
  min-width: 140px;
  padding: 20px;
  position: relative;
}

.ops-node span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.ops-node b {
  display: block;
  margin-top: 14px;
  height: 36px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 14px),
    var(--maritime);
}

.ops-node-port b { background: var(--safety); }
.ops-node-market b { background: var(--signal); }

.ops-track {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  position: relative;
}

.ops-track i {
  position: absolute;
  top: -12px;
  width: 34px;
  height: 22px;
  background: var(--container-red);
  animation: flowParcel 9s linear infinite;
}
.ops-track i:nth-child(2) { animation-delay: -3s; background: var(--safety); }
.ops-track i:nth-child(3) { animation-delay: -6s; background: var(--harbor); }

.detail-rail-logistics {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(218,229,238,.74)),
    radial-gradient(circle at 80% 20%, rgba(214,106,45,.12), transparent 14rem);
}

.rail-terminal {
  inset: 20% 12% 36%;
  grid-template-columns: repeat(3, 1fr);
}

.rail-truck {
  right: 14%;
  bottom: 16%;
  width: 170px;
  animation: truckInertia 11s var(--ease) infinite;
}

.rail-operator {
  position: absolute;
  left: 18%;
  bottom: 18%;
  width: 20px;
  height: 48px;
  background: var(--ink);
}

.rail-operator::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--safety);
}

.network-hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(243,245,247,.86)),
    radial-gradient(circle at 75% 40%, rgba(18,58,90,.16), transparent 28rem);
}

.terminal-panorama {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  opacity: .95;
}

.terminal-panorama::before {
  content: "";
  position: absolute;
  inset: -20% 0 0;
  background: linear-gradient(180deg, transparent, rgba(18,58,90,.08));
}

.panorama-ship {
  left: 8%;
  right: 40%;
  bottom: 24%;
  height: 118px;
}

.panorama-cranes i:nth-child(1) { left: 42%; bottom: 28%; }
.panorama-cranes i:nth-child(2) { left: 55%; bottom: 25%; height: 190px; opacity: .72; }
.panorama-cranes i:nth-child(3) { left: 67%; bottom: 24%; height: 160px; opacity: .55; }

.panorama-yard {
  position: absolute;
  right: 6%;
  bottom: 16%;
  display: grid;
  grid-template-columns: repeat(5, 74px);
  gap: 8px;
}

.panorama-yard b:nth-child(2),
.panorama-yard b:nth-child(5) { background: var(--safety); }
.panorama-yard b:nth-child(3) { background: var(--container-red); }

.panorama-truck {
  right: 20%;
  bottom: 7%;
  width: 186px;
  animation: truckInertia 14s var(--ease) infinite;
}

.worker-hero { right: 12%; bottom: 18%; opacity: .72; }

.network-intel {
  position: absolute;
  inset: 34px 34px auto auto;
  display: grid;
  gap: 8px;
}

.network-intel span {
  padding: 9px 12px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(17,21,27,.07);
}

.terminal-moment {
  background: linear-gradient(180deg, var(--paper), white);
}

.terminal-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.terminal-card {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 25%, rgba(214,106,45,.13), transparent 16rem),
    linear-gradient(135deg, #fff, #edf2f6);
  box-shadow: var(--shadow);
}

.terminal-card-label { color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid var(--line); padding: 8px 10px; }

.container-yard {
  left: 10%;
  right: 10%;
  top: 22%;
  grid-template-columns: repeat(4, 1fr);
}

.container-yard i:nth-child(2),
.container-yard i:nth-child(7) { background: var(--safety); }
.container-yard i:nth-child(3),
.container-yard i:nth-child(6) { background: var(--container-red); }
.container-yard i:nth-child(5) { background: var(--harbor); }

.yard-route {
  bottom: 30%;
  left: 12%;
  right: 12%;
}

.yard-truck {
  right: 12%;
  bottom: 16%;
  width: 190px;
  animation: truckInertia 12s var(--ease) infinite;
}

.worker-yard { left: 14%; bottom: 19%; }

.corridor-cargo i {
  position: absolute;
  left: -12%;
  width: 230px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 19px),
    linear-gradient(90deg, rgba(159,52,40,.48), rgba(214,106,45,.42));
  animation: moduleDrift 18s linear infinite;
}

.corridor-cargo i:nth-child(1) { top: 18%; }
.corridor-cargo i:nth-child(2) { top: 38%; animation-delay: -5s; background-color: rgba(18,58,90,.35); }
.corridor-cargo i:nth-child(3) { top: 62%; animation-delay: -10s; }
.corridor-cargo i:nth-child(4) { top: 79%; animation-delay: -14s; background-color: rgba(15,118,110,.35); }

/* Animations */
@keyframes fieldFlow {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(290%); opacity: 0; }
}

@keyframes dash {
  to { stroke-dashoffset: -260; }
}

@keyframes inertialFloat {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(14px,-12px,0); }
}

@keyframes moduleFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(24px); }
}

@keyframes moduleDrift {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  86% { opacity: 1; }
  100% { transform: translateX(120vw); opacity: 0; }
}

@keyframes railFlow {
  from { transform: translateX(-35%); opacity: .2; }
  50% { opacity: 1; }
  to { transform: translateX(35%); opacity: .2; }
}

@keyframes corridorMove {
  from { opacity: 0; transform: translate(-50%, -50%) rotateX(62deg) translateY(var(--y)) translateZ(-180px); }
  20% { opacity: .55; }
  to { opacity: 0; transform: translate(-50%, -50%) rotateX(62deg) translateY(calc(var(--y) + 170px)) translateZ(180px); }
}

@keyframes vesselGlide {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(18px,-3px,0); }
}

@keyframes truckInertia {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(-26px); }
  65% { transform: translateX(-20px); }
}

@keyframes scannerSweep {
  from { transform: translateY(-30%); opacity: 0; }
  20% { opacity: .9; }
  to { transform: translateY(130%); opacity: 0; }
}

@keyframes containerPulse {
  0%, 100% { transform: translateX(0); opacity: .68; }
  50% { transform: translateX(18px); opacity: 1; }
}

@keyframes slowOrbit {
  to { transform: rotate(360deg); }
}

@keyframes flowParcel {
  from { left: 0; opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  to { left: calc(100% - 34px); opacity: 0; }
}

/* Responsive */
@media (max-width: 1120px) {
  .main-nav,
  .header-cta,
  .lang-select { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    justify-self: end;
  }
  .menu-toggle span { margin: 0; }
  .hero-layout,
  .page-hero-grid,
  .contact-hero-grid,
  .model-grid,
  .why-layout,
  .detail-layout,
  .flow-system-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .band-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .vertical-strip { grid-template-columns: repeat(2, 1fr); }
  .vertical-tile:last-child { grid-column: span 2; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid,
  .mission-grid { grid-template-columns: 1fr; }
  .activity-layout,
  .activity-layout-reverse { grid-template-columns: 1fr; }
  .activity-layout-reverse .activity-copy,
  .activity-layout-reverse .activity-visual { grid-column: auto; grid-row: auto; }
  .terminal-grid { grid-template-columns: 1fr; }
  .documentary-window { grid-column: 1; }
  .terminal-panorama { opacity: .72; }
  .panorama-yard { grid-template-columns: repeat(3, 64px); }
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE PREMIUM — 760px
   Expérience mobile pensée comme un produit à part entière.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {

  /* ── Variables ─────────────────────────────────────────── */
  :root { --header: 64px; }

  /* ── Base & container ──────────────────────────────────── */
  .container { width: min(calc(100% - 40px), var(--container)); }

  /* Prevent 300ms tap delay */
  a, button, [role="button"], input, select, textarea { touch-action: manipulation; }

  /* ── Header ────────────────────────────────────────────── */
  /* 2 colonnes seulement sur mobile : logo | [toggle right-aligned] */
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 0;
    padding: 0 14px 0 20px;
  }
  .menu-toggle { justify-self: end; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy strong { font-size: 12.5px; letter-spacing: .09em; }
  .brand-copy small { font-size: 7.5px; letter-spacing: .3em; }

  /* ── Overflow horizontal — protection globale ───────────── */
  html { overflow-x: clip; }

  /* ── Menu toggle — burger élégant ───────────────────────── */
  .menu-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(17,21,27,.14);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: border-color .3s var(--ease), background .3s var(--ease);
  }
  .menu-toggle span {
    width: 18px;
    height: 1.5px;
    margin: 0;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .32s var(--ease), opacity .2s var(--ease), background .25s var(--ease);
  }
  /* X quand ouvert — 2 spans, gap 5px, chaque span centré à ±3.25px */
  .menu-toggle.is-open span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .menu-toggle.is-open span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  /* Header s'assombrit quand le panel est ouvert */
  body.is-locked .site-header {
    background: var(--ink);
    border-bottom-color: rgba(255,255,255,.08);
    backdrop-filter: none;
  }
  body.is-locked .brand-copy strong { color: white; }
  body.is-locked .brand-copy small  { color: rgba(255,255,255,.3); }
  body.is-locked .menu-toggle {
    border-color: rgba(255,255,255,.18);
  }
  body.is-locked .menu-toggle span {
    background: white;
  }

  /* ── Mobile panel — plein écran, slide droit sans overflow ─ */
  /*    clip-path ne crée pas de débordement horizontal         */
  .mobile-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: var(--ink);
    padding: 0;
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    transition: opacity .38s var(--ease), clip-path .4s cubic-bezier(.76, 0, .24, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .mobile-panel.is-open {
    opacity: 1;
    clip-path: inset(0 0 0 0%);
  }

  .mobile-panel nav {
    gap: 0;
    padding: calc(var(--header) + 40px) 36px 0;
  }

  .mobile-panel nav a {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: clamp(2.4rem, 10vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.055em;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: color .22s var(--ease), padding-left .22s var(--ease);
  }

  .mobile-panel nav a:hover,
  .mobile-panel nav a:active {
    color: white;
    padding-left: 8px;
  }

  /* Footer du panel */
  .mobile-panel-footer {
    padding: 24px 32px 48px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Ghost button panel — remplace le btn-light standard */
  .mobile-panel-footer .btn {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    color: white !important;
    backdrop-filter: none !important;
    min-height: 50px !important;
    max-height: 50px !important;
    padding: 0 20px !important;
    font-size: 10.5px !important;
    letter-spacing: .2em !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background .25s var(--ease), border-color .25s var(--ease) !important;
  }
  .mobile-panel-footer .btn::after {
    display: none !important; /* Retire la flèche → qui fait déborder */
  }
  .mobile-panel-footer .btn:hover,
  .mobile-panel-footer .btn:active {
    background: rgba(255,255,255,.16) !important;
    border-color: rgba(255,255,255,.4) !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .mp-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .mp-contact small {
    color: rgba(255,255,255,.25);
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-body);
    display: block;
  }

  .mp-contact a {
    color: rgba(255,255,255,.45) !important;
    font-family: var(--font-body) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
    display: inline !important;
    font-size: 13.5px !important;
    transition: color .22s var(--ease) !important;
  }

  .mp-contact a:hover { color: white !important; }

  /* ── Typographie mobile ─────────────────────────────────── */
  /* 8vw@430px = 34.4px → "commerciaux" (le mot le + large) = 383px < 390px conteneur */
  h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
    letter-spacing: -.05em;
    line-height: 1.06;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.8rem);
    letter-spacing: -.04em;
    line-height: 1.12;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  h3 { font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
  .eyebrow { font-size: 9px; letter-spacing: .18em; }
  .lead { font-size: 14.5px; line-height: 1.65; }

  /* ── Hero accueil ───────────────────────────────────────── */
  .hero-layout {
    grid-template-columns: 1fr;
    padding: clamp(88px, 22vw, 120px) 0 clamp(52px, 12vw, 72px);
    gap: 40px;
    min-height: auto;
  }
  /* min-width: 0 = fix CSS Grid — empêche le contenu de gonfler la colonne 1fr */
  .hero-copy,
  .hero-copy * { min-width: 0; }
  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
    max-width: none;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  .hero-actions .btn { width: 100%; }
  .hero-copy .lead { max-width: none; }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-instrument { display: none; }
  .hero-column-marker { display: none; }
  .instrument-shell { width: 100%; }

  /* ── Héros de page intérieure ──────────────────────────── */
  .page-hero,
  .contact-hero { min-height: auto; }

  .page-hero-grid,
  .contact-hero-grid {
    grid-template-columns: 1fr;
    padding: clamp(88px, 20vw, 116px) 0 clamp(44px, 10vw, 64px);
    gap: 28px;
  }

  .page-hero h1,
  .contact-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    max-width: none;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .page-lead {
    max-width: none;
    font-size: 15px;
    padding: 16px 18px;
    justify-self: start;
  }

  .contact-note {
    border-left: 2px solid rgba(20,92,255,.4);
    padding: 16px 20px;
    background: rgba(20,92,255,.03);
  }

  /* ── Sections — rythme et spacing ──────────────────────── */
  .section        { padding: clamp(60px, 14vw, 80px) 0; }
  .section-dense  { padding: clamp(40px, 10vw, 60px) 0; }
  .section-airy   { padding: clamp(72px, 16vw, 96px) 0; }

  /* ── Grids collapse ─────────────────────────────────────── */
  .split-intro,
  .editorial-grid,
  .method-row,
  .service-line,
  .model-grid,
  .why-layout,
  .detail-layout,
  .flow-system-grid,
  .contact-layout,
  .values-grid,
  .mission-grid { grid-template-columns: 1fr; }

  /* min-width: 0 sur tous les grid items — fix CSS Grid fr sizing */
  .hero-layout > *,
  .page-hero-grid > *,
  .contact-hero-grid > *,
  .model-grid > *,
  .why-layout > *,
  .band-layout > *,
  .contact-layout > *,
  .editorial-grid > * { min-width: 0; }

  /* ── Expertise band ─────────────────────────────────────── */
  .band-layout { grid-template-columns: 1fr; gap: 22px; }
  .band-layout h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .band-layout .text-link { align-self: flex-start; }

  /* ── Vertical tiles ─────────────────────────────────────── */
  .vertical-strip { grid-template-columns: 1fr; }
  .vertical-tile { min-height: 200px; }
  .vertical-tile:last-child { grid-column: auto; }

  /* ── Solution grid ──────────────────────────────────────── */
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card-large,
  .solution-card-wide { grid-column: auto; }

  /* ── Proof / principle cards (numbered lists) ───────────── */
  .proof-card,
  .principle-card,
  .flow-step,
  .process-board article {
    grid-template-columns: 44px 1fr;
    gap: 0 14px;
  }

  /* ── Stat bar ───────────────────────────────────────────── */
  .stat-bar-track { grid-template-columns: repeat(2, 1fr); }
  .stat-item-number { font-size: clamp(2.6rem, 11vw, 3.8rem); }

  /* ── Activities ─────────────────────────────────────────── */
  .activity-layout,
  .activity-layout-reverse { grid-template-columns: 1fr; }
  .activity-layout-reverse .activity-copy,
  .activity-layout-reverse .activity-visual { grid-column: auto; grid-row: auto; }
  .activity-number { font-size: 3.5rem; }
  .activity-visual { min-height: 260px; }

  /* ── Terminal / panorama ────────────────────────────────── */
  .terminal-grid { grid-template-columns: 1fr; }
  .documentary-window { grid-column: 1; min-height: 300px; }
  .terminal-card { min-height: 300px; }
  .terminal-panorama { opacity: .72; }
  .panorama-yard { right: 4%; grid-template-columns: repeat(2, 52px); }
  .panorama-ship { right: 8%; bottom: 24%; }
  .network-intel, .panorama-cranes, .worker-hero { display: none; }

  /* ── Ops strip ──────────────────────────────────────────── */
  .ops-strip { grid-template-columns: 1fr; }
  .ops-track { min-height: 44px; transform: rotate(90deg); width: 44px; justify-self: center; }

  /* ── Network / map ──────────────────────────────────────── */
  .map-caption { display: none; }
  .container-yard,
  .rail-terminal { grid-template-columns: repeat(2, 1fr); }
  .cargo-ship { left: 5%; right: 5%; }

  /* ── Transition cinema ──────────────────────────────────── */
  .transition-cinema { padding: 64px 0; }

  /* ── Prefooter ──────────────────────────────────────────── */
  .prefooter-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .prefooter-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .prefooter-note { max-width: none; }
  /* Surcharge nécessaire — spécificité plus haute que h2 {} global */
  .prefooter-box h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.6rem);
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* ── Boutons — touch targets ────────────────────────────── */
  .btn { min-height: 52px; padding: 15px 24px; font-size: 10.5px; }
  .btn-dark::after, .btn-light::after { display: none; }

  /* ── Formulaire mobile ──────────────────────────────────── */
  .form-grid { grid-template-columns: 1fr; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 16px;
    font-size: 16px;   /* empêche le zoom iOS */
    min-height: 52px;
    border-radius: 0;
  }
  .contact-form select {
    padding-right: 44px;
    background-position: right 16px center;
  }
  .contact-form label {
    font-size: 11px;
    gap: 10px;
  }
  .form-panel { padding: clamp(24px, 6vw, 36px); }
  .form-success,
  .form-error { padding: 28px 24px; }

  /* ── Section carte ──────────────────────────────────────── */
  /* Le shorthand .section { padding: ... 0 } réinitialise le padding-bottom.
     On le reforce ici pour coller la map au footer sans écart. */
  .map-section { padding-bottom: 0; }
  .map-section-head { margin-bottom: 28px; }
  .map-address-block { padding: 14px 18px; font-size: 14px; }
  .map-embed-wrap.map-fullwidth { margin-top: 32px; margin-bottom: 0; }

  /* ── Detail stack ───────────────────────────────────────── */
  .detail-stack article { padding: 16px 0; }
  .detail-stack span { font-size: 9px; }

  /* ── Footer mobile ──────────────────────────────────────── */
  .footer-inner { padding: clamp(52px, 12vw, 72px) 0 clamp(40px, 9vw, 56px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .footer-col-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: none; font-size: 13px; }
  .footer-bar-inner { flex-wrap: wrap; gap: 14px; }
  .footer-bar-links { flex-wrap: wrap; gap: 14px; }
  .back-top { margin-left: auto; }

  /* ── Pages légales ──────────────────────────────────────── */
  .legal-hero { padding: clamp(80px, 18vw, 120px) 0 clamp(36px, 8vw, 56px); }
  .legal-hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); max-width: none; }
  .legal-wrap { max-width: none; }
  .legal-section { padding-bottom: 40px; margin-bottom: 40px; }
  .legal-block { padding: 16px 20px; }
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE PREMIUM — 480px (petits écrans)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stat-bar-track { grid-template-columns: 1fr 1fr; }
  .panorama-yard { display: none; }
  .solution-grid { grid-template-columns: 1fr; }
  /* Pas de surcharge h1 ici — le 760px applique déjà clamp(2.4rem,10vw,3.6rem) */
  .mobile-panel nav a { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* ══════════════════════════════════════
   Language Selector
   ══════════════════════════════════════ */
.lang-select {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 8px;
  border: 1px solid rgba(17,21,27,.14);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--ink);
  transition: border-color .18s, background .18s;
  white-space: nowrap;
}

.lang-btn:hover {
  border-color: rgba(17,21,27,.3);
  background: rgba(17,21,27,.04);
}

.lang-btn svg { flex-shrink: 0; }

.lang-btn .lang-chevron {
  transition: transform .2s;
  opacity: .5;
}

.lang-select.is-open .lang-btn .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 500;
  min-width: 148px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(17,21,27,.1);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(17,21,27,.12), 0 2px 8px rgba(17,21,27,.06);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}

.lang-select.is-open .lang-dropdown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink);
  text-decoration: none;
  transition: background .14s;
}

.lang-dropdown a:hover { background: rgba(17,21,27,.05); }

.lang-dropdown a.is-active {
  background: rgba(20,92,255,.07);
  color: var(--blue);
}

.lang-dropdown a .lang-code {
  font-size: 9px;
  letter-spacing: .14em;
  opacity: .45;
  font-weight: 500;
}

/* Hide lang selector in header on mobile/tablet — accessible via mobile panel */
@media (max-width: 1120px) {
  .lang-select { display: none !important; }
}

/* Mobile lang selector in panel — premium grid */
/* Lives inside .mobile-panel-footer which already provides 32px horizontal padding */
.mobile-lang-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 8px;
}

/* Label "Langue" above grid via pseudo-element */
.mobile-lang-row::before {
  content: 'LANGUE';
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
  color: rgba(255,255,255,.3);
  margin-bottom: 4px;
}

.mobile-lang-row a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .03em;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: border-color .18s, background .18s, color .18s;
  position: relative;
}

.mobile-lang-row a:hover {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
}

.mobile-lang-row a.is-active {
  border-color: rgba(20,92,255,.6);
  background: rgba(20,92,255,.14);
  color: #fff;
  font-weight: 700;
}

/* Dot indicator for active */
.mobile-lang-row a.is-active::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue, #145cff);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(20,92,255,.7);
}

.mobile-lang-row a:not(.is-active)::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ── Legal pages ──────────────────────────────────────────── */
.legal-updated {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(17,21,27,.38);
  letter-spacing: .04em;
}

.legal-body-text { font-size: 15px; line-height: 1.75; color: rgba(17,21,27,.78); }
.legal-body-text p { margin: 0 0 14px; }
.legal-body-text ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body-text li { margin-bottom: 6px; }
.legal-body-text a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-body-text strong { font-weight: 600; color: var(--ink); }
.legal-body-text em { font-style: italic; color: rgba(17,21,27,.55); }
.legal-body-text code { font-family: monospace; background: rgba(17,21,27,.06); padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* Legal tables (RGPD, cookies) */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 13px;
}
.legal-table th {
  background: rgba(17,21,27,.05);
  font-weight: 600;
  color: var(--ink);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid rgba(17,21,27,.1);
}
.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(17,21,27,.07);
  vertical-align: top;
  line-height: 1.55;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:hover td { background: rgba(17,21,27,.02); }

@media (max-width: 760px) {
  .legal-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .legal-table th, .legal-table td { padding: 8px 10px; font-size: 12px; }
}

.mobile-lang-row .ml-code {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 700;
  color: rgba(255,255,255,.25);
  font-family: var(--font-display);
}

.mobile-lang-row a.is-active .ml-code {
  color: var(--blue, #145cff);
}

/* ══════════════════════════════════════
   Page Loader
   ══════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--mineral, #f4f2ee);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .55s cubic-bezier(.4,0,.2,1), visibility .55s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: loaderEnter .5s cubic-bezier(.16,1,.3,1) .05s both;
}

@keyframes loaderEnter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.loader-mark {
  width: 52px;
  height: 52px;
}

.loader-mark svg { width: 100%; height: 100%; }

.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.loader-brand-main {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: .12em;
  color: var(--ink, #11151b);
  line-height: 1;
}

.loader-brand-sub {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-weight: 400;
  font-size: 8.5px;
  letter-spacing: .55em;
  color: rgba(17,21,27,.38);
  text-transform: uppercase;
  line-height: 1;
}

.loader-bar {
  width: 110px;
  height: 1px;
  background: rgba(17,21,27,.12);
  overflow: hidden;
  border-radius: 1px;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--blue, #145cff);
  border-radius: 1px;
  animation: loaderProgress 1.4s cubic-bezier(.4,0,.2,1) .15s forwards;
}

@keyframes loaderProgress {
  0%   { width: 0%; }
  60%  { width: 75%; }
  85%  { width: 88%; }
  100% { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   COOKIE CONSENT — Premium dark glassmorphism theme
   (vanilla-cookieconsent v3 overrides)
   ============================================================ */

#cc-main {
  --cc-font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  --cc-modal-border-radius: 16px;
  --cc-btn-border-radius: 8px;
  --cc-modal-transition-duration: 0.3s;

  /* Colors */
  --cc-bg: rgba(10, 12, 18, 0.92);
  --cc-primary-color: #d4e4ff;
  --cc-secondary-color: #7a9acc;
  --cc-btn-primary-bg: #145cff;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-hover-bg: #2b6fff;
  --cc-btn-secondary-bg: rgba(255,255,255,0.06);
  --cc-btn-secondary-color: #d4e4ff;
  --cc-btn-secondary-hover-bg: rgba(255,255,255,0.12);
  --cc-separator-border-color: rgba(255,255,255,0.06);
  --cc-toggle-on-bg: #145cff;
  --cc-toggle-off-bg: rgba(255,255,255,0.12);
  --cc-toggle-readonly-bg: rgba(20, 92, 255, 0.35);
  --cc-overlay-bg: rgba(0,0,0,0.55);
  --cc-cookie-category-block-bg: rgba(255,255,255,0.03);
  --cc-cookie-category-block-border: rgba(255,255,255,0.06);
  --cc-cookie-category-block-hover-bg: rgba(255,255,255,0.06);
  --cc-cookie-table-border: rgba(255,255,255,0.06);
  --cc-section-category-border: rgba(255,255,255,0.06);
  --cc-link-color: #4d8aff;
  --cc-link-hover-color: #6fa3ff;
}

/* Consent modal — glassmorphism box */
#cc-main .cm {
  background: rgba(10, 12, 20, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(20, 92, 255, 0.12),
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(20, 92, 255, 0.06) inset;
}

/* Header title accent */
#cc-main .cm__title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #fff;
  position: relative;
}

#cc-main .cm__title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #145cff;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(20, 92, 255, 0.8);
  position: relative;
  top: -1px;
}

#cc-main .cm__desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(212, 228, 255, 0.72);
}

/* Buttons */
#cc-main .cm__btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

#cc-main .cm__btn--primary {
  background: linear-gradient(135deg, #145cff 0%, #2b6fff 100%);
  border: none;
  box-shadow: 0 4px 16px rgba(20, 92, 255, 0.35);
}

#cc-main .cm__btn--primary:hover {
  box-shadow: 0 6px 24px rgba(20, 92, 255, 0.55);
  transform: translateY(-1px);
}

#cc-main .cm__btn--secondary {
  border: 1px solid rgba(255,255,255,0.1);
}

#cc-main .cm__btn--secondary:hover {
  border-color: rgba(20, 92, 255, 0.4);
}

/* Preferences modal */
#cc-main .pm {
  background: rgba(8, 10, 18, 0.96);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: -16px 0 64px rgba(0, 0, 0, 0.5);
}

#cc-main .pm__title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.02em;
}

#cc-main .pm__section--toggle .pm__section-title {
  font-weight: 600;
  color: #d4e4ff;
  font-size: 0.9rem;
}

#cc-main .pm__section-desc {
  font-size: 0.82rem;
  color: rgba(212, 228, 255, 0.6);
  line-height: 1.6;
}

/* Toggle */
#cc-main .pm__toggle-service input:checked + .pm__toggle-btn-ui {
  background: var(--cc-toggle-on-bg);
  box-shadow: 0 0 8px rgba(20, 92, 255, 0.5);
}

/* Links inside modals */
#cc-main .cc__link {
  color: #4d8aff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

#cc-main .cc__link:hover {
  color: #6fa3ff;
}

/* Mobile */
@media (max-width: 480px) {
  #cc-main .cm {
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }
  #cc-main .cm__title {
    font-size: 0.95rem;
  }
}


/* ============================================================
   NEW PAGES — Devis, FAQ, Secteurs, Réseau enrichi, Société enrichi
   ============================================================ */

/* ── Header Devis CTA ───────────────────────────────────────── */
.header-cta-devis {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s;
}
.header-cta-devis:hover {
  background: #2b6fff;
  box-shadow: 0 0 20px rgba(20, 92, 255, 0.35);
  color: #fff;
}
.nav-devis-link {
  color: var(--accent) !important;
  font-weight: 700;
  border: 1px solid rgba(20,92,255,.35);
  border-radius: 6px;
  padding: 0.3rem 0.75rem !important;
  margin-top: 0.25rem;
}

/* ── Secteurs ───────────────────────────────────────────────── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.sector-card {
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.sector-card:hover { border-color: rgba(20,92,255,.35); background: rgba(20,92,255,.04); }
.sector-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.45;
  min-width: 2.5rem;
  line-height: 1;
}
.sector-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.sector-body p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.4rem; }
.sector-needs { font-size: 0.8rem !important; color: var(--text-dim); font-style: italic; }
.sector-cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.sector-cta:hover { opacity: 0.7; }
.sectors-open-box {
  background: rgba(20,92,255,.06);
  border: 1px solid rgba(20,92,255,.2);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
}
.sectors-open-box h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.sectors-open-box p { color: var(--text-dim); margin-bottom: 1.5rem; }

/* ── Devis / RFQ ────────────────────────────────────────────── */
.devis-section { padding-top: 2rem; }
.devis-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
.devis-form-col h2 { margin-bottom: 2rem; }
.devis-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.devis-form .form-section {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  border: none;
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
  margin-bottom: 0;
}
.devis-form .form-section legend {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0;
  margin-bottom: 0.25rem;
  width: 100%;
}
.devis-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.devis-form .form-group label {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.devis-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.25rem;
}
.form-section {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 2rem 0 1rem;
  margin-bottom: 0.5rem;
}
.form-section legend {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0 0.5rem 0 0;
  margin-bottom: 1.25rem;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit-row { margin-top: 1.5rem; }
.btn-lg { padding: 0.9rem 2.5rem; font-size: 0.9rem; }
.assurance-block {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}
.assurance-item { display: flex; flex-direction: column; gap: 0.35rem; }
.assurance-icon { font-size: 1.5rem; }
.assurance-item strong { font-size: 0.9rem; }
.assurance-item p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-container { display: flex; flex-direction: column; gap: 3rem; }
.faq-cat-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.faq-items { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.25rem; }
.faq-a p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; }
.faq-cta-box {
  text-align: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 3rem;
}
.faq-cta-box h2 { margin-bottom: 0.75rem; }
.faq-cta-box p { color: var(--text-dim); margin-bottom: 1.5rem; }

/* ── Réseau - Geo sections ──────────────────────────────────── */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.geo-zone {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.geo-zone:hover { border-color: rgba(20,92,255,.3); background: rgba(20,92,255,.04); }
.geo-flag { display: block; font-size: 1.75rem; margin-bottom: 0.75rem; }
.geo-zone strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; }
.geo-zone p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }
.section-lead { font-size: 1rem; color: var(--text-dim); max-width: 620px; margin: 0.75rem 0 0; }
.cdg-block {
  background: rgba(20,92,255,.05);
  border: 1px solid rgba(20,92,255,.18);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.cdg-text h2 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-top: 0.5rem; line-height: 1.4; }
.cdg-args { display: flex; flex-direction: column; gap: 1rem; }
.cdg-arg {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(0,0,0,.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.cdg-icon { font-size: 1.25rem; margin-top: 0.1rem; flex-shrink: 0; }
.cdg-arg strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.25rem; }
.cdg-arg p { font-size: 0.8rem; color: var(--text-dim); margin: 0; }

/* ── Société - Location & Partners ─────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.location-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.location-stat {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 1.25rem;
}
.ls-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.ls-label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.2rem; }
.ls-detail { font-size: 0.75rem; color: var(--text-dim); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.partner-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.partner-card:hover { border-color: rgba(20,92,255,.3); }
.partner-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.partner-card p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }

/* ── Solutions - Process & Incoterms ───────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.process-step {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
}
.ps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.ps-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
}
.ps-delay {
  font-size: 0.7rem;
  background: rgba(20,92,255,.15);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}
.process-step h3 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }
.incoterms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.incoterm-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.incoterm-card:hover { border-color: rgba(20,92,255,.35); }
.inco-code {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.incoterm-card strong { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; }
.incoterm-card p { font-size: 0.8rem; color: var(--text-dim); margin: 0; }
.incoterms-payment {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.03);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}
.section-intro { font-size: 0.95rem; color: var(--text-dim); max-width: 700px; margin-top: 0.75rem; }

/* ── Activités - subcats & CTA ──────────────────────────────── */
.activity-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 1rem 0 0.75rem;
  padding: 0;
}
.activity-subcats li {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  color: var(--text-dim);
}
.activity-circuits {
  font-size: 0.8rem !important;
  color: var(--text-dim);
  margin-bottom: 0.5rem !important;
}
.activity-rfq-cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.activity-rfq-cta:hover { opacity: 0.7; }

/* btn-primary */
.btn-primary {
  background: var(--accent, var(--blue));
  color: #fff;
  border-color: var(--accent, var(--blue));
  box-shadow: 0 0 18px rgba(20, 92, 255, .3);
}
.btn-primary:hover {
  background: #2b6fff;
  border-color: #2b6fff;
  box-shadow: 0 0 28px rgba(20, 92, 255, .45);
}

/* ── Mobile responsive ──────────────────────────────────────── */
@media (max-width: 1120px) {
  .devis-layout { grid-template-columns: 1fr; }
  .assurance-block { position: static; flex-direction: row; flex-wrap: wrap; }
  .cdg-block { grid-template-columns: 1fr; gap: 2rem; }
  .location-grid { grid-template-columns: 1fr; gap: 2rem; }
  .header-cta-devis { display: none; }
}
@media (max-width: 760px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .incoterms-grid { grid-template-columns: repeat(2, 1fr); }
  .location-stats { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .incoterms-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: 1fr; }
  .assurance-block { flex-direction: column; }
  .devis-layout { gap: 2rem; }
  .cdg-block { padding: 1.5rem; }
}
