:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --card: #1e1e1e;
  --line: rgba(255, 255, 255, .12);
  --mute: #8f8f8f;
  --dim: #5c5c5c;
  --gap: 16px;
  --pad: clamp(20px, 5.500vw, 80px);
  --r: 28px;
  --max: 1920px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font: 400 16px/1.500 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
[id] { scroll-margin-top: 24px; }

.ico { width: 1em; height: 1em; flex: none; }
.muted { color: var(--mute); }
.label { color: var(--mute); font-size: 14px; }

/* ---------- Éléments communs ---------- */
.wrap { padding: clamp(72px, 9vw, 130px) var(--pad) 0; max-width: var(--max); margin: 0 auto; }
.hero, .panel, .quote, .footer { max-width: calc(var(--max) - 2 * var(--gap)); }
.panel, .footer {
  margin: clamp(72px, 9vw, 130px) auto 0;
  width: calc(100% - 2 * var(--gap));
  padding: clamp(48px, 7vw, 104px) calc(var(--pad) - var(--gap));
  background: var(--panel);
  border-radius: var(--r);
}

.pill {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px;
  font-size: 13px; line-height: 1.400;
}
.pill span { color: var(--mute); }

h2 {
  font-size: clamp(34px, 4.400vw, 62px); line-height: 1.080; font-weight: 300; letter-spacing: -.020em;
  margin-top: 28px;
}
h2 strong, h1 strong { display: block; font-weight: 600; }
h1 strong { font-weight: 700; }

