/* OpenWings Aviation — site V2 (motion) */
:root {
  --ink: #0B1B2B; --ink-2: #12273B; --amber: #D5822F; --paper: #F1EFEA; --paper-2: #E6E3DC;
  --mute: rgba(11, 27, 43, .48); --line: rgba(11, 27, 43, .12);
  --ease: cubic-bezier(.2, .8, .2, 1); --gut: clamp(16px, 5vw, 72px);
  --f: 'Archivo', system-ui, sans-serif; --m: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 17px/1.6 var(--f); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--m); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
::selection { background: var(--amber); color: var(--ink); }

/* progression */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }

/* logo */
.wm { display: inline-block; font-size: 31px; line-height: 1; letter-spacing: -.5px; font-weight: 400; white-space: nowrap; }
.wm b { font-weight: 800; }
.wm-av { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: 10.5px; letter-spacing: .5em; font-weight: 500; }
.wm-av i { flex: 1; height: 2px; background: currentColor; opacity: .8; }
.wm-av em { width: 16px; height: 3px; background: var(--amber); }

/* navigation */
.nav { position: fixed; top: 12px; left: 50%; translate: -50% 0; z-index: 50; width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 20px; border-radius: 18px; color: var(--paper);
  transition: background .35s, color .35s, box-shadow .35s, translate .45s var(--ease); }
.nav.solid { background: rgba(241, 239, 234, .78); color: var(--ink); box-shadow: 0 10px 40px rgba(11, 27, 43, .12), inset 0 0 0 1px rgba(11, 27, 43, .06);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
.nav.dark { background: rgba(11, 27, 43, .7); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(241, 239, 234, .1);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.nav.hide { translate: -50% -120%; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; border-radius: 10px; transition: background .2s; }
.nav-links a:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.langs { display: flex; padding: 3px; border-radius: 11px; background: color-mix(in srgb, currentColor 8%, transparent); }
.langs a { padding: 5px 9px; font: 500 11.5px var(--m); letter-spacing: .08em; border-radius: 8px; opacity: .65; transition: opacity .2s, background .2s; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.nav.solid .langs a[aria-current] { background: var(--ink); color: var(--paper); }
/* accès crew : discret, une icône */
.crew-link { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; opacity: .42; transition: opacity .25s, background .25s; }
.crew-link svg, .crew-foot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.crew-link:hover, .crew-link:focus-visible { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }

/* boutons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 13px;
  font: 600 15px var(--f); white-space: nowrap; cursor: pointer; border: 0; transition: background .25s, color .25s, box-shadow .25s, opacity .25s; will-change: transform; }
.btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .25s var(--ease); }
.btn:hover svg { translate: 4px 0; }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 8px 24px rgba(213, 130, 47, .32); }
.btn-amber:hover { box-shadow: 0 12px 32px rgba(213, 130, 47, .5); }
.nav .btn { height: 40px; font-size: 14px; padding: 0 16px; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-ghost { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(241, 239, 234, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--paper); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px var(--gut) clamp(96px, 14vh, 150px);
  color: var(--paper); background: var(--ink); overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 27, 43, .15) 0%, transparent 35%, rgba(11, 27, 43, .55) 100%); }
.hero-plane { position: absolute; z-index: -1; top: 12%; left: 0; width: clamp(240px, 30vw, 480px); height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .28)); will-change: transform; pointer-events: none; opacity: 0; }
.hero-in { max-width: 1100px; }
.avail { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 12px; border-radius: 99px;
  background: rgba(241, 239, 234, .08); box-shadow: inset 0 0 0 1px rgba(241, 239, 234, .16); font-size: 11px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: #5BD18B; box-shadow: 0 0 0 0 rgba(91, 209, 139, .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(91, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 209, 139, 0); } }
.h-hero { margin: 0; font-size: clamp(42px, 7.6vw, 118px); line-height: .98; letter-spacing: -.035em; font-weight: 800; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.in .w > span, .w.in > span { transform: none; }
.w-am > span { color: var(--amber); }
.w-mute > span { color: var(--mute); }
.lead { max-width: 620px; margin: 30px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(241, 239, 234, .78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.scroll-cue { position: absolute; left: var(--gut); bottom: 30px; display: flex; align-items: center; gap: 12px; font-size: 10.5px; color: rgba(241, 239, 234, .6); }
.scroll-cue i { position: relative; width: 1px; height: 38px; background: rgba(241, 239, 234, .2); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* révélation */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* sections */
section { position: relative; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--mute); }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--amber); }
.h2 { margin: 0; font-size: clamp(34px, 5vw, 74px); line-height: 1; letter-spacing: -.03em; font-weight: 800; }

