/* ==========================================================================
   ATLAS — sistema visual
   Conceito: "Manifesto de voo". Revista de viagem impressa em documento de aviação.
   Swiss grid · filetes de 1px · tipografia grande · camada mono para dados de voo.
   ========================================================================== */

/* ---------- 1. Fontes ---------- */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* cor */
  --paper:    #f3f1ec;   /* off-white de papel */
  --paper-2:  #e9e5dd;   /* papel sombreado / parede de cabine */
  --ink:      #16181b;   /* grafite */
  --ink-2:    #43474d;   /* texto secundário (AA sobre papel) */
  --ink-3:    #63676d;   /* metadados (AA sobre papel) */
  --navy:     #0e2140;   /* azul cabine noturna — o azul do logo */
  --navy-2:   #0a1830;
  --ochre:    #d9a35b;   /* ocre do logo: só traços, pontos e foco */
  --on-dark:  #f3f1ec;
  --on-dark-2:#b9bec8;
  --line:     rgba(22, 24, 27, .16);
  --line-dark:rgba(243, 241, 236, .18);
  --error:    #b3261e;

  /* tipo */
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-display: clamp(3rem, 9vw, 10.25rem);
  --fs-h2:      clamp(2.4rem, 5.6vw, 5.5rem);
  --fs-h3:      clamp(1.5rem, 2.3vw, 2.2rem);
  --fs-lede:    clamp(1.0625rem, 1.25vw, 1.25rem);
  --fs-body:    1rem;
  --fs-mono:    .75rem;

  /* espaço e grade */
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1520px;
  --section: clamp(96px, 14vw, 200px);
  --header-h: 68px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 4. Utilitários tipográficos ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4;
}
.display {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.045em;
}
h2, .h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
}
h3, .h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.lede {
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- 5. Botões e links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 54px; padding: 0 20px 0 22px;
  border: 1px solid currentColor; border-radius: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .9375rem; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid { --btn-bg: var(--ink); --btn-fg: var(--paper); border-color: var(--ink); }
.btn--solid:hover { --btn-bg: var(--navy); border-color: var(--navy); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); border-color: var(--paper); }
.btn--light:hover { --btn-bg: transparent; --btn-fg: var(--paper); }
.btn--ghost-light { color: var(--paper); }
.btn--ghost-light:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); border-color: var(--paper); }

