html:has(.page-home), body.page-home { overflow-x: clip; }
.page-home {
  --home-width: min(84vw, 1500px);
  --home-space: clamp(48px, 5.4vw, 100px);
  --home-ink: #101a2c;
  font-family: var(--site-font);
  color: var(--home-ink);
  background: white;
}
.home-main { line-height: 1.55; }
.home-main [hidden] { display: none !important; }
.home-width, .rail-inner { width: var(--home-width); margin-inline: auto; }
.home-main h1, .home-main h2, .home-main h3 { font-family: var(--site-heading); }
.home-main h2 { font-size: clamp(30px, 3.0vw, 54px); font-weight: 500; line-height: 1.12; letter-spacing: -.055em; text-wrap: balance; }
.home-main h3 { letter-spacing: -.035em; }
.home-main section[id] { scroll-margin-top: 110px; }
.band-inner { padding-block: var(--home-space); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(20px, 2vw, 34px); }
.link-arrow-new, .method-article, .solution-answer a { font-weight: 600; color: #07598e; }
.link-arrow-new, .method-article { display: inline-flex; gap: 9px; align-items: center; }
.link-arrow-new span, .method-article span { display: inline-block; transition: transform .22s; }
.link-arrow-new:hover span, .method-article:hover span { transform: translateX(4px); }
.link-arrow-new:hover, .method-article:hover, .solution-answer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content;
  min-height: 46px; padding: .75em 1.16em; border: 2px solid transparent; border-radius: 8px;
  font: 600 15px/1.35 var(--site-font); text-align: center; cursor: pointer;
  transition: background .18s, box-shadow .18s, transform .18s;
}
.button:hover { transform: translateY(-2px); }
.button.blue { color: white; background: #006ebb; }
.button.blue:hover { background: #00558e; }
.button.ice { background: #b9e4fc; color: #071b30; }
.button.ice:hover { background: #e1f5ff; }
.button.outline { border-color: #a6dcfa; background: #13113455; color: white; }
.button.outline:hover { background: #253651; }

.home-hero {
  background: radial-gradient(ellipse at 96% 12%, #345772, transparent 58%),
              linear-gradient(115deg, #0e1829 18%, #162f48 72%, #294553);
  color: #f7f9ff;
}
.hero-inner { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(24px, 4.2vw, 75px); padding-block: clamp(30px, 3.3vw, 62px); }
.hero-copy-new { min-width: 0; }
.hero-inner .motion-figure { width: min(100%, 570px); justify-self: end; }
.hero-kicker { margin-bottom: 16px; color: #b2d9ee; font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hero-copy-new h1 { max-width: 17ch; font-size: clamp(46px, 4.1vw, 79px); font-weight: 500; line-height: 1.025; letter-spacing: -.05em; text-wrap: balance; }
.hero-lead { max-width: 55ch; margin: 23px 0 30px; font-size: clamp(16px, 1.13vw, 21px); line-height: 1.53; color: #e2ebf6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-buttons .button { min-height: 49px; }
.play-symbol { display: inline-block; width: 0; height: 0; margin-left: 2px; border: solid transparent; border-width: 6px 0 6px 9px; border-left-color: currentColor; }
[data-playing="true"] .play-symbol { width: 10px; height: 12px; margin: 0; border: solid currentColor; border-width: 0 3px; }

.rail-marker { height: 0; }
.section-rail { position: sticky; z-index: 12; top: 12px; pointer-events: none; }
.section-rail::before { content: ""; position: absolute; inset: 0; z-index: -1; background: white; box-shadow: 0 1px 3px #0b254e25; transition: opacity .22s; }
.rail-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; background: white; pointer-events: auto; transition: padding .25s, border-radius .25s, box-shadow .25s; }
.rail-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 50px); }
.rail-links a { position: relative; display: grid; place-items: center; min-height: 47px; white-space: nowrap; color: #0d4169; font-size: 14px; font-weight: 600; }
.rail-links a::after { content: ""; position: absolute; bottom: 3px; left: 0; right: 0; height: 3px; border-radius: 2px; background: #075d99; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.rail-links a:hover::after, .rail-links a[aria-current]::after { transform: scaleX(1); }
.rail-inner > .button { min-height: 36px; padding: 6px 14px; font-size: 13px; flex: none; }
.section-rail.floating::before { opacity: 0; }
.section-rail.floating .rail-inner { padding: 0 24px; border-radius: 17px; box-shadow: 0 5px 26px #132b402e, 0 1px 5px #132b4015; }

.expertise-band { background: #dceef7; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(12px, 1.05vw, 22px); }
.expertise-card { display: flex; flex-direction: column; padding: 8px; border: 1px solid #dce1e4; border-radius: clamp(18px, 1.6vw, 30px); background: white; box-shadow: 0 2px 5px #102d401f, 0 1px 2px #102d4012; transition: box-shadow .26s, transform .26s; }
.card-image { border-radius: clamp(13px, 1.14vw, 22px); overflow: hidden; background: #e9eff6; }
.card-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.expertise-card:hover, .expertise-card:focus-within { box-shadow: 0 8px 20px #112f421f, 0 1px 3px #112f4210; transform: translateY(-4px); }
.expertise-card:hover img { transform: scale(1.035); }
.card-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(16px, 1.25vw, 26px) clamp(9px, 1vw, 20px) clamp(12px, 1vw, 20px); }
.card-copy h3 { font-size: clamp(19px, 1.42vw, 27px); font-weight: 600; line-height: 1.3; }
.card-copy p { margin: 15px 0 28px; font-size: clamp(15px, 1.02vw, 19px); color: #283547; }
.card-copy .button { margin-top: auto; min-height: 40px; font-size: clamp(13px,.95vw,16px); padding: .62em .91em; }

.solution-band { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at bottom right, #def3f5, transparent 54%), radial-gradient(ellipse at 0 45%, #e9ecfc, transparent 29%), #f5faff; }
.solution-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-block: clamp(25px, 2.3vw, 42px) clamp(24px, 3.3vw, 55px); }
.solution-tabs button { border: 0; background: #dceaf5; color: #0a416b; border-radius: 100px; padding: 12px 23px; cursor: pointer; font: 600 15px/1.3 var(--site-font); transition: background .2s, color .2s; }
.solution-tabs button[aria-selected="true"] { background: #075c98; color: white; }
.solution-tabs button:hover:not([aria-selected="true"]) { background: #c9e1f0; }
.solution-layout { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: start; gap: clamp(32px, 5.4vw, 118px); }
.solution-panel details { border-bottom: 1px solid #c4d3df; position: relative; margin-left: 20px; }
.solution-panel details[open]::before { content: ""; position: absolute; top: 5px; bottom: 8px; left: -20px; width: 3px; border-radius: 5px; background: #075387; }
.solution-panel summary { position: relative; cursor: pointer; padding: 19px 26px 19px 0; list-style: none; color: #132334; font: 600 clamp(18px,1.4vw,25px)/1.35 var(--site-font); letter-spacing: -.025em; }
.solution-panel summary::-webkit-details-marker { display: none; }
.solution-panel summary::after { content: ""; position: absolute; right: 5px; top: calc(50% - 5px); width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .26s; }
.solution-panel details[open] summary::after { transform: rotate(225deg); }
.solution-answer { padding-bottom: 23px; max-width: 43ch; }
.solution-answer p { margin: 0 0 17px; color: #354659; }
.solution-answer a { text-underline-offset: 3px; text-decoration: underline; }
.solution-frame { --frame-tone: #cbdde8; margin: 0; overflow: hidden; border-radius: clamp(18px, 1.7vw, 31px); background: linear-gradient(125deg, #eef4f8, var(--frame-tone)); }
.solution-frame[data-family="maintenance"] { --frame-tone: #c8ded5; }
.solution-frame[data-family="secteurs"] { --frame-tone: #d4d3e6; }
.solution-photo { position: relative; aspect-ratio: 1.54; }
.solution-photo img { display: block; width: 100%; height: 100%; padding: clamp(16px, 1.8vw, 34px); object-fit: contain; }
.solution-photo img[src^="assets/field/"] { padding: 0; object-fit: cover; }
.solution-photo img + img { position: absolute; inset: 0; }
.solution-answer { animation: answer-appear .3s both; }
@keyframes answer-appear { from { opacity: .4; transform: translateY(5px); } }

.stories { padding-block: var(--home-space); }
.story-track { display: flex; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; gap: clamp(13px, 1.5vw, 30px); padding: 8px calc((100% - var(--home-width)) / 2) 15px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.story-track::-webkit-scrollbar { display: none; }
.story { flex: 0 0 var(--home-width); scroll-snap-align: center; display: grid; grid-template-columns: 1fr 1fr; padding: 8px; gap: 8px; border: 1px solid #dce2e7; border-radius: 25px; background: white; box-shadow: 0 2px 5px #1b283726; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(22px, 2.55vw, 50px); }
.story-kind { font-size: 13px; font-weight: 600; color: #53607b; margin-bottom: 11px; }
.story-copy h3 { font-size: clamp(27px, 2.55vw, 46px); line-height: 1.12; font-weight: 500; letter-spacing: -.05em; }
.story-copy h3 + p { margin: 15px 0 25px; max-width: 54ch; }
.story-art { display: grid; place-items: center; min-width: 0; border-radius: 17px; background: linear-gradient(135deg,#edf3f6,#d1e0e9); }
.story:nth-child(2) .story-art { background: linear-gradient(135deg,#eaf3ee,#cbdedc); }
.story-art img { display: block; width: 100%; height: clamp(260px, 27vw, 425px); padding: 16px; object-fit: contain; }
.stories.in-view .story.is-current .story-art img { animation: tile-in .48s ease-out both; }
.story-controls { display: flex; align-items: center; gap: 8px; padding-top: 13px; }
.story-controls button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 2px solid #244970; border-radius: 50%; background: white; color: #244970; font: 500 24px/1 var(--site-font); cursor: pointer; }
.story-controls button:disabled { opacity: .28; cursor: default; }
.story-controls .story-play { margin-left: auto; border-radius: 8px; width: 33px; height: 33px; }
.story-controls button:hover:enabled { background: #edf5fb; }

.method-band { background: #f0f6fa; }
.method-layout { display: grid; grid-template-columns: 1.22fr 1fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.method-layout .motion-figure { width: min(100%, 480px); justify-self: center; }
.method-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; margin: 0; list-style: none; gap: clamp(17px,2.5vw,42px); }
.method-steps li { padding-top: 19px; border-top: 2px solid #b3cfe3; }
.method-steps h3 { font-size: 20px; font-weight: 600; }
.method-steps p { margin-top: 8px; color: #354659; }
.method-article { margin-top: 30px; }
.partner-strip {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr);
  align-items: start; gap: clamp(32px, 5vw, 84px); padding-block: var(--home-space);
}
.partner-strip h2 { max-width: 10ch; }
.client-logos {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.client-logos li {
  display: grid; place-items: center; min-width: 0; min-height: clamp(94px, 7.5vw, 132px);
  padding: 18px clamp(12px, 1.5vw, 28px); border-bottom: 1px solid #dce5eb;
}
.client-logos li:nth-last-child(-n+3) { border-bottom: 0; }
.client-logos img { display: block; width: auto; height: auto; max-width: min(100%, 175px); max-height: 55px; }
@media (max-width: 850px) {
  .partner-strip { grid-template-columns: 1fr; gap: 22px; }
  .partner-strip h2 { max-width: none; }
}
@media (max-width: 540px) {
  .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logos li { min-height: 83px; padding: 14px 12px; }
  .client-logos li:nth-last-child(-n+3) { border-bottom: 1px solid #dce5eb; }
  .client-logos li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .client-logos img { max-width: min(100%, 145px); max-height: 46px; }
}
.home-contact { background: #101831; color: white; padding-block: clamp(34px,4vw,68px); }
.home-contact .home-width { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-contact .button { flex: none; }
.home-main :focus-visible { outline: 2px dashed currentColor; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy-new > * { animation: hero-in .65s cubic-bezier(.17,.77,.24,1) backwards; }
  .hero-copy-new h1 { animation-delay: .06s; }
  .hero-lead { animation-delay: .13s; }
  .hero-buttons { animation-delay: .19s; }
  .reveal.arrived { animation: tile-in .65s var(--stagger,0ms) cubic-bezier(.2,.8,.2,1) backwards; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes tile-in { from { opacity: .55; transform: translateY(17px); } }
@media (max-width: 1100px) {
  .page-home { --home-width: 90vw; }
  .card-copy h3 { font-size: 18px; }
}
@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .solution-layout { grid-template-columns: .9fr 1.1fr; gap: 25px; }
}
@media (max-width: 720px) {
  .page-home { --home-width: calc(100vw - 40px); --home-space: 43px; }
  .hero-inner { grid-template-columns: 1fr; gap: 22px; padding: 34px 0 21px; }
  .hero-inner .motion-figure { justify-self: center; width: min(88%, 350px); }
  .hero-copy-new h1 { max-width: 17ch; font-size: clamp(36px,7.1vw,50px); line-height: 1.07; }
  .hero-kicker { font-size: 10px; margin-bottom: 13px; }
  .hero-lead { margin: 16px 0 21px; max-width: 48ch; font-size: 15px; }
  .hero-buttons { gap: 8px; }
  .hero-buttons .button { min-height: 42px; font-size: 13px; }
  .section-rail { top: 6px; }
  .rail-inner { width: 100%; padding: 0 12px; min-height: 52px; }
  .rail-links { justify-content: space-between; width: 100%; overflow: auto; scrollbar-width: none; gap: 14px; }
  .rail-links a { font-size: 12px; min-height: 43px; }
  .rail-inner > .button { display: none; }
  .section-rail.floating .rail-inner { width: calc(100% - 16px); padding: 0 12px; border-radius: 12px; }
  .home-main section[id] { scroll-margin-top: 74px; }
  .solution-layout { grid-template-columns: 1fr; gap: 21px; }
  .solution-tabs { gap: 6px; margin-block: 22px; }
  .solution-tabs button { padding: 9px 14px; font-size: 13px; }
  .solution-photo { aspect-ratio: 1.22; }
  .solution-panel summary { padding-block: 14px; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-copy { grid-row: 2; padding: 19px 14px 16px; }
  .story-art { grid-row: 1; }
  .story-art img { height: clamp(200px, 60vw, 285px); }
  .method-layout { grid-template-columns: 1fr; gap: 22px; }
  .method-layout .motion-figure { width: min(88%, 350px); }
  .story-copy h3 { font-size: 28px; }
  .story-copy h3 + p { margin-bottom: 18px; }
  .story-kind { margin-bottom: 7px; }
  .home-contact .home-width { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { padding: 8px; }
  .card-copy { padding: 15px 12px; }
  .card-copy h3 { font-size: 21px; }
  .card-copy p { margin: 9px 0 18px; }
  .method-steps { grid-template-columns: 1fr; }
  .section-heading .link-arrow-new { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.page-home) { scroll-behavior: auto; }
  .home-main *, .home-main *::before, .home-main *::after { animation: none !important; transition: none !important; }
}
