:root {
  --navy-900: #070d22;
  --navy-800: #0b1430;
  --navy-700: #111d42;
  --navy-600: #1a2a5a;
  --blue: #1f4fbf;
  --blue-300: #6f8fe8;
  --accent: #ea4a3c;
  --accent-600: #cf3b2e;
  --gold: #e2ac3f;
  --paper: #f3f5fa;
  --white: #fff;
  --ink: #0d1633;
  --ink-2: #4a5574;
  --line: rgba(13, 22, 51, .12);
  --line-light: rgba(255, 255, 255, .12);
  --radius: 14px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: .95; margin: 0; }
p { margin: 0 0 1em; }
sub { font-size: .55em; vertical-align: -.15em; line-height: 0; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(1240px, 100% - 64px); } }

.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.dark { background: var(--navy-800); color: #dfe5f5; }
.dark h2, .dark h3 { color: #fff; }
.h2 { font-size: clamp(44px, 6.4vw, 92px); margin-bottom: .45em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink); }
.muted { color: var(--ink-2); }
.dark .muted { color: #9aa6c7; }
.small { font-size: 14px; }
.eyebrow {
  font: 700 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 22px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section .eyebrow { color: var(--accent); max-width: none; }
.eyebrow--light, .section .eyebrow--light { color: #ff7a6c; }
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

/* Boutons */
.btn {
  --h: 54px; display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 26px;
  border-radius: 999px; font: 600 15px/1 var(--body); border: 1px solid transparent; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(234, 74, 60, .7); }
.btn--accent:hover { background: var(--accent-600); box-shadow: 0 16px 40px -12px rgba(234, 74, 60, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--wa { background: #1fae5b; color: #fff; }
.btn--wa:hover { background: #17924b; }
.arrow { width: 16px; height: 2px; background: currentColor; position: relative; transition: width .3s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 22px; }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--navy-900); display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__logo { width: 220px; animation: pulse 2s ease-in-out infinite; }
.loader__bar { width: 220px; height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .3s; }
.loader__txt { font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: #7f8bb0; }
@keyframes pulse { 50% { opacity: .65; } }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s; }
.header.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__inner { height: 70px; }
.header.is-hidden { transform: translateY(-100%); }
.brand { position: relative; display: block; width: 168px; }
.brand__img { width: 100%; transition: opacity .3s; }
.brand__img--dark { position: absolute; inset: 0; opacity: 0; }
.header.is-scrolled .brand__img--light { opacity: 0; }
.header.is-scrolled .brand__img--dark { opacity: 1; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font: 500 14px/1 var(--body); color: #fff; position: relative; padding: 6px 0; transition: color .3s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header.is-scrolled .nav a:not(.btn) { color: var(--ink); }
.nav__cta { --h: 44px; padding: 0 20px; font-size: 14px; }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); }
.lang a, .lang span { font: 600 12px/1 var(--body); letter-spacing: .08em; padding: 7px 10px; border-radius: 999px; color: #fff; }
.lang a::after { display: none; }
.lang a:hover { background: rgba(255, 255, 255, .12); }
.lang .is-current { background: #fff; color: var(--ink); }
.header.is-scrolled .lang { border-color: var(--line); }
.header.is-scrolled .lang a { color: var(--ink); }
.header.is-scrolled .lang a:hover { background: rgba(13, 22, 51, .06); }
.header.is-scrolled .lang .is-current { background: var(--ink); color: #fff; }
@media (max-width: 1020px) { .lang { border-color: rgba(255, 255, 255, .25) !important; } .lang a, .lang span { color: #fff !important; font-size: 15px !important; padding: 12px 18px !important; } .lang .is-current { background: #fff !important; color: var(--ink) !important; } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .4s var(--ease), top .4s, background .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.header.is-scrolled .burger span { background: var(--ink); }
.nav-open .burger span { background: #fff !important; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--navy-900); flex-direction: column; justify-content: center; gap: 22px;
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav a:not(.btn) { font: 700 34px/1 var(--display); text-transform: uppercase; color: #fff !important; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .brand__img--light { opacity: 1 !important; } .nav-open .brand__img--dark { opacity: 0 !important; }
  .nav-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
  .brand { z-index: 2; }
}

/* HERO */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 90% at 75% 40%, #16245a 0%, var(--navy-900) 60%); color: #fff; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 13, 34, .82) 0%, rgba(7, 13, 34, .35) 45%, rgba(7, 13, 34, 0) 70%), linear-gradient(0deg, var(--navy-900) 0%, rgba(7, 13, 34, 0) 28%); }
.hero__content { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 150px; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title { font-size: clamp(58px, 10.5vw, 158px); line-height: .86; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent { color: transparent; background: linear-gradient(100deg, #ffd27a 0%, var(--gold) 40%, #b9771f 100%); -webkit-background-clip: text; background-clip: text; }
.hero__lead { max-width: 500px; font-size: clamp(16px, 1.4vw, 19px); color: #c6cee6; margin-bottom: 36px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2; display: flex; gap: 40px; align-items: flex-end; }
.hero__stat { border-left: 2px solid var(--accent); padding-left: 14px; }
.hero__stat b { display: block; font: 700 28px/1 var(--display); }
.hero__stat span { font-size: 12px; color: #9aa6c7; letter-spacing: .04em; }
.scroll-cue { margin-left: auto; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 20px; position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 720px) {
  .hero__veil { background: linear-gradient(0deg, rgba(7, 13, 34, .95) 0%, rgba(7, 13, 34, .55) 55%, rgba(7, 13, 34, .2) 100%); }
  .hero__content { padding-top: 38vh; padding-bottom: 170px; }
  .hero__meta { gap: 18px; flex-wrap: wrap; } .hero__stat:nth-child(3), .scroll-cue { display: none; }
  .hero__stat b { font-size: 22px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .14em; gap: 8px; white-space: nowrap; }
  .hero .eyebrow::before { width: 18px; }
}
@media (max-width: 400px) {
  .hero .eyebrow { letter-spacing: .06em; gap: 6px; font-size: 10px; }
  .hero .eyebrow::before { width: 12px; }
}

/* Ticker */
.ticker { background: var(--accent); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; align-items: center; gap: 28px; animation: tick 38s linear infinite; }
.ticker span { font: 700 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.ticker i { width: 10px; height: 10px; background: #fff; transform: rotate(45deg); opacity: .8; }
@keyframes tick { to { transform: translateX(-50%); } }

/* About */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about p { color: var(--ink-2); max-width: 600px; }
.about .lead { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 30px; }
.stat b { display: block; font: 800 clamp(46px, 5vw, 68px)/1 var(--display); color: var(--blue); }
.stat b span { display: inline; font: inherit; color: inherit; margin: 0; }
.stat > span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; margin-top: 8px; max-width: 170px; }
.about__visual { perspective: 1200px; }
.tilt-card { position: relative; border-radius: 22px; transform-style: preserve-3d; transition: transform .3s ease-out; }
.tilt-card img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(13, 22, 51, .55); }
.badge-float { position: absolute; left: -26px; bottom: 34px; background: var(--navy-800); color: #fff; padding: 18px 22px; border-radius: 14px; transform: translateZ(60px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); border-left: 3px solid var(--accent); }
.badge-float__k { display: block; font: 700 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #ff7a6c; margin-bottom: 6px; }
.badge-float__v { font: 700 22px/1 var(--display); text-transform: uppercase; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .badge-float { left: 12px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
}

/* Vision */
.vision { overflow: hidden; }
.vision::before { content: ""; position: absolute; right: -12vw; top: -10vw; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle, rgba(31, 79, 191, .35), transparent 65%); pointer-events: none; }
.vision__quote { font-size: clamp(34px, 4.6vw, 70px); line-height: 1; max-width: 1100px; margin-bottom: 70px; }
.vision__quote em { font-style: normal; color: var(--accent); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value { border-top: 2px solid var(--accent); padding-top: 24px; }
.value__n { font: 600 13px/1 var(--body); color: #7f8bb0; letter-spacing: .1em; }
.value h3 { font-size: 30px; margin: 14px 0 12px; }
.value p { color: #a9b3d1; font-size: 15px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* Mission */
.mission { background: var(--white); }
.mission__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.engagements { list-style: none; margin: 0; padding: 0; }
.engagements li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--ink-2); transition: background .3s, padding .4s var(--ease); }
.engagements li:last-child { border-bottom: 1px solid var(--line); }
.engagements li:hover { padding-left: 12px; }
.engagements span { font: 800 36px/1 var(--display); color: var(--blue); }
.engagements b { color: var(--ink); }
.clients { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); margin-top: clamp(80px, 10vw, 140px); }
.clients__text p { color: var(--ink-2); }
.list-label { font: 700 11px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.ruled { list-style: none; padding: 0; margin: 0 0 14px; }
.ruled li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 26px/1.1 var(--display); text-transform: uppercase; transition: color .3s, padding .4s var(--ease); }
.ruled li:hover { color: var(--accent); padding-left: 8px; }
.ruled li span { font: 600 12px/1 var(--body); color: var(--blue); }
.ruled--sm li { font: 500 16px/1.4 var(--body); text-transform: none; padding: 13px 0; }
@media (max-width: 860px) { .mission__grid, .clients { grid-template-columns: 1fr; } }

/* Produits */
.products { background: radial-gradient(90% 60% at 50% 0%, #142254 0%, var(--navy-800) 60%); }
.products__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.products__intro { color: #a9b3d1; max-width: 520px; justify-self: end; }
.lab { display: grid; grid-template-columns: 260px 1fr 400px; gap: 22px; min-height: 620px; }
.lab__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lab__list button {
  width: 100%; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; text-align: left; padding: 13px 16px; cursor: pointer;
  border-radius: 12px; border: 1px solid transparent; background: transparent; color: #c6cee6; font: 500 14px/1.25 var(--body); transition: background .3s, border-color .3s, color .3s;
}
.lab__list button small { display: block; font: 700 18px/1 var(--display); color: #fff; margin-bottom: 3px; }
.lab__list button i { font-style: normal; font: 600 11px/1 var(--body); color: #6e7aa0; }
.lab__list button:hover { background: rgba(255, 255, 255, .04); }
.lab__list button[aria-selected="true"] { background: linear-gradient(90deg, rgba(234, 74, 60, .18), rgba(255, 255, 255, .03)); border-color: rgba(234, 74, 60, .45); color: #fff; }
.lab__list button[aria-selected="true"] i { color: var(--accent); }
.lab__stage { position: relative; border-radius: 22px; background: radial-gradient(70% 70% at 50% 45%, #1d3170 0%, #0d1838 70%); border: 1px solid var(--line-light); overflow: hidden; min-height: 460px; }
.lab__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
#mol-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#mol-canvas:active { cursor: grabbing; }
.lab__formula { position: absolute; left: 24px; top: 18px; font: 800 clamp(56px, 7vw, 96px)/1 var(--display); color: rgba(255, 255, 255, .09); pointer-events: none; }
.lab__hint { position: absolute; left: 24px; bottom: 20px; font-size: 12px; color: #8e9bc3; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.lab__hint span { width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.lab__hint span::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.lab__legend { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; pointer-events: none; }
.lab__legend span { display: flex; align-items: center; gap: 6px; font: 600 12px/1 var(--body); color: #c6cee6; }
.lab__legend i { width: 10px; height: 10px; border-radius: 50%; }
.lab__panel { background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.panel__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e8ebf3; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.panel__badge { position: absolute; right: 14px; bottom: 14px; background: var(--navy-800); color: #fff; font: 700 24px/1 var(--display); padding: 10px 14px; border-radius: 8px; }
.panel__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.panel__num { font: 700 11px/1 var(--body); letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.panel__body h3 { font-size: 38px; margin: 10px 0 4px; color: var(--ink); }
.panel__sub { font: 600 14px/1.3 var(--body); color: var(--blue); margin-bottom: 18px; }
.panel__kv { border-top: 1px solid var(--line); padding: 12px 0; display: grid; gap: 4px; }
.panel__kv span { font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.panel__kv b { font-weight: 600; font-size: 15px; }
.panel__perks { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; padding: 0; list-style: none; }
.panel__perks li { font-size: 12px; font-weight: 600; background: #eef2fb; color: var(--blue); padding: 6px 10px; border-radius: 999px; }
.panel__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 12px; }
.panel__actions .btn { --h: 46px; padding: 0 20px; font-size: 14px; }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
@media (max-width: 1180px) {
  .lab { grid-template-columns: 1fr 1fr; }
  .lab__list { grid-column: 1 / -1; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .lab__list::-webkit-scrollbar { display: none; }
  .lab__list li { flex: 0 0 auto; scroll-snap-align: start; }
  .lab__list button { width: auto; min-width: 190px; border-color: var(--line-light); }
}
@media (max-width: 760px) {
  .products__head { grid-template-columns: 1fr; margin-bottom: 36px; } .products__intro { justify-self: start; }
  .lab { grid-template-columns: 1fr; }
  .lab__stage { min-height: 360px; }
  .lab__legend { top: 16px; bottom: auto; right: 14px; max-width: 60%; }
  .lab__formula { top: auto; bottom: 44px; font-size: 52px; }
  .lab__hint { left: 16px; bottom: 14px; }
}

/* Processus horizontal */
.process { background: var(--paper); position: relative; }
.process__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 60px; overflow: hidden; }
.process__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.process__head .h2 { margin: 0; }
.process__progress { width: 220px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; flex: none; margin-bottom: 14px; }
.process__progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.process__track { display: flex; gap: 22px; padding-left: max(16px, calc((100vw - 1240px) / 2)); padding-right: 10vw; width: max-content; will-change: transform; }
.step { width: clamp(270px, 28vw, 380px); flex: none; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(13, 22, 51, .5); transition: transform .5s var(--ease); }
.step:hover { transform: translateY(-8px); }
.step__img { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step__img img { transform: scale(1.07); }
.step__n { position: absolute; left: 14px; top: 14px; background: var(--accent); color: #fff; font: 700 20px/1 var(--display); padding: 8px 11px; border-radius: 8px; }
.step__body { padding: 20px 22px 24px; }
.step__body h3 { font-size: 28px; color: var(--ink); }
.step__body p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
@media (max-width: 860px) {
  .process__pin { min-height: 0; padding: 90px 0; }
  .process__head { flex-direction: column; align-items: start; }
  .process__progress { display: none; }
  .process__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .process__track::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; width: 78vw; }
}

/* Pourquoi */
.why { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1000px; }
.why__card {
  position: relative; padding: 30px 26px 34px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-light); transform-style: preserve-3d; transition: border-color .4s, transform .3s ease-out; overflow: hidden;
}
.why__card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(234, 74, 60, .18), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.why__card:hover { border-color: rgba(234, 74, 60, .5); }
.why__card:hover::after { opacity: 1; }
.why__n { font: 600 13px/1 var(--body); color: #7f8bb0; }
.why__ico { width: 46px; height: 46px; margin: 26px 0 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: translateZ(40px); }
.why__card h3 { font-size: clamp(24px, 2.3vw, 30px); transform: translateZ(30px); overflow-wrap: anywhere; }
.why__card p { margin: 12px 0 0; color: #a9b3d1; font-size: 15px; }
.why__tagline { margin-top: 56px; font: 700 clamp(22px, 2.4vw, 32px)/1.1 var(--display); text-transform: uppercase; color: var(--accent); border-top: 1px solid var(--line-light); padding-top: 30px; }
@media (max-width: 1000px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* Services */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service { background: #fff; border-radius: 20px; padding: 34px 32px; border: 1px solid transparent; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.service:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(13, 22, 51, .45); }
.service h3 { font-size: 30px; color: var(--ink); margin-bottom: 16px; }
.service h3 span { color: var(--accent); margin-right: 6px; }
.service p { color: var(--ink-2); margin: 0; font-size: 15px; }
@media (max-width: 760px) { .services__grid { grid-template-columns: 1fr; } }

/* Métaux */
.metals { overflow: hidden; }
.metals__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.metals__text p { color: #a9b3d1; max-width: 460px; }
.ingots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 14px; perspective: 900px; }
.ingot { text-align: center; }
.ingot__bar {
  position: relative; height: 92px; margin-bottom: 12px; transform: rotateX(38deg); transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.ingot:hover .ingot__bar { transform: rotateX(18deg) translateY(-8px); }
.ingot__top, .ingot__front { position: absolute; left: 0; right: 0; }
.ingot__top { top: 0; height: 64px; clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); background: var(--g1); }
.ingot__front { top: 64px; height: 28px; background: var(--g2); clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); }
.ingot__top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%); transform: translateX(-120%); transition: transform 1s var(--ease); }
.ingot:hover .ingot__top::after { transform: translateX(120%); }
.ingot__sym { position: absolute; inset: 0 0 auto; height: 64px; display: grid; place-items: center; font: 800 26px/1 var(--display); color: rgba(0, 0, 0, .45); text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.ingot b { display: block; font: 700 18px/1.1 var(--display); text-transform: uppercase; color: #fff; }
.ingot span { font-size: 11px; color: #7f8bb0; }
.m-au { --g1: linear-gradient(160deg, #fff1b8, #e7b13e 45%, #a8701b); --g2: linear-gradient(180deg, #b47c22, #6e4510); }
.m-cu { --g1: linear-gradient(160deg, #ffd0b3, #d77b48 45%, #8e4423); --g2: linear-gradient(180deg, #9a4d2a, #5a2a14); }
.m-al { --g1: linear-gradient(160deg, #ffffff, #c9d0da 45%, #8c96a6); --g2: linear-gradient(180deg, #98a2b1, #5d6574); }
.m-zn { --g1: linear-gradient(160deg, #eef3f6, #a9b9c4 45%, #6c7d8a); --g2: linear-gradient(180deg, #73838f, #46525b); }
.m-pb { --g1: linear-gradient(160deg, #b8bfcc, #6b7385 45%, #3d4352); --g2: linear-gradient(180deg, #4a5161, #262b35); }
.m-sn { --g1: linear-gradient(160deg, #f5f5f0, #c4c3b8 45%, #8a897e); --g2: linear-gradient(180deg, #918f84, #5c5b52); }
.m-brass { --g1: linear-gradient(160deg, #fff0b0, #c9a64a 45%, #8a6a1c); --g2: linear-gradient(180deg, #957323, #5c4410); }
.m-fe { --g1: linear-gradient(160deg, #dfe6ef, #8693a6 45%, #4b5568); --g2: linear-gradient(180deg, #566176, #2f3645); }
.m-ni { --g1: linear-gradient(160deg, #fbfaf3, #cfcbb8 45%, #8f8a76); --g2: linear-gradient(180deg, #9b967f, #5f5b4b); }
.m-alloy { --g1: linear-gradient(160deg, #fbe2d4, #c79a8a 30%, #9aa6bb 65%, #5a6478); --g2: linear-gradient(180deg, #7a7686, #3e4252); }
@media (max-width: 980px) { .metals__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ingots { grid-template-columns: repeat(3, 1fr); } }

/* Équipements */
.equipment { background: #fff; }
.equipment__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.equip-col h3 { font-size: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
@media (max-width: 900px) { .equipment__grid { grid-template-columns: 1fr; } }

/* Présence */
.presence { overflow: hidden; background: radial-gradient(70% 80% at 80% 50%, #142659 0%, var(--navy-900) 70%); }
.presence__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.presence p { color: #a9b3d1; max-width: 460px; }
.presence__keys { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.presence__keys li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: #dfe5f5; }
.k { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(226, 172, 63, .2); }
.k--hq { background: var(--accent); box-shadow: 0 0 0 4px rgba(234, 74, 60, .25); }
.globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; justify-self: end; }
#globe-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe__labels { position: absolute; inset: 0; pointer-events: none; }
.glabel { position: absolute; transform: translate(14px, -50%); font: 600 12px/1 var(--body); color: #fff; background: rgba(7, 13, 34, .75); border: 1px solid var(--line-light); padding: 7px 10px; border-radius: 6px; white-space: nowrap; transition: opacity .3s; backdrop-filter: blur(4px); }
.glabel--hq { border-color: rgba(234, 74, 60, .6); }
.glabel--left { transform: translate(calc(-100% - 14px), -50%); }
@media (max-width: 900px) { .presence__grid { grid-template-columns: 1fr; } .globe { justify-self: center; } }

/* Contact */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__title { font-size: clamp(54px, 7.4vw, 110px); line-height: .9; margin-bottom: 44px; }
.contact__title em { font-style: normal; color: var(--accent); }
.contact__cards { display: grid; gap: 12px; }
.ccard { background: #fff; border-radius: 16px; padding: 20px 22px; display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.ccard__k { font: 700 11px/1.6 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.ccard p { margin: 0; font-weight: 500; }
.ccard a:hover { color: var(--accent); }
.quote { background: var(--navy-800); color: #fff; border-radius: 24px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 50px 90px -50px rgba(13, 22, 51, .7); }
.quote h3 { font-size: 40px; color: #fff; margin-bottom: 8px; }
.quote .muted { color: #9aa6c7; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field span { font: 600 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #9aa6c7; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--body); color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light);
  border-radius: 10px; padding: 13px 14px; outline: none; transition: border-color .3s, background .3s; resize: vertical;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: rgba(255, 255, 255, .09); }
.field input.invalid { border-color: var(--accent); }
.quote__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.form-msg { margin: 14px 0 0; font-size: 14px; color: #9ee6b8; min-height: 1.4em; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } .ccard { grid-template-columns: 1fr; gap: 6px; } }

/* Footer */
.footer { background: var(--navy-900); color: #8e9bc3; padding: 70px 0 30px; font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer__logo { width: 180px; }
.footer p { margin: 0; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr; } }

/* Modal certificat */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 13, 34, .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog { position: relative; background: #fff; border-radius: 22px; width: min(860px, 100%); max-height: 88vh; overflow: auto; padding: clamp(24px, 4vw, 44px); transform: translateY(30px) scale(.98); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.cert__head { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.cert__formula { background: var(--navy-800); color: #fff; font: 700 26px/1 var(--display); padding: 12px 14px; border-radius: 10px; }
.cert__head h3 { font-size: 36px; }
.cert__cap { color: var(--ink-2); font-size: 14px; margin: 4px 0 22px; }
.cert-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cert-table th { text-align: left; font: 700 10px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: 10px 10px; border-bottom: 2px solid var(--ink); }
.cert-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.cert-table td:first-child { font-weight: 600; }
.cert-table td.ok { color: var(--blue); font-weight: 600; }
.cert-table tr:hover td { background: #f6f8fd; }
.cert__note { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.cert__scroll { overflow-x: auto; }

/* Révélations */
[data-reveal] { opacity: 0; transform: translateY(36px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .loader__logo, .scroll-cue span { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Grain */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