.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- 6. Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}
.site-header .wrap {
  height: 100%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.brand { display: block; width: 132px; }
.brand img { width: 100%; }
.nav-list { display: flex; justify-content: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-list a { font-size: .9375rem; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--ink); }
.nav-list a { position: relative; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-cta { min-height: 40px; padding: 0 14px 0 16px; gap: 18px; font-size: .875rem; }

/* progresso da página como uma rota GRU ——●—— ATL */
.flight-progress {
  display: flex; align-items: center; gap: 10px; color: var(--ink-3);
}
.flight-progress__track { position: relative; width: 84px; height: 1px; background: var(--line); }
.flight-progress__dot {
  position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ochre); transform: translateX(calc(var(--progress, 0) * 77px));
}

.menu-toggle {
  display: none; background: none; border: 0; padding: 10px 0; gap: 10px; align-items: center;
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .06em; text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 22px; height: 8px; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 6.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 3px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 3px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: var(--paper);
  padding: 28px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ol { border-top: 1px solid var(--line); }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a.mobile-menu__link {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 0;
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1;
  text-decoration: none;
}
.mobile-menu__link .mono { color: var(--ink-3); width: 2.2em; }

@media (max-width: 960px) {
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .site-header nav, .flight-progress, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand { width: 116px; }
}

/* ---------- 7. Seções: estrutura comum ---------- */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 28px;
  margin-bottom: clamp(56px, 8vw, 112px);
}
.section-index {
  grid-column: 1 / span 3;
  display: flex; gap: 14px; align-items: baseline; color: var(--ink-3);
  padding-top: .6em;
}
.section-index b { font-weight: 500; color: var(--ink); }
.section-head h2 { grid-column: 4 / -1; max-width: 15ch; }
.section-head .lede { grid-column: 7 / -1; }
@media (max-width: 860px) {
  .section-index, .section-head h2, .section-head .lede { grid-column: 1 / -1; }
}

/* reveal discreto (somente com JS e sem redução de movimento) */
.motion [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 8. Hero: a janela ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  background: var(--paper);
}
.motion .hero { height: 230svh; }
.hero__sticky {
  position: sticky; top: 0;
  height: 100svh; min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
/* o "slot" define, via CSS, onde a janela fica antes de abrir; o JS só interpola */
.hero__slot {
  position: absolute;
  top: calc(var(--header-h) + 9svh);
  right: 13vw;
  width: clamp(190px, 19vw, 310px);
  aspect-ratio: 5 / 7;
  visibility: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  clip-path: inset(var(--t, 0) var(--r, 0) var(--b, 0) var(--l, 0) round var(--rad, 0));
  background: var(--navy);
}
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img {
  object-fit: cover; object-position: 50% 42%;
  transform: scale(var(--zoom, 1));
  transform-origin: 60% 40%;
}
.hero__media::after { /* véu de legibilidade quando aberta */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 24, 48, .38), transparent 22%),
    linear-gradient(to top, rgba(10, 24, 48, .62), rgba(10, 24, 48, .1) 46%);
  opacity: var(--veil, 1);
}
.hero__frame {
  position: absolute; z-index: 1; pointer-events: none;
  top: var(--t, 0); right: var(--r, 0); bottom: var(--b, 0); left: var(--l, 0);
  border-radius: var(--rad, 0);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .35),
    inset 0 14px 30px rgba(10, 24, 48, .28),
    0 0 0 12px var(--paper-2),
    0 0 0 13px var(--line),
    0 30px 60px -30px rgba(10, 24, 48, .35);
  opacity: var(--frame, 0);
}
.hero__content {
  position: absolute; inset: var(--header-h) 0 0; z-index: 2;
  pointer-events: none;
}
.hero__content .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 24px;
  padding-block: 22px clamp(28px, 5svh, 56px);
}
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__meta {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px;
}
.hero__title { grid-column: 1 / span 8; grid-row: 3; align-self: end; }
.hero__title span { display: block; }
.hero__title span + span { padding-left: .9em; }
.hero__foot {
  grid-column: 9 / -1; grid-row: 3; align-self: end;
  display: grid; gap: 22px; justify-items: start;
}
.hero__foot p { font-size: var(--fs-lede); line-height: 1.45; max-width: 32ch; }
.hero__cue { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; }

/* cores: fechada (tinta) → aberta (papel sobre a foto) */
.hero { --hero-fg: var(--ink); --hero-fg-2: var(--ink-3); }
html:not(.motion) .hero__media::after { opacity: 1; }
.hero.is-open, html:not(.motion) .hero { --hero-fg: var(--on-dark); --hero-fg-2: rgba(243, 241, 236, .78); }
.hero__title, .hero__foot p { color: var(--hero-fg); transition: color .6s var(--ease); }
.hero__meta, .hero__cue { color: var(--hero-fg-2); transition: color .6s var(--ease), opacity .6s; }
.hero .btn { transition: color .6s var(--ease), background-color .6s var(--ease), border-color .6s var(--ease); }
.motion .hero:not(.is-open) .btn { --btn-bg: var(--ink); --btn-fg: var(--paper); border-color: var(--ink); }
.hero.is-open .btn, html:not(.motion) .hero .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); border-color: var(--paper); }
.hero.is-open .hero__cue, html:not(.motion) .hero__cue { opacity: 0; }
.motion .hero:not(.is-ready) .hero__media, .motion .hero:not(.is-ready) .hero__frame { opacity: 0; }
.hero__media { transition: opacity .6s var(--ease); }

