/* Gestion industrielle M.E.J. inc. — site v3.
   Industrial soft-structuralism: steel white, massive variable-width Archivo, IBM Plex Mono spec labels, one red
   (#ED362F, the logo's). The page has three chapters — light, dark, red — and the whole background morphs between
   them as you scroll (html[data-theme]), instead of hard-cut section colours. */

@font-face { font-family: 'Archivo'; src: url('../assets/fonts/Archivo-VF.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../assets/fonts/PlexMono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../assets/fonts/PlexMono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --red: #ED362F;
  --ink: #0B0B0C;
  --paper: #FFFFFF;
  /* themed tokens (light chapter) */
  --bg: #FFFFFF;
  --fg: #0B0B0C;
  --muted: #6A6A6E;
  --faint: #C9C9CC;
  --line: rgba(11, 11, 12, .1);
  --surface: #F4F4F2;
  --shell: rgba(11, 11, 12, .045);
  --accent: var(--red);
  --on-accent: #FFFFFF;

  --display: 'Archivo', 'Helvetica Neue', system-ui, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: clamp(20px, 5.5vw, 112px);
  --max: 1680px;
  --r-out: 28px;
  --r-in: 22px;
  --spring: cubic-bezier(.32, .72, 0, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --slope: 0.4348; /* tan 23.5°: the logo's diagonal */
  --skew: 0deg;
  --z-cursor: 70; --z-intro: 80; --z-nav: 50; --z-menu: 49; --z-grain: 60; --z-bar: 48;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0B0B0C; --fg: #F2F2EF; --muted: #8C8C90; --faint: #3A3A3E; --line: rgba(255,255,255,.12);
  --surface: #151517; --shell: rgba(255,255,255,.05); --accent: var(--red); --on-accent: #FFFFFF;
  color-scheme: dark;
}
html[data-theme="red"] {
  --bg: #ED362F; --fg: #FFFFFF; --muted: rgba(255,255,255,.78); --faint: rgba(255,255,255,.45); --line: rgba(255,255,255,.28);
  --surface: #D92B24; --shell: rgba(255,255,255,.12); --accent: #FFFFFF; --on-accent: #ED362F;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); transition: background-color .9s var(--out); scrollbar-gutter: stable; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  font-family: var(--display); font-stretch: 100%; font-weight: 450;
  color: var(--fg); background: var(--bg);
  transition: background-color .9s var(--out), color .9s var(--out);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: inherit; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
main > section { scroll-margin-top: 100px; }
.accent { color: var(--accent); }

/* ---------------------------------------------------------------- texture, progress, cursor */
.grain { position: fixed; inset: -50%; z-index: var(--z-grain); pointer-events: none; opacity: .16; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html[data-theme="dark"] .grain { opacity: .2; }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--z-nav); pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red);
    transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) scale(var(--cs, 1));
    transition: width .45s var(--spring), height .45s var(--spring), margin .45s var(--spring), background-color .3s; mix-blend-mode: normal; }
  .cursor span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
  .cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .cursor.is-label span { opacity: 1; transition-delay: .1s; }
  .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(237,54,47,.25); }
}

/* ---------------------------------------------------------------- type */
.mono { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .04em; line-height: 1.5; font-variant-numeric: tabular-nums; }
.mono--accent { color: var(--accent); }
.mono--muted { color: var(--muted); }
.kicker { display: flex; align-items: baseline; gap: 14px; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: clamp(32px, 4vw, 64px); }
.kicker .mono { color: var(--accent); }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .03em; }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237,54,47,.18); animation: pulse 2.4s var(--out) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(237,54,47,0); } }
.statement { font-weight: 650; font-stretch: 112%; font-size: clamp(30px, 3.4vw, 64px); line-height: 1.06; letter-spacing: -.03em; max-width: 20ch; }
.statement--md { font-size: clamp(28px, 2.7vw, 52px); max-width: 17ch; }
.statement .w { color: var(--faint); transition: color .6s var(--out); }
.statement .w.on { color: var(--fg); }
.display { font-weight: 850; font-stretch: 118%; font-size: clamp(40px, 5.6vw, 108px); line-height: .96; letter-spacing: -.045em; }
.lead { font-weight: 500; font-size: clamp(19px, 1.55vw, 28px); line-height: 1.4; letter-spacing: -.01em; max-width: 30ch; }
.body { font-size: clamp(16.5px, 1.1vw, 19px); line-height: 1.65; color: var(--muted); max-width: 52ch; }
.h3 { font-weight: 750; font-stretch: 110%; font-size: clamp(22px, 1.8vw, 32px); letter-spacing: -.02em; line-height: 1.12; margin: 14px 0 26px; }
.num { font-weight: 850; font-stretch: 125%; font-size: clamp(56px, 6vw, 112px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- buttons (button-in-button) */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 7px 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 650; font-size: 16px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .5s var(--spring), background-color .35s var(--out), color .35s var(--out), box-shadow .35s var(--out); }
.btn__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-style: normal; font-size: 17px;
  transition: transform .5s var(--spring), background-color .35s var(--out); }