/* en bref */
.glance { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(80px, 12vw, 160px) var(--gut); max-width: 1400px; margin: 0 auto; }
.glance-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; }
.glance-photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stat { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 24px; }
.stat span { display: block; color: var(--mute); font-size: 11px; }
.stat b { display: block; margin-top: 10px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }

/* transition PC-24 */
.flyby { position: relative; height: 40vh; min-height: 260px; margin-bottom: -1px; }
.fb-stick { position: relative; height: 100%; overflow: hidden; }
.fb-sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper) 0%, #DCE3E9 14%, #9DB0C2 36%, #4A6684 58%, #1B3048 78%, var(--ink) 92%); }
.fb-cloud { position: absolute; border-radius: 50%; filter: blur(6px); background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0)); will-change: transform; }
.fb-plane { position: absolute; left: 0; top: 16%; width: min(40vw, 540px); height: auto; will-change: transform;
  filter: drop-shadow(0 30px 40px rgba(11, 27, 43, .35)); transform: translate3d(-110%, 0, 0); }
.fb-tag { position: absolute; left: var(--gut); bottom: 6vh; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 11px; color: rgba(241, 239, 234, .7); }
.fb-tag i { width: 60px; height: 1px; background: var(--amber); }

/* services : piste horizontale épinglée */
.services { background: var(--ink); color: var(--paper); }
.services .kicker, .services .w-mute > span { color: rgba(241, 239, 234, .45); }
.sv-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 54px); overflow: hidden; padding: 90px 0 40px; }
.sv-head { position: relative; padding: 0 var(--gut); }
.sv-bar { position: absolute; right: var(--gut); bottom: 8px; width: 160px; height: 2px; background: rgba(241, 239, 234, .15); border-radius: 2px; overflow: hidden; }
.sv-bar i { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }
.sv-track { display: flex; gap: 22px; padding: 0 var(--gut); width: max-content; will-change: transform; }
.svc { flex: none; width: clamp(320px, min(36vw, 60vh), 600px); border-radius: 24px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(241, 239, 234, .08);
  display: flex; flex-direction: column; transition: box-shadow .3s; }
.svc:hover { box-shadow: inset 0 0 0 1px rgba(213, 130, 47, .45); }
.svc-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc.soon .svc-img img { filter: grayscale(.55) brightness(.8); }
.svc-no { position: absolute; left: 18px; bottom: 6px; font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--paper); text-shadow: 0 6px 30px rgba(0, 0, 0, .4); }
.svc-body { padding: 22px 24px 26px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 99px; font: 500 11px var(--m); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(91, 209, 139, .12); color: #8FE2B0; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-soon { background: rgba(213, 130, 47, .14); color: #F0B072; }
.svc h3 { margin: 14px 0 8px; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.svc p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(241, 239, 234, .7); }
.svc ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.svc li { padding: 5px 10px; border-radius: 8px; font-size: 13px; background: rgba(241, 239, 234, .07); color: rgba(241, 239, 234, .85); }

/* à propos */
.about { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(90px, 13vw, 170px) var(--gut); max-width: 1400px; margin: 0 auto; }
.about-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 22%; will-change: transform; }
.about-txt > p:not(.kicker) { max-width: 600px; margin: 22px 0 0; color: rgba(11, 27, 43, .78); }
.about-txt .h2 { margin-bottom: 12px; }
.cred { position: relative; padding: 16px 18px 16px 20px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 14px 40px rgba(11, 27, 43, .06); font-size: 15px; }
.cred::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--amber); }

/* défilant */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); }
.mq-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: mq 44s linear infinite; }
.mq-track span { font-size: clamp(26px, 3.4vw, 48px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.mq-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.mq-track i { font-style: normal; font-size: 18px; color: var(--amber); }
@keyframes mq { to { transform: translateX(-50%); } }

/* profils + SF50 qui pointe à droite */
.clients { position: relative; }
.sf50 { position: absolute; top: clamp(70px, 9vw, 130px); left: calc(50% + 50vw); width: min(46vw, 640px); height: auto; pointer-events: none;
  filter: drop-shadow(0 22px 30px rgba(11, 27, 43, .18)); will-change: transform; }
/* profils */
.clients { padding: clamp(90px, 12vw, 160px) var(--gut); max-width: 1400px; margin: 0 auto; }
.cl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; perspective: 900px; }
.cl { position: relative; padding: 26px 24px 30px; min-height: 250px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 50px rgba(11, 27, 43, .06);
  display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .3s; overflow: hidden; }
.cl::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(213, 130, 47, .14), transparent 45%); }
.cl:hover::after { opacity: 1; }
.cl:hover { box-shadow: 0 1px 0 var(--line), 0 26px 60px rgba(11, 27, 43, .12); }
.cl .mono { color: var(--amber); font-weight: 500; }
.cl h3 { margin: auto 0 8px; padding-top: 60px; font-size: 23px; line-height: 1.1; letter-spacing: -.02em; }
.cl p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(11, 27, 43, .66); }