@media (max-width: 860px) {
  .hero__slot {
    top: calc(var(--header-h) + 7svh); right: auto; left: 50%; translate: -50% 0;
    width: min(50vw, 230px);
  }
  .hero__content .wrap { row-gap: 22px; }
  .hero__meta .mono:last-child { display: none; }
  .hero__title { grid-column: 1 / -1; }
  .hero__title span + span { padding-left: 0; }
  .hero__foot { grid-column: 1 / -1; grid-row: 4; }
  .hero__content .wrap { grid-template-rows: auto 1fr auto auto; }
  .hero__foot p { font-size: 1rem; }
  .hero__cue { display: none; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .hero__slot { width: min(40vw, 170px); top: calc(var(--header-h) + 4svh); }
  .hero__foot p { display: none; }
}

/* ---------- 9. Cotação: cartão de embarque ---------- */
.quote { background: var(--paper); }
.pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 30%, 400px);
  background: #fbfaf7;
  border: 1px solid var(--line);
  position: relative;
  box-shadow: 0 1px 0 var(--line), 0 40px 80px -60px rgba(14, 33, 64, .35);
}
.pass__main { padding: clamp(22px, 3vw, 40px); display: grid; gap: 0; }
.pass__top {
  display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.pass__route {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.pass__route .field { padding-block: 22px 20px; }
.pass__route .field + .swap + .field { padding-left: 24px; }
.swap {
  align-self: center; width: 44px; height: 44px; margin-inline: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: transparent; border-radius: 50%;
  transition: transform .5s var(--ease), border-color .2s;
}
.swap:hover { border-color: var(--ink); transform: rotate(180deg); }
.swap svg { width: 18px; height: 18px; }

.field { position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; }
.field > label, .choice legend, .stepper-label {
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; padding: 6px 0 8px;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em;
  transition: border-color .2s;
}
.field--city input {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -.03em; padding-block: 2px 6px;
  border-bottom-color: transparent;
}
.field input::placeholder { color: #8a8e94; font-weight: 400; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field--city input:focus { border-bottom-color: var(--ochre); }
.field input:focus-visible, .field select:focus-visible { box-shadow: 0 2px 0 0 var(--ochre); }
.field .iata { color: var(--ink-3); min-height: 1.4em; }
.field[data-invalid] input, .field[data-invalid] select { border-bottom-color: var(--error); }
.field-error { color: var(--error); font-size: .8125rem; min-height: 0; }
.field-error:empty { display: none; }
input[type="date"] { min-width: 0; -webkit-appearance: none; appearance: none; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }

.pass__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 28px;
  padding-block: 24px; border-bottom: 1px solid var(--line);
}
.check {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: .8125rem; color: var(--ink-2); cursor: pointer;
}
.check input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.field.is-disabled input { opacity: .35; }

.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; border-bottom: 1px solid var(--line); }
.stepper button {
  height: 44px; border: 0; background: none; font-size: 1.25rem; line-height: 1;
  transition: background-color .2s;
}
.stepper button:hover { background: var(--paper-2); }
.stepper button:disabled { opacity: .3; cursor: default; background: none; }
.stepper input {
  text-align: center; border: 0; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.choice { padding-block: 22px; display: grid; gap: 12px; }
.choice + .choice { box-shadow: inset 0 1px 0 var(--line); }
.choice legend { padding: 0; float: left; width: 100%; margin-bottom: 12px; }
.choice__options { display: flex; flex-wrap: wrap; border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.choice__options label { position: relative; flex: 1 1 auto; }
.choice__options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__options span {
  display: block; padding: 12px 16px; font-size: .9375rem; white-space: nowrap;
  border-right: 1px solid var(--line);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.choice__options label:last-child span { border-right: 0; }
.choice__options input:checked + span { background: var(--ink); color: var(--paper); }
.choice__options input:focus-visible + span { outline: 2px solid var(--ochre); outline-offset: -2px; }
.choice__options label:hover input:not(:checked) + span { background: var(--paper-2); }

/* canhoto */
.pass__stub {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border-left: 1px dashed rgba(22, 24, 27, .3);
  display: flex; flex-direction: column; gap: 22px;
  background: #fbfaf7;
}
.pass__stub::before, .pass__stub::after { /* picotes */
  content: ""; position: absolute; left: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
}
.pass__stub::before { top: -12px; clip-path: inset(50% 0 0 0); }
.pass__stub::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
.stub__route {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(2.2rem, 3.4vw, 3.1rem); font-weight: 500; letter-spacing: -.04em; line-height: 1;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.stub__route .plane { flex: 1; height: 1px; background: var(--line); position: relative; }
.stub__route .plane::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre);
}
.stub__route [data-empty] { color: #b6b8bb; }
.stub__data { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.stub__data div { display: grid; gap: 4px; }
.stub__data dt { color: var(--ink-3); }
.stub__data dd { font-size: .9375rem; font-weight: 500; }
.pass__stub .field input { font-size: 1rem; }
.pass__stub .btn { width: 100%; margin-top: auto; }
.fine { font-size: .8125rem; color: var(--ink-3); line-height: 1.45; }
.barcode {
  height: 34px; opacity: .8;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px,
    var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px);
}
.form-status { font-size: .875rem; color: var(--ink-2); }
.form-status:empty { display: none; }

@media (max-width: 1080px) {
  .pass { grid-template-columns: 1fr; }
  .pass__stub { border-left: 0; border-top: 1px dashed rgba(22, 24, 27, .3); }
  .pass__stub::before { left: -12px; top: -11px; clip-path: inset(0 0 0 50%); }
  .pass__stub::after { left: auto; right: -12px; top: -11px; bottom: auto; clip-path: inset(0 50% 0 0); }
  .stub__data, .barcode { display: none; }
}
@media (max-width: 640px) {
  .pass__route { grid-template-columns: 1fr; }
  .pass__route .field + .swap + .field { padding-left: 0; border-top: 1px solid var(--line); }
  .swap { position: absolute; right: 0; top: 50%; translate: 0 -50%; background: #fbfaf7; z-index: 1; }
  .pass__route { position: relative; }
  .pass__grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .pass__grid .field--pax { grid-column: 1 / -1; }
  .choice__options { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .choice__options span { border-bottom: 1px solid var(--line); text-align: center; padding-inline: 8px; }
  .choice__options label:nth-child(2n) span { border-right: 0; }
  .choice__options--3 { grid-template-columns: 1fr 1fr 1fr; }
  .choice__options--3 label:nth-child(2n) span { border-right: 1px solid var(--line); }
  .choice__options--3 label:last-child span { border-right: 0; }
}

/* combobox de aeroportos */
.cbx {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  background: #fff; border: 1px solid var(--ink);
  max-height: 320px; overflow-y: auto;
  box-shadow: 0 24px 48px -24px rgba(14, 33, 64, .35);
}
.cbx[hidden] { display: none; }
.cbx__opt {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: baseline;
  padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.cbx__opt:last-child { border-bottom: 0; }
.cbx__opt[aria-selected="true"], .cbx__opt:hover { background: var(--paper-2); }
.cbx__code { font-family: var(--mono); font-weight: 500; font-size: .875rem; }
.cbx__label { font-size: .9375rem; font-weight: 500; }
.cbx__label small { display: block; font-weight: 400; color: var(--ink-3); font-size: .8125rem; }
.cbx__empty { padding: 12px 14px; font-size: .875rem; color: var(--ink-2); }

/* ---------- 10. Destinos ---------- */
.dest {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  column-gap: clamp(20px, 2.4vw, 40px);
  align-items: start;
}
.dest__index { border-top: 1px solid var(--line); }
.dest__index li { border-bottom: 1px solid var(--line); }
.dest__btn {
  width: 100%; display: grid; grid-template-columns: 3.4em 1fr auto; align-items: baseline; gap: 12px;
  padding: 18px 0; background: none; border: 0; text-align: left;
  color: var(--ink-3);
  transition: color .35s var(--ease);
}
.dest__btn .name {
  font-size: clamp(1.6rem, 2.9vw, 2.9rem); font-weight: 500; letter-spacing: -.04em; line-height: 1;
  transition: transform .5s var(--ease), letter-spacing .5s var(--ease);
}
.dest__btn:hover, .dest__btn[aria-pressed="true"] { color: var(--ink); }
.dest__btn[aria-pressed="true"] .name { transform: translateX(10px); }
.dest__btn[aria-pressed="true"] .code { color: var(--ink); }
.dest__btn[aria-pressed="true"] .code::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ochre); margin-right: 8px; translate: 0 -1px;
}

.dest__stage {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2);
}
.dest__slide { position: absolute; inset: 0; }
.dest__slide picture, .dest__slide img { width: 100%; height: 100%; }
.dest__slide img { object-fit: cover; }
.dest__slide { clip-path: inset(0 0 100% 0); }
.dest__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.dest__slide.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; }
.motion .dest__slide.is-active { transition: clip-path 1.05s var(--ease-io); }
.motion .dest__slide.is-active img { animation: dest-settle 1.4s var(--ease) both; }
@keyframes dest-settle { from { transform: scale(1.12); } to { transform: none; } }
.dest__caption {
  position: absolute; z-index: 3; left: 14px; bottom: 14px; right: 14px;
  display: flex; justify-content: space-between; gap: 12px; color: var(--paper);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}

.dest__info { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.dest__coords { color: var(--ink-3); display: grid; gap: 4px; }
.dest__info p { color: var(--ink-2); }
.dest__map { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 14px; }
.dest__map svg { width: 100%; height: auto; overflow: visible; }
.map-grid { stroke: var(--line); stroke-width: .3; fill: none; }
.map-dot { fill: var(--ink-3); }
.map-dot.is-origin { fill: var(--ink); }
.map-dot.is-active { fill: var(--ochre); }
.map-label { font-family: var(--mono); font-size: 4.2px; fill: var(--ink-3); letter-spacing: .03em; }
.map-label.is-active, .map-label.is-origin { fill: var(--ink); }
.map-route { fill: none; stroke: var(--ink); stroke-width: .6; stroke-linecap: round; }
.map-plane { fill: var(--ochre); }
.dest__info .btn { justify-self: start; }

@media (max-width: 1080px) {
  .dest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 40px; }
  .dest__index { grid-column: 1 / -1; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .dest__index::-webkit-scrollbar { display: none; }
  .dest__index li { border-bottom: 0; flex: 0 0 auto; scroll-snap-align: start; }
  .dest__btn { grid-template-columns: auto; gap: 4px; padding: 16px 28px 16px 0; }
  .dest__btn .time { display: none; }
  .dest__btn[aria-pressed="true"] .name { transform: none; }
  .dest__info { position: static; }
}
@media (max-width: 680px) {
  .dest { grid-template-columns: 1fr; }
  .dest__stage { aspect-ratio: 4 / 4.6; }
}

/* ---------- 11. Faixa de cabines (cinemática) ---------- */
.cabins {
  position: relative; min-height: 100svh; overflow: hidden;
  color: var(--on-dark); background: var(--navy-2);
  display: grid; align-items: end;
}
.cabins__media { position: absolute; inset: -8% 0; }
.cabins__media picture { height: 100%; }
.cabins__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; transform: translateY(var(--parallax, 0)); }
.cabins__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 24, 48, .82), rgba(10, 24, 48, .28) 60%, rgba(10, 24, 48, .4));
}
.cabins .wrap { position: relative; z-index: 1; padding-block: clamp(96px, 12vw, 160px) clamp(40px, 6vw, 72px); display: grid; gap: 40px; }
.cabins__list { border-top: 1px solid var(--line-dark); }
.cabins__list li {
  display: grid; grid-template-columns: 3.4em 1fr auto; align-items: baseline; gap: 16px;
  padding-block: 14px; border-bottom: 1px solid var(--line-dark);
}
.cabins__list .h2 { font-size: clamp(2rem, 6vw, 5.75rem); line-height: 1; }
.cabins__list .mono { color: var(--on-dark-2); }
.cabins__foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--on-dark-2); }
@media (max-width: 680px) {
  .cabins__list li { grid-template-columns: 2.6em 1fr; }
  .cabins__list li > .mono:last-child { grid-column: 2; }
}