.btn:hover .btn__icon { transform: translate(3px, -1px) scale(1.06); }
.btn:active { transform: scale(.97) !important; }
.btn--sm { height: 44px; padding-left: 20px; font-size: 14.5px; gap: 10px; }
.btn--sm .btn__icon { width: 32px; height: 32px; font-size: 14px; }
.btn--lg { height: 64px; padding-left: 32px; font-size: 17px; }
.btn--lg .btn__icon { width: 50px; height: 50px; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -12px rgba(237,54,47,.6); }
.btn--accent .btn__icon { background: rgba(255,255,255,.18); }
.btn--accent:hover { box-shadow: 0 16px 40px -12px rgba(237,54,47,.75); filter: brightness(1.04); }
html[data-theme="red"] .btn--accent { box-shadow: none; }
.btn--ink { background: var(--fg); color: var(--bg); }
.btn--ink .btn__icon { background: var(--red); color: #fff; }
.btn--paper { background: #fff; color: var(--ink); }
.btn--paper .btn__icon { background: var(--ink); color: #fff; }
.link { position: relative; font-weight: 600; font-size: 16.5px; padding-bottom: 4px; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: right; transition: transform .6s var(--spring); }
.link:hover::after { transform: scaleX(0); transform-origin: left; }

/* ---------------------------------------------------------------- bezel (double-bezel cards) */
.bezel { padding: 6px; border-radius: var(--r-out); background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); }
.bezel__core { height: 100%; border-radius: var(--r-in); background: var(--surface); padding: clamp(24px, 2.4vw, 40px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(11,11,12,.04); transition: background-color .9s var(--out); }
html[data-theme="dark"] .bezel__core { box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.core--ink { background: var(--ink); color: #F2F2EF; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.core--accent { background: var(--red); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.core--media { padding: 0; overflow: hidden; position: relative; background: #111; }
.core--media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1) translate3d(0, var(--py, 0px), 0); }
.core--media figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(11,11,12,.45); backdrop-filter: blur(8px); }
.bezel--light { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.bezel--dark { background: rgba(255,255,255,.04); }
.bezel--glass { background: var(--shell); }

/* ---------------------------------------------------------------- reveals */
[data-reveal] { opacity: 0; transform: translateY(48px); filter: blur(6px);
  transition: opacity 1s var(--out) var(--d, 0s), transform 1.2s var(--spring) var(--d, 0s), filter 1s var(--out) var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-load] { opacity: 0; transform: translateY(26px); animation: rise 1.2s var(--spring) var(--d, .6s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.sw > span { display: inline-block; transform: translateY(110%) rotate(5deg); transform-origin: 0 100%; transition: transform 1.3s var(--spring); transition-delay: calc(var(--i) * 45ms); }
.in .sw > span, .sw.in > span { transform: none; }
.skewy { transform: skewY(var(--skew)); }

/* ---------------------------------------------------------------- floating nav */
.nav { position: fixed; inset: 16px 0 auto 0; z-index: var(--z-nav); display: flex; justify-content: center; padding-inline: 16px; pointer-events: none; animation: navIn 1.2s var(--spring) .3s both; }
@keyframes navIn { from { transform: translateY(-140%); } }
.nav__pill { pointer-events: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); width: min(100%, 1280px);
  padding: 8px 8px 8px 24px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 50px -24px rgba(11,11,12,.35); transition: transform .6s var(--spring), background-color .9s var(--out); }
.nav.is-hidden .nav__pill { transform: translateY(-140%); }
.nav__logo { position: relative; flex: none; height: 54px; width: 147px; }
.nav__logo img { position: absolute; inset: 0; height: 54px; width: auto; transition: opacity .6s var(--out); }
.nav__logo-white { opacity: 0; }
html[data-theme="dark"] .nav__logo-ink, html[data-theme="red"] .nav__logo-ink { opacity: 0; }
html[data-theme="dark"] .nav__logo-white, html[data-theme="red"] .nav__logo-white { opacity: 1; }
.nav__links { margin-left: auto; display: flex; gap: clamp(14px, 1.6vw, 28px); font-weight: 550; font-size: 14.5px; }
.nav__links a { position: relative; padding: 6px 0; white-space: nowrap; transition: color .3s var(--out); }
.nav__links a::after { content: ''; position: absolute; left: 50%; bottom: -3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .4s var(--spring); }
.nav__links a:hover, .nav__links a.on { color: var(--accent); }
.nav__links a.on::after { transform: scale(1); }
.nav__cta { flex: none; }
.nav__sound { flex: none; display: flex; align-items: center; justify-content: center; gap: 3px; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s var(--out); }
.nav__sound:hover { background: var(--line); }
.nav__sound i { width: 3px; height: 14px; border-radius: 2px; background: var(--fg); transform-origin: 50% 100%; animation: eq 1s var(--out) infinite; }
.nav__sound i:nth-child(2) { animation-delay: .2s; } .nav__sound i:nth-child(3) { animation-delay: .4s; } .nav__sound i:nth-child(4) { animation-delay: .1s; }
.nav__sound[aria-pressed="false"] i { animation: none; transform: scaleY(.25); opacity: .55; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@media (max-width: 1240px) { .nav__sound { margin-left: auto; } .nav__cta { margin-left: 0; } }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: var(--fg); cursor: pointer; transition: background-color .9s var(--out); }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--bg); transition: transform .5s var(--spring), top .5s var(--spring); }
.nav__burger span:nth-child(1) { top: 18px; } .nav__burger span:nth-child(2) { top: 24px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: var(--z-menu); display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 110px var(--pad) 40px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); overscroll-behavior: contain; overflow: auto; }
.menu__links { display: grid; gap: 4px; }
.menu__links a, .menu__cta { opacity: 0; transform: translateY(40px); animation: menuIn .9s var(--spring) forwards; animation-delay: calc(var(--i) * 55ms + 60ms); }
.menu__links a { display: flex; align-items: baseline; gap: 14px; font-weight: 800; font-stretch: 115%; font-size: clamp(30px, 8vw, 56px); letter-spacing: -.04em; line-height: 1.12; }
.menu__links small { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--accent); }
.menu__cta { align-self: flex-start; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
@media (max-width: 1240px) { .nav__links { display: none; } .nav__burger { display: block; } .nav__cta { margin-left: auto; } .nav__burger { margin-left: 0; } }
@media (max-width: 560px) { .nav__cta { display: none; } .nav__burger { margin-left: auto; } .nav__pill { padding-left: 16px; } .nav__logo { height: 46px; width: 125px; } .nav__logo img { height: 46px; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: 110px; }
.hero__gears { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; padding-bottom: clamp(28px, 5vh, 60px); pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__title { margin: clamp(22px, 3vh, 34px) 0 clamp(26px, 4vh, 44px); font-weight: 900; font-size: clamp(54px, 6.8vw, 144px); line-height: .84; letter-spacing: -.055em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; font-stretch: var(--ws, 125%); transform: translateY(105%); transition: transform 1.4s var(--spring); }
.hero__title.in .line > span { transform: none; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__foot { display: grid; grid-template-columns: minmax(0, 34ch) auto; gap: 40px; align-items: end; justify-content: space-between; max-width: 1080px; }
.hero__sub { font-size: clamp(17px, 1.25vw, 21px); line-height: 1.5; color: var(--muted); }
.hero__sub strong { color: var(--fg); font-weight: 650; }
.hero__ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
@keyframes drop { to { top: 100%; } }
@media (max-width: 900px) {
  .hero { padding-top: 46svh; }
  .hero__title { font-size: clamp(42px, 13vw, 84px); }
  .hero__title .line > span { font-stretch: var(--ws, 100%); }
  .hero__foot { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------------------------------------------------------------- hiring block (the first thing on the home page) */
.hire { display: grid; justify-items: start; gap: clamp(14px, 2vh, 22px); margin-bottom: clamp(26px, 4vh, 48px); pointer-events: auto; }
.hire__title { display: flex; align-items: center; flex-wrap: wrap; column-gap: .28em; font-weight: 800; font-stretch: 115%; font-size: clamp(26px, 2.6vw, 50px); letter-spacing: -.035em; line-height: 1.05; }
.hire__dot { width: .34em; height: .34em; margin-right: .2em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(237,54,47,.55);
  opacity: 0; transform: scale(0); transition: opacity .6s var(--out), transform .9s var(--spring); }
.hw { display: inline-block; overflow: hidden; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.hw > span { display: inline-block; transform: translate3d(0, 115%, 0) rotate(4deg); filter: blur(10px); opacity: 0; transform-origin: 0 100%;
  transition: transform 1.5s cubic-bezier(.16, 1, .3, 1), filter 1.2s cubic-bezier(.16, 1, .3, 1), opacity .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(.15s + var(--i) * .09s); will-change: transform, filter; }
.hire__roles { display: flex; flex-wrap: wrap; gap: 8px; }
.hire__roles a { display: block; transition: color .3s var(--out); }
.hire__roles li:hover { background: var(--ink); color: #fff; }
.tags a { display: block; }
.hire__roles li { transition-property: transform, opacity, filter, background-color, color; padding: 10px 16px; border-radius: 999px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; font-size: clamp(14px, 1.05vw, 17px);
  opacity: 0; transform: translate3d(0, 22px, 0) scale(.96); filter: blur(6px);
  transition: transform 1.3s cubic-bezier(.16, 1, .3, 1), opacity 1s cubic-bezier(.16, 1, .3, 1), filter 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.55s + var(--i) * .1s); }
.hire__perks { display: flex; flex-wrap: wrap; gap: 6px 20px; max-width: 46em; }
.hire__perks li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: clamp(13.5px, .95vw, 15.5px); color: var(--fg);
  opacity: 0; transform: translate3d(0, 14px, 0); filter: blur(4px);
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1), opacity .9s cubic-bezier(.16, 1, .3, 1), filter .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.85s + var(--i) * .07s); }
.hire__perks li::before { content: ''; width: 11px; height: 11px; flex: none; background: linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 100% no-repeat; }
.hire .btn--glow { opacity: 0; transform: translate3d(0, 24px, 0) scale(.94); filter: blur(6px);
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1) 1.2s, opacity 1s cubic-bezier(.16, 1, .3, 1) 1.2s, filter 1s cubic-bezier(.16, 1, .3, 1) 1.2s, box-shadow .4s var(--out); }
.hire.in .hire__dot { opacity: 1; transform: none; animation: hirePulse 2s var(--out) 1.2s infinite; }
.hire.in .hw > span, .hire.in .hire__roles li, .hire.in .hire__perks li, .hire.in .btn--glow { opacity: 1; transform: none; filter: none; }
@keyframes hirePulse { 0% { box-shadow: 0 0 0 0 rgba(237,54,47,.55); } 100% { box-shadow: 0 0 0 .5em rgba(237,54,47,0); } }
/* the glowing « Postuler » button: a breathing red halo, a light sweep, a lit edge */
.btn--glow { position: relative; isolation: isolate; overflow: hidden; background: var(--red); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 10px 30px -8px rgba(237,54,47,.75), 0 0 46px rgba(237,54,47,.45); }
.hire.in .btn--glow { animation: glowBreath 2.6s ease-in-out 2.2s infinite; }
.btn--glow .btn__icon { background: rgba(255,255,255,.2); }
.btn--glow::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 40%; z-index: -1; transform: skewX(-23.5deg) translateX(0);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: sweep 3.2s cubic-bezier(.45, 0, .2, 1) 2s infinite; }
.btn--glow:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 16px 40px -8px rgba(237,54,47,.9), 0 0 80px rgba(237,54,47,.7); }
@keyframes glowBreath { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 10px 30px -8px rgba(237,54,47,.75), 0 0 36px rgba(237,54,47,.35); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 14px 40px -6px rgba(237,54,47,.95), 0 0 90px rgba(237,54,47,.7); } }
@keyframes sweep { 0% { transform: skewX(-23.5deg) translateX(0); } 55%, 100% { transform: skewX(-23.5deg) translateX(420%); } }
/* the title follows the hiring block */
.hero__title .line > span { transition-delay: .55s; }
.hero__title .line:nth-child(2) > span { transition-delay: .64s; }