.head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 24px 48px; align-items: end; }
.head > p { color: var(--mute); font-size: 17px; padding-bottom: 8px; }
.head-cta { grid-template-columns: 1fr auto; }
.head-cta .btn { margin-bottom: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 6px 6px 6px 22px; border-radius: 99px;
  background: #fff; color: #000; font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: transform .2s;
}
.btn span, .go, .badge {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
}
.btn span { background: #000; color: #fff; font-size: 18px; transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }

.badge { background: rgba(255, 255, 255, .08); border: 1px solid var(--line); font-size: 18px; }
.go { background: #fff; color: #000; font-size: 16px; width: 36px; height: 36px; transition: transform .2s; }
a:hover > .go { transform: rotate(45deg); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(32px, 4.500vw, 64px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: var(--gap) auto; width: calc(100% - 2 * var(--gap)); border-radius: var(--r);
  min-height: clamp(620px, calc(100svh - 2 * var(--gap)), 900px);
  display: flex; flex-direction: column;
  padding: 20px calc(var(--pad) - var(--gap)) clamp(32px, 4.500vw, 60px);
}
/* Ordre des couches : fond du hero (0) < F (1) < textes du hero et sections suivantes (2). */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: var(--r);
  background-color: #2a3446;
  background-image:
    radial-gradient(120% 60% at 20% 34%, rgba(232, 144, 88, .75), transparent 60%),
    linear-gradient(180deg, #5b6a83 0%, #7a8194 22%, #b98566 36%, #56617a 50%, #2e3850 72%, #0f131c 100%);
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 12, 18, .15) 0%, transparent 35%, rgba(10, 10, 10, .55) 78%, var(--bg) 100%);
}

.nav { display: flex; gap: 10px; margin: 0 calc(-1 * (var(--pad) - var(--gap)) + 20px); position: relative; z-index: 3; }
.nav-bar, .nav-cta {
  display: flex; align-items: center; height: 64px; border-radius: 16px;
  background: rgba(18, 22, 30, .82); border: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-bar { flex: 1; padding: 0 28px 0 22px; justify-content: space-between; min-width: 0; }
.logo svg { display: block; height: 34px; fill: #fff; }
.nav nav { display: flex; gap: clamp(18px, 2.600vw, 36px); font-size: 16px; }
.nav nav a { opacity: .9; }
.nav nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { gap: 16px; padding: 0 12px 0 22px; font-weight: 500; white-space: nowrap; }
.nav-cta span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: #000; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 16px; cursor: pointer; }

/* Le « F » : grossit et se sépare en deux morceaux au défilement (--p de 0 à 1, réglé par main.js). */
/* Zone de découpe du F : bords du hero à gauche, à droite et en haut, mais prolongée vers le bas
   pour que le F passe derrière le texte de la section suivante au lieu d'être coupé. */
.hero-f-clip {
  position: absolute; z-index: 1; inset: 0 0 -90% 0; overflow: hidden; pointer-events: none;
  border-radius: var(--r) var(--r) 0 0;
}
.hero-main, .hero-foot, main { position: relative; z-index: 2; }
.hero-f {
  --p: 0;
  position: absolute;
  top: 7.400%; right: -5%; height: 45.200%; aspect-ratio: 810 / 620;
  overflow: visible;
  fill: rgba(255, 255, 255, .2);
  transform-origin: 55% 42%;
  transform: translateY(calc(var(--p) * 45%)) scale(calc(1 + var(--p) * .900));
  opacity: calc(1 - var(--p) * var(--p));
  will-change: transform, opacity;
}
.hero-f .f-top { transform: translate(calc(var(--p) * 75px), calc(var(--p) * -150px)); }
.hero-f .f-bot { transform: translate(calc(var(--p) * -75px), calc(var(--p) * 150px)); }

.hero-main { margin-top: clamp(40px, 7vh, 96px); }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px;
  background: rgba(20, 24, 32, .25); font-size: 15px;
}
.tag svg { height: 13px; fill: #fff; }
h1 { font-size: clamp(54px, 8.200vw, 118px); line-height: .980; font-weight: 300; letter-spacing: -.030em; margin: 22px 0 0 -.040em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 36px; }
.hero-actions .btn { font-size: 17px; padding: 8px 8px 8px 24px; }
.avail { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.300; }
.avail i { position: absolute; left: 0; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }

.hero-foot { margin-top: auto; padding-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.lead { max-width: 560px; font-size: clamp(17px, 1.450vw, 21px); line-height: 1.450; }
.hero-stat { font-size: 15px; line-height: 1.300; }
.hero-stat b { display: block; font-size: 28px; font-weight: 500; }

/* ---------- À propos ---------- */
.statement {
  margin-top: 30px; max-width: 1180px;
  font-size: clamp(27px, 3.850vw, 55px); line-height: 1.200; font-weight: 300; letter-spacing: -.020em; color: var(--dim);
}
.statement b { color: #fff; font-weight: 300; }
.statement strong { display: block; color: #fff; font-weight: 700; }
.continents { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 44px; font-size: 13px; letter-spacing: .100em; text-transform: uppercase; color: var(--mute); }
.continents li + li::before { content: "·"; margin: 0 14px; color: var(--dim); }
.continents li { cursor: default; transition: color .35s; }
.continents li:focus-visible { outline-offset: 6px; }
.continents.has-active li { color: var(--dim); }
.continents.has-active li.on { color: #fff; }

/* Silhouette du continent survolé : grande, en fond dans la moitié droite de la section
   (elle passe derrière la fin du texte), fondue dans le noir par une vignette. */
.about { position: relative; isolation: isolate; }
.continent-map {
  position: absolute; z-index: -1; pointer-events: none;
  left: 47.500%; right: 8px;
  top: calc(clamp(72px, 9vw, 130px) + 56px); bottom: -120px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
/* Zoom avant pendant le tracé : la silhouette part plus petite et grandit jusqu'à sa taille. */
.continent-map svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; scale: .820; filter: blur(14px);
  /* Sortie : fondu, flou et zoom arrière en même temps. */
  transition: opacity .6s, scale .6s ease-in, filter .6s;
}
.continent-map svg.on {
  opacity: 1; scale: 1; filter: blur(0);
  transition: opacity .4s, scale 2s cubic-bezier(.2, .7, .2, 1), filter 0s;
}
/* Chaque contour a pathLength="1" : le trait se dessine (dashoffset 1 -> 0), puis le remplissage arrive en fondu. */
.continent-map path {
  fill-opacity: 0; stroke: rgba(255, 255, 255, .6); stroke-width: .900; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 0s .6s, fill-opacity .6s;
}
.continent-map svg.on path {
  stroke-dashoffset: 0; fill-opacity: .160;
  transition: stroke-dashoffset 1.500s cubic-bezier(.45, 0, .2, 1), fill-opacity .9s .9s;
}

/* ---------- Services ---------- */
.service {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 308 / 540; padding: 22px 20px; border-radius: 16px;
  background: #26303f center / cover;
}
.service.s1 { background-image: linear-gradient(160deg, #cfe3f5, #2f6fd0 55%, #123a86); }
.service.s2 { background-image: linear-gradient(160deg, #d8c2a4, #7a4a2c 60%, #2e1b10); }
.service.s3 { background-image: linear-gradient(160deg, #e2ddd6, #9b948b 55%, #3f3b36); }
.service.s4 { background-image: linear-gradient(160deg, #ead9b8, #a8875a 55%, #3d2f1c); }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .7)); }
.service > * { position: relative; z-index: 1; }
.service .num, .service .go { position: absolute; top: 16px; }
.service .num { left: 16px; padding: 2px 10px; border-radius: 99px; background: rgba(255, 255, 255, .22); font-size: 12px; }
.service .go { right: 16px; }
.service h3 { font-size: clamp(22px, 2vw, 29px); line-height: 1.150; font-weight: 400; max-width: 9em; }
.service p { margin-top: 12px; font-size: 15px; line-height: 1.400; opacity: .9; }

#services .label { margin-top: 56px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pills li { padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; font-size: 15px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(32px, 4.500vw, 64px); }
.steps li { border-top: 1px solid var(--line); padding-top: 24px; }
.steps span { font-size: 13px; color: var(--mute); }
.steps h3 { font-size: clamp(22px, 2.100vw, 30px); font-weight: 400; margin: 14px 0 12px; }
.steps p { color: var(--mute); font-size: 17px; }

/* ---------- Pourquoi Chrono ---------- */
.panel h2 { margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: clamp(40px, 5vw, 72px); }
.stats div { border-top: 1px solid var(--line); padding-top: 20px; }
.stats dt { font-size: clamp(48px, 5.200vw, 76px); line-height: 1.100; font-weight: 300; letter-spacing: -.030em; }
.stats dd { color: var(--mute); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); }
.features article { background: var(--card); border: 1px solid rgba(255, 255, 255, .07); border-radius: 16px; padding: 24px 22px 32px; }
.features h3 { font-size: 18px; font-weight: 500; line-height: 1.300; margin: 48px 0 12px; }
.features p { color: var(--mute); font-size: 14.500px; }

/* ---------- Flotte ---------- */
.aircraft { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
.shot {
  grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap;
  aspect-ratio: 308 / 320; padding: 16px; margin-bottom: 20px; border-radius: 16px;
  background: #202024 center / cover;
}
.shot em { font-style: normal; font-size: 13px; padding: 4px 12px; border-radius: 99px; background: #000; }
.type { color: var(--mute); font-size: 13px; }
.model { grid-column: 1; font-size: 26px; line-height: 1.200; }
.aircraft .go { grid-column: 2; grid-row: 2 / 4; background: none; color: #fff; border: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 48px clamp(32px, 6vw, 96px); }
.faq .muted { margin: 24px 0 28px; font-size: 17px; max-width: 420px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.600vw, 22px); font-weight: 500; cursor: pointer; list-style: none;
}
.qa details:first-child summary { padding-top: 6px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: transform .25s; }
.qa details[open] summary span { transform: rotate(45deg); }
.qa details p { color: var(--mute); font-size: 17px; padding: 0 60px 28px 0; margin-top: -8px; }

/* ---------- Soumission ---------- */
.quote { display: grid; grid-template-columns: 46% 1fr; margin: clamp(72px, 9vw, 130px) auto 0; width: calc(100% - 2 * var(--gap)); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.quote-visual {
  display: grid; place-items: center; padding: clamp(24px, 6vw, 84px) clamp(16px, 4vw, 84px);
  background-color: #2a3446;
  background-image: linear-gradient(180deg, #5d7396 0%, #9aa3b5 28%, #d79a78 42%, #5a6884 58%, #1d2740 100%);
  background-size: cover; background-position: center;
}
.quote-form { width: 100%; max-width: 480px; display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(12, 13, 16, .94); border: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: #1b1c20; width: fit-content; max-width: 100%; flex-wrap: wrap; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs span { display: block; padding: 6px 14px; border-radius: 7px; font-size: 15px; color: #c9c9c9; cursor: pointer; }
.tabs input:checked + span { background: #fff; color: #000; font-weight: 500; }
.tabs input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.route, .field { border: 1px solid var(--line); border-radius: 10px; background: #111215; }
.route { position: relative; padding-right: 60px; }
.route label, .field { display: block; padding: 9px 12px; }
.route label + label { border-top: 1px solid var(--line); }
.route label { position: relative; }

/* Liste d'autocomplétion des aéroports */
.ac {
  position: absolute; z-index: 5; left: -1px; right: -61px; top: calc(100% + 4px);
  max-height: 320px; overflow-y: auto; padding: 4px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: #17181c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
}
.ac li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 15px; line-height: 1.300; }
.ac li[aria-selected=true], .ac li:hover { background: rgba(255, 255, 255, .1); }
.ac small { grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.500px; }
.ac b { grid-column: 2; grid-row: 1 / 3; align-self: center; font-weight: 500; font-size: 13px; color: var(--mute); letter-spacing: .040em; }
.quote-form small { display: block; font-size: 11.500px; color: var(--mute); }
.quote-form label > span { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-top: 2px; }
.quote-form input:not([type=radio]) { flex: 1; min-width: 0; width: 100%; background: none; border: 0; padding: 2px 0; outline: none; color-scheme: dark; }
.quote-form input::placeholder { color: #8b8b8b; }
.route:focus-within, .field:focus-within { border-color: rgba(255, 255, 255, .5); }
.swap { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border: 0; border-radius: 8px; background: #fff; color: #000; display: grid; place-items: center; cursor: pointer; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.submit { border: 0; border-radius: 10px; padding: 14px; background: #fff; color: #000; font-weight: 500; font-size: 16px; cursor: pointer; }
.submit:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 10px 12px; border-radius: 10px; font-size: 15px; background: #1b1c20; }
.form-msg.ok { background: rgba(61, 220, 132, .16); color: #8ff0b9; }
.form-msg.err { background: rgba(255, 99, 99, .16); color: #ffb0b0; }

.quote-text { padding: clamp(40px, 5vw, 72px) clamp(24px, 4.500vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.quote-text h2 { font-size: clamp(44px, 6.200vw, 92px); margin-top: auto; padding-top: 48px; }
.quote-text .muted { margin: clamp(40px, 8vw, 150px) 0 28px; font-size: 18px; max-width: 640px; }
.call { display: flex; align-items: center; gap: 14px; font-size: 19px; font-weight: 500; line-height: 1.250; }
.call small { display: block; font-size: 12px; font-weight: 400; color: var(--mute); }

/* ---------- Pied de page ---------- */
.footer { margin: var(--gap) auto; position: relative; overflow: hidden; }
.footer h2 { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr minmax(0, 300px); gap: 48px clamp(32px, 5vw, 80px); margin-top: 72px; font-size: 16px; }
.wordmark { font-style: italic; line-height: .820; text-transform: none; letter-spacing: -.020em; }
.wordmark b { display: block; font-size: 62px; font-weight: 800; letter-spacing: -.060em; }
.wordmark span { display: block; font-size: 44px; font-weight: 300; }
.slogan { margin: 14px 0 22px; }
.social { display: flex; gap: 10px; margin-top: 28px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); font-size: 17px; }
.social a:hover { background: #fff; color: #000; }
.foot-services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-content: start; }
.foot-services .label { grid-column: 1 / -1; margin-bottom: 20px; }
.foot-services li { margin-bottom: 14px; }
.foot-services a:hover, .legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-contact .label { margin-bottom: 20px; }
.foot-contact .call { margin-top: 22px; }
.foot-contact p.call { font-size: 16px; font-weight: 400; }
.foot-mark { display: flex; align-items: center; justify-content: center; gap: 2%; margin: clamp(48px, 7vw, 100px) 0; color: #2a2a2a; }
.foot-mark svg { width: 46%; fill: currentColor; }
.foot-mark .wordmark b { font-size: clamp(60px, 12vw, 170px); }
.foot-mark .wordmark span { font-size: clamp(44px, 9vw, 128px); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--mute); }
.legal i { font-style: normal; margin: 0 8px; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .head, .head-cta, .faq, .quote { grid-template-columns: 1fr; }
  .head > p { padding: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: 1fr; gap: 28px; }
  .hero-f { top: 12%; right: -24%; height: auto; width: 105%; }
  .continent-map { left: 0; right: 0; }
  .nav-toggle { display: block; }
  .nav nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 8px 22px; border-radius: 16px; background: rgba(18, 22, 30, .97);
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav nav a:last-child { border: 0; }
  .quote-text h2 { margin-top: 28px; padding-top: 0; }
}
@media (max-width: 560px) {
  :root { --gap: 10px; --r: 20px; }
  .nav { margin: 0 calc(-1 * (var(--pad) - var(--gap)) + 10px); }
  .nav-cta { display: none; }
  .features, .foot-grid, .row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .service { aspect-ratio: 4 / 3; }
  .qa details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