/* demande */
.request { margin: 0 clamp(8px, 1.6vw, 24px); padding: clamp(70px, 10vw, 130px) calc(var(--gut) - clamp(8px, 1.6vw, 24px)); border-radius: 32px; background: var(--ink); color: var(--paper); overflow: hidden; }
.request::before { content: ''; position: absolute; right: -10%; top: -30%; width: 70%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(213, 130, 47, .10), transparent); }
.request .kicker { color: rgba(241, 239, 234, .5); }
.rq { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; margin-top: 50px; }
.rq-steps { display: grid; gap: 26px; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step legend { padding: 0; margin-bottom: 12px; color: rgba(241, 239, 234, .5); font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 42px; padding: 0 16px; border-radius: 12px; border: 0; cursor: pointer; font: 500 15px var(--f); color: var(--paper);
  background: rgba(241, 239, 234, .07); box-shadow: inset 0 0 0 1px rgba(241, 239, 234, .14); transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.chip:hover { background: rgba(241, 239, 234, .12); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed=true] { background: var(--paper); color: var(--ink); box-shadow: none; }
.chip:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.rq-sum { align-self: start; position: sticky; top: 100px; padding: 24px; border-radius: 22px; background: rgba(241, 239, 234, .06); box-shadow: inset 0 0 0 1px rgba(241, 239, 234, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.rq-sum > .mono { margin: 0 0 12px; color: rgba(241, 239, 234, .5); font-size: 11px; }
.rq-text { min-height: 96px; margin: 0 0 20px; font-size: 16px; line-height: 1.55; white-space: pre-line; }
.rq-text b { color: var(--amber); font-weight: 600; }
.rq-send { width: 100%; justify-content: center; }
.rq-send.is-off { opacity: .35; pointer-events: none; box-shadow: none; }
.rq-phone { display: block; margin-top: 22px; font-size: 12px; color: rgba(241, 239, 234, .7); }
.rq-phone:hover { color: var(--amber); }
.rq-note { margin: 6px 0 0; font-size: 13px; color: rgba(241, 239, 234, .5); }

/* pied */
.foot { padding: clamp(70px, 9vw, 110px) var(--gut) 26px; max-width: 1400px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.foot-brand .wm { font-size: 40px; }
.foot-brand p { max-width: 380px; margin: 18px 0 0; color: rgba(11, 27, 43, .62); font-size: 15px; }
.foot-top > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot-top > div > .mono { margin: 0 0 6px; color: var(--mute); font-size: 11px; }
.foot-top a:hover { color: var(--amber); }
.foot-top > div:not(.foot-brand) > span { color: var(--mute); }
.foot-bot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-top: 22px; font-size: 10.5px; color: var(--mute); }
.foot-bot span:nth-child(2) { margin-left: auto; }
.crew-foot { display: inline-flex; align-items: center; gap: 6px; opacity: .55; transition: opacity .2s, color .2s; }
.crew-foot svg { width: 12px; height: 12px; }
.crew-foot:hover { opacity: 1; color: var(--ink); }

/* responsive */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .cl-grid { grid-template-columns: 1fr 1fr; }
  .rq { grid-template-columns: 1fr; }
  .rq-sum { position: relative; top: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 8px; width: calc(100% - 16px); gap: 10px; padding: 8px 8px 8px 14px; }
  .nav .wm { font-size: 24px; }
  .nav .wm-av { font-size: 8px; gap: 6px; }
  .nav .btn { display: none; }
  .langs a { padding: 5px 7px; }
  .hero { padding-bottom: 120px; }
  .hero-plane { top: 11%; width: 46vw; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .glance, .about { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 1 / 1; max-height: 70vh; }
  /* services : défilement horizontal natif, sans épinglage */
  .services { height: auto !important; }
  .sv-pin { position: relative; height: auto; padding: 90px 0 70px; }
  .sv-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; padding-bottom: 6px; scroll-padding: 0 var(--gut); }
  .sv-track::-webkit-scrollbar { display: none; }
  .svc { width: 80vw; scroll-snap-align: start; }
  .sv-track [data-reveal] { opacity: 1; transform: none; }
  .sv-bar { display: none; }
  .flyby { height: 30vh; min-height: 210px; }
  .fb-plane { width: 76vw; top: 18%; }
  .sf50 { width: 66vw; top: 18px; }
  .clients { padding-top: 120px; }
  .cl-grid { grid-template-columns: 1fr; }
  .cl { min-height: 0; }
  .cl h3 { padding-top: 30px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bot span:nth-child(2) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-plane { transform: translate3d(10vw,0,0) !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .w > span { opacity: 1; transform: none; }
}