/* ---------------------------------------------------------------- showreel (pinned) */
.reel { position: relative; height: 300vh; }
.reel__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.reel__card { position: absolute; inset: 0; color: #fff; background: #000;
  clip-path: inset(var(--ct, 16%) var(--cs, 18%) var(--cb, 16%) var(--cs, 18%) round var(--cr, 32px)); will-change: clip-path; }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.08)); will-change: transform; }
.reel__shade { position: absolute; inset: 0; background: radial-gradient(120% 90% at 10% 100%, rgba(11,11,12,.82), rgba(11,11,12,.15) 55%, rgba(11,11,12,0) 80%); }
.reel__top { position: absolute; left: 0; right: 0; top: 120px; display: flex; justify-content: space-between; opacity: var(--ui, 1); }
.reel__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: -18px; height: 1.5px; background: rgba(255,255,255,.22); }
.reel__progress b { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ticker { position: absolute; left: 0; right: 0; white-space: nowrap; pointer-events: none; opacity: var(--ui, 1); }
.ticker__track { display: inline-flex; will-change: transform; }
.ticker__track span { display: inline-flex; align-items: center; font-weight: 850; font-stretch: 118%; letter-spacing: -.035em; }
.ticker__track span::after { content: ''; width: .16em; height: .16em; border-radius: 50%; background: var(--red); margin: 0 .5em; }
.ticker--a { bottom: clamp(130px, 21vh, 240px); font-size: clamp(56px, 8.4vw, 160px); line-height: 1; }
.ticker--b { bottom: clamp(56px, 8vh, 100px); font-size: clamp(30px, 4.4vw, 84px); line-height: 1; color: rgba(255,255,255,.5); }

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding-block: clamp(110px, 12vw, 220px) clamp(120px, 13vw, 240px); }
.sec--tight { padding-block: clamp(40px, 5vw, 80px) clamp(110px, 11vw, 200px); }
.sec--flush { padding: 0; }

