/* Loaded after flight.css. The four flight chapters keep their native geometry. */
:root {
  --ink: #071426;
  --paper: #f5f8ff;
  --muted: #bbcce2;
  --rule: #a0bedc40;
  --blue: #a4caff;
  --navy: #102b4e;
  --royal: #245dcc;
  --electric: #4b91ff;
}

body { background: var(--ink); color: var(--paper); }
::selection { background: #c7deff; color: #091b36; }
:where(a,button,summary,input,textarea,select):focus-visible {
  outline: 3px solid #92bdff;
  outline-offset: 4px;
}

.masthead {
  height: 78px;
  border-bottom: 1px solid #e0ecff32;
  background: linear-gradient(180deg, #071426b8, #07142642);
}
.masthead.solid, .document .masthead, .menu-open .masthead {
  background: #091c35f5;
  border-color: #cee2ff2c;
}
.logo {
  gap: 7px;
  color: #f5f8ff;
  font-weight: 620;
  font-size: clamp(24px, 2.2vw, 35px);
  line-height: 1;
  letter-spacing: .14em;
}
.logo img, .logo svg {
  width: clamp(39px, 3.8vw, 57px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex: none;
}
.masthead nav { gap: clamp(16px, 2.7vw, 44px); }
.masthead nav a, .menu-button { min-height: 44px; display: inline-flex; align-items: center; }
.masthead .menu-button { display: none; }
.masthead .contact-btn, .hero-actions a[href="#offres"], .checkout-action,
#contact-form button[type="submit"], .payment-options button, .simulation .sim-actions [data-next] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid #81b3ff85;
  border-radius: 999px;
  background: linear-gradient(160deg, #2d69da 0%, #2156bc 76%);
  box-shadow: inset 0 1px 0 #cfe1ff36, 0 5px 17px #061d5133;
  color: #fff;
  font: 590 14px/1.28 Geist, Arial, sans-serif;
  text-decoration: none;
  min-height: 46px;
  cursor: pointer;
  transition: background-color .18s, box-shadow .2s, transform .2s;
}
.masthead .contact-btn { min-height: 44px; font-size: 13px; }
.hero-actions { gap: 10px 12px; }
.hero-actions a[href="#offres"] { order: -2; padding-inline: 23px; }
.hero-actions a[href="#contact"] {
  order: -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid #d8e8ff93;
  border-radius: 999px;
  background: #071a3399;
  color: #f5f8ff;
  font-size: 14px;
  font-weight: 540;
  transition: background-color .2s, border-color .2s;
}
.hero-actions a[href="#ascension"], .hero-actions a[href="#voyage-calme"] {
  padding: 9px 2px;
  min-height: 44px;
  background: transparent;
  border: none;
  color: #f5f8ff;
  box-shadow: none;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #d6e7ff80;
  text-underline-offset: 5px;
}
.hero-actions a[href="#contact"]:hover { background: #0d2d58d9; border-color: #e7f2ff; }
.scrim {
  background:
    linear-gradient(90deg, #06172cb3, #081a3333 52%, transparent 76%),
    linear-gradient(0deg, #051528ed, #0a24423d 22%, transparent 47%, transparent 84%, #0a193729);
}
.flight-content h1, .flight-content h2 { letter-spacing: -.063em; }
.flight-content em, .reduce-orbit em { color: #cce1ff; }
.introtext .lead { color: #f5f8ff; }
.eyebrow, .track-label { color: #d2e7ff; }
.track { border-top-color: #d5e9ff69; }
.pulse {
  background: #b0d7ff;
  box-shadow: 0 0 9px 2px #5f99ff77;
}
.waypoints a, .waypoints small, .track-count { color: #d0dff2; }
.waypoints a[aria-current]::before { border-color: #8abbff; }

.panel { padding-block: clamp(58px, 6.5vw, 110px); }
.section-meta {
  margin-bottom: clamp(32px, 4vw, 67px);
  font-size: 10px;
  letter-spacing: .12em;
  color: #bacde6;
}
.panel h2 em { color: #a9ceff; }
.studio {
  background: radial-gradient(ellipse at 95% 0%, #17395a 0, transparent 52%), #091b30;
}
.studio-grid, .contact-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
.studio-grid > div > p:not(.eyebrow) { color: #c5d6e8; }
.studio-grid details:first-child { border-top: 1px solid var(--rule); }
.studio-grid summary { min-height: 58px; transition: color .18s; }
.studio-grid summary b { font-weight: 300; color: #a4ceff; }
.studio-grid details[open] summary { color: #b7d8ff; }
.studio-grid details > p { color: #c7d7ea; line-height: 1.65; }

.plans {
  color: #0e2542;
  background: linear-gradient(132deg, #f5f8ff 6%, #e5edf9 100%);
  color-scheme: light;
}
.plans .section-meta, .plans .plan-meta, .terms { color: #415974; }
.plans h2 em { color: #325a8b; }
.plan-grid { gap: clamp(12px, 1.5vw, 25px); }
.offer {
  position: relative;
  min-width: 0;
  border: 1px solid #b4c6dd;
  border-radius: 12px;
  background: linear-gradient(150deg, #fff, #f2f6fc);
  box-shadow: 0 7px 18px #19395f0c;
  transition: box-shadow .24s, transform .24s, border-color .24s;
}
.offer::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0 0 auto auto;
  width: 42%;
  height: 68px;
  border-top-right-radius: inherit;
  background: repeating-radial-gradient(ellipse at 95% -66%, transparent 0 14px, #8aaed138 15px 16px, transparent 17px 29px);
  mask-image: linear-gradient(120deg, transparent, #000 60%);
}
.offer:nth-child(2)::before {
  background: repeating-radial-gradient(ellipse at 120% -40%, transparent 0 17px, #8fbeff31 18px 19px, transparent 20px 31px);
}
.offer:nth-child(3)::before {
  background: repeating-linear-gradient(145deg, transparent 0 12px, #87a6c82e 13px 14px, transparent 15px 25px);
  mask-image: linear-gradient(135deg, transparent, #000 96%);
}
.offer .plan-meta { position: relative; }
.offer .plan-meta { align-items: center; min-height: 24px; }
.offer:nth-child(2) {
  background: radial-gradient(ellipse at 110% -10%, #285490 0%, transparent 52%), #102b4e;
  color: #f5f8ff;
  border-color: #31598b;
  box-shadow: 0 14px 36px #102b4e29;
}
.offer:nth-child(2) .plan-meta, .offer:nth-child(2) > p { color: #cddef3; }
.plan-meta b {
  color: #e8f3ff;
  font-size: 9px;
  padding: 4px 8px;
  border: 1px solid #a2c7ff57;
  border-radius: 99px;
  letter-spacing: .07em;
}
.price { line-height: 1.15; font-variant-numeric: tabular-nums; }
.offer h3 { text-wrap: balance; }
.offer li { padding-block: 5px; line-height: 1.42; }
.offer li::before { content: '+'; color: #2d5a94; opacity: 1; }
.offer:nth-child(2) li::before { color: #a4ceff; }
.offer .offer-actions { gap: 4px; }
.offer .offer-actions .checkout-action { width: 100%; }
.offer .offer-actions .discuss, .offer:nth-child(2) .offer-actions .discuss {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  font-weight: 500;
  font-size: 13px;
  justify-content: center;
}
.offer .offer-actions .choose { justify-self: center; color: inherit; }
.offer :is(a,button):focus-visible, #contact-form :is(input,select,textarea):focus-visible {
  outline: 3px solid #3c77d0;
  outline-offset: 2px;
}
.offer:nth-child(2) :is(a,button):focus-visible { outline-color: #c7dfff; }
.answers { background: #0b203c; }

footer, #contact.panel {
  background: radial-gradient(ellipse at 0% 100%, #123260, transparent 54%), #071426;
}
.contact-layout {
  display: grid;
  align-items: start;
  gap: clamp(28px, 7vw, 120px);
}
.contact-layout > * { min-width: 0; }
.contact-layout h2 { margin: 0 0 18px; }
.contact-layout p, .legal p { color: #cadaec; }
.contact-layout a[href^="mailto"], .contact-layout a[href^="tel"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #d8e9ff;
  text-decoration: underline;
  text-decoration-color: #85b2f27a;
  text-underline-offset: 5px;
}
#contact-form {
  color: #142b45;
  color-scheme: light;
  background: #f5f8ff;
  border: 1px solid #dee8f5;
  padding: clamp(19px, 2.7vw, 44px);
  border-radius: 12px;
  box-shadow: 0 13px 42px #030a1430;
}
#contact-form label { display: block; margin-bottom: 13px; font-size: 14px; font-weight: 570; }
#contact-form :is(input,select,textarea):not([type="checkbox"]) {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 5px;
  border: 1px solid #93a7bd;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: #102b4e;
  font: 400 16px/1.4 Geist, Arial, sans-serif;
}
#contact-form textarea { resize: vertical; }
#contact-form p, #contact-form small { color: #40556f; }
#contact-form :is([role="status"],[role="alert"]):not(:empty) { margin-top: 12px; }
#contact-form button[type="submit"] { margin-top: 4px; }
#contact-form button:disabled, .checkout-dialog button:disabled { cursor: wait; opacity: .7; }
.foot-base { flex-wrap: wrap; }
.foot-base a { min-height: 44px; display: inline-flex; align-items: center; }
.legal { max-width: 1020px; padding-top: clamp(105px, 13vw, 180px); }
.legal a { color: #a8cdff; text-underline-offset: 4px; }
.legal p { max-width: 68ch; }
.simulation, .checkout-dialog {
  color-scheme: dark;
  color: #f5f8ff;
  background: linear-gradient(145deg, #122f52, #091b32 78%);
  border: 1px solid #587396;
  border-radius: 14px;
  width: min(520px, calc(100% - 24px));
  max-height: 88dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 22px 70px #02081470;
}
.simulation::backdrop, .checkout-dialog::backdrop { background: #020c19cd; }
.checkout-dialog h2 { font-size: clamp(32px, 4vw, 52px); margin: 12px 0; }
.checkout-dialog p { margin-block: 12px; color: #d3deec; }
.checkout-dialog a { color: #b8d6ff; text-underline-offset: 4px; }
.checkout-dialog [data-close], .checkout-dialog [data-close-checkout], .simulation header button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid #b2c7e150;
  background: transparent;
  color: #f5f8ff;
}
.payment-options { display: grid; gap: 10px; margin-top: 16px; }
.simulation input:not([type="checkbox"]), .simulation textarea { background: #081b31; font-size: 16px; }
.simulation .sim-actions button { min-height: 44px; }

@media (min-width: 941px) and (max-width: 1120px) {
  .offer { padding: 21px 17px; }
}
@media (max-width: 760px) {
  .masthead { height: 64px; column-gap: 8px; }
  .masthead .logo { margin-right: auto; gap: 3px; font-size: 21px; letter-spacing: .1em; }
  .masthead .logo img, .masthead .logo svg { width: 33px; }
  .masthead .contact-btn { display: inline-flex; padding-inline: 12px; gap: 5px; font-size: 12px; }
  .masthead .menu-button { display: inline-flex; padding-inline: 12px; background: #10233cbd; }
  .menu-open #mobile-nav { top: 64px; background: #0a1d36; }
  .scrim {
    background: linear-gradient(0deg, #041124f7 3%, #081b34ce 32%, #081a343d 66%, #091c2d22);
  }
  .hero-actions { gap: 4px 8px; }
  .hero-actions a[href="#offres"], .hero-actions a[href="#contact"] { padding: 10px 14px; gap: 6px; font-size: 13px; }
  .hero-actions a[href="#ascension"], .hero-actions a[href="#voyage-calme"] { flex-basis: 100%; justify-content: flex-start; }
  .studio-grid, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .offer .plan-meta { min-height: 21px; }
  .contact-layout { gap: 22px; }
}
@media (max-width: 350px) {
  .masthead { padding-inline: 12px; }
  .masthead .contact-btn span { display: none; }
  .hero-actions a[href="#offres"], .hero-actions a[href="#contact"] { padding-inline: 11px; }
  .flight-content h1 { font-size: clamp(40px, 13.5vw, 48px); }
}
@media (max-height: 570px) and (orientation: landscape) {
  .masthead { height: 49px; }
  .masthead .logo img, .masthead .logo svg { width: 32px; }
  .menu-open #mobile-nav { top: 49px; max-height: calc(100dvh - 49px); overflow: auto; }
  .introtext { top: 50%; bottom: auto; transform: translateY(-50%); }
  .hero-actions a[href="#ascension"] { flex-basis: auto; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .offer:hover {
    transform: translateY(-4px);
    border-color: #7399cc;
    box-shadow: 0 12px 29px #16335024;
  }
  :is(.checkout-action,.masthead .contact-btn,.hero-actions a[href="#offres"],#contact-form button[type="submit"],.payment-options button):hover {
    transform: translateY(-2px);
    background: #214fa6;
    box-shadow: inset 0 1px 0 #e0edff4d, 0 8px 20px #132d553b;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .plan-heading, .offer, .service-rows, .contact-layout {
      animation: surface-arrival linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes surface-arrival {
      from { opacity: .76; translate: 0 9px; }
      to { opacity: 1; translate: 0 0; }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .offer, .hero-actions a, .contact-btn, .checkout-action, .payment-options button { transition: none; }
}