/* ---------- 12. Serviço: painel de partidas ---------- */
.board { border-top: 1px solid var(--ink); }
.board li {
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 10px;
  align-items: baseline; padding-block: clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid var(--line);
}
.board li::before { /* traço de rota ao passar */
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.board li:hover::before { transform: scaleX(1); }
.board .num { grid-column: 1 / span 1; color: var(--ink-3); }
.board h3 { grid-column: 2 / span 4; }
.board p { grid-column: 6 / span 5; color: var(--ink-2); max-width: 52ch; }
.board .status { grid-column: 11 / -1; justify-self: end; text-align: right; color: var(--ink-3); }
@media (max-width: 860px) {
  .board li { grid-template-columns: 2.6em 1fr; }
  .board .num { grid-column: 1; }
  .board h3, .board p, .board .status { grid-column: 2; justify-self: start; text-align: left; }
}

/* ---------- 13. Sobre ---------- */
.about__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px;
}
.about__photo { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.about__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__photo figcaption { margin-top: 12px; color: var(--ink-3); display: flex; justify-content: space-between; }
.about__statement { grid-column: 7 / -1; font-size: clamp(1.6rem, 2.8vw, 2.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; text-wrap: pretty; }
.about__text { grid-column: 7 / span 5; display: grid; gap: 18px; color: var(--ink-2); align-content: start; }
.facts { grid-column: 7 / -1; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); }
.facts dd { font-weight: 500; }
@media (max-width: 860px) {
  .about__photo, .about__statement, .about__text, .facts { grid-column: 1 / -1; grid-row: auto; }
  .about__photo img { aspect-ratio: 4 / 3.4; }
}

/* ---------- 14. Dúvidas ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 24px; gap: 20px; align-items: center;
  padding-block: 24px; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; justify-self: end;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; max-width: 64ch; color: var(--ink-2); }
.faq-layout { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq-layout .section-head { grid-column: 1 / span 4; display: block; margin: 0; }
.faq-layout .section-head h2 { margin-top: 24px; }
.faq-layout .faq { grid-column: 6 / -1; }
@media (max-width: 860px) {
  .faq-layout .section-head, .faq-layout .faq { grid-column: 1 / -1; }
  .faq-layout .faq { margin-top: 48px; }
}

/* ---------- 15. Contato ---------- */
.contact { background: var(--navy); color: var(--on-dark); padding-block: var(--section) 0; }
.contact .section-index { color: var(--on-dark-2); }
.contact .section-index b { color: var(--on-dark); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; align-items: end; }
.contact__copy { grid-column: 1 / span 7; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.contact__copy > * { grid-column: 1; }
.contact__copy .section-index { padding-top: 0; }
.contact__copy .display { font-size: clamp(3rem, 8vw, 8.5rem); }
.contact__copy p:not(.mono) { color: var(--on-dark-2); font-size: var(--fs-lede); max-width: 40ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.contact__photo { grid-column: 9 / -1; }
.contact__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.contact__photo figcaption { margin-top: 12px; color: var(--on-dark-2); }
.contact__line {
  margin-top: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 24px;
  color: var(--on-dark-2);
}
.contact__line a { color: var(--on-dark); text-decoration: none; }
.contact__line a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .contact__copy, .contact__photo { grid-column: 1 / -1; }
  .contact__photo { max-width: 420px; }
  .contact__line { grid-template-columns: 1fr 1fr; }
}

/* ---------- 16. Rodapé ---------- */
.site-footer { background: var(--navy-2); color: var(--on-dark-2); padding-block: 48px 36px; font-size: .875rem; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; align-items: start; }
.site-footer__brand { grid-column: 1 / span 4; display: grid; gap: 18px; }
.site-footer__brand img { width: 150px; }
.site-footer nav { grid-column: 6 / span 3; }
.site-footer__legal { grid-column: 9 / -1; display: grid; gap: 8px; justify-items: start; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 24px; }
.site-footer button.link-btn { background: none; border: 0; padding: 0; color: var(--on-dark); font-size: inherit; }
.site-footer button.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .site-footer__brand, .site-footer nav, .site-footer__legal { grid-column: 1 / -1; }
}

/* ---------- 17. Consentimento de cookies ---------- */
.consent {
  position: fixed; left: var(--gutter); bottom: 20px; z-index: 60;
  width: min(420px, calc(100% - 2 * var(--gutter)));
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  padding: 20px; display: grid; gap: 14px; font-size: .875rem; line-height: 1.5;
  box-shadow: 0 24px 60px -30px rgba(14, 33, 64, .5);
}
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: 10px; }
.consent .btn { min-height: 42px; padding: 0 16px; flex: 1; justify-content: center; }

/* ---------- 18. Página de texto (privacidade, 404) ---------- */
.page { padding-block: calc(var(--header-h) + 80px) var(--section); }
.prose { max-width: 70ch; display: grid; gap: 18px; color: var(--ink-2); }
.prose h1 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.04em; line-height: .95; color: var(--ink); margin-bottom: 24px; }
.prose h2 { font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); margin-top: 24px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }

/* ---------- 19. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 20. Ajustes de cabeçalho em telas médias ---------- */
@media (max-width: 1240px) { .flight-progress { display: none; } }