/* qui sommes-nous: editorial split + asymmetric bento */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.split__aside { position: sticky; top: 140px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bento > * { grid-column: span 3; }
.bento__mission { grid-column: span 6; }
.bento__stat { grid-column: span 2; }
.bento__founder { grid-column: span 2; }
.bento__wide { grid-column: span 4; }
.bento__stat .num { font-size: clamp(48px, 4.4vw, 84px); font-stretch: 112%; }
.bento .bezel__core { display: flex; flex-direction: column; gap: 22px; justify-content: space-between; min-height: 230px; }
.bento__big { font-weight: 650; font-stretch: 112%; font-size: clamp(26px, 2.5vw, 46px); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; }
.bento__mid { font-weight: 600; font-size: clamp(19px, 1.5vw, 26px); line-height: 1.25; letter-spacing: -.015em; }
.bento__quote { overflow-wrap: anywhere; hyphens: auto; font-weight: 750; font-stretch: 100%; font-size: clamp(19px, 1.35vw, 25px); line-height: 1.12; letter-spacing: -.025em; }
.bento__small { font-size: 15px; line-height: 1.55; opacity: .88; }
.bento__served { margin-top: auto; }
.values { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 700; font-stretch: 112%; font-size: clamp(20px, 1.6vw, 28px); letter-spacing: -.02em; }
.values li:not(:last-child)::after { content: '·'; margin-left: 14px; color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 14px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; }

/* ZÉRO: words stretch from condensed to extended as they cross the viewport */
.zero { padding-block: clamp(60px, 7vw, 120px) clamp(120px, 13vw, 240px); overflow: hidden; }
.zero__list { display: grid; gap: clamp(4px, 1vw, 14px); }
.zero__list li { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 34px); border-bottom: 1px solid var(--line); padding-bottom: clamp(6px, 1vw, 14px); }
.zero__list b { font-weight: 900; font-size: clamp(64px, 12vw, 236px); line-height: .82; letter-spacing: -.06em; color: var(--red); font-stretch: var(--ws, 62%); }
.zero__list span { font-weight: 700; font-stretch: 112%; font-size: clamp(22px, 2.6vw, 50px); letter-spacing: -.03em; }
.zero__promise { margin-top: clamp(40px, 5vw, 80px); font-weight: 800; font-stretch: 118%; font-size: clamp(28px, 3.4vw, 64px); letter-spacing: -.04em; }

