@font-face { font-family: Barlow; src: url(/fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(/fonts/barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Barlow; src: url(/fonts/barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

/* Échelle typo volontairement sobre (demande client : pas de grosse police, pas d'italique) :
   H1/H2 24–34 px, H3 19–20 px, texte 17 px, kicker 13 px. */
:root {
  --paper: #F2F0EA; --ink: #0C2A3C; --grey: #55544f; --line: #d9d6cc;
  --yellow: #E36A00; --dark: #0C2A3C; --soft: #c9c8c2;
  --font: Barlow, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --pad: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0; }
h2 { font-size: clamp(24px, 2.6vw, 34px); }
h3 { font-size: clamp(19px, 1.5vw, 20px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--yellow); }
.kicker--light { color: var(--soft); }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 3px; font-weight: 500; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2a; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #F27C17; }
.btn--line { border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-light { border-color: #ffffff66; color: #fff; }
.btn--line-light:hover { border-color: #fff; background: #ffffff14; }

/* ouverture */
.loader { position: fixed; inset: 0; z-index: 150; background: var(--ink); display: grid; place-content: center; justify-items: center; gap: 26px; transition: transform 1s var(--ease) .1s; }
.loader img { width: min(62vw, 260px); height: auto; opacity: 0; transform: translateY(12px); animation: up .8s var(--ease) .15s forwards; }
.loader__bar { width: min(62vw, 260px); height: 2px; background: #ffffff1f; position: relative; overflow: hidden; }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; animation: bar 1.1s var(--ease) .3s forwards; }
.loaded .loader { transform: translateY(-101%); }
.no-js .loader, .is-page .loader { display: none; }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes bar { to { transform: scaleX(1); } }

/* navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .35s, border-color .35s, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.nav__in { display: flex; align-items: center; gap: 32px; height: 72px; padding: 0 var(--pad); }
.nav__logo { position: relative; display: block; }
.nav__logo img { height: 30px; width: auto; transition: opacity .3s; }
.nav__logo--light { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav__links a { text-decoration: none; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav.is-solid { background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); border-color: var(--line); }
.nav.is-light { color: #fff; }
.nav.is-light .nav__logo--light { opacity: 1; }
.nav.is-light .nav__logo--dark { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }

/* bannière : deux colonnes de photos qui s'écartent au défilement */
.hero { position: relative; height: 300vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); --p: 0; }
.hero__side { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; z-index: 2; background: var(--dark); will-change: transform; }
.hero__side--l { left: 0; transform: translate3d(calc(var(--p) * -100%), 0, 0); }
.hero__side--r { right: 0; transform: translate3d(calc(var(--p) * 100%), 0, 0); }
.hero__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.5), transparent 30%, transparent 70%, rgba(0,0,0,.35)); pointer-events: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--p) * .12)); }
.js .hero__slide img { animation: zoom 7s linear both; }
@keyframes zoom { from { scale: 1.08; } to { scale: 1; } }
.hero__mark { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 24px; padding: 0 var(--pad); text-align: center; opacity: calc(.1 + var(--p) * 1.2); transform: scale(calc(.94 + var(--p) * .06)); }
.hero__mark img { width: min(84vw, 620px); height: auto; }
.hero__tag { font-size: clamp(13px, 1.3vw, 16px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); max-width: 40em; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero__hint { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: calc(1 - var(--p) * 4); }
.hero__hint span { width: 1px; height: 42px; background: linear-gradient(#fff0, #fff); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* qui sommes-nous (glisse par-dessus la bannière) */
.about { position: relative; z-index: 3; margin-top: -100vh; background: var(--dark); color: #fff; padding: clamp(80px, 12vw, 150px) 0; border-radius: 18px 18px 0 0; }
.about__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: center; }
.about .kicker { grid-column: 1 / -1; }
.about__txt { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.45; font-weight: 500; }
.about__txt .w { color: #ffffff2e; transition: color .3s; }
.about__txt .w.on { color: #fff; }
.about__pics { position: relative; aspect-ratio: 1 / 1.05; }
.about__pics img { position: absolute; object-fit: cover; border-radius: 4px; }
.about__p1 { width: 72%; height: 78%; right: 0; top: 0; }
.about__p2 { width: 52%; height: 44%; left: 0; bottom: 0; border: 6px solid var(--dark); }

/* sections */
.sec-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 48px; }
.sec-head .kicker { margin-bottom: 0; }
.sec-head__txt { color: var(--grey); }

/* services */
.services { padding: clamp(80px, 10vw, 130px) 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc { position: relative; background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .35s, transform .35s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px #0005; }
.svc__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__body { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc__n { font-size: 13px; font-weight: 600; color: var(--yellow); letter-spacing: .1em; }
.svc__body > p:not(.svc__n) { color: var(--grey); font-size: 16px; }
.svc__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; min-height: 44px; }
.svc__go::after { content: ""; position: absolute; inset: 0; }
.svc__go svg { width: 18px; height: 18px; transition: transform .3s; }
.svc:hover .svc__go svg { transform: translateX(5px); }

/* mécaniciens / entreprises */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.side { position: relative; min-height: min(92vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.side__bg { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; transform: translateY(calc(var(--par, 0) * 1px)); }
.side::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #0b0c0d40 0%, #0b0c0dcc 55%, #0b0c0df2 100%); }
.side__in { position: relative; z-index: 2; display: grid; gap: 18px; padding: clamp(32px, 5vw, 64px); max-width: 600px; }
.side__in p { color: #dcdbd5; }
.ticks { display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }

/* bande photo inclinée */
.film { padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; perspective: 1200px; }
.film__rot { transform: rotateY(-16deg) rotateZ(-2deg); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.film__track { display: flex; gap: 14px; width: max-content; transform: translate3d(calc(var(--x, 0) * 1px), 0, 0); }
.film__track li { width: clamp(220px, 26vw, 380px); aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; }
.film__track img { width: 100%; height: 100%; object-fit: cover; }

/* étapes */
.steps { padding: 0 0 clamp(80px, 10vw, 130px); }
.steps__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.steps__pics { position: sticky; top: 100px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--dark); }
.steps__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.steps__img.is-on { opacity: 1; transform: none; }
.steps__list { margin-top: 28px; }
.steps__list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 36px 0; border-top: 1px solid var(--line); min-height: 34vh; opacity: .35; transition: opacity .5s; }
.steps__list li.is-on { opacity: 1; }
.steps__list p { color: var(--grey); margin-top: 8px; }
.steps__n { font-size: 15px; font-weight: 600; color: var(--ink); border-top: 3px solid var(--yellow); padding-top: 8px; height: fit-content; }

/* galerie */
.gallery { padding: clamp(80px, 10vw, 130px) 0; background: #fff; }
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 17vw, 240px); gap: 12px; }
.g { margin: 0; overflow: hidden; border-radius: 4px; background: var(--dark); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }

/* contact */
.contact { position: relative; color: #fff; padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #0b0c0dc4; }
.contact__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact__in p:not(.kicker) { margin-top: 14px; color: #dcdbd5; max-width: 30em; }
.contact__list { display: grid; gap: 12px; }
.contact__item { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #ffffff12; border: 1px solid #ffffff2b; backdrop-filter: blur(8px); text-decoration: none; border-radius: 6px; font-size: 19px; font-weight: 500; transition: background .3s, transform .3s var(--ease); overflow-wrap: anywhere; }
.contact__item:hover { background: #ffffff22; transform: translateY(-2px); }
.contact__item svg { width: 26px; height: 26px; flex: none; color: var(--yellow); }
.contact__item span { flex: 1; min-width: 0; }
.contact__item svg:last-child { width: 20px; height: 20px; color: #fff; }
.contact__item small { display: block; font-size: 13px; font-weight: 400; color: var(--soft); }
.contact__item--wa { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.contact__item--wa:hover { background: #ffc21f; }
.contact__item--wa svg, .contact__item--wa svg:last-child { color: var(--ink); }
.contact__item--wa small { color: #3a3220; }

/* pied de page */
.foot { background: var(--ink); color: var(--soft); padding: 72px 0 24px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; }
.foot__brand { display: grid; gap: 16px; align-content: start; }
.foot__brand img { height: 32px; width: auto; }
.foot__h { color: #fff; font-weight: 600; margin-bottom: 12px; }
.foot__links { display: grid; gap: 8px; }
.foot__links a { text-decoration: none; overflow-wrap: anywhere; }
.foot__links a:hover { color: #fff; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid #ffffff1f; font-size: 13px; color: #8f8e88; }
.credit a { color: inherit; }

/* pages simples */
.is-page .nav { background: var(--paper); border-color: var(--line); }
.page { padding: 140px 0 96px; max-width: 760px; }
.page h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 24px; }
.page h2 { font-size: 20px; margin: 36px 0 10px; }
.page p + p { margin-top: 12px; }
.page .btn { margin-top: 24px; }
.creds { padding-left: 20px; list-style: disc; font-size: 14px; color: var(--grey); overflow-wrap: anywhere; display: grid; gap: 4px; margin-top: 10px; }

/* apparitions */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* barre mobile */
.bar { display: none; }

@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links { display: none; }
  .nav__in .btn { margin-left: auto; }
}
@media (max-width: 860px) {
  .hero__side { width: 100%; height: 50%; }
  .hero__side--l { top: 0; bottom: auto; transform: translate3d(0, calc(var(--p) * -100%), 0); }
  .hero__side--r { top: auto; bottom: 0; transform: translate3d(0, calc(var(--p) * 100%), 0); }
  .about__in, .duo, .steps__in, .contact__in, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .about__pics { max-width: 420px; width: 100%; }
  .steps__pics { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .steps__list li { min-height: 0; opacity: 1; padding: 26px 0; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
}
@media (max-width: 640px) {
  .nav__in { height: 64px; }
  .nav__logo img { height: 26px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .side { min-height: 0; padding-top: 220px; }
  .actions .btn, .hero__cta .btn { width: 100%; }
  .hero__cta { width: 100%; max-width: 340px; }
  .g--tall { grid-row: span 1; }
  .foot { padding-bottom: 100px; }
  .foot__bottom { flex-direction: column; }
  .bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 90; background: var(--ink); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; transform: translateY(110%); transition: transform .4s var(--ease); }
  .bar.is-on { transform: none; }
  .bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 3px; text-decoration: none; font-weight: 500; color: #fff; border: 1px solid #ffffff40; }
  .bar a:first-child { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
  .bar svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { display: none; }
  .hero { height: auto; }
  .hero__stage { --p: 1 !important; }
  .about { margin-top: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .about__txt .w { color: #fff; }
}

/* ---------- v2b : menu mobile, bande défilante, pourquoi, FAQ, agrandissement ---------- */
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .nav { color: #fff; background: none; border-color: transparent; transform: none; backdrop-filter: none; }
.menu-open .nav .nav__logo--light { opacity: 1; } .menu-open .nav .nav__logo--dark { opacity: 0; }
.menu { position: fixed; inset: 0; z-index: 95; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 90px var(--pad) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.menu.is-open { clip-path: inset(0); }
.menu__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.menu__in, .menu__cta { position: relative; }
.menu__in { display: grid; gap: 6px; }
.menu__in a { font-size: 24px; font-weight: 500; text-decoration: none; padding: 6px 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu.is-open .menu__in a { opacity: 1; transform: none; }
.menu.is-open .menu__in a:nth-child(2) { transition-delay: .05s; } .menu.is-open .menu__in a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__in a:nth-child(4) { transition-delay: .15s; } .menu.is-open .menu__in a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__in a:nth-child(6) { transition-delay: .25s; } .menu.is-open .menu__in a:nth-child(7) { transition-delay: .3s; }
.menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }


.why { padding: 0 0 clamp(80px, 10vw, 130px); }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why__item { padding: 32px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.why__item + .why__item { padding-left: 28px; border-left: 1px solid var(--line); }
.why__item svg { width: 34px; height: 34px; color: var(--ink); background: var(--yellow); padding: 6px; border-radius: 4px; }
.why__item p { color: var(--grey); font-size: 16px; }

.faq { padding: clamp(80px, 10vw, 130px) 0; }
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); }
.faq__item summary span::before, .faq__item summary span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.faq__item summary span::after { transform: rotate(90deg); }
.faq__item[open] summary span::after { transform: rotate(0); }
.faq__item p { color: var(--grey); padding: 0 50px 24px 0; }

.g button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.g-grid { grid-auto-flow: dense; }
.lb { border: 0; padding: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: #0b0c0df0; }
.lb[open] { display: grid; place-items: center; }
.lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lb__x { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.lb__x svg { width: 22px; height: 22px; }

@media (max-width: 1000px) {
  .burger { display: block; margin-left: auto; margin-right: -10px; }
  .nav__cta { display: none; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) { .faq__in { grid-template-columns: minmax(0, 1fr); } .faq__in .sec-head { margin-bottom: 0; } }
@media (max-width: 640px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__item, .why__item + .why__item { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .faq__item p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .menu__in a { opacity: 1; transform: none; } }

/* v3 : contenus maquette (chiffres, pénurie, pour qui, engagement, histoire) */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(48px, 6vw, 72px) 0; }
.stats__n { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: var(--yellow); line-height: 1; }
.stats p + p { color: var(--grey); margin-top: 10px; font-size: 16px; }
.split { padding: clamp(80px, 10vw, 130px) 0; }
.split__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 72px; align-items: start; }
.split__txt { display: grid; gap: 18px; color: var(--grey); }
.split__sign { color: var(--ink); font-weight: 600; }
.split__img { margin-top: 28px; border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.who { padding: 0 0 clamp(80px, 10vw, 130px); }
.who__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.who__card { border: 1px solid var(--line); border-top: 3px solid var(--yellow); padding: 26px; display: grid; gap: 10px; align-content: start; background: #fff; }
.who__card p { color: var(--grey); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chips li { border: 1px solid var(--line); padding: 8px 16px; font-size: 15px; font-weight: 500; border-radius: 3px; }
.who__engins { color: var(--grey); font-size: 15px; margin-top: 16px; }
.pledge { background: var(--yellow); color: var(--ink); padding: clamp(72px, 9vw, 110px) 0; }
.pledge__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.pledge .kicker { color: var(--ink); } .pledge .kicker::before { background: var(--ink); }
.pledge__txt { margin-top: 16px; font-size: 18px; }
.pledge__box { background: var(--dark); color: #fff; padding: 36px; border-radius: 4px; display: grid; gap: 14px; }
.pledge__box p { color: var(--soft); }
.pledge__box h3 { color: #fff; }
@media (max-width: 1000px) { .stats__in, .who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .split__in, .pledge__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .stats__in, .who__grid { grid-template-columns: minmax(0, 1fr); } }

/* v3.1 « plus pro » : surfaces sobres, une seule logique de cartes (filets), pas d’effets de survol gadgets */
.svc { background: transparent; border: 0; border-radius: 0; }
.svc:hover { transform: none; box-shadow: none; }
.svc:hover .svc__img img { transform: none; }
.svc__img { border-radius: 2px; }
.svc__body { padding: 16px 0 0; margin-top: 16px; border-top: 1px solid var(--ink); }
.svc-grid { gap: 48px 28px; }
.who__card { background: transparent; border: 0; border-top: 1px solid var(--ink); padding: 20px 0 0; }
.chips li { border-radius: 0; background: #fff; }
.steps__pics, .split__img, .about__pics img, .pledge__box, .g button, .g img { border-radius: 2px; }
.btn { border-radius: 2px; }
.btn:hover { transform: none; }
.stats__in > div { border-left: 1px solid var(--line); padding-left: 20px; }
.who + .services { padding-top: clamp(40px, 5vw, 60px); }

/* v3.2 bas de page */
.foot { border-top: 3px solid var(--yellow); padding-top: clamp(56px, 7vw, 88px); }
.foot__in { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.1fr); gap: 40px 48px; }
.foot__brand p { max-width: 34ch; }
.foot__facts { display: grid; gap: 6px; margin-top: 6px; padding-top: 16px; border-top: 1px solid #ffffff1f; font-size: 14px; }
.foot__facts b { color: #fff; font-weight: 600; }
.foot__h { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: #fff; margin-bottom: 18px; }
.foot__links { gap: 10px; }
.foot__links a { transition: color .2s; }
.foot__contact a { display: inline-flex; align-items: center; gap: 10px; }
.foot__contact svg { width: 18px; height: 18px; flex: none; color: var(--yellow); }
.foot__cta { margin-top: 22px; }
.foot__cta svg { width: 18px; height: 18px; }
.foot__bottom { align-items: center; }
.foot__bottom a { color: inherit; }
.foot__bottom a:hover { color: #fff; }
.foot__top { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.foot__top svg { width: 16px; height: 16px; }
@media (max-width: 1000px) { .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .foot__in > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__in { gap: 36px 20px; } .foot__bottom { align-items: flex-start; } }

/* v4 (retours Josuan 03/12) : plus de sections fond azur, engins en défilé, partie Postuler, contact à deux voies, duo aligné */
.is-dark { background: var(--dark); color: #fff; }
.is-dark .sec-head__txt, .is-dark .split__txt, .is-dark .svc__body > p:not(.svc__n), .is-dark .apply__list p { color: var(--soft); }
.is-dark .split__sign { color: #fff; }
.stats { border-bottom: 0; }
.who + .services { padding-top: clamp(80px, 10vw, 130px); }

.svc-rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.services .svc-grid { display: flex; gap: 28px; width: max-content; animation: rail 60s linear infinite; }
.services .svc-rail:hover .svc-grid { animation-play-state: paused; }
.services .svc { width: clamp(260px, 26vw, 360px); flex: none; }
.is-dark .svc__body { border-top-color: #ffffff40; }
@keyframes rail { to { transform: translateX(calc(-50% - 14px)); } }

.apply { padding: clamp(80px, 10vw, 130px) 0; }
.apply__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 6vw, 90px); align-items: center; }
.apply__pics { position: relative; aspect-ratio: 1 / 1.1; }
.apply__pics img { position: absolute; object-fit: cover; border-radius: 2px; }
.apply__p1 { width: 70%; height: 82%; left: 0; top: 0; }
.apply__p2 { width: 50%; height: 50%; right: 0; bottom: 0; border: 6px solid var(--dark); }
.apply__txt { color: var(--soft); margin-top: 14px; }
.apply__list { margin: 28px 0 30px; border-top: 1px solid #ffffff26; }
.apply__list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid #ffffff26; }
.apply__list p { margin-top: 6px; font-size: 16px; }
.apply .steps__n { color: #fff; }

.contact__in { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 32px 48px; }
.contact__head { grid-column: 1 / -1; }
.contact__col { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.contact__col > p { margin-top: 0 !important; }
.contact__list { margin-top: 10px; }

/* « Ici c’est pas aligné » : les deux colonnes partagent les mêmes lignes (titre, texte, liste, boutons) */
@media (min-width: 861px) {
  .duo { grid-template-rows: minmax(0, 1fr) repeat(5, auto); min-height: min(92vh, 760px); }
  .side { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; min-height: 0; }
  .side__in { grid-row: 2 / -1; grid-template-rows: subgrid; row-gap: 18px; max-width: none; }
  .side__in .kicker { margin-bottom: 0; }
}
@media (max-width: 860px) {
  .apply__in, .contact__in { grid-template-columns: minmax(0, 1fr); }
  .apply__pics { max-width: 420px; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .services .svc-grid { flex-wrap: wrap; width: auto; padding: 0 var(--pad); }
  .services .svc[aria-hidden] { display: none; }
}
.duo .ticks { align-content: start; }

/* v4.1 (retours Josuan 03/12 soir) */
.hero__title { font-size: clamp(15px, 1.6vw, 20px); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.hero__title b { font-weight: 600; color: var(--yellow); }
.hero__mark img { width: min(88vw, 700px); }
.diag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.diag span { color: #fff; font-weight: 600; margin-right: 4px; }
.diag b { font-weight: 500; font-size: 15px; padding: 6px 14px; border: 1px solid #ffffff40; border-radius: 2px; color: #fff; }
.diag b::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--yellow); margin-right: 8px; vertical-align: middle; }

.tabs { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #ffffff12; border: 1px solid #ffffff26; border-radius: 3px; margin-bottom: clamp(40px, 5vw, 64px); }
.tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--yellow); border-radius: 2px; transition: transform .5s var(--ease); }
.tabs.is-m::before { transform: translateX(100%); }
.tabs button { position: relative; z-index: 1; border: 0; background: none; color: #fff; font: 500 16px var(--font); min-height: 48px; padding: 0 24px; cursor: pointer; transition: color .4s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.apply__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 90px); align-items: start; }
.apply__panel[hidden] { display: none; }
.apply__panel .actions { margin-top: 28px; }
.apply__panel .apply__list { margin: 0; }
.apply__panel.is-in > div { animation: panel-l .7s var(--ease) both; }
.apply__panel.is-in .apply__list li { animation: panel-r .7s var(--ease) both; }
.apply__panel.is-in .apply__list li:nth-child(2) { animation-delay: .08s; }
.apply__panel.is-in .apply__list li:nth-child(3) { animation-delay: .16s; }
@keyframes panel-l { from { opacity: 0; transform: translateX(-28px); } }
@keyframes panel-r { from { opacity: 0; transform: translateX(28px); } }
@media (max-width: 860px) { .apply__panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .tabs { display: grid; width: 100%; } .tabs button { padding: 0 8px; font-size: 14px; } }
.steps__img--r { object-position: 100% center; }

/* texte justifié (demande 03/12) : paragraphes seulement, césure française pour éviter les trous */
main p:not(.kicker):not(.svc__n):not(.stats__n):not(.split__sign):not(.diag):not(.hero__tag),
.foot__brand p, .faq__item p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.contact__item, .contact__item * { text-align: left; }

/* bouton WhatsApp flottant (comme Enjoy) + barre mobile flottante */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  box-shadow: 0 14px 34px rgba(12, 42, 60, .35); transform: scale(0); transition: transform .6s var(--ease), background .25s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float.is-on { transform: none; }
.wa-float.is-on:hover { transform: scale(1.08); background: #F27C17; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); animation: wa-ring 2.6s ease-out infinite; }
@keyframes wa-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
@media (max-width: 640px) {
  .wa-float { display: none; }
  .bar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; gap: 6px; border-radius: 999px; background: rgba(12, 42, 60, .88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #ffffff22; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transform: translateY(160%); }
  .bar a { border-radius: 999px; border: 0; min-height: 48px; }
  .bar a:last-child { background: #ffffff14; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* v4.11 mobile : textes courts alignés à gauche (le justifié creuse des trous en colonne étroite), cibles tactiles du pied ≥ 44 px */
@media (max-width: 640px) {
  .stats p, .who__card p, .svc__body p, .steps__list p, .apply__list p, .contact__col > p, .foot__brand p, .faq__item p, .pledge__box p { text-align: left !important; }
  .foot__links { gap: 0; }
  .foot__links a, .foot__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__bottom { gap: 4px; }
  .tabs button { min-height: 52px; }
}

/* v4.12 : aucun arrondi, partout (demande 03/12) */
*, *::before, *::after { border-radius: 0 !important; }
.faq .sec-head__txt { text-align: left !important; }

/* v4.13 « Pour qui » sur téléphone : cartes compactes, profils en bande glissante, engins à gauche */
@media (max-width: 640px) {
  .who { padding-bottom: 64px; }
  .who .sec-head { margin-bottom: 20px; }
  .who__grid { gap: 0; margin-top: 0; }
  .who__card { padding: 16px 0 18px; gap: 6px; }
  .who__card h3 { font-size: 17px; }
  .who__card p { font-size: 15px; line-height: 1.5; }
  .chips { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 22px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 6px;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { flex: none; scroll-snap-align: start; white-space: nowrap; font-size: 14px; padding: 8px 14px; }
  .who__engins { text-align: left !important; font-size: 14px; }
}

/* v4.14 bas de page sur téléphone : plus compact, CTA pleine largeur, mentions groupées */
@media (max-width: 640px) {
  .foot { padding-top: 44px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); font-size: 15px; }
  .foot__in { gap: 26px 16px; }
  .foot__brand { gap: 12px; }
  .foot__brand img { height: 28px; }
  .foot__facts { margin-top: 2px; padding-top: 12px; gap: 4px; font-size: 13px; }
  .foot__h { margin-bottom: 4px; font-size: 12px; }
  .foot__links a { min-height: 40px; }
  .foot__cta { display: flex; width: 100%; justify-content: center; min-height: 48px; margin-top: 12px; }
  .foot__bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; margin-top: 28px; padding-top: 14px; font-size: 12px; }
  .foot__bottom > p:first-child { grid-column: 1 / -1; }
  .foot__bottom a { min-height: 40px; }
}