/* services */
.knock { position: relative; overflow: hidden; border-radius: 18px; margin-bottom: clamp(8px, 1vw, 16px); }
.knock video { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.knock svg { position: relative; width: 100%; height: auto; mix-blend-mode: screen; }
.knock rect { fill: #fff; }
.knock text { fill: #000; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 150px; letter-spacing: -6px; }
.knock:nth-of-type(2) text { font-size: 176px; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 80px); }
.modes li { display: grid; gap: 6px; padding: 26px 24px 28px; border-radius: var(--r-in); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.45; color: var(--muted);
  transition: transform .6s var(--spring), background-color .4s var(--out), color .4s var(--out); }
.modes li .mono { color: var(--accent); margin-bottom: 18px; }
.modes b { color: var(--fg); font-weight: 700; font-stretch: 110%; font-size: clamp(18px, 1.4vw, 23px); letter-spacing: -.015em; transition: color .4s var(--out); }
.modes li:hover { transform: translateY(-6px); background: var(--ink); color: #A8A8AC; }
.modes li:hover b { color: #fff; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 500px); gap: clamp(40px, 6vw, 120px); margin-top: clamp(80px, 9vw, 160px); align-items: start; }
.svc__list { margin-top: 18px; counter-reset: svc; }
.svc__list li { display: grid; grid-template-columns: 60px 1fr; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line);
  font-weight: 700; font-stretch: 108%; font-size: clamp(20px, 1.7vw, 31px); line-height: 1.18; letter-spacing: -.02em; color: var(--faint);
  transition: color .6s var(--out), transform .8s var(--spring); }
.svc__list li .mono { color: var(--accent); }
.svc__list li.on { color: var(--fg); transform: translateX(12px); }
.svc__media { position: sticky; top: 130px; }
.svc__media .bezel__core { aspect-ratio: 4 / 5; }
.strip { margin-block: clamp(90px, 10vw, 180px); background: var(--red); color: #fff; transform: rotate(-2deg) scale(1.04); padding: 20px 0; white-space: nowrap; overflow: hidden; }
.strip .ticker__track span { font-size: clamp(24px, 2.8vw, 52px); }
.strip .ticker__track span::after { background: #fff; }

.team { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.team__num { font-weight: 900; font-stretch: 125%; font-size: clamp(130px, 15vw, 300px); line-height: .78; letter-spacing: -.07em; color: var(--red); font-variant-numeric: tabular-nums; }
.team__text .statement { margin-bottom: 28px; }
.team__media .bezel__core { aspect-ratio: 3 / 4; }

/* atouts: stacking cards */
.stack { margin-top: clamp(110px, 12vw, 220px); }
.stack__title { font-weight: 850; font-stretch: 120%; font-size: clamp(44px, 6vw, 112px); letter-spacing: -.05em; line-height: .9; margin-bottom: clamp(36px, 4vw, 70px); }
.stack__cards { display: grid; gap: 22px; }
.scard { position: sticky; top: calc(110px + var(--i, 0) * 16px); display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 80px); align-items: start;
  min-height: 260px; padding: clamp(28px, 3vw, 54px); border-radius: var(--r-out); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 -20px 60px -40px rgba(11,11,12,.35); transform-origin: 50% 0; }
.scard:nth-child(1) { --i: 0; } .scard:nth-child(2) { --i: 1; } .scard:nth-child(3) { --i: 2; } .scard:nth-child(4) { --i: 3; } .scard:nth-child(5) { --i: 4; } .scard:nth-child(6) { --i: 5; }
.scard .mono { color: var(--accent); padding-top: 8px; }
.scard h4 { font-weight: 800; font-stretch: 115%; font-size: clamp(26px, 2.6vw, 48px); line-height: 1; letter-spacing: -.04em; }
.scard p { font-size: clamp(16px, 1.15vw, 20px); line-height: 1.55; color: var(--muted); padding-top: 6px; }
.scard--ink { background: var(--ink); color: #F2F2EF; }
.scard--ink p { color: #A8A8AC; }
.scard--accent { background: var(--red); color: #fff; }
.scard--accent .mono, .scard--accent p { color: rgba(255,255,255,.9); }
.quality { margin-top: clamp(50px, 5vw, 90px); }
.quality__core { display: grid; grid-template-columns: auto 1fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.quality__core img { width: clamp(76px, 6vw, 104px); height: auto; }
.quality__core p:not(.mono) { font-weight: 550; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.45; margin-top: 6px; }

/* carrières (red chapter) */
.jobs__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
.jobs .kicker, .jobs .kicker .mono { color: rgba(255,255,255,.85); }
.jobs .display { max-width: 12ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(36px, 4vw, 60px); }
.tags li { padding: 14px 22px; border-radius: 999px; background: #fff; color: var(--red); font-weight: 750; font-stretch: 112%; font-size: clamp(15px, 1.2vw, 20px); letter-spacing: -.01em; }
.perks { margin-top: 32px; display: grid; gap: 12px; max-width: 46ch; }
.perks li { position: relative; padding-left: 28px; font-weight: 550; font-size: clamp(16.5px, 1.2vw, 21px); line-height: 1.4; }
.perks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.jobs .btn { margin-top: 40px; }
.jobs__media .bezel__core { aspect-ratio: 3 / 4; }

/* équipements */
.eq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 100px); align-items: stretch; }
.eq__title { display: grid; gap: 14px; }
.eq__city { font-weight: 900; font-stretch: 125%; font-size: clamp(46px, 5.4vw, 104px); line-height: .9; letter-spacing: -.055em; }
.eq__area { font-weight: 800; font-stretch: 118%; font-size: clamp(32px, 3.4vw, 64px); color: var(--red); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.eq .lead { margin: clamp(28px, 3vw, 46px) 0 22px; }
.band { position: relative; min-height: 640px; overflow: hidden; background: var(--ink); clip-path: polygon(calc(var(--bh, 900px) * var(--slope)) 0, 100% 0, calc(100% - var(--bh, 900px) * var(--slope)) 100%, 0 100%); }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(237,54,47,.14); mix-blend-mode: multiply; }
.band video { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 60% 50%; transform: translate3d(0, var(--py, 0px), 0); }

/* gallery (dark chapter) */
.gallery { position: relative; height: var(--gh, 400vh); }
.gallery__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 34px); padding-top: 96px; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; }
.gallery__title { font-weight: 850; font-stretch: 120%; font-size: clamp(32px, 3.6vw, 68px); line-height: .95; letter-spacing: -.045em; }
.gallery__count { color: var(--muted); }
.gallery__count b { color: var(--fg); font-weight: 500; }
.gallery__track { display: flex; gap: clamp(12px, 1.2vw, 22px); padding-inline: var(--pad); height: min(60vh, 620px); will-change: transform; }
.g { position: relative; flex: none; height: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: #1A1A1D; }
.g--wide { aspect-ratio: 16 / 10; }
.g--tall { aspect-ratio: 3 / 4; }
.g img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translate3d(var(--gx, 0px), 0, 0); transition: transform 1.2s var(--spring); }
.g:hover img { transform: scale(1.14) translate3d(var(--gx, 0px), 0, 0); }
.g p { position: absolute; left: 14px; bottom: 14px; color: #fff; padding: 7px 12px; border-radius: 999px; background: rgba(11,11,12,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gallery__bar i { display: block; height: 1.5px; background: var(--line); position: relative; }
.gallery__bar b { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--gp, 0)); }
.inv { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.inv__title { position: sticky; top: 140px; font-weight: 850; font-stretch: 118%; font-size: clamp(32px, 3.4vw, 64px); line-height: .98; letter-spacing: -.045em; }
.spec { width: 100%; border-collapse: collapse; font-size: clamp(16px, 1.15vw, 20px); }
.spec tr { border-bottom: 1px solid var(--line); transition: background-color .3s; }
.spec tr:hover { background: var(--shell); }
.spec th, .spec td { padding: 20px 10px; text-align: left; vertical-align: baseline; }
.spec th { width: 54px; font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--accent); }
.spec td { font-weight: 550; }
.spec__v { text-align: right !important; font-family: var(--mono); font-weight: 500; font-size: 15px; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }

/* SST (dark chapter) */
.sst { overflow: hidden; }
.sst__bg { position: absolute; inset: 0 0 auto 0; width: 100%; height: 110vh; object-fit: cover; opacity: .34; -webkit-mask-image: linear-gradient(#000 20%, transparent); mask-image: linear-gradient(#000 20%, transparent); }
.sst__inner { position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(60px, 7vw, 120px); }
.steps li { padding: 30px 28px 34px; border-radius: var(--r-in); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: none;
  font-size: clamp(16px, 1.2vw, 21px); line-height: 1.5; color: #C8C8CB; }
.steps__n { display: block; font-weight: 900; font-stretch: 125%; font-size: clamp(42px, 3.6vw, 68px); letter-spacing: -.05em; color: var(--red); line-height: 1; margin-bottom: 20px; }
.steps strong { color: #fff; font-weight: 700; }
.sst__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 100px); margin-top: clamp(80px, 9vw, 160px); align-items: start; }
.sst .h3 { margin-top: 0; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 54px); }
.points li { display: grid; grid-template-columns: 44px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 550; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.4; }
.points .mono { color: var(--accent); padding-top: 3px; }
.manual { position: sticky; top: 130px; }
.manual__list { margin-top: 18px; columns: 2; column-gap: 22px; counter-reset: man; }
.manual__list li { counter-increment: man; break-inside: avoid; display: grid; grid-template-columns: 26px 1fr; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.manual__list li::before { content: counter(man, lower-alpha) ')'; font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 1px; }

/* réalisations */
.aerial { position: relative; height: min(92vh, 980px); min-height: 520px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; background: #000; }
.aerial video { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.aerial__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,12,.85), rgba(11,11,12,0) 60%); }
.aerial__text { position: relative; padding-bottom: clamp(56px, 7vw, 120px); }
.aerial .kicker, .aerial .kicker .mono { color: rgba(255,255,255,.8); }
.route { position: relative; margin-bottom: clamp(80px, 9vw, 160px); }
.route svg { width: 100%; height: auto; overflow: visible; }
.route path { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; }
.route__a { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--ra, 0)); }
.route__b { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--rb, 0)); }
.route__gap { stroke-dasharray: 2 16; opacity: var(--rg, 0); }
.route__st { position: absolute; inset: 0; }
.route__st li { position: absolute; left: var(--x); top: 50%; transform: translate(-50%, 0); text-align: center; font-weight: 800; font-stretch: 112%; font-size: clamp(15px, 1.5vw, 28px); letter-spacing: -.02em; white-space: nowrap; padding-top: 34px; opacity: 0; transition: opacity .6s var(--out); }
.route__st li::before { content: ''; position: absolute; left: 50%; top: -15px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 7px var(--bg); transform: scale(0); transition: transform .7s var(--spring); }
.route__st li span { position: absolute; left: 50%; bottom: calc(100% + 26px); transform: translateX(-50%); font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.route__st li.on { opacity: 1; }
.route__st li.on::before { transform: scale(1); }
.works { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; align-items: stretch; }
.works .bezel__core { padding: clamp(28px, 3vw, 52px); }
.ticks li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: clamp(15.5px, 1.1vw, 19px); line-height: 1.45; }
.core--ink .ticks li { border-color: rgba(255,255,255,.12); color: #D7D7DA; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1.4em; width: 14px; height: 2px; background: var(--red); }
.ticks--2 { columns: 2; column-gap: 36px; }
.ticks--2 li { break-inside: avoid; }
.refs { margin-top: clamp(110px, 12vw, 220px); }
.refs__head .kicker { margin-bottom: 26px; }
.refs__row { padding-block: 22px; border-block: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.refs__row .ticker__track span { font-size: clamp(34px, 4.4vw, 84px); font-weight: 850; font-stretch: 118%; color: transparent; -webkit-text-stroke: 1.5px var(--fg); transition: color .4s var(--out); }
.refs__row:hover .ticker__track span { color: var(--fg); }
.refs__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 44px; }
.refs__list li { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.refs__list b { display: block; font-weight: 700; font-size: 16.5px; color: var(--fg); margin-bottom: 6px; }

/* fournitures (dark) */
.supply { overflow: hidden; }
.supply__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 120px); align-items: end; }
.supply .display { max-width: 13ch; font-size: clamp(40px, 4.6vw, 92px); }
.supply__side .btn { margin-top: 34px; }
.supply__band { position: absolute; top: 0; bottom: 0; right: 4%; width: clamp(120px, 18vw, 340px); background: var(--red); transform: skewX(-23.5deg) translateX(var(--bx, 40%)); opacity: .95; }

/* contact */
.contact { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.contact__gears { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 560px); gap: clamp(40px, 6vw, 120px); padding-block: clamp(140px, 13vw, 220px) clamp(80px, 8vw, 140px); align-items: end; pointer-events: none; }
.contact__grid > * { pointer-events: auto; }
.contact__title { font-weight: 800; font-stretch: 115%; font-size: clamp(28px, 2.7vw, 52px); line-height: 1.04; letter-spacing: -.035em; max-width: 16ch; }
.contact__title .accent { display: block; }
.contact__phone { display: block; margin-top: 30px; font-weight: 900; font-stretch: 115%; font-size: clamp(42px, 4.6vw, 92px); letter-spacing: -.05em; line-height: .95; white-space: nowrap; transition: color .4s var(--out); }
.contact__phone:hover { color: var(--red); }
.contact__mail { display: inline-block; margin-top: 20px; font-size: clamp(16px, 1.35vw, 24px); word-break: break-all; }
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(40px, 4vw, 70px); max-width: 640px; }
.sites address { display: grid; gap: 8px; font-weight: 550; font-size: clamp(15px, 1.05vw, 18px); line-height: 1.5; padding-top: 16px; border-top: 1px solid var(--line); }
.form-shell { background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; background: var(--bg); }
.form__title { grid-column: 1 / -1; font-weight: 650; font-size: 17px; line-height: 1.4; letter-spacing: -.01em; margin-bottom: 6px; }
.field { display: grid; gap: 6px; padding: 12px 16px 10px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--out); }
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--red); }
.field span { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 0; background: transparent; padding: 2px 0 4px; font-weight: 550; font-size: 16.5px; outline: none; color: var(--fg); }
.field select { background-color: transparent; color: var(--fg); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field textarea { resize: vertical; min-height: 92px; }
.field--wide { grid-column: 1 / -1; }
.form .btn { justify-content: space-between; margin-top: 6px; }
.form__note { font-weight: 550; font-size: 14.5px; color: var(--muted); min-height: 1.4em; }
.form__note.is-error { color: var(--red); }

/* footer (dark) */
.ftr { background: var(--ink); color: #F2F2EF; padding-top: clamp(90px, 10vw, 180px); }
.ftr__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: clamp(60px, 7vw, 120px); border-bottom: 1px solid rgba(255,255,255,.12); }
.ftr__big { font-weight: 850; font-stretch: 120%; font-size: clamp(40px, 6vw, 116px); line-height: .92; letter-spacing: -.05em; max-width: 12ch; }
.ftr__big .accent { color: var(--red); }
.ftr__bot { display: flex; align-items: center; gap: 30px 50px; flex-wrap: wrap; padding-block: 34px; }
.ftr__bot img { height: 44px; width: auto; }
.ftr__links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 550; font-size: 14.5px; color: #B8B8BB; }
.ftr__links a:hover { color: #fff; }
.ftr__bot .mono { margin-left: auto; color: #8C8C90; }

/* phone call bar */
.callbar { display: none; }

/* ---------------------------------------------------------------- intro: the « Bienvenue » video, then a fade */
.intro { display: none; }
.is-intro .intro, .intro.is-out { position: fixed; inset: 0; z-index: var(--z-intro); display: block; background: #FFFFFF; will-change: opacity;
  transition: opacity 2s cubic-bezier(.4, 0, .1, 1), visibility 0s linear 2s; }
.intro__video { transition: transform 2.2s cubic-bezier(.2, 0, 0, 1); }
.intro.is-out .intro__video { transform: scale(.965); }
main { transition: transform 2.2s cubic-bezier(.2, 0, 0, 1); }
.is-intro main { transform: scale(1.025); }
.intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #FFFFFF; }
.intro.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.gate { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(28px, 5vh, 52px);
  width: 100%; border: 0; background: #FFFFFF; cursor: pointer; font: inherit; color: var(--ink); transition: opacity .55s var(--out), visibility 0s linear .55s; }
.gate.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.gate__logo { width: min(62vw, 460px); height: auto; opacity: 0; transform: translateY(18px); animation: gateIn 1.1s var(--spring) .15s forwards; }
.gate__cta { display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 28px 0 22px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 650; font-size: 17px; letter-spacing: -.005em; opacity: 0; transform: translateY(18px); animation: gateIn 1.1s var(--spring) .35s forwards;
  transition: transform .5s var(--spring), background-color .3s var(--out); }
.gate:hover .gate__cta { background: var(--red); }
.gate:active .gate__cta { transform: scale(.97); }
.gate:focus-visible { outline: none; }
.gate:focus-visible .gate__cta { outline: 2px solid var(--red); outline-offset: 4px; }
.gate__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(237,54,47,.6); animation: gatePulse 1.6s var(--out) infinite; }
.gate:hover .gate__dot { background: #fff; }
@keyframes gateIn { to { opacity: 1; transform: none; } }
@keyframes gatePulse { 0% { box-shadow: 0 0 0 0 rgba(237,54,47,.6); } 100% { box-shadow: 0 0 0 14px rgba(237,54,47,0); } }
.is-intro body { overflow: hidden; }
.is-intro [data-load], .is-intro .nav { animation-play-state: paused; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .modes { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: auto minmax(0, 1fr); }
  .team__media { grid-column: 1 / -1; }
  .team__media .bezel__core { aspect-ratio: 16 / 9; }
  .refs__list { grid-template-columns: 1fr 1fr 1fr; }
  .sst__grid { grid-template-columns: 1fr; }
  .manual { position: static; }
}
@media (max-width: 1000px) {
  .eq, .jobs__grid, .works, .contact__grid, .svc, .inv, .supply__grid { grid-template-columns: 1fr; }
  .svc__media { position: relative; top: 0; order: -1; }
  .svc__media .bezel__core { aspect-ratio: 16 / 10; }
  .band { min-height: 380px; }
  .jobs__media .bezel__core { aspect-ratio: 4 / 3; }
  .quality__core { grid-template-columns: auto 1fr; }
  .quality__core > div:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .scard { grid-template-columns: 1fr; gap: 14px; min-height: 0; }
  .inv__title { position: static; }
}
@media (max-width: 900px) {
  .contact { align-items: flex-end; }
  .contact__grid { padding-top: 46svh; }
}
@media (max-width: 760px) {
  :root { --r-out: 22px; --r-in: 17px; }
  .sec { padding-block: 96px 110px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > *, .bento__mission, .bento__wide, .bento__founder { grid-column: 1 / -1; grid-row: auto; }
  .bento__stat { grid-column: span 1 !important; }
  .bento .bezel__core { min-height: 0; }
  .num { font-size: 54px; }
  .modes, .points, .refs__list, .sites, .form { grid-template-columns: 1fr; }
  .ticks--2, .manual__list { columns: 1; }
  .knock { border-radius: 12px; }
  .zero__list li { flex-direction: column; gap: 2px; }
  .team { grid-template-columns: 1fr; }
  .team__num { font-size: 140px; }
  .svc__list li { padding: 20px 0; font-size: 19px; grid-template-columns: 44px 1fr; }
  .strip { transform: rotate(-3deg) scale(1.1); padding: 14px 0; }
  .scard { position: relative; top: 0; }
  .gallery__track { height: 56svh; }
  .route__st li span { display: none; }
  .route__st li { font-size: 12px; }
  .route__st li:nth-child(even) { top: auto; bottom: 50%; padding-top: 0; padding-bottom: 30px; }
  .route__st li:nth-child(even)::before { top: auto; bottom: -15px; }
  .supply__band { right: -20%; opacity: .6; }
  .ticker--a { bottom: 150px; font-size: 56px; }
  .ticker--b { bottom: 96px; font-size: 30px; }
  .reel { height: 220vh; }
  .reel__top { top: 96px; }
  .ftr__bot .mono { margin-left: 0; }
  .ftr { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .callbar { position: fixed; z-index: var(--z-bar); left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
    height: 58px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--red); color: #fff; box-shadow: 0 14px 34px -10px rgba(237,54,47,.6);
    transition: transform .6s var(--spring), opacity .5s var(--out); }
  .callbar .callbar__v { display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 750; font-size: 15.5px; white-space: nowrap; }
  .callbar.is-hidden { transform: translateY(150%); opacity: 0; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html, body { transition: none; }
  [data-reveal], [data-load], .sw > span, .hero__title .line > span, .menu__links a, .menu__cta { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; }
  .reel, .gallery { height: auto !important; }
  .reel__sticky { position: relative; height: 80vh; }
  .reel__card { clip-path: none; }
  .gallery__sticky { position: relative; height: auto; padding-block: 60px; }
  .gallery__track { overflow-x: auto; transform: none !important; }
  .skewy { transform: none; }
  .scard { position: relative; top: 0; }
  .tag__dot { animation: none; }
  .hw > span, .hire__roles li, .hire__perks li, .hire .btn--glow, .hire__dot { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .btn--glow, .btn--glow::after, .hire.in .btn--glow, .hire.in .hire__dot { animation: none !important; }
}

/* ---------------------------------------------------------------- « Postuler » page */
.apply-page .nav { animation: none; }
.apply-back { margin-left: auto; margin-right: 14px; font-size: 15px; }
.apply { padding-block: 150px 120px; max-width: 1180px; }
.apply__head { margin-bottom: clamp(40px, 6vw, 80px); }
.apply__title { font-weight: 850; font-stretch: 118%; font-size: clamp(38px, 5vw, 88px); line-height: .98; letter-spacing: -.045em; max-width: 16ch; }
.apply__title em { font-style: normal; color: var(--red); }
.apply__form { display: grid; gap: clamp(48px, 6vw, 80px); }
.apply__step { border: 0; min-width: 0; }
.apply__legend { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.025em; }
.apply__legend .mono { color: var(--red); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.role { position: relative; cursor: pointer; }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role__card { position: relative; display: grid; gap: 34px; min-height: 170px; padding: 24px; border-radius: var(--r-out); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .4s var(--out), color .4s var(--out), transform .6s var(--spring), box-shadow .4s var(--out); }
.role__card .mono { color: var(--red); }
.role__name { align-self: end; font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.03em; line-height: 1.02; }
.role__check { position: absolute; top: 20px; right: 20px; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .3s, box-shadow .3s; }
.role:hover .role__card { transform: translateY(-4px); }
.role input:checked + .role__card { background: var(--ink); color: #fff; box-shadow: 0 18px 50px -24px rgba(11,11,12,.6); }
.role input:checked + .role__card .role__check { background: var(--red); box-shadow: inset 0 0 0 6px var(--ink); }
.role input:focus-visible + .role__card { outline: 2px solid var(--red); outline-offset: 4px; }
.apply__perks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.apply__perks li::before { content: '●'; color: var(--red); margin-right: 8px; font-size: 9px; vertical-align: 2px; }
.apply__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: clamp(34px, 5vw, 56px) 20px; border-radius: var(--r-out); text-align: center; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); outline: 2px dashed rgba(11,11,12,.18); outline-offset: -14px;
  transition: background-color .3s var(--out), box-shadow .3s var(--out), outline-color .3s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 22px; transition: transform .5s var(--spring), background-color .3s; }
.drop__main { font-weight: 750; font-size: clamp(18px, 1.5vw, 23px); letter-spacing: -.015em; word-break: break-all; }
.drop__sub { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.drop.is-over { background: rgba(237,54,47,.06); outline-color: var(--red); }
.drop.is-over .drop__icon { transform: translateY(-6px) scale(1.06); background: var(--red); }
.drop.has-file { outline-color: var(--red); outline-style: solid; }
.drop.has-file .drop__icon { background: var(--red); }
.drop:focus-within { box-shadow: inset 0 0 0 2px var(--red); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin-top: 18px; font-size: 14.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--red); }
.apply__submit { display: grid; justify-items: start; gap: 14px; }
.apply__submit .btn:disabled { opacity: .7; cursor: progress; }
.apply__done { display: grid; justify-items: start; gap: 28px; padding-top: 20px; }
@media (max-width: 760px) {
  .roles, .apply__grid { grid-template-columns: 1fr; }
  .role__card { min-height: 0; gap: 18px; }
  .apply { padding-top: 120px; }
  .apply-back { font-size: 14px; }
}

/* « Postuler » loader: the word under the logo is replaced */
.intro__swap { position: absolute; left: var(--sx, 30%); top: var(--sy, 64%); width: var(--sw, 40%); height: var(--sh, 11%); background: #FFFFFF;
  display: grid; justify-items: center; align-content: center; gap: calc(var(--fs, 30px) * .55); opacity: 0; }
.intro__swap.is-on { opacity: 1; }
.intro__line { display: flex; flex-wrap: nowrap; white-space: nowrap; font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: var(--fs, 30px);
  letter-spacing: .22em; margin-right: -.22em; color: var(--ink); line-height: 1; }
.intro__line span { display: inline-block; opacity: 0; transform: translateY(45%); filter: blur(6px); }
.intro__line span.sp { width: .32em; }
.intro__swap.is-on .intro__line span { animation: letter .8s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--i) * 28ms); }
.intro__underline { display: block; width: calc(var(--fs, 30px) * 2.4); height: max(2px, calc(var(--fs, 30px) * .08)); background: var(--red); transform: scaleX(0); }
.intro__swap.is-on .intro__underline { animation: underline .9s cubic-bezier(.16, 1, .3, 1) .55s forwards; }
@keyframes underline { to { transform: none; } }
@keyframes letter { to { opacity: 1; transform: none; filter: none; } }
